@flamingo-stack/openframe-frontend-core 0.0.719 → 0.0.721
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/assets/index.cjs +6 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +5 -1
- package/dist/assets/mobile-app-qr.d.ts +17 -0
- package/dist/assets/mobile-app-qr.d.ts.map +1 -0
- package/dist/{chunk-2JLP2X2M.js → chunk-2P2M27EW.js} +2396 -2369
- package/dist/{chunk-IWCPXJEE.js → chunk-2TXGR7IK.js} +138 -63
- package/dist/{chunk-FVQJBII6.js → chunk-3LY7V3RF.js} +3 -3
- package/dist/{chunk-HCFNEKO3.cjs → chunk-3R32ZNA2.cjs} +46 -46
- package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
- package/dist/{chunk-NZ5BHDFZ.js → chunk-44Q6MV7C.js} +2 -2
- package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
- package/dist/{chunk-ZXCZYMN4.cjs → chunk-4LY6R4TN.cjs} +137 -62
- package/dist/{chunk-EAHOB64X.js → chunk-57UTI7ZH.js} +106 -42
- package/dist/{chunk-XGHGGBM3.js → chunk-5QXE5HMV.js} +4 -4
- package/dist/{chunk-NYWESHOQ.cjs → chunk-6AJIOW3S.cjs} +57 -57
- package/dist/{chunk-4QFWGLZO.js → chunk-6YBUQAOH.js} +1 -1
- package/dist/{chunk-JHQ334WS.js → chunk-742BGXNX.js} +2 -0
- package/dist/{chunk-D6PMVWDI.js → chunk-74N742ZG.js} +6 -6
- package/dist/{chunk-AECTRMGQ.cjs → chunk-7GRPR7XA.cjs} +13 -1
- package/dist/{chunk-4HJRHEXD.cjs → chunk-7Z5FMQYR.cjs} +22 -22
- package/dist/chunk-AFTRPEXO.js +13 -0
- package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
- package/dist/{chunk-LCLDFMDF.cjs → chunk-BYVVE7HP.cjs} +58 -58
- package/dist/{chunk-JPD4NXH6.js → chunk-CO3FOZIH.js} +1 -1
- package/dist/{chunk-E7YCPY7K.cjs → chunk-D2DH6VZL.cjs} +3 -3
- package/dist/{chunk-HWVUR735.cjs → chunk-DFM572VH.cjs} +2 -2
- package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
- package/dist/{chunk-5U3KWQXP.js → chunk-E6SMMMKV.js} +13 -13
- package/dist/chunk-EWPR7662.cjs +13 -0
- package/dist/{chunk-SWAVO7BB.cjs → chunk-F7ORKKEF.cjs} +108 -108
- package/dist/{chunk-AGVXKD4K.js → chunk-FSQQZFVG.js} +12 -0
- package/dist/{chunk-ETYLOZOB.cjs → chunk-GCK75D7F.cjs} +109 -22
- package/dist/{chunk-ZKNZ2CXW.cjs → chunk-GGBYZKMS.cjs} +11 -11
- package/dist/{chunk-Y4MB25KW.js → chunk-GYAXV3MZ.js} +3 -3
- package/dist/{chunk-UWQWMGJ7.cjs → chunk-HJMSNOBT.cjs} +1040 -696
- package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
- package/dist/{chunk-JH2SIWPQ.js → chunk-HXB7SEYG.js} +1611 -1267
- package/dist/{chunk-LE5WKGJV.cjs → chunk-I2254QN6.cjs} +16 -16
- package/dist/{chunk-PSVSEN4J.cjs → chunk-IMTY3GRR.cjs} +2 -0
- package/dist/{chunk-ILNN6QRW.js → chunk-JDBZ4ZHU.js} +3 -3
- package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
- package/dist/{chunk-6YPTUHM7.js → chunk-K76ACBR3.js} +3 -3
- package/dist/{chunk-2NASBO7O.js → chunk-KFOAV77K.js} +2 -2
- package/dist/{chunk-CU6NWO2M.js → chunk-LAXKEBDD.js} +14 -18
- package/dist/{chunk-5YAGX5DY.js → chunk-LGKMR7NZ.js} +7 -7
- package/dist/{chunk-E2V2EH2G.cjs → chunk-LODMNSQY.cjs} +16 -16
- package/dist/{chunk-4D6NMPOO.js → chunk-NJ5TBTJG.js} +7 -7
- package/dist/{chunk-TDZ76NCB.cjs → chunk-NMPVK53I.cjs} +29 -29
- package/dist/{chunk-TTVOLEUS.js → chunk-NPSJE7J3.js} +90 -3
- package/dist/{chunk-H5VIMBRN.cjs → chunk-O5EHOJZD.cjs} +4 -4
- package/dist/{chunk-KT3U3ZRP.cjs → chunk-OKE5BIQH.cjs} +8 -8
- package/dist/{chunk-DC4RTYWK.cjs → chunk-QLTXT562.cjs} +5 -5
- package/dist/{chunk-H5V7GRN5.js → chunk-QQCFPMAA.js} +5 -7
- package/dist/{chunk-7BREFV7G.cjs → chunk-QYS4YVEP.cjs} +34 -36
- package/dist/{chunk-7BCY77W6.js → chunk-RCI3PALX.js} +8 -10
- package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
- package/dist/{chunk-4JIGEK7C.cjs → chunk-RJMWJAJO.cjs} +97 -33
- package/dist/{chunk-WS7WRR5Z.cjs → chunk-RQZQHLNS.cjs} +86 -90
- package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
- package/dist/{chunk-AJHSQ5XK.js → chunk-S63QBBT7.js} +6 -6
- package/dist/{chunk-TELAANY6.js → chunk-UXU7Y5BH.js} +2 -2
- package/dist/{chunk-NQVS4G7G.cjs → chunk-UZTOI6FJ.cjs} +773 -746
- package/dist/{chunk-DFEPUYTF.cjs → chunk-VFICDEYJ.cjs} +45 -47
- package/dist/{chunk-LOZLHG2U.cjs → chunk-XE2K53GH.cjs} +20 -20
- package/dist/{chunk-QBCDSTLE.cjs → chunk-XXO52RZR.cjs} +26 -26
- package/dist/{chunk-TTEFN6VO.js → chunk-ZLUFEWZZ.js} +10 -10
- package/dist/{chunk-MA4Q5RBP.cjs → chunk-ZSOFLPQN.cjs} +9 -9
- package/dist/{chunk-KBJJQFYU.js → chunk-ZZEKXGFS.js} +2 -2
- package/dist/{cloud-tenants-FBUO66GW.cjs → cloud-tenants-HZHKRUIW.cjs} +16 -16
- package/dist/{cloud-tenants-DNBPNQNP.js → cloud-tenants-Q4TCJS5Y.js} +15 -15
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +30 -30
- package/dist/components/case-studies/index.js +16 -16
- package/dist/components/chat/ask-prompts.d.ts +10 -2
- package/dist/components/chat/ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/assistant-ask-prompts.d.ts +27 -0
- package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +63 -0
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/index.cjs +27 -10
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +26 -9
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +17 -17
- package/dist/components/contact/index.js +16 -16
- package/dist/components/docs/index.cjs +20 -20
- package/dist/components/docs/index.js +19 -19
- package/dist/components/embeds/index.cjs +17 -17
- package/dist/components/embeds/index.js +16 -16
- package/dist/components/faq/faq-ask-card.d.ts +44 -0
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -0
- package/dist/components/faq/faq-document-page.d.ts +5 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-section.d.ts +18 -5
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +19 -18
- package/dist/components/faq/index.d.ts +1 -0
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +18 -17
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/index.cjs +16 -16
- package/dist/components/features/index.js +15 -15
- package/dist/components/help-center-pages/download-apps-page.d.ts +55 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +333 -119
- package/dist/components/help-center-pages/index.d.ts +1 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +251 -37
- package/dist/components/help-center-pages/trust-center-page.d.ts +4 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/index.cjs +131 -217
- package/dist/components/index.js +236 -322
- package/dist/components/meeting-scheduler/index.cjs +61 -62
- package/dist/components/meeting-scheduler/index.js +18 -19
- package/dist/components/navigation/index.cjs +19 -19
- package/dist/components/navigation/index.js +18 -18
- package/dist/components/navigation/mingo-ai-button.d.ts +1 -1
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +19 -20
- package/dist/components/onboarding-guides/index.js +18 -19
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +7 -9
- package/dist/components/related-content/index.js +6 -8
- package/dist/components/tickets/index.cjs +21 -21
- package/dist/components/tickets/index.js +20 -20
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +34 -16
- 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 +33 -15
- package/dist/components/ui/mobile-app-qr.d.ts +23 -0
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
- package/dist/components/ui/store-badges.d.ts +7 -4
- package/dist/components/ui/store-badges.d.ts.map +1 -1
- package/dist/contexts/assistant-runtime-context.d.ts +74 -0
- package/dist/contexts/assistant-runtime-context.d.ts.map +1 -0
- package/dist/contexts/index.cjs +7 -1
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/index.d.ts.map +1 -1
- package/dist/contexts/index.js +6 -0
- package/dist/{devices-5A5TY4JD.cjs → devices-6XHUFIC6.cjs} +17 -17
- package/dist/{devices-PLDAEUSL.js → devices-NOUGVTES.js} +15 -15
- package/dist/hooks/index.cjs +10 -5
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +9 -4
- package/dist/hooks/use-downloads.d.ts +41 -0
- package/dist/hooks/use-downloads.d.ts.map +1 -0
- package/dist/index.cjs +80 -20
- package/dist/index.js +79 -19
- package/dist/{knowledge-G6Q5KRWV.js → knowledge-2YTUXQ2Z.js} +15 -15
- package/dist/{knowledge-FKTJ723Z.cjs → knowledge-ANEKPMO2.cjs} +17 -17
- package/dist/{logs-CJCXUBU6.cjs → logs-U3IB3HUM.cjs} +25 -25
- package/dist/{logs-QMV6XIC4.js → logs-WVQIONUT.js} +15 -15
- package/dist/{policies-G6D7AX6F.js → policies-66EGDW2H.js} +15 -15
- package/dist/{policies-QMRTK3CY.cjs → policies-UFRN2EQF.cjs} +20 -20
- package/dist/{remote-session-DBD6OSTX.js → remote-session-6WEUJZDC.js} +5 -5
- package/dist/{remote-session-2JVI7RVA.cjs → remote-session-A75X5NPC.cjs} +7 -7
- package/dist/{software-update-PNZMRDBT.cjs → software-update-2MHKL76D.cjs} +20 -20
- package/dist/{software-update-6BQM6BKH.js → software-update-3ZD3MXF3.js} +15 -15
- package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-IFWMIZ35.cjs} +9 -9
- package/dist/{tickets-board-PYDNELSK.js → tickets-board-MYXG3V72.js} +4 -4
- package/dist/types/downloads.d.ts +67 -0
- package/dist/types/downloads.d.ts.map +1 -0
- package/dist/types/index.cjs +24 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -1
- package/dist/utils/index.cjs +46 -2
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +40 -3
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/mobile-app.cjs +46 -0
- package/dist/utils/mobile-app.d.ts +40 -0
- package/dist/utils/mobile-app.d.ts.map +1 -0
- package/dist/utils/mobile-app.js +40 -0
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/dist/utils/trial.d.ts +18 -0
- package/dist/utils/trial.d.ts.map +1 -0
- package/package.json +7 -1
- package/src/assets/index.ts +1 -0
- package/src/assets/mobile-app-qr.ts +19 -0
- package/src/components/chat/ask-prompts.tsx +25 -3
- package/src/components/chat/assistant-ask-prompts.tsx +78 -0
- package/src/components/chat/entity-cards/dispatch.tsx +38 -4
- package/src/components/chat/hooks/index.ts +12 -0
- package/src/components/chat/hooks/use-ask-prompts.ts +188 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/utils/icon-library.tsx +6 -0
- package/src/components/faq/faq-ask-card.tsx +115 -0
- package/src/components/faq/faq-document-page.tsx +6 -1
- package/src/components/faq/faq-section.tsx +27 -5
- package/src/components/faq/index.ts +1 -0
- package/src/components/features/auth/auth-benefits-panel.tsx +5 -4
- package/src/components/help-center-pages/download-apps-page.tsx +364 -0
- package/src/components/help-center-pages/index.ts +1 -0
- package/src/components/help-center-pages/trust-center-page.tsx +5 -2
- package/src/components/navigation/mingo-ai-button.tsx +27 -6
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +40 -0
- package/src/components/ui/store-badges.tsx +17 -9
- package/src/contexts/assistant-runtime-context.tsx +84 -0
- package/src/contexts/index.ts +9 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-downloads.ts +138 -0
- package/src/types/downloads.ts +82 -0
- package/src/types/index.ts +1 -0
- package/src/utils/index.ts +3 -0
- package/src/utils/list-url.ts +4 -0
- package/src/utils/mobile-app.ts +57 -0
- package/src/utils/source-icons.ts +10 -2
- package/src/utils/trial.ts +19 -0
- package/dist/chunk-6X3O67OL.cjs +0 -89
- package/dist/chunk-AUMKE74M.cjs +0 -16
- package/dist/chunk-G3GRYDMS.js +0 -16
- package/dist/chunk-RR6PY34K.js +0 -89
|
@@ -1,10 +1,9 @@
|
|
|
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 _chunkBYUIFT7Qcjs = require('./chunk-BYUIFT7Q.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var _chunkWBNAEYTQcjs = require('./chunk-WBNAEYTQ.cjs');
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
|
|
@@ -38,11 +37,10 @@ var _chunkWBNAEYTQcjs = require('./chunk-WBNAEYTQ.cjs');
|
|
|
38
37
|
|
|
39
38
|
|
|
40
39
|
|
|
40
|
+
var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
|
|
41
41
|
|
|
42
|
-
var _chunkETYLOZOBcjs = require('./chunk-ETYLOZOB.cjs');
|
|
43
42
|
|
|
44
|
-
|
|
45
|
-
var _chunkAECTRMGQcjs = require('./chunk-AECTRMGQ.cjs');
|
|
43
|
+
var _chunk7GRPR7XAcjs = require('./chunk-7GRPR7XA.cjs');
|
|
46
44
|
|
|
47
45
|
// src/components/related-content/related-content-section.tsx
|
|
48
46
|
var _react = require('react');
|
|
@@ -440,13 +438,13 @@ function cardEntry(definition) {
|
|
|
440
438
|
}
|
|
441
439
|
function programEntry(configKey) {
|
|
442
440
|
return cardEntry({
|
|
443
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
441
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
444
442
|
decode: decodeProgramRow,
|
|
445
443
|
render: (item, ctx) => {
|
|
446
444
|
const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
|
|
447
445
|
if (!config) return null;
|
|
448
446
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
449
|
-
|
|
447
|
+
_chunkGCK75D7Fcjs.ProgramCard,
|
|
450
448
|
{
|
|
451
449
|
config,
|
|
452
450
|
item,
|
|
@@ -463,10 +461,10 @@ function programEntry(configKey) {
|
|
|
463
461
|
}
|
|
464
462
|
function roadmapEntry(cardType) {
|
|
465
463
|
return cardEntry({
|
|
466
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
464
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
467
465
|
decode: decodeRoadmapRow,
|
|
468
466
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
469
|
-
|
|
467
|
+
_chunkGCK75D7Fcjs.RoadmapCard,
|
|
470
468
|
{
|
|
471
469
|
item,
|
|
472
470
|
href: ctx.href,
|
|
@@ -483,10 +481,10 @@ function roadmapEntry(cardType) {
|
|
|
483
481
|
}
|
|
484
482
|
var RELATED_CARD_REGISTRY = {
|
|
485
483
|
blog_post_existing: cardEntry({
|
|
486
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
484
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
487
485
|
decode: decodeBlogRow,
|
|
488
486
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
489
|
-
|
|
487
|
+
_chunkGCK75D7Fcjs.BlogCard,
|
|
490
488
|
{
|
|
491
489
|
post,
|
|
492
490
|
size: ctx.legacySize,
|
|
@@ -498,10 +496,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
498
496
|
)
|
|
499
497
|
}),
|
|
500
498
|
case_study: cardEntry({
|
|
501
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
499
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
502
500
|
decode: decodeCaseStudyRow,
|
|
503
501
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
504
|
-
|
|
502
|
+
_chunkGCK75D7Fcjs.CaseStudyCard,
|
|
505
503
|
{
|
|
506
504
|
study,
|
|
507
505
|
size: ctx.legacySize,
|
|
@@ -513,10 +511,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
513
511
|
)
|
|
514
512
|
}),
|
|
515
513
|
customer_interview: cardEntry({
|
|
516
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
514
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
517
515
|
decode: decodeCustomerInterviewRow,
|
|
518
516
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
-
|
|
517
|
+
_chunkGCK75D7Fcjs.CustomerInterviewCard,
|
|
520
518
|
{
|
|
521
519
|
interview,
|
|
522
520
|
size: ctx.legacySize,
|
|
@@ -534,13 +532,13 @@ var RELATED_CARD_REGISTRY = {
|
|
|
534
532
|
* record, and the three props the rail sets itself are read off it.
|
|
535
533
|
*/
|
|
536
534
|
product_release: cardEntry({
|
|
537
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
535
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
|
|
538
536
|
decode: asRecord,
|
|
539
537
|
render: (release, ctx) => {
|
|
540
|
-
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => (
|
|
538
|
+
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunkGCK75D7Fcjs.buildProductReleaseCardProps));
|
|
541
539
|
const releaseProps = buildReleaseProps(release);
|
|
542
540
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
543
|
-
|
|
541
|
+
_chunkGCK75D7Fcjs.ProductReleaseCard,
|
|
544
542
|
{
|
|
545
543
|
size: ctx.size === "sm" ? "sm" : "lg",
|
|
546
544
|
title: str(release, "title"),
|
|
@@ -556,10 +554,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
556
554
|
webinar: programEntry("webinar"),
|
|
557
555
|
event: programEntry("event"),
|
|
558
556
|
investor_update: cardEntry({
|
|
559
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
557
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
560
558
|
decode: decodeInvestorUpdateRow,
|
|
561
559
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
-
|
|
560
|
+
_chunkGCK75D7Fcjs.InvestorUpdateCard,
|
|
563
561
|
{
|
|
564
562
|
update,
|
|
565
563
|
size: ctx.legacySize,
|
|
@@ -574,10 +572,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
574
572
|
* step-numbered 'default' variant is for the guide detail page's "More in
|
|
575
573
|
* section" rail, not this full-width row. */
|
|
576
574
|
onboarding_guide: cardEntry({
|
|
577
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
575
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
578
576
|
decode: decodeOnboardingGuideRow,
|
|
579
577
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
|
|
578
|
+
_chunkGCK75D7Fcjs.OnboardingGuideCard,
|
|
581
579
|
{
|
|
582
580
|
guide,
|
|
583
581
|
size: ctx.size === "sm" ? "sm" : "catalog",
|
|
@@ -594,10 +592,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
594
592
|
* href: an object with `href: undefined` is still truthy and would wrap the
|
|
595
593
|
* card in a dead <a>. */
|
|
596
594
|
what_i_shipped: cardEntry({
|
|
597
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
595
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.WhatIShippedCardSkeleton, {}),
|
|
598
596
|
decode: decodeEmployeeEntryRow,
|
|
599
597
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
|
|
598
|
+
_chunkGCK75D7Fcjs.WhatIShippedCard,
|
|
601
599
|
{
|
|
602
600
|
entry,
|
|
603
601
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -607,10 +605,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
607
605
|
}),
|
|
608
606
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
609
607
|
how_i_work: cardEntry({
|
|
610
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
608
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.HowIWorkCardSkeleton, {}),
|
|
611
609
|
decode: decodeEmployeeEntryRow,
|
|
612
610
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
-
|
|
611
|
+
_chunkGCK75D7Fcjs.HowIWorkCard,
|
|
614
612
|
{
|
|
615
613
|
entry,
|
|
616
614
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -620,10 +618,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
620
618
|
}),
|
|
621
619
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
622
620
|
ai_prompt: cardEntry({
|
|
623
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
621
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.AiPromptCardSkeleton, {}),
|
|
624
622
|
decode: decodeEmployeeEntryRow,
|
|
625
623
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
624
|
+
_chunkGCK75D7Fcjs.AiPromptCard,
|
|
627
625
|
{
|
|
628
626
|
entry,
|
|
629
627
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -644,7 +642,7 @@ function DefaultLinkPropsProvider({
|
|
|
644
642
|
children
|
|
645
643
|
}) {
|
|
646
644
|
if (!href) return children(null);
|
|
647
|
-
const newTab =
|
|
645
|
+
const newTab = _chunkGCK75D7Fcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
|
|
648
646
|
return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
|
|
649
647
|
}
|
|
650
648
|
function defaultResolveHref(ref) {
|
|
@@ -702,9 +700,9 @@ function useGroupItems(type, refs, buildUrl) {
|
|
|
702
700
|
const url = ids.length > 0 ? buildUrl(type, ids) : null;
|
|
703
701
|
const [pages, setPages] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
|
|
704
702
|
const cached = url !== null ? pages.get(url) : void 0;
|
|
705
|
-
const { data, dataUrl, error } =
|
|
703
|
+
const { data, dataUrl, error } = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, cached ? null : url);
|
|
706
704
|
if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
|
|
707
|
-
setPages(new Map(pages).set(dataUrl,
|
|
705
|
+
setPages(new Map(pages).set(dataUrl, _chunkGCK75D7Fcjs.extractItems.call(void 0, data)));
|
|
708
706
|
}
|
|
709
707
|
if (url === null) return { items: null, isLoading: false };
|
|
710
708
|
return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
|
|
@@ -713,7 +711,7 @@ function gridClassFor(columns) {
|
|
|
713
711
|
return columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" : "grid grid-cols-1 sm:grid-cols-2 gap-6";
|
|
714
712
|
}
|
|
715
713
|
function resolveGroupConfig(type) {
|
|
716
|
-
return _nullishCoalesce(
|
|
714
|
+
return _nullishCoalesce(_chunkGCK75D7Fcjs.CONTENT_REF_GROUPS[type], () => ( {
|
|
717
715
|
label: type,
|
|
718
716
|
order: 999,
|
|
719
717
|
layout: "grid",
|
|
@@ -742,10 +740,10 @@ function ContentGroup({
|
|
|
742
740
|
setPagedRefsKey(refsKey);
|
|
743
741
|
setPage(1);
|
|
744
742
|
}
|
|
745
|
-
const totalGroupPages =
|
|
743
|
+
const totalGroupPages = _chunk7GRPR7XAcjs.pageCount.call(void 0, refs.length, GROUP_PAGE_SIZE);
|
|
746
744
|
const pageRefs = refs.slice((page - 1) * GROUP_PAGE_SIZE, page * GROUP_PAGE_SIZE);
|
|
747
745
|
const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl);
|
|
748
|
-
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
746
|
+
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYUIFT7Qcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
|
|
749
747
|
if (isLoading) {
|
|
750
748
|
const skeletons = pageRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(type, cardSize, adminCampaignCard) }, r.id));
|
|
751
749
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
@@ -756,7 +754,7 @@ function ContentGroup({
|
|
|
756
754
|
}
|
|
757
755
|
if (!items) return null;
|
|
758
756
|
const rowKey = (it) => {
|
|
759
|
-
const extracted =
|
|
757
|
+
const extracted = _chunkGCK75D7Fcjs.extractItemId.call(void 0, type, it);
|
|
760
758
|
if (extracted !== null) return extracted;
|
|
761
759
|
return String(typeof it === "object" && it !== null ? it.id : void 0);
|
|
762
760
|
};
|
|
@@ -824,11 +822,11 @@ function RelatedContentSection({
|
|
|
824
822
|
types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
|
|
825
823
|
excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
|
|
826
824
|
};
|
|
827
|
-
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ?
|
|
825
|
+
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkGCK75D7Fcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
828
826
|
apiBaseUrl,
|
|
829
827
|
extraParams: { authorId, ...typeFilterParams }
|
|
830
828
|
}) : null;
|
|
831
|
-
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ?
|
|
829
|
+
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkGCK75D7Fcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
832
830
|
apiBaseUrl,
|
|
833
831
|
entityType,
|
|
834
832
|
entityId,
|
|
@@ -845,9 +843,9 @@ function RelatedContentSection({
|
|
|
845
843
|
() => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
|
|
846
844
|
[initialItems, suggestionsDisabled]
|
|
847
845
|
);
|
|
848
|
-
const { data, isLoading } =
|
|
846
|
+
const { data, isLoading } = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
|
|
849
847
|
const effectiveBuildListUrl = _react.useMemo.call(void 0,
|
|
850
|
-
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) =>
|
|
848
|
+
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkGCK75D7Fcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
|
|
851
849
|
[buildListUrl2, apiBaseUrl]
|
|
852
850
|
);
|
|
853
851
|
const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
|
|
@@ -858,12 +856,12 @@ function RelatedContentSection({
|
|
|
858
856
|
if (isLoading) {
|
|
859
857
|
const skeletonType = _nullishCoalesce(_nullishCoalesce(_optionalChain([includeTypes, 'optionalAccess', _11 => _11[0]]), () => ( entityType)), () => ( "blog_post_existing"));
|
|
860
858
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
859
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkGCK75D7Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
862
860
|
/* @__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)) })
|
|
863
861
|
] });
|
|
864
862
|
}
|
|
865
863
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children:
|
|
864
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkGCK75D7Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
867
865
|
_nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
|
|
868
866
|
] });
|
|
869
867
|
}
|
|
@@ -872,16 +870,16 @@ function RelatedContentSection({
|
|
|
872
870
|
if (!grouped[ref.type]) grouped[ref.type] = [];
|
|
873
871
|
grouped[ref.type].push(ref);
|
|
874
872
|
}
|
|
875
|
-
let orderedTypes =
|
|
873
|
+
let orderedTypes = _chunkGCK75D7Fcjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
876
874
|
if (entityType) {
|
|
877
|
-
const canonicalEntityType =
|
|
878
|
-
const sameType = orderedTypes.filter((t) =>
|
|
875
|
+
const canonicalEntityType = _chunkGCK75D7Fcjs.canonicalContentRefType.call(void 0, entityType);
|
|
876
|
+
const sameType = orderedTypes.filter((t) => _chunkGCK75D7Fcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
879
877
|
if (sameType.length > 0) {
|
|
880
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
878
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkGCK75D7Fcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
|
|
881
879
|
}
|
|
882
880
|
}
|
|
883
881
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkGCK75D7Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
885
883
|
orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
886
884
|
ContentGroup,
|
|
887
885
|
{
|
|
@@ -893,7 +891,7 @@ function RelatedContentSection({
|
|
|
893
891
|
LinkProvider,
|
|
894
892
|
extras,
|
|
895
893
|
adminCampaignCard,
|
|
896
|
-
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children:
|
|
894
|
+
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkGCK75D7Fcjs.getContentRefLabelOrTitleCase.call(void 0, type) })
|
|
897
895
|
},
|
|
898
896
|
type
|
|
899
897
|
))
|
|
@@ -1,20 +1,20 @@
|
|
|
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 _chunkZSOFLPQNcjs = require('./chunk-ZSOFLPQN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkUZTOI6FJcjs = require('./chunk-UZTOI6FJ.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkBYVVE7HPcjs = require('./chunk-BYVVE7HP.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -23,10 +23,10 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkIMTY3GRRcjs = require('./chunk-IMTY3GRR.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
var _chunkLLRGR4I5cjs = require('./chunk-LLRGR4I5.cjs');
|
|
@@ -39,7 +39,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
39
39
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
40
40
|
if (isFiltered) {
|
|
41
41
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42
|
-
|
|
42
|
+
_chunkZSOFLPQNcjs.EmptyState,
|
|
43
43
|
{
|
|
44
44
|
type: "search",
|
|
45
45
|
title: filtered.title,
|
|
@@ -52,7 +52,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
52
52
|
}
|
|
53
53
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
54
54
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
55
|
-
|
|
55
|
+
_chunkZSOFLPQNcjs.EmptyState,
|
|
56
56
|
{
|
|
57
57
|
type: "generic",
|
|
58
58
|
title: empty.title,
|
|
@@ -69,7 +69,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
69
69
|
var _react = require('react');
|
|
70
70
|
|
|
71
71
|
function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
|
|
72
|
-
const section =
|
|
72
|
+
const section = _chunkHJMSNOBTcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
73
73
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
74
74
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
75
75
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -120,7 +120,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
120
120
|
preControls,
|
|
121
121
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
122
122
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
123
|
-
|
|
123
|
+
_chunkUZTOI6FJcjs.SearchInput,
|
|
124
124
|
{
|
|
125
125
|
showDropdown: false,
|
|
126
126
|
placeholder: search.placeholder,
|
|
@@ -130,7 +130,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
130
130
|
}
|
|
131
131
|
),
|
|
132
132
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
133
|
-
|
|
133
|
+
_chunkUZTOI6FJcjs.StatusFilterComponent,
|
|
134
134
|
{
|
|
135
135
|
selectedStatus: currentFilterValue,
|
|
136
136
|
onStatusChange: handleFilterChange,
|
|
@@ -154,7 +154,7 @@ function DevSectionPage({
|
|
|
154
154
|
shell = true
|
|
155
155
|
}) {
|
|
156
156
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
157
|
-
const section =
|
|
157
|
+
const section = _chunkHJMSNOBTcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
158
158
|
const backCfg = backButton === false ? void 0 : {
|
|
159
159
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
160
160
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -167,7 +167,7 @@ function DevSectionPage({
|
|
|
167
167
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
168
168
|
// frozen and renders title-only.)
|
|
169
169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
-
|
|
170
|
+
_chunkBYVVE7HPcjs.PageLayout,
|
|
171
171
|
{
|
|
172
172
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
173
173
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -178,7 +178,7 @@ function DevSectionPage({
|
|
|
178
178
|
}
|
|
179
179
|
)
|
|
180
180
|
);
|
|
181
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
181
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -236,9 +236,9 @@ function getRelativeTime(timestamp) {
|
|
|
236
236
|
}
|
|
237
237
|
function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
238
238
|
const taskType = item.taskType;
|
|
239
|
-
const typeBadgeLabel =
|
|
240
|
-
const typeBadgeTextColor =
|
|
241
|
-
const statusBadgeScheme =
|
|
239
|
+
const typeBadgeLabel = _chunkHJMSNOBTcjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
240
|
+
const typeBadgeTextColor = _chunkHJMSNOBTcjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
241
|
+
const statusBadgeScheme = _chunkGCK75D7Fcjs.getStatusColorScheme.call(void 0, item.status);
|
|
242
242
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
243
243
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
244
244
|
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: [
|
|
@@ -250,7 +250,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
250
250
|
] }),
|
|
251
251
|
/* @__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: [
|
|
252
252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
253
|
-
|
|
253
|
+
_chunkGCK75D7Fcjs.StatusBadge,
|
|
254
254
|
{
|
|
255
255
|
text: item.status.toUpperCase(),
|
|
256
256
|
colorScheme: statusBadgeScheme,
|
|
@@ -259,7 +259,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
259
259
|
}
|
|
260
260
|
),
|
|
261
261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
262
|
-
|
|
262
|
+
_chunkGCK75D7Fcjs.StatusBadge,
|
|
263
263
|
{
|
|
264
264
|
text: typeBadgeLabel,
|
|
265
265
|
variant: "card",
|
|
@@ -267,7 +267,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
267
267
|
}
|
|
268
268
|
),
|
|
269
269
|
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
270
|
-
|
|
270
|
+
_chunkIMTY3GRRcjs.AvatarStack,
|
|
271
271
|
{
|
|
272
272
|
size: "xs",
|
|
273
273
|
className: "ml-auto content-md:ml-0",
|
|
@@ -1,18 +1,18 @@
|
|
|
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 _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkF5BPGWGTcjs = require('./chunk-F5BPGWGT.cjs');
|
|
@@ -43,7 +43,7 @@ var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
|
43
43
|
var _chunkXXBLN4BPcjs = require('./chunk-XXBLN4BP.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -118,31 +118,31 @@ CveLink.displayName = "CveLink";
|
|
|
118
118
|
// src/components/platform/ShellTypeBadge.tsx
|
|
119
119
|
|
|
120
120
|
var shellIconMap = {
|
|
121
|
-
[
|
|
121
|
+
[_chunkHJMSNOBTcjs.ShellTypeValues.POWERSHELL]: {
|
|
122
122
|
icon: _chunkVX4E6YSBcjs.PowershellLogoGreyIcon,
|
|
123
123
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
124
124
|
},
|
|
125
|
-
[
|
|
125
|
+
[_chunkHJMSNOBTcjs.ShellTypeValues.CMD]: {
|
|
126
126
|
icon: _chunkLLSUVPQCcjs.CmdIcon,
|
|
127
127
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
128
128
|
},
|
|
129
|
-
[
|
|
129
|
+
[_chunkHJMSNOBTcjs.ShellTypeValues.BASH]: {
|
|
130
130
|
icon: _chunkLLSUVPQCcjs.BashIcon,
|
|
131
131
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
132
132
|
},
|
|
133
|
-
[
|
|
133
|
+
[_chunkHJMSNOBTcjs.ShellTypeValues.PYTHON]: {
|
|
134
134
|
icon: _chunkVX4E6YSBcjs.PythonLogoIcon,
|
|
135
135
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
136
136
|
},
|
|
137
|
-
[
|
|
137
|
+
[_chunkHJMSNOBTcjs.ShellTypeValues.NUSHELL]: {
|
|
138
138
|
icon: _chunkLLSUVPQCcjs.NushellIcon,
|
|
139
139
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
140
140
|
},
|
|
141
|
-
[
|
|
141
|
+
[_chunkHJMSNOBTcjs.ShellTypeValues.DENO]: {
|
|
142
142
|
icon: _chunkLLSUVPQCcjs.DenoIcon,
|
|
143
143
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
144
144
|
},
|
|
145
|
-
[
|
|
145
|
+
[_chunkHJMSNOBTcjs.ShellTypeValues.SHELL]: {
|
|
146
146
|
icon: _chunkLLSUVPQCcjs.ShellIcon,
|
|
147
147
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
148
148
|
}
|
|
@@ -153,7 +153,7 @@ var defaultIconConfig = {
|
|
|
153
153
|
};
|
|
154
154
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
155
155
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
156
|
-
const label =
|
|
156
|
+
const label = _chunkHJMSNOBTcjs.getShellLabel.call(void 0, normalizedType);
|
|
157
157
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
158
158
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
159
159
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -169,7 +169,7 @@ function formatSupportedPlatforms(platforms) {
|
|
|
169
169
|
if (!platforms || platforms.length === 0) {
|
|
170
170
|
return "All Platforms";
|
|
171
171
|
}
|
|
172
|
-
return platforms.map((platform) =>
|
|
172
|
+
return platforms.map((platform) => _chunkHJMSNOBTcjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
173
173
|
}
|
|
174
174
|
function InfoCell({ label, value, avatar, className }) {
|
|
175
175
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
@@ -189,7 +189,7 @@ var ScriptInfoSection = ({
|
|
|
189
189
|
author,
|
|
190
190
|
className
|
|
191
191
|
}) => {
|
|
192
|
-
const shellLabel =
|
|
192
|
+
const shellLabel = _chunkHJMSNOBTcjs.getShellLabel.call(void 0, shellType);
|
|
193
193
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
194
194
|
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: [
|
|
195
195
|
/* @__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: [
|
|
@@ -291,7 +291,7 @@ var ScriptArguments = ({
|
|
|
291
291
|
}
|
|
292
292
|
) }),
|
|
293
293
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
-
|
|
294
|
+
_chunkHQIOMFJHcjs.Button,
|
|
295
295
|
{
|
|
296
296
|
type: "button",
|
|
297
297
|
variant: "outline",
|
|
@@ -307,7 +307,7 @@ var ScriptArguments = ({
|
|
|
307
307
|
}),
|
|
308
308
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap justify-start gap-[var(--spacing-system-xs)]", children: [
|
|
309
309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
310
|
-
|
|
310
|
+
_chunkHQIOMFJHcjs.Button,
|
|
311
311
|
{
|
|
312
312
|
type: "button",
|
|
313
313
|
variant: "outline",
|
|
@@ -320,7 +320,7 @@ var ScriptArguments = ({
|
|
|
320
320
|
}
|
|
321
321
|
),
|
|
322
322
|
addSecretButtonLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
323
|
-
|
|
323
|
+
_chunkHQIOMFJHcjs.Button,
|
|
324
324
|
{
|
|
325
325
|
type: "button",
|
|
326
326
|
variant: "outline",
|
|
@@ -364,7 +364,7 @@ function OnboardingStepCard({
|
|
|
364
364
|
onSkip();
|
|
365
365
|
};
|
|
366
366
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
367
|
-
|
|
367
|
+
_chunkGCK75D7Fcjs.InteractiveCard,
|
|
368
368
|
{
|
|
369
369
|
clickable: false,
|
|
370
370
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
@@ -390,9 +390,9 @@ function OnboardingStepCard({
|
|
|
390
390
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[100px] animate-pulse rounded-[6px] bg-ods-border" }),
|
|
391
391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] animate-pulse rounded-[6px] bg-ods-border" })
|
|
392
392
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
393
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
|
|
394
394
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
395
|
-
|
|
395
|
+
_chunkHQIOMFJHcjs.Button,
|
|
396
396
|
{
|
|
397
397
|
variant: "outline",
|
|
398
398
|
onClick: handleAction,
|
|
@@ -401,9 +401,9 @@ function OnboardingStepCard({
|
|
|
401
401
|
children: step.completedText
|
|
402
402
|
}
|
|
403
403
|
)
|
|
404
|
-
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
405
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
406
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
404
|
+
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
405
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
|
|
406
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
|
|
407
407
|
] })
|
|
408
408
|
}
|
|
409
409
|
)
|
|
@@ -436,7 +436,7 @@ function OnboardingWalkthrough({
|
|
|
436
436
|
isStepSkipped,
|
|
437
437
|
allStepsComplete,
|
|
438
438
|
markMultipleComplete
|
|
439
|
-
} =
|
|
439
|
+
} = _chunk4LY6R4TNcjs.useOnboardingState.call(void 0, storageKey);
|
|
440
440
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
441
441
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
442
442
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
@@ -518,8 +518,8 @@ function OnboardingWalkthrough({
|
|
|
518
518
|
const isAllComplete = allStepsComplete(steps);
|
|
519
519
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
520
520
|
/* @__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: [
|
|
521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
522
|
-
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,
|
|
521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkGCK75D7Fcjs.SECTION_HEADING_CLASS, children: _chunkGCK75D7Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
522
|
+
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, _chunkHQIOMFJHcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
|
|
523
523
|
] }),
|
|
524
524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
525
525
|
OnboardingStepCard,
|