@flamingo-stack/openframe-frontend-core 0.0.603 → 0.0.604-2095.5829.1
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-7UY6JYVX.js → chunk-4LGYBV7U.js} +6 -6
- package/dist/{chunk-AR3JII22.cjs → chunk-4Y7LBWRN.cjs} +159 -159
- package/dist/{chunk-AR3JII22.cjs.map → chunk-4Y7LBWRN.cjs.map} +1 -1
- package/dist/{chunk-AL27OAQB.cjs → chunk-4ZBC4YSQ.cjs} +33 -33
- package/dist/{chunk-AL27OAQB.cjs.map → chunk-4ZBC4YSQ.cjs.map} +1 -1
- package/dist/{chunk-2SYV7HSV.js → chunk-5QHY4HCC.js} +2 -2
- package/dist/{chunk-SJS2AWIB.cjs → chunk-7ADEWG65.cjs} +3 -3
- package/dist/{chunk-SJS2AWIB.cjs.map → chunk-7ADEWG65.cjs.map} +1 -1
- package/dist/{chunk-FH6O54PG.js → chunk-7CG4N4RV.js} +5 -5
- package/dist/{chunk-ZEAV4HB5.cjs → chunk-7EETXACY.cjs} +15 -15
- package/dist/{chunk-ZEAV4HB5.cjs.map → chunk-7EETXACY.cjs.map} +1 -1
- package/dist/{chunk-Z5H3ITOB.js → chunk-AQGQVYDC.js} +2 -2
- package/dist/{chunk-B2NXQOAK.cjs → chunk-BEAO6SUX.cjs} +70 -70
- package/dist/{chunk-B2NXQOAK.cjs.map → chunk-BEAO6SUX.cjs.map} +1 -1
- package/dist/{chunk-JQ52EWRC.js → chunk-BKZCYRGG.js} +2 -2
- package/dist/{chunk-CEA6WLSC.cjs → chunk-C3FIMKT7.cjs} +3 -3
- package/dist/{chunk-CEA6WLSC.cjs.map → chunk-C3FIMKT7.cjs.map} +1 -1
- package/dist/{chunk-TLXYYGZW.js → chunk-FK5WVAC3.js} +3 -3
- package/dist/{chunk-WGQKIMMJ.cjs → chunk-FRRNSQOG.cjs} +25 -25
- package/dist/{chunk-WGQKIMMJ.cjs.map → chunk-FRRNSQOG.cjs.map} +1 -1
- package/dist/{chunk-A73ORC6C.js → chunk-HONE2UX4.js} +3 -3
- package/dist/{chunk-TOUHYL4T.js → chunk-IK2MM26F.js} +5 -5
- package/dist/{chunk-SWVHCWLG.js → chunk-JGSEBZYO.js} +28 -4
- package/dist/chunk-JGSEBZYO.js.map +1 -0
- package/dist/{chunk-HO24BJ5K.cjs → chunk-JIPSQ4P7.cjs} +10 -10
- package/dist/{chunk-HO24BJ5K.cjs.map → chunk-JIPSQ4P7.cjs.map} +1 -1
- package/dist/{chunk-64BE3OFE.cjs → chunk-JZBRMXB7.cjs} +22 -22
- package/dist/{chunk-64BE3OFE.cjs.map → chunk-JZBRMXB7.cjs.map} +1 -1
- package/dist/{chunk-BOTY4JJT.cjs → chunk-L77QUPE5.cjs} +4 -4
- package/dist/{chunk-BOTY4JJT.cjs.map → chunk-L77QUPE5.cjs.map} +1 -1
- package/dist/{chunk-7RAKZ6TW.cjs → chunk-LJMTURDD.cjs} +10 -10
- package/dist/{chunk-7RAKZ6TW.cjs.map → chunk-LJMTURDD.cjs.map} +1 -1
- package/dist/{chunk-INPMLFLK.js → chunk-MDXSLZML.js} +2 -2
- package/dist/{chunk-RJU7L4EC.cjs → chunk-N25MIHYE.cjs} +5 -5
- package/dist/{chunk-RJU7L4EC.cjs.map → chunk-N25MIHYE.cjs.map} +1 -1
- package/dist/{chunk-F2IZWJET.js → chunk-N6GFOA4J.js} +4 -4
- package/dist/{chunk-AYVJRZO3.cjs → chunk-OPNTVPGP.cjs} +43 -43
- package/dist/{chunk-AYVJRZO3.cjs.map → chunk-OPNTVPGP.cjs.map} +1 -1
- package/dist/{chunk-QJJKDNYS.js → chunk-ORGNII3T.js} +5 -5
- package/dist/{chunk-PFG7TJFZ.js → chunk-PLPRL4YX.js} +3 -3
- package/dist/{chunk-XPHYCFQ6.js → chunk-RN3DBEWX.js} +2 -2
- package/dist/{chunk-KESRJY6J.cjs → chunk-VK743MVL.cjs} +28 -4
- package/dist/chunk-VK743MVL.cjs.map +1 -0
- package/dist/{chunk-SPLEOBOR.js → chunk-WHHA3LVL.js} +3 -3
- package/dist/{chunk-RJJPL2K5.cjs → chunk-WZROKAJT.cjs} +22 -22
- package/dist/{chunk-RJJPL2K5.cjs.map → chunk-WZROKAJT.cjs.map} +1 -1
- package/dist/{chunk-4SUYR7UP.js → chunk-XATCZQGR.js} +3 -3
- package/dist/{chunk-7BYMMJK3.cjs → chunk-YTXKRN6K.cjs} +9 -9
- package/dist/{chunk-7BYMMJK3.cjs.map → chunk-YTXKRN6K.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +9 -9
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/entity-cards/chat-ticket-item.d.ts +12 -0
- package/dist/components/chat/entity-cards/chat-ticket-item.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +23 -23
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +38 -38
- package/dist/components/index.js +13 -13
- package/dist/components/meeting-scheduler/index.cjs +24 -24
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/components/chat/__tests__/chat-ticket-item.test.tsx +79 -0
- package/src/components/chat/entity-cards/chat-ticket-item.tsx +30 -4
- package/src/stories/ChatTicketList.stories.tsx +25 -0
- package/dist/chunk-KESRJY6J.cjs.map +0 -1
- package/dist/chunk-SWVHCWLG.js.map +0 -1
- /package/dist/{chunk-7UY6JYVX.js.map → chunk-4LGYBV7U.js.map} +0 -0
- /package/dist/{chunk-2SYV7HSV.js.map → chunk-5QHY4HCC.js.map} +0 -0
- /package/dist/{chunk-FH6O54PG.js.map → chunk-7CG4N4RV.js.map} +0 -0
- /package/dist/{chunk-Z5H3ITOB.js.map → chunk-AQGQVYDC.js.map} +0 -0
- /package/dist/{chunk-JQ52EWRC.js.map → chunk-BKZCYRGG.js.map} +0 -0
- /package/dist/{chunk-TLXYYGZW.js.map → chunk-FK5WVAC3.js.map} +0 -0
- /package/dist/{chunk-A73ORC6C.js.map → chunk-HONE2UX4.js.map} +0 -0
- /package/dist/{chunk-TOUHYL4T.js.map → chunk-IK2MM26F.js.map} +0 -0
- /package/dist/{chunk-INPMLFLK.js.map → chunk-MDXSLZML.js.map} +0 -0
- /package/dist/{chunk-F2IZWJET.js.map → chunk-N6GFOA4J.js.map} +0 -0
- /package/dist/{chunk-QJJKDNYS.js.map → chunk-ORGNII3T.js.map} +0 -0
- /package/dist/{chunk-PFG7TJFZ.js.map → chunk-PLPRL4YX.js.map} +0 -0
- /package/dist/{chunk-XPHYCFQ6.js.map → chunk-RN3DBEWX.js.map} +0 -0
- /package/dist/{chunk-SPLEOBOR.js.map → chunk-WHHA3LVL.js.map} +0 -0
- /package/dist/{chunk-4SUYR7UP.js.map → chunk-XATCZQGR.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createSseSubscription
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5QHY4HCC.js";
|
|
5
5
|
import {
|
|
6
6
|
useChatIdentity
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JGSEBZYO.js";
|
|
8
8
|
import {
|
|
9
9
|
embedAuthedFetch
|
|
10
10
|
} from "./chunk-FKBM6U43.js";
|
|
@@ -275,4 +275,4 @@ export {
|
|
|
275
275
|
TICKET_MARK_READ_DEBOUNCE_MS,
|
|
276
276
|
TOAST_COPY
|
|
277
277
|
};
|
|
278
|
-
//# sourceMappingURL=chunk-
|
|
278
|
+
//# sourceMappingURL=chunk-HONE2UX4.js.map
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
FileDownloadCard,
|
|
4
4
|
GoogleSheetsViewer,
|
|
5
5
|
PdfViewer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AQGQVYDC.js";
|
|
7
7
|
import {
|
|
8
8
|
MobileNavigationDropdown,
|
|
9
9
|
MultiLevelNavigation,
|
|
10
10
|
StickySectionNav
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MDXSLZML.js";
|
|
12
12
|
import {
|
|
13
13
|
DocSearchBar,
|
|
14
14
|
useDocSearch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XATCZQGR.js";
|
|
16
16
|
import {
|
|
17
17
|
CategorySidebarSkeleton,
|
|
18
18
|
DEFAULT_FOLDER_INDEX_FILE,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
findDocNodeByPath,
|
|
23
23
|
getDocAncestorNodeIds,
|
|
24
24
|
stripFolderIndexFromPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5QHY4HCC.js";
|
|
26
26
|
import {
|
|
27
27
|
contentFetch
|
|
28
28
|
} from "./chunk-BVQEU5JB.js";
|
|
@@ -1050,4 +1050,4 @@ export {
|
|
|
1050
1050
|
EmbedSkeleton,
|
|
1051
1051
|
DocsHubPage
|
|
1052
1052
|
};
|
|
1053
|
-
//# sourceMappingURL=chunk-
|
|
1053
|
+
//# sourceMappingURL=chunk-IK2MM26F.js.map
|
|
@@ -8986,6 +8986,7 @@ function ScrollShadow({
|
|
|
8986
8986
|
import { ChevronRight } from "lucide-react";
|
|
8987
8987
|
import { forwardRef as forwardRef18 } from "react";
|
|
8988
8988
|
import { jsx as jsx47, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
8989
|
+
var UNREAD_NOTICE = "You have a new unread message";
|
|
8989
8990
|
var ChatTicketItem = forwardRef18(
|
|
8990
8991
|
({ className, ticket, onClick, isLoading = false, ...props }, ref) => {
|
|
8991
8992
|
if (isLoading) {
|
|
@@ -9017,7 +9018,8 @@ var ChatTicketItem = forwardRef18(
|
|
|
9017
9018
|
statusColor: ticket.statusColor
|
|
9018
9019
|
});
|
|
9019
9020
|
const isResolved = ticket.statusKind === "RESOLVED" || resolveTicketStatus(ticket.status) === "RESOLVED";
|
|
9020
|
-
const
|
|
9021
|
+
const composedSubtitle = [ticket.ticketNumber, ticket.category, ticket.timeAgo].filter(Boolean).join(" \u2022 ");
|
|
9022
|
+
const subtitle = ticket.subtitle ?? (ticket.unread ? UNREAD_NOTICE : composedSubtitle);
|
|
9021
9023
|
return /* @__PURE__ */ jsxs34(
|
|
9022
9024
|
"button",
|
|
9023
9025
|
{
|
|
@@ -9048,7 +9050,14 @@ var ChatTicketItem = forwardRef18(
|
|
|
9048
9050
|
children: ticket.title
|
|
9049
9051
|
}
|
|
9050
9052
|
),
|
|
9051
|
-
subtitle && /* @__PURE__ */ jsx47(
|
|
9053
|
+
subtitle && /* @__PURE__ */ jsx47(
|
|
9054
|
+
"p",
|
|
9055
|
+
{
|
|
9056
|
+
className: cn("truncate text-h6", ticket.unread ? "text-ods-open-yellow" : "text-ods-text-secondary"),
|
|
9057
|
+
title: subtitle,
|
|
9058
|
+
children: subtitle
|
|
9059
|
+
}
|
|
9060
|
+
)
|
|
9052
9061
|
] }),
|
|
9053
9062
|
ticket.linkedTaskLabel && /* @__PURE__ */ jsx47(
|
|
9054
9063
|
Tag,
|
|
@@ -9060,7 +9069,22 @@ var ChatTicketItem = forwardRef18(
|
|
|
9060
9069
|
}
|
|
9061
9070
|
),
|
|
9062
9071
|
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ jsx47(TicketStatusTag, { ...statusTagProps }),
|
|
9063
|
-
/* @__PURE__ */ jsx47(
|
|
9072
|
+
/* @__PURE__ */ jsx47(
|
|
9073
|
+
"div",
|
|
9074
|
+
{
|
|
9075
|
+
"data-testid": "chat-ticket-item-chevron",
|
|
9076
|
+
className: cn(
|
|
9077
|
+
"flex size-12 shrink-0 items-center justify-center rounded-md border",
|
|
9078
|
+
ticket.unread ? "border-ods-open-yellow bg-ods-open-yellow" : "border-ods-border bg-ods-card"
|
|
9079
|
+
),
|
|
9080
|
+
children: /* @__PURE__ */ jsx47(
|
|
9081
|
+
ChevronRight,
|
|
9082
|
+
{
|
|
9083
|
+
className: cn("size-6", ticket.unread ? "text-ods-text-on-accent" : "text-ods-text-secondary")
|
|
9084
|
+
}
|
|
9085
|
+
)
|
|
9086
|
+
}
|
|
9087
|
+
)
|
|
9064
9088
|
]
|
|
9065
9089
|
}
|
|
9066
9090
|
);
|
|
@@ -25400,4 +25424,4 @@ export {
|
|
|
25400
25424
|
buildStreamFrames,
|
|
25401
25425
|
EmbeddableChat
|
|
25402
25426
|
};
|
|
25403
|
-
//# sourceMappingURL=chunk-
|
|
25427
|
+
//# sourceMappingURL=chunk-JGSEBZYO.js.map
|