@veridid/workflow-ui 0.0.0-stage → 0.1.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 (430) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +202 -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 +107 -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/WorkflowIcon.js +50 -0
  134. package/build/module/icons/WorkflowIcon.js.map +1 -0
  135. package/build/module/imageUriCache.js +25 -0
  136. package/build/module/imageUriCache.js.map +1 -0
  137. package/build/module/index.js +49 -0
  138. package/build/module/index.js.map +1 -0
  139. package/build/module/modal/WorkflowModal.js +115 -0
  140. package/build/module/modal/WorkflowModal.js.map +1 -0
  141. package/build/module/package.json +1 -0
  142. package/build/module/platform/platformName.js +10 -0
  143. package/build/module/platform/platformName.js.map +1 -0
  144. package/build/module/platform/platformName.web.js +5 -0
  145. package/build/module/platform/platformName.web.js.map +1 -0
  146. package/build/module/protocol/controlSnapshotStore.js +19 -0
  147. package/build/module/protocol/controlSnapshotStore.js.map +1 -0
  148. package/build/module/protocol/useProtocolExchange.js +168 -0
  149. package/build/module/protocol/useProtocolExchange.js.map +1 -0
  150. package/build/module/registries/ContentRegistry.js +53 -0
  151. package/build/module/registries/ContentRegistry.js.map +1 -0
  152. package/build/module/registries/FormFieldRegistry.js +56 -0
  153. package/build/module/registries/FormFieldRegistry.js.map +1 -0
  154. package/build/module/render/NodeBoundary.js +73 -0
  155. package/build/module/render/NodeBoundary.js.map +1 -0
  156. package/build/module/render/RenderTree.js +52 -0
  157. package/build/module/render/RenderTree.js.map +1 -0
  158. package/build/module/render/WorkflowRenderContext.js +34 -0
  159. package/build/module/render/WorkflowRenderContext.js.map +1 -0
  160. package/build/module/render/nodes.js +103 -0
  161. package/build/module/render/nodes.js.map +1 -0
  162. package/build/module/responsive/ResponsiveProvider.js +63 -0
  163. package/build/module/responsive/ResponsiveProvider.js.map +1 -0
  164. package/build/module/responsive/index.js +4 -0
  165. package/build/module/responsive/index.js.map +1 -0
  166. package/build/module/responsive/responsive.js +56 -0
  167. package/build/module/responsive/responsive.js.map +1 -0
  168. package/build/module/style/resolveDisplayHintStyle.js +145 -0
  169. package/build/module/style/resolveDisplayHintStyle.js.map +1 -0
  170. package/build/module/theme/WorkflowTheme.js +200 -0
  171. package/build/module/theme/WorkflowTheme.js.map +1 -0
  172. package/build/module/utils/testable.js +12 -0
  173. package/build/module/utils/testable.js.map +1 -0
  174. package/build/typescript/WorkflowFontScaleContext.d.ts +7 -0
  175. package/build/typescript/WorkflowFontScaleContext.d.ts.map +1 -0
  176. package/build/typescript/adapter/WalletAdapter.d.ts +145 -0
  177. package/build/typescript/adapter/WalletAdapter.d.ts.map +1 -0
  178. package/build/typescript/components/FallbackVideoPlayer.d.ts +6 -0
  179. package/build/typescript/components/FallbackVideoPlayer.d.ts.map +1 -0
  180. package/build/typescript/components/FallbackVideoPlayer.native.d.ts +7 -0
  181. package/build/typescript/components/FallbackVideoPlayer.native.d.ts.map +1 -0
  182. package/build/typescript/components/FallbackVideoPlayer.web.d.ts +9 -0
  183. package/build/typescript/components/FallbackVideoPlayer.web.d.ts.map +1 -0
  184. package/build/typescript/components/WorkflowButtonLabel.d.ts +11 -0
  185. package/build/typescript/components/WorkflowButtonLabel.d.ts.map +1 -0
  186. package/build/typescript/components/WorkflowCalendarIcon.d.ts +11 -0
  187. package/build/typescript/components/WorkflowCalendarIcon.d.ts.map +1 -0
  188. package/build/typescript/components/WorkflowText.d.ts +13 -0
  189. package/build/typescript/components/WorkflowText.d.ts.map +1 -0
  190. package/build/typescript/content/BadgeContent.d.ts +5 -0
  191. package/build/typescript/content/BadgeContent.d.ts.map +1 -0
  192. package/build/typescript/content/BarChartContent.d.ts +5 -0
  193. package/build/typescript/content/BarChartContent.d.ts.map +1 -0
  194. package/build/typescript/content/BarcodeContent.d.ts +11 -0
  195. package/build/typescript/content/BarcodeContent.d.ts.map +1 -0
  196. package/build/typescript/content/BasicTableContent.d.ts +5 -0
  197. package/build/typescript/content/BasicTableContent.d.ts.map +1 -0
  198. package/build/typescript/content/ButtonContent.d.ts +5 -0
  199. package/build/typescript/content/ButtonContent.d.ts.map +1 -0
  200. package/build/typescript/content/CalendarContent.d.ts +19 -0
  201. package/build/typescript/content/CalendarContent.d.ts.map +1 -0
  202. package/build/typescript/content/CardContent.d.ts +5 -0
  203. package/build/typescript/content/CardContent.d.ts.map +1 -0
  204. package/build/typescript/content/CarouselContent.d.ts +5 -0
  205. package/build/typescript/content/CarouselContent.d.ts.map +1 -0
  206. package/build/typescript/content/ChipContent.d.ts +5 -0
  207. package/build/typescript/content/ChipContent.d.ts.map +1 -0
  208. package/build/typescript/content/ChipRowContent.d.ts +8 -0
  209. package/build/typescript/content/ChipRowContent.d.ts.map +1 -0
  210. package/build/typescript/content/CredentialOfferContent.d.ts +98 -0
  211. package/build/typescript/content/CredentialOfferContent.d.ts.map +1 -0
  212. package/build/typescript/content/DialContent.d.ts +5 -0
  213. package/build/typescript/content/DialContent.d.ts.map +1 -0
  214. package/build/typescript/content/DividerContent.d.ts +5 -0
  215. package/build/typescript/content/DividerContent.d.ts.map +1 -0
  216. package/build/typescript/content/DonutChartContent.d.ts +5 -0
  217. package/build/typescript/content/DonutChartContent.d.ts.map +1 -0
  218. package/build/typescript/content/FormContent.d.ts +19 -0
  219. package/build/typescript/content/FormContent.d.ts.map +1 -0
  220. package/build/typescript/content/FormFieldBridge.d.ts +2 -0
  221. package/build/typescript/content/FormFieldBridge.d.ts.map +1 -0
  222. package/build/typescript/content/GaugeContent.d.ts +5 -0
  223. package/build/typescript/content/GaugeContent.d.ts.map +1 -0
  224. package/build/typescript/content/GridLayoutContent.d.ts +5 -0
  225. package/build/typescript/content/GridLayoutContent.d.ts.map +1 -0
  226. package/build/typescript/content/ImageContent.d.ts +5 -0
  227. package/build/typescript/content/ImageContent.d.ts.map +1 -0
  228. package/build/typescript/content/ListContent.d.ts +5 -0
  229. package/build/typescript/content/ListContent.d.ts.map +1 -0
  230. package/build/typescript/content/LocationContent.d.ts +32 -0
  231. package/build/typescript/content/LocationContent.d.ts.map +1 -0
  232. package/build/typescript/content/MapContent.d.ts +11 -0
  233. package/build/typescript/content/MapContent.d.ts.map +1 -0
  234. package/build/typescript/content/MultipleChoiceContent.d.ts +5 -0
  235. package/build/typescript/content/MultipleChoiceContent.d.ts.map +1 -0
  236. package/build/typescript/content/OpenBadgePreviewContent.d.ts +14 -0
  237. package/build/typescript/content/OpenBadgePreviewContent.d.ts.map +1 -0
  238. package/build/typescript/content/PhotoContent.d.ts +57 -0
  239. package/build/typescript/content/PhotoContent.d.ts.map +1 -0
  240. package/build/typescript/content/PieChartContent.d.ts +5 -0
  241. package/build/typescript/content/PieChartContent.d.ts.map +1 -0
  242. package/build/typescript/content/ProofPresentationContent.d.ts +14 -0
  243. package/build/typescript/content/ProofPresentationContent.d.ts.map +1 -0
  244. package/build/typescript/content/RadioButtonContent.d.ts +5 -0
  245. package/build/typescript/content/RadioButtonContent.d.ts.map +1 -0
  246. package/build/typescript/content/RowContent.d.ts +5 -0
  247. package/build/typescript/content/RowContent.d.ts.map +1 -0
  248. package/build/typescript/content/SectionContent.d.ts +5 -0
  249. package/build/typescript/content/SectionContent.d.ts.map +1 -0
  250. package/build/typescript/content/ShareEntryContent.d.ts +15 -0
  251. package/build/typescript/content/ShareEntryContent.d.ts.map +1 -0
  252. package/build/typescript/content/SimulatedHint.d.ts +9 -0
  253. package/build/typescript/content/SimulatedHint.d.ts.map +1 -0
  254. package/build/typescript/content/SliderContent.d.ts +10 -0
  255. package/build/typescript/content/SliderContent.d.ts.map +1 -0
  256. package/build/typescript/content/SpacerContent.d.ts +5 -0
  257. package/build/typescript/content/SpacerContent.d.ts.map +1 -0
  258. package/build/typescript/content/SpinnerContent.d.ts +5 -0
  259. package/build/typescript/content/SpinnerContent.d.ts.map +1 -0
  260. package/build/typescript/content/SubmitButtonContent.d.ts +9 -0
  261. package/build/typescript/content/SubmitButtonContent.d.ts.map +1 -0
  262. package/build/typescript/content/TextContent.d.ts +5 -0
  263. package/build/typescript/content/TextContent.d.ts.map +1 -0
  264. package/build/typescript/content/TileContent.d.ts +5 -0
  265. package/build/typescript/content/TileContent.d.ts.map +1 -0
  266. package/build/typescript/content/TimelineContent.d.ts +5 -0
  267. package/build/typescript/content/TimelineContent.d.ts.map +1 -0
  268. package/build/typescript/content/TitleContent.d.ts +5 -0
  269. package/build/typescript/content/TitleContent.d.ts.map +1 -0
  270. package/build/typescript/content/VideoContent.d.ts +10 -0
  271. package/build/typescript/content/VideoContent.d.ts.map +1 -0
  272. package/build/typescript/content/WebLinkContent.d.ts +5 -0
  273. package/build/typescript/content/WebLinkContent.d.ts.map +1 -0
  274. package/build/typescript/content/index.d.ts +46 -0
  275. package/build/typescript/content/index.d.ts.map +1 -0
  276. package/build/typescript/form-fields/CheckboxField.d.ts +5 -0
  277. package/build/typescript/form-fields/CheckboxField.d.ts.map +1 -0
  278. package/build/typescript/form-fields/DateField.d.ts +6 -0
  279. package/build/typescript/form-fields/DateField.d.ts.map +1 -0
  280. package/build/typescript/form-fields/DateField.native.d.ts +5 -0
  281. package/build/typescript/form-fields/DateField.native.d.ts.map +1 -0
  282. package/build/typescript/form-fields/DateField.web.d.ts +9 -0
  283. package/build/typescript/form-fields/DateField.web.d.ts.map +1 -0
  284. package/build/typescript/form-fields/DropdownField.d.ts +5 -0
  285. package/build/typescript/form-fields/DropdownField.d.ts.map +1 -0
  286. package/build/typescript/form-fields/MCQField.d.ts +5 -0
  287. package/build/typescript/form-fields/MCQField.d.ts.map +1 -0
  288. package/build/typescript/form-fields/RadioField.d.ts +5 -0
  289. package/build/typescript/form-fields/RadioField.d.ts.map +1 -0
  290. package/build/typescript/form-fields/SliderField.d.ts +6 -0
  291. package/build/typescript/form-fields/SliderField.d.ts.map +1 -0
  292. package/build/typescript/form-fields/SliderField.native.d.ts +5 -0
  293. package/build/typescript/form-fields/SliderField.native.d.ts.map +1 -0
  294. package/build/typescript/form-fields/SliderField.web.d.ts +11 -0
  295. package/build/typescript/form-fields/SliderField.web.d.ts.map +1 -0
  296. package/build/typescript/form-fields/SubmitButtonField.d.ts +5 -0
  297. package/build/typescript/form-fields/SubmitButtonField.d.ts.map +1 -0
  298. package/build/typescript/form-fields/TextField.d.ts +5 -0
  299. package/build/typescript/form-fields/TextField.d.ts.map +1 -0
  300. package/build/typescript/form-fields/index.d.ts +13 -0
  301. package/build/typescript/form-fields/index.d.ts.map +1 -0
  302. package/build/typescript/i18n/WorkflowI18n.d.ts +75 -0
  303. package/build/typescript/i18n/WorkflowI18n.d.ts.map +1 -0
  304. package/build/typescript/icons/WorkflowIcon.d.ts +27 -0
  305. package/build/typescript/icons/WorkflowIcon.d.ts.map +1 -0
  306. package/build/typescript/imageUriCache.d.ts +7 -0
  307. package/build/typescript/imageUriCache.d.ts.map +1 -0
  308. package/build/typescript/index.d.ts +47 -0
  309. package/build/typescript/index.d.ts.map +1 -0
  310. package/build/typescript/modal/WorkflowModal.d.ts +33 -0
  311. package/build/typescript/modal/WorkflowModal.d.ts.map +1 -0
  312. package/build/typescript/package.json +1 -0
  313. package/build/typescript/platform/platformName.d.ts +8 -0
  314. package/build/typescript/platform/platformName.d.ts.map +1 -0
  315. package/build/typescript/platform/platformName.web.d.ts +3 -0
  316. package/build/typescript/platform/platformName.web.d.ts.map +1 -0
  317. package/build/typescript/protocol/controlSnapshotStore.d.ts +12 -0
  318. package/build/typescript/protocol/controlSnapshotStore.d.ts.map +1 -0
  319. package/build/typescript/protocol/useProtocolExchange.d.ts +40 -0
  320. package/build/typescript/protocol/useProtocolExchange.d.ts.map +1 -0
  321. package/build/typescript/registries/ContentRegistry.d.ts +57 -0
  322. package/build/typescript/registries/ContentRegistry.d.ts.map +1 -0
  323. package/build/typescript/registries/FormFieldRegistry.d.ts +37 -0
  324. package/build/typescript/registries/FormFieldRegistry.d.ts.map +1 -0
  325. package/build/typescript/render/NodeBoundary.d.ts +25 -0
  326. package/build/typescript/render/NodeBoundary.d.ts.map +1 -0
  327. package/build/typescript/render/RenderTree.d.ts +23 -0
  328. package/build/typescript/render/RenderTree.d.ts.map +1 -0
  329. package/build/typescript/render/WorkflowRenderContext.d.ts +57 -0
  330. package/build/typescript/render/WorkflowRenderContext.d.ts.map +1 -0
  331. package/build/typescript/render/nodes.d.ts +49 -0
  332. package/build/typescript/render/nodes.d.ts.map +1 -0
  333. package/build/typescript/responsive/ResponsiveProvider.d.ts +39 -0
  334. package/build/typescript/responsive/ResponsiveProvider.d.ts.map +1 -0
  335. package/build/typescript/responsive/index.d.ts +3 -0
  336. package/build/typescript/responsive/index.d.ts.map +1 -0
  337. package/build/typescript/responsive/responsive.d.ts +24 -0
  338. package/build/typescript/responsive/responsive.d.ts.map +1 -0
  339. package/build/typescript/style/resolveDisplayHintStyle.d.ts +23 -0
  340. package/build/typescript/style/resolveDisplayHintStyle.d.ts.map +1 -0
  341. package/build/typescript/theme/WorkflowTheme.d.ts +177 -0
  342. package/build/typescript/theme/WorkflowTheme.d.ts.map +1 -0
  343. package/build/typescript/utils/testable.d.ts +8 -0
  344. package/build/typescript/utils/testable.d.ts.map +1 -0
  345. package/package.json +101 -3
  346. package/src/WorkflowFontScaleContext.tsx +74 -0
  347. package/src/adapter/WalletAdapter.tsx +225 -0
  348. package/src/components/FallbackVideoPlayer.native.tsx +9 -0
  349. package/src/components/FallbackVideoPlayer.tsx +5 -0
  350. package/src/components/FallbackVideoPlayer.web.tsx +24 -0
  351. package/src/components/WorkflowButtonLabel.tsx +41 -0
  352. package/src/components/WorkflowCalendarIcon.tsx +52 -0
  353. package/src/components/WorkflowText.tsx +121 -0
  354. package/src/content/BadgeContent.tsx +57 -0
  355. package/src/content/BarChartContent.tsx +76 -0
  356. package/src/content/BarcodeContent.tsx +59 -0
  357. package/src/content/BasicTableContent.tsx +139 -0
  358. package/src/content/ButtonContent.tsx +124 -0
  359. package/src/content/CalendarContent.tsx +178 -0
  360. package/src/content/CardContent.tsx +137 -0
  361. package/src/content/CarouselContent.tsx +197 -0
  362. package/src/content/ChipContent.tsx +209 -0
  363. package/src/content/ChipRowContent.tsx +133 -0
  364. package/src/content/CredentialOfferContent.tsx +229 -0
  365. package/src/content/DialContent.tsx +96 -0
  366. package/src/content/DividerContent.tsx +33 -0
  367. package/src/content/DonutChartContent.tsx +110 -0
  368. package/src/content/FormContent.tsx +158 -0
  369. package/src/content/FormFieldBridge.tsx +144 -0
  370. package/src/content/GaugeContent.tsx +66 -0
  371. package/src/content/GridLayoutContent.tsx +285 -0
  372. package/src/content/ImageContent.tsx +222 -0
  373. package/src/content/ListContent.tsx +98 -0
  374. package/src/content/LocationContent.tsx +135 -0
  375. package/src/content/MapContent.tsx +232 -0
  376. package/src/content/MultipleChoiceContent.tsx +74 -0
  377. package/src/content/OpenBadgePreviewContent.tsx +93 -0
  378. package/src/content/PhotoContent.tsx +110 -0
  379. package/src/content/PieChartContent.tsx +121 -0
  380. package/src/content/ProofPresentationContent.tsx +127 -0
  381. package/src/content/RadioButtonContent.tsx +129 -0
  382. package/src/content/RowContent.tsx +627 -0
  383. package/src/content/SectionContent.tsx +133 -0
  384. package/src/content/ShareEntryContent.tsx +109 -0
  385. package/src/content/SimulatedHint.tsx +20 -0
  386. package/src/content/SliderContent.tsx +56 -0
  387. package/src/content/SpacerContent.tsx +15 -0
  388. package/src/content/SpinnerContent.tsx +24 -0
  389. package/src/content/SubmitButtonContent.tsx +256 -0
  390. package/src/content/TextContent.tsx +140 -0
  391. package/src/content/TileContent.tsx +216 -0
  392. package/src/content/TimelineContent.tsx +91 -0
  393. package/src/content/TitleContent.tsx +49 -0
  394. package/src/content/VideoContent.tsx +131 -0
  395. package/src/content/WebLinkContent.tsx +87 -0
  396. package/src/content/index.ts +45 -0
  397. package/src/form-fields/CheckboxField.tsx +29 -0
  398. package/src/form-fields/DateField.native.tsx +123 -0
  399. package/src/form-fields/DateField.tsx +5 -0
  400. package/src/form-fields/DateField.web.tsx +32 -0
  401. package/src/form-fields/DropdownField.tsx +137 -0
  402. package/src/form-fields/MCQField.tsx +68 -0
  403. package/src/form-fields/RadioField.tsx +53 -0
  404. package/src/form-fields/SliderField.native.tsx +53 -0
  405. package/src/form-fields/SliderField.tsx +5 -0
  406. package/src/form-fields/SliderField.web.tsx +58 -0
  407. package/src/form-fields/SubmitButtonField.tsx +33 -0
  408. package/src/form-fields/TextField.tsx +49 -0
  409. package/src/form-fields/index.ts +12 -0
  410. package/src/i18n/WorkflowI18n.tsx +100 -0
  411. package/src/icons/WorkflowIcon.tsx +43 -0
  412. package/src/imageUriCache.ts +27 -0
  413. package/src/index.ts +96 -0
  414. package/src/modal/WorkflowModal.tsx +119 -0
  415. package/src/platform/platformName.ts +7 -0
  416. package/src/platform/platformName.web.ts +2 -0
  417. package/src/protocol/controlSnapshotStore.ts +25 -0
  418. package/src/protocol/useProtocolExchange.ts +185 -0
  419. package/src/registries/ContentRegistry.tsx +130 -0
  420. package/src/registries/FormFieldRegistry.tsx +83 -0
  421. package/src/render/NodeBoundary.tsx +69 -0
  422. package/src/render/RenderTree.tsx +63 -0
  423. package/src/render/WorkflowRenderContext.tsx +71 -0
  424. package/src/render/nodes.ts +104 -0
  425. package/src/responsive/ResponsiveProvider.tsx +103 -0
  426. package/src/responsive/index.ts +7 -0
  427. package/src/responsive/responsive.ts +67 -0
  428. package/src/style/resolveDisplayHintStyle.ts +153 -0
  429. package/src/theme/WorkflowTheme.tsx +162 -0
  430. package/src/utils/testable.ts +10 -0
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ /**
4
+ * Static map preview (Carto tiles around the item's coordinates, pin in the
5
+ * middle) that opens the maps app on tap. Coordinates come from
6
+ * `latitude`/`longitude`, `lat`/`lng`, or a `gps` / `coordinates` / `location`
7
+ * value (string, array or object).
8
+ */
9
+ declare const MapContent: React.FC<ContentProps>;
10
+ export default MapContent;
11
+ //# sourceMappingURL=MapContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MapContent.d.ts","sourceRoot":"","sources":["../../../src/content/MapContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAItC,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAuFlF;;;;;GAKG;AACH,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyFtC,CAAA;AA6CD,eAAe,UAAU,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const MultipleChoiceContent: React.FC<ContentProps>;
4
+ export default MultipleChoiceContent;
5
+ //# sourceMappingURL=MultipleChoiceContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultipleChoiceContent.d.ts","sourceRoot":"","sources":["../../../src/content/MultipleChoiceContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAElF,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA+DjD,CAAA;AAMD,eAAe,qBAAqB,CAAA"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ /**
4
+ * Preview card for an Open Badge signed onto a workflow artifact, with
5
+ * accept / decline actions. Ported from the CrMS designer (the wallet had no
6
+ * component for this type and rendered nothing).
7
+ *
8
+ * Props: `label` (accept button, default "Add to Wallet"), `artifact_key`
9
+ * (shown as a reference), `event` (default `accept`), `decline-event`
10
+ * (default `decline`).
11
+ */
12
+ declare const OpenBadgePreviewContent: React.FC<ContentProps>;
13
+ export default OpenBadgePreviewContent;
14
+ //# sourceMappingURL=OpenBadgePreviewContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OpenBadgePreviewContent.d.ts","sourceRoot":"","sources":["../../../src/content/OpenBadgePreviewContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAKlF;;;;;;;;GAQG;AACH,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA8DnD,CAAA;AAYD,eAAe,uBAAuB,CAAA"}
@@ -0,0 +1,57 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ /**
4
+ * Photo capture: a dashed "take a photo" button, then the thumbnail with a
5
+ * retake overlay. The camera itself is the app's (`adapter.capturePhoto()`:
6
+ * the wallet's full-screen camera, a sample image in the designer). The photo
7
+ * URI goes to `form-id` and to `actionID` / `event` as `{ uri }`.
8
+ */
9
+ declare const PhotoContent: React.FC<ContentProps>;
10
+ /** Shared by the photo and barcode controls (the wallet's dashed device button). */
11
+ export declare const local: {
12
+ dashedButton: {
13
+ borderWidth: number;
14
+ borderStyle: "dashed";
15
+ borderRadius: number;
16
+ padding: number;
17
+ alignItems: "center";
18
+ justifyContent: "center";
19
+ gap: number;
20
+ };
21
+ dashedLabel: {
22
+ fontSize: number;
23
+ fontWeight: "600";
24
+ color: string;
25
+ };
26
+ thumbnailContainer: {
27
+ borderRadius: number;
28
+ overflow: "hidden";
29
+ height: number;
30
+ };
31
+ thumbnail: {
32
+ width: "100%";
33
+ height: "100%";
34
+ };
35
+ retakeOverlay: {
36
+ position: "absolute";
37
+ bottom: number;
38
+ left: number;
39
+ right: number;
40
+ backgroundColor: string;
41
+ flexDirection: "row";
42
+ alignItems: "center";
43
+ justifyContent: "center";
44
+ paddingVertical: number;
45
+ gap: number;
46
+ };
47
+ retakeText: {
48
+ color: string;
49
+ fontSize: number;
50
+ fontWeight: "600";
51
+ };
52
+ disabled: {
53
+ opacity: number;
54
+ };
55
+ };
56
+ export default PhotoContent;
57
+ //# sourceMappingURL=PhotoContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhotoContent.d.ts","sourceRoot":"","sources":["../../../src/content/PhotoContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAKvC,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAKlF;;;;;GAKG;AACH,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2DxC,CAAA;AAED,oFAAoF;AACpF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BhB,CAAA;AAIF,eAAe,YAAY,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const PieChartContent: React.FC<ContentProps>;
4
+ export default PieChartContent;
5
+ //# sourceMappingURL=PieChartContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PieChartContent.d.ts","sourceRoot":"","sources":["../../../src/content/PieChartContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAoBlF,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA6F3C,CAAA;AAID,eAAe,eAAe,CAAA"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ /**
4
+ * Proof request card (CrMS contract): present fires `item.event` (default
5
+ * `present`), decline fires `decline-event` (default `decline`), `label` is the
6
+ * present button text, `requested` lists the requested fields.
7
+ *
8
+ * Moved from the wallet with credo replaced by the WalletAdapter
9
+ * (`useExchanges('proof')`, `acceptExchange` presents with automatically
10
+ * selected credentials).
11
+ */
12
+ declare const ProofPresentationContent: React.FC<ContentProps>;
13
+ export default ProofPresentationContent;
14
+ //# sourceMappingURL=ProofPresentationContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProofPresentationContent.d.ts","sourceRoot":"","sources":["../../../src/content/ProofPresentationContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAQlF;;;;;;;;GAQG;AACH,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAmGpD,CAAA;AAID,eAAe,wBAAwB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const RadioButtonContent: React.FC<ContentProps>;
4
+ export default RadioButtonContent;
5
+ //# sourceMappingURL=RadioButtonContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioButtonContent.d.ts","sourceRoot":"","sources":["../../../src/content/RadioButtonContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAwBlF,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgG9C,CAAA;AAMD,eAAe,kBAAkB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const RowContent: React.FC<ContentProps>;
4
+ export default RowContent;
5
+ //# sourceMappingURL=RowContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RowContent.d.ts","sourceRoot":"","sources":["../../../src/content/RowContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAA;AAE7D,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAoGlF,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAwgBtC,CAAA;AAID,eAAe,UAAU,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const SectionContent: React.FC<ContentProps>;
4
+ export default SectionContent;
5
+ //# sourceMappingURL=SectionContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionContent.d.ts","sourceRoot":"","sources":["../../../src/content/SectionContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAuBlF,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAqG1C,CAAA;AAID,eAAe,cAAc,CAAA"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ /** Plain-text report of the screen's answers (labels from the screen's items). */
4
+ export declare function buildShareReport(formData: Record<string, unknown>, content: Array<Record<string, unknown>>, strings: {
5
+ title: string;
6
+ responses: string;
7
+ noData: string;
8
+ }, now?: Date): string;
9
+ /**
10
+ * "Share" pill: turns the screen's answers into a PDF report and opens the
11
+ * share sheet (`adapter.exportPdf` + `adapter.share`).
12
+ */
13
+ declare const ShareEntryContent: React.FC<ContentProps>;
14
+ export default ShareEntryContent;
15
+ //# sourceMappingURL=ShareEntryContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShareEntryContent.d.ts","sourceRoot":"","sources":["../../../src/content/ShareEntryContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAkBlF,kFAAkF;AAClF,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EACvC,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAC7D,GAAG,GAAE,IAAiB,GACrB,MAAM,CAWR;AAED;;;GAGG;AACH,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyD7C,CAAA;AAID,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * One line under a device or credential control when the adapter is the
3
+ * simulated one (the designer), so nobody mistakes the preview for a real
4
+ * camera, scan or credential exchange. Never shown in the wallet.
5
+ */
6
+ export declare function SimulatedHint({ color }: {
7
+ color?: string;
8
+ }): import("react").JSX.Element;
9
+ //# sourceMappingURL=SimulatedHint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimulatedHint.d.ts","sourceRoot":"","sources":["../../../src/content/SimulatedHint.tsx"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,+BAO1D"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ interface SliderContentProps extends ContentProps {
4
+ formData?: Record<string, any>;
5
+ onFieldChange?: (name: string, value: any) => void;
6
+ FormFieldRegistry?: any;
7
+ }
8
+ declare const SliderContent: React.FC<SliderContentProps>;
9
+ export default SliderContent;
10
+ //# sourceMappingURL=SliderContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SliderContent.d.ts","sourceRoot":"","sources":["../../../src/content/SliderContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAGlF,UAAU,kBAAmB,SAAQ,YAAY;IAC/C,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,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAuC/C,CAAA;AAID,eAAe,aAAa,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const SpacerContent: React.FC<ContentProps>;
4
+ export default SpacerContent;
5
+ //# sourceMappingURL=SpacerContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpacerContent.d.ts","sourceRoot":"","sources":["../../../src/content/SpacerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAGlF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAIzC,CAAA;AAID,eAAe,aAAa,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const SpinnerContent: React.FC<ContentProps>;
4
+ export default SpinnerContent;
5
+ //# sourceMappingURL=SpinnerContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpinnerContent.d.ts","sourceRoot":"","sources":["../../../src/content/SpinnerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAGlF,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAa1C,CAAA;AAKD,eAAe,cAAc,CAAA"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ interface SubmitButtonContentProps extends ContentProps {
4
+ formData?: Record<string, any>;
5
+ }
6
+ /** Uses the schema form when the item declares an `input_schema` with fields. */
7
+ declare const SubmitButtonEntry: React.FC<SubmitButtonContentProps>;
8
+ export default SubmitButtonEntry;
9
+ //# sourceMappingURL=SubmitButtonContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmitButtonContent.d.ts","sourceRoot":"","sources":["../../../src/content/SubmitButtonContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+C,MAAM,OAAO,CAAA;AAInE,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAKlF,UAAU,wBAAyB,SAAQ,YAAY;IACrD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAyOD,iFAAiF;AACjF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAKvD,CAAA;AAIH,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const TextContent: React.FC<ContentProps>;
4
+ export default TextContent;
5
+ //# sourceMappingURL=TextContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextContent.d.ts","sourceRoot":"","sources":["../../../src/content/TextContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAIlF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA0HvC,CAAA;AASD,eAAe,WAAW,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const TileContent: React.FC<ContentProps>;
4
+ export default TileContent;
5
+ //# sourceMappingURL=TileContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TileContent.d.ts","sourceRoot":"","sources":["../../../src/content/TileContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAYlF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAoMvC,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 TimelineContent: React.FC<ContentProps>;
4
+ export default TimelineContent;
5
+ //# sourceMappingURL=TimelineContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimelineContent.d.ts","sourceRoot":"","sources":["../../../src/content/TimelineContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAqBlF,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAmD3C,CAAA;AAeD,eAAe,eAAe,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const TitleContent: React.FC<ContentProps>;
4
+ export default TitleContent;
5
+ //# sourceMappingURL=TitleContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TitleContent.d.ts","sourceRoot":"","sources":["../../../src/content/TitleContent.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,CAsCxC,CAAA;AAID,eAAe,YAAY,CAAA"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ /**
4
+ * Video with a poster and play button. The player is the app's
5
+ * (`adapter.VideoPlayer`, the wallet's expo-video view); on the web without
6
+ * one, the browser's `<video>` plays it.
7
+ */
8
+ declare const VideoContent: React.FC<ContentProps>;
9
+ export default VideoContent;
10
+ //# sourceMappingURL=VideoContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VideoContent.d.ts","sourceRoot":"","sources":["../../../src/content/VideoContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAKhD,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAUlF;;;;GAIG;AACH,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2ExC,CAAA;AAmCD,eAAe,YAAY,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type ContentProps } from '../registries/ContentRegistry.js';
3
+ declare const WebLinkContent: React.FC<ContentProps>;
4
+ export default WebLinkContent;
5
+ //# sourceMappingURL=WebLinkContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebLinkContent.d.ts","sourceRoot":"","sources":["../../../src/content/WebLinkContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,kCAA+B,CAAA;AAIlF,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA6D1C,CAAA;AAgBD,eAAe,cAAc,CAAA"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Registers the layout, text, data, form and action components with ContentRegistry.
3
+ * Imported for its side effects by the package entry point.
4
+ */
5
+ import './TitleContent.js';
6
+ import './TextContent.js';
7
+ import './DividerContent.js';
8
+ import './SpacerContent.js';
9
+ import './BadgeContent.js';
10
+ import './ChipContent.js';
11
+ import './ChipRowContent.js';
12
+ import './ImageContent.js';
13
+ import './RowContent.js';
14
+ import './SectionContent.js';
15
+ import './CardContent.js';
16
+ import './GridLayoutContent.js';
17
+ import './ListContent.js';
18
+ import './CarouselContent.js';
19
+ import './TileContent.js';
20
+ import './BasicTableContent.js';
21
+ import './TimelineContent.js';
22
+ import './BarChartContent.js';
23
+ import './PieChartContent.js';
24
+ import './DonutChartContent.js';
25
+ import './GaugeContent.js';
26
+ import './DialContent.js';
27
+ import './FormContent.js';
28
+ import './FormFieldBridge.js';
29
+ import './MultipleChoiceContent.js';
30
+ import './RadioButtonContent.js';
31
+ import './SliderContent.js';
32
+ import './SubmitButtonContent.js';
33
+ import './ButtonContent.js';
34
+ import './SpinnerContent.js';
35
+ import './WebLinkContent.js';
36
+ import './OpenBadgePreviewContent.js';
37
+ import './CredentialOfferContent.js';
38
+ import './ProofPresentationContent.js';
39
+ import './ShareEntryContent.js';
40
+ import './PhotoContent.js';
41
+ import './BarcodeContent.js';
42
+ import './LocationContent.js';
43
+ import './MapContent.js';
44
+ import './VideoContent.js';
45
+ import './CalendarContent.js';
46
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/content/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,mBAAgB,CAAA;AACvB,OAAO,kBAAe,CAAA;AACtB,OAAO,qBAAkB,CAAA;AACzB,OAAO,oBAAiB,CAAA;AACxB,OAAO,mBAAgB,CAAA;AACvB,OAAO,kBAAe,CAAA;AACtB,OAAO,qBAAkB,CAAA;AACzB,OAAO,mBAAgB,CAAA;AACvB,OAAO,iBAAc,CAAA;AACrB,OAAO,qBAAkB,CAAA;AACzB,OAAO,kBAAe,CAAA;AACtB,OAAO,wBAAqB,CAAA;AAC5B,OAAO,kBAAe,CAAA;AACtB,OAAO,sBAAmB,CAAA;AAC1B,OAAO,kBAAe,CAAA;AACtB,OAAO,wBAAqB,CAAA;AAC5B,OAAO,sBAAmB,CAAA;AAC1B,OAAO,sBAAmB,CAAA;AAC1B,OAAO,sBAAmB,CAAA;AAC1B,OAAO,wBAAqB,CAAA;AAC5B,OAAO,mBAAgB,CAAA;AACvB,OAAO,kBAAe,CAAA;AACtB,OAAO,kBAAe,CAAA;AACtB,OAAO,sBAAmB,CAAA;AAC1B,OAAO,4BAAyB,CAAA;AAChC,OAAO,yBAAsB,CAAA;AAC7B,OAAO,oBAAiB,CAAA;AACxB,OAAO,0BAAuB,CAAA;AAC9B,OAAO,oBAAiB,CAAA;AACxB,OAAO,qBAAkB,CAAA;AACzB,OAAO,qBAAkB,CAAA;AACzB,OAAO,8BAA2B,CAAA;AAClC,OAAO,6BAA0B,CAAA;AACjC,OAAO,+BAA4B,CAAA;AACnC,OAAO,wBAAqB,CAAA;AAC5B,OAAO,mBAAgB,CAAA;AACvB,OAAO,qBAAkB,CAAA;AACzB,OAAO,sBAAmB,CAAA;AAC1B,OAAO,iBAAc,CAAA;AACrB,OAAO,mBAAgB,CAAA;AACvB,OAAO,sBAAmB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type FormFieldProps } from '../registries/FormFieldRegistry.js';
3
+ declare const CheckboxField: React.FC<FormFieldProps>;
4
+ export default CheckboxField;
5
+ //# sourceMappingURL=CheckboxField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxField.d.ts","sourceRoot":"","sources":["../../../src/form-fields/CheckboxField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,oCAAiC,CAAA;AAExF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiB3C,CAAA;AAKD,eAAe,aAAa,CAAA"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Fallback for bundlers without platform extensions (and for type checking).
3
+ * Metro picks DateField.native.tsx; web bundlers pick DateField.web.tsx.
4
+ */
5
+ export { default } from './DateField.web.js';
6
+ //# sourceMappingURL=DateField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../src/form-fields/DateField.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAiB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type FormFieldProps } from '../registries/FormFieldRegistry.js';
3
+ declare const DateField: React.FC<FormFieldProps>;
4
+ export default DateField;
5
+ //# sourceMappingURL=DateField.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateField.native.d.ts","sourceRoot":"","sources":["../../../src/form-fields/DateField.native.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAIvC,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,oCAAiC,CAAA;AAGxF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAyEvC,CAAA;AAyCD,eAAe,SAAS,CAAA"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { type FormFieldProps } from '../registries/FormFieldRegistry.js';
3
+ /**
4
+ * Web version of the date field (the native picker has no web build).
5
+ * Accepts and emits `YYYY-MM-DD`, like the native field.
6
+ */
7
+ declare const DateField: React.FC<FormFieldProps>;
8
+ export default DateField;
9
+ //# sourceMappingURL=DateField.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateField.web.d.ts","sourceRoot":"","sources":["../../../src/form-fields/DateField.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,oCAAiC,CAAA;AAGxF;;;GAGG;AACH,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAkBvC,CAAA;AAGD,eAAe,SAAS,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type FormFieldProps } from '../registries/FormFieldRegistry.js';
3
+ declare const DropdownField: React.FC<FormFieldProps>;
4
+ export default DropdownField;
5
+ //# sourceMappingURL=DropdownField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropdownField.d.ts","sourceRoot":"","sources":["../../../src/form-fields/DropdownField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAA;AAIxD,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,oCAAiC,CAAA;AAIxF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA8F3C,CAAA;AAkCD,eAAe,aAAa,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type FormFieldProps } from '../registries/FormFieldRegistry.js';
3
+ declare const MCQField: React.FC<FormFieldProps>;
4
+ export default MCQField;
5
+ //# sourceMappingURL=MCQField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MCQField.d.ts","sourceRoot":"","sources":["../../../src/form-fields/MCQField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,oCAAiC,CAAA;AAExF,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA8BtC,CAAA;AAiCD,eAAe,QAAQ,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type FormFieldProps } from '../registries/FormFieldRegistry.js';
3
+ declare const RadioField: React.FC<FormFieldProps>;
4
+ export default RadioField;
5
+ //# sourceMappingURL=RadioField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioField.d.ts","sourceRoot":"","sources":["../../../src/form-fields/RadioField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,oCAAiC,CAAA;AAQxF,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAqCxC,CAAA;AAID,eAAe,UAAU,CAAA"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Fallback for bundlers without platform extensions (and for type checking).
3
+ * Metro picks SliderField.native.tsx; web bundlers pick SliderField.web.tsx.
4
+ */
5
+ export { default } from './SliderField.web.js';
6
+ //# sourceMappingURL=SliderField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SliderField.d.ts","sourceRoot":"","sources":["../../../src/form-fields/SliderField.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAmB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type FormFieldProps } from '../registries/FormFieldRegistry.js';
3
+ declare const SliderField: React.FC<FormFieldProps>;
4
+ export default SliderField;
5
+ //# sourceMappingURL=SliderField.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SliderField.native.d.ts","sourceRoot":"","sources":["../../../src/form-fields/SliderField.native.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,oCAAiC,CAAA;AAExF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAoCzC,CAAA;AAWD,eAAe,WAAW,CAAA"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { type FormFieldProps } from '../registries/FormFieldRegistry.js';
3
+ /**
4
+ * Web version of the slider: the browser's own range input. The community
5
+ * slider ships CommonJS that pulls a second copy of react-native-web into web
6
+ * bundles (~400 kB). Same behaviour as the native field: the label follows the
7
+ * thumb live, and the value is committed when the user lets go.
8
+ */
9
+ declare const SliderField: React.FC<FormFieldProps>;
10
+ export default SliderField;
11
+ //# sourceMappingURL=SliderField.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SliderField.web.d.ts","sourceRoot":"","sources":["../../../src/form-fields/SliderField.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,oCAAiC,CAAA;AAExF;;;;;GAKG;AACH,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAqCzC,CAAA;AAUD,eAAe,WAAW,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type FormFieldProps } from '../registries/FormFieldRegistry.js';
3
+ declare const SubmitButtonField: React.FC<FormFieldProps>;
4
+ export default SubmitButtonField;
5
+ //# sourceMappingURL=SubmitButtonField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmitButtonField.d.ts","sourceRoot":"","sources":["../../../src/form-fields/SubmitButtonField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,oCAAiC,CAAA;AAExF,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAoB/C,CAAA;AAID,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type FormFieldProps } from '../registries/FormFieldRegistry.js';
3
+ declare const TextField: React.FC<FormFieldProps>;
4
+ export default TextField;
5
+ //# sourceMappingURL=TextField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/form-fields/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,oCAAiC,CAAA;AAGxF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAkCvC,CAAA;AAQD,eAAe,SAAS,CAAA"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Registers the form-field renderers with FormFieldRegistry.
3
+ * Imported for its side effects by the package entry point.
4
+ */
5
+ import './TextField.js';
6
+ import './CheckboxField.js';
7
+ import './RadioField.js';
8
+ import './MCQField.js';
9
+ import './DateField';
10
+ import './SliderField';
11
+ import './DropdownField.js';
12
+ import './SubmitButtonField.js';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/form-fields/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,gBAAa,CAAA;AACpB,OAAO,oBAAiB,CAAA;AACxB,OAAO,iBAAc,CAAA;AACrB,OAAO,eAAY,CAAA;AACnB,OAAO,aAAa,CAAA;AACpB,OAAO,eAAe,CAAA;AACtB,OAAO,oBAAiB,CAAA;AACxB,OAAO,wBAAqB,CAAA"}