@flamingo-stack/openframe-frontend-core 0.0.537-snapshot.20260814102953 → 0.0.537
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/chat-protocol/events.d.ts +1 -15
- package/dist/chat-protocol/events.d.ts.map +1 -1
- package/dist/chat-protocol/index.cjs +0 -15
- package/dist/chat-protocol/index.cjs.map +1 -1
- package/dist/chat-protocol/index.js +0 -15
- package/dist/chat-protocol/index.js.map +1 -1
- package/dist/chat-protocol/nats-decoder.d.ts.map +1 -1
- package/dist/{chunk-KUKHUECE.js → chunk-3GXMS4OP.js} +2 -2
- package/dist/{chunk-ZHW5VLHY.js → chunk-5JPSQOZQ.js} +2 -2
- package/dist/{chunk-RBBWKSRC.js → chunk-7EHGP4QK.js} +4367 -4638
- package/dist/chunk-7EHGP4QK.js.map +1 -0
- package/dist/{chunk-4BK5Z763.js → chunk-7FXZHI5D.js} +2 -2
- package/dist/{chunk-YO5BWF4L.cjs → chunk-7WNJ7RFO.cjs} +14 -14
- package/dist/{chunk-YO5BWF4L.cjs.map → chunk-7WNJ7RFO.cjs.map} +1 -1
- package/dist/{chunk-56QT3JBZ.js → chunk-C4LEH3VE.js} +2 -2
- package/dist/{chunk-BUKQ6B65.cjs → chunk-CATY4DVR.cjs} +87 -87
- package/dist/{chunk-BUKQ6B65.cjs.map → chunk-CATY4DVR.cjs.map} +1 -1
- package/dist/{chunk-UBEVU6LS.js → chunk-CQQXB25K.js} +2 -2
- package/dist/{chunk-73W4L656.js → chunk-CZHCXCWL.js} +2 -2
- package/dist/{chunk-LJW7B6GY.cjs → chunk-DHSVBGOX.cjs} +9 -9
- package/dist/{chunk-LJW7B6GY.cjs.map → chunk-DHSVBGOX.cjs.map} +1 -1
- package/dist/{chunk-EH6LNTOT.js → chunk-HRC56BQW.js} +5 -5
- package/dist/{chunk-C6776X43.cjs → chunk-KKZ2QMQD.cjs} +26 -26
- package/dist/{chunk-C6776X43.cjs.map → chunk-KKZ2QMQD.cjs.map} +1 -1
- package/dist/{chunk-67CKAX7Z.js → chunk-LFMIAPBP.js} +2 -2
- package/dist/{chunk-PFGRHRBO.cjs → chunk-MDP3YKFI.cjs} +5 -5
- package/dist/{chunk-PFGRHRBO.cjs.map → chunk-MDP3YKFI.cjs.map} +1 -1
- package/dist/{chunk-C6NKOHFW.js → chunk-MOIHWYSA.js} +2 -2
- package/dist/{chunk-NE67LT3B.cjs → chunk-OYTM3YXO.cjs} +7 -7
- package/dist/{chunk-NE67LT3B.cjs.map → chunk-OYTM3YXO.cjs.map} +1 -1
- package/dist/{chunk-QU6P2U2Q.cjs → chunk-QPPG3KHW.cjs} +3 -3
- package/dist/{chunk-QU6P2U2Q.cjs.map → chunk-QPPG3KHW.cjs.map} +1 -1
- package/dist/{chunk-QK4SQAYG.js → chunk-SGNWSUL3.js} +6 -6
- package/dist/{chunk-NUHDE7CB.cjs → chunk-SKIM263K.cjs} +37 -37
- package/dist/{chunk-NUHDE7CB.cjs.map → chunk-SKIM263K.cjs.map} +1 -1
- package/dist/{chunk-7CBQWZAH.js → chunk-TCSSYTDN.js} +4 -4
- package/dist/{chunk-R3XO2KO4.cjs → chunk-V4D5MPB7.cjs} +4 -4
- package/dist/{chunk-R3XO2KO4.cjs.map → chunk-V4D5MPB7.cjs.map} +1 -1
- package/dist/{chunk-TWVRCPWY.cjs → chunk-VSIHO7DJ.cjs} +61 -61
- package/dist/{chunk-TWVRCPWY.cjs.map → chunk-VSIHO7DJ.cjs.map} +1 -1
- package/dist/{chunk-ZBRKTF6S.js → chunk-WHUEUACV.js} +2 -2
- package/dist/{chunk-MGYNZ7SA.cjs → chunk-WJIBB3KT.cjs} +31 -31
- package/dist/{chunk-MGYNZ7SA.cjs.map → chunk-WJIBB3KT.cjs.map} +1 -1
- package/dist/{chunk-ZNWW4WAT.cjs → chunk-YEKXTTAC.cjs} +26 -26
- package/dist/{chunk-ZNWW4WAT.cjs.map → chunk-YEKXTTAC.cjs.map} +1 -1
- package/dist/{chunk-BNF6FZLP.js → chunk-YIDGB5KP.js} +4 -4
- package/dist/{chunk-QQ3HUSDJ.cjs → chunk-YMPRMZDD.cjs} +328 -599
- package/dist/chunk-YMPRMZDD.cjs.map +1 -0
- package/dist/{chunk-F4QOOHZL.cjs → chunk-YPI3JIR6.cjs} +11 -11
- package/dist/{chunk-F4QOOHZL.cjs.map → chunk-YPI3JIR6.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/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -8
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.d.ts +0 -2
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +1 -7
- package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
- package/dist/components/chat/stream/message-mutations.d.ts.map +1 -1
- package/dist/components/chat/ticket-escalated-message.d.ts +8 -2
- package/dist/components/chat/ticket-escalated-message.d.ts.map +1 -1
- package/dist/components/chat/types/message.types.d.ts +2 -51
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/utils/message-segment-accumulator.d.ts +1 -13
- package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
- package/dist/components/chat/utils/process-historical-messages.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 +132 -144
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +11 -23
- 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 +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 -14
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +1 -13
- package/dist/components/ui/take-over-ticket-modal.d.ts +0 -5
- package/dist/components/ui/take-over-ticket-modal.d.ts.map +1 -1
- package/dist/index.cjs +2 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -13
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/chat-protocol/__tests__/__snapshots__/nats-decoder-golden.test.ts.snap +0 -44
- package/src/chat-protocol/__tests__/nats-decoder-golden.test.ts +0 -32
- package/src/chat-protocol/events.ts +0 -16
- package/src/chat-protocol/nats-decoder.ts +0 -27
- package/src/components/chat/chat-message-enhanced.tsx +0 -3
- package/src/components/chat/index.ts +0 -2
- package/src/components/chat/stream/chat-stream-reducer.ts +0 -19
- package/src/components/chat/stream/message-mutations.ts +0 -5
- package/src/components/chat/ticket-escalated-message.tsx +32 -10
- package/src/components/chat/types/message.types.ts +1 -60
- package/src/components/chat/utils/message-segment-accumulator.ts +0 -41
- package/src/components/chat/utils/process-historical-messages.ts +0 -31
- package/src/components/ui/index.ts +0 -1
- package/src/components/ui/take-over-ticket-modal.tsx +4 -7
- package/dist/chunk-QQ3HUSDJ.cjs.map +0 -1
- package/dist/chunk-RBBWKSRC.js.map +0 -1
- package/dist/components/chat/ai-assistant-info.d.ts +0 -31
- package/dist/components/chat/ai-assistant-info.d.ts.map +0 -1
- package/dist/components/chat/ticket-event-message.d.ts +0 -24
- package/dist/components/chat/ticket-event-message.d.ts.map +0 -1
- package/dist/components/ui/reopen-ticket-modal.d.ts +0 -42
- package/dist/components/ui/reopen-ticket-modal.d.ts.map +0 -1
- package/src/components/chat/__tests__/ticket-event.test.ts +0 -194
- package/src/components/chat/ai-assistant-info.tsx +0 -71
- package/src/components/chat/ticket-event-message.tsx +0 -79
- package/src/components/ui/reopen-ticket-modal.tsx +0 -174
- package/src/stories/ReopenTicketModal.stories.tsx +0 -114
- package/src/stories/TicketEventMessage.stories.tsx +0 -100
- /package/dist/{chunk-KUKHUECE.js.map → chunk-3GXMS4OP.js.map} +0 -0
- /package/dist/{chunk-ZHW5VLHY.js.map → chunk-5JPSQOZQ.js.map} +0 -0
- /package/dist/{chunk-4BK5Z763.js.map → chunk-7FXZHI5D.js.map} +0 -0
- /package/dist/{chunk-56QT3JBZ.js.map → chunk-C4LEH3VE.js.map} +0 -0
- /package/dist/{chunk-UBEVU6LS.js.map → chunk-CQQXB25K.js.map} +0 -0
- /package/dist/{chunk-73W4L656.js.map → chunk-CZHCXCWL.js.map} +0 -0
- /package/dist/{chunk-EH6LNTOT.js.map → chunk-HRC56BQW.js.map} +0 -0
- /package/dist/{chunk-67CKAX7Z.js.map → chunk-LFMIAPBP.js.map} +0 -0
- /package/dist/{chunk-C6NKOHFW.js.map → chunk-MOIHWYSA.js.map} +0 -0
- /package/dist/{chunk-QK4SQAYG.js.map → chunk-SGNWSUL3.js.map} +0 -0
- /package/dist/{chunk-7CBQWZAH.js.map → chunk-TCSSYTDN.js.map} +0 -0
- /package/dist/{chunk-ZBRKTF6S.js.map → chunk-WHUEUACV.js.map} +0 -0
- /package/dist/{chunk-BNF6FZLP.js.map → chunk-YIDGB5KP.js.map} +0 -0
|
@@ -264,7 +264,6 @@ var MESSAGE_TYPE = {
|
|
|
264
264
|
APPROVAL_RESULT: "APPROVAL_RESULT",
|
|
265
265
|
ESCALATION_OFFER: "ESCALATION_OFFER",
|
|
266
266
|
TICKET_ESCALATED: "TICKET_ESCALATED",
|
|
267
|
-
TICKET_EVENT: "TICKET_EVENT",
|
|
268
267
|
ERROR: "ERROR",
|
|
269
268
|
MESSAGE_START: "MESSAGE_START",
|
|
270
269
|
MESSAGE_END: "MESSAGE_END",
|
|
@@ -490,20 +489,6 @@ function decodeNatsChunk(chunk) {
|
|
|
490
489
|
...seq
|
|
491
490
|
};
|
|
492
491
|
}
|
|
493
|
-
case MESSAGE_TYPE.TICKET_EVENT: {
|
|
494
|
-
const kind = typeof data.kind === "string" ? data.kind.trim() : "";
|
|
495
|
-
if (!kind) return null;
|
|
496
|
-
const eventSeq = seq.seq !== void 0 ? seq : typeof data.sequenceId === "number" ? { seq: data.sequenceId } : {};
|
|
497
|
-
return {
|
|
498
|
-
type: "ticket-event",
|
|
499
|
-
kind,
|
|
500
|
-
actorId: typeof data.actorId === "string" ? data.actorId : void 0,
|
|
501
|
-
actorName: typeof data.actorName === "string" ? data.actorName : void 0,
|
|
502
|
-
actorType: typeof data.actorType === "string" ? data.actorType : void 0,
|
|
503
|
-
reason: typeof data.reason === "string" && data.reason.trim() ? data.reason : void 0,
|
|
504
|
-
...eventSeq
|
|
505
|
-
};
|
|
506
|
-
}
|
|
507
492
|
case MESSAGE_TYPE.ERROR:
|
|
508
493
|
return {
|
|
509
494
|
type: "error",
|