@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawbridge/components",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "exports": {
5
5
  "./advertisement": {
6
6
  "types": "./types/advertisement.d.ts",
@@ -22,11 +22,6 @@
22
22
  "import": "./dist/bridge/fields.mjs",
23
23
  "default": "./dist/bridge/fields.js"
24
24
  },
25
- "./bridge/form-subdomain-agreement": {
26
- "types": "./types/bridge/form-subdomain-agreement.d.ts",
27
- "import": "./dist/bridge/form-subdomain-agreement.mjs",
28
- "default": "./dist/bridge/form-subdomain-agreement.js"
29
- },
30
25
  "./bridge/form-subdomain-embed": {
31
26
  "types": "./types/bridge/form-subdomain-embed.d.ts",
32
27
  "import": "./dist/bridge/form-subdomain-embed.mjs",
@@ -152,6 +147,11 @@
152
147
  "import": "./dist/bridge/template-not-found.mjs",
153
148
  "default": "./dist/bridge/template-not-found.js"
154
149
  },
150
+ "./bridge/template-preview": {
151
+ "types": "./types/bridge/template-preview.d.ts",
152
+ "import": "./dist/bridge/template-preview.mjs",
153
+ "default": "./dist/bridge/template-preview.js"
154
+ },
155
155
  "./bridge/template-subdomain-gallery": {
156
156
  "types": "./types/bridge/template-subdomain-gallery.d.ts",
157
157
  "import": "./dist/bridge/template-subdomain-gallery.mjs",
@@ -187,21 +187,11 @@
187
187
  "import": "./dist/dashboard/buttons-subscription.mjs",
188
188
  "default": "./dist/dashboard/buttons-subscription.js"
189
189
  },
190
- "./dashboard/campaign-form": {
191
- "types": "./types/dashboard/campaign-form.d.ts",
192
- "import": "./dist/dashboard/campaign-form.mjs",
193
- "default": "./dist/dashboard/campaign-form.js"
194
- },
195
190
  "./dashboard/card-affiliate": {
196
191
  "types": "./types/dashboard/card-affiliate.d.ts",
197
192
  "import": "./dist/dashboard/card-affiliate.mjs",
198
193
  "default": "./dist/dashboard/card-affiliate.js"
199
194
  },
200
- "./dashboard/card-campaign-agreement": {
201
- "types": "./types/dashboard/card-campaign-agreement.d.ts",
202
- "import": "./dist/dashboard/card-campaign-agreement.mjs",
203
- "default": "./dist/dashboard/card-campaign-agreement.js"
204
- },
205
195
  "./dashboard/card-campaign-switch": {
206
196
  "types": "./types/dashboard/card-campaign-switch.d.ts",
207
197
  "import": "./dist/dashboard/card-campaign-switch.mjs",
@@ -267,11 +257,6 @@
267
257
  "import": "./dist/dashboard/card-setting.mjs",
268
258
  "default": "./dist/dashboard/card-setting.js"
269
259
  },
270
- "./dashboard/card-shortcut": {
271
- "types": "./types/dashboard/card-shortcut.d.ts",
272
- "import": "./dist/dashboard/card-shortcut.mjs",
273
- "default": "./dist/dashboard/card-shortcut.js"
274
- },
275
260
  "./dashboard/card-task": {
276
261
  "types": "./types/dashboard/card-task.d.ts",
277
262
  "import": "./dist/dashboard/card-task.mjs",
@@ -307,10 +292,10 @@
307
292
  "import": "./dist/dashboard/connection-workflows.mjs",
308
293
  "default": "./dist/dashboard/connection-workflows.js"
309
294
  },
