@flamingo-stack/openframe-frontend-core 0.0.619 → 0.0.620
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-S44BHDOI.js → chunk-43JQ3SJS.js} +3 -2
- package/dist/{chunk-S44BHDOI.js.map → chunk-43JQ3SJS.js.map} +1 -1
- package/dist/{chunk-UWPZT3FY.cjs → chunk-4NKJRJU4.cjs} +6 -6
- package/dist/{chunk-UWPZT3FY.cjs.map → chunk-4NKJRJU4.cjs.map} +1 -1
- package/dist/{chunk-HPIRQWNK.js → chunk-4SH2L3HO.js} +3 -3
- package/dist/{chunk-3Z5ZIKDX.js → chunk-5AB6QLIQ.js} +3 -3
- package/dist/{chunk-QVOS4BPC.cjs → chunk-5NYMTTUB.cjs} +57 -57
- package/dist/{chunk-QVOS4BPC.cjs.map → chunk-5NYMTTUB.cjs.map} +1 -1
- package/dist/{chunk-65SWJSQX.js → chunk-7FPWMX26.js} +39 -7
- package/dist/chunk-7FPWMX26.js.map +1 -0
- package/dist/{chunk-JA2SIJ7T.js → chunk-BR5PVFWG.js} +4 -4
- package/dist/{chunk-OD4JKGQG.js → chunk-CKH4SLD5.js} +6 -6
- package/dist/{chunk-EYKTKDRK.cjs → chunk-CS7MVDUF.cjs} +3 -2
- package/dist/chunk-CS7MVDUF.cjs.map +1 -0
- package/dist/{chunk-U7MQS4CR.cjs → chunk-CSQZMK3O.cjs} +80 -80
- package/dist/{chunk-U7MQS4CR.cjs.map → chunk-CSQZMK3O.cjs.map} +1 -1
- package/dist/{chunk-ZPJ6KYAW.js → chunk-DJVN7IW6.js} +3 -3
- package/dist/{chunk-M4V2O2MT.cjs → chunk-ECOJUPXO.cjs} +10 -10
- package/dist/{chunk-M4V2O2MT.cjs.map → chunk-ECOJUPXO.cjs.map} +1 -1
- package/dist/{chunk-P3I5KY4A.cjs → chunk-FCMCCPQI.cjs} +20 -20
- package/dist/{chunk-P3I5KY4A.cjs.map → chunk-FCMCCPQI.cjs.map} +1 -1
- package/dist/{chunk-5DUTXG6P.js → chunk-G6LYVK64.js} +3 -3
- package/dist/{chunk-I7RWVDN4.js → chunk-GMBETTTE.js} +5 -5
- package/dist/{chunk-RTC3H5RW.js → chunk-GZFVTFMU.js} +4 -4
- package/dist/{chunk-GNWKLE7O.cjs → chunk-HC6FZJMM.cjs} +32 -32
- package/dist/{chunk-GNWKLE7O.cjs.map → chunk-HC6FZJMM.cjs.map} +1 -1
- package/dist/{chunk-XRWY5ETC.cjs → chunk-IVFU4RFK.cjs} +22 -22
- package/dist/{chunk-XRWY5ETC.cjs.map → chunk-IVFU4RFK.cjs.map} +1 -1
- package/dist/{chunk-MJRXGAXS.js → chunk-KLAL4FTU.js} +5 -5
- package/dist/{chunk-EIFU6N5L.cjs → chunk-KMWB52KV.cjs} +29 -29
- package/dist/{chunk-EIFU6N5L.cjs.map → chunk-KMWB52KV.cjs.map} +1 -1
- package/dist/{chunk-3BNNYHP2.js → chunk-LNF5W3QJ.js} +3 -3
- package/dist/{chunk-J27HVNT2.js → chunk-POSO6GYC.js} +3 -3
- package/dist/{chunk-UP2OB7RI.cjs → chunk-PTANIWHA.cjs} +11 -11
- package/dist/{chunk-UP2OB7RI.cjs.map → chunk-PTANIWHA.cjs.map} +1 -1
- package/dist/{chunk-AU2Q75HU.cjs → chunk-RBV63HZO.cjs} +6 -6
- package/dist/{chunk-AU2Q75HU.cjs.map → chunk-RBV63HZO.cjs.map} +1 -1
- package/dist/{chunk-YNA7ZCDS.cjs → chunk-RSGFPFSM.cjs} +28 -28
- package/dist/{chunk-YNA7ZCDS.cjs.map → chunk-RSGFPFSM.cjs.map} +1 -1
- package/dist/{chunk-HF4EZICZ.cjs → chunk-SGAMQ4G7.cjs} +3 -3
- package/dist/{chunk-HF4EZICZ.cjs.map → chunk-SGAMQ4G7.cjs.map} +1 -1
- package/dist/{chunk-4ZGUSO7M.cjs → chunk-T5ZKUSVJ.cjs} +5 -5
- package/dist/{chunk-4ZGUSO7M.cjs.map → chunk-T5ZKUSVJ.cjs.map} +1 -1
- package/dist/{chunk-D4ARG53E.js → chunk-T7FTSJM2.js} +6 -6
- package/dist/{chunk-7HWVD42H.js → chunk-TMGTVVE2.js} +2 -2
- package/dist/{chunk-SKRI6QJ5.js → chunk-UY4EFV3P.js} +2 -2
- package/dist/{chunk-GAPXVAS6.cjs → chunk-VRN27OMD.cjs} +400 -368
- package/dist/chunk-VRN27OMD.cjs.map +1 -0
- package/dist/{chunk-JBXNDB5U.js → chunk-XGVWMJQD.js} +7 -7
- package/dist/{chunk-NOW7NGUH.cjs → chunk-YKHVTESH.cjs} +15 -15
- package/dist/{chunk-NOW7NGUH.cjs.map → chunk-YKHVTESH.cjs.map} +1 -1
- package/dist/{chunk-KQDGZS3U.cjs → chunk-Z5OZCZYH.cjs} +33 -33
- package/dist/{chunk-KQDGZS3U.cjs.map → chunk-Z5OZCZYH.cjs.map} +1 -1
- package/dist/{chunk-LPGBA4UZ.js → chunk-ZBXPNBKB.js} +3 -3
- package/dist/{chunk-DXR23SLZ.cjs → chunk-ZLILFOPN.cjs} +198 -198
- package/dist/{chunk-DXR23SLZ.cjs.map → chunk-ZLILFOPN.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/dispatch.d.ts +6 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.d.ts +1 -1
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +5 -3
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +4 -2
- package/dist/components/chat/utils/icon-registry.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +55 -53
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +17 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +6 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +5 -3
- package/dist/index.cjs +10 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/types/video-processing.d.ts +1 -1
- package/dist/types/video-processing.d.ts.map +1 -1
- package/dist/utils/index.cjs +8 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +9 -4
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/chat-card-label.test.tsx +24 -0
- package/src/components/chat/entity-cards/dispatch.tsx +40 -4
- package/src/components/chat/entity-cards/index.ts +1 -0
- package/src/components/chat/utils/icon-registry.ts +3 -0
- package/src/types/video-processing.ts +2 -1
- package/src/utils/__tests__/list-url.test.ts +1 -0
- package/src/utils/list-url.ts +1 -0
- package/src/utils/source-icons.ts +3 -0
- package/dist/chunk-65SWJSQX.js.map +0 -1
- package/dist/chunk-EYKTKDRK.cjs.map +0 -1
- package/dist/chunk-GAPXVAS6.cjs.map +0 -1
- /package/dist/{chunk-HPIRQWNK.js.map → chunk-4SH2L3HO.js.map} +0 -0
- /package/dist/{chunk-3Z5ZIKDX.js.map → chunk-5AB6QLIQ.js.map} +0 -0
- /package/dist/{chunk-JA2SIJ7T.js.map → chunk-BR5PVFWG.js.map} +0 -0
- /package/dist/{chunk-OD4JKGQG.js.map → chunk-CKH4SLD5.js.map} +0 -0
- /package/dist/{chunk-ZPJ6KYAW.js.map → chunk-DJVN7IW6.js.map} +0 -0
- /package/dist/{chunk-5DUTXG6P.js.map → chunk-G6LYVK64.js.map} +0 -0
- /package/dist/{chunk-I7RWVDN4.js.map → chunk-GMBETTTE.js.map} +0 -0
- /package/dist/{chunk-RTC3H5RW.js.map → chunk-GZFVTFMU.js.map} +0 -0
- /package/dist/{chunk-MJRXGAXS.js.map → chunk-KLAL4FTU.js.map} +0 -0
- /package/dist/{chunk-3BNNYHP2.js.map → chunk-LNF5W3QJ.js.map} +0 -0
- /package/dist/{chunk-J27HVNT2.js.map → chunk-POSO6GYC.js.map} +0 -0
- /package/dist/{chunk-D4ARG53E.js.map → chunk-T7FTSJM2.js.map} +0 -0
- /package/dist/{chunk-7HWVD42H.js.map → chunk-TMGTVVE2.js.map} +0 -0
- /package/dist/{chunk-SKRI6QJ5.js.map → chunk-UY4EFV3P.js.map} +0 -0
- /package/dist/{chunk-JBXNDB5U.js.map → chunk-XGVWMJQD.js.map} +0 -0
- /package/dist/{chunk-LPGBA4UZ.js.map → chunk-ZBXPNBKB.js.map} +0 -0
|
@@ -60,6 +60,7 @@ import {
|
|
|
60
60
|
BugIcon,
|
|
61
61
|
BuildingsIcon,
|
|
62
62
|
CalendarIcon,
|
|
63
|
+
CallIcon,
|
|
63
64
|
ChartBar01VerIcon,
|
|
64
65
|
ChartPieIcon,
|
|
65
66
|
ChatPlusIcon,
|
|
@@ -171,7 +172,7 @@ import {
|
|
|
171
172
|
safeHref,
|
|
172
173
|
sortBitesByCreatedAtDesc,
|
|
173
174
|
useCoverImageFallback
|
|
174
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-43JQ3SJS.js";
|
|
175
176
|
import {
|
|
176
177
|
next_image_default
|
|
177
178
|
} from "./chunk-MDKCTSDS.js";
|
|
@@ -5197,6 +5198,7 @@ import {
|
|
|
5197
5198
|
Newspaper,
|
|
5198
5199
|
Package,
|
|
5199
5200
|
PenSquare,
|
|
5201
|
+
Phone,
|
|
5200
5202
|
Rocket,
|
|
5201
5203
|
Search,
|
|
5202
5204
|
Send,
|
|
@@ -5248,6 +5250,7 @@ var ICON_REGISTRY = {
|
|
|
5248
5250
|
newspaper: Newspaper,
|
|
5249
5251
|
package: Package,
|
|
5250
5252
|
"pen-square": PenSquare,
|
|
5253
|
+
phone: Phone,
|
|
5251
5254
|
rocket: Rocket,
|
|
5252
5255
|
search: Search,
|
|
5253
5256
|
send: Send,
|
|
@@ -5297,6 +5300,7 @@ var PASCAL_TO_KEBAB_ALIASES = {
|
|
|
5297
5300
|
Newspaper: "newspaper",
|
|
5298
5301
|
Package: "package",
|
|
5299
5302
|
PenSquare: "pen-square",
|
|
5303
|
+
Phone: "phone",
|
|
5300
5304
|
Rocket: "rocket",
|
|
5301
5305
|
Search: "search",
|
|
5302
5306
|
Send: "send",
|
|
@@ -14685,7 +14689,8 @@ var SOURCE_ICON_NAMES = {
|
|
|
14685
14689
|
"ai-prompts": "message-square",
|
|
14686
14690
|
// Product-hub internal
|
|
14687
14691
|
"design-docs": "file-text",
|
|
14688
|
-
"openframe-tenants": "globe"
|
|
14692
|
+
"openframe-tenants": "globe",
|
|
14693
|
+
"prospect-calls": "phone"
|
|
14689
14694
|
};
|
|
14690
14695
|
function getSourceIconName(tableId) {
|
|
14691
14696
|
if (!tableId) return void 0;
|
|
@@ -14741,7 +14746,8 @@ var SOURCE_LABELS_BY_TABLE = {
|
|
|
14741
14746
|
"ai-prompts": "Squawkbox",
|
|
14742
14747
|
// Product-hub internal
|
|
14743
14748
|
"design-docs": "Design Docs",
|
|
14744
|
-
"openframe-tenants": "OpenFrame Tenants"
|
|
14749
|
+
"openframe-tenants": "OpenFrame Tenants",
|
|
14750
|
+
"prospect-calls": "Prospect calls"
|
|
14745
14751
|
};
|
|
14746
14752
|
function getSourceLabel(tableId) {
|
|
14747
14753
|
return SOURCE_LABELS_BY_TABLE[tableId] ?? tableId;
|
|
@@ -14790,7 +14796,8 @@ var DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = {
|
|
|
14790
14796
|
ai_prompt: "ai-prompts",
|
|
14791
14797
|
// Product-hub internal
|
|
14792
14798
|
design_doc: "design-docs",
|
|
14793
|
-
openframe_tenant: "openframe-tenants"
|
|
14799
|
+
openframe_tenant: "openframe-tenants",
|
|
14800
|
+
prospect_call: "prospect-calls"
|
|
14794
14801
|
};
|
|
14795
14802
|
function defaultTableIdForDocumentType(documentType) {
|
|
14796
14803
|
return DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID[documentType] ?? null;
|
|
@@ -15576,12 +15583,33 @@ var GITHUB_CARD_CONFIGS = {
|
|
|
15576
15583
|
};
|
|
15577
15584
|
var REF_GLYPH_CARD_CONFIGS = {
|
|
15578
15585
|
design_doc: { label: "Design doc", icon: () => /* @__PURE__ */ jsx93(FileContentIcon, { size: 24 }) },
|
|
15579
|
-
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ jsx93(BuildingsIcon, { size: 24 }) }
|
|
15586
|
+
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ jsx93(BuildingsIcon, { size: 24 }) },
|
|
15587
|
+
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ jsx93(CallIcon, { size: 24 }), media: true }
|
|
15580
15588
|
};
|
|
15581
15589
|
function refGlyphRegistryEntries() {
|
|
15582
15590
|
return registryEntries(
|
|
15583
15591
|
REF_GLYPH_CARD_CONFIGS,
|
|
15584
|
-
(cfg, docType) => refHydratedEntry(
|
|
15592
|
+
(cfg, docType) => refHydratedEntry(
|
|
15593
|
+
docType,
|
|
15594
|
+
cfg.label,
|
|
15595
|
+
(displayRef, opts) => cfg.media ? /* @__PURE__ */ jsx93(
|
|
15596
|
+
EntityMingoCard,
|
|
15597
|
+
{
|
|
15598
|
+
title: displayRef.title,
|
|
15599
|
+
description: displayRef.preview ?? void 0,
|
|
15600
|
+
cover: entityCover(
|
|
15601
|
+
displayRef.metadata?.videoPoster,
|
|
15602
|
+
opts.extras?.buildOgPlaceholderUrl?.(displayRef.title ?? "") ?? null
|
|
15603
|
+
),
|
|
15604
|
+
fallbackIcon: cfg.icon(),
|
|
15605
|
+
status: { label: cfg.label, variant: "grey" },
|
|
15606
|
+
chatRef: displayRef,
|
|
15607
|
+
isNewTab: opts.isNewTab,
|
|
15608
|
+
discuss: opts.discuss,
|
|
15609
|
+
menuAriaLabel: `${cfg.label} actions`
|
|
15610
|
+
}
|
|
15611
|
+
) : /* @__PURE__ */ jsx93(GlyphChatCard, { chatRef: displayRef, icon: cfg.icon(), isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
15612
|
+
)
|
|
15585
15613
|
);
|
|
15586
15614
|
}
|
|
15587
15615
|
function fetchedEmployeeEntryDisplayRef(item, chatRef) {
|
|
@@ -15858,6 +15886,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15858
15886
|
},
|
|
15859
15887
|
...roadmapRegistryEntries()
|
|
15860
15888
|
};
|
|
15889
|
+
function chatCardLabel(docType) {
|
|
15890
|
+
return CHAT_CARD_REGISTRY[docType]?.label;
|
|
15891
|
+
}
|
|
15861
15892
|
function ChatCardNavWrap({
|
|
15862
15893
|
href,
|
|
15863
15894
|
path,
|
|
@@ -25768,6 +25799,7 @@ export {
|
|
|
25768
25799
|
defaultTableIdForDocumentType,
|
|
25769
25800
|
resolveSourceRowCTA,
|
|
25770
25801
|
resolveSourceIcon,
|
|
25802
|
+
chatCardLabel,
|
|
25771
25803
|
ChatCardLoader,
|
|
25772
25804
|
renderChatInlineEntityCard,
|
|
25773
25805
|
CHAT_TYPE,
|
|
@@ -25851,4 +25883,4 @@ export {
|
|
|
25851
25883
|
buildStreamFrames,
|
|
25852
25884
|
EmbeddableChat
|
|
25853
25885
|
};
|
|
25854
|
-
//# sourceMappingURL=chunk-
|
|
25886
|
+
//# sourceMappingURL=chunk-7FPWMX26.js.map
|