@flamingo-stack/openframe-frontend-core 0.0.523-1663.4375.1 → 0.0.523-1680.4386.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.
Files changed (153) hide show
  1. package/dist/chat-protocol/events.d.ts +46 -1
  2. package/dist/chat-protocol/events.d.ts.map +1 -1
  3. package/dist/chat-protocol/index.cjs +57 -0
  4. package/dist/chat-protocol/index.cjs.map +1 -1
  5. package/dist/chat-protocol/index.js +56 -1
  6. package/dist/chat-protocol/index.js.map +1 -1
  7. package/dist/chat-protocol/nats-decoder.d.ts.map +1 -1
  8. package/dist/{chunk-NMZ33YWL.js → chunk-2ALPHSGU.js} +4 -4
  9. package/dist/{chunk-KBE7SNFZ.cjs → chunk-2MPS2QY5.cjs} +5 -5
  10. package/dist/{chunk-KBE7SNFZ.cjs.map → chunk-2MPS2QY5.cjs.map} +1 -1
  11. package/dist/{chunk-LJCBSJFU.cjs → chunk-3OFRFRBW.cjs} +26 -26
  12. package/dist/{chunk-LJCBSJFU.cjs.map → chunk-3OFRFRBW.cjs.map} +1 -1
  13. package/dist/{chunk-7EYNWY2N.js → chunk-43MPUCDL.js} +2 -2
  14. package/dist/{chunk-NBANPQ3N.js → chunk-4DJL34HL.js} +2 -2
  15. package/dist/{chunk-PZVYYDFL.cjs → chunk-6MW6ELZQ.cjs} +37 -37
  16. package/dist/{chunk-PZVYYDFL.cjs.map → chunk-6MW6ELZQ.cjs.map} +1 -1
  17. package/dist/{chunk-H5TAFA4H.cjs → chunk-ARCH6RK6.cjs} +4 -4
  18. package/dist/{chunk-H5TAFA4H.cjs.map → chunk-ARCH6RK6.cjs.map} +1 -1
  19. package/dist/{chunk-L4DKYRHG.js → chunk-C7T363HO.js} +2 -2
  20. package/dist/{chunk-OPU5BLBT.js → chunk-CBD3IHPF.js} +2 -2
  21. package/dist/{chunk-HPGBHELQ.cjs → chunk-CE4CBCKX.cjs} +7 -7
  22. package/dist/{chunk-HPGBHELQ.cjs.map → chunk-CE4CBCKX.cjs.map} +1 -1
  23. package/dist/{chunk-7LSK5YFW.js → chunk-E2W2XMX2.js} +2 -2
  24. package/dist/{chunk-VYRP7JOD.cjs → chunk-HM53VV7K.cjs} +1245 -923
  25. package/dist/chunk-HM53VV7K.cjs.map +1 -0
  26. package/dist/{chunk-QBLLF7VS.js → chunk-HYVYAWUO.js} +2 -2
  27. package/dist/{chunk-YJLQQGLH.js → chunk-INTFGXHO.js} +5625 -5303
  28. package/dist/chunk-INTFGXHO.js.map +1 -0
  29. package/dist/{chunk-43QX3P4G.cjs → chunk-JBCNOJMX.cjs} +3 -3
  30. package/dist/{chunk-43QX3P4G.cjs.map → chunk-JBCNOJMX.cjs.map} +1 -1
  31. package/dist/{chunk-ZIIIYUZ5.cjs → chunk-KSZPPVXT.cjs} +11 -11
  32. package/dist/{chunk-ZIIIYUZ5.cjs.map → chunk-KSZPPVXT.cjs.map} +1 -1
  33. package/dist/{chunk-ICWQQQTR.js → chunk-LEMU4JMX.js} +2 -2
  34. package/dist/{chunk-OGXZCZSA.cjs → chunk-M7FGOI4V.cjs} +31 -31
  35. package/dist/{chunk-OGXZCZSA.cjs.map → chunk-M7FGOI4V.cjs.map} +1 -1
  36. package/dist/{chunk-FP6HEAQC.js → chunk-MVYTOP3B.js} +5 -5
  37. package/dist/{chunk-ANKQQTAI.js → chunk-MYQAF43S.js} +4 -4
  38. package/dist/{chunk-J2OPY22M.cjs → chunk-OPPGJ4PY.cjs} +87 -87
  39. package/dist/{chunk-J2OPY22M.cjs.map → chunk-OPPGJ4PY.cjs.map} +1 -1
  40. package/dist/{chunk-7ZIGB34Y.js → chunk-QCWVGCT3.js} +6 -6
  41. package/dist/{chunk-JGYVXVN6.cjs → chunk-QRYJYZTW.cjs} +61 -61
  42. package/dist/{chunk-JGYVXVN6.cjs.map → chunk-QRYJYZTW.cjs.map} +1 -1
  43. package/dist/{chunk-JKUYXCG2.cjs → chunk-S4BAM7EC.cjs} +9 -9
  44. package/dist/{chunk-JKUYXCG2.cjs.map → chunk-S4BAM7EC.cjs.map} +1 -1
  45. package/dist/{chunk-7RIYOJLG.cjs → chunk-TH4BQCOD.cjs} +26 -26
  46. package/dist/{chunk-7RIYOJLG.cjs.map → chunk-TH4BQCOD.cjs.map} +1 -1
  47. package/dist/{chunk-M45XIHZY.js → chunk-TPIF252F.js} +2 -2
  48. package/dist/{chunk-D3PPR2WR.cjs → chunk-YTLLRLMU.cjs} +14 -14
  49. package/dist/{chunk-D3PPR2WR.cjs.map → chunk-YTLLRLMU.cjs.map} +1 -1
  50. package/dist/{chunk-BPBMHS4U.js → chunk-ZYBBV6CK.js} +2 -2
  51. package/dist/components/case-studies/index.cjs +8 -8
  52. package/dist/components/case-studies/index.js +2 -2
  53. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  54. package/dist/components/chat/chat-message-list.d.ts.map +1 -1
  55. package/dist/components/chat/escalation-offer-message.d.ts +26 -0
  56. package/dist/components/chat/escalation-offer-message.d.ts.map +1 -0
  57. package/dist/components/chat/index.cjs +6 -2
  58. package/dist/components/chat/index.cjs.map +1 -1
  59. package/dist/components/chat/index.d.ts +2 -0
  60. package/dist/components/chat/index.d.ts.map +1 -1
  61. package/dist/components/chat/index.js +5 -1
  62. package/dist/components/chat/stream/chat-stream-reducer.d.ts +1 -1
  63. package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
  64. package/dist/components/chat/stream/message-mutations.d.ts +6 -2
  65. package/dist/components/chat/stream/message-mutations.d.ts.map +1 -1
  66. package/dist/components/chat/ticket-escalated-message.d.ts +25 -0
  67. package/dist/components/chat/ticket-escalated-message.d.ts.map +1 -0
  68. package/dist/components/chat/types/message.types.d.ts +74 -2
  69. package/dist/components/chat/types/message.types.d.ts.map +1 -1
  70. package/dist/components/chat/types/processing.types.d.ts +13 -0
  71. package/dist/components/chat/types/processing.types.d.ts.map +1 -1
  72. package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
  73. package/dist/components/chat/utils/history-merge.d.ts.map +1 -1
  74. package/dist/components/chat/utils/message-segment-accumulator.d.ts +21 -2
  75. package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
  76. package/dist/components/chat/utils/process-historical-messages.d.ts +1 -1
  77. package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
  78. package/dist/components/contact/index.cjs +3 -3
  79. package/dist/components/contact/index.js +2 -2
  80. package/dist/components/docs/index.cjs +5 -5
  81. package/dist/components/docs/index.js +4 -4
  82. package/dist/components/embeds/index.cjs +3 -3
  83. package/dist/components/embeds/index.js +2 -2
  84. package/dist/components/faq/index.cjs +3 -3
  85. package/dist/components/faq/index.js +2 -2
  86. package/dist/components/features/board/ticket-card.d.ts.map +1 -1
  87. package/dist/components/features/board/types.d.ts +7 -0
  88. package/dist/components/features/board/types.d.ts.map +1 -1
  89. package/dist/components/features/index.cjs +2 -2
  90. package/dist/components/features/index.js +1 -1
  91. package/dist/components/help-center-pages/index.cjs +22 -22
  92. package/dist/components/help-center-pages/index.js +13 -13
  93. package/dist/components/index.cjs +136 -132
  94. package/dist/components/index.cjs.map +1 -1
  95. package/dist/components/index.js +15 -11
  96. package/dist/components/index.js.map +1 -1
  97. package/dist/components/meeting-scheduler/index.cjs +34 -34
  98. package/dist/components/meeting-scheduler/index.js +3 -3
  99. package/dist/components/navigation/index.cjs +2 -2
  100. package/dist/components/navigation/index.js +1 -1
  101. package/dist/components/onboarding-guides/index.cjs +5 -5
  102. package/dist/components/onboarding-guides/index.js +4 -4
  103. package/dist/components/related-content/index.cjs +3 -3
  104. package/dist/components/related-content/index.js +2 -2
  105. package/dist/components/tickets/index.cjs +6 -6
  106. package/dist/components/tickets/index.js +5 -5
  107. package/dist/components/ui/index.cjs +6 -2
  108. package/dist/components/ui/index.cjs.map +1 -1
  109. package/dist/components/ui/index.js +5 -1
  110. package/dist/index.cjs +6 -2
  111. package/dist/index.cjs.map +1 -1
  112. package/dist/index.js +5 -1
  113. package/dist/utils/index.cjs.map +1 -1
  114. package/dist/utils/index.js.map +1 -1
  115. package/package.json +1 -1
  116. package/src/chat-protocol/__tests__/__snapshots__/nats-decoder-golden.test.ts.snap +29 -0
  117. package/src/chat-protocol/__tests__/nats-decoder-golden.test.ts +32 -0
  118. package/src/chat-protocol/events.ts +66 -0
  119. package/src/chat-protocol/nats-decoder.ts +47 -0
  120. package/src/components/chat/__tests__/escalation-offer.test.ts +276 -0
  121. package/src/components/chat/chat-message-enhanced.tsx +15 -0
  122. package/src/components/chat/chat-message-list.tsx +3 -1
  123. package/src/components/chat/escalation-offer-message.tsx +49 -0
  124. package/src/components/chat/index.ts +2 -0
  125. package/src/components/chat/stream/chat-stream-reducer.ts +50 -0
  126. package/src/components/chat/stream/message-mutations.ts +47 -20
  127. package/src/components/chat/ticket-escalated-message.tsx +68 -0
  128. package/src/components/chat/types/message.types.ts +86 -1
  129. package/src/components/chat/types/processing.types.ts +13 -0
  130. package/src/components/chat/utils/extract-incomplete-message-state.ts +10 -0
  131. package/src/components/chat/utils/history-merge.ts +7 -0
  132. package/src/components/chat/utils/message-segment-accumulator.ts +81 -2
  133. package/src/components/chat/utils/process-historical-messages.ts +123 -4
  134. package/src/components/features/board/ticket-card.tsx +7 -1
  135. package/src/components/features/board/types.ts +7 -0
  136. package/src/stories/EscalationOfferMessage.stories.tsx +86 -0
  137. package/src/stories/TicketCard.stories.tsx +12 -0
  138. package/src/stories/TicketEscalatedMessage.stories.tsx +98 -0
  139. package/dist/chunk-VYRP7JOD.cjs.map +0 -1
  140. package/dist/chunk-YJLQQGLH.js.map +0 -1
  141. /package/dist/{chunk-NMZ33YWL.js.map → chunk-2ALPHSGU.js.map} +0 -0
  142. /package/dist/{chunk-7EYNWY2N.js.map → chunk-43MPUCDL.js.map} +0 -0
  143. /package/dist/{chunk-NBANPQ3N.js.map → chunk-4DJL34HL.js.map} +0 -0
  144. /package/dist/{chunk-L4DKYRHG.js.map → chunk-C7T363HO.js.map} +0 -0
  145. /package/dist/{chunk-OPU5BLBT.js.map → chunk-CBD3IHPF.js.map} +0 -0
  146. /package/dist/{chunk-7LSK5YFW.js.map → chunk-E2W2XMX2.js.map} +0 -0
  147. /package/dist/{chunk-QBLLF7VS.js.map → chunk-HYVYAWUO.js.map} +0 -0
  148. /package/dist/{chunk-ICWQQQTR.js.map → chunk-LEMU4JMX.js.map} +0 -0
  149. /package/dist/{chunk-FP6HEAQC.js.map → chunk-MVYTOP3B.js.map} +0 -0
  150. /package/dist/{chunk-ANKQQTAI.js.map → chunk-MYQAF43S.js.map} +0 -0
  151. /package/dist/{chunk-7ZIGB34Y.js.map → chunk-QCWVGCT3.js.map} +0 -0
  152. /package/dist/{chunk-M45XIHZY.js.map → chunk-TPIF252F.js.map} +0 -0
  153. /package/dist/{chunk-BPBMHS4U.js.map → chunk-ZYBBV6CK.js.map} +0 -0
