@flamingo-stack/openframe-frontend-core 0.0.554 → 0.0.555
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-P6LUXP5E.js → chunk-6ER3AYJM.js} +2 -2
- package/dist/{chunk-4KIPZULI.cjs → chunk-6QRKCVYR.cjs} +7 -7
- package/dist/{chunk-4KIPZULI.cjs.map → chunk-6QRKCVYR.cjs.map} +1 -1
- package/dist/{chunk-PFQVCHDE.cjs → chunk-A7ES3NZK.cjs} +3 -3
- package/dist/{chunk-PFQVCHDE.cjs.map → chunk-A7ES3NZK.cjs.map} +1 -1
- package/dist/{chunk-QA7NU73D.js → chunk-B2GEKAAA.js} +2 -2
- package/dist/{chunk-SBXQW72U.js → chunk-CTTY5EKH.js} +4 -4
- package/dist/{chunk-AQFYI3HH.cjs → chunk-CU6Q2KQT.cjs} +9 -9
- package/dist/{chunk-AQFYI3HH.cjs.map → chunk-CU6Q2KQT.cjs.map} +1 -1
- package/dist/{chunk-RMGX6BVQ.js → chunk-CVCQW7WG.js} +2 -2
- package/dist/{chunk-44QNFLHC.js → chunk-E2IPBWGT.js} +5 -5
- package/dist/{chunk-2HWN6CYI.cjs → chunk-E56VNTBV.cjs} +30 -22
- package/dist/chunk-E56VNTBV.cjs.map +1 -0
- package/dist/{chunk-5VICQQM7.js → chunk-HO3Q7NXJ.js} +2 -2
- package/dist/{chunk-QH3QWY3N.cjs → chunk-J76LCSR4.cjs} +31 -31
- package/dist/{chunk-QH3QWY3N.cjs.map → chunk-J76LCSR4.cjs.map} +1 -1
- package/dist/{chunk-FVXND3SO.js → chunk-K432ES7N.js} +2 -2
- package/dist/{chunk-XMB5P2OS.cjs → chunk-KXLQITOX.cjs} +5 -5
- package/dist/{chunk-XMB5P2OS.cjs.map → chunk-KXLQITOX.cjs.map} +1 -1
- package/dist/{chunk-U72YYXBT.js → chunk-L36R3G7Z.js} +4 -4
- package/dist/{chunk-WZWQWZFJ.cjs → chunk-M5TWHFIN.cjs} +39 -39
- package/dist/{chunk-WZWQWZFJ.cjs.map → chunk-M5TWHFIN.cjs.map} +1 -1
- package/dist/{chunk-HO6IG73U.cjs → chunk-MLVF3OXU.cjs} +62 -62
- package/dist/{chunk-HO6IG73U.cjs.map → chunk-MLVF3OXU.cjs.map} +1 -1
- package/dist/{chunk-PAW27EWH.cjs → chunk-N5A4AC2J.cjs} +20 -20
- package/dist/{chunk-PAW27EWH.cjs.map → chunk-N5A4AC2J.cjs.map} +1 -1
- package/dist/{chunk-VIDE4YOQ.js → chunk-ODRMPI3Y.js} +2 -2
- package/dist/{chunk-CGCQ4HA5.cjs → chunk-P22HM2MO.cjs} +11 -11
- package/dist/{chunk-CGCQ4HA5.cjs.map → chunk-P22HM2MO.cjs.map} +1 -1
- package/dist/{chunk-67Q4QQBA.js → chunk-P7MSXPGL.js} +6 -6
- package/dist/{chunk-DXAUNMFM.js → chunk-QMQQ37RW.js} +2 -2
- package/dist/{chunk-ZGLMZM2I.js → chunk-QZ64JOE2.js} +30 -22
- package/dist/{chunk-ZGLMZM2I.js.map → chunk-QZ64JOE2.js.map} +1 -1
- package/dist/{chunk-ULH6JHWZ.cjs → chunk-SST2YI7S.cjs} +14 -14
- package/dist/{chunk-ULH6JHWZ.cjs.map → chunk-SST2YI7S.cjs.map} +1 -1
- package/dist/{chunk-FHS2SA5F.js → chunk-TXV444YV.js} +2 -2
- package/dist/{chunk-PDVSL7OW.js → chunk-UL3WQWTF.js} +2 -2
- package/dist/{chunk-JJKK7E66.cjs → chunk-UXW63WCV.cjs} +4 -4
- package/dist/{chunk-JJKK7E66.cjs.map → chunk-UXW63WCV.cjs.map} +1 -1
- package/dist/{chunk-J355HL3X.cjs → chunk-XOKRFZBD.cjs} +86 -86
- package/dist/{chunk-J355HL3X.cjs.map → chunk-XOKRFZBD.cjs.map} +1 -1
- package/dist/{chunk-CWLV6DEK.cjs → chunk-YAOBDOI5.cjs} +26 -26
- package/dist/{chunk-CWLV6DEK.cjs.map → chunk-YAOBDOI5.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.d.ts +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
- package/dist/components/chat/utils/message-segment-accumulator.d.ts +7 -5
- package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +131 -131
- package/dist/components/index.js +11 -11
- package/dist/components/meeting-scheduler/index.cjs +28 -28
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/chat/__tests__/ticket-event.test.ts +52 -0
- package/src/components/chat/stream/chat-stream-reducer.ts +15 -11
- package/src/components/chat/utils/message-segment-accumulator.ts +31 -17
- package/dist/chunk-2HWN6CYI.cjs.map +0 -1
- /package/dist/{chunk-P6LUXP5E.js.map → chunk-6ER3AYJM.js.map} +0 -0
- /package/dist/{chunk-QA7NU73D.js.map → chunk-B2GEKAAA.js.map} +0 -0
- /package/dist/{chunk-SBXQW72U.js.map → chunk-CTTY5EKH.js.map} +0 -0
- /package/dist/{chunk-RMGX6BVQ.js.map → chunk-CVCQW7WG.js.map} +0 -0
- /package/dist/{chunk-44QNFLHC.js.map → chunk-E2IPBWGT.js.map} +0 -0
- /package/dist/{chunk-5VICQQM7.js.map → chunk-HO3Q7NXJ.js.map} +0 -0
- /package/dist/{chunk-FVXND3SO.js.map → chunk-K432ES7N.js.map} +0 -0
- /package/dist/{chunk-U72YYXBT.js.map → chunk-L36R3G7Z.js.map} +0 -0
- /package/dist/{chunk-VIDE4YOQ.js.map → chunk-ODRMPI3Y.js.map} +0 -0
- /package/dist/{chunk-67Q4QQBA.js.map → chunk-P7MSXPGL.js.map} +0 -0
- /package/dist/{chunk-DXAUNMFM.js.map → chunk-QMQQ37RW.js.map} +0 -0
- /package/dist/{chunk-FHS2SA5F.js.map → chunk-TXV444YV.js.map} +0 -0
- /package/dist/{chunk-PDVSL7OW.js.map → chunk-UL3WQWTF.js.map} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
PersistentPaginationWrapper
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QMQQ37RW.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UL3WQWTF.js";
|
|
8
8
|
import {
|
|
9
9
|
EmptyState
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ODRMPI3Y.js";
|
|
11
11
|
import {
|
|
12
12
|
DetailPageSkeleton
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HO3Q7NXJ.js";
|
|
14
14
|
import {
|
|
15
15
|
useSelfFetch
|
|
16
16
|
} from "./chunk-OR67WC32.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
toStripProfile,
|
|
47
47
|
useCaptions,
|
|
48
48
|
useEntityCardLink
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QZ64JOE2.js";
|
|
50
50
|
import {
|
|
51
51
|
STICKY_HEADER_OFFSET_PX,
|
|
52
52
|
contentFetch,
|
|
@@ -1310,4 +1310,4 @@ export {
|
|
|
1310
1310
|
useLegalDocs,
|
|
1311
1311
|
LegalDocumentPage
|
|
1312
1312
|
};
|
|
1313
|
-
//# sourceMappingURL=chunk-
|
|
1313
|
+
//# sourceMappingURL=chunk-P7MSXPGL.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_unified_pagination,
|
|
4
4
|
unified_pagination_exports
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ODRMPI3Y.js";
|
|
6
6
|
import {
|
|
7
7
|
cn,
|
|
8
8
|
init_cn
|
|
@@ -172,4 +172,4 @@ export {
|
|
|
172
172
|
usePaginationLoading,
|
|
173
173
|
PersistentPaginationWrapper
|
|
174
174
|
};
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-QMQQ37RW.js.map
|
|
@@ -56092,13 +56092,15 @@ var MessageSegmentAccumulator = class {
|
|
|
56092
56092
|
/**
|
|
56093
56093
|
* Add a ticket lifecycle receipt (resolved / reopened / unknown kind).
|
|
56094
56094
|
*
|
|
56095
|
-
* Upsert identity is the chunk's stream sequence when BOTH sides know it
|
|
56096
|
-
*
|
|
56095
|
+
* Upsert identity is the chunk's stream sequence when BOTH sides know it.
|
|
56096
|
+
* The payload fallback exists for one overlap only: history hydration is
|
|
56097
56097
|
* seq-less (the persisted row's seq lives on the message, not the
|
|
56098
56098
|
* `messageData`), so a JetStream catch-up redelivery of the same event must
|
|
56099
|
-
* still match its hydrated twin
|
|
56100
|
-
*
|
|
56101
|
-
*
|
|
56099
|
+
* still match its hydrated twin. That twin is necessarily the LATEST ticket
|
|
56100
|
+
* event, so the fallback may consider only that one — scanning older
|
|
56101
|
+
* segments swallowed a genuinely REPEATED event: resolve → reopen → resolve
|
|
56102
|
+
* by the same actor is payload-identical to the first resolve, and matching
|
|
56103
|
+
* the old card meant the final one never rendered.
|
|
56102
56104
|
*/
|
|
56103
56105
|
addTicketEvent(data, streamSeq) {
|
|
56104
56106
|
const segment = {
|
|
@@ -56106,11 +56108,18 @@ var MessageSegmentAccumulator = class {
|
|
|
56106
56108
|
data,
|
|
56107
56109
|
...streamSeq !== void 0 ? { streamSeq } : {}
|
|
56108
56110
|
};
|
|
56109
|
-
|
|
56110
|
-
|
|
56111
|
-
|
|
56112
|
-
|
|
56113
|
-
|
|
56111
|
+
let existingIndex = streamSeq !== void 0 ? this.segments.findIndex((s) => s.type === "ticket_event" && s.streamSeq === streamSeq) : -1;
|
|
56112
|
+
if (existingIndex === -1) {
|
|
56113
|
+
for (let i = this.segments.length - 1; i >= 0; i--) {
|
|
56114
|
+
const s = this.segments[i];
|
|
56115
|
+
if (s.type !== "ticket_event") continue;
|
|
56116
|
+
const seqsDistinguish = s.streamSeq !== void 0 && streamSeq !== void 0;
|
|
56117
|
+
if (!seqsDistinguish && s.data.kind === data.kind && s.data.actorId === data.actorId && s.data.actorName === data.actorName && s.data.actorType === data.actorType && s.data.reason === data.reason && s.data.targetStatusKind === data.targetStatusKind) {
|
|
56118
|
+
existingIndex = i;
|
|
56119
|
+
}
|
|
56120
|
+
break;
|
|
56121
|
+
}
|
|
56122
|
+
}
|
|
56114
56123
|
if (existingIndex !== -1) {
|
|
56115
56124
|
this.segments[existingIndex] = segment;
|
|
56116
56125
|
return this.getSegments();
|
|
@@ -56872,18 +56881,17 @@ function createChatStreamReducer(options = {}) {
|
|
|
56872
56881
|
}
|
|
56873
56882
|
case "ticket-event": {
|
|
56874
56883
|
const before = accumulator.getSegments().length;
|
|
56875
|
-
const
|
|
56876
|
-
|
|
56877
|
-
|
|
56878
|
-
|
|
56879
|
-
|
|
56880
|
-
|
|
56881
|
-
|
|
56882
|
-
|
|
56883
|
-
|
|
56884
|
-
seq
|
|
56885
|
-
);
|
|
56884
|
+
const data = {
|
|
56885
|
+
kind: event.kind,
|
|
56886
|
+
actorId: event.actorId,
|
|
56887
|
+
actorName: event.actorName,
|
|
56888
|
+
actorType: event.actorType,
|
|
56889
|
+
reason: event.reason,
|
|
56890
|
+
targetStatusKind: event.targetStatusKind
|
|
56891
|
+
};
|
|
56892
|
+
const segments = accumulator.addTicketEvent(data, seq);
|
|
56886
56893
|
applyAccumulated(before, segments);
|
|
56894
|
+
emit("onTicketEvent", data);
|
|
56887
56895
|
break;
|
|
56888
56896
|
}
|
|
56889
56897
|
case "error": {
|
|
@@ -62891,4 +62899,4 @@ export {
|
|
|
62891
62899
|
LogsList,
|
|
62892
62900
|
assets
|
|
62893
62901
|
};
|
|
62894
|
-
//# sourceMappingURL=chunk-
|
|
62902
|
+
//# sourceMappingURL=chunk-QZ64JOE2.js.map
|