@drawbridge/components 0.1.36 → 0.1.37

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 (338) hide show
  1. package/components/styles.css +355 -68
  2. package/dist/advertisement.js +20 -15
  3. package/dist/advertisement.mjs +20 -15
  4. package/dist/bridge/advertisements.js +2 -4
  5. package/dist/bridge/advertisements.mjs +3 -5
  6. package/dist/bridge/fields.js +6 -89
  7. package/dist/bridge/fields.mjs +7 -89
  8. package/dist/bridge/form-subdomain-embed.js +1 -5
  9. package/dist/bridge/form-subdomain-embed.mjs +1 -5
  10. package/dist/bridge/form-subdomain-header.js +14 -21
  11. package/dist/bridge/form-subdomain-header.mjs +14 -20
  12. package/dist/bridge/form-subdomain-issue.js +8 -17
  13. package/dist/bridge/form-subdomain-issue.mjs +8 -17
  14. package/dist/bridge/form-subdomain-missions.js +52 -58
  15. package/dist/bridge/form-subdomain-missions.mjs +54 -60
  16. package/dist/bridge/form-subdomain.js +94 -223
  17. package/dist/bridge/form-subdomain.mjs +96 -222
  18. package/dist/bridge/lib/entry.js +6 -61
  19. package/dist/bridge/lib/entry.mjs +5 -51
  20. package/dist/bridge/lib/order.js +0 -23
  21. package/dist/bridge/lib/order.mjs +0 -20
  22. package/dist/bridge/template-layout.js +2 -5
  23. package/dist/bridge/template-layout.mjs +3 -6
  24. package/dist/bridge/template-modal.js +15 -82
  25. package/dist/bridge/template-modal.mjs +16 -83
  26. package/dist/bridge/template-preview.js +208 -0
  27. package/dist/bridge/template-preview.mjs +173 -0
  28. package/dist/bridge/template-subdomain-gallery.js +75 -126
  29. package/dist/bridge/template-subdomain-gallery.mjs +75 -122
  30. package/dist/bridge/template-subdomain.js +14 -16
  31. package/dist/bridge/template-subdomain.mjs +15 -17
  32. package/dist/dashboard/avatar.js +0 -5
  33. package/dist/dashboard/avatar.mjs +0 -5
  34. package/dist/dashboard/card-affiliate.js +2 -3
  35. package/dist/dashboard/card-affiliate.mjs +2 -3
  36. package/dist/dashboard/card-campaign-switch.js +9 -34
  37. package/dist/dashboard/card-campaign-switch.mjs +8 -32
  38. package/dist/dashboard/card-connection.js +91 -51
  39. package/dist/dashboard/card-connection.mjs +89 -50
  40. package/dist/dashboard/card-order.js +14 -6
  41. package/dist/dashboard/card-order.mjs +14 -6
  42. package/dist/dashboard/card-section.js +26 -69
  43. package/dist/dashboard/card-section.mjs +26 -65
  44. package/dist/dashboard/card-tile.js +35 -3
  45. package/dist/dashboard/card-tile.mjs +34 -3
  46. package/dist/dashboard/device.js +95 -0
  47. package/dist/dashboard/device.mjs +72 -0
  48. package/dist/dashboard/drawer-subscription.js +14 -52
  49. package/dist/dashboard/drawer-subscription.mjs +14 -52
  50. package/dist/dashboard/drawer.js +3 -20
  51. package/dist/dashboard/drawer.mjs +4 -21
  52. package/dist/dashboard/dropdown.js +2 -6
  53. package/dist/dashboard/dropdown.mjs +2 -6
  54. package/dist/dashboard/form-admin-subscription-custom.js +8 -72
  55. package/dist/dashboard/form-admin-subscription-custom.mjs +8 -72
  56. package/dist/dashboard/form-ai.js +148 -0
  57. package/dist/dashboard/form-ai.mjs +148 -1
  58. package/dist/dashboard/form-filters-analytics.js +62 -85
  59. package/dist/dashboard/form-filters-analytics.mjs +61 -85
  60. package/dist/dashboard/form-organization-brand.js +13 -30
  61. package/dist/dashboard/form-organization-brand.mjs +13 -30
  62. package/dist/dashboard/form-organization-campaign-advertisement.js +112 -38
  63. package/dist/dashboard/form-organization-campaign-advertisement.mjs +112 -38
  64. package/dist/dashboard/form-organization-campaign-agreement.js +210 -402
  65. package/dist/dashboard/form-organization-campaign-agreement.mjs +211 -398
  66. package/dist/dashboard/form-organization-campaign-field-list.js +425 -0
  67. package/dist/dashboard/form-organization-campaign-field-list.mjs +396 -0
  68. package/dist/dashboard/form-organization-campaign-field-number.js +7 -48
  69. package/dist/dashboard/form-organization-campaign-field-number.mjs +7 -48
  70. package/dist/dashboard/form-organization-campaign-field-select.js +4 -15
  71. package/dist/dashboard/form-organization-campaign-field-select.mjs +4 -15
  72. package/dist/dashboard/form-organization-campaign-field-text.js +6 -46
  73. package/dist/dashboard/form-organization-campaign-field-text.mjs +6 -46
  74. package/dist/dashboard/form-organization-campaign-field-textarea.js +13 -22
  75. package/dist/dashboard/form-organization-campaign-field-textarea.mjs +13 -22
  76. package/dist/dashboard/form-organization-campaign-integration-age.js +35 -2
  77. package/dist/dashboard/form-organization-campaign-integration-age.mjs +35 -2
  78. package/dist/dashboard/form-organization-campaign-integration-geocode.js +1 -4
  79. package/dist/dashboard/form-organization-campaign-integration-geocode.mjs +1 -4
  80. package/dist/dashboard/form-organization-campaign-page-embed.js +1 -1
  81. package/dist/dashboard/form-organization-campaign-page-embed.mjs +1 -1
  82. package/dist/dashboard/form-organization-campaign-page-preview.js +2 -1
  83. package/dist/dashboard/form-organization-campaign-page-preview.mjs +2 -1
  84. package/dist/dashboard/form-organization-campaign-page-qr.js +2 -2
  85. package/dist/dashboard/form-organization-campaign-page-qr.mjs +2 -2
  86. package/dist/dashboard/form-organization-campaign-page-share.js +5 -5
  87. package/dist/dashboard/form-organization-campaign-page-share.mjs +5 -5
  88. package/dist/dashboard/form-organization-campaign-page-slug.js +3 -2
  89. package/dist/dashboard/form-organization-campaign-page-slug.mjs +3 -2
  90. package/dist/dashboard/form-organization-campaign-page.js +265 -168
  91. package/dist/dashboard/form-organization-campaign-page.mjs +266 -170
  92. package/dist/dashboard/form-organization-campaign-section.js +107 -125
  93. package/dist/dashboard/form-organization-campaign-section.mjs +107 -121
  94. package/dist/dashboard/form-organization-campaign.js +9 -119
  95. package/dist/dashboard/form-organization-campaign.mjs +9 -118
  96. package/dist/dashboard/form-organization-file-frame.js +1 -7
  97. package/dist/dashboard/form-organization-file-frame.mjs +1 -7
  98. package/dist/dashboard/form-organization-workflow.js +545 -589
  99. package/dist/dashboard/form-organization-workflow.mjs +545 -590
  100. package/dist/dashboard/form-organization.js +0 -22
  101. package/dist/dashboard/form-organization.mjs +0 -22
  102. package/dist/dashboard/form-verify-prize.js +34 -114
  103. package/dist/dashboard/form-verify-prize.mjs +34 -111
  104. package/dist/dashboard/google.js +1 -8
  105. package/dist/dashboard/google.mjs +1 -8
  106. package/dist/dashboard/input-array.js +0 -2
  107. package/dist/dashboard/input-array.mjs +0 -2
  108. package/dist/dashboard/input-combobox.js +9 -0
  109. package/dist/dashboard/input-combobox.mjs +9 -0
  110. package/dist/dashboard/input-date.js +8 -3
  111. package/dist/dashboard/input-date.mjs +8 -3
  112. package/dist/dashboard/input-editor.js +6 -17
  113. package/dist/dashboard/input-editor.mjs +6 -17
  114. package/dist/dashboard/input-fields.js +437 -287
  115. package/dist/dashboard/input-fields.mjs +436 -287
  116. package/dist/dashboard/input-file.js +2 -70
  117. package/dist/dashboard/input-file.mjs +2 -70
  118. package/dist/dashboard/input-font.js +55 -64
  119. package/dist/dashboard/input-font.mjs +55 -64
  120. package/dist/dashboard/input-resource.js +1 -4
  121. package/dist/dashboard/input-resource.mjs +1 -4
  122. package/dist/dashboard/item-row.js +92 -0
  123. package/dist/dashboard/item-row.mjs +63 -0
  124. package/dist/dashboard/lib/features.js +1 -1
  125. package/dist/dashboard/lib/features.mjs +1 -1
  126. package/dist/dashboard/lib/item-list.js +15 -0
  127. package/dist/dashboard/lib/item-list.mjs +14 -0
  128. package/dist/dashboard/lib/rail.js +17 -16
  129. package/dist/dashboard/lib/rail.mjs +16 -15
  130. package/dist/dashboard/lib/sms.js +2 -8
  131. package/dist/dashboard/lib/sms.mjs +1 -6
  132. package/dist/dashboard/list-resource.js +0 -2
  133. package/dist/dashboard/list-resource.mjs +0 -2
  134. package/dist/dashboard/menu.js +5 -54
  135. package/dist/dashboard/menu.mjs +5 -53
  136. package/dist/dashboard/modal.js +4 -19
  137. package/dist/dashboard/modal.mjs +5 -20
  138. package/dist/dashboard/order-sections.js +0 -4
  139. package/dist/dashboard/order-sections.mjs +0 -4
  140. package/dist/dashboard/preview.js +324 -838
  141. package/dist/dashboard/preview.mjs +324 -826
  142. package/dist/dashboard/provider-ui.js +12 -20
  143. package/dist/dashboard/provider-ui.mjs +13 -21
  144. package/dist/dashboard/recharts.js +28 -53
  145. package/dist/dashboard/recharts.mjs +28 -53
  146. package/dist/dashboard/swatch.js +0 -35
  147. package/dist/dashboard/swatch.mjs +0 -31
  148. package/dist/dashboard/table-contacts.js +10 -6
  149. package/dist/dashboard/table-contacts.mjs +10 -6
  150. package/dist/dashboard/table.js +3 -10
  151. package/dist/dashboard/table.mjs +3 -9
  152. package/dist/dashboard/template-dashboard.js +21 -13
  153. package/dist/dashboard/template-dashboard.mjs +21 -12
  154. package/dist/dashboard/template-rail.js +126 -198
  155. package/dist/dashboard/template-rail.mjs +125 -196
  156. package/dist/dashboard/template-socket.js +12 -0
  157. package/dist/dashboard/template-socket.mjs +12 -0
  158. package/dist/dashboard/template-ui.js +11 -20
  159. package/dist/dashboard/template-ui.mjs +13 -22
  160. package/dist/input-checkbox.js +1 -7
  161. package/dist/input-checkbox.mjs +1 -7
  162. package/dist/input-name.js +3 -3
  163. package/dist/input-name.mjs +3 -3
  164. package/dist/input-select.js +1 -3
  165. package/dist/input-select.mjs +1 -3
  166. package/dist/provider-font.js +3 -4
  167. package/dist/provider-font.mjs +3 -4
  168. package/dist/shared/badge.js +0 -15
  169. package/dist/shared/badge.mjs +0 -11
  170. package/dist/shared/carousel.js +7 -11
  171. package/dist/shared/carousel.mjs +7 -11
  172. package/dist/shared/lib/campaign.js +9 -3
  173. package/dist/shared/lib/campaign.mjs +9 -3
  174. package/dist/shared/lib/helpers.js +0 -24
  175. package/dist/shared/lib/helpers.mjs +0 -22
  176. package/dist/shared/lib/video.js +0 -6
  177. package/dist/shared/lib/video.mjs +0 -5
  178. package/dist/shared/sortable.js +10 -27
  179. package/dist/shared/sortable.mjs +10 -27
  180. package/dist/shared/tabs.js +1 -1
  181. package/dist/shared/tabs.mjs +1 -1
  182. package/dist/video.js +9 -127
  183. package/dist/video.mjs +11 -125
  184. package/package.json +20 -176
  185. package/types/bridge/fields.d.ts +1 -6
  186. package/types/bridge/form-subdomain-missions.d.ts +0 -2
  187. package/types/bridge/form-subdomain.d.ts +3 -62
  188. package/types/bridge/lib/entry.d.ts +7 -44
  189. package/types/bridge/lib/order.d.ts +2 -13
  190. package/types/bridge/subdomain-content.d.ts +0 -1
  191. package/types/bridge/template-preview.d.ts +10 -0
  192. package/types/bridge/template-subdomain-gallery.d.ts +1 -13
  193. package/types/dashboard/card-campaign-switch.d.ts +1 -20
  194. package/types/dashboard/card-connection.d.ts +8 -0
  195. package/types/dashboard/card-order.d.ts +2 -2
  196. package/types/dashboard/card-section.d.ts +1 -9
  197. package/types/dashboard/card-tile.d.ts +9 -4
  198. package/types/dashboard/device.d.ts +12 -0
  199. package/types/dashboard/drawer.d.ts +0 -3
  200. package/types/dashboard/form-ai.d.ts +17 -0
  201. package/types/dashboard/form-filters-analytics.d.ts +14 -0
  202. package/types/dashboard/form-organization-brand.d.ts +0 -3
  203. package/types/dashboard/form-organization-campaign-agreement.d.ts +10 -53
  204. package/types/dashboard/form-organization-campaign-field-list.d.ts +36 -0
  205. package/types/dashboard/form-organization-campaign-field-number.d.ts +1 -4
  206. package/types/dashboard/form-organization-campaign-field-select.d.ts +1 -6
  207. package/types/dashboard/form-organization-campaign-field-text.d.ts +1 -5
  208. package/types/dashboard/form-organization-campaign-field-textarea.d.ts +1 -4
  209. package/types/dashboard/form-organization-campaign-integration-age.d.ts +1 -2
  210. package/types/dashboard/form-organization-campaign-integration-geocode.d.ts +0 -2
  211. package/types/dashboard/form-organization-campaign-page.d.ts +15 -9
  212. package/types/dashboard/form-organization-campaign-section.d.ts +8 -24
  213. package/types/dashboard/form-organization-campaign.d.ts +0 -3
  214. package/types/dashboard/form-organization-workflow.d.ts +4 -3
  215. package/types/dashboard/form-organization.d.ts +2 -2
  216. package/types/dashboard/form-verify-prize.d.ts +3 -30
  217. package/types/dashboard/input-combobox.d.ts +2 -0
  218. package/types/dashboard/input-date.d.ts +2 -0
  219. package/types/dashboard/input-editor.d.ts +0 -9
  220. package/types/dashboard/input-fields.d.ts +5 -8
  221. package/types/dashboard/input-file.d.ts +0 -4
  222. package/types/dashboard/input-resource.d.ts +0 -1
  223. package/types/dashboard/item-row.d.ts +25 -0
  224. package/types/dashboard/lib/item-list.d.ts +5 -10
  225. package/types/dashboard/lib/rail.d.ts +1 -0
  226. package/types/dashboard/lib/sms.d.ts +0 -7
  227. package/types/dashboard/modal.d.ts +1 -3
  228. package/types/dashboard/preview.d.ts +10 -65
  229. package/types/dashboard/recharts.d.ts +0 -3
  230. package/types/dashboard/swatch.d.ts +0 -4
  231. package/types/dashboard/template-dashboard.d.ts +2 -3
  232. package/types/input-select.d.ts +0 -2
  233. package/types/shared/button.d.ts +1 -1
  234. package/types/shared/lib/helpers.d.ts +1 -22
  235. package/types/shared/lib/video.d.ts +0 -3
  236. package/types/shared/sortable.d.ts +0 -6
  237. package/types/video.d.ts +2 -18
  238. package/dist/bridge/form-subdomain-agreement.js +0 -165
  239. package/dist/bridge/form-subdomain-agreement.mjs +0 -132
  240. package/dist/dashboard/campaign-form.js +0 -1798
  241. package/dist/dashboard/campaign-form.mjs +0 -1769
  242. package/dist/dashboard/card-campaign-agreement.js +0 -172
  243. package/dist/dashboard/card-campaign-agreement.mjs +0 -139
  244. package/dist/dashboard/card-shortcut.js +0 -181
  245. package/dist/dashboard/card-shortcut.mjs +0 -152
  246. package/dist/dashboard/document-blocks.js +0 -305
  247. package/dist/dashboard/document-blocks.mjs +0 -270
  248. package/dist/dashboard/form-organization-campaign-advertisements.js +0 -374
  249. package/dist/dashboard/form-organization-campaign-advertisements.mjs +0 -345
  250. package/dist/dashboard/form-organization-campaign-design.js +0 -258
  251. package/dist/dashboard/form-organization-campaign-design.mjs +0 -223
  252. package/dist/dashboard/form-organization-campaign-field-item.js +0 -585
  253. package/dist/dashboard/form-organization-campaign-field-item.mjs +0 -552
  254. package/dist/dashboard/form-organization-campaign-field-skill.js +0 -359
  255. package/dist/dashboard/form-organization-campaign-field-skill.mjs +0 -330
  256. package/dist/dashboard/form-organization-campaign-footer.js +0 -178
  257. package/dist/dashboard/form-organization-campaign-footer.mjs +0 -149
  258. package/dist/dashboard/form-reposition.js +0 -396
  259. package/dist/dashboard/form-reposition.mjs +0 -359
  260. package/dist/dashboard/form-support.js +0 -189
  261. package/dist/dashboard/form-support.mjs +0 -160
  262. package/dist/dashboard/form-tests.js +0 -683
  263. package/dist/dashboard/form-tests.mjs +0 -646
  264. package/dist/dashboard/lib/ab-tests.js +0 -130
  265. package/dist/dashboard/lib/ab-tests.mjs +0 -94
  266. package/dist/dashboard/lib/focus.js +0 -93
  267. package/dist/dashboard/lib/focus.mjs +0 -69
  268. package/dist/dashboard/lib/form-page.js +0 -203
  269. package/dist/dashboard/lib/form-page.mjs +0 -155
  270. package/dist/dashboard/template-design.js +0 -564
  271. package/dist/dashboard/template-design.mjs +0 -531
  272. package/dist/dashboard/template-test-page.js +0 -436
  273. package/dist/dashboard/template-test-page.mjs +0 -407
  274. package/dist/dashboard/template-tests.js +0 -141
  275. package/dist/dashboard/template-tests.mjs +0 -112
  276. package/dist/dashboard/template-variant.js +0 -185
  277. package/dist/dashboard/template-variant.mjs +0 -156
  278. package/dist/icons/arrow-down-long.js +0 -47
  279. package/dist/icons/arrow-down-long.mjs +0 -28
  280. package/dist/icons/arrows-pointing-out.js +0 -46
  281. package/dist/icons/arrows-pointing-out.mjs +0 -27
  282. package/dist/icons/beaker.js +0 -46
  283. package/dist/icons/beaker.mjs +0 -27
  284. package/dist/icons/identification.js +0 -46
  285. package/dist/icons/identification.mjs +0 -27
  286. package/dist/icons/lifebuoy.js +0 -46
  287. package/dist/icons/lifebuoy.mjs +0 -27
  288. package/dist/icons/rectangle-group.js +0 -46
  289. package/dist/icons/rectangle-group.mjs +0 -27
  290. package/dist/icons/rectangle-stack.js +0 -46
  291. package/dist/icons/rectangle-stack.mjs +0 -27
  292. package/dist/icons/shopping-bag.js +0 -46
  293. package/dist/icons/shopping-bag.mjs +0 -27
  294. package/dist/icons/swatch.js +0 -46
  295. package/dist/icons/swatch.mjs +0 -27
  296. package/dist/icons/window.js +0 -46
  297. package/dist/icons/window.mjs +0 -27
  298. package/dist/icons/zoom-in.js +0 -46
  299. package/dist/icons/zoom-in.mjs +0 -27
  300. package/dist/input-answer.js +0 -60
  301. package/dist/input-answer.mjs +0 -27
  302. package/dist/shared/document-pieces.js +0 -295
  303. package/dist/shared/document-pieces.mjs +0 -260
  304. package/types/bridge/form-subdomain-agreement.d.ts +0 -27
  305. package/types/dashboard/campaign-form.d.ts +0 -42
  306. package/types/dashboard/card-campaign-agreement.d.ts +0 -26
  307. package/types/dashboard/card-shortcut.d.ts +0 -38
  308. package/types/dashboard/document-blocks.d.ts +0 -14
  309. package/types/dashboard/form-organization-campaign-advertisements.d.ts +0 -15
  310. package/types/dashboard/form-organization-campaign-design.d.ts +0 -46
  311. package/types/dashboard/form-organization-campaign-field-item.d.ts +0 -36
  312. package/types/dashboard/form-organization-campaign-field-skill.d.ts +0 -36
  313. package/types/dashboard/form-organization-campaign-footer.d.ts +0 -23
  314. package/types/dashboard/form-reposition.d.ts +0 -29
  315. package/types/dashboard/form-support.d.ts +0 -14
  316. package/types/dashboard/form-tests.d.ts +0 -78
  317. package/types/dashboard/lib/ab-tests.d.ts +0 -50
  318. package/types/dashboard/lib/escape.d.ts +0 -4
  319. package/types/dashboard/lib/focus.d.ts +0 -16
  320. package/types/dashboard/lib/form-page.d.ts +0 -25
  321. package/types/dashboard/template-design.d.ts +0 -30
  322. package/types/dashboard/template-test-page.d.ts +0 -69
  323. package/types/dashboard/template-tests.d.ts +0 -30
  324. package/types/dashboard/template-variant.d.ts +0 -18
  325. package/types/icons/arrow-down-long.d.ts +0 -5
  326. package/types/icons/arrows-pointing-out.d.ts +0 -5
  327. package/types/icons/beaker.d.ts +0 -5
  328. package/types/icons/identification.d.ts +0 -5
  329. package/types/icons/lifebuoy.d.ts +0 -5
  330. package/types/icons/rectangle-group.d.ts +0 -5
  331. package/types/icons/rectangle-stack.d.ts +0 -5
  332. package/types/icons/shopping-bag.d.ts +0 -5
  333. package/types/icons/swatch.d.ts +0 -5
  334. package/types/icons/window.d.ts +0 -5
  335. package/types/icons/zoom-in.d.ts +0 -5
  336. package/types/input-answer.d.ts +0 -15
  337. package/types/shared/document-pieces.d.ts +0 -34
  338. package/types/shared/lib/motion.d.ts +0 -2