310
- "./dashboard/document-blocks": {
311
- "types": "./types/dashboard/document-blocks.d.ts",
312
- "import": "./dist/dashboard/document-blocks.mjs",
313
- "default": "./dist/dashboard/document-blocks.js"
295
+ "./dashboard/device": {
296
+ "types": "./types/dashboard/device.d.ts",
297
+ "import": "./dist/dashboard/device.mjs",
298
+ "default": "./dist/dashboard/device.js"
314
299
  },
315
300
  "./dashboard/drawer-subscription": {
316
301
  "types": "./types/dashboard/drawer-subscription.d.ts",
@@ -457,21 +442,11 @@
457
442
  "import": "./dist/dashboard/form-organization-campaign-advertisement.mjs",
458
443
  "default": "./dist/dashboard/form-organization-campaign-advertisement.js"
459
444
  },
460
- "./dashboard/form-organization-campaign-advertisements": {
461
- "types": "./types/dashboard/form-organization-campaign-advertisements.d.ts",
462
- "import": "./dist/dashboard/form-organization-campaign-advertisements.mjs",
463
- "default": "./dist/dashboard/form-organization-campaign-advertisements.js"
464
- },
465
445
  "./dashboard/form-organization-campaign-agreement": {
466
446
  "types": "./types/dashboard/form-organization-campaign-agreement.d.ts",
467
447
  "import": "./dist/dashboard/form-organization-campaign-agreement.mjs",
468
448
  "default": "./dist/dashboard/form-organization-campaign-agreement.js"
469
449
  },
470
- "./dashboard/form-organization-campaign-design": {
471
- "types": "./types/dashboard/form-organization-campaign-design.d.ts",
472
- "import": "./dist/dashboard/form-organization-campaign-design.mjs",
473
- "default": "./dist/dashboard/form-organization-campaign-design.js"
474
- },
475
450
  "./dashboard/form-organization-campaign-draw": {
476
451
  "types": "./types/dashboard/form-organization-campaign-draw.d.ts",
477
452
  "import": "./dist/dashboard/form-organization-campaign-draw.mjs",
@@ -482,10 +457,10 @@
482
457
  "import": "./dist/dashboard/form-organization-campaign-field-email.mjs",
483
458
  "default": "./dist/dashboard/form-organization-campaign-field-email.js"
484
459
  },
485
- "./dashboard/form-organization-campaign-field-item": {
486
- "types": "./types/dashboard/form-organization-campaign-field-item.d.ts",
487
- "import": "./dist/dashboard/form-organization-campaign-field-item.mjs",
488
- "default": "./dist/dashboard/form-organization-campaign-field-item.js"
460
+ "./dashboard/form-organization-campaign-field-list": {
461
+ "types": "./types/dashboard/form-organization-campaign-field-list.d.ts",
462
+ "import": "./dist/dashboard/form-organization-campaign-field-list.mjs",
463
+ "default": "./dist/dashboard/form-organization-campaign-field-list.js"
489
464
  },
490
465
  "./dashboard/form-organization-campaign-field-name": {
491
466
  "types": "./types/dashboard/form-organization-campaign-field-name.d.ts",
@@ -512,11 +487,6 @@
512
487
  "import": "./dist/dashboard/form-organization-campaign-field-select.mjs",
513
488
  "default": "./dist/dashboard/form-organization-campaign-field-select.js"
514
489
  },
515
- "./dashboard/form-organization-campaign-field-skill": {
516
- "types": "./types/dashboard/form-organization-campaign-field-skill.d.ts",
517
- "import": "./dist/dashboard/form-organization-campaign-field-skill.mjs",
518
- "default": "./dist/dashboard/form-organization-campaign-field-skill.js"
519
- },
520
490
  "./dashboard/form-organization-campaign-field-text": {
521
491
  "types": "./types/dashboard/form-organization-campaign-field-text.d.ts",
522
492
  "import": "./dist/dashboard/form-organization-campaign-field-text.mjs",
@@ -527,11 +497,6 @@
527
497
  "import": "./dist/dashboard/form-organization-campaign-field-textarea.mjs",
528
498
  "default": "./dist/dashboard/form-organization-campaign-field-textarea.js"
529
499
  },
530
- "./dashboard/form-organization-campaign-footer": {
531
- "types": "./types/dashboard/form-organization-campaign-footer.d.ts",
532
- "import": "./dist/dashboard/form-organization-campaign-footer.mjs",
533
- "default": "./dist/dashboard/form-organization-campaign-footer.js"
534
- },
535
500
  "./dashboard/form-organization-campaign-integration-age": {
536
501
  "types": "./types/dashboard/form-organization-campaign-integration-age.d.ts",
537
502
  "import": "./dist/dashboard/form-organization-campaign-integration-age.mjs",
@@ -687,11 +652,6 @@
687
652
  "import": "./dist/dashboard/form-profile.mjs",
688
653
  "default": "./dist/dashboard/form-profile.js"
689
654
  },
690
- "./dashboard/form-reposition": {
691
- "types": "./types/dashboard/form-reposition.d.ts",
692
- "import": "./dist/dashboard/form-reposition.mjs",
693
- "default": "./dist/dashboard/form-reposition.js"
694
- },
695
655
  "./dashboard/form-stripe-promotion": {
696
656
  "types": "./types/dashboard/form-stripe-promotion.d.ts",
697
657
  "import": "./dist/dashboard/form-stripe-promotion.mjs",
@@ -702,16 +662,6 @@
702
662
  "import": "./dist/dashboard/form-stripe.mjs",
703
663
  "default": "./dist/dashboard/form-stripe.js"
704
664
  },
705
- "./dashboard/form-support": {
706
- "types": "./types/dashboard/form-support.d.ts",
707
- "import": "./dist/dashboard/form-support.mjs",
708
- "default": "./dist/dashboard/form-support.js"
709
- },
710
- "./dashboard/form-tests": {
711
- "types": "./types/dashboard/form-tests.d.ts",
712
- "import": "./dist/dashboard/form-tests.mjs",
713
- "default": "./dist/dashboard/form-tests.js"
714
- },
715
665
  "./dashboard/form-verify-prize": {
716
666
  "types": "./types/dashboard/form-verify-prize.d.ts",
717
667
  "import": "./dist/dashboard/form-verify-prize.mjs",
@@ -797,10 +747,10 @@
797
747
  "import": "./dist/dashboard/input-time.mjs",
798
748
  "default": "./dist/dashboard/input-time.js"
799
749
  },
800
- "./dashboard/lib/ab-tests": {
801
- "types": "./types/dashboard/lib/ab-tests.d.ts",
802
- "import": "./dist/dashboard/lib/ab-tests.mjs",
803
- "default": "./dist/dashboard/lib/ab-tests.js"
750
+ "./dashboard/item-row": {
751
+ "types": "./types/dashboard/item-row.d.ts",
752
+ "import": "./dist/dashboard/item-row.mjs",
753
+ "default": "./dist/dashboard/item-row.js"
804
754
  },
805
755
  "./dashboard/lib/confetti": {
806
756
  "types": "./types/dashboard/lib/confetti.d.ts",
@@ -812,26 +762,11 @@
812
762
  "import": "./dist/dashboard/lib/connection-controls.mjs",
813
763
  "default": "./dist/dashboard/lib/connection-controls.js"
814
764
  },
815
- "./dashboard/lib/escape": {
816
- "types": "./types/dashboard/lib/escape.d.ts",
817
- "import": "./dist/dashboard/lib/escape.mjs",
818
- "default": "./dist/dashboard/lib/escape.js"
819
- },
820
765
  "./dashboard/lib/features": {
821
766
  "types": "./types/dashboard/lib/features.d.ts",
822
767
  "import": "./dist/dashboard/lib/features.mjs",
823
768
  "default": "./dist/dashboard/lib/features.js"
824
769
  },
825
- "./dashboard/lib/focus": {
826
- "types": "./types/dashboard/lib/focus.d.ts",
827
- "import": "./dist/dashboard/lib/focus.mjs",
828
- "default": "./dist/dashboard/lib/focus.js"
829
- },
830
- "./dashboard/lib/form-page": {
831
- "types": "./types/dashboard/lib/form-page.d.ts",
832
- "import": "./dist/dashboard/lib/form-page.mjs",
833
- "default": "./dist/dashboard/lib/form-page.js"
834
- },
835
770
  "./dashboard/lib/frames": {
836
771
  "types": "./types/dashboard/lib/frames.d.ts",
837
772
  "import": "./dist/dashboard/lib/frames.mjs",
@@ -1027,11 +962,6 @@
1027
962
  "import": "./dist/dashboard/template-dashboard.mjs",
1028
963
  "default": "./dist/dashboard/template-dashboard.js"
1029
964
  },
1030
- "./dashboard/template-design": {
1031
- "types": "./types/dashboard/template-design.d.ts",
1032
- "import": "./dist/dashboard/template-design.mjs",
1033
- "default": "./dist/dashboard/template-design.js"
1034
- },
1035
965
  "./dashboard/template-not-found": {
1036
966
  "types": "./types/dashboard/template-not-found.d.ts",
1037
967
  "import": "./dist/dashboard/template-not-found.mjs",
@@ -1052,36 +982,16 @@
1052
982
  "import": "./dist/dashboard/template-suspended.mjs",
1053
983
  "default": "./dist/dashboard/template-suspended.js"
1054
984
  },
1055
- "./dashboard/template-test-page": {
1056
- "types": "./types/dashboard/template-test-page.d.ts",
1057
- "import": "./dist/dashboard/template-test-page.mjs",
1058
- "default": "./dist/dashboard/template-test-page.js"
1059
- },
1060
- "./dashboard/template-tests": {
1061
- "types": "./types/dashboard/template-tests.d.ts",
1062
- "import": "./dist/dashboard/template-tests.mjs",
1063
- "default": "./dist/dashboard/template-tests.js"
1064
- },
1065
985
  "./dashboard/template-ui": {
1066
986
  "types": "./types/dashboard/template-ui.d.ts",
1067
987
  "import": "./dist/dashboard/template-ui.mjs",
1068
988
  "default": "./dist/dashboard/template-ui.js"
1069
989
  },
1070
- "./dashboard/template-variant": {
1071
- "types": "./types/dashboard/template-variant.d.ts",
1072
- "import": "./dist/dashboard/template-variant.mjs",
1073
- "default": "./dist/dashboard/template-variant.js"
1074
- },
1075
990
  "./dashboard/wrapper-ai": {
1076
991
  "types": "./types/dashboard/wrapper-ai.d.ts",
1077
992
  "import": "./dist/dashboard/wrapper-ai.mjs",
1078
993
  "default": "./dist/dashboard/wrapper-ai.js"
1079
994
  },
1080
- "./icons/arrow-down-long": {
1081
- "types": "./types/icons/arrow-down-long.d.ts",
1082
- "import": "./dist/icons/arrow-down-long.mjs",
1083
- "default": "./dist/icons/arrow-down-long.js"
1084
- },
1085
995
  "./icons/arrow-down-tray": {
1086
996
  "types": "./types/icons/arrow-down-tray.d.ts",
1087
997
  "import": "./dist/icons/arrow-down-tray.mjs",
@@ -1102,11 +1012,6 @@
1102
1012
  "import": "./dist/icons/arrow-up-tray.mjs",
1103
1013
  "default": "./dist/icons/arrow-up-tray.js"
1104
1014
  },
1105
- "./icons/arrows-pointing-out": {
1106
- "types": "./types/icons/arrows-pointing-out.d.ts",
1107
- "import": "./dist/icons/arrows-pointing-out.mjs",
1108
- "default": "./dist/icons/arrows-pointing-out.js"
1109
- },
1110
1015
  "./icons/bars-arrow-down": {
1111
1016
  "types": "./types/icons/bars-arrow-down.d.ts",
1112
1017
  "import": "./dist/icons/bars-arrow-down.mjs",
@@ -1117,11 +1022,6 @@
1117
1022
  "import": "./dist/icons/bars-arrow-up.mjs",
1118
1023
  "default": "./dist/icons/bars-arrow-up.js"
1119
1024
  },
1120
- "./icons/beaker": {
1121
- "types": "./types/icons/beaker.d.ts",
1122
- "import": "./dist/icons/beaker.mjs",
1123
- "default": "./dist/icons/beaker.js"
1124
- },
1125
1025
  "./icons/bold": {
1126
1026
  "types": "./types/icons/bold.d.ts",
1127
1027
  "import": "./dist/icons/bold.mjs",
@@ -1282,11 +1182,6 @@
1282
1182
  "import": "./dist/icons/home.mjs",
1283
1183
  "default": "./dist/icons/home.js"
1284
1184
  },
1285
- "./icons/identification": {
1286
- "types": "./types/icons/identification.d.ts",
1287
- "import": "./dist/icons/identification.mjs",
1288
- "default": "./dist/icons/identification.js"
1289
- },
1290
1185
  "./icons/image": {
1291
1186
  "types": "./types/icons/image.d.ts",
1292
1187
  "import": "./dist/icons/image.mjs",
@@ -1302,11 +1197,6 @@
1302
1197
  "import": "./dist/icons/italic.mjs",
1303
1198
  "default": "./dist/icons/italic.js"
1304
1199
  },
1305
- "./icons/lifebuoy": {
1306
- "types": "./types/icons/lifebuoy.d.ts",
1307
- "import": "./dist/icons/lifebuoy.mjs",
1308
- "default": "./dist/icons/lifebuoy.js"
1309
- },
1310
1200
  "./icons/link": {
1311
1201
  "types": "./types/icons/link.d.ts",
1312
1202
  "import": "./dist/icons/link.mjs",
@@ -1412,16 +1302,6 @@
1412
1302
  "import": "./dist/icons/queue.mjs",
1413
1303
  "default": "./dist/icons/queue.js"
1414
1304
  },
1415
- "./icons/rectangle-group": {
1416
- "types": "./types/icons/rectangle-group.d.ts",
1417
- "import": "./dist/icons/rectangle-group.mjs",
1418
- "default": "./dist/icons/rectangle-group.js"
1419
- },
1420
- "./icons/rectangle-stack": {
1421
- "types": "./types/icons/rectangle-stack.d.ts",
1422
- "import": "./dist/icons/rectangle-stack.mjs",
1423
- "default": "./dist/icons/rectangle-stack.js"
1424
- },
1425
1305
  "./icons/refresh": {
1426
1306
  "types": "./types/icons/refresh.d.ts",
1427
1307
  "import": "./dist/icons/refresh.mjs",
@@ -1452,11 +1332,6 @@
1452
1332
  "import": "./dist/icons/shop.mjs",
1453
1333
  "default": "./dist/icons/shop.js"
1454
1334
  },
1455
- "./icons/shopping-bag": {
1456
- "types": "./types/icons/shopping-bag.d.ts",
1457
- "import": "./dist/icons/shopping-bag.mjs",
1458
- "default": "./dist/icons/shopping-bag.js"
1459
- },
1460
1335
  "./icons/snapchat": {
1461
1336
  "types": "./types/icons/snapchat.d.ts",
1462
1337
  "import": "./dist/icons/snapchat.mjs",
@@ -1482,11 +1357,6 @@
1482
1357
  "import": "./dist/icons/star.mjs",
1483
1358
  "default": "./dist/icons/star.js"
1484
1359
  },
1485
- "./icons/swatch": {
1486
- "types": "./types/icons/swatch.d.ts",
1487
- "import": "./dist/icons/swatch.mjs",
1488
- "default": "./dist/icons/swatch.js"
1489
- },
1490
1360
  "./icons/switch": {
1491
1361
  "types": "./types/icons/switch.d.ts",
1492
1362
  "import": "./dist/icons/switch.mjs",
@@ -1557,11 +1427,6 @@
1557
1427
  "import": "./dist/icons/whatsapp.mjs",
1558
1428
  "default": "./dist/icons/whatsapp.js"
1559
1429
  },
1560
- "./icons/window": {
1561
- "types": "./types/icons/window.d.ts",
1562
- "import": "./dist/icons/window.mjs",
1563
- "default": "./dist/icons/window.js"
1564
- },
1565
1430
  "./icons/x": {
1566
1431
  "types": "./types/icons/x.d.ts",
1567
1432
  "import": "./dist/icons/x.mjs",
@@ -1572,16 +1437,6 @@
1572
1437
  "import": "./dist/icons/youtube.mjs",
1573
1438
  "default": "./dist/icons/youtube.js"
1574
1439
  },
1575
- "./icons/zoom-in": {
1576
- "types": "./types/icons/zoom-in.d.ts",
1577
- "import": "./dist/icons/zoom-in.mjs",
1578
- "default": "./dist/icons/zoom-in.js"
1579
- },
1580
- "./input-answer": {
1581
- "types": "./types/input-answer.d.ts",
1582
- "import": "./dist/input-answer.mjs",
1583
- "default": "./dist/input-answer.js"
1584
- },
1585
1440
  "./input-checkbox": {
1586
1441
  "types": "./types/input-checkbox.d.ts",
1587
1442
  "import": "./dist/input-checkbox.mjs",
@@ -1677,11 +1532,6 @@
1677
1532
  "import": "./dist/shared/divider.mjs",
1678
1533
  "default": "./dist/shared/divider.js"
1679
1534
  },
1680
- "./shared/document-pieces": {
1681
- "types": "./types/shared/document-pieces.d.ts",
1682
- "import": "./dist/shared/document-pieces.mjs",
1683
- "default": "./dist/shared/document-pieces.js"
1684
- },
1685
1535
  "./shared/empty": {
1686
1536
  "types": "./types/shared/empty.d.ts",
1687
1537
  "import": "./dist/shared/empty.mjs",
@@ -1747,11 +1597,6 @@
1747
1597
  "import": "./dist/shared/lib/icon-labels.mjs",
1748
1598
  "default": "./dist/shared/lib/icon-labels.js"
1749
1599
  },
1750
- "./shared/lib/motion": {
1751
- "types": "./types/shared/lib/motion.d.ts",
1752
- "import": "./dist/shared/lib/motion.mjs",
1753
- "default": "./dist/shared/lib/motion.js"
1754
- },
1755
1600
  "./shared/lib/video": {
1756
1601
  "types": "./types/shared/lib/video.d.ts",
1757
1602
  "import": "./dist/shared/lib/video.mjs",
@@ -1838,7 +1683,7 @@
1838
1683
  "peerDependencies": {
1839
1684
  "@analytics/google-tag-manager": ">=0.5.5",
1840
1685
  "@drawbridge/drawbridge-telemetry": ">=0.0.19",
1841
- "@drawbridge/drawbridge-utils": ">=0.0.234",
1686
+ "@drawbridge/drawbridge-utils": ">=0.0.230",
1842
1687
  "@headlessui/react": ">=2.1.2",
1843
1688
  "@hookform/resolvers": ">=3.1.1",
1844
1689
  "@sentry/nextjs": ">=10.58.0",
@@ -1954,7 +1799,7 @@
1954
1799
  "@analytics/google-tag-manager": "0.5.5",
1955
1800
  "@drawbridge/drawbridge-agents": "0.1.104",
1956
1801
  "@drawbridge/drawbridge-telemetry": "0.0.19",
1957
- "@drawbridge/drawbridge-utils": "0.0.234",
1802
+ "@drawbridge/drawbridge-utils": "0.0.233",
1958
1803
  "@headlessui/react": "2.2.9",
1959
1804
  "@hookform/resolvers": "3.1.1",
1960
1805
  "@sentry/nextjs": "10.58.0",
@@ -2010,7 +1855,6 @@
2010
1855
  "embla-carousel-fade": "8.6.0",
2011
1856
  "embla-carousel-react": "8.6.0",
2012
1857
  "hls.js": "1.6.19",
2013
- "react-easy-crop": "6.2.4",
2014
1858
  "react-floater": "0.7.9",
2015
1859
  "react-phone-number-input": "3.4.12",
2016
1860
  "react-player": "2.16.0"
@@ -26,9 +26,4 @@ export interface FieldProps {
26
26
  value?: any;
27
27
  }
28
28
 
29
- // A Section asks nothing; a skill testing question is its question with a
30
- // number input ( Pistachio ).
31
- export declare const components: Record<'email' | 'name' | 'number' | 'phone' | 'section' | 'select' | 'skill' | 'text' | 'textarea', ComponentType<FieldProps>>;
32
-
33
- // The label with " *" after it, unless attributes.required is false.
34
- export declare const starred: ( field?: Field ) => string | undefined;
29
+ export declare const components: Record<'email' | 'name' | 'number' | 'phone' | 'select' | 'text' | 'textarea', ComponentType<FieldProps>>;
@@ -12,8 +12,6 @@ export interface MissionItem {
12
12
 
13
13
  export interface FormSubdomainMissionsProps {
14
14
  advertisements?: ReactNode;
15
- // The opening screen's order ( bridge/lib/entry.js afterOrder ).
16
- after?: Array<'message' | 'missions' | 'advertisements' | string>;
17
15
  button?: ReactNode;
18
16
  contact?: { email?: string | null; phone?: string | null };
19
17
  // The mission a lead link's `&open=` opens at.
@@ -11,32 +11,23 @@ export interface Tracking {
11
11
  track: ( event: { name: string; data?: unknown }, type?: string, options?: Record<string, unknown> ) => void;
12
12
  }
13
13
 
14
- // The page payload's agreement with the locale endpoint's content over it.
15
14
  export interface Agreement {
16
- // False: never confirmed, so no checkbox and no menu row.
17
- confirmed?: boolean;
18
- // Our document's html, opened in the modal with Back.
19
- document?: string;
20
15
  enabled?: boolean;
21
16
  label?: string;
22
17
  link?: string;
23
- type?: 'document' | 'link';
24
18
  }
25
19
 
26
20
  export interface FormSubdomainProps {
27
- agreements?: { marketing?: Agreement; privacy?: Agreement; sms?: Agreement; terms?: Agreement };
21
+ agreements?: { marketing?: Agreement; sms?: Agreement; terms?: Agreement };
28
22
  button?: ReactNode;
29
23
  disabled?: boolean;
30
- // What a document's pieces draw: the page payload's `documents`.
31
- documents?: import( '../shared/document-pieces' ).DocumentData;
32
24
  // `sections` steps the form: Your information, then Your order. Without it,
33
25
  // `lead` + `additional` are one Your information step, as before.
34
26
  fields?: { additional?: Field[]; lead?: Field[]; primary?: Field; sections?: FormSection[] };
35
27
  // A dashboard preview's agreement: the last step fades everything but it.
36
- focus?: 'marketing' | 'privacy' | 'sms' | 'terms';
28
+ focus?: 'marketing' | 'sms' | 'terms';
37
29
  integrations?: {
38
- // The age step's texts: title ( "Confirm your age" ), description, button ( "Next" ).
39
- age?: { enabled?: boolean; settings?: AgeSettings };
30
+ age?: { enabled?: boolean; settings?: { max?: number; min?: number } };
40
31
  geocode?: { enabled?: boolean };
41
32
  recaptcha?: { enabled?: boolean };
42
33
  [ key: string ]: unknown;
@@ -46,50 +37,14 @@ export interface FormSubdomainProps {
46
37
  onSuccess?: ( response: any ) => void;
47
38
  params?: { slug?: string; subdomain?: string };
48
39
  preview?: boolean;
49
- // False while the campaign's giveaway is off: the Terms line about winning is left out.
50
- giveaway?: boolean;
51
- // False while texts are off on the platform: no SMS consent.
52
- sms?: boolean;
53
40
  // The step the form opens at ( a dashboard preview ), 0 by default.
54
41
  step?: number;
55
42
  style?: BrandStyle;
56
- // The last step's button text, "Submit" when blank.
57
- submit?: string | null;
58
43
  tracking?: Tracking;
59
44
  }
60
45
 
61
- export interface AgeSettings {
62
- button?: string | null;
63
- description?: string | null;
64
- max?: number;
65
- min?: number;
66
- title?: string | null;
67
- }
68
-
69
- export interface FormSubdomainAgeProps {
70
- button?: ReactNode;
71
- callback?: ( answer: { age: number; birthday: string } ) => void;
72
- disabled?: boolean;
73
- preview?: boolean;
74
- style?: BrandStyle;
75
- values?: AgeSettings;
76
- }
77
-
78
- export interface FormSubdomainItemListProps {
79
- currency?: string;
80
- // A list field; one holding a single item draws no label heading.
81
- field?: Field;
82
- onChange?: ( value: Record<string, number> ) => void;
83
- // False hides every price; each item otherwise shows its own when it has one.
84
- prices?: boolean;
85
- style?: BrandStyle;
86
- value?: Record<string, number | null | undefined> | null;
87
- }
88
-
89
46
  export interface FormSubdomainSubmissionProps {
90
47
  affiliate?: string;
91
- // The panel's parts in order ( bridge/lib/entry.js afterOrder ).
92
- after?: Array<'message' | 'missions' | 'advertisements' | string>;
93
48
  button?: ReactNode;
94
49
  checkout?: ( body: any ) => Promise<unknown>;
95
50
  // The giveaway on: the panel lists the missions while entries are being awarded; no entry total and no Copy your link.
@@ -128,20 +83,6 @@ export interface FormSubdomainMessageProps {
128
83
  }
129
84
 
130
85
  export declare const FormSubdomainSubmission: ComponentType<FormSubdomainSubmissionProps>;
131
- export interface FormSubdomainGeocodeProps {
132
- button?: string;
133
- callback?: ( response: unknown ) => void;
134
- disabled?: boolean;
135
- preview?: boolean;
136
- // Draws the step as the browser asks, asking nothing ( the dashboard's Form page preview ).
137
- still?: boolean;
138
- style?: Record<string, unknown> | null;
139
- values?: Record<string, unknown>;
140
- }
141
-
142
- export declare const FormSubdomainAge: ComponentType<FormSubdomainAgeProps>;
143
- export declare const FormSubdomainGeocode: ComponentType<FormSubdomainGeocodeProps>;
144
- export declare const FormSubdomainItemList: ComponentType<FormSubdomainItemListProps>;
145
86
  export declare const FormSubdomainMessage: ComponentType<FormSubdomainMessageProps>;
146
87
  export { FormSubdomainHeader };
147
88
 
@@ -2,7 +2,7 @@
2
2
  // back to utils constants.campaign.form.copy (`purchase` reads `order`).
3
3
  export declare const copy: (
4
4
  data: { defaults?: Record<string, string | null | undefined> } | null | undefined,
5
- key: 'active' | 'confirmation' | 'inactive' | 'purchase' | 'rejection' | 'submit'
5
+ key: 'active' | 'confirmation' | 'inactive' | 'purchase' | 'rejection'
6
6
  ) => string | undefined;
7
7
 
8
8
  // "You have [n] entries" ("You have 1 entry").
@@ -15,49 +15,12 @@ export declare const formOn: ( data: { form?: boolean } | null | undefined ) =>
15
15
 
16
16
  export declare const giveawayOn: ( data: { giveaway?: boolean } | null | undefined ) => boolean;
17
17
 
18
- // Entries are being awarded: the giveaway is on and `awarding` is not false.
19
- export declare const awardingOn: ( data: { awarding?: boolean; giveaway?: boolean } | null | undefined ) => boolean;
20
-
21
- // The entry button's state: `inactive` while closed, `button` while not awarding, else `active`.
22
- export declare const buttonState: (
23
- data: { awarding?: boolean } | null | undefined,
24
- open?: boolean
25
- ) => 'active' | 'button' | 'inactive';
26
-
27
- // The entry button's text in that state.
28
- export declare const buttonText: (
29
- data: { awarding?: boolean; defaults?: Record<string, string | null | undefined> } | null | undefined,
30
- open?: boolean
31
- ) => string | undefined;
32
-
33
- // The parts of the panel after a submission, in their default order.
34
- export declare const AFTER: Array<'message' | 'missions' | 'advertisements'>;
35
-
36
- // The panel's parts in the organizer's order ( the payload's `after` ), else AFTER.
37
- export declare const afterOrder: ( data?: { after?: string[]; form?: { after?: string[] } | boolean } | null ) => string[];
38
-
39
- // The missions a panel lists; `repeat` (the entry limit was reached) drops the Lead form row.
40
- export declare const panelMissions: <T extends { type?: string }>( missions?: T[] | null, repeat?: boolean ) => T[] | null;
41
-
42
18
  // The consent checkboxes' wording when an agreement has no label of its own.
43
19
  export declare const agreementWording: { marketing: string; sms: string };
44
20
 
45
- // The menu's short names for the agreements, in the menu's order.
46
- export declare const agreementTitles: { terms: string; privacy: string; marketing: string; sms: string };
47
-
48
- // What an agreement opens, or null while nothing is confirmed.
49
- export declare const agreementContent: ( agreement?: { confirmed?: boolean; document?: string; link?: string; type?: string } ) => 'document' | 'link' | null;
50
-
51
- // Whether its checkbox shows: confirmed content, or a confirmed link with no address ( its label alone ).
52
- export declare const agreementShown: ( agreement?: { confirmed?: boolean; document?: string; link?: string | null; type?: string } ) => boolean;
53
-
54
- export declare const asksForPhone: ( fields?: { additional?: { slug?: string }[]; lead?: { slug?: string }[]; sections?: { fields?: { slug?: string }[] }[] } ) => boolean;
55
-
56
- // The agreement ids the page menu lists. `sms : false` (texts off) leaves out SMS terms.
57
- export declare const menuAgreements: ( data?: { agreements?: Record<string, any>; fields?: any; sms?: boolean } ) => string[];
58
-
59
- // The payload's agreements with the locale endpoint's content over them.
60
- export declare const withLocale: ( agreements?: Record<string, any>, locale?: Record<string, any> ) => Record<string, any>;
61
-
62
- // The line under a linked Terms checkbox; null while the giveaway is off.
63
- export declare const termsOptOut: ( values?: { giveaway?: boolean; sms?: boolean } ) => string | null;
21
+ // The panel's title after a submission: the owner's Panel title, else
22
+ // "Entry submitted" while entries are being awarded and "Submitted" otherwise.
23
+ export declare const panelTitle: (
24
+ data: { awarding?: boolean; defaults?: Record<string, string | null | undefined>; giveaway?: boolean } | null | undefined,
25
+ awarding?: boolean
26
+ ) => string;
@@ -5,9 +5,7 @@ export interface FormSection {
5
5
  description?: string | null;
6
6
  fields?: Field[];
7
7
  id: 'information' | 'order' | string;
8
- // The step's Next text; the last step reads the form's Submit text instead.
9
- button?: string | null;
10
- // Order only: the organization's currency ( `prices` is retired ).
8
+ // Order only: the organization's currency and Show prices.
11
9
  settings?: { currency?: string; prices?: boolean };
12
10
  title?: string;
13
11
  type: 'information' | 'order' | string;
@@ -25,17 +23,8 @@ export declare const orderTotal: ( fields: Field[] | undefined, answers: OrderAn
25
23
  // Every quantity across the list fields.
26
24
  export declare const itemCount: ( fields: Field[] | undefined, answers: OrderAnswers ) => number;
27
25
 
28
- // Whether any item of the list fields has a price: the total shows then.
29
- export declare const priced: ( fields: Field[] | undefined ) => boolean;
30
-
31
- // The fields in runs: consecutive lists of one item each are one run, read as one list.
32
- export declare const itemRuns: ( fields?: Field[] ) => Array<{ fields: Field[]; single: boolean }>;
33
-
34
- // Whether `id` is the last list field: the total follows it.
26
+ // Whether `id` is the last list field: the estimated total follows it.
35
27
  export declare const isLastList: ( fields: Field[] | undefined, id?: string ) => boolean;
36
28
 
37
29
  // "Up to N per order" once the quantity reaches the item's `attributes.max`, else null.
38
30
  export declare const limitMessage: ( item: { attributes?: { max?: number | null } } | null | undefined, quantity: number | null | undefined ) => string | null;
39
-
40
- // The index of the first section asking a field the api refused (`refused`, by field id), else -1.
41
- export declare const refusedSection: ( sections?: FormSection[], refused?: Record<string, unknown> | null ) => number;