@@ -146,7 +146,7 @@ import {
146
146
  useVideoOriginPreconnect,
147
147
  useVideoWarmup,
148
148
  useWalkthroughVideo
149
- } from "../../chunk-YJLQQGLH.js";
149
+ } from "../../chunk-INTFGXHO.js";
150
150
  import "../../chunk-7EUIW46X.js";
151
151
  import "../../chunk-LXC6P2EO.js";
152
152
  import "../../chunk-EL5YVPD5.js";
@@ -6,31 +6,31 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkJGYVXVN6cjs = require('../../chunk-JGYVXVN6.cjs');
9
+ var _chunkQRYJYZTWcjs = require('../../chunk-QRYJYZTW.cjs');
10
10
 
11
11
 
12
- var _chunkOGXZCZSAcjs = require('../../chunk-OGXZCZSA.cjs');
13
- require('../../chunk-HPGBHELQ.cjs');
14
- require('../../chunk-43QX3P4G.cjs');
12
+ var _chunkM7FGOI4Vcjs = require('../../chunk-M7FGOI4V.cjs');
13
+ require('../../chunk-CE4CBCKX.cjs');
14
+ require('../../chunk-JBCNOJMX.cjs');
15
15
 
16
16
 
17
- var _chunkZIIIYUZ5cjs = require('../../chunk-ZIIIYUZ5.cjs');
17
+ var _chunkKSZPPVXTcjs = require('../../chunk-KSZPPVXT.cjs');
18
18
 