@@ -1,14 +0,0 @@
1
- import { Node } from '@tiptap/core';
2
- import { DocumentData } from '../shared/document-pieces';
3
- import { InputEditorBlocks } from './input-editor';
4
-
5
- export declare const documentNodes: ( options: { data?: DocumentData; onClaim?: ( days: number ) => void } ) => Node[];
6
-
7
- export declare const present: ( editor: any ) => Set<string>;
8
-
9
- export declare const insertPiece: ( editor: any, key: string ) => void;
10
-
11
- // What InputEditor takes as `blocks`: the grey blocks, H1 to H3, List and Insert.
12
- declare const documentBlocks: ( options: { data?: DocumentData; insertable?: string[]; onClaim?: ( days: number ) => void } ) => InputEditorBlocks;
13
-
14
- export default documentBlocks;
@@ -1,15 +0,0 @@
1
- import { ComponentType } from 'react';
2
-
3
- export interface FormOrganizationCampaignAdvertisementsProps {
4
- // The organization's commerce connection, for the Store tab.
5
- commerce?: { slug?: string; title?: string } | null;
6
- disabled?: boolean;
7
- onError?: ( error: Error ) => void;
8
- onSuccess?: ( response: unknown ) => unknown;
9
- organization?: Record<string, unknown> | null;
10
- params: { campaign: string; organization: string };
11
- }
12
-
13
- declare const FormOrganizationCampaignAdvertisements: ComponentType<FormOrganizationCampaignAdvertisementsProps>;
14
-
15
- export default FormOrganizationCampaignAdvertisements;
@@ -1,46 +0,0 @@
1
- import { ComponentType } from 'react';
2
-
3
- export interface Design {
4
- descriptions?: { logo?: string | null; preview?: string | null; [ key: string ]: unknown };
5
- images?: {
6
- logo?: { id: string; [ key: string ]: unknown } | null;
7
- preview?: { id: string; [ key: string ]: unknown } | null;
8
- };
9
- style?: Record<string, unknown>;
10
- [ key: string ]: unknown;
11
- }
12
-
13
- // A design as the api takes it: the images by their file's id, null for none.
14
- export declare const designBody: ( design?: Design ) => {
15
- descriptions: { logo?: string | null; preview?: string | null };
16
- images: { logo: string | null; preview: string | null };
17
- style?: Record<string, unknown>;
18
- };
19
-
20
- // The campaign's design: Logo, Preview image and the nine style fields, then Save.
21
- export interface FormOrganizationCampaignDesignProps {
22
- // Read on the campaign: every field is disabled.
23
- disabled?: boolean;
24
- onError: ( error: Error ) => void;
25
- onSuccess: ( response: unknown ) => void;
26
- // Told what the form holds on every change, for the preview.
27
- onUpdate?: ( values: Record<string, unknown> ) => void;
28
- // The organization record, handed to the file pickers.
29
- organization?: { id: string; [ key: string ]: unknown };
30
- // The campaign's main page as the api answers it, with the campaign's and the organization's ids.
31
- values?: Design & { campaign: string; organization: string };
32
- }
33
-
34
- // Create brand from design, in the global modal: a Title.
35
- export interface FormOrganizationCampaignDesignBrandProps {
36
- // What the Design form holds, unsaved changes included.
37
- design?: Design;
38
- onError: ( error: Error ) => void;
39
- onSuccess: ( response: unknown ) => void;
40
- values?: { campaign: string; organization: string };
41
- }
42
-
43
- // The module has no default export.
44
- export declare const FormOrganizationCampaignDesign: ComponentType<FormOrganizationCampaignDesignProps>;
45
-
46
- export declare const FormOrganizationCampaignDesignBrand: ComponentType<FormOrganizationCampaignDesignBrandProps>;
@@ -1,36 +0,0 @@
1
- import { ComponentType } from 'react';
2
-
3
- // One order item: an Item list ( slug list, type order ) holding exactly one item.
4
- export interface FormOrganizationCampaignFieldItemValues {
5
- campaign: string;
6
- // The organization's currency, for the Price label.
7
- currency?: string;
8
- // The field's id when editing: PUT, else POST.
9
- id?: string;
10
- // The item's name.
11
- label?: string;
12
- organization: string;
13
- settings?: {
14
- items?: Array<{
15
- attributes?: { max?: number | null };
16
- description?: string | null;
17
- id?: string;
18
- image?: unknown;
19
- name?: string;
20
- // Absent or null: not priced.
21
- price?: number | null;
22
- }>;
23
- };
24
- [ key: string ]: unknown;
25
- }
26
-
27
- export interface FormOrganizationCampaignFieldItemProps {
28
- disabled?: boolean;
29
- onError: ( error: Error ) => void;
30
- onSuccess: ( response: unknown ) => void;
31
- values: FormOrganizationCampaignFieldItemValues;
32
- }
33
-
34
- declare const FormOrganizationCampaignFieldItem: ComponentType<FormOrganizationCampaignFieldItemProps>;
35
-
36
- export default FormOrganizationCampaignFieldItem;
@@ -1,36 +0,0 @@
1
- import { ComponentType } from 'react';
2
-
3
- // One step of a skill testing question: an operator and a number.
4
- export interface SkillStep {
5
- number: number | string;
6
- operator: '+' | '-' | '*' | '/';
7
- }
8
-
9
- // What the fields page or the prize page passes: the route ids, and the saved
10
- // question when editing. The answer is never part of it: the api works it out.
11
- export interface FormOrganizationCampaignFieldSkillValues {
12
- campaign: string;
13
- id?: string;
14
- inputs?: Array<'label' | 'settings'>;
15
- organization: string;
16
- // Set for a prize question: posts to the prize's field route, without `type`.
17
- prize?: string;
18
- slug?: 'skill';
19
- type?: 'additional';
20
- label?: string;
21
- settings?: { first?: number | string; steps?: SkillStep[] };
22
- // The custom section it sits in ( no Section dropdown here ).
23
- section?: string;
24
- [ key: string ]: unknown;
25
- }
26
-
27
- export interface FormOrganizationCampaignFieldSkillProps {
28
- disabled?: boolean;
29
- onError: ( error: Error ) => void;
30
- onSuccess: ( response: unknown ) => void;
31
- values: FormOrganizationCampaignFieldSkillValues;
32
- }
33
-
34
- declare const FormOrganizationCampaignFieldSkill: ComponentType<FormOrganizationCampaignFieldSkillProps>;
35
-
36
- export default FormOrganizationCampaignFieldSkill;
@@ -1,23 +0,0 @@
1
- import { ComponentType } from 'react';
2
-
3
- export interface FormOrganizationCampaignFooterProps {
4
- // GET /organization/:o/campaign/:c; the page's cached copy wins once it is there.
5
- campaign?: Record<string, unknown> | null;
6
- // Opens each agreement read only ( the Agreements capability ); defaults to `disabled`.
7
- agreementsDisabled?: boolean;
8
- disabled?: boolean;
9
- // Manage: opens an agreement's form, with Enabled locked and why ( SMS consent with no phone
10
- // field ) and whether it opens read only.
11
- onAgreement: ( id: string, options: { enabledLock: string | null; readOnly: boolean } ) => void;
12
- onError?: ( error: Error ) => void;
13
- onSuccess?: ( response: unknown ) => void;
14
- params: { campaign: string; organization: string };
15
- // Whether the form asks for a phone number ( SMS consent's Enabled is locked without one ).
16
- phone?: boolean;
17
- // Whether the platform texts at all ( SMS consent leaves the list otherwise ).
18
- texts?: boolean;
19
- }
20
-
21
- declare const FormOrganizationCampaignFooter: ComponentType<FormOrganizationCampaignFooterProps>;
22
-
23
- export default FormOrganizationCampaignFooter;
@@ -1,29 +0,0 @@
1
- import { ComponentType } from 'react';
2
- import { GalleryPosition } from '../shared/lib/helpers';
3
-
4
- export interface FormRepositionProps {
5
- /** The gallery item's file: sizes.original ( and frames for a video ) feed the frame. */
6
- file: {
7
- frames?: Array<{ sizes?: Record<string, string> } | null>;
8
- mimetype?: string;
9
- sizes?: Record<string, string>;
10
- updatedAt?: string | number | Date;
11
- [ key: string ]: unknown;
12
- };
13
- /** The crop on Done, or null after Reset or when nothing moved. */
14
- onDone: ( position: GalleryPosition | null ) => void;
15
- /** The page form's values, drawn over the frame as a phone shows the page. */
16
- page?: Record<string, any>;
17
- /** The saved crop the frame opens on. */
18
- position?: GalleryPosition | null;
19
- }
20
-
21
- export declare const PHONE: number;
22
- export declare const MAX_ZOOM: number;
23
- export declare const SHARP: number;
24
- export declare const toPosition: ( area?: GalleryPosition | null ) => GalleryPosition | null;
25
- export declare const zoomKey: ( key: string, zoom: number ) => number | null;
26
-
27
- declare const FormReposition: ComponentType<FormRepositionProps>;
28
-
29
- export default FormReposition;
@@ -1,14 +0,0 @@
1
- import { ComponentType } from 'react';
2
-
3
- // The rail's Support panel: From, Subject, Message and Send.
4
- export interface FormSupportProps {
5
- // The signed-in account: its address is From.
6
- account?: { [ key: string ]: unknown };
7
- organization?: { id: string; [ key: string ]: unknown };
8
- // The page the message is sent from.
9
- path?: string;
10
- }
11
-
12
- declare const FormSupport: ComponentType<FormSupportProps>;
13
-
14
- export default FormSupport;
@@ -1,78 +0,0 @@
1
- import { ComponentType, ReactNode } from 'react';
2
- import { CardTaskProps } from './card-task';
3
- import { DropdownItem } from './dropdown';
4
- import { Shares } from './lib/ab-tests';
5
-
6
- export interface TestDates {
7
- endsAt?: string | null;
8
- startsAt?: string | null;
9
- }
10
-
11
- // A title, for Create test and an ended test's Edit test. A thrown error's message shows at the top.
12
- export interface FormTestProps {
13
- disabled?: boolean;
14
- onSuccess: ( values: { title: string } ) => Promise<unknown> | unknown;
15
- // The button's label; 'Submit' by default.
16
- submit?: ReactNode;
17
- values?: { title?: string };
18
- }
19
-
20
- // Add variant: a Title, and Start from once the test holds a variant ( more than one page ).
21
- export interface FormVariantProps {
22
- disabled?: boolean;
23
- onSuccess: ( values: { from?: string; title: string } ) => Promise<unknown> | unknown;
24
- // The test's pages, Current first: { label : name, value : page id }.
25
- pages: { label: string; value: string }[];
26
- }
27
-
28
- // The Dates drawer: Start date and End date with their times, then Done. The end is at least seven days after the start.
29
- export interface FormDatesProps {
30
- onSuccess: ( values: TestDates ) => void;
31
- // The test has started: its start is kept.
32
- started?: boolean;
33
- values?: TestDates;
34
- }
35
-
36
- export interface RowVariantProps {
37
- // "28.7% conversion · +19% vs Current", once the test has visitors.
38
- conversion?: ReactNode;
39
- items?: DropdownItem[];
40
- label: ReactNode;
41
- locked?: boolean;
42
- onShare: ( value: number ) => void;
43
- share?: number;
44
- }
45
-
46
- export interface FormTestRailPage {
47
- conversion?: ReactNode;
48
- // The page id.
49
- id: string;
50
- items?: DropdownItem[];
51
- label: string;
52
- }
53
-
54
- // The test's one form: Title, Dates, Variants with a slider each, Split evenly and Save ( Schedule on a draft that can run ).
55
- export interface FormTestRailProps {
56
- // Why the + is disabled, said when it is pointed at.
57
- addReason?: string | null;
58
- disabled?: boolean;
59
- // The one card at the top: what the test needs next.
60
- notice?: CardTaskProps | null;
61
- onAdd?: () => void;
62
- // Opens the Dates drawer; `apply` puts the picked dates in the form.
63
- onDates?: ( values: TestDates, apply: ( picked: TestDates ) => void ) => void;
64
- // Saves; a thrown error's message shows at the top of the form, scrolled into view.
65
- onSubmit: ( values: TestDates & { shares: Shares; title: string } ) => Promise<unknown> | unknown;
66
- pages?: FormTestRailPage[];
67
- // The split, + and Delete are locked.
68
- running?: boolean;
69
- // True when the button reads Schedule.
70
- schedules?: ( dates: TestDates ) => boolean;
71
- values?: TestDates & { shares?: Shares; title?: string };
72
- }
73
-
74
- export declare const FormTest: ComponentType<FormTestProps>;
75
- export declare const FormVariant: ComponentType<FormVariantProps>;
76
- export declare const FormDates: ComponentType<FormDatesProps>;
77
- export declare const RowVariant: ComponentType<RowVariantProps>;
78
- export declare const FormTestRail: ComponentType<FormTestRailProps>;
@@ -1,50 +0,0 @@
1
- import { ChartDataset } from '../recharts';
2
-
3
- // A page id to its whole-percent share of visitors; the shares add up to 100.
4
- export type Shares = Record<string, number>;
5
-
6
- // Shares in proportion to `shares`, as whole numbers adding up to `total` ( 100 ), each at least 1.
7
- export declare const scale: ( shares: Shares | undefined, ids: string[], total?: number ) => Shares;
8
-
9
- // Every page an even share: 34, 33 and 33 for three.
10
- export declare const even: ( ids: string[] ) => Shares;
11
-
12
- // One slider moved to `value`: the other pages share the rest in proportion.
13
- export declare const move: ( shares: Shares, ids: string[], id: string, value: number ) => Shares;
14
-
15
- // "Nov 9 – Nov 23", or null without both dates.
16
- export declare const span: ( dates?: { endsAt?: string | Date | null; startsAt?: string | Date | null } ) => string | null;
17
-
18
- // Whole days until `endsAt`, at least 0.
19
- export declare const daysLeft: ( endsAt: string | Date, now?: number ) => number;
20
-
21
- // Seven days, in milliseconds: the shortest a test runs.
22
- export declare const WEEK: number;
23
-
24
- // A lift as a row says it ( "+19%", "−5%" ), null with nothing to compare.
25
- export declare const signed: ( lift: number | null | undefined ) => string | null;
26
-
27
- // The ChartLine dataset keys for `total` pages, one shade each.
28
- export declare const lines: ( total: number ) => ChartDataset[];
29
-
30
- // A page's address in the builder: the Page row's for the live page ( `main` ) or
31
- // one with no test, else under its test, so A/B Tests stays open in the menu.
32
- export declare const variantHref: ( args: { campaign: string; main?: boolean; organization: string; test?: string | null; variant: string } ) => string;
33
-
34
- // What the builder's page frame says: its back link ( a test's page only ), its
35
- // request, its task bar ( a kept page's notice first ) and its title.
36
- export declare const variantPage: ( args: { campaign: string; organization: string; test?: string; variant: string } ) => {
37
- back?: string;
38
- endpoint: string;
39
- tasks: ( data: any ) => any;
40
- title: ( data: any ) => string;
41
- };
42
-
43
- // The query key the Page builder and the Design page both read a page under.
44
- export declare const variantKey: ( args: { campaign: string; organization: string; variant: string } ) => unknown[];
45
-
46
- // What a save of the page or of the design leaves out of date: the campaign and both menus.
47
- export declare const variantSaved: ( args: { campaign: string; organization: string } ) => { queryKey: unknown[] }[];
48
-
49
- // The campaign's address in preview mode, for a preview's frame.
50
- export declare const variantPreview: ( campaign?: { share?: { url?: string }; tokens?: { admin?: { text?: string } } } | null ) => string;
@@ -1,4 +0,0 @@
1
- import { RefObject } from 'react';
2
-
3
- // While `active`, Escape presses `button` ( the layer's × ) when the layer is the top one.
4
- export declare const useEscape: ( active: boolean | undefined, button: RefObject<{ click: () => void } | null> ) => void;
@@ -1,16 +0,0 @@
1
- import { RefObject } from 'react';
2
-
3
- // Where Tab goes inside a layer that covers the page; null leaves it to the browser.
4
- export function tabTarget<Item>( args: { active: unknown; items: Item[]; shift: boolean } ): Item | null;
5
-
6
- // Holds Tab inside `node` while `active`, moves focus in and hands it back on close.
7
- export function useTrap(
8
- active: boolean,
9
- node: Element | RefObject<Element | null> | null,
10
- options?: {
11
- // false leaves moving focus in and back to the caller.
12
- enter?: boolean;
13
- // Asked at each Tab: whether the layer covers the page now.
14
- when?: () => boolean;
15
- }
16
- ): void;
@@ -1,25 +0,0 @@
1
- type Row = Record<string, any>;
2
-
3
- export declare const MAX_SECTIONS: number;
4
- export declare const MAX_ADS: number;
5
- export declare const AFTER: string[];
6
- export declare const advertisementsKey: ( params: { campaign: string; organization: string } ) => unknown[];
7
- export declare const addedOnce: ( slug: string, keys?: string[] ) => boolean;
8
- export declare const planLocked: ( section: Row ) => boolean;
9
- export declare const giveawayLocked: ( section: Row ) => boolean;
10
- export declare const sectionOn: ( section: Row ) => boolean;
11
- export declare const formParts: ( sections?: Row[] | null ) => { after: Row | null; age: Row | null; customs: Row[]; information: Row | null; location: Row | null; order: Row | null };
12
- export declare const lastStepId: ( steps?: Row[] ) => string | null;
13
- export declare const asksPhone: ( sections?: Row[] ) => boolean;
14
- export declare const ageRange: ( settings?: Row ) => string;
15
- export declare const locationText: ( item: Row ) => string;
16
- export declare const showsTotal: ( items?: Row[] ) => boolean;
17
- export declare const footerAgreements: ( options: { agreements?: Row; phone?: boolean; texts?: boolean } ) => { key: string; label: string }[];
18
- export declare const footerRows: ( agreements?: Row, texts?: boolean ) => string[];
19
- export declare const privacyLink: ( agreements?: Row ) => string | null;
20
- export declare const afterRows: ( order?: string[], response?: string ) => string[];
21
- export declare const rowLabel: ( field: Record<string, unknown> ) => string;
22
- export declare const itemPrice: ( field: Record<string, unknown> ) => number | null;
23
- export declare const itemGroup: ( field: Record<string, unknown> ) => boolean;
24
- export declare const counted: ( number?: number, total?: number ) => string;
25
- export declare const formSlides: ( parts?: Record<string, unknown> ) => { id: string; title: string }[];
@@ -1,30 +0,0 @@
1
- import { ComponentType, ReactNode } from 'react';
2
-
3
- // The campaign's Design page: its logo, preview image and style, the brand it
4
- // is linked to, and a preview of its page or of an email about it. It reads the
5
- // campaign ( its main page's id and its brand ) from the [ 'campaign', id ] query.
6
- export interface TemplateDesignProps {
7
- // The campaign's id.
8
- campaign: string;
9
- // The organization's id.
10
- organization: string;
11
- }
12
-
13
- // What the design covers: the campaign's page, or an email about it in the
14
- // design given, picked in the chip at the preview's top left.
15
- export interface DesignPreviewProps {
16
- // The campaign as GET /organization/:o/campaign/:c returns it.
17
- campaign?: Record<string, unknown> | null;
18
- // The design: the main page's logo and style ( or what a form holds ).
19
- design?: Record<string, unknown> | null;
20
- // As PreviewPage's: false keeps a fixed height inside a section.
21
- fill?: boolean;
22
- // In the same chip, after the picker ( the Overview's Edit ).
23
- left?: ReactNode;
24
- }
25
-
26
- export declare const DesignPreview: ComponentType<DesignPreviewProps>;
27
-
28
- declare const TemplateDesign: ComponentType<TemplateDesignProps>;
29
-
30
- export default TemplateDesign;
@@ -1,69 +0,0 @@
1
- import { ComponentType } from 'react';
2
- import { Shares } from './lib/ab-tests';
3
- import { TestDates } from './form-tests';
4
-
5
- export type TestStatus = 'drafted' | 'scheduled' | 'running' | 'paused' | 'ended';
6
-
7
- // One page of a test, as GET .../test/:id answers it.
8
- export interface TestPage {
9
- conversion: number;
10
- entries: number;
11
- headline?: string;
12
- leads: number;
13
- // Whole percent vs the first page; null with nothing to compare.
14
- lift: number | null;
15
- // The campaign's main page now.
16
- main?: boolean;
17
- // 'Current', 'Previous' or the variant's title.
18
- name: string;
19
- page: string;
20
- share: number;
21
- title?: string;
22
- visitors: number;
23
- weight?: number;
24
- }
25
-
26
- // GET /organization/:o/campaign/:c/test/:id.
27
- export interface Test {
28
- createdAt?: string;
29
- endsAt?: string | null;
30
- id: string;
31
- main?: string;
32
- pages: TestPage[];
33
- paused?: boolean;
34
- startsAt?: string | null;
35
- status: TestStatus;
36
- title: string;
37
- // One row per day: { date : 'YYYY/MM/DD', [ page id ] : conversion to date }.
38
- trend?: ( { date: string } & Record<string, number | string> )[];
39
- // The variant the test started from, its first page ( Current, or Previous once a promote replaced it ).
40
- variant?: string;
41
- winner?: string | null;
42
- }
43
-
44
- export interface TemplateTestProps {
45
- // The A/B Tests list.
46
- back?: string;
47
- // Read access: every control disabled.
48
- disabled?: boolean;
49
- // The page builder's address for a page of the test.
50
- hrefOf?: ( page: TestPage ) => string;
51
- // Now, for the days left; Date.now() by default.
52
- now?: number;
53
- onAdd?: () => void;
54
- onDates?: ( values: TestDates, apply: ( picked: TestDates ) => void ) => void;
55
- onDelete?: () => void;
56
- onDeleteVariant?: ( page: TestPage ) => void;
57
- // An ended test's Edit test drawer.
58
- onEdit?: () => void;
59
- onPause?: () => void;
60
- onPromote?: ( page: TestPage ) => void;
61
- onResume?: () => void;
62
- // The form's Save; throw to show the api's refusal at the top of the form.
63
- onSubmit?: ( values: TestDates & { shares: Shares; title: string } ) => Promise<unknown> | unknown;
64
- test: Test;
65
- }
66
-
67
- declare const TemplateTest: ComponentType<TemplateTestProps>;
68
-
69
- export default TemplateTest;
@@ -1,30 +0,0 @@
1
- import { ComponentType } from 'react';
2
- import { QueryKey } from '@tanstack/react-query';
3
- import { TestStatus } from './template-test-page';
4
-
5
- // A row of GET /organization/:o/campaign/:c/tests.
6
- export interface TestRow {
7
- createdAt?: string;
8
- endsAt?: string | null;
9
- id: string;
10
- startsAt?: string | null;
11
- status: TestStatus;
12
- title: string;
13
- }
14
-
15
- // A campaign's tests, newest first, with New. The api's locked answer shows with Upgrade.
16
- export interface TemplateTestsProps {
17
- // Read access: New disabled.
18
- disabled?: boolean;
19
- // GET /organization/:o/campaign/:c/tests.
20
- endpoint: string;
21
- // The test's address.
22
- hrefOf: ( row: TestRow ) => string;
23
- // Opens the Create test drawer.
24
- onCreate?: () => void;
25
- queryKey: QueryKey;
26
- }
27
-
28
- declare const TemplateTests: ComponentType<TemplateTestsProps>;
29
-
30
- export default TemplateTests;
@@ -1,18 +0,0 @@
1
- import { ComponentType } from 'react';
2
-
3
- // The page builder at either of its addresses: the campaign's Page row ( no
4
- // `test` ) or a test's variant ( `test`, which gives the back link and the title ).
5
- export interface TemplateVariantProps {
6
- // The campaign's id.
7
- campaign: string;
8
- // The organization's id.
9
- organization: string;
10
- // The test the page is opened from: back to it, titled with the page's name there.
11
- test?: string;
12
- // The page's ( variant's ) id.
13
- variant: string;
14
- }
15
-
16
- declare const TemplateVariant: ComponentType<TemplateVariantProps>;
17
-
18
- export default TemplateVariant;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,5 +0,0 @@
1
- import { ComponentType, SVGProps } from 'react';
2
-
3
- declare const Icon: ComponentType<SVGProps<SVGSVGElement>>;
4
-
5
- export default Icon;
@@ -1,15 +0,0 @@
1
- import { ComponentType } from 'react';
2
- import { BrandStyle } from './styles';
3
-
4
- export interface InputAnswerProps {
5
- label?: string;
6
- onChange: ( value: number | null ) => void;
7
- style?: BrandStyle;
8
- value?: number | string | null;
9
- }
10
-
11
- export declare const accepts: ( text: string ) => boolean;
12
-
13
- declare const InputAnswer: ComponentType<InputAnswerProps>;
14
-
15
- export default InputAnswer;