@veridid/workflow-ui 0.0.0-stage → 0.1.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 (445) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +217 -2
  3. package/build/module/WorkflowFontScaleContext.js +67 -0
  4. package/build/module/WorkflowFontScaleContext.js.map +1 -0
  5. package/build/module/adapter/WalletAdapter.js +152 -0
  6. package/build/module/adapter/WalletAdapter.js.map +1 -0
  7. package/build/module/components/FallbackVideoPlayer.js +8 -0
  8. package/build/module/components/FallbackVideoPlayer.js.map +1 -0
  9. package/build/module/components/FallbackVideoPlayer.native.js +10 -0
  10. package/build/module/components/FallbackVideoPlayer.native.js.map +1 -0
  11. package/build/module/components/FallbackVideoPlayer.web.js +35 -0
  12. package/build/module/components/FallbackVideoPlayer.web.js.map +1 -0
  13. package/build/module/components/WorkflowButtonLabel.js +32 -0
  14. package/build/module/components/WorkflowButtonLabel.js.map +1 -0
  15. package/build/module/components/WorkflowCalendarIcon.js +73 -0
  16. package/build/module/components/WorkflowCalendarIcon.js.map +1 -0
  17. package/build/module/components/WorkflowText.js +92 -0
  18. package/build/module/components/WorkflowText.js.map +1 -0
  19. package/build/module/content/BadgeContent.js +73 -0
  20. package/build/module/content/BadgeContent.js.map +1 -0
  21. package/build/module/content/BarChartContent.js +97 -0
  22. package/build/module/content/BarChartContent.js.map +1 -0
  23. package/build/module/content/BarcodeContent.js +78 -0
  24. package/build/module/content/BarcodeContent.js.map +1 -0
  25. package/build/module/content/BasicTableContent.js +145 -0
  26. package/build/module/content/BasicTableContent.js.map +1 -0
  27. package/build/module/content/ButtonContent.js +130 -0
  28. package/build/module/content/ButtonContent.js.map +1 -0
  29. package/build/module/content/CalendarContent.js +173 -0
  30. package/build/module/content/CalendarContent.js.map +1 -0
  31. package/build/module/content/CardContent.js +114 -0
  32. package/build/module/content/CardContent.js.map +1 -0
  33. package/build/module/content/CarouselContent.js +173 -0
  34. package/build/module/content/CarouselContent.js.map +1 -0
  35. package/build/module/content/ChipContent.js +214 -0
  36. package/build/module/content/ChipContent.js.map +1 -0
  37. package/build/module/content/ChipRowContent.js +127 -0
  38. package/build/module/content/ChipRowContent.js.map +1 -0
  39. package/build/module/content/CredentialOfferContent.js +312 -0
  40. package/build/module/content/CredentialOfferContent.js.map +1 -0
  41. package/build/module/content/DialContent.js +101 -0
  42. package/build/module/content/DialContent.js.map +1 -0
  43. package/build/module/content/DividerContent.js +26 -0
  44. package/build/module/content/DividerContent.js.map +1 -0
  45. package/build/module/content/DonutChartContent.js +118 -0
  46. package/build/module/content/DonutChartContent.js.map +1 -0
  47. package/build/module/content/FormContent.js +141 -0
  48. package/build/module/content/FormContent.js.map +1 -0
  49. package/build/module/content/FormFieldBridge.js +157 -0
  50. package/build/module/content/FormFieldBridge.js.map +1 -0
  51. package/build/module/content/GaugeContent.js +77 -0
  52. package/build/module/content/GaugeContent.js.map +1 -0
  53. package/build/module/content/GridLayoutContent.js +227 -0
  54. package/build/module/content/GridLayoutContent.js.map +1 -0
  55. package/build/module/content/ImageContent.js +190 -0
  56. package/build/module/content/ImageContent.js.map +1 -0
  57. package/build/module/content/ListContent.js +121 -0
  58. package/build/module/content/ListContent.js.map +1 -0
  59. package/build/module/content/LocationContent.js +148 -0
  60. package/build/module/content/LocationContent.js.map +1 -0
  61. package/build/module/content/MapContent.js +213 -0
  62. package/build/module/content/MapContent.js.map +1 -0
  63. package/build/module/content/MultipleChoiceContent.js +91 -0
  64. package/build/module/content/MultipleChoiceContent.js.map +1 -0
  65. package/build/module/content/OpenBadgePreviewContent.js +141 -0
  66. package/build/module/content/OpenBadgePreviewContent.js.map +1 -0
  67. package/build/module/content/PhotoContent.js +154 -0
  68. package/build/module/content/PhotoContent.js.map +1 -0
  69. package/build/module/content/PieChartContent.js +129 -0
  70. package/build/module/content/PieChartContent.js.map +1 -0
  71. package/build/module/content/ProofPresentationContent.js +154 -0
  72. package/build/module/content/ProofPresentationContent.js.map +1 -0
  73. package/build/module/content/RadioButtonContent.js +136 -0
  74. package/build/module/content/RadioButtonContent.js.map +1 -0
  75. package/build/module/content/RowContent.js +539 -0
  76. package/build/module/content/RowContent.js.map +1 -0
  77. package/build/module/content/SectionContent.js +123 -0
  78. package/build/module/content/SectionContent.js.map +1 -0
  79. package/build/module/content/ShareEntryContent.js +111 -0
  80. package/build/module/content/ShareEntryContent.js.map +1 -0
  81. package/build/module/content/SimulatedHint.js +33 -0
  82. package/build/module/content/SimulatedHint.js.map +1 -0
  83. package/build/module/content/SliderContent.js +46 -0
  84. package/build/module/content/SliderContent.js.map +1 -0
  85. package/build/module/content/SpacerContent.js +21 -0
  86. package/build/module/content/SpacerContent.js.map +1 -0
  87. package/build/module/content/SpinnerContent.js +33 -0
  88. package/build/module/content/SpinnerContent.js.map +1 -0
  89. package/build/module/content/SubmitButtonContent.js +281 -0
  90. package/build/module/content/SubmitButtonContent.js.map +1 -0
  91. package/build/module/content/TextContent.js +127 -0
  92. package/build/module/content/TextContent.js.map +1 -0
  93. package/build/module/content/TileContent.js +237 -0
  94. package/build/module/content/TileContent.js.map +1 -0
  95. package/build/module/content/TimelineContent.js +120 -0
  96. package/build/module/content/TimelineContent.js.map +1 -0
  97. package/build/module/content/TitleContent.js +55 -0
  98. package/build/module/content/TitleContent.js.map +1 -0
  99. package/build/module/content/VideoContent.js +142 -0
  100. package/build/module/content/VideoContent.js.map +1 -0
  101. package/build/module/content/WebLinkContent.js +95 -0
  102. package/build/module/content/WebLinkContent.js.map +1 -0
  103. package/build/module/content/index.js +48 -0
  104. package/build/module/content/index.js.map +1 -0
  105. package/build/module/form-fields/CheckboxField.js +47 -0
  106. package/build/module/form-fields/CheckboxField.js.map +1 -0
  107. package/build/module/form-fields/DateField.js +8 -0
  108. package/build/module/form-fields/DateField.js.map +1 -0
  109. package/build/module/form-fields/DateField.native.js +141 -0
  110. package/build/module/form-fields/DateField.native.js.map +1 -0
  111. package/build/module/form-fields/DateField.web.js +45 -0
  112. package/build/module/form-fields/DateField.web.js.map +1 -0
  113. package/build/module/form-fields/DropdownField.js +172 -0
  114. package/build/module/form-fields/DropdownField.js.map +1 -0
  115. package/build/module/form-fields/MCQField.js +100 -0
  116. package/build/module/form-fields/MCQField.js.map +1 -0
  117. package/build/module/form-fields/RadioField.js +56 -0
  118. package/build/module/form-fields/RadioField.js.map +1 -0
  119. package/build/module/form-fields/SliderField.js +8 -0
  120. package/build/module/form-fields/SliderField.js.map +1 -0
  121. package/build/module/form-fields/SliderField.native.js +77 -0
  122. package/build/module/form-fields/SliderField.native.js.map +1 -0
  123. package/build/module/form-fields/SliderField.web.js +82 -0
  124. package/build/module/form-fields/SliderField.web.js.map +1 -0
  125. package/build/module/form-fields/SubmitButtonField.js +42 -0
  126. package/build/module/form-fields/SubmitButtonField.js.map +1 -0
  127. package/build/module/form-fields/TextField.js +56 -0
  128. package/build/module/form-fields/TextField.js.map +1 -0
  129. package/build/module/form-fields/index.js +15 -0
  130. package/build/module/form-fields/index.js.map +1 -0
  131. package/build/module/i18n/WorkflowI18n.js +94 -0
  132. package/build/module/i18n/WorkflowI18n.js.map +1 -0
  133. package/build/module/icons/VectorIcon.js +23 -0
  134. package/build/module/icons/VectorIcon.js.map +1 -0
  135. package/build/module/icons/VectorIcon.web.js +62 -0
  136. package/build/module/icons/VectorIcon.web.js.map +1 -0
  137. package/build/module/icons/WorkflowIcon.js +36 -0
  138. package/build/module/icons/WorkflowIcon.js.map +1 -0
  139. package/build/module/icons/types.js +4 -0
  140. package/build/module/icons/types.js.map +1 -0
  141. package/build/module/imageUriCache.js +25 -0
  142. package/build/module/imageUriCache.js.map +1 -0
  143. package/build/module/index.js +50 -0
  144. package/build/module/index.js.map +1 -0
  145. package/build/module/modal/WorkflowModal.js +115 -0
  146. package/build/module/modal/WorkflowModal.js.map +1 -0
  147. package/build/module/package.json +1 -0
  148. package/build/module/platform/platformName.js +10 -0
  149. package/build/module/platform/platformName.js.map +1 -0
  150. package/build/module/platform/platformName.web.js +5 -0
  151. package/build/module/platform/platformName.web.js.map +1 -0
  152. package/build/module/protocol/controlSnapshotStore.js +19 -0
  153. package/build/module/protocol/controlSnapshotStore.js.map +1 -0
  154. package/build/module/protocol/useProtocolExchange.js +168 -0
  155. package/build/module/protocol/useProtocolExchange.js.map +1 -0
  156. package/build/module/registries/ContentRegistry.js +53 -0
  157. package/build/module/registries/ContentRegistry.js.map +1 -0
  158. package/build/module/registries/FormFieldRegistry.js +56 -0
  159. package/build/module/registries/FormFieldRegistry.js.map +1 -0
  160. package/build/module/render/NodeBoundary.js +73 -0
  161. package/build/module/render/NodeBoundary.js.map +1 -0
  162. package/build/module/render/RenderTree.js +52 -0
  163. package/build/module/render/RenderTree.js.map +1 -0
  164. package/build/module/render/WorkflowRenderContext.js +34 -0
  165. package/build/module/render/WorkflowRenderContext.js.map +1 -0
  166. package/build/module/render/nodes.js +103 -0
  167. package/build/module/render/nodes.js.map +1 -0
  168. package/build/module/responsive/ResponsiveProvider.js +63 -0
  169. package/build/module/responsive/ResponsiveProvider.js.map +1 -0
  170. package/build/module/responsive/index.js +4 -0
  171. package/build/module/responsive/index.js.map +1 -0
  172. package/build/module/responsive/responsive.js +56 -0
  173. package/build/module/responsive/responsive.js.map +1 -0
  174. package/build/module/style/resolveDisplayHintStyle.js +145 -0
  175. package/build/module/style/resolveDisplayHintStyle.js.map +1 -0
  176. package/build/module/theme/WorkflowTheme.js +200 -0
  177. package/build/module/theme/WorkflowTheme.js.map +1 -0
  178. package/build/module/utils/testable.js +12 -0
  179. package/build/module/utils/testable.js.map +1 -0
  180. package/build/typescript/WorkflowFontScaleContext.d.ts +7 -0
  181. package/build/typescript/WorkflowFontScaleContext.d.ts.map +1 -0
  182. package/build/typescript/adapter/WalletAdapter.d.ts +145 -0
  183. package/build/typescript/adapter/WalletAdapter.d.ts.map +1 -0
  184. package/build/typescript/components/FallbackVideoPlayer.d.ts +6 -0
  185. package/build/typescript/components/FallbackVideoPlayer.d.ts.map +1 -0
  186. package/build/typescript/components/FallbackVideoPlayer.native.d.ts +7 -0
  187. package/build/typescript/components/FallbackVideoPlayer.native.d.ts.map +1 -0
  188. package/build/typescript/components/FallbackVideoPlayer.web.d.ts +9 -0
  189. package/build/typescript/components/FallbackVideoPlayer.web.d.ts.map +1 -0
  190. package/build/typescript/components/WorkflowButtonLabel.d.ts +11 -0
  191. package/build/typescript/components/WorkflowButtonLabel.d.ts.map +1 -0
  192. package/build/typescript/components/WorkflowCalendarIcon.d.ts +11 -0
  193. package/build/typescript/components/WorkflowCalendarIcon.d.ts.map +1 -0
  194. package/build/typescript/components/WorkflowText.d.ts +13 -0
  195. package/build/typescript/components/WorkflowText.d.ts.map +1 -0
  196. package/build/typescript/content/BadgeContent.d.ts +5 -0
  197. package/build/typescript/content/BadgeContent.d.ts.map +1 -0
  198. package/build/typescript/content/BarChartContent.d.ts +5 -0
  199. package/build/typescript/content/BarChartContent.d.ts.map +1 -0
  200. package/build/typescript/content/BarcodeContent.d.ts +11 -0
  201. package/build/typescript/content/BarcodeContent.d.ts.map +1 -0
  202. package/build/typescript/content/BasicTableContent.d.ts +5 -0
  203. package/build/typescript/content/BasicTableContent.d.ts.map +1 -0
  204. package/build/typescript/content/ButtonContent.d.ts +5 -0
  205. package/build/typescript/content/ButtonContent.d.ts.map +1 -0
  206. package/build/typescript/content/CalendarContent.d.ts +19 -0
  207. package/build/typescript/content/CalendarContent.d.ts.map +1 -0
  208. package/build/typescript/content/CardContent.d.ts +5 -0
  209. package/build/typescript/content/CardContent.d.ts.map +1 -0
  210. package/build/typescript/content/CarouselContent.d.ts +5 -0
  211. package/build/typescript/content/CarouselContent.d.ts.map +1 -0
  212. package/build/typescript/content/ChipContent.d.ts +5 -0
  213. package/build/typescript/content/ChipContent.d.ts.map +1 -0
  214. package/build/typescript/content/ChipRowContent.d.ts +8 -0
  215. package/build/typescript/content/ChipRowContent.d.ts.map +1 -0
  216. package/build/typescript/content/CredentialOfferContent.d.ts +98 -0
  217. package/build/typescript/content/CredentialOfferContent.d.ts.map +1 -0
  218. package/build/typescript/content/DialContent.d.ts +5 -0
  219. package/build/typescript/content/DialContent.d.ts.map +1 -0
  220. package/build/typescript/content/DividerContent.d.ts +5 -0
  221. package/build/typescript/content/DividerContent.d.ts.map +1 -0
  222. package/build/typescript/content/DonutChartContent.d.ts +5 -0
  223. package/build/typescript/content/DonutChartContent.d.ts.map +1 -0
  224. package/build/typescript/content/FormContent.d.ts +19 -0
  225. package/build/typescript/content/FormContent.d.ts.map +1 -0
  226. package/build/typescript/content/FormFieldBridge.d.ts +2 -0
  227. package/build/typescript/content/FormFieldBridge.d.ts.map +1 -0
  228. package/build/typescript/content/GaugeContent.d.ts +5 -0
  229. package/build/typescript/content/GaugeContent.d.ts.map +1 -0
  230. package/build/typescript/content/GridLayoutContent.d.ts +5 -0
  231. package/build/typescript/content/GridLayoutContent.d.ts.map +1 -0
  232. package/build/typescript/content/ImageContent.d.ts +5 -0
  233. package/build/typescript/content/ImageContent.d.ts.map +1 -0
  234. package/build/typescript/content/ListContent.d.ts +5 -0
  235. package/build/typescript/content/ListContent.d.ts.map +1 -0
  236. package/build/typescript/content/LocationContent.d.ts +32 -0
  237. package/build/typescript/content/LocationContent.d.ts.map +1 -0
  238. package/build/typescript/content/MapContent.d.ts +11 -0
  239. package/build/typescript/content/MapContent.d.ts.map +1 -0
  240. package/build/typescript/content/MultipleChoiceContent.d.ts +5 -0
  241. package/build/typescript/content/MultipleChoiceContent.d.ts.map +1 -0
  242. package/build/typescript/content/OpenBadgePreviewContent.d.ts +14 -0
  243. package/build/typescript/content/OpenBadgePreviewContent.d.ts.map +1 -0
  244. package/build/typescript/content/PhotoContent.d.ts +57 -0
  245. package/build/typescript/content/PhotoContent.d.ts.map +1 -0
  246. package/build/typescript/content/PieChartContent.d.ts +5 -0
  247. package/build/typescript/content/PieChartContent.d.ts.map +1 -0
  248. package/build/typescript/content/ProofPresentationContent.d.ts +14 -0
  249. package/build/typescript/content/ProofPresentationContent.d.ts.map +1 -0
  250. package/build/typescript/content/RadioButtonContent.d.ts +5 -0
  251. package/build/typescript/content/RadioButtonContent.d.ts.map +1 -0
  252. package/build/typescript/content/RowContent.d.ts +5 -0
  253. package/build/typescript/content/RowContent.d.ts.map +1 -0
  254. package/build/typescript/content/SectionContent.d.ts +5 -0
  255. package/build/typescript/content/SectionContent.d.ts.map +1 -0
  256. package/build/typescript/content/ShareEntryContent.d.ts +15 -0
  257. package/build/typescript/content/ShareEntryContent.d.ts.map +1 -0
  258. package/build/typescript/content/SimulatedHint.d.ts +9 -0
  259. package/build/typescript/content/SimulatedHint.d.ts.map +1 -0
  260. package/build/typescript/content/SliderContent.d.ts +10 -0
  261. package/build/typescript/content/SliderContent.d.ts.map +1 -0
  262. package/build/typescript/content/SpacerContent.d.ts +5 -0
  263. package/build/typescript/content/SpacerContent.d.ts.map +1 -0
  264. package/build/typescript/content/SpinnerContent.d.ts +5 -0
  265. package/build/typescript/content/SpinnerContent.d.ts.map +1 -0
  266. package/build/typescript/content/SubmitButtonContent.d.ts +9 -0
  267. package/build/typescript/content/SubmitButtonContent.d.ts.map +1 -0
  268. package/build/typescript/content/TextContent.d.ts +5 -0
  269. package/build/typescript/content/TextContent.d.ts.map +1 -0
  270. package/build/typescript/content/TileContent.d.ts +5 -0
  271. package/build/typescript/content/TileContent.d.ts.map +1 -0
  272. package/build/typescript/content/TimelineContent.d.ts +5 -0
  273. package/build/typescript/content/TimelineContent.d.ts.map +1 -0
  274. package/build/typescript/content/TitleContent.d.ts +5 -0
  275. package/build/typescript/content/TitleContent.d.ts.map +1 -0
  276. package/build/typescript/content/VideoContent.d.ts +10 -0
  277. package/build/typescript/content/VideoContent.d.ts.map +1 -0
  278. package/build/typescript/content/WebLinkContent.d.ts +5 -0
  279. package/build/typescript/content/WebLinkContent.d.ts.map +1 -0
  280. package/build/typescript/content/index.d.ts +46 -0
  281. package/build/typescript/content/index.d.ts.map +1 -0
  282. package/build/typescript/form-fields/CheckboxField.d.ts +5 -0
  283. package/build/typescript/form-fields/CheckboxField.d.ts.map +1 -0
  284. package/build/typescript/form-fields/DateField.d.ts +6 -0
  285. package/build/typescript/form-fields/DateField.d.ts.map +1 -0
  286. package/build/typescript/form-fields/DateField.native.d.ts +5 -0
  287. package/build/typescript/form-fields/DateField.native.d.ts.map +1 -0
  288. package/build/typescript/form-fields/DateField.web.d.ts +9 -0
  289. package/build/typescript/form-fields/DateField.web.d.ts.map +1 -0
  290. package/build/typescript/form-fields/DropdownField.d.ts +5 -0
  291. package/build/typescript/form-fields/DropdownField.d.ts.map +1 -0
  292. package/build/typescript/form-fields/MCQField.d.ts +5 -0
  293. package/build/typescript/form-fields/MCQField.d.ts.map +1 -0
  294. package/build/typescript/form-fields/RadioField.d.ts +5 -0
  295. package/build/typescript/form-fields/RadioField.d.ts.map +1 -0
  296. package/build/typescript/form-fields/SliderField.d.ts +6 -0
  297. package/build/typescript/form-fields/SliderField.d.ts.map +1 -0
  298. package/build/typescript/form-fields/SliderField.native.d.ts +5 -0
  299. package/build/typescript/form-fields/SliderField.native.d.ts.map +1 -0
  300. package/build/typescript/form-fields/SliderField.web.d.ts +11 -0
  301. package/build/typescript/form-fields/SliderField.web.d.ts.map +1 -0
  302. package/build/typescript/form-fields/SubmitButtonField.d.ts +5 -0
  303. package/build/typescript/form-fields/SubmitButtonField.d.ts.map +1 -0
  304. package/build/typescript/form-fields/TextField.d.ts +5 -0
  305. package/build/typescript/form-fields/TextField.d.ts.map +1 -0
  306. package/build/typescript/form-fields/index.d.ts +13 -0
  307. package/build/typescript/form-fields/index.d.ts.map +1 -0
  308. package/build/typescript/i18n/WorkflowI18n.d.ts +75 -0
  309. package/build/typescript/i18n/WorkflowI18n.d.ts.map +1 -0
  310. package/build/typescript/icons/VectorIcon.d.ts +4 -0
  311. package/build/typescript/icons/VectorIcon.d.ts.map +1 -0
  312. package/build/typescript/icons/VectorIcon.web.d.ts +16 -0
  313. package/build/typescript/icons/VectorIcon.web.d.ts.map +1 -0
  314. package/build/typescript/icons/WorkflowIcon.d.ts +19 -0
  315. package/build/typescript/icons/WorkflowIcon.d.ts.map +1 -0
  316. package/build/typescript/icons/types.d.ts +12 -0
  317. package/build/typescript/icons/types.d.ts.map +1 -0
  318. package/build/typescript/imageUriCache.d.ts +7 -0
  319. package/build/typescript/imageUriCache.d.ts.map +1 -0
  320. package/build/typescript/index.d.ts +48 -0
  321. package/build/typescript/index.d.ts.map +1 -0
  322. package/build/typescript/modal/WorkflowModal.d.ts +33 -0
  323. package/build/typescript/modal/WorkflowModal.d.ts.map +1 -0
  324. package/build/typescript/package.json +1 -0
  325. package/build/typescript/platform/platformName.d.ts +8 -0
  326. package/build/typescript/platform/platformName.d.ts.map +1 -0
  327. package/build/typescript/platform/platformName.web.d.ts +3 -0
  328. package/build/typescript/platform/platformName.web.d.ts.map +1 -0
  329. package/build/typescript/protocol/controlSnapshotStore.d.ts +12 -0
  330. package/build/typescript/protocol/controlSnapshotStore.d.ts.map +1 -0
  331. package/build/typescript/protocol/useProtocolExchange.d.ts +40 -0
  332. package/build/typescript/protocol/useProtocolExchange.d.ts.map +1 -0
  333. package/build/typescript/registries/ContentRegistry.d.ts +57 -0
  334. package/build/typescript/registries/ContentRegistry.d.ts.map +1 -0
  335. package/build/typescript/registries/FormFieldRegistry.d.ts +37 -0
  336. package/build/typescript/registries/FormFieldRegistry.d.ts.map +1 -0
  337. package/build/typescript/render/NodeBoundary.d.ts +25 -0
  338. package/build/typescript/render/NodeBoundary.d.ts.map +1 -0
  339. package/build/typescript/render/RenderTree.d.ts +23 -0
  340. package/build/typescript/render/RenderTree.d.ts.map +1 -0
  341. package/build/typescript/render/WorkflowRenderContext.d.ts +57 -0
  342. package/build/typescript/render/WorkflowRenderContext.d.ts.map +1 -0
  343. package/build/typescript/render/nodes.d.ts +49 -0
  344. package/build/typescript/render/nodes.d.ts.map +1 -0
  345. package/build/typescript/responsive/ResponsiveProvider.d.ts +39 -0
  346. package/build/typescript/responsive/ResponsiveProvider.d.ts.map +1 -0
  347. package/build/typescript/responsive/index.d.ts +3 -0
  348. package/build/typescript/responsive/index.d.ts.map +1 -0
  349. package/build/typescript/responsive/responsive.d.ts +24 -0
  350. package/build/typescript/responsive/responsive.d.ts.map +1 -0
  351. package/build/typescript/style/resolveDisplayHintStyle.d.ts +23 -0
  352. package/build/typescript/style/resolveDisplayHintStyle.d.ts.map +1 -0
  353. package/build/typescript/theme/WorkflowTheme.d.ts +177 -0
  354. package/build/typescript/theme/WorkflowTheme.d.ts.map +1 -0
  355. package/build/typescript/utils/testable.d.ts +8 -0
  356. package/build/typescript/utils/testable.d.ts.map +1 -0
  357. package/package.json +104 -3
  358. package/src/WorkflowFontScaleContext.tsx +74 -0
  359. package/src/adapter/WalletAdapter.tsx +225 -0
  360. package/src/components/FallbackVideoPlayer.native.tsx +9 -0
  361. package/src/components/FallbackVideoPlayer.tsx +5 -0
  362. package/src/components/FallbackVideoPlayer.web.tsx +24 -0
  363. package/src/components/WorkflowButtonLabel.tsx +41 -0
  364. package/src/components/WorkflowCalendarIcon.tsx +52 -0
  365. package/src/components/WorkflowText.tsx +121 -0
  366. package/src/content/BadgeContent.tsx +57 -0
  367. package/src/content/BarChartContent.tsx +76 -0
  368. package/src/content/BarcodeContent.tsx +59 -0
  369. package/src/content/BasicTableContent.tsx +139 -0
  370. package/src/content/ButtonContent.tsx +124 -0
  371. package/src/content/CalendarContent.tsx +178 -0
  372. package/src/content/CardContent.tsx +137 -0
  373. package/src/content/CarouselContent.tsx +197 -0
  374. package/src/content/ChipContent.tsx +209 -0
  375. package/src/content/ChipRowContent.tsx +133 -0
  376. package/src/content/CredentialOfferContent.tsx +229 -0
  377. package/src/content/DialContent.tsx +96 -0
  378. package/src/content/DividerContent.tsx +33 -0
  379. package/src/content/DonutChartContent.tsx +110 -0
  380. package/src/content/FormContent.tsx +158 -0
  381. package/src/content/FormFieldBridge.tsx +144 -0
  382. package/src/content/GaugeContent.tsx +66 -0
  383. package/src/content/GridLayoutContent.tsx +285 -0
  384. package/src/content/ImageContent.tsx +222 -0
  385. package/src/content/ListContent.tsx +98 -0
  386. package/src/content/LocationContent.tsx +135 -0
  387. package/src/content/MapContent.tsx +232 -0
  388. package/src/content/MultipleChoiceContent.tsx +74 -0
  389. package/src/content/OpenBadgePreviewContent.tsx +93 -0
  390. package/src/content/PhotoContent.tsx +110 -0
  391. package/src/content/PieChartContent.tsx +121 -0
  392. package/src/content/ProofPresentationContent.tsx +127 -0
  393. package/src/content/RadioButtonContent.tsx +129 -0
  394. package/src/content/RowContent.tsx +627 -0
  395. package/src/content/SectionContent.tsx +133 -0
  396. package/src/content/ShareEntryContent.tsx +109 -0
  397. package/src/content/SimulatedHint.tsx +20 -0
  398. package/src/content/SliderContent.tsx +56 -0
  399. package/src/content/SpacerContent.tsx +15 -0
  400. package/src/content/SpinnerContent.tsx +24 -0
  401. package/src/content/SubmitButtonContent.tsx +256 -0
  402. package/src/content/TextContent.tsx +140 -0
  403. package/src/content/TileContent.tsx +216 -0
  404. package/src/content/TimelineContent.tsx +91 -0
  405. package/src/content/TitleContent.tsx +49 -0
  406. package/src/content/VideoContent.tsx +131 -0
  407. package/src/content/WebLinkContent.tsx +87 -0
  408. package/src/content/index.ts +45 -0
  409. package/src/form-fields/CheckboxField.tsx +29 -0
  410. package/src/form-fields/DateField.native.tsx +123 -0
  411. package/src/form-fields/DateField.tsx +5 -0
  412. package/src/form-fields/DateField.web.tsx +32 -0
  413. package/src/form-fields/DropdownField.tsx +137 -0
  414. package/src/form-fields/MCQField.tsx +68 -0
  415. package/src/form-fields/RadioField.tsx +53 -0
  416. package/src/form-fields/SliderField.native.tsx +53 -0
  417. package/src/form-fields/SliderField.tsx +5 -0
  418. package/src/form-fields/SliderField.web.tsx +58 -0
  419. package/src/form-fields/SubmitButtonField.tsx +33 -0
  420. package/src/form-fields/TextField.tsx +49 -0
  421. package/src/form-fields/index.ts +12 -0
  422. package/src/i18n/WorkflowI18n.tsx +100 -0
  423. package/src/icons/VectorIcon.tsx +10 -0
  424. package/src/icons/VectorIcon.web.tsx +55 -0
  425. package/src/icons/WorkflowIcon.tsx +30 -0
  426. package/src/icons/types.ts +13 -0
  427. package/src/imageUriCache.ts +27 -0
  428. package/src/index.ts +97 -0
  429. package/src/modal/WorkflowModal.tsx +119 -0
  430. package/src/platform/platformName.ts +7 -0
  431. package/src/platform/platformName.web.ts +2 -0
  432. package/src/protocol/controlSnapshotStore.ts +25 -0
  433. package/src/protocol/useProtocolExchange.ts +185 -0
  434. package/src/registries/ContentRegistry.tsx +130 -0
  435. package/src/registries/FormFieldRegistry.tsx +83 -0
  436. package/src/render/NodeBoundary.tsx +69 -0
  437. package/src/render/RenderTree.tsx +63 -0
  438. package/src/render/WorkflowRenderContext.tsx +71 -0
  439. package/src/render/nodes.ts +104 -0
  440. package/src/responsive/ResponsiveProvider.tsx +103 -0
  441. package/src/responsive/index.ts +7 -0
  442. package/src/responsive/responsive.ts +67 -0
  443. package/src/style/resolveDisplayHintStyle.ts +153 -0
  444. package/src/theme/WorkflowTheme.tsx +162 -0
  445. package/src/utils/testable.ts +10 -0
