@flamingo-stack/openframe-frontend-core 0.0.736 → 0.0.738
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-AZL332TK.cjs → chunk-2QMBXGMQ.cjs} +15 -2
- package/dist/{chunk-7V2KP2TB.cjs → chunk-2SBHPHLS.cjs} +4 -4
- package/dist/{chunk-LIH5OQLY.cjs → chunk-2UZS3ZH7.cjs} +8 -8
- package/dist/{chunk-MGW5DO6P.cjs → chunk-3BBOAMWJ.cjs} +7 -7
- package/dist/{chunk-HZJRERJW.cjs → chunk-3RFQPQ7Z.cjs} +3 -3
- package/dist/{chunk-T27CVQBO.cjs → chunk-4T6ETBL4.cjs} +151 -83
- package/dist/{chunk-JM54CNZZ.cjs → chunk-4YQNJJWM.cjs} +95 -95
- package/dist/{chunk-UBQSOB3X.cjs → chunk-5BKAUXLR.cjs} +4 -4
- package/dist/{chunk-YADG5Q7C.cjs → chunk-63N4FN5V.cjs} +3 -3
- package/dist/{chunk-URX2YTCL.cjs → chunk-66R4NGGU.cjs} +77 -71
- package/dist/{chunk-EJOXXJJB.cjs → chunk-7F3V45AH.cjs} +29 -29
- package/dist/{chunk-BDF3FNOC.cjs → chunk-7GETNFZ5.cjs} +49 -49
- package/dist/{chunk-L4ZNR5V7.cjs → chunk-7LTG6CJ3.cjs} +67 -67
- package/dist/{chunk-MJGX357L.cjs → chunk-B27QEHYR.cjs} +2 -2
- package/dist/{chunk-OV6BGMEL.cjs → chunk-BRKTN6UR.cjs} +340 -328
- package/dist/{chunk-VRNNIV5Y.cjs → chunk-EG545WGV.cjs} +4 -4
- package/dist/{chunk-ZJNYWNCB.cjs → chunk-FG7HTGT3.cjs} +24 -24
- package/dist/{chunk-77SD7RXY.cjs → chunk-GAF4L3JW.cjs} +7 -7
- package/dist/{chunk-FTGVG6FW.cjs → chunk-GQZOUVXC.cjs} +34 -34
- package/dist/{chunk-ZEX5WU35.cjs → chunk-HNYLTEIS.cjs} +48 -69
- package/dist/{chunk-FCGLSWKR.cjs → chunk-IFS4AH77.cjs} +19 -1
- package/dist/{chunk-L535OD7V.cjs → chunk-JZNESLJX.cjs} +2 -2
- package/dist/{chunk-SZFA2LQR.cjs → chunk-KQ4IKALJ.cjs} +35 -35
- package/dist/{chunk-EX2GYIGW.cjs → chunk-LY5VOKV7.cjs} +6 -6
- package/dist/{chunk-XLSVQJBA.cjs → chunk-MLKL2YVE.cjs} +44 -44
- package/dist/{chunk-BL5GOCHP.cjs → chunk-MTNNYSP3.cjs} +26 -18
- package/dist/{chunk-ZRYKDN2J.cjs → chunk-N2CISBJJ.cjs} +15 -15
- package/dist/chunk-N5NDPULP.cjs +57 -0
- package/dist/{chunk-P6Z3EBPJ.cjs → chunk-R36NZTUJ.cjs} +26 -26
- package/dist/{chunk-OJUMVOMP.cjs → chunk-U5BRSRXA.cjs} +923 -759
- package/dist/{chunk-DUXLZPMJ.cjs → chunk-UMO55S55.cjs} +2 -2
- package/dist/{chunk-JGGSRCRD.cjs → chunk-XGHZIYQN.cjs} +24 -24
- package/dist/{chunk-NONQUGRP.cjs → chunk-XMNLPQ75.cjs} +12 -12
- package/dist/{cloud-tenants-M55HMW6F.cjs → cloud-tenants-FTQGWXHS.cjs} +16 -16
- package/dist/components/agent-identity.d.ts +8 -1
- package/dist/components/agent-identity.d.ts.map +1 -1
- package/dist/components/agent-identity.js +6 -1
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/case-studies/index.cjs +28 -28
- package/dist/components/chat/chat-turn.d.ts +23 -0
- package/dist/components/chat/chat-turn.d.ts.map +1 -0
- package/dist/components/chat/chat-turn.js +30 -0
- package/dist/components/chat/entity-cards/index.d.ts +1 -0
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.js +2 -0
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.js +1 -1
- package/dist/components/chat/index.cjs +16 -12
- 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 +1 -0
- package/dist/components/chat/mingo-info-card.d.ts +17 -1
- package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
- package/dist/components/chat/mingo-info-card.js +15 -3
- package/dist/components/contact/index.cjs +17 -17
- package/dist/components/docs/index.cjs +20 -20
- package/dist/components/embeds/index.cjs +17 -17
- package/dist/components/faq/faq-ask-card.d.ts +5 -4
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -1
- package/dist/components/faq/faq-document-page.d.ts +3 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-document-page.js +2 -0
- package/dist/components/faq/faq-section.d.ts +37 -5
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/faq-section.js +36 -9
- package/dist/components/faq/index.cjs +23 -17
- package/dist/components/faq/index.d.ts +1 -1
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +4 -2
- package/dist/components/features/auth/auth-benefits-panel.d.ts +3 -5
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/auth/auth-benefits-panel.js +3 -19
- package/dist/components/features/conversation-card.d.ts +12 -4
- package/dist/components/features/conversation-card.d.ts.map +1 -1
- package/dist/components/features/conversation-card.js +30 -38
- package/dist/components/features/index.cjs +16 -16
- package/dist/components/help-center-pages/delivery-page.d.ts +8 -1
- package/dist/components/help-center-pages/delivery-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/delivery-page.js +16 -4
- package/dist/components/help-center-pages/download-apps-page.d.ts +8 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +11 -6
- package/dist/components/help-center-pages/index.cjs +216 -161
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts +8 -1
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.js +26 -14
- package/dist/components/help-center-pages/product-releases-list-page.d.ts +8 -1
- package/dist/components/help-center-pages/product-releases-list-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/product-releases-list-page.js +24 -12
- package/dist/components/help-center-pages/roadmap-page.d.ts +8 -1
- package/dist/components/help-center-pages/roadmap-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/roadmap-page.js +25 -13
- package/dist/components/index.cjs +103 -79
- package/dist/components/meeting-scheduler/index.cjs +49 -49
- package/dist/components/navigation/index.cjs +19 -19
- package/dist/components/onboarding-guides/index.cjs +19 -19
- package/dist/components/platform/ToolBadge.d.ts.map +1 -1
- package/dist/components/platform/ToolBadge.js +4 -3
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/related-content/index.cjs +8 -8
- package/dist/components/shared/dev-section/dev-section-page.d.ts +8 -1
- package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
- package/dist/components/shared/dev-section/dev-section-page.js +8 -3
- package/dist/components/shared/legal-document/legal-document-page.d.ts +8 -1
- package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
- package/dist/components/shared/legal-document/legal-document-page.js +4 -1
- package/dist/components/tickets/index.cjs +22 -21
- package/dist/components/ui/app-window-frame.d.ts +7 -1
- package/dist/components/ui/app-window-frame.d.ts.map +1 -1
- package/dist/components/ui/app-window-frame.js +10 -2
- package/dist/components/ui/benefit-list.d.ts +42 -0
- package/dist/components/ui/benefit-list.d.ts.map +1 -0
- package/dist/components/ui/benefit-list.js +62 -0
- package/dist/components/ui/button/button.d.ts +1 -0
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/button/button.js +15 -2
- package/dist/components/ui/dropdown-button.d.ts +20 -2
- package/dist/components/ui/dropdown-button.d.ts.map +1 -1
- package/dist/components/ui/dropdown-button.js +57 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/index.cjs +32 -16
- package/dist/components/ui/index.d.ts +3 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +3 -0
- package/dist/components/ui/leader-row.d.ts +17 -0
- package/dist/components/ui/leader-row.d.ts.map +1 -0
- package/dist/components/ui/leader-row.js +14 -0
- package/dist/components/ui/strip-card.d.ts +23 -0
- package/dist/components/ui/strip-card.d.ts.map +1 -0
- package/dist/components/ui/strip-card.js +56 -0
- package/dist/contexts/assistant-runtime-context.d.ts +5 -5
- package/dist/{devices-WWJZFG6E.cjs → devices-MPI5HUQS.cjs} +17 -17
- package/dist/{embeddable-chat-76IJ6TQZ.cjs → embeddable-chat-7WLUDBGK.cjs} +84 -84
- package/dist/index.cjs +46 -20
- package/dist/{knowledge-F4YFQT3G.cjs → knowledge-BS663XXL.cjs} +17 -17
- package/dist/{logs-GAYEGEZM.cjs → logs-KS2A2VN5.cjs} +25 -25
- package/dist/{policies-ZOVJCJWX.cjs → policies-H3OK6H4Q.cjs} +20 -20
- package/dist/{remote-session-Z4YZFG5E.cjs → remote-session-EHKXU4HI.cjs} +7 -7
- package/dist/{software-update-H4YE5GMJ.cjs → software-update-HMMMWIL3.cjs} +20 -20
- package/dist/{tickets-board-JOSYLOS7.cjs → tickets-board-3YJKOOZE.cjs} +10 -10
- package/dist/types/faq.d.ts +17 -0
- package/dist/types/faq.d.ts.map +1 -1
- package/dist/types/faq.js +4 -0
- package/dist/types/index.cjs +4 -0
- package/dist/utils/demo-clock.d.ts +22 -0
- package/dist/utils/demo-clock.d.ts.map +1 -0
- package/dist/utils/demo-clock.js +40 -0
- package/dist/utils/identity-tint.d.ts +13 -0
- package/dist/utils/identity-tint.d.ts.map +1 -0
- package/dist/utils/identity-tint.js +14 -0
- package/dist/utils/index.cjs +54 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +2 -0
- package/dist/{video-file-player-6NWGXZ3W.cjs → video-file-player-ZH2ILAPO.cjs} +12 -12
- package/package.json +1 -1
- package/src/components/agent-identity.tsx +12 -1
- package/src/components/chat/chat-turn.tsx +52 -0
- package/src/components/chat/entity-cards/index.ts +1 -0
- package/src/components/chat/hooks/use-ask-prompts.ts +2 -2
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/mingo-info-card.tsx +39 -4
- package/src/components/faq/faq-ask-card.tsx +5 -4
- package/src/components/faq/faq-document-page.tsx +4 -0
- package/src/components/faq/faq-section.tsx +86 -14
- package/src/components/faq/index.ts +1 -1
- package/src/components/features/auth/auth-benefits-panel.tsx +5 -32
- package/src/components/features/conversation-card.tsx +48 -46
- package/src/components/help-center-pages/delivery-page.tsx +16 -1
- package/src/components/help-center-pages/download-apps-page.tsx +9 -0
- package/src/components/help-center-pages/onboarding-guides-catalog-page.tsx +16 -1
- package/src/components/help-center-pages/product-releases-list-page.tsx +16 -1
- package/src/components/help-center-pages/roadmap-page.tsx +16 -1
- package/src/components/platform/ToolBadge.tsx +4 -3
- package/src/components/shared/dev-section/dev-section-page.tsx +9 -0
- package/src/components/shared/legal-document/legal-document-page.tsx +9 -0
- package/src/components/ui/app-window-frame.tsx +18 -2
- package/src/components/ui/benefit-list.tsx +97 -0
- package/src/components/ui/button/button.tsx +14 -1
- package/src/components/ui/dropdown-button.tsx +73 -1
- package/src/components/ui/index.ts +3 -0
- package/src/components/ui/leader-row.tsx +28 -0
- package/src/components/ui/strip-card.tsx +68 -0
- package/src/contexts/assistant-runtime-context.tsx +5 -5
- package/src/types/faq.ts +18 -0
- package/src/utils/demo-clock.ts +62 -0
- package/src/utils/identity-tint.ts +23 -0
- package/src/utils/index.ts +2 -0
|
@@ -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 _chunk3BBOAMWJcjs = require('./chunk-3BBOAMWJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ var _chunkMGW5DO6Pcjs = require('./chunk-MGW5DO6P.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkLY5VOKV7cjs = require('./chunk-LY5VOKV7.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -39,7 +39,7 @@ var _chunkEX2GYIGWcjs = require('./chunk-EX2GYIGW.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunk7F3V45AHcjs = require('./chunk-7F3V45AH.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
|
|
@@ -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, _chunk7F3V45AHcjs.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
|
+
_chunk7F3V45AHcjs.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, _chunk7F3V45AHcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
467
467
|
decode: decodeRoadmapRow,
|
|
468
468
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
469
|
-
|
|
469
|
+
_chunk7F3V45AHcjs.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, _chunk7F3V45AHcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
487
487
|
decode: decodeBlogRow,
|
|
488
488
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
489
|
-
|
|
489
|
+
_chunk7F3V45AHcjs.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, _chunk7F3V45AHcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
502
502
|
decode: decodeCaseStudyRow,
|
|
503
503
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
504
|
-
|
|
504
|
+
_chunk7F3V45AHcjs.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, _chunk7F3V45AHcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
517
517
|
decode: decodeCustomerInterviewRow,
|
|
518
518
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
-
|
|
519
|
+
_chunk7F3V45AHcjs.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, _chunk7F3V45AHcjs.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]), () => ( _chunk7F3V45AHcjs.buildProductReleaseCardProps));
|
|
541
541
|
const releaseProps = buildReleaseProps(release);
|
|
542
542
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
543
|
-
|
|
543
|
+
_chunk7F3V45AHcjs.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, _chunk7F3V45AHcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
560
560
|
decode: decodeInvestorUpdateRow,
|
|
561
561
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
-
|
|
562
|
+
_chunk7F3V45AHcjs.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, _chunk7F3V45AHcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
578
578
|
decode: decodeOnboardingGuideRow,
|
|
579
579
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
|
|
580
|
+
_chunk7F3V45AHcjs.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, _chunkLY5VOKV7cjs.WhatIShippedCardSkeleton, {}),
|
|
598
598
|
decode: decodeEmployeeEntryRow,
|
|
599
599
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
|
|
600
|
+
_chunkLY5VOKV7cjs.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, _chunkLY5VOKV7cjs.HowIWorkCardSkeleton, {}),
|
|
611
611
|
decode: decodeEmployeeEntryRow,
|
|
612
612
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
-
|
|
613
|
+
_chunkLY5VOKV7cjs.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, _chunkLY5VOKV7cjs.AiPromptCardSkeleton, {}),
|
|
624
624
|
decode: decodeEmployeeEntryRow,
|
|
625
625
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
626
|
+
_chunkLY5VOKV7cjs.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 = _chunk7F3V45AHcjs.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) {
|
|
@@ -702,9 +702,9 @@ function useGroupItems(type, refs, buildUrl) {
|
|
|
702
702
|
const url = ids.length > 0 ? buildUrl(type, ids) : null;
|
|
703
703
|
const [pages, setPages] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
|
|
704
704
|
const cached = url !== null ? pages.get(url) : void 0;
|
|
705
|
-
const { data, dataUrl, error } =
|
|
705
|
+
const { data, dataUrl, error } = _chunkLY5VOKV7cjs.useSelfFetch.call(void 0, cached ? null : url);
|
|
706
706
|
if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
|
|
707
|
-
setPages(new Map(pages).set(dataUrl,
|
|
707
|
+
setPages(new Map(pages).set(dataUrl, _chunk7F3V45AHcjs.extractItems.call(void 0, data)));
|
|
708
708
|
}
|
|
709
709
|
if (url === null) return { items: null, isLoading: false };
|
|
710
710
|
return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
|
|
@@ -713,7 +713,7 @@ function gridClassFor(columns) {
|
|
|
713
713
|
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
714
|
}
|
|
715
715
|
function resolveGroupConfig(type) {
|
|
716
|
-
return _nullishCoalesce(
|
|
716
|
+
return _nullishCoalesce(_chunkLY5VOKV7cjs.CONTENT_REF_GROUPS[type], () => ( {
|
|
717
717
|
label: type,
|
|
718
718
|
order: 999,
|
|
719
719
|
layout: "grid",
|
|
@@ -745,7 +745,7 @@ function ContentGroup({
|
|
|
745
745
|
const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, GROUP_PAGE_SIZE);
|
|
746
746
|
const pageRefs = refs.slice((page - 1) * GROUP_PAGE_SIZE, page * GROUP_PAGE_SIZE);
|
|
747
747
|
const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl);
|
|
748
|
-
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
748
|
+
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3BBOAMWJcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
|
|
749
749
|
if (isLoading) {
|
|
750
750
|
const skeletons = pageRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(type, cardSize, adminCampaignCard) }, r.id));
|
|
751
751
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
@@ -756,7 +756,7 @@ function ContentGroup({
|
|
|
756
756
|
}
|
|
757
757
|
if (!items) return null;
|
|
758
758
|
const rowKey = (it) => {
|
|
759
|
-
const extracted =
|
|
759
|
+
const extracted = _chunk7F3V45AHcjs.extractItemId.call(void 0, type, it);
|
|
760
760
|
if (extracted !== null) return extracted;
|
|
761
761
|
return String(typeof it === "object" && it !== null ? it.id : void 0);
|
|
762
762
|
};
|
|
@@ -824,11 +824,11 @@ function RelatedContentSection({
|
|
|
824
824
|
types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
|
|
825
825
|
excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
|
|
826
826
|
};
|
|
827
|
-
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ?
|
|
827
|
+
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkLY5VOKV7cjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
828
828
|
apiBaseUrl,
|
|
829
829
|
extraParams: { authorId, ...typeFilterParams }
|
|
830
830
|
}) : null;
|
|
831
|
-
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ?
|
|
831
|
+
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkLY5VOKV7cjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
832
832
|
apiBaseUrl,
|
|
833
833
|
entityType,
|
|
834
834
|
entityId,
|
|
@@ -845,9 +845,9 @@ function RelatedContentSection({
|
|
|
845
845
|
() => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
|
|
846
846
|
[initialItems, suggestionsDisabled]
|
|
847
847
|
);
|
|
848
|
-
const { data, isLoading } =
|
|
848
|
+
const { data, isLoading } = _chunkLY5VOKV7cjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
|
|
849
849
|
const effectiveBuildListUrl = _react.useMemo.call(void 0,
|
|
850
|
-
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) =>
|
|
850
|
+
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunk7F3V45AHcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
|
|
851
851
|
[buildListUrl2, apiBaseUrl]
|
|
852
852
|
);
|
|
853
853
|
const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
|
|
@@ -858,12 +858,12 @@ function RelatedContentSection({
|
|
|
858
858
|
if (isLoading) {
|
|
859
859
|
const skeletonType = _nullishCoalesce(_nullishCoalesce(_optionalChain([includeTypes, 'optionalAccess', _11 => _11[0]]), () => ( entityType)), () => ( "blog_post_existing"));
|
|
860
860
|
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:
|
|
861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk7F3V45AHcjs.accentSentenceMarks.call(void 0, title) }),
|
|
862
862
|
/* @__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
863
|
] });
|
|
864
864
|
}
|
|
865
865
|
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:
|
|
866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunk7F3V45AHcjs.accentSentenceMarks.call(void 0, title) }),
|
|
867
867
|
_nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
|
|
868
868
|
] });
|
|
869
869
|
}
|
|
@@ -872,16 +872,16 @@ function RelatedContentSection({
|
|
|
872
872
|
if (!grouped[ref.type]) grouped[ref.type] = [];
|
|
873
873
|
grouped[ref.type].push(ref);
|
|
874
874
|
}
|
|
875
|
-
let orderedTypes =
|
|
875
|
+
let orderedTypes = _chunkLY5VOKV7cjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
876
876
|
if (entityType) {
|
|
877
|
-
const canonicalEntityType =
|
|
878
|
-
const sameType = orderedTypes.filter((t) =>
|
|
877
|
+
const canonicalEntityType = _chunk7F3V45AHcjs.canonicalContentRefType.call(void 0, entityType);
|
|
878
|
+
const sameType = orderedTypes.filter((t) => _chunk7F3V45AHcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
879
879
|
if (sameType.length > 0) {
|
|
880
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
880
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunk7F3V45AHcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
883
|
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:
|
|
884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk7F3V45AHcjs.accentSentenceMarks.call(void 0, title) }),
|
|
885
885
|
orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
886
886
|
ContentGroup,
|
|
887
887
|
{
|
|
@@ -893,7 +893,7 @@ function RelatedContentSection({
|
|
|
893
893
|
LinkProvider,
|
|
894
894
|
extras,
|
|
895
895
|
adminCampaignCard,
|
|
896
|
-
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children:
|
|
896
|
+
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkLY5VOKV7cjs.getContentRefLabelOrTitleCase.call(void 0, type) })
|
|
897
897
|
},
|
|
898
898
|
type
|
|
899
899
|
))
|
|
@@ -1,7 +1,11 @@
|
|
|
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 _chunkGAF4L3JWcjs = require('./chunk-GAF4L3JW.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkHNYLTEIScjs = require('./chunk-HNYLTEIS.cjs');
|
|
5
9
|
|
|
6
10
|
|
|
7
11
|
|
|
@@ -10,13 +14,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
10
14
|
|
|
11
15
|
|
|
12
16
|
|
|
13
|
-
var
|
|
17
|
+
var _chunkU5BRSRXAcjs = require('./chunk-U5BRSRXA.cjs');
|
|
14
18
|
|
|
15
19
|
|
|
16
|
-
var
|
|
20
|
+
var _chunk7LTG6CJ3cjs = require('./chunk-7LTG6CJ3.cjs');
|
|
17
21
|
|
|
18
22
|
|
|
19
|
-
var
|
|
23
|
+
var _chunk4T6ETBL4cjs = require('./chunk-4T6ETBL4.cjs');
|
|
20
24
|
|
|
21
25
|
|
|
22
26
|
|
|
@@ -25,7 +29,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
25
29
|
|
|
26
30
|
|
|
27
31
|
|
|
28
|
-
var
|
|
32
|
+
var _chunk7F3V45AHcjs = require('./chunk-7F3V45AH.cjs');
|
|
29
33
|
|
|
30
34
|
|
|
31
35
|
var _chunkMYBTNOS6cjs = require('./chunk-MYBTNOS6.cjs');
|
|
@@ -41,7 +45,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
41
45
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
42
46
|
if (isFiltered) {
|
|
43
47
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
44
|
-
|
|
48
|
+
_chunkGAF4L3JWcjs.EmptyState,
|
|
45
49
|
{
|
|
46
50
|
type: "search",
|
|
47
51
|
title: filtered.title,
|
|
@@ -54,7 +58,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
54
58
|
}
|
|
55
59
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
56
60
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
57
|
-
|
|
61
|
+
_chunkGAF4L3JWcjs.EmptyState,
|
|
58
62
|
{
|
|
59
63
|
type: "generic",
|
|
60
64
|
title: empty.title,
|
|
@@ -71,7 +75,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
71
75
|
var _react = require('react');
|
|
72
76
|
|
|
73
77
|
function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
|
|
74
|
-
const section =
|
|
78
|
+
const section = _chunk4T6ETBL4cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
75
79
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
76
80
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
77
81
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -122,7 +126,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
122
126
|
preControls,
|
|
123
127
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
124
128
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
125
|
-
|
|
129
|
+
_chunkU5BRSRXAcjs.SearchInput,
|
|
126
130
|
{
|
|
127
131
|
showDropdown: false,
|
|
128
132
|
placeholder: search.placeholder,
|
|
@@ -132,7 +136,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
132
136
|
}
|
|
133
137
|
),
|
|
134
138
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
135
|
-
|
|
139
|
+
_chunkU5BRSRXAcjs.StatusFilterComponent,
|
|
136
140
|
{
|
|
137
141
|
selectedStatus: currentFilterValue,
|
|
138
142
|
onStatusChange: handleFilterChange,
|
|
@@ -153,10 +157,11 @@ function DevSectionPage({
|
|
|
153
157
|
backButton,
|
|
154
158
|
title,
|
|
155
159
|
subtitle,
|
|
160
|
+
faq,
|
|
156
161
|
shell = true
|
|
157
162
|
}) {
|
|
158
163
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
159
|
-
const section =
|
|
164
|
+
const section = _chunk4T6ETBL4cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
160
165
|
const backCfg = backButton === false ? void 0 : {
|
|
161
166
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
162
167
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -168,19 +173,22 @@ function DevSectionPage({
|
|
|
168
173
|
// renders ONLY its search + filter controls (`showHeading={false}`), no
|
|
169
174
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
170
175
|
// frozen and renders title-only.)
|
|
171
|
-
/* @__PURE__ */ _jsxruntime.
|
|
172
|
-
|
|
176
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
177
|
+
_chunk7LTG6CJ3cjs.PageLayout,
|
|
173
178
|
{
|
|
174
179
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
175
180
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
176
181
|
titleSize: "h1",
|
|
177
182
|
titleWrap: true,
|
|
178
183
|
backButton: backCfg,
|
|
179
|
-
children:
|
|
184
|
+
children: [
|
|
185
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
186
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHNYLTEIScjs.FaqSection, { ..._chunkHNYLTEIScjs.pageFaqProps.call(void 0, faq) })
|
|
187
|
+
]
|
|
180
188
|
}
|
|
181
189
|
)
|
|
182
190
|
);
|
|
183
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
191
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU5BRSRXAcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
184
192
|
}
|
|
185
193
|
|
|
186
194
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -240,7 +248,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
240
248
|
const taskType = item.taskType;
|
|
241
249
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
242
250
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
243
|
-
const statusBadgeScheme =
|
|
251
|
+
const statusBadgeScheme = _chunk7F3V45AHcjs.getStatusColorScheme.call(void 0, item.status);
|
|
244
252
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
245
253
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
246
254
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
@@ -252,7 +260,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
252
260
|
] }),
|
|
253
261
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch content-md:w-auto content-md:flex-col content-md:items-end content-md:self-start", children: [
|
|
254
262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
255
|
-
|
|
263
|
+
_chunk7F3V45AHcjs.StatusBadge,
|
|
256
264
|
{
|
|
257
265
|
text: item.status.toUpperCase(),
|
|
258
266
|
colorScheme: statusBadgeScheme,
|
|
@@ -261,7 +269,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
261
269
|
}
|
|
262
270
|
),
|
|
263
271
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
264
|
-
|
|
272
|
+
_chunk7F3V45AHcjs.StatusBadge,
|
|
265
273
|
{
|
|
266
274
|
text: typeBadgeLabel,
|
|
267
275
|
variant: "card",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkB27QEHYRcjs = require('./chunk-B27QEHYR.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkC7GIHB3Vcjs = require('./chunk-C7GIHB3V.cjs');
|
|
@@ -25,7 +25,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkIFS4AH77cjs = require('./chunk-IFS4AH77.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -42,7 +42,7 @@ var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
|
42
42
|
var _chunkUR4K2NSLcjs = require('./chunk-UR4K2NSL.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
var
|
|
45
|
+
var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -281,9 +281,9 @@ function TicketStatusTag({
|
|
|
281
281
|
const config = getTicketStatusConfig(status);
|
|
282
282
|
const customStyle = color ? {
|
|
283
283
|
"--tag-bg": color,
|
|
284
|
-
"--tag-bg-hover":
|
|
285
|
-
"--tag-bg-active":
|
|
286
|
-
color:
|
|
284
|
+
"--tag-bg-hover": _chunkIFS4AH77cjs.deriveHoverColor.call(void 0, color),
|
|
285
|
+
"--tag-bg-active": _chunkIFS4AH77cjs.deriveActiveColor.call(void 0, color),
|
|
286
|
+
color: _chunkIFS4AH77cjs.getReadableTextColor.call(void 0, color)
|
|
287
287
|
} : void 0;
|
|
288
288
|
const customColorClasses = color ? "bg-[var(--tag-bg)] hover:bg-[var(--tag-bg-hover)] active:bg-[var(--tag-bg-active)]" : void 0;
|
|
289
289
|
const tag = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -298,15 +298,15 @@ function TicketStatusTag({
|
|
|
298
298
|
);
|
|
299
299
|
if (disabled || !options || options.length === 0 || !onSelect) {
|
|
300
300
|
if (disabled && disabledReason) {
|
|
301
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
302
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
303
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
301
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27QEHYRcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB27QEHYRcjs.Tooltip, { children: [
|
|
302
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27QEHYRcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-fit shrink-0 cursor-not-allowed", children: tag }) }),
|
|
303
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27QEHYRcjs.TooltipContent, { children: disabledReason })
|
|
304
304
|
] }) });
|
|
305
305
|
}
|
|
306
306
|
return tag;
|
|
307
307
|
}
|
|
308
308
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
309
|
-
|
|
309
|
+
_chunkB27QEHYRcjs.ActionsMenuDropdown,
|
|
310
310
|
{
|
|
311
311
|
align: "start",
|
|
312
312
|
groups: [
|
|
@@ -683,7 +683,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
683
683
|
};
|
|
684
684
|
const actionButtons = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
685
685
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
686
|
-
|
|
686
|
+
_chunk2QMBXGMQcjs.Button,
|
|
687
687
|
{
|
|
688
688
|
size: "small-legacy",
|
|
689
689
|
variant: "accent",
|
|
@@ -698,7 +698,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
698
698
|
}
|
|
699
699
|
),
|
|
700
700
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
701
|
-
|
|
701
|
+
_chunk2QMBXGMQcjs.Button,
|
|
702
702
|
{
|
|
703
703
|
size: "small-legacy",
|
|
704
704
|
variant: "outline",
|
|
@@ -774,10 +774,10 @@ ApprovalBatchMessage.displayName = "ApprovalBatchMessage";
|
|
|
774
774
|
|
|
775
775
|
|
|
776
776
|
var MARK_IMAGE_SIZES = "96px";
|
|
777
|
-
function AgentMark({ agent, className = "", color =
|
|
778
|
-
const identity =
|
|
777
|
+
function AgentMark({ agent, className = "", color = _chunkIFS4AH77cjs.AGENT_GLYPH_COLOR }) {
|
|
778
|
+
const identity = _chunkIFS4AH77cjs.useAgentIdentityIcon.call(void 0, agent);
|
|
779
779
|
if (_optionalChain([identity, 'optionalAccess', _15 => _15.url])) {
|
|
780
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk3ATAYP36cjs.cn.call(void 0, "relative inline-block overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUR4K2NSLcjs.next_image_default, { src: identity.url, alt: "", fill: true, sizes: MARK_IMAGE_SIZES, className:
|
|
780
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk3ATAYP36cjs.cn.call(void 0, "relative inline-block overflow-hidden rounded-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUR4K2NSLcjs.next_image_default, { src: identity.url, alt: "", fill: true, sizes: MARK_IMAGE_SIZES, className: _chunkIFS4AH77cjs.AGENT_PICTURE_CLASS }) });
|
|
781
781
|
}
|
|
782
782
|
if (_optionalChain([identity, 'optionalAccess', _16 => _16.name])) {
|
|
783
783
|
return _react.createElement.call(void 0, _chunkFICJS5OAcjs.resolveIcon.call(void 0, identity.name), {
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkHNYLTEIScjs = require('./chunk-HNYLTEIS.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkU5BRSRXAcjs = require('./chunk-U5BRSRXA.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunk7LTG6CJ3cjs = require('./chunk-7LTG6CJ3.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
14
|
+
|
|
15
|
+
// src/components/faq/faq-document-page.tsx
|
|
16
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
17
|
+
function FaqDocumentPage({
|
|
18
|
+
title = "Frequently Asked Questions",
|
|
19
|
+
subtitle,
|
|
20
|
+
backButton,
|
|
21
|
+
initialFaqs,
|
|
22
|
+
emitJsonLd,
|
|
23
|
+
jsonLd,
|
|
24
|
+
apiBaseUrl,
|
|
25
|
+
entityType,
|
|
26
|
+
entityId,
|
|
27
|
+
minResults,
|
|
28
|
+
topic,
|
|
29
|
+
ask,
|
|
30
|
+
shell = true
|
|
31
|
+
}) {
|
|
32
|
+
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
33
|
+
const backCfg = backButton === false ? void 0 : {
|
|
34
|
+
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
|
|
35
|
+
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
|
|
36
|
+
};
|
|
37
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7LTG6CJ3cjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38
|
+
_chunkHNYLTEIScjs.FaqSection,
|
|
39
|
+
{
|
|
40
|
+
initialFaqs,
|
|
41
|
+
heading: null,
|
|
42
|
+
emitJsonLd,
|
|
43
|
+
jsonLd,
|
|
44
|
+
apiBaseUrl,
|
|
45
|
+
entityType,
|
|
46
|
+
entityId,
|
|
47
|
+
minResults,
|
|
48
|
+
topic,
|
|
49
|
+
ask
|
|
50
|
+
}
|
|
51
|
+
) });
|
|
52
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU5BRSRXAcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
exports.FaqDocumentPage = FaqDocumentPage;
|