@vantageos/mosaic 0.4.0 → 0.5.0

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 (150) hide show
  1. package/CHANGELOG.md +39 -15
  2. package/README.md +114 -5
  3. package/dist/PipelineBoard-FucyGArR.d.cts +759 -0
  4. package/dist/PipelineBoard-FucyGArR.d.ts +759 -0
  5. package/dist/PipelineBoard.markdown-DIcvrS-2.d.cts +16 -0
  6. package/dist/PipelineBoard.markdown-DIcvrS-2.d.ts +16 -0
  7. package/dist/{StatusBadge.schema-1tOjB4Ir.d.cts → StatusBadge.schema-BEjSH2_4.d.cts} +2 -2
  8. package/dist/{StatusBadge.schema-1tOjB4Ir.d.ts → StatusBadge.schema-BEjSH2_4.d.ts} +2 -2
  9. package/dist/{Tabs.schema-BzcEyeq8.d.cts → Tabs.schema-Dqr6vwV3.d.cts} +2 -2
  10. package/dist/{Tabs.schema-BzcEyeq8.d.ts → Tabs.schema-Dqr6vwV3.d.ts} +2 -2
  11. package/dist/Timeline-Coo_3tA_.d.cts +114 -0
  12. package/dist/Timeline-Coo_3tA_.d.ts +114 -0
  13. package/dist/Timeline.markdown-C6UPDv1H.d.cts +4 -0
  14. package/dist/Timeline.markdown-C6UPDv1H.d.ts +4 -0
  15. package/dist/TransactionPreview-BzWDn8kE.d.cts +391 -0
  16. package/dist/TransactionPreview-BzWDn8kE.d.ts +391 -0
  17. package/dist/TransactionPreview.markdown-Dpb0VYgN.d.cts +7 -0
  18. package/dist/TransactionPreview.markdown-Dpb0VYgN.d.ts +7 -0
  19. package/dist/artifacts.cjs +186 -2
  20. package/dist/artifacts.cjs.map +1 -1
  21. package/dist/artifacts.js +186 -2
  22. package/dist/artifacts.js.map +1 -1
  23. package/dist/confirmation.cjs +724 -2
  24. package/dist/confirmation.cjs.map +1 -1
  25. package/dist/confirmation.d.cts +2 -1
  26. package/dist/confirmation.d.ts +2 -1
  27. package/dist/confirmation.js +722 -4
  28. package/dist/confirmation.js.map +1 -1
  29. package/dist/display.cjs +1551 -203
  30. package/dist/display.cjs.map +1 -1
  31. package/dist/display.d.cts +6 -229
  32. package/dist/display.d.ts +6 -229
  33. package/dist/display.js +1535 -206
  34. package/dist/display.js.map +1 -1
  35. package/dist/forms.cjs +139 -46
  36. package/dist/forms.cjs.map +1 -1
  37. package/dist/forms.d.cts +2 -2
  38. package/dist/forms.d.ts +2 -2
  39. package/dist/forms.js +139 -46
  40. package/dist/forms.js.map +1 -1
  41. package/dist/host.cjs +822 -0
  42. package/dist/host.cjs.map +1 -0
  43. package/dist/host.d.cts +287 -0
  44. package/dist/host.d.ts +287 -0
  45. package/dist/host.js +794 -0
  46. package/dist/host.js.map +1 -0
  47. package/dist/{index-CwXVgtGb.d.cts → index-BadRcCbm.d.cts} +28 -11
  48. package/dist/{index-CwXVgtGb.d.ts → index-BadRcCbm.d.ts} +28 -11
  49. package/dist/index.cjs +2198 -247
  50. package/dist/index.cjs.map +1 -1
  51. package/dist/index.d.cts +42 -8
  52. package/dist/index.d.ts +42 -8
  53. package/dist/index.js +2163 -251
  54. package/dist/index.js.map +1 -1
  55. package/dist/input.d.cts +2 -2
  56. package/dist/input.d.ts +2 -2
  57. package/dist/media.cjs +186 -2
  58. package/dist/media.cjs.map +1 -1
  59. package/dist/media.d.cts +1 -1
  60. package/dist/media.d.ts +1 -1
  61. package/dist/media.js +186 -2
  62. package/dist/media.js.map +1 -1
  63. package/dist/preact/artifacts.js +186 -2
  64. package/dist/preact/artifacts.js.map +1 -1
  65. package/dist/preact/confirmation.d.ts +321 -1
  66. package/dist/preact/confirmation.js +625 -4
  67. package/dist/preact/confirmation.js.map +1 -1
  68. package/dist/preact/display.d.ts +544 -47
  69. package/dist/preact/display.js +1190 -126
  70. package/dist/preact/display.js.map +1 -1
  71. package/dist/preact/forms.d.ts +32 -15
  72. package/dist/preact/forms.js +139 -46
  73. package/dist/preact/forms.js.map +1 -1
  74. package/dist/preact/host.d.ts +307 -0
  75. package/dist/preact/host.js +875 -0
  76. package/dist/preact/host.js.map +1 -0
  77. package/dist/preact/media.d.ts +37 -1
  78. package/dist/preact/media.js +423 -0
  79. package/dist/preact/media.js.map +1 -1
  80. package/dist/preact/progress.d.ts +92 -1
  81. package/dist/preact/progress.js +465 -3
  82. package/dist/preact/progress.js.map +1 -1
  83. package/dist/progress.cjs +521 -2
  84. package/dist/progress.cjs.map +1 -1
  85. package/dist/progress.d.cts +2 -1
  86. package/dist/progress.d.ts +2 -1
  87. package/dist/progress.js +518 -3
  88. package/dist/progress.js.map +1 -1
  89. package/dist/react/artifacts.cjs +186 -2
  90. package/dist/react/artifacts.cjs.map +1 -1
  91. package/dist/react/artifacts.js +186 -2
  92. package/dist/react/artifacts.js.map +1 -1
  93. package/dist/react/confirmation.cjs +626 -2
  94. package/dist/react/confirmation.cjs.map +1 -1
  95. package/dist/react/confirmation.d.cts +3 -3
  96. package/dist/react/confirmation.d.ts +3 -3
  97. package/dist/react/confirmation.js +625 -4
  98. package/dist/react/confirmation.js.map +1 -1
  99. package/dist/react/display.cjs +1076 -123
  100. package/dist/react/display.cjs.map +1 -1
  101. package/dist/react/display.d.cts +13 -27
  102. package/dist/react/display.d.ts +13 -27
  103. package/dist/react/display.js +1064 -126
  104. package/dist/react/display.js.map +1 -1
  105. package/dist/react/forms.cjs +139 -46
  106. package/dist/react/forms.cjs.map +1 -1
  107. package/dist/react/forms.d.cts +1 -1
  108. package/dist/react/forms.d.ts +1 -1
  109. package/dist/react/forms.js +139 -46
  110. package/dist/react/forms.js.map +1 -1
  111. package/dist/react/host.cjs +910 -0
  112. package/dist/react/host.cjs.map +1 -0
  113. package/dist/react/host.d.cts +24 -0
  114. package/dist/react/host.d.ts +24 -0
  115. package/dist/react/host.js +875 -0
  116. package/dist/react/host.js.map +1 -0
  117. package/dist/react/input.d.cts +1 -1
  118. package/dist/react/input.d.ts +1 -1
  119. package/dist/react/media.cjs +426 -0
  120. package/dist/react/media.cjs.map +1 -1
  121. package/dist/react/media.d.cts +19 -1
  122. package/dist/react/media.d.ts +19 -1
  123. package/dist/react/media.js +423 -0
  124. package/dist/react/media.js.map +1 -1
  125. package/dist/react/progress.cjs +467 -2
  126. package/dist/react/progress.cjs.map +1 -1
  127. package/dist/react/progress.d.cts +1 -1
  128. package/dist/react/progress.d.ts +1 -1
  129. package/dist/react/progress.js +465 -3
  130. package/dist/react/progress.js.map +1 -1
  131. package/dist/server/resource.cjs +151 -0
  132. package/dist/server/resource.cjs.map +1 -0
  133. package/dist/server/resource.d.cts +90 -0
  134. package/dist/server/resource.d.ts +90 -0
  135. package/dist/server/resource.js +147 -0
  136. package/dist/server/resource.js.map +1 -0
  137. package/dist/server.cjs +1100 -25
  138. package/dist/server.cjs.map +1 -1
  139. package/dist/server.d.cts +84 -5
  140. package/dist/server.d.ts +84 -5
  141. package/dist/server.js +1087 -27
  142. package/dist/server.js.map +1 -1
  143. package/package.json +250 -233
  144. package/registry.yaml +44 -2
  145. package/dist/Alert.schema-LPJE5gFP.d.cts +0 -71
  146. package/dist/Alert.schema-LPJE5gFP.d.ts +0 -71
  147. package/dist/ProgressBar.schema-CdVYx0Wq.d.cts +0 -22
  148. package/dist/ProgressBar.schema-CdVYx0Wq.d.ts +0 -22
  149. package/dist/{ConfirmDialog-B3CQQGmJ.d.cts → ConfirmDialog-BCtOcmHe.d.cts} +1 -1
  150. package/dist/{ConfirmDialog-B3CQQGmJ.d.ts → ConfirmDialog-BCtOcmHe.d.ts} +1 -1