@@ -0,0 +1,145 @@
1
+ import { type ComponentType, type ReactNode } from 'react';
2
+ import { type StyleProp, type ViewStyle } from 'react-native';
3
+ export type ExchangeKind = 'credential' | 'proof';
4
+ /**
5
+ * Where a credential or proof exchange stands, from the holder's side.
6
+ * Credential: offer received → `pending`; credential received / done →
7
+ * `success`. Proof: request received → `pending`; presentation sent / done →
8
+ * `success`. Declined → `declined`; abandoned / problem report → `failed`.
9
+ */
10
+ export type ExchangeStatus = 'pending' | 'success' | 'declined' | 'failed';
11
+ export type ExchangeAttribute = {
12
+ name: string;
13
+ value?: string;
14
+ };
15
+ export type ExchangeRecord = {
16
+ id: string;
17
+ connectionId?: string;
18
+ /** Milliseconds since epoch. */
19
+ createdAt: number;
20
+ status: ExchangeStatus;
21
+ /** Credential attributes once known (values offered or issued). */
22
+ attributes?: ExchangeAttribute[];
23
+ };
24
+ export type Coordinates = {
25
+ latitude: number;
26
+ longitude: number;
27
+ };
28
+ export type ShareRequest = {
29
+ title?: string;
30
+ subject?: string;
31
+ message?: string;
32
+ url?: string;
33
+ type?: string;
34
+ };
35
+ export type CalendarEvent = {
36
+ title: string;
37
+ start: Date;
38
+ end: Date;
39
+ allDay: boolean;
40
+ location?: string;
41
+ notes?: string;
42
+ url?: string;
43
+ };
44
+ export type CredentialCardRequest = {
45
+ credDefId?: string;
46
+ attributes: ExchangeAttribute[];
47
+ record?: ExchangeRecord;
48
+ width: number;
49
+ onPress?: () => void;
50
+ };
51
+ export type VideoPlayerProps = {
52
+ uri: string;
53
+ autoPlay: boolean;
54
+ style?: StyleProp<ViewStyle>;
55
+ onError?: () => void;
56
+ };
57
+ /**
58
+ * Everything a workflow control needs from the app around it: device features,
59
+ * links, messages and DIDComm exchanges. The wallet implements it with its
60
+ * native modules, credo agent and navigation; the designer uses
61
+ * {@link createSimulatedWalletAdapter}. Shared controls never import a native
62
+ * module or credo directly.
63
+ *
64
+ * Members named `use…` are React hooks. Keep the adapter object stable (create
65
+ * it once) so they are called in the same order on every render.
66
+ */
67
+ export interface WalletAdapter {
68
+ /** True for the designer's stand-in; controls show a small "simulated" hint. */
69
+ readonly simulated: boolean;
70
+ openUrl(url: string): Promise<void>;
71
+ alert(title: string, message?: string): void;
72
+ /** Opens the camera. `null` when the user cancels or denies the permission. */
73
+ capturePhoto(): Promise<{
74
+ uri: string;
75
+ } | null>;
76
+ /** Opens the code scanner. `null` when cancelled or when the scan is handled elsewhere. */
77
+ scanBarcode(): Promise<string | null>;
78
+ /** Current position; `null` when the permission is denied. Throws when GPS is unavailable. */
79
+ getLocation(): Promise<Coordinates | null>;
80
+ /** Opens the share sheet. Resolves when the user cancels too. */
81
+ share(request: ShareRequest): Promise<void>;
82
+ /** Renders HTML to a PDF file. */
83
+ exportPdf(request: {
84
+ html: string;
85
+ fileName: string;
86
+ }): Promise<{
87
+ uri: string;
88
+ } | null>;
89
+ /** Adds an event to the device calendar; `false` when the permission is denied. */
90
+ addCalendarEvent(event: CalendarEvent): Promise<boolean>;
91
+ /** Native video player (the wallet's expo-video view). Without it a poster with a play button shows. */
92
+ VideoPlayer?: ComponentType<VideoPlayerProps>;
93
+ /** Hook: this wallet's exchanges of one kind (all connections). */
94
+ useExchanges(kind: ExchangeKind): ExchangeRecord[];
95
+ acceptExchange(kind: ExchangeKind, id: string): Promise<void>;
96
+ declineExchange(kind: ExchangeKind, id: string): Promise<void>;
97
+ /** Values in a credential offer before it is issued (credo format data). */
98
+ getOfferedAttributes?(id: string): Promise<ExchangeAttribute[]>;
99
+ /** Hook: the designed credential card (OCA, parsed transcript, …), or `null` to show the attribute list. */
100
+ useCredentialCard?(request: CredentialCardRequest): {
101
+ element: ReactNode | null;
102
+ resolving: boolean;
103
+ };
104
+ /** Opens the stored credential (wallet: credential details screen). */
105
+ openCredential?(id: string): void;
106
+ /**
107
+ * Called when a control starts waiting for an exchange to arrive. The
108
+ * simulated adapter creates one; the wallet leaves it out (the agent
109
+ * receives the real one).
110
+ */
111
+ expectExchange?(kind: ExchangeKind, connectionId?: string): void;
112
+ }
113
+ export type SimulatedWalletOptions = {
114
+ /** Every simulated device call, for a designer log or toast. */
115
+ onEvent?: (event: {
116
+ action: string;
117
+ detail?: unknown;
118
+ }) => void;
119
+ /** Simulated alerts (default: `onEvent` with action `alert`). */
120
+ onAlert?: (title: string, message?: string) => void;
121
+ photoUri?: string;
122
+ barcode?: string;
123
+ location?: Coordinates;
124
+ /** Delay before a simulated exchange arrives or completes (ms). Default 400. */
125
+ exchangeDelayMs?: number;
126
+ };
127
+ /** A small grey image with a camera outline, used as the simulated photo. */
128
+ export declare const SIMULATED_PHOTO_URI: string;
129
+ /** Wilmington, NC: the wallet's map fallback. */
130
+ export declare const SIMULATED_LOCATION: Coordinates;
131
+ /**
132
+ * Stand-in adapter for the designer (and for any host that renders without
133
+ * one). Device calls resolve with sample data; an exchange the control waits
134
+ * for arrives after a short delay and completes when accepted.
135
+ */
136
+ export declare function createSimulatedWalletAdapter(options?: SimulatedWalletOptions): WalletAdapter;
137
+ export type WalletAdapterProviderProps = {
138
+ adapter: WalletAdapter;
139
+ children?: ReactNode;
140
+ };
141
+ /** The app's adapter for every control below it. Create the adapter once (stable identity). */
142
+ export declare function WalletAdapterProvider({ adapter, children }: WalletAdapterProviderProps): import("react").JSX.Element;
143
+ /** The nearest adapter; the simulated one when the host provides none. */
144
+ export declare function useWalletAdapter(): WalletAdapter;
145
+ //# sourceMappingURL=WalletAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletAdapter.d.ts","sourceRoot":"","sources":["../../../src/adapter/WalletAdapter.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Fallback for bundlers without platform extensions (and for type checking).
3
+ * Metro picks FallbackVideoPlayer.native.tsx; web bundlers pick FallbackVideoPlayer.web.tsx.
4
+ */
5
+ export { default } from './FallbackVideoPlayer.web.js';
6
+ //# sourceMappingURL=FallbackVideoPlayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FallbackVideoPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/FallbackVideoPlayer.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA2B,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { VideoPlayerProps } from '../adapter/WalletAdapter.js';
2
+ /**
3
+ * Native has no built-in player: the wallet passes its expo-video view as
4
+ * `adapter.VideoPlayer`. Without one the control keeps showing the poster.
5
+ */
6
+ export default function FallbackVideoPlayer(_props: VideoPlayerProps): null;
7
+ //# sourceMappingURL=FallbackVideoPlayer.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FallbackVideoPlayer.native.d.ts","sourceRoot":"","sources":["../../../src/components/FallbackVideoPlayer.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA0B,CAAA;AAEhE;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAE1E"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { VideoPlayerProps } from '../adapter/WalletAdapter.js';
3
+ /**
4
+ * Web video when the adapter has no `VideoPlayer`: the browser's own
5
+ * `<video>` element with native controls (expo-video has no web build that
6
+ * works outside Expo; see the COM-1 spike).
7
+ */
8
+ export default function FallbackVideoPlayer({ uri, autoPlay, style, onError }: VideoPlayerProps): React.JSX.Element;
9
+ //# sourceMappingURL=FallbackVideoPlayer.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FallbackVideoPlayer.web.d.ts","sourceRoot":"","sources":["../../../src/components/FallbackVideoPlayer.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA0B,CAAA;AAEhE;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,gBAAgB,qBAc9F"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { type StyleProp, type TextStyle } from 'react-native';
3
+ interface WorkflowButtonLabelProps {
4
+ children: string;
5
+ style?: StyleProp<TextStyle>;
6
+ minimumFontScale?: number;
7
+ groupFontScale?: number;
8
+ }
9
+ declare const WorkflowButtonLabel: React.FC<WorkflowButtonLabelProps>;
10
+ export default WorkflowButtonLabel;
11
+ //# sourceMappingURL=WorkflowButtonLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowButtonLabel.d.ts","sourceRoot":"","sources":["../../../src/components/WorkflowButtonLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAE/E,UAAU,wBAAwB;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAIzB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAqB3D,CAAA;AAMD,eAAe,mBAAmB,CAAA"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export type WorkflowCalendarIconKind = 'plus' | 'check';
3
+ interface WorkflowCalendarIconProps {
4
+ kind: WorkflowCalendarIconKind;
5
+ size?: number;
6
+ color?: string;
7
+ }
8
+ declare const WorkflowCalendarIcon: React.FC<WorkflowCalendarIconProps>;
9
+ export declare function resolveCalendarIconKind(icon?: string): WorkflowCalendarIconKind | null;
10
+ export default WorkflowCalendarIcon;
11
+ //# sourceMappingURL=WorkflowCalendarIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowCalendarIcon.d.ts","sourceRoot":"","sources":["../../../src/components/WorkflowCalendarIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,OAAO,CAAA;AAEvD,UAAU,yBAAyB;IACjC,IAAI,EAAE,wBAAwB,CAAA;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAoB7D,CAAA;AAED,wBAAgB,uBAAuB,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,wBAAwB,GAAG,IAAI,CAgBtF;AAED,eAAe,oBAAoB,CAAA"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { type StyleProp, type TextProps, type TextStyle } from 'react-native';
3
+ type WorkflowTextVariant = 'heading' | 'title' | 'subtitle' | 'body' | 'label' | 'caption' | 'badge';
4
+ export interface WorkflowTextProps extends TextProps {
5
+ variant?: WorkflowTextVariant;
6
+ size?: number;
7
+ minimumFontScale?: number;
8
+ style?: StyleProp<TextStyle>;
9
+ }
10
+ export declare const WORKFLOW_TEXT_BASE_SIZES: Record<WorkflowTextVariant, number>;
11
+ declare const WorkflowText: React.FC<WorkflowTextProps>;
12
+ export default WorkflowText;
13
+ //# sourceMappingURL=WorkflowText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowText.d.ts","sourceRoot":"","sources":["../../../src/components/WorkflowText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAA;AACrE,OAAO,EAA0B,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAMvH,KAAK,mBAAmB,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAEpG,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAQxE,CAAA;AAqBD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAyE7C,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const BadgeContent: React.FC<ContentProps>;
4
+ export default BadgeContent;
5
+ //# sourceMappingURL=BadgeContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BadgeContent.d.ts","sourceRoot":"","sources":["../../../src/content/BadgeContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAalF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAoCxC,CAAA;AAID,eAAe,YAAY,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const BarChartContent: React.FC<ContentProps>;
4
+ export default BarChartContent;
5
+ //# sourceMappingURL=BarChartContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarChartContent.d.ts","sourceRoot":"","sources":["../../../src/content/BarChartContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAoBlF,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA+C3C,CAAA;AAID,eAAe,eAAe,CAAA"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ /**
4
+ * QR / barcode scan button. Scanning is the app's (`adapter.scanBarcode()`):
5
+ * the wallet opens its scanner screen (which handles the code itself and
6
+ * resolves `null`); the designer returns a sample code. A returned code goes
7
+ * to `form-id` and to `actionID` / `event` as `{ code }`.
8
+ */
9
+ declare const BarcodeContent: React.FC<ContentProps>;
10
+ export default BarcodeContent;
11
+ //# sourceMappingURL=BarcodeContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarcodeContent.d.ts","sourceRoot":"","sources":["../../../src/content/BarcodeContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAMlF;;;;;GAKG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAoC1C,CAAA;AAKD,eAAe,cAAc,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const BasicTableContent: React.FC<ContentProps>;
4
+ export default BasicTableContent;
5
+ //# sourceMappingURL=BasicTableContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BasicTableContent.d.ts","sourceRoot":"","sources":["../../../src/content/BasicTableContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAiClF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAmG7C,CAAA;AAID,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const ButtonContent: React.FC<ContentProps>;
4
+ export default ButtonContent;
5
+ //# sourceMappingURL=ButtonContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonContent.d.ts","sourceRoot":"","sources":["../../../src/content/ButtonContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AASlF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA4FzC,CAAA;AAkBD,eAAe,aAAa,CAAA"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ /**
4
+ * Start and end of the event from `start` / `end` (or a date in `title` /
5
+ * `label`). A date-only start is an all-day event; a timed start without an
6
+ * end lasts one hour.
7
+ */
8
+ export declare function resolveEventRange(item: ContentProps['item']): {
9
+ start: Date;
10
+ end: Date;
11
+ allDay: boolean;
12
+ } | null;
13
+ /**
14
+ * Event summary with an "Add to Calendar" pill. Writing to the device calendar
15
+ * is the app's (`adapter.addCalendarEvent`); the designer simulates it.
16
+ */
17
+ declare const CalendarContent: React.FC<ContentProps>;
18
+ export default CalendarContent;
19
+ //# sourceMappingURL=CalendarContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalendarContent.d.ts","sourceRoot":"","sources":["../../../src/content/CalendarContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAuClF;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG;IAAE,KAAK,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,CAgBhH;AAED;;;GAGG;AACH,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAuF3C,CAAA;AAkBD,eAAe,eAAe,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const CardContent: React.FC<ContentProps>;
4
+ export default CardContent;
5
+ //# sourceMappingURL=CardContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../src/content/CardContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAMlF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2HvC,CAAA;AAID,eAAe,WAAW,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const CarouselContent: React.FC<ContentProps>;
4
+ export default CarouselContent;
5
+ //# sourceMappingURL=CarouselContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CarouselContent.d.ts","sourceRoot":"","sources":["../../../src/content/CarouselContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAQhF,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAQlF,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA+K3C,CAAA;AAKD,eAAe,eAAe,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const ChipContent: React.FC<ContentProps>;
4
+ export default ChipContent;
5
+ //# sourceMappingURL=ChipContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChipContent.d.ts","sourceRoot":"","sources":["../../../src/content/ChipContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AA4ElF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA6HvC,CAAA;AAID,eAAe,WAAW,CAAA"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ import './BadgeContent.js';
4
+ import './ChipContent.js';
5
+ export declare const coerceToChipRowItem: (item: ContentProps["item"]) => ContentProps["item"] | null;
6
+ declare const ChipRowContent: React.FC<ContentProps>;
7
+ export default ChipRowContent;
8
+ //# sourceMappingURL=ChipRowContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChipRowContent.d.ts","sourceRoot":"","sources":["../../../src/content/ChipRowContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAElF,OAAO,mBAAgB,CAAA;AACvB,OAAO,kBAAe,CAAA;AAkBtB,eAAO,MAAM,mBAAmB,GAAI,MAAM,YAAY,CAAC,MAAM,CAAC,KAAG,YAAY,CAAC,MAAM,CAAC,GAAG,IA6BvF,CAAA;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAuE1C,CAAA;AAOD,eAAe,cAAc,CAAA"}
@@ -0,0 +1,98 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ export declare const formatPreviewValue: (raw?: string) => string;
4
+ export declare const shortId: (id: string) => string;
5
+ /**
6
+ * Credential offer card (CrMS contract): accept fires `item.event` (default
7
+ * `accept`), decline fires `decline-event` (default `decline`), `label` is the
8
+ * accept button text. Outcomes `accepted-event` / `error-event`.
9
+ *
10
+ * Moved from the wallet with credo, bifold hooks and navigation replaced by
11
+ * the WalletAdapter: records come from `useExchanges('credential')`, the
12
+ * designed card from `useCredentialCard`, the details screen from
13
+ * `openCredential`.
14
+ */
15
+ declare const CredentialOfferContent: React.FC<ContentProps>;
16
+ /** Card styles shared with the proof-presentation control. */
17
+ export declare const s: {
18
+ card: {
19
+ borderWidth: number;
20
+ borderRadius: number;
21
+ padding: number;
22
+ gap: number;
23
+ };
24
+ headerRow: {
25
+ flexDirection: "row";
26
+ justifyContent: "space-between";
27
+ alignItems: "center";
28
+ gap: number;
29
+ minWidth: number;
30
+ };
31
+ kicker: {
32
+ fontSize: number;
33
+ fontWeight: "700";
34
+ letterSpacing: number;
35
+ flexShrink: number;
36
+ };
37
+ id: {
38
+ fontSize: number;
39
+ fontFamily: string;
40
+ flexShrink: number;
41
+ };
42
+ attrList: {
43
+ gap: number;
44
+ };
45
+ cardSlot: {
46
+ marginTop: number;
47
+ };
48
+ skeleton: {
49
+ borderRadius: number;
50
+ justifyContent: "center";
51
+ alignItems: "center";
52
+ backgroundColor: string;
53
+ };
54
+ attrLine: {
55
+ fontSize: number;
56
+ };
57
+ attrName: {
58
+ fontWeight: "700";
59
+ };
60
+ btnRow: {
61
+ flexDirection: "row";
62
+ gap: number;
63
+ justifyContent: "flex-end";
64
+ marginTop: number;
65
+ };
66
+ primaryBtn: {
67
+ paddingHorizontal: number;
68
+ paddingVertical: number;
69
+ borderRadius: number;
70
+ alignItems: "center";
71
+ justifyContent: "center";
72
+ };
73
+ secondaryBtn: {
74
+ paddingHorizontal: number;
75
+ paddingVertical: number;
76
+ borderRadius: number;
77
+ borderWidth: number;
78
+ alignItems: "center";
79
+ justifyContent: "center";
80
+ };
81
+ btnText: {
82
+ fontWeight: "600";
83
+ };
84
+ statusRow: {
85
+ flexDirection: "row";
86
+ alignItems: "center";
87
+ gap: number;
88
+ marginTop: number;
89
+ minHeight: number;
90
+ };
91
+ statusText: {
92
+ fontSize: number;
93
+ fontWeight: "600";
94
+ flexShrink: number;
95
+ };
96
+ };
97
+ export default CredentialOfferContent;
98
+ //# sourceMappingURL=CredentialOfferContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CredentialOfferContent.d.ts","sourceRoot":"","sources":["../../../src/content/CredentialOfferContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAMlD,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AASlF,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,MAgBjD,CAAA;AAED,eAAO,MAAM,OAAO,GAAI,IAAI,MAAM,WAAiE,CAAA;AAInG;;;;;;;;;GASG;AACH,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAiJlD,CAAA;AAED,8DAA8D;AAC9D,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BZ,CAAA;AAIF,eAAe,sBAAsB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const DialContent: React.FC<ContentProps>;
4
+ export default DialContent;
5
+ //# sourceMappingURL=DialContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DialContent.d.ts","sourceRoot":"","sources":["../../../src/content/DialContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAUlF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA6DvC,CAAA;AAmBD,eAAe,WAAW,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const DividerContent: React.FC<ContentProps>;
4
+ export default DividerContent;
5
+ //# sourceMappingURL=DividerContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DividerContent.d.ts","sourceRoot":"","sources":["../../../src/content/DividerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAOlF,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAkB1C,CAAA;AAID,eAAe,cAAc,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const DonutChartContent: React.FC<ContentProps>;
4
+ export default DonutChartContent;
5
+ //# sourceMappingURL=DonutChartContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DonutChartContent.d.ts","sourceRoot":"","sources":["../../../src/content/DonutChartContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAkBlF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAoF7C,CAAA;AAID,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ interface FormContentProps extends ContentProps {
4
+ formData?: Record<string, any>;
5
+ onFieldChange?: (name: string, value: any) => void;
6
+ FormFieldRegistry?: any;
7
+ }
8
+ /**
9
+ * Whether a form child is an input (rendered by the form-field registry) or a
10
+ * display item such as a paragraph, title or divider (rendered by the content
11
+ * registry). `text` is both: with a `name` / `form-id` it is the legacy text
12
+ * input (action-menu `fields`), without one it is a paragraph.
13
+ */
14
+ export declare function isFormFieldChild(field: any, registry: {
15
+ has(type: string): boolean;
16
+ }): boolean;
17
+ declare const FormContent: React.FC<FormContentProps>;
18
+ export default FormContent;
19
+ //# sourceMappingURL=FormContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormContent.d.ts","sourceRoot":"","sources":["../../../src/content/FormContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAqBlF,UAAU,gBAAiB,SAAQ,YAAY;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC9B,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IAClD,iBAAiB,CAAC,EAAE,GAAG,CAAA;CACxB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE;IAAE,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,OAAO,CAI9F;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAgH3C,CAAA;AAID,eAAe,WAAW,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=FormFieldBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormFieldBridge.d.ts","sourceRoot":"","sources":["../../../src/content/FormFieldBridge.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const GaugeContent: React.FC<ContentProps>;
4
+ export default GaugeContent;
5
+ //# sourceMappingURL=GaugeContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GaugeContent.d.ts","sourceRoot":"","sources":["../../../src/content/GaugeContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAGlF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAuDxC,CAAA;AAID,eAAe,YAAY,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const GridLayoutContent: React.FC<ContentProps>;
4
+ export default GridLayoutContent;
5
+ //# sourceMappingURL=GridLayoutContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridLayoutContent.d.ts","sourceRoot":"","sources":["../../../src/content/GridLayoutContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAA;AAG7D,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAalF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAsQ7C,CAAA;AAMD,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const ImageContent: React.FC<ContentProps>;
4
+ export default ImageContent;
5
+ //# sourceMappingURL=ImageContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageContent.d.ts","sourceRoot":"","sources":["../../../src/content/ImageContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAMlD,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AA0ClF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA4IxC,CAAA;AAiCD,eAAe,YAAY,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const ListContent: React.FC<ContentProps>;
4
+ export default ListContent;
5
+ //# sourceMappingURL=ListContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListContent.d.ts","sourceRoot":"","sources":["../../../src/content/ListContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAA;AAG7C,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAelF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2EvC,CAAA;AAID,eAAe,WAAW,CAAA"}
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ export declare const mapsUrl: (latitude: number, longitude: number) => string;
4
+ /**
5
+ * "Share location" pill: reads the position (`adapter.getLocation()`), sends
6
+ * `{ latitude, longitude }` to `form-id` and to `actionID` / `event`, then
7
+ * opens the share sheet with the coordinates and a maps link.
8
+ */
9
+ declare const LocationContent: React.FC<ContentProps>;
10
+ /** Shared by the location and share pills. */
11
+ export declare const pill: {
12
+ wrap: {
13
+ marginBottom: number;
14
+ };
15
+ pill: {
16
+ flexDirection: "row";
17
+ alignItems: "center";
18
+ justifyContent: "center";
19
+ width: "100%";
20
+ flexShrink: number;
21
+ minWidth: number;
22
+ };
23
+ text: {
24
+ fontWeight: "700";
25
+ flexShrink: number;
26
+ };
27
+ disabled: {
28
+ opacity: number;
29
+ };
30
+ };
31
+ export default LocationContent;
32
+ //# sourceMappingURL=LocationContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LocationContent.d.ts","sourceRoot":"","sources":["../../../src/content/LocationContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAMvC,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAYlF,eAAO,MAAM,OAAO,GAAI,UAAU,MAAM,EAAE,WAAW,MAAM,WACiB,CAAA;AAE5E;;;;GAIG;AACH,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyF3C,CAAA;AAED,8CAA8C;AAC9C,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;CAYf,CAAA;AAIF,eAAe,eAAe,CAAA"}