19
19
 
20
- var _chunkJ2OPY22Mcjs = require('../../chunk-J2OPY22M.cjs');
21
- require('../../chunk-7RIYOJLG.cjs');
20
+ var _chunkOPPGJ4PYcjs = require('../../chunk-OPPGJ4PY.cjs');
21
+ require('../../chunk-TH4BQCOD.cjs');
22
22
 
23
23
 
24
- var _chunkD3PPR2WRcjs = require('../../chunk-D3PPR2WR.cjs');
25
- require('../../chunk-H5TAFA4H.cjs');
24
+ var _chunkYTLLRLMUcjs = require('../../chunk-YTLLRLMU.cjs');
25
+ require('../../chunk-ARCH6RK6.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkLJCBSJFUcjs = require('../../chunk-LJCBSJFU.cjs');
30
- require('../../chunk-KBE7SNFZ.cjs');
31
- require('../../chunk-JKUYXCG2.cjs');
29
+ var _chunk3OFRFRBWcjs = require('../../chunk-3OFRFRBW.cjs');
30
+ require('../../chunk-2MPS2QY5.cjs');
31
+ require('../../chunk-S4BAM7EC.cjs');
32
32
  require('../../chunk-GYONSC3U.cjs');
33
- require('../../chunk-VYRP7JOD.cjs');
33
+ require('../../chunk-HM53VV7K.cjs');
34
34
  require('../../chunk-C5RS3QLV.cjs');
35
35
  require('../../chunk-XL4V2PYG.cjs');
36
36
  require('../../chunk-BZFW3FOF.cjs');
@@ -63,9 +63,9 @@ function RoadmapPage({
63
63
  belowContent,
64
64
  shell
65
65
  }) {
66
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkD3PPR2WRcjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
66
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYTLLRLMUcjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
67
67
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
68
- _chunkJGYVXVN6cjs.RoadmapView,
68
+ _chunkQRYJYZTWcjs.RoadmapView,
69
69
  {
70
70
  endpoint: roadmapEndpoint,
71
71
  initialItems,
@@ -91,9 +91,9 @@ function ProductReleasesListPage({
91
91
  belowContent,
92
92
  shell
93
93
  }) {
94
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkD3PPR2WRcjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
94
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYTLLRLMUcjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
95
95
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
96
- _chunkJGYVXVN6cjs.ProductReleasesView,
96
+ _chunkQRYJYZTWcjs.ProductReleasesView,
97
97
  {
98
98
  endpoint: releasesEndpoint,
99
99
  basePath,
@@ -116,8 +116,8 @@ function DeliveryPage({
116
116
  belowContent,
117
117
  shell
118
118
  }) {
119
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkD3PPR2WRcjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
120
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGYVXVN6cjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
119
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYTLLRLMUcjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
120
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQRYJYZTWcjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
121
121
  belowContent
122
122
  ] });
123
123
  }
@@ -137,9 +137,9 @@ function OnboardingGuidesCatalogPage({
137
137
  belowContent,
138
138
  shell
139
139
  }) {
140
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkD3PPR2WRcjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
140
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYTLLRLMUcjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
141
141
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
142
- _chunkLJCBSJFUcjs.OnboardingGuidesCatalogView,
142
+ _chunk3OFRFRBWcjs.OnboardingGuidesCatalogView,
143
143
  {
144
144
  guidesEndpoint,
145
145
  sectionsEndpoint,
@@ -163,5 +163,5 @@ function OnboardingGuidesCatalogPage({
163
163
 
164
164
 
165
165
 
166
- exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunkOGXZCZSAcjs.DocsHubPage; exports.FaqDocumentPage = _chunkZIIIYUZ5cjs.FaqDocumentPage; exports.HelpCenterList = _chunkJ2OPY22Mcjs.HelpCenterList; exports.LegalDocumentPage = _chunkJGYVXVN6cjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunkLJCBSJFUcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunkJGYVXVN6cjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage;
166
+ exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunkM7FGOI4Vcjs.DocsHubPage; exports.FaqDocumentPage = _chunkKSZPPVXTcjs.FaqDocumentPage; exports.HelpCenterList = _chunkOPPGJ4PYcjs.HelpCenterList; exports.LegalDocumentPage = _chunkQRYJYZTWcjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunk3OFRFRBWcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunkQRYJYZTWcjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage;
167
167
  //# sourceMappingURL=index.cjs.map
@@ -6,31 +6,31 @@ import {
6
6
  ProductReleasesView,
7
7
  ReleaseDetailPage,
8
8
  RoadmapView
9
- } from "../../chunk-7ZIGB34Y.js";
9
+ } from "../../chunk-QCWVGCT3.js";
10
10
  import {
11
11
  DocsHubPage
12
- } from "../../chunk-ANKQQTAI.js";
13
- import "../../chunk-M45XIHZY.js";
14
- import "../../chunk-L4DKYRHG.js";
12
+ } from "../../chunk-MYQAF43S.js";
13
+ import "../../chunk-TPIF252F.js";
14
+ import "../../chunk-C7T363HO.js";
15
15
  import {
16
16
  FaqDocumentPage
17
- } from "../../chunk-7EYNWY2N.js";
17
+ } from "../../chunk-43MPUCDL.js";
18
18
  import {
19
19
  HelpCenterList
20
- } from "../../chunk-FP6HEAQC.js";
21
- import "../../chunk-OPU5BLBT.js";
20
+ } from "../../chunk-MVYTOP3B.js";
21
+ import "../../chunk-CBD3IHPF.js";
22
22
  import {
23
23
  DevSectionPage
24
- } from "../../chunk-QBLLF7VS.js";
25
- import "../../chunk-ICWQQQTR.js";
24
+ } from "../../chunk-HYVYAWUO.js";
25
+ import "../../chunk-LEMU4JMX.js";
26
26
  import {
27
27
  OnboardingGuideDetailView,
28
28
  OnboardingGuidesCatalogView
29
- } from "../../chunk-NMZ33YWL.js";
30
- import "../../chunk-NBANPQ3N.js";
31
- import "../../chunk-7LSK5YFW.js";
29
+ } from "../../chunk-2ALPHSGU.js";
30
+ import "../../chunk-4DJL34HL.js";
31
+ import "../../chunk-E2W2XMX2.js";
32
32
  import "../../chunk-RCBRCZUF.js";
33
- import "../../chunk-YJLQQGLH.js";
33
+ import "../../chunk-INTFGXHO.js";
34
34
  import "../../chunk-7EUIW46X.js";
35
35
  import "../../chunk-LXC6P2EO.js";
36
36
  import "../../chunk-EL5YVPD5.js";