@@ -139,7 +139,99 @@ var EN = {
139
139
  "Select.search.placeholder": "Search\u2026",
140
140
  "Select.empty": "No options available",
141
141
  "Select.error.required": "Select an option",
142
- "Select.error.invalidProps": "Select: invalid props"
142
+ "Select.error.invalidProps": "Select: invalid props",
143
+ "ModelContext.selection.one": "1 row selected",
144
+ "ModelContext.selection.many": "{n} rows selected",
145
+ "ModelContext.selection.none": "No rows selected",
146
+ "TableView.sort.by": "Sort by",
147
+ "TableView.select.row": "Select row",
148
+ "TableView.select.all": "Select all rows",
149
+ "TableView.loading": "Loading table",
150
+ "StatCard.title": "Statistic",
151
+ "StatCard.trend.up": "Up",
152
+ "StatCard.trend.down": "Down",
153
+ "StatCard.trend.flat": "Flat",
154
+ "StatCard.empty.message": "No statistic to display",
155
+ "StatCard.loading": "Loading statistic",
156
+ "StatCard.error.invalidProps": "StatCard: invalid props",
157
+ "BalanceCard.title": "Balance",
158
+ "BalanceCard.network": "Network",
159
+ "BalanceCard.testnet": "Testnet",
160
+ "BalanceCard.address": "Address",
161
+ "BalanceCard.contract": "Token contract",
162
+ "BalanceCard.value": "Value",
163
+ "BalanceCard.copy": "Copy address",
164
+ "BalanceCard.copied": "Address copied",
165
+ "BalanceCard.empty.message": "No balance to display",
166
+ "BalanceCard.loading": "Loading balance",
167
+ "BalanceCard.error.invalidProps": "BalanceCard: invalid props",
168
+ "Timeline.title": "Timeline",
169
+ "Timeline.status.done": "Done",
170
+ "Timeline.status.current": "In progress",
171
+ "Timeline.status.pending": "Pending",
172
+ "Timeline.status.blocked": "Blocked",
173
+ "Timeline.completed": "{n} completed",
174
+ "Timeline.more": "{n} more",
175
+ "Timeline.empty.message": "No steps to display",
176
+ "Timeline.loading": "Loading timeline",
177
+ "Timeline.error.invalidProps": "Timeline: invalid props",
178
+ "MessageFeed.title": "Messages",
179
+ "MessageFeed.unread": "Unread",
180
+ "MessageFeed.attachment": "Attachment",
181
+ "MessageFeed.showing": "Showing the latest {n} of {total}",
182
+ "MessageFeed.empty.message": "No messages",
183
+ "MessageFeed.loading": "Loading messages",
184
+ "MessageFeed.error.invalidProps": "MessageFeed: invalid props",
185
+ "PipelineBoard.title": "Pipeline",
186
+ "PipelineBoard.deals.one": "1 deal",
187
+ "PipelineBoard.deals.many": "{n} deals",
188
+ "PipelineBoard.total": "Total",
189
+ "PipelineBoard.stage.empty": "No deals",
190
+ "PipelineBoard.filter.label": "Show stages",
191
+ "PipelineBoard.summary.open": "Open full board",
192
+ "PipelineBoard.more": "{n} more stages",
193
+ "PipelineBoard.empty.message": "No pipeline to display",
194
+ "PipelineBoard.loading": "Loading pipeline",
195
+ "PipelineBoard.error.invalidProps": "PipelineBoard: invalid props",
196
+ "PipelineBoard.col.stage": "Stage",
197
+ "PipelineBoard.col.deals": "Deals",
198
+ "TransactionPreview.title": "Transaction preview",
199
+ "TransactionPreview.notice": "NOT SIGNED - preparation only",
200
+ "TransactionPreview.kind.transfer": "Transfer",
201
+ "TransactionPreview.kind.swap": "Swap",
202
+ "TransactionPreview.testnet": "Testnet",
203
+ "TransactionPreview.field.network": "Network",
204
+ "TransactionPreview.field.from": "From",
205
+ "TransactionPreview.field.to": "To",
206
+ "TransactionPreview.field.amount": "Amount",
207
+ "TransactionPreview.field.fee": "Network fee",
208
+ "TransactionPreview.field.sell": "Sell",
209
+ "TransactionPreview.field.buy": "Buy",
210
+ "TransactionPreview.field.minReceived": "Minimum received",
211
+ "TransactionPreview.field.route": "Route",
212
+ "TransactionPreview.field.priceImpact": "Price impact",
213
+ "TransactionPreview.field.expires": "Quote expires",
214
+ "TransactionPreview.priceImpact.high": "High price impact",
215
+ "TransactionPreview.simulation.success": "Simulation succeeded",
216
+ "TransactionPreview.simulation.failed": "Simulation failed",
217
+ "TransactionPreview.simulation.unavailable": "Simulation unavailable",
218
+ "TransactionPreview.warnings": "Warnings",
219
+ "TransactionPreview.handoff": "Open in wallet",
220
+ "TransactionPreview.empty.message": "No transaction to preview",
221
+ "TransactionPreview.loading": "Loading preview",
222
+ "TransactionPreview.error.invalidProps": "TransactionPreview: invalid props",
223
+ "ProgressBar.title": "Progress",
224
+ "ConfirmDialog.title": "Confirmation",
225
+ "ConfirmDialog.options": "Answers",
226
+ "TableView.title": "Data table",
227
+ "TableView.markdown.more": "{n} more rows",
228
+ "MarkdownRenderer.title": "Markdown content",
229
+ "TokenDisplayOnceModal.title": "Token (shown once)",
230
+ "StatusBadge.title": "Status",
231
+ "TokenDisplayOnceModal.notice.once": "The value is shown once, in the app view only.",
232
+ "TokenDisplayOnceModal.field.scope": "Scope",
233
+ "TokenDisplayOnceModal.field.expires": "Expires",
234
+ "TokenDisplayOnceModal.field.fingerprint": "Fingerprint"
143
235
  };
144
236
  var FR = {
145
237
  // ─── Non-forms components ──────────────────────────────────────────────────
@@ -233,7 +325,99 @@ var FR = {
233
325
  "Select.search.placeholder": "Rechercher\u2026",
234
326
  "Select.empty": "Aucune option disponible",
235
327
  "Select.error.required": "S\xE9lectionnez une option",
236
- "Select.error.invalidProps": "Select : propri\xE9t\xE9s invalides"
328
+ "Select.error.invalidProps": "Select : propri\xE9t\xE9s invalides",
329
+ "ModelContext.selection.one": "1 ligne s\xE9lectionn\xE9e",
330
+ "ModelContext.selection.many": "{n} lignes s\xE9lectionn\xE9es",
331
+ "ModelContext.selection.none": "Aucune ligne s\xE9lectionn\xE9e",
332
+ "TableView.sort.by": "Trier par",
333
+ "TableView.select.row": "S\xE9lectionner la ligne",
334
+ "TableView.select.all": "Tout s\xE9lectionner",
335
+ "TableView.loading": "Chargement du tableau",
336
+ "StatCard.title": "Statistique",
337
+ "StatCard.trend.up": "En hausse",
338
+ "StatCard.trend.down": "En baisse",
339
+ "StatCard.trend.flat": "Stable",
340
+ "StatCard.empty.message": "Aucune statistique \xE0 afficher",
341
+ "StatCard.loading": "Chargement de la statistique",
342
+ "StatCard.error.invalidProps": "StatCard : propri\xE9t\xE9s invalides",
343
+ "BalanceCard.title": "Solde",
344
+ "BalanceCard.network": "R\xE9seau",
345
+ "BalanceCard.testnet": "R\xE9seau de test",
346
+ "BalanceCard.address": "Adresse",
347
+ "BalanceCard.contract": "Contrat du jeton",
348
+ "BalanceCard.value": "Valeur",
349
+ "BalanceCard.copy": "Copier l'adresse",
350
+ "BalanceCard.copied": "Adresse copi\xE9e",
351
+ "BalanceCard.empty.message": "Aucun solde \xE0 afficher",
352
+ "BalanceCard.loading": "Chargement du solde",
353
+ "BalanceCard.error.invalidProps": "BalanceCard : propri\xE9t\xE9s invalides",
354
+ "Timeline.title": "Chronologie",
355
+ "Timeline.status.done": "Termin\xE9",
356
+ "Timeline.status.current": "En cours",
357
+ "Timeline.status.pending": "\xC0 venir",
358
+ "Timeline.status.blocked": "Bloqu\xE9",
359
+ "Timeline.completed": "{n} termin\xE9(s)",
360
+ "Timeline.more": "{n} de plus",
361
+ "Timeline.empty.message": "Aucune \xE9tape \xE0 afficher",
362
+ "Timeline.loading": "Chargement de la chronologie",
363
+ "Timeline.error.invalidProps": "Timeline : propri\xE9t\xE9s invalides",
364
+ "MessageFeed.title": "Messages",
365
+ "MessageFeed.unread": "Non lu",
366
+ "MessageFeed.attachment": "Pi\xE8ce jointe",
367
+ "MessageFeed.showing": "Affichage des {n} derniers sur {total}",
368
+ "MessageFeed.empty.message": "Aucun message",
369
+ "MessageFeed.loading": "Chargement des messages",
370
+ "MessageFeed.error.invalidProps": "MessageFeed : propri\xE9t\xE9s invalides",
371
+ "PipelineBoard.title": "Pipeline",
372
+ "PipelineBoard.deals.one": "1 affaire",
373
+ "PipelineBoard.deals.many": "{n} affaires",
374
+ "PipelineBoard.total": "Total",
375
+ "PipelineBoard.stage.empty": "Aucune affaire",
376
+ "PipelineBoard.filter.label": "Afficher les \xE9tapes",
377
+ "PipelineBoard.summary.open": "Ouvrir le tableau complet",
378
+ "PipelineBoard.more": "{n} \xE9tapes de plus",
379
+ "PipelineBoard.empty.message": "Aucun pipeline \xE0 afficher",
380
+ "PipelineBoard.loading": "Chargement du pipeline",
381
+ "PipelineBoard.error.invalidProps": "PipelineBoard : propri\xE9t\xE9s invalides",
382
+ "PipelineBoard.col.stage": "\xC9tape",
383
+ "PipelineBoard.col.deals": "Affaires",
384
+ "TransactionPreview.title": "Aper\xE7u de transaction",
385
+ "TransactionPreview.notice": "NON SIGN\xC9 - pr\xE9paration uniquement",
386
+ "TransactionPreview.kind.transfer": "Transfert",
387
+ "TransactionPreview.kind.swap": "\xC9change",
388
+ "TransactionPreview.testnet": "R\xE9seau de test",
389
+ "TransactionPreview.field.network": "R\xE9seau",
390
+ "TransactionPreview.field.from": "De",
391
+ "TransactionPreview.field.to": "\xC0",
392
+ "TransactionPreview.field.amount": "Montant",
393
+ "TransactionPreview.field.fee": "Frais de r\xE9seau",
394
+ "TransactionPreview.field.sell": "Vendre",
395
+ "TransactionPreview.field.buy": "Acheter",
396
+ "TransactionPreview.field.minReceived": "Minimum re\xE7u",
397
+ "TransactionPreview.field.route": "Itin\xE9raire",
398
+ "TransactionPreview.field.priceImpact": "Impact sur le prix",
399
+ "TransactionPreview.field.expires": "Expiration du devis",
400
+ "TransactionPreview.priceImpact.high": "Impact sur le prix \xE9lev\xE9",
401
+ "TransactionPreview.simulation.success": "Simulation r\xE9ussie",
402
+ "TransactionPreview.simulation.failed": "Simulation \xE9chou\xE9e",
403
+ "TransactionPreview.simulation.unavailable": "Simulation indisponible",
404
+ "TransactionPreview.warnings": "Avertissements",
405
+ "TransactionPreview.handoff": "Ouvrir dans le portefeuille",
406
+ "TransactionPreview.empty.message": "Aucune transaction \xE0 pr\xE9visualiser",
407
+ "TransactionPreview.loading": "Chargement de l'aper\xE7u",
408
+ "TransactionPreview.error.invalidProps": "TransactionPreview : propri\xE9t\xE9s invalides",
409
+ "ProgressBar.title": "Progression",
410
+ "ConfirmDialog.title": "Confirmation",
411
+ "ConfirmDialog.options": "R\xE9ponses",
412
+ "TableView.title": "Tableau de donn\xE9es",
413
+ "TableView.markdown.more": "{n} lignes de plus",
414
+ "MarkdownRenderer.title": "Contenu Markdown",
415
+ "TokenDisplayOnceModal.title": "Jeton (affich\xE9 une fois)",
416
+ "StatusBadge.title": "Statut",
417
+ "TokenDisplayOnceModal.notice.once": "La valeur n'est affich\xE9e qu'une fois, dans la vue de l'application uniquement.",
418
+ "TokenDisplayOnceModal.field.scope": "Port\xE9e",
419
+ "TokenDisplayOnceModal.field.expires": "Expire le",
420
+ "TokenDisplayOnceModal.field.fingerprint": "Empreinte"
237
421
  };
238
422
  var TABLE = {
239
423
  en: EN,
@@ -396,6 +580,11 @@ var TokenDisplayOnceModalPropsSchema = zod.z.object({
396
580
  warningMessage: zod.z.string().min(1),
397
581
  copyLabel: zod.z.string().min(1),
398
582
  closeLabel: zod.z.string().min(1),
583
+ /** Non-secret metadata, shown in the view AND carried by the A-1 fallback. */
584
+ scope: zod.z.string().optional(),
585
+ expiresAt: zod.z.string().optional(),
586
+ /** Supplied by the issuer; NEVER derived from the secret. */
587
+ fingerprint: zod.z.string().optional(),
399
588
  locale: zod.z.enum(["en", "fr"]).default("en")
400
589
  });
401
590
  function validateTokenDisplayOnceModalProps(raw) {
@@ -407,6 +596,9 @@ function TokenDisplayOnceModalInner({
407
596
  warningMessage,
408
597
  copyLabel,
409
598
  closeLabel,
599
+ scope,
600
+ expiresAt,
601
+ fingerprint,
410
602
  locale,
411
603
  onClose
412
604
  }) {
@@ -469,6 +661,29 @@ function TokenDisplayOnceModalInner({
469
661
  children: warningMessage
470
662
  }
471
663
  ),
664
+ scope || expiresAt || fingerprint ? /* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "m-0 text-sm text-gray-700", children: [
665
+ scope ? /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
666
+ /* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "inline", children: [
667
+ t("TokenDisplayOnceModal.field.scope", locale),
668
+ ": "
669
+ ] }),
670
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "m-0 inline", children: scope })
671
+ ] }) : null,
672
+ expiresAt ? /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
673
+ /* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "inline", children: [
674
+ t("TokenDisplayOnceModal.field.expires", locale),
675
+ ": "
676
+ ] }),
677
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "m-0 inline", children: expiresAt })
678
+ ] }) : null,
679
+ fingerprint ? /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
680
+ /* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "inline", children: [
681
+ t("TokenDisplayOnceModal.field.fingerprint", locale),
682
+ ": "
683
+ ] }),
684
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "m-0 inline font-mono", children: fingerprint })
685
+ ] }) : null
686
+ ] }) : null,
472
687
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-2 bg-gray-50 border border-gray-200 rounded-md px-3 py-2", children: /* @__PURE__ */ jsxRuntime.jsx("code", { className: "flex-1 text-sm font-mono text-gray-800 break-all select-all", children: secureToken }) }),
473
688
  /* @__PURE__ */ jsxRuntime.jsx("output", { "aria-live": "polite", "aria-atomic": "true", className: "min-h-[1.25rem] block", children: copied && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-green-700 font-medium", children: t("TokenDisplayOnceModal.copied", locale) }) }),
474
689
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-3 mt-2", children: [
@@ -506,6 +721,412 @@ function TokenDisplayOnceModal(raw) {
506
721
  return null;
507
722
  }
508
723
  }
724
+ var BadgePropsSchema = zod.z.object({
725
+ label: zod.z.string(),
726
+ variant: zod.z.enum(["default", "primary", "success", "warning", "danger", "info", "neutral"]).default("default"),
727
+ dot: zod.z.boolean().optional(),
728
+ count: zod.z.number().int().nonnegative().optional(),
729
+ locale: zod.z.enum(["en", "fr"]).default("en")
730
+ });
731
+ function validateBadgeProps(raw) {
732
+ return BadgePropsSchema.parse(raw);
733
+ }
734
+ var variantClasses = {
735
+ default: "bg-slate-100 text-slate-700 ring-1 ring-slate-200",
736
+ primary: "bg-indigo-100 text-indigo-800 ring-1 ring-indigo-300",
737
+ success: "bg-green-100 text-green-800 ring-1 ring-green-300",
738
+ warning: "bg-amber-100 text-amber-800 ring-1 ring-amber-300",
739
+ danger: "bg-red-100 text-red-800 ring-1 ring-red-300",
740
+ info: "bg-blue-100 text-blue-800 ring-1 ring-blue-300",
741
+ neutral: "bg-slate-100 text-slate-800 ring-1 ring-slate-300"
742
+ };
743
+ var dotClasses = {
744
+ default: "bg-slate-400",
745
+ primary: "bg-indigo-500",
746
+ success: "bg-green-500",
747
+ warning: "bg-amber-500",
748
+ danger: "bg-red-500",
749
+ info: "bg-blue-500",
750
+ neutral: "bg-slate-400"
751
+ };
752
+ function BadgeInner({ label, variant, dot, count, locale }) {
753
+ const ariaLabel = t("Badge.aria.label", locale);
754
+ const displayCount = count !== void 0 ? ` (${count})` : "";
755
+ return /* @__PURE__ */ jsxRuntime.jsxs(
756
+ "span",
757
+ {
758
+ "aria-label": `${ariaLabel}: ${label}${displayCount}`,
759
+ lang: locale,
760
+ className: `inline-flex items-center gap-1 rounded-full px-2.5 py-0.5 text-xs font-medium ${variantClasses[variant]}`,
761
+ children: [
762
+ dot && /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", className: `h-1.5 w-1.5 rounded-full ${dotClasses[variant]}` }),
763
+ label,
764
+ count !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", className: "font-semibold tabular-nums", children: count })
765
+ ]
766
+ }
767
+ );
768
+ }
769
+ function Badge(raw) {
770
+ try {
771
+ const props = validateBadgeProps(raw);
772
+ return /* @__PURE__ */ jsxRuntime.jsx(BadgeInner, { ...props });
773
+ } catch {
774
+ const locale = raw.locale === "fr" ? "fr" : "en";
775
+ return /* @__PURE__ */ jsxRuntime.jsx("span", { role: "alert", children: t("Badge.error.invalidProps", locale) });
776
+ }
777
+ }
778
+
779
+ // src/components/display/EmptyState.logic.ts
780
+ var ACTION_VARIANT_CLASSES = {
781
+ primary: "inline-flex items-center justify-center rounded-md bg-slate-900 px-4 py-2 text-sm font-medium text-white shadow-sm transition-colors hover:bg-slate-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-slate-900 disabled:pointer-events-none disabled:opacity-50",
782
+ secondary: "inline-flex items-center justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-sm font-medium text-slate-700 shadow-sm transition-colors hover:bg-slate-50 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-slate-400 disabled:pointer-events-none disabled:opacity-50"
783
+ };
784
+ var EmptyStatePropsSchema = zod.z.object({
785
+ title: zod.z.string().min(1),
786
+ description: zod.z.string().optional(),
787
+ action: zod.z.object({
788
+ label: zod.z.string().min(1),
789
+ variant: zod.z.enum(["primary", "secondary"]).default("primary")
790
+ }).optional(),
791
+ locale: zod.z.enum(["en", "fr"]).default("en")
792
+ });
793
+ function validateEmptyStateProps(raw) {
794
+ return EmptyStatePropsSchema.parse(raw);
795
+ }
796
+ function EmptyStateInner({
797
+ icon,
798
+ title,
799
+ description,
800
+ action,
801
+ locale: _locale
802
+ }) {
803
+ const variant = action?.variant ?? "primary";
804
+ return /* @__PURE__ */ jsxRuntime.jsxs(
805
+ "section",
806
+ {
807
+ "aria-label": title,
808
+ className: "flex flex-col items-center justify-center gap-4 px-6 py-12 text-center",
809
+ children: [
810
+ icon && /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", className: "text-slate-400", children: icon }),
811
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-base font-semibold text-slate-900", children: title }),
812
+ description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-sm text-sm leading-relaxed text-slate-500", children: description }),
813
+ action && /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: action.onClick, className: ACTION_VARIANT_CLASSES[variant], children: action.label })
814
+ ]
815
+ }
816
+ );
817
+ }
818
+ function EmptyState(raw) {
819
+ try {
820
+ const parsed = validateEmptyStateProps(raw);
821
+ return /* @__PURE__ */ jsxRuntime.jsx(
822
+ EmptyStateInner,
823
+ {
824
+ ...parsed,
825
+ icon: raw.icon,
826
+ action: parsed.action && raw.action?.onClick ? { ...parsed.action, onClick: raw.action.onClick } : void 0
827
+ }
828
+ );
829
+ } catch (err) {
830
+ console.error("[EmptyState] Invalid props \u2014 component will not render.", err);
831
+ const locale = raw.locale === "fr" ? "fr" : "en";
832
+ return /* @__PURE__ */ jsxRuntime.jsx("span", { role: "alert", children: t("EmptyState.error.invalidProps", locale) });
833
+ }
834
+ }
835
+
836
+ // src/components/display/Skeleton.logic.ts
837
+ function getAnimationClass(animation) {
838
+ switch (animation) {
839
+ case "pulse":
840
+ return "animate-pulse";
841
+ case "wave":
842
+ return "skeleton-wave";
843
+ case "none":
844
+ return "";
845
+ }
846
+ }
847
+ function getVariantClass(variant) {
848
+ switch (variant) {
849
+ case "rect":
850
+ return "rounded-md";
851
+ case "circle":
852
+ return "rounded-full";
853
+ case "text":
854
+ return "rounded";
855
+ }
856
+ }
857
+ var SKELETON_BG_CLASS = "bg-gray-200 dark:bg-gray-700";
858
+ function textLineKey(index) {
859
+ return `skeleton-line-${index}`;
860
+ }
861
+ function lastLineWidth(index, total, baseWidth) {
862
+ if (total > 1 && index === total - 1) {
863
+ return "75%";
864
+ }
865
+ return baseWidth;
866
+ }
867
+ var SkeletonPropsSchema = zod.z.object({
868
+ variant: zod.z.enum(["rect", "circle", "text"]).default("rect"),
869
+ width: zod.z.union([zod.z.string().min(1), zod.z.number().positive()]).optional(),
870
+ height: zod.z.union([zod.z.string().min(1), zod.z.number().positive()]).optional(),
871
+ count: zod.z.number().int().min(1).max(20).default(1),
872
+ animation: zod.z.enum(["pulse", "wave", "none"]).default("pulse"),
873
+ locale: zod.z.enum(["en", "fr"]).default("en")
874
+ });
875
+ function validateSkeletonProps(raw) {
876
+ return SkeletonPropsSchema.parse(raw);
877
+ }
878
+ function resolveSkeletonDimensions(variant, width, height) {
879
+ const toCss = (v, fallback) => {
880
+ if (v === void 0) return fallback;
881
+ if (typeof v === "number") return `${v}px`;
882
+ return v;
883
+ };
884
+ if (variant === "circle") {
885
+ const size = width !== void 0 ? toCss(width, "40px") : height !== void 0 ? toCss(height, "40px") : "40px";
886
+ return { widthCss: size, heightCss: size };
887
+ }
888
+ if (variant === "text") {
889
+ return {
890
+ widthCss: toCss(width, "100%"),
891
+ heightCss: toCss(height, "16px")
892
+ };
893
+ }
894
+ return {
895
+ widthCss: toCss(width, "100%"),
896
+ heightCss: toCss(height, "100px")
897
+ };
898
+ }
899
+ function SkeletonInner({ variant, width, height, count, animation, locale }) {
900
+ const { widthCss, heightCss } = resolveSkeletonDimensions(variant, width, height);
901
+ const animClass = getAnimationClass(animation);
902
+ const variantClass = getVariantClass(variant);
903
+ const ariaLabel = t("Skeleton.aria.label", locale);
904
+ const baseClass = `${SKELETON_BG_CLASS} ${variantClass} ${animClass}`.trim();
905
+ if (variant === "text") {
906
+ return (
907
+ // biome-ignore lint/a11y/useSemanticElements: role="status" is the correct ARIA pattern for loading indicators; <output> conveys form output semantics which is incorrect here
908
+ /* @__PURE__ */ jsxRuntime.jsx("div", { role: "status", "aria-label": ariaLabel, "aria-busy": "true", className: "flex flex-col gap-2", children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(
909
+ "span",
910
+ {
911
+ className: `block ${baseClass}`,
912
+ style: {
913
+ width: lastLineWidth(i, count, widthCss),
914
+ height: heightCss
915
+ },
916
+ "aria-hidden": "true"
917
+ },
918
+ textLineKey(i)
919
+ )) })
920
+ );
921
+ }
922
+ return /* @__PURE__ */ jsxRuntime.jsx(
923
+ "div",
924
+ {
925
+ role: "status",
926
+ "aria-label": ariaLabel,
927
+ "aria-busy": "true",
928
+ className: `block ${baseClass}`,
929
+ style: { width: widthCss, height: heightCss }
930
+ }
931
+ );
932
+ }
933
+ function Skeleton(raw) {
934
+ try {
935
+ const props = validateSkeletonProps(raw);
936
+ return /* @__PURE__ */ jsxRuntime.jsx(SkeletonInner, { ...props });
937
+ } catch {
938
+ const locale = raw.locale === "fr" ? "fr" : "en";
939
+ return /* @__PURE__ */ jsxRuntime.jsx("span", { role: "alert", className: "text-red-600 text-sm", children: t("Skeleton.error.invalidProps", locale) });
940
+ }
941
+ }
942
+
943
+ // src/components/display/TableView.logic.ts
944
+ var DECIMAL = /^(-)?(\d+)(?:\.(\d+))?$/;
945
+ function parseDecimal(s) {
946
+ const m = DECIMAL.exec(s.trim());
947
+ if (!m) return void 0;
948
+ const int = (m[2] ?? "0").replace(/^0+(?=\d)/, "");
949
+ const frac = (m[3] ?? "").replace(/0+$/, "");
950
+ const zero = int === "0" && frac === "";
951
+ return { neg: m[1] === "-" && !zero, int, frac };
952
+ }
953
+ function compareDecimalStrings(a, b) {
954
+ const x = parseDecimal(a);
955
+ const y = parseDecimal(b);
956
+ if (!x || !y) return 0;
957
+ if (x.neg !== y.neg) return x.neg ? -1 : 1;
958
+ const sign = x.neg ? -1 : 1;
959
+ if (x.int.length !== y.int.length) return sign * (x.int.length < y.int.length ? -1 : 1);
960
+ if (x.int !== y.int) return sign * (x.int < y.int ? -1 : 1);
961
+ const len = Math.max(x.frac.length, y.frac.length);
962
+ const fx = x.frac.padEnd(len, "0");
963
+ const fy = y.frac.padEnd(len, "0");
964
+ if (fx === fy) return 0;
965
+ return sign * (fx < fy ? -1 : 1);
966
+ }
967
+
968
+ // src/components/shared/datetime.ts
969
+ function formatTimestamp(iso, locale, timeZone) {
970
+ const d = new Date(iso);
971
+ if (Number.isNaN(d.getTime())) return iso;
972
+ try {
973
+ return new Intl.DateTimeFormat(locale, {
974
+ dateStyle: "medium",
975
+ timeStyle: "short",
976
+ ...timeZone ? { timeZone } : {}
977
+ }).format(d);
978
+ } catch {
979
+ return iso;
980
+ }
981
+ }
982
+
983
+ // src/components/shared/url.ts
984
+ function normalizeHttpUrl(value) {
985
+ if (typeof value !== "string") return void 0;
986
+ try {
987
+ const u = new URL(value);
988
+ return u.protocol === "https:" || u.protocol === "http:" ? u.href : void 0;
989
+ } catch {
990
+ return void 0;
991
+ }
992
+ }
993
+ var AmountSchema = zod.z.object({
994
+ /** Decimal STRING (never a float). */
995
+ value: zod.z.string().min(1),
996
+ symbol: zod.z.string().min(1)
997
+ });
998
+ var QuoteSchema = zod.z.object({
999
+ sell: AmountSchema,
1000
+ buy: AmountSchema,
1001
+ minReceived: AmountSchema.optional(),
1002
+ route: zod.z.array(zod.z.string().min(1)).optional(),
1003
+ /** Percent as a decimal string, e.g. "0.42". */
1004
+ priceImpact: zod.z.string().optional()
1005
+ });
1006
+ var TransactionPreviewPropsSchema = zod.z.object({
1007
+ kind: zod.z.enum(["transfer", "swap"]).default("transfer"),
1008
+ network: zod.z.string().optional(),
1009
+ testnet: zod.z.boolean().default(false),
1010
+ from: zod.z.string().optional(),
1011
+ to: zod.z.string().optional(),
1012
+ amount: AmountSchema.optional(),
1013
+ fee: AmountSchema.optional(),
1014
+ quote: QuoteSchema.optional(),
1015
+ simulation: zod.z.object({
1016
+ status: zod.z.enum(["success", "failed", "unavailable"]),
1017
+ message: zod.z.string().optional()
1018
+ }).optional(),
1019
+ warnings: zod.z.array(zod.z.string()).default([]),
1020
+ /** ISO 8601 expiry of the quote. */
1021
+ expiresAt: zod.z.string().optional(),
1022
+ /** Wallet link-out. Only http(s) urls are ever rendered. */
1023
+ handoff: zod.z.object({ url: zod.z.string().min(1) }).optional(),
1024
+ timeZone: zod.z.string().optional(),
1025
+ loading: zod.z.boolean().default(false),
1026
+ locale: zod.z.enum(["en", "fr"]).default("en")
1027
+ });
1028
+ function validateTransactionPreviewProps(raw) {
1029
+ return TransactionPreviewPropsSchema.parse(raw);
1030
+ }
1031
+ function hasPreviewContent(p) {
1032
+ return Boolean(p.from || p.to || p.amount || p.quote || p.fee);
1033
+ }
1034
+ var amountText = (a) => `${a.value} ${a.symbol}`;
1035
+ function Row({ label, children }) {
1036
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0.5 py-1 sm:flex-row sm:gap-3", children: [
1037
+ /* @__PURE__ */ jsxRuntime.jsx("dt", { className: "w-36 shrink-0 text-sm text-slate-500", children: label }),
1038
+ /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "m-0 min-w-0 break-all text-sm text-slate-900", children })
1039
+ ] });
1040
+ }
1041
+ function TransactionPreview(raw = {}) {
1042
+ const parsed = TransactionPreviewPropsSchema.safeParse(raw);
1043
+ const locale = raw?.locale === "fr" ? "fr" : "en";
1044
+ if (!parsed.success) {
1045
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { role: "alert", children: t("TransactionPreview.error.invalidProps", locale) });
1046
+ }
1047
+ const p = parsed.data;
1048
+ if (p.loading) {
1049
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-busy": "true", "aria-label": t("TransactionPreview.loading", p.locale), children: /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { variant: "text", count: 6, locale: p.locale }) });
1050
+ }
1051
+ if (!hasPreviewContent(p)) {
1052
+ return /* @__PURE__ */ jsxRuntime.jsx(EmptyState, { title: t("TransactionPreview.empty.message", p.locale), locale: p.locale });
1053
+ }
1054
+ const highImpact = p.quote?.priceImpact !== void 0 && compareDecimalStrings(p.quote.priceImpact, "1") >= 0;
1055
+ const handoff = normalizeHttpUrl(p.handoff?.url);
1056
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1057
+ "section",
1058
+ {
1059
+ "aria-label": t("TransactionPreview.title", p.locale),
1060
+ lang: p.locale,
1061
+ className: "flex flex-col gap-3 rounded-lg border border-slate-200 bg-white p-4",
1062
+ children: [
1063
+ /* @__PURE__ */ jsxRuntime.jsxs("header", { className: "flex flex-wrap items-center gap-2", children: [
1064
+ /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-slate-900", children: t(`TransactionPreview.kind.${p.kind}`, p.locale) }),
1065
+ p.testnet ? /* @__PURE__ */ jsxRuntime.jsx(
1066
+ Badge,
1067
+ {
1068
+ label: t("TransactionPreview.testnet", p.locale),
1069
+ variant: "warning",
1070
+ locale: p.locale
1071
+ }
1072
+ ) : null
1073
+ ] }),
1074
+ /* @__PURE__ */ jsxRuntime.jsx(
1075
+ "p",
1076
+ {
1077
+ role: "note",
1078
+ className: "m-0 rounded bg-amber-50 px-3 py-2 text-sm font-semibold text-amber-900",
1079
+ children: t("TransactionPreview.notice", p.locale)
1080
+ }
1081
+ ),
1082
+ /* @__PURE__ */ jsxRuntime.jsxs("dl", { className: "m-0", children: [
1083
+ p.network ? /* @__PURE__ */ jsxRuntime.jsx(Row, { label: t("TransactionPreview.field.network", p.locale), children: p.network }) : null,
1084
+ p.from ? /* @__PURE__ */ jsxRuntime.jsx(Row, { label: t("TransactionPreview.field.from", p.locale), children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono", children: p.from }) }) : null,
1085
+ p.to ? /* @__PURE__ */ jsxRuntime.jsx(Row, { label: t("TransactionPreview.field.to", p.locale), children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono", children: p.to }) }) : null,
1086
+ p.amount ? /* @__PURE__ */ jsxRuntime.jsx(Row, { label: t("TransactionPreview.field.amount", p.locale), children: amountText(p.amount) }) : null,
1087
+ p.quote ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1088
+ /* @__PURE__ */ jsxRuntime.jsx(Row, { label: t("TransactionPreview.field.sell", p.locale), children: amountText(p.quote.sell) }),
1089
+ /* @__PURE__ */ jsxRuntime.jsx(Row, { label: t("TransactionPreview.field.buy", p.locale), children: amountText(p.quote.buy) }),
1090
+ p.quote.minReceived ? /* @__PURE__ */ jsxRuntime.jsx(Row, { label: t("TransactionPreview.field.minReceived", p.locale), children: amountText(p.quote.minReceived) }) : null,
1091
+ p.quote.route ? /* @__PURE__ */ jsxRuntime.jsx(Row, { label: t("TransactionPreview.field.route", p.locale), children: p.quote.route.join(" > ") }) : null,
1092
+ p.quote.priceImpact !== void 0 ? /* @__PURE__ */ jsxRuntime.jsxs(Row, { label: t("TransactionPreview.field.priceImpact", p.locale), children: [
1093
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: `${p.quote.priceImpact}%` }),
1094
+ highImpact ? /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "ml-2 text-red-700", children: t("TransactionPreview.priceImpact.high", p.locale) }) : null
1095
+ ] }) : null
1096
+ ] }) : null,
1097
+ p.fee ? /* @__PURE__ */ jsxRuntime.jsx(Row, { label: t("TransactionPreview.field.fee", p.locale), children: amountText(p.fee) }) : null,
1098
+ p.expiresAt ? /* @__PURE__ */ jsxRuntime.jsx(Row, { label: t("TransactionPreview.field.expires", p.locale), children: formatTimestamp(p.expiresAt, p.locale, p.timeZone) }) : null
1099
+ ] }),
1100
+ p.simulation ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-sm", children: [
1101
+ /* @__PURE__ */ jsxRuntime.jsx("strong", { className: p.simulation.status === "failed" ? "text-red-700" : "text-slate-800", children: t(`TransactionPreview.simulation.${p.simulation.status}`, p.locale) }),
1102
+ p.simulation.message ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block text-slate-600", children: p.simulation.message }) : null
1103
+ ] }) : null,
1104
+ p.warnings.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-sm", children: [
1105
+ /* @__PURE__ */ jsxRuntime.jsx("strong", { className: "text-amber-800", children: t("TransactionPreview.warnings", p.locale) }),
1106
+ /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "m-0 pl-5", children: p.warnings.map((w) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: w }, w)) })
1107
+ ] }) : null,
1108
+ handoff ? raw.onHandoff ? /* @__PURE__ */ jsxRuntime.jsx(
1109
+ "button",
1110
+ {
1111
+ type: "button",
1112
+ onClick: () => raw.onHandoff?.(handoff),
1113
+ className: "self-start rounded border border-slate-300 px-3 py-1 text-sm hover:bg-slate-50",
1114
+ children: t("TransactionPreview.handoff", p.locale)
1115
+ }
1116
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
1117
+ "a",
1118
+ {
1119
+ href: handoff,
1120
+ rel: "noopener noreferrer",
1121
+ target: "_blank",
1122
+ className: "self-start text-sm text-blue-700 underline",
1123
+ children: t("TransactionPreview.handoff", p.locale)
1124
+ }
1125
+ ) : null
1126
+ ]
1127
+ }
1128
+ );
1129
+ }
509
1130
 
510
1131
  exports.Alert = Alert;
511
1132
  exports.AlertPropsSchema = AlertPropsSchema;
@@ -514,8 +1135,11 @@ exports.ConfirmDialogPropsSchema = ConfirmDialogPropsSchema;
514
1135
  exports.ConfirmModal = ConfirmDialog;
515
1136
  exports.TokenDisplayOnceModal = TokenDisplayOnceModal;
516
1137
  exports.TokenDisplayOnceModalPropsSchema = TokenDisplayOnceModalPropsSchema;
1138
+ exports.TransactionPreview = TransactionPreview;
1139
+ exports.TransactionPreviewPropsSchema = TransactionPreviewPropsSchema;
517
1140
  exports.validateAlertProps = validateAlertProps;
518
1141
  exports.validateConfirmDialogProps = validateConfirmDialogProps;
519
1142
  exports.validateTokenDisplayOnceModalProps = validateTokenDisplayOnceModalProps;
1143
+ exports.validateTransactionPreviewProps = validateTransactionPreviewProps;
520
1144
  //# sourceMappingURL=confirmation.cjs.map
521
1145
  //# sourceMappingURL=confirmation.cjs.map