@pro-laico/create-atomic-payload 0.1.4

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 (423) hide show
  1. package/bin/cli.js +159 -0
  2. package/package.json +29 -0
  3. package/template/.env.example +35 -0
  4. package/template/.gitattributes +2 -0
  5. package/template/.prettierrc.json +6 -0
  6. package/template/.vscode/extensions.json +3 -0
  7. package/template/.vscode/launch.json +24 -0
  8. package/template/.vscode/settings.json +86 -0
  9. package/template/.yarnrc +1 -0
  10. package/template/LICENSE.md +22 -0
  11. package/template/README.md +128 -0
  12. package/template/eslint.config.mjs +32 -0
  13. package/template/next-env.d.ts +6 -0
  14. package/template/next.config.ts +36 -0
  15. package/template/package.json +75 -0
  16. package/template/public/adminFavicon.svg +1 -0
  17. package/template/public/ogImage.webp +0 -0
  18. package/template/src/access/anyone.ts +3 -0
  19. package/template/src/access/authenticated.ts +7 -0
  20. package/template/src/access/authenticatedOrPublished.ts +6 -0
  21. package/template/src/app/(frontend)/[...slug]/page.tsx +48 -0
  22. package/template/src/app/(frontend)/layout.tsx +49 -0
  23. package/template/src/app/(frontend)/next/exit-preview/route.ts +7 -0
  24. package/template/src/app/(frontend)/next/preview/route.ts +45 -0
  25. package/template/src/app/(frontend)/next/seed/route.ts +31 -0
  26. package/template/src/app/(frontend)/not-found.tsx +93 -0
  27. package/template/src/app/(frontend)/page.tsx +5 -0
  28. package/template/src/app/(frontend)/sitemap.ts +14 -0
  29. package/template/src/app/(payload)/admin/[[...segments]]/not-found.tsx +24 -0
  30. package/template/src/app/(payload)/admin/[[...segments]]/page.tsx +24 -0
  31. package/template/src/app/(payload)/admin/importMap.js +85 -0
  32. package/template/src/app/(payload)/api/[...slug]/route.ts +19 -0
  33. package/template/src/app/(payload)/custom.scss +29 -0
  34. package/template/src/app/(payload)/layout.tsx +31 -0
  35. package/template/src/blocks/actions/blocks.ts +27 -0
  36. package/template/src/blocks/actions/cookieConsent/set/block.ts +17 -0
  37. package/template/src/blocks/actions/cookieConsent/set/filter.ts +3 -0
  38. package/template/src/blocks/actions/cookieConsent/set/options.ts +35 -0
  39. package/template/src/blocks/actions/cookieConsent/toDA/block.ts +14 -0
  40. package/template/src/blocks/actions/cookieConsent/toDA/filter.ts +3 -0
  41. package/template/src/blocks/actions/cookieConsent/toDA/options.ts +19 -0
  42. package/template/src/blocks/actions/dynamicStore/boolean/set/block.ts +15 -0
  43. package/template/src/blocks/actions/dynamicStore/boolean/set/filter.ts +4 -0
  44. package/template/src/blocks/actions/dynamicStore/boolean/set/options.ts +18 -0
  45. package/template/src/blocks/actions/dynamicStore/boolean/toDA/block.ts +10 -0
  46. package/template/src/blocks/actions/dynamicStore/boolean/toDA/filter.ts +3 -0
  47. package/template/src/blocks/actions/dynamicStore/boolean/toDA/options.ts +12 -0
  48. package/template/src/blocks/actions/dynamicStore/text/cycle/block.ts +41 -0
  49. package/template/src/blocks/actions/dynamicStore/text/cycle/filter.ts +4 -0
  50. package/template/src/blocks/actions/dynamicStore/text/cycle/options.ts +23 -0
  51. package/template/src/blocks/actions/dynamicStore/text/toDA/block.ts +10 -0
  52. package/template/src/blocks/actions/dynamicStore/text/toDA/filter.ts +3 -0
  53. package/template/src/blocks/actions/dynamicStore/text/toDA/options.ts +12 -0
  54. package/template/src/blocks/actions/filters.ts +27 -0
  55. package/template/src/blocks/actions/form/errorToDA/block.ts +18 -0
  56. package/template/src/blocks/actions/form/errorToDA/filter.ts +3 -0
  57. package/template/src/blocks/actions/form/errorToDA/options.ts +15 -0
  58. package/template/src/blocks/actions/form/reset/block.ts +18 -0
  59. package/template/src/blocks/actions/form/reset/filter.ts +3 -0
  60. package/template/src/blocks/actions/form/reset/options.ts +30 -0
  61. package/template/src/blocks/actions/form/statusToDA/block.ts +12 -0
  62. package/template/src/blocks/actions/form/statusToDA/filter.ts +3 -0
  63. package/template/src/blocks/actions/form/statusToDA/options.ts +15 -0
  64. package/template/src/blocks/actions/form/submit/block.ts +18 -0
  65. package/template/src/blocks/actions/form/submit/filter.ts +3 -0
  66. package/template/src/blocks/actions/form/submit/options.ts +35 -0
  67. package/template/src/blocks/actions/portal/set/block.ts +25 -0
  68. package/template/src/blocks/actions/portal/set/filter.ts +3 -0
  69. package/template/src/blocks/actions/portal/set/options.ts +43 -0
  70. package/template/src/blocks/actions/processor.ts +263 -0
  71. package/template/src/blocks/actions/theme/set/block.ts +10 -0
  72. package/template/src/blocks/actions/theme/set/filter.ts +3 -0
  73. package/template/src/blocks/actions/theme/set/options.ts +9 -0
  74. package/template/src/blocks/actions/zap.ts +4 -0
  75. package/template/src/blocks/children/atomic/block.ts +123 -0
  76. package/template/src/blocks/children/atomic/controlBar.ts +43 -0
  77. package/template/src/blocks/children/atomic/variants/button/typeField.ts +16 -0
  78. package/template/src/blocks/children/atomic/variants/button/variants/link/component.client.tsx +21 -0
  79. package/template/src/blocks/children/atomic/variants/button/variants/link/component.tsx +13 -0
  80. package/template/src/blocks/children/atomic/variants/button/variants/link/controlBar.ts +73 -0
  81. package/template/src/blocks/children/atomic/variants/button/variants/link/settings.ts +26 -0
  82. package/template/src/blocks/children/atomic/variants/button/variants/portal/controlBar.ts +35 -0
  83. package/template/src/blocks/children/atomic/variants/button/variants/portal/dialog/component.tsx +36 -0
  84. package/template/src/blocks/children/atomic/variants/button/variants/portal/dialog/settings.ts +24 -0
  85. package/template/src/blocks/children/atomic/variants/button/variants/portal/popover/component.tsx +41 -0
  86. package/template/src/blocks/children/atomic/variants/button/variants/portal/popover/settings.ts +111 -0
  87. package/template/src/blocks/children/atomic/variants/button/variants/regular/component.client.tsx +19 -0
  88. package/template/src/blocks/children/atomic/variants/button/variants/regular/component.tsx +11 -0
  89. package/template/src/blocks/children/atomic/variants/form/component.tsx +18 -0
  90. package/template/src/blocks/children/atomic/variants/form/controlBar.ts +22 -0
  91. package/template/src/blocks/children/atomic/variants/form/settings.ts +20 -0
  92. package/template/src/blocks/children/atomic/variants/input/autoCompleteOptions.ts +51 -0
  93. package/template/src/blocks/children/atomic/variants/input/controlBar.ts +13 -0
  94. package/template/src/blocks/children/atomic/variants/input/settings.ts +35 -0
  95. package/template/src/blocks/children/atomic/variants/input/typeField.ts +23 -0
  96. package/template/src/blocks/children/atomic/variants/input/variants/checkBox/component.client.tsx +12 -0
  97. package/template/src/blocks/children/atomic/variants/input/variants/checkBox/component.tsx +6 -0
  98. package/template/src/blocks/children/atomic/variants/input/variants/checkBox/settings.ts +9 -0
  99. package/template/src/blocks/children/atomic/variants/input/variants/number/component.client.tsx +12 -0
  100. package/template/src/blocks/children/atomic/variants/input/variants/number/component.tsx +6 -0
  101. package/template/src/blocks/children/atomic/variants/input/variants/number/settings.ts +9 -0
  102. package/template/src/blocks/children/atomic/variants/input/variants/radio/component.client.tsx +12 -0
  103. package/template/src/blocks/children/atomic/variants/input/variants/radio/component.tsx +6 -0
  104. package/template/src/blocks/children/atomic/variants/input/variants/radio/settings.ts +9 -0
  105. package/template/src/blocks/children/atomic/variants/input/variants/text/component.client.tsx +12 -0
  106. package/template/src/blocks/children/atomic/variants/input/variants/text/component.tsx +7 -0
  107. package/template/src/blocks/children/atomic/variants/input/variants/text/settings.ts +12 -0
  108. package/template/src/blocks/children/atomic/variants/tag/component.client.tsx +17 -0
  109. package/template/src/blocks/children/atomic/variants/tag/component.tsx +13 -0
  110. package/template/src/blocks/children/atomic/variants/tag/controlBar.ts +6 -0
  111. package/template/src/blocks/children/atomic/variants/tag/settings.ts +9 -0
  112. package/template/src/blocks/children/blocks.ts +13 -0
  113. package/template/src/blocks/children/icon/block.ts +41 -0
  114. package/template/src/blocks/children/icon/component.tsx +17 -0
  115. package/template/src/blocks/children/image/block.ts +80 -0
  116. package/template/src/blocks/children/image/component.tsx +21 -0
  117. package/template/src/blocks/children/richText/block.ts +50 -0
  118. package/template/src/blocks/children/richText/component/converters/index.tsx +10 -0
  119. package/template/src/blocks/children/richText/component/converters/internalLink.tsx +8 -0
  120. package/template/src/blocks/children/richText/component/index.tsx +10 -0
  121. package/template/src/blocks/children/richText/component.tsx +7 -0
  122. package/template/src/blocks/children/richText/defaultLexical.ts +65 -0
  123. package/template/src/blocks/children/simpleText/block.ts +41 -0
  124. package/template/src/blocks/children/simpleText/component.client.tsx +18 -0
  125. package/template/src/blocks/children/simpleText/component.tsx +11 -0
  126. package/template/src/blocks/children/svg/block.ts +39 -0
  127. package/template/src/blocks/children/svg/component.tsx +6 -0
  128. package/template/src/blocks/children/video/block.ts +70 -0
  129. package/template/src/blocks/children/video/component.tsx +11 -0
  130. package/template/src/blocks/children/zap.ts +54 -0
  131. package/template/src/blocks/submitForm/form/rateLimiting/blocks.ts +5 -0
  132. package/template/src/blocks/submitForm/form/rateLimiting/functions.ts +1 -0
  133. package/template/src/blocks/submitForm/form/rateLimiting/simpleSlidingWindow/block.ts +23 -0
  134. package/template/src/blocks/submitForm/form/rateLimiting/simpleSlidingWindow/serverFunction.ts +46 -0
  135. package/template/src/blocks/submitForm/form/sanitation/blocks.ts +6 -0
  136. package/template/src/blocks/submitForm/form/sanitation/combineTwoFields/block.ts +19 -0
  137. package/template/src/blocks/submitForm/form/sanitation/combineTwoFields/serverFunction.ts +22 -0
  138. package/template/src/blocks/submitForm/form/sanitation/functions.ts +1 -0
  139. package/template/src/blocks/submitForm/form/validation/blocks.ts +6 -0
  140. package/template/src/blocks/submitForm/form/validation/functions.ts +1 -0
  141. package/template/src/blocks/submitForm/form/validation/isUnique/block.ts +19 -0
  142. package/template/src/blocks/submitForm/form/validation/isUnique/serverFunction.ts +40 -0
  143. package/template/src/blocks/submitForm/form/zap.ts +8 -0
  144. package/template/src/blocks/submitForm/formProcessor.ts +222 -0
  145. package/template/src/blocks/submitForm/input/sanitation/blocks.ts +5 -0
  146. package/template/src/blocks/submitForm/input/sanitation/functions.ts +1 -0
  147. package/template/src/blocks/submitForm/input/sanitation/trimText/block.ts +24 -0
  148. package/template/src/blocks/submitForm/input/sanitation/trimText/serverFunction.ts +63 -0
  149. package/template/src/blocks/submitForm/input/useOn.ts +8 -0
  150. package/template/src/blocks/submitForm/input/validation/blocks.ts +6 -0
  151. package/template/src/blocks/submitForm/input/validation/contains/block.ts +12 -0
  152. package/template/src/blocks/submitForm/input/validation/contains/serverFunction.ts +23 -0
  153. package/template/src/blocks/submitForm/input/validation/doesNotContain/block.ts +12 -0
  154. package/template/src/blocks/submitForm/input/validation/doesNotContain/serverFunction.ts +23 -0
  155. package/template/src/blocks/submitForm/input/validation/functions.ts +2 -0
  156. package/template/src/blocks/submitForm/input/zap.ts +6 -0
  157. package/template/src/blocks/submitForm/serverFunction.ts +42 -0
  158. package/template/src/collections/designSets/collection.ts +44 -0
  159. package/template/src/collections/designSets/defaults.ts +20 -0
  160. package/template/src/collections/designSets/tabs/animation.ts +71 -0
  161. package/template/src/collections/designSets/tabs/colors.ts +31 -0
  162. package/template/src/collections/designSets/tabs/fonts.ts +53 -0
  163. package/template/src/collections/designSets/tabs/miscellaneous.ts +22 -0
  164. package/template/src/collections/designSets/tabs/prose.ts +151 -0
  165. package/template/src/collections/designSets/tabs/settings.ts +52 -0
  166. package/template/src/collections/designSets/tabs/sizes.ts +30 -0
  167. package/template/src/collections/designSets/tabs/storage.ts +51 -0
  168. package/template/src/collections/designSets/tabs/variables.ts +28 -0
  169. package/template/src/collections/favicons.ts +11 -0
  170. package/template/src/collections/fonts/collection.ts +20 -0
  171. package/template/src/collections/fonts/script.ts +199 -0
  172. package/template/src/collections/footers/collection.ts +48 -0
  173. package/template/src/collections/footers/component.tsx +13 -0
  174. package/template/src/collections/headers/collection.ts +47 -0
  175. package/template/src/collections/headers/component.tsx +13 -0
  176. package/template/src/collections/iconSets/collection.ts +80 -0
  177. package/template/src/collections/iconSets/defaults.ts +81 -0
  178. package/template/src/collections/icons.ts +20 -0
  179. package/template/src/collections/images.ts +29 -0
  180. package/template/src/collections/index.ts +17 -0
  181. package/template/src/collections/muxVideos.ts +13 -0
  182. package/template/src/collections/pages/collection.ts +88 -0
  183. package/template/src/collections/pages/tabs/SEO.ts +70 -0
  184. package/template/src/collections/pages/tabs/settings.ts +17 -0
  185. package/template/src/collections/posthogProperty.ts +48 -0
  186. package/template/src/collections/shortcutSets/collection.ts +30 -0
  187. package/template/src/collections/shortcutSets/defaults.ts +1 -0
  188. package/template/src/collections/shortcutSets/protectedNames.ts +135 -0
  189. package/template/src/collections/shortcutSets/tabs/settings.ts +13 -0
  190. package/template/src/collections/shortcutSets/tabs/shortcuts.ts +70 -0
  191. package/template/src/collections/users.ts +11 -0
  192. package/template/src/collections/zap.ts +59 -0
  193. package/template/src/components/child/SSRProps.ts +381 -0
  194. package/template/src/components/child/renderChildren.tsx +148 -0
  195. package/template/src/components/livePreviewListener.tsx +10 -0
  196. package/template/src/components/providers/formProvider.tsx +11 -0
  197. package/template/src/components/providers/tracking/gtm.tsx +11 -0
  198. package/template/src/components/providers/tracking/index.tsx +46 -0
  199. package/template/src/components/providers/tracking/postHog.tsx +41 -0
  200. package/template/src/components/providers/tracking/vercel.tsx +10 -0
  201. package/template/src/components/toast/index.module.css +142 -0
  202. package/template/src/components/toast/index.tsx +55 -0
  203. package/template/src/endpoints/seed/backendForm.ts +48 -0
  204. package/template/src/endpoints/seed/designSet.ts +476 -0
  205. package/template/src/endpoints/seed/footer.ts +389 -0
  206. package/template/src/endpoints/seed/header.ts +3511 -0
  207. package/template/src/endpoints/seed/iconSet.ts +19 -0
  208. package/template/src/endpoints/seed/icons/assets/check.svg +4 -0
  209. package/template/src/endpoints/seed/icons/assets/close.svg +4 -0
  210. package/template/src/endpoints/seed/icons/assets/cookie.svg +7 -0
  211. package/template/src/endpoints/seed/icons/assets/github.svg +1 -0
  212. package/template/src/endpoints/seed/icons/assets/logo.svg +11 -0
  213. package/template/src/endpoints/seed/icons/assets/menu.svg +4 -0
  214. package/template/src/endpoints/seed/icons/assets/theme.svg +4 -0
  215. package/template/src/endpoints/seed/icons/check.ts +14 -0
  216. package/template/src/endpoints/seed/icons/close.ts +14 -0
  217. package/template/src/endpoints/seed/icons/cookie.ts +14 -0
  218. package/template/src/endpoints/seed/icons/github.ts +14 -0
  219. package/template/src/endpoints/seed/icons/index.ts +7 -0
  220. package/template/src/endpoints/seed/icons/logo.ts +14 -0
  221. package/template/src/endpoints/seed/icons/menu.ts +14 -0
  222. package/template/src/endpoints/seed/icons/theme.ts +14 -0
  223. package/template/src/endpoints/seed/index.ts +100 -0
  224. package/template/src/endpoints/seed/pages/home.ts +858 -0
  225. package/template/src/endpoints/seed/pages/index.ts +4 -0
  226. package/template/src/endpoints/seed/pages/notFoundPage.ts +287 -0
  227. package/template/src/endpoints/seed/pages/prose.ts +1436 -0
  228. package/template/src/endpoints/seed/pages/testing.ts +2181 -0
  229. package/template/src/endpoints/seed/shortcutSet.ts +187 -0
  230. package/template/src/endpoints/seed/siteMetaData.ts +10 -0
  231. package/template/src/fields/actions/changeKey.ts +12 -0
  232. package/template/src/fields/actions/index.ts +6 -0
  233. package/template/src/fields/actions/initialValueCheckbox.ts +14 -0
  234. package/template/src/fields/actions/keyText.ts +10 -0
  235. package/template/src/fields/actions/persisted.ts +14 -0
  236. package/template/src/fields/actions/setData.ts +20 -0
  237. package/template/src/fields/actions/strict/index.ts +3 -0
  238. package/template/src/fields/actions/strict/keySelect.ts +28 -0
  239. package/template/src/fields/actions/strict/listenSelect.ts +28 -0
  240. package/template/src/fields/actions/strict/performSelect.ts +30 -0
  241. package/template/src/fields/actions/strict/registry/cookieConsent.ts +14 -0
  242. package/template/src/fields/actions/strict/registry/index.ts +6 -0
  243. package/template/src/fields/actions/strict/registry/theme.ts +9 -0
  244. package/template/src/fields/active.ts +16 -0
  245. package/template/src/fields/apf/index.ts +69 -0
  246. package/template/src/fields/apf/storage.ts +38 -0
  247. package/template/src/fields/blocks/actions.ts +30 -0
  248. package/template/src/fields/blocks/backdropChildren.ts +11 -0
  249. package/template/src/fields/blocks/children.ts +15 -0
  250. package/template/src/fields/blocks/submitForm/form.ts +24 -0
  251. package/template/src/fields/blocks/submitForm/input.ts +25 -0
  252. package/template/src/fields/className.ts +26 -0
  253. package/template/src/fields/coloredEnd.ts +5 -0
  254. package/template/src/fields/defaultOpen.ts +14 -0
  255. package/template/src/fields/designSets/value.ts +80 -0
  256. package/template/src/fields/devMode.ts +11 -0
  257. package/template/src/fields/favicon.ts +18 -0
  258. package/template/src/fields/for.ts +11 -0
  259. package/template/src/fields/keepMounted.ts +11 -0
  260. package/template/src/fields/modal.ts +16 -0
  261. package/template/src/fields/slug.ts +35 -0
  262. package/template/src/fields/staticDataAttributes.ts +29 -0
  263. package/template/src/fields/tabs/block/children/actions.ts +49 -0
  264. package/template/src/fields/tabs/block/children/backdrop.ts +17 -0
  265. package/template/src/fields/tabs/block/children/settings.ts +45 -0
  266. package/template/src/fields/tabs/block/children/submitForm/form.ts +23 -0
  267. package/template/src/fields/tabs/block/children/submitForm/input.ts +14 -0
  268. package/template/src/fields/tabs/block/children/tracking.ts +25 -0
  269. package/template/src/fields/tabs/collection/storage.ts +55 -0
  270. package/template/src/fields/tagType.ts +32 -0
  271. package/template/src/fields/testPath.ts +3 -0
  272. package/template/src/fields/uniqueTitle.ts +8 -0
  273. package/template/src/fields/validationMessage.ts +13 -0
  274. package/template/src/globals/index.ts +8 -0
  275. package/template/src/globals/settings.ts +36 -0
  276. package/template/src/globals/siteMetaData.ts +29 -0
  277. package/template/src/globals/storage.ts +15 -0
  278. package/template/src/globals/tracking/global.ts +25 -0
  279. package/template/src/globals/tracking/tabs/gtm.ts +18 -0
  280. package/template/src/globals/tracking/tabs/postHog.ts +35 -0
  281. package/template/src/hooks/collection/atomicHook/atomicHook.ts +223 -0
  282. package/template/src/hooks/collection/atomicHook/processors/cssProcessor.ts +60 -0
  283. package/template/src/hooks/collection/atomicHook/processors/processDesignSet/generatePreflights.ts +36 -0
  284. package/template/src/hooks/collection/atomicHook/processors/processDesignSet/index.ts +176 -0
  285. package/template/src/hooks/collection/atomicHook/processors/unsetActive.ts +24 -0
  286. package/template/src/hooks/collection/formatSVG.ts +157 -0
  287. package/template/src/hooks/collection/revalidate.ts +53 -0
  288. package/template/src/hooks/collection/sanitizeCollection.ts +5 -0
  289. package/template/src/hooks/field/apf.ts +59 -0
  290. package/template/src/hooks/field/formatSlug.ts +23 -0
  291. package/template/src/hooks/field/href.ts +6 -0
  292. package/template/src/hooks/field/publishedAt.ts +5 -0
  293. package/template/src/hooks/frontEnd/atomicStore/create.ts +69 -0
  294. package/template/src/hooks/frontEnd/atomicStore/index.tsx +20 -0
  295. package/template/src/hooks/frontEnd/atomicStore/slices/base.ts +7 -0
  296. package/template/src/hooks/frontEnd/atomicStore/slices/consent.ts +76 -0
  297. package/template/src/hooks/frontEnd/atomicStore/slices/dynamic.ts +51 -0
  298. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/boolToDA/function.ts +14 -0
  299. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/boolToDA/zap.ts +12 -0
  300. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/cCToDA/function.ts +34 -0
  301. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/cCToDA/zap.ts +17 -0
  302. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/errorToDA/function.ts +22 -0
  303. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/errorToDA/zap.ts +10 -0
  304. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/function.ts +20 -0
  305. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/statusToDA/function.ts +24 -0
  306. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/statusToDA/zap.ts +10 -0
  307. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/textToDA/function.ts +21 -0
  308. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/textToDA/zap.ts +12 -0
  309. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/zap.ts +15 -0
  310. package/template/src/hooks/frontEnd/useActions/dispatch/index.ts +2 -0
  311. package/template/src/hooks/frontEnd/useActions/dispatch/runner/cycleText/function.ts +30 -0
  312. package/template/src/hooks/frontEnd/useActions/dispatch/runner/cycleText/zap.ts +12 -0
  313. package/template/src/hooks/frontEnd/useActions/dispatch/runner/function.ts +21 -0
  314. package/template/src/hooks/frontEnd/useActions/dispatch/runner/resetForm/function.ts +7 -0
  315. package/template/src/hooks/frontEnd/useActions/dispatch/runner/resetForm/zap.ts +9 -0
  316. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setBool/function.ts +10 -0
  317. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setBool/zap.ts +11 -0
  318. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setCCs/function.ts +33 -0
  319. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setCCs/zap.ts +14 -0
  320. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setThemes/function.ts +11 -0
  321. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setThemes/zap.ts +10 -0
  322. package/template/src/hooks/frontEnd/useActions/dispatch/runner/submitForm/function.ts +32 -0
  323. package/template/src/hooks/frontEnd/useActions/dispatch/runner/submitForm/zap.ts +9 -0
  324. package/template/src/hooks/frontEnd/useActions/dispatch/runner/zap.ts +16 -0
  325. package/template/src/hooks/frontEnd/useActions/dispatch/zap.ts +2 -0
  326. package/template/src/hooks/frontEnd/useActions/index.ts +6 -0
  327. package/template/src/hooks/frontEnd/useActions/useActionContext.ts +21 -0
  328. package/template/src/hooks/frontEnd/useActions/useButtonActions.ts +17 -0
  329. package/template/src/hooks/frontEnd/useActions/useDaToText.ts +34 -0
  330. package/template/src/hooks/frontEnd/useActions/useForm.ts +114 -0
  331. package/template/src/hooks/frontEnd/useActions/usePortal.ts +33 -0
  332. package/template/src/hooks/frontEnd/useActions/useToDa.ts +12 -0
  333. package/template/src/hooks/global/revalidate.ts +26 -0
  334. package/template/src/payload.config.ts +78 -0
  335. package/template/src/plugins/blurDataUrls.ts +8 -0
  336. package/template/src/plugins/formBuilder.ts +40 -0
  337. package/template/src/plugins/index.ts +17 -0
  338. package/template/src/plugins/muxVideo.ts +13 -0
  339. package/template/src/plugins/nestedDocs.ts +9 -0
  340. package/template/src/plugins/vercelBlobStorage.ts +8 -0
  341. package/template/src/ts/JSONSchema.ts +93 -0
  342. package/template/src/ts/declarations.ts +24 -0
  343. package/template/src/ts/types/actions.ts +175 -0
  344. package/template/src/ts/types/apf.ts +108 -0
  345. package/template/src/ts/types/cache.ts +166 -0
  346. package/template/src/ts/types/css.ts +14 -0
  347. package/template/src/ts/types/forms.ts +214 -0
  348. package/template/src/ts/types/frontEnd.ts +115 -0
  349. package/template/src/ts/types/index.ts +49 -0
  350. package/template/src/ts/types/payload-types.ts +3684 -0
  351. package/template/src/ts/zap/ap.ts +82 -0
  352. package/template/src/ts/zap/index.ts +4 -0
  353. package/template/src/ui/apf/controls.tsx +88 -0
  354. package/template/src/ui/apf/field.tsx +81 -0
  355. package/template/src/ui/apf/index.scss +59 -0
  356. package/template/src/ui/apf/label.tsx +23 -0
  357. package/template/src/ui/assets/Icon.tsx +21 -0
  358. package/template/src/ui/assets/Logo.tsx +21 -0
  359. package/template/src/ui/assets/atomicIcon.tsx +27 -0
  360. package/template/src/ui/assets/warningIcon.ts +6 -0
  361. package/template/src/ui/blocks/actionBlock.tsx +44 -0
  362. package/template/src/ui/blocks/inputBlock.tsx +24 -0
  363. package/template/src/ui/decorative/coloredEnd.tsx +16 -0
  364. package/template/src/ui/decorative/index.scss +46 -0
  365. package/template/src/ui/fields/iconSelect/index.tsx +19 -0
  366. package/template/src/ui/fields/slug/index.scss +12 -0
  367. package/template/src/ui/fields/slug/index.tsx +72 -0
  368. package/template/src/ui/index.ts +32 -0
  369. package/template/src/ui/root/beforeDashboard/index.scss +22 -0
  370. package/template/src/ui/root/beforeDashboard/index.tsx +39 -0
  371. package/template/src/ui/root/beforeDashboard/seedButton/index.scss +12 -0
  372. package/template/src/ui/root/beforeDashboard/seedButton/index.tsx +84 -0
  373. package/template/src/ui/root/siteTriggers/index.scss +22 -0
  374. package/template/src/ui/root/siteTriggers/index.tsx +94 -0
  375. package/template/src/ui/root/siteTriggers/triggerVercelDeploy.ts +37 -0
  376. package/template/src/ui/rowLabels/animation.tsx +27 -0
  377. package/template/src/ui/rowLabels/atomic/index.scss +62 -0
  378. package/template/src/ui/rowLabels/atomic/index.tsx +96 -0
  379. package/template/src/ui/rowLabels/color.tsx +33 -0
  380. package/template/src/ui/rowLabels/designToken.tsx +30 -0
  381. package/template/src/ui/rowLabels/icon.tsx +32 -0
  382. package/template/src/ui/rowLabels/shortcut/index.scss +21 -0
  383. package/template/src/ui/rowLabels/shortcut/index.tsx +30 -0
  384. package/template/src/ui/rowLabels/simpleText.tsx +41 -0
  385. package/template/src/utilities/deepMerge.ts +30 -0
  386. package/template/src/utilities/extractSVG.ts +9 -0
  387. package/template/src/utilities/format/toKebabCase.ts +79 -0
  388. package/template/src/utilities/format/toTitleCase.ts +47 -0
  389. package/template/src/utilities/formatDurationWithTokens.ts +56 -0
  390. package/template/src/utilities/generateMetaData.ts +45 -0
  391. package/template/src/utilities/generatePreviewPath.ts +43 -0
  392. package/template/src/utilities/get/cache/getAtomicActions.ts +48 -0
  393. package/template/src/utilities/get/cache/getAtomicClasses.ts +20 -0
  394. package/template/src/utilities/get/cache/getDesignSet.ts +15 -0
  395. package/template/src/utilities/get/cache/getFooter.ts +17 -0
  396. package/template/src/utilities/get/cache/getFormSubmissions.ts +17 -0
  397. package/template/src/utilities/get/cache/getForms.ts +43 -0
  398. package/template/src/utilities/get/cache/getHeader.ts +17 -0
  399. package/template/src/utilities/get/cache/getIcon.ts +51 -0
  400. package/template/src/utilities/get/cache/getImage.ts +20 -0
  401. package/template/src/utilities/get/cache/getPage.ts +35 -0
  402. package/template/src/utilities/get/cache/getPages.ts +24 -0
  403. package/template/src/utilities/get/cache/getShortcutSet.ts +17 -0
  404. package/template/src/utilities/get/cache/getSiteCSS.ts +17 -0
  405. package/template/src/utilities/get/cache/getSiteMetadata.ts +14 -0
  406. package/template/src/utilities/get/cache/getSitemap.ts +50 -0
  407. package/template/src/utilities/get/cache/getTracking.ts +14 -0
  408. package/template/src/utilities/get/cache/index.ts +129 -0
  409. package/template/src/utilities/get/cache/react.ts +5 -0
  410. package/template/src/utilities/get/getImageURL.ts +20 -0
  411. package/template/src/utilities/get/getMeUser.ts +22 -0
  412. package/template/src/utilities/get/getURL.ts +20 -0
  413. package/template/src/utilities/log/cache.ts +8 -0
  414. package/template/src/utilities/log/manual.ts +11 -0
  415. package/template/src/utilities/log/revalidation.ts +6 -0
  416. package/template/src/utilities/mergeTags.ts +7 -0
  417. package/template/src/utilities/propertyApplicatorUtility.ts +20 -0
  418. package/template/src/utilities/revalidateTag.ts +55 -0
  419. package/template/src/utilities/runAPF.ts +10 -0
  420. package/template/src/utilities/sanitizeData.ts +24 -0
  421. package/template/src/utilities/seedNestedRelationship.ts +5 -0
  422. package/template/tailwind.config.js +9 -0
  423. package/template/tsconfig.json +49 -0
@@ -0,0 +1,2181 @@
1
+ import type { Page } from '@/ts/types'
2
+
3
+ export const testingPage: Omit<Page, 'createdAt' | 'updatedAt' | 'publishedAt' | 'id'> = {
4
+ title: 'Testing',
5
+ slug: 'testing',
6
+ slugLock: true,
7
+ href: '/testing',
8
+ live: true,
9
+ mainClassName: 'page-main',
10
+ _status: 'published',
11
+ devMode: false,
12
+
13
+ children: [
14
+ {
15
+ blockType: 'AtomicChild',
16
+ type: 'tag',
17
+ tagType: 'section',
18
+ ClassName: 'py-4 lg:py-32',
19
+
20
+ children: [
21
+ {
22
+ blockType: 'AtomicChild',
23
+ type: 'tag',
24
+ tagType: 'div',
25
+ ClassName: 'container mx-auto',
26
+
27
+ children: [
28
+ {
29
+ blockType: 'AtomicChild',
30
+ type: 'tag',
31
+ tagType: 'div',
32
+ ClassName: 'mx-auto flex max-w-7xl flex-col justify-between gap-4 lg:flex-row lg:gap-20',
33
+
34
+ children: [
35
+ {
36
+ blockType: 'AtomicChild',
37
+ type: 'tag',
38
+ tagType: 'div',
39
+ ClassName: 'mx-auto flex max-w-sm flex-col justify-between gap-4 lg:gap-10',
40
+
41
+ children: [
42
+ {
43
+ blockType: 'AtomicChild',
44
+ type: 'tag',
45
+ tagType: 'div',
46
+ ClassName: 'text-center lg:text-left',
47
+
48
+ children: [
49
+ {
50
+ blockType: 'SimpleTextChild',
51
+ tagType: 'h1',
52
+ ClassName: 'mb-2 text-5xl font-semibold lg:mb-1 lg:text-6xl',
53
+ text: 'Contact Us',
54
+ id: '693082a9a267440308d1a1fe',
55
+
56
+ contentActions: {
57
+ actionBlocks: [],
58
+ },
59
+
60
+ staticDataAttributes: [],
61
+ },
62
+ ],
63
+ id: '693082a3a267440308d1a1fd',
64
+ blockName: 'Title',
65
+
66
+ triggerChildren: [],
67
+
68
+ triggerActions: {
69
+ actionBlocks: [],
70
+ },
71
+
72
+ contentActions: {
73
+ actionBlocks: [],
74
+ },
75
+
76
+ formRateLimitBlocks: [],
77
+
78
+ formSanitationBlocks: [],
79
+
80
+ formValidationBlocks: [],
81
+
82
+ inputSanitationBlocks: [],
83
+
84
+ inputValidationBlocks: [],
85
+
86
+ backdropChildren: [],
87
+
88
+ ds: {},
89
+
90
+ pops: {},
91
+
92
+ triggerStaticDataAttributes: [],
93
+
94
+ staticDataAttributes: [],
95
+ },
96
+
97
+ {
98
+ blockType: 'AtomicChild',
99
+ type: 'tag',
100
+ tagType: 'div',
101
+ ClassName: 'mx-auto w-fit lg:mx-0',
102
+
103
+ children: [
104
+ {
105
+ blockType: 'SimpleTextChild',
106
+ tagType: 'h3',
107
+ ClassName: 'mb-2 lg:mb-6 text-center text-2xl font-semibold lg:text-left',
108
+ text: 'Contact Details',
109
+ id: '693082daa267440308d1a200',
110
+
111
+ contentActions: {
112
+ actionBlocks: [],
113
+ },
114
+
115
+ staticDataAttributes: [],
116
+ },
117
+
118
+ {
119
+ blockType: 'AtomicChild',
120
+ type: 'tag',
121
+ tagType: 'ul',
122
+ ClassName: 'ml-4 list-disc',
123
+
124
+ children: [
125
+ {
126
+ blockType: 'AtomicChild',
127
+ type: 'tag',
128
+ tagType: 'li',
129
+
130
+ children: [
131
+ {
132
+ blockType: 'SimpleTextChild',
133
+ tagType: 'span',
134
+ ClassName: 'font-bold',
135
+ text: 'Phone: ',
136
+ id: '6930836ea267440308d1a203',
137
+
138
+ contentActions: {
139
+ actionBlocks: [],
140
+ },
141
+
142
+ staticDataAttributes: [],
143
+ },
144
+
145
+ {
146
+ blockType: 'SimpleTextChild',
147
+ tagType: 'span',
148
+ text: '123-456-7890',
149
+ id: '693083a2a267440308d1a204',
150
+
151
+ contentActions: {
152
+ actionBlocks: [],
153
+ },
154
+
155
+ staticDataAttributes: [],
156
+ },
157
+ ],
158
+ id: '69308362a267440308d1a202',
159
+ blockName: 'Phone',
160
+
161
+ triggerChildren: [],
162
+
163
+ triggerActions: {
164
+ actionBlocks: [],
165
+ },
166
+
167
+ contentActions: {
168
+ actionBlocks: [],
169
+ },
170
+
171
+ formRateLimitBlocks: [],
172
+
173
+ formSanitationBlocks: [],
174
+
175
+ formValidationBlocks: [],
176
+
177
+ inputSanitationBlocks: [],
178
+
179
+ inputValidationBlocks: [],
180
+
181
+ backdropChildren: [],
182
+
183
+ ds: {},
184
+
185
+ pops: {},
186
+
187
+ triggerStaticDataAttributes: [],
188
+
189
+ staticDataAttributes: [],
190
+ },
191
+
192
+ {
193
+ blockType: 'AtomicChild',
194
+ type: 'tag',
195
+ tagType: 'li',
196
+
197
+ children: [
198
+ {
199
+ blockType: 'SimpleTextChild',
200
+ tagType: 'span',
201
+ ClassName: 'font-bold',
202
+ text: 'Email: ',
203
+ id: '693083c2a267440308d1a206',
204
+
205
+ contentActions: {
206
+ actionBlocks: [],
207
+ },
208
+
209
+ staticDataAttributes: [],
210
+ },
211
+
212
+ {
213
+ blockType: 'AtomicChild',
214
+ type: 'button',
215
+ tagType: 'div',
216
+ buttonType: 'link',
217
+ linkType: 'email',
218
+ email: 'john@example.com',
219
+ triggerClassName: 'underline',
220
+
221
+ triggerChildren: [
222
+ {
223
+ blockType: 'SimpleTextChild',
224
+ tagType: 'fragment',
225
+ text: 'john@example.com',
226
+ id: '6930939a8ec5108984da0c46',
227
+
228
+ contentActions: {
229
+ actionBlocks: [],
230
+ },
231
+
232
+ staticDataAttributes: [],
233
+ },
234
+ ],
235
+ id: '693083d4a267440308d1a208',
236
+
237
+ children: [],
238
+
239
+ triggerActions: {
240
+ actionBlocks: [],
241
+ },
242
+
243
+ contentActions: {
244
+ actionBlocks: [],
245
+ },
246
+
247
+ formRateLimitBlocks: [],
248
+
249
+ formSanitationBlocks: [],
250
+
251
+ formValidationBlocks: [],
252
+
253
+ inputSanitationBlocks: [],
254
+
255
+ inputValidationBlocks: [],
256
+
257
+ backdropChildren: [],
258
+
259
+ ds: {},
260
+
261
+ pops: {},
262
+
263
+ triggerStaticDataAttributes: [],
264
+
265
+ staticDataAttributes: [],
266
+ },
267
+ ],
268
+ id: '693083c2a267440308d1a205',
269
+ blockName: 'Email',
270
+
271
+ triggerChildren: [],
272
+
273
+ triggerActions: {
274
+ actionBlocks: [],
275
+ },
276
+
277
+ contentActions: {
278
+ actionBlocks: [],
279
+ },
280
+
281
+ formRateLimitBlocks: [],
282
+
283
+ formSanitationBlocks: [],
284
+
285
+ formValidationBlocks: [],
286
+
287
+ inputSanitationBlocks: [],
288
+
289
+ inputValidationBlocks: [],
290
+
291
+ backdropChildren: [],
292
+
293
+ ds: {},
294
+
295
+ pops: {},
296
+
297
+ triggerStaticDataAttributes: [],
298
+
299
+ staticDataAttributes: [],
300
+ },
301
+
302
+ {
303
+ blockType: 'AtomicChild',
304
+ type: 'tag',
305
+ tagType: 'li',
306
+
307
+ children: [
308
+ {
309
+ blockType: 'SimpleTextChild',
310
+ tagType: 'span',
311
+ ClassName: 'font-bold',
312
+ text: 'Web: ',
313
+ id: '6930840ca267440308d1a20a',
314
+
315
+ contentActions: {
316
+ actionBlocks: [],
317
+ },
318
+
319
+ staticDataAttributes: [],
320
+ },
321
+
322
+ {
323
+ blockType: 'AtomicChild',
324
+ type: 'button',
325
+ tagType: 'div',
326
+ buttonType: 'link',
327
+ linkType: 'externalLink',
328
+ externalLink: 'www.atomicpayload.com',
329
+ email: '',
330
+ triggerClassName: 'underline',
331
+
332
+ triggerChildren: [
333
+ {
334
+ blockType: 'SimpleTextChild',
335
+ tagType: 'span',
336
+ text: 'atomicpayload.com',
337
+ id: '6930842ca267440308d1a20c',
338
+
339
+ contentActions: {
340
+ actionBlocks: [],
341
+ },
342
+
343
+ staticDataAttributes: [],
344
+ },
345
+ ],
346
+ id: '6930840ca267440308d1a20b',
347
+
348
+ children: [],
349
+
350
+ triggerActions: {
351
+ actionBlocks: [],
352
+ },
353
+
354
+ contentActions: {
355
+ actionBlocks: [],
356
+ },
357
+
358
+ formRateLimitBlocks: [],
359
+
360
+ formSanitationBlocks: [],
361
+
362
+ formValidationBlocks: [],
363
+
364
+ inputSanitationBlocks: [],
365
+
366
+ inputValidationBlocks: [],
367
+
368
+ backdropChildren: [],
369
+
370
+ ds: {},
371
+
372
+ pops: {},
373
+
374
+ triggerStaticDataAttributes: [],
375
+
376
+ staticDataAttributes: [],
377
+ },
378
+ ],
379
+ id: '6930840ca267440308d1a209',
380
+ blockName: 'Website',
381
+
382
+ triggerChildren: [],
383
+
384
+ triggerActions: {
385
+ actionBlocks: [],
386
+ },
387
+
388
+ contentActions: {
389
+ actionBlocks: [],
390
+ },
391
+
392
+ formRateLimitBlocks: [],
393
+
394
+ formSanitationBlocks: [],
395
+
396
+ formValidationBlocks: [],
397
+
398
+ inputSanitationBlocks: [],
399
+
400
+ inputValidationBlocks: [],
401
+
402
+ backdropChildren: [],
403
+
404
+ ds: {},
405
+
406
+ pops: {},
407
+
408
+ triggerStaticDataAttributes: [],
409
+
410
+ staticDataAttributes: [],
411
+ },
412
+ ],
413
+ id: '6930835ba267440308d1a201',
414
+ blockName: 'Contact List',
415
+
416
+ triggerChildren: [],
417
+
418
+ triggerActions: {
419
+ actionBlocks: [],
420
+ },
421
+
422
+ contentActions: {
423
+ actionBlocks: [],
424
+ },
425
+
426
+ formRateLimitBlocks: [],
427
+
428
+ formSanitationBlocks: [],
429
+
430
+ formValidationBlocks: [],
431
+
432
+ inputSanitationBlocks: [],
433
+
434
+ inputValidationBlocks: [],
435
+
436
+ backdropChildren: [],
437
+
438
+ ds: {},
439
+
440
+ pops: {},
441
+
442
+ triggerStaticDataAttributes: [],
443
+
444
+ staticDataAttributes: [],
445
+ },
446
+ ],
447
+ id: '693082d0a267440308d1a1ff',
448
+ blockName: 'Contact Details',
449
+
450
+ triggerChildren: [],
451
+
452
+ triggerActions: {
453
+ actionBlocks: [],
454
+ },
455
+
456
+ contentActions: {
457
+ actionBlocks: [],
458
+ },
459
+
460
+ formRateLimitBlocks: [],
461
+
462
+ formSanitationBlocks: [],
463
+
464
+ formValidationBlocks: [],
465
+
466
+ inputSanitationBlocks: [],
467
+
468
+ inputValidationBlocks: [],
469
+
470
+ backdropChildren: [],
471
+
472
+ ds: {},
473
+
474
+ pops: {},
475
+
476
+ triggerStaticDataAttributes: [],
477
+
478
+ staticDataAttributes: [],
479
+ },
480
+ ],
481
+ id: '69308298a267440308d1a1fc',
482
+ blockName: 'Contact Us',
483
+
484
+ triggerChildren: [],
485
+
486
+ triggerActions: {
487
+ actionBlocks: [],
488
+ },
489
+
490
+ contentActions: {
491
+ actionBlocks: [],
492
+ },
493
+
494
+ formRateLimitBlocks: [],
495
+
496
+ formSanitationBlocks: [],
497
+
498
+ formValidationBlocks: [],
499
+
500
+ inputSanitationBlocks: [],
501
+
502
+ inputValidationBlocks: [],
503
+
504
+ backdropChildren: [],
505
+
506
+ ds: {},
507
+
508
+ pops: {},
509
+
510
+ triggerStaticDataAttributes: [],
511
+
512
+ staticDataAttributes: [],
513
+ },
514
+
515
+ {
516
+ blockType: 'AtomicChild',
517
+ type: 'form',
518
+ tagType: 'div',
519
+ backendForm: 'Contact',
520
+ formName: 'contact',
521
+ ClassName: 'mx-auto flex max-w-3xl flex-col gap-6 rounded-lg border border-border p-4 lg:p-10',
522
+
523
+ children: [
524
+ {
525
+ blockType: 'AtomicChild',
526
+ type: 'tag',
527
+ tagType: 'div',
528
+ ClassName: 'flex gap-4',
529
+
530
+ children: [
531
+ {
532
+ blockType: 'AtomicChild',
533
+ type: 'tag',
534
+ tagType: 'div',
535
+ ClassName: 'flex flex-col w-full items-start gap-1.5',
536
+
537
+ children: [
538
+ {
539
+ blockType: 'SimpleTextChild',
540
+ tagType: 'label',
541
+ ClassName: 'form-label',
542
+ htmlFor: 'firstName',
543
+ text: 'First Name',
544
+ id: '6930865aa267440308d1a210',
545
+
546
+ contentActions: {
547
+ actionBlocks: [],
548
+ },
549
+
550
+ staticDataAttributes: [],
551
+ },
552
+
553
+ {
554
+ blockType: 'AtomicChild',
555
+ type: 'input',
556
+ tagType: 'div',
557
+ inputType: 'text',
558
+ inputName: 'firstName',
559
+ ClassName: 'form-input',
560
+
561
+ contentActions: {
562
+ actionBlocks: [
563
+ {
564
+ blockType: 'ActFormErrorToDA',
565
+ inputName: 'firstName',
566
+ id: '6931b576e9d7311d50b365df',
567
+ },
568
+ ],
569
+
570
+ actions: ['ActFormErrorToDA'],
571
+
572
+ attributers: [
573
+ {
574
+ type: 'AttFormErrorToDA',
575
+ key: 'contact',
576
+ inputName: 'firstName',
577
+ },
578
+ ],
579
+ },
580
+ required: true,
581
+
582
+ inputValidationBlocks: [
583
+ {
584
+ blockType: 'IvContains',
585
+ containsValue: 'John',
586
+ validationMessage: "Must Contain 'John'",
587
+ id: '6931b96ee9d7311d50b365e1',
588
+ },
589
+ ],
590
+ autocomplete: 'given-name',
591
+ textPlaceholder: 'John',
592
+ id: '693086bba267440308d1a211',
593
+
594
+ children: [],
595
+
596
+ triggerChildren: [],
597
+
598
+ triggerActions: {
599
+ actionBlocks: [],
600
+ },
601
+
602
+ formRateLimitBlocks: [],
603
+
604
+ formSanitationBlocks: [],
605
+
606
+ formValidationBlocks: [],
607
+
608
+ inputSanitationBlocks: [],
609
+
610
+ backdropChildren: [],
611
+
612
+ ds: {},
613
+
614
+ pops: {},
615
+
616
+ triggerStaticDataAttributes: [],
617
+
618
+ staticDataAttributes: [],
619
+ },
620
+
621
+ {
622
+ blockType: 'SimpleTextChild',
623
+ tagType: 'p',
624
+ ClassName: 'hidden data-[error]:flex text-sm text-destructive',
625
+ text: '{{error}}',
626
+
627
+ contentActions: {
628
+ actionBlocks: [
629
+ {
630
+ blockType: 'ActFormErrorToDA',
631
+ inputName: 'firstName',
632
+ id: '6931bb70e9d7311d50b365e6',
633
+ },
634
+ ],
635
+
636
+ actions: ['ActFormErrorToDA'],
637
+
638
+ attributers: [
639
+ {
640
+ type: 'AttFormErrorToDA',
641
+ key: 'contact',
642
+ inputName: 'firstName',
643
+ },
644
+ ],
645
+ },
646
+ id: '6931bac9e9d7311d50b365e4',
647
+
648
+ staticDataAttributes: [],
649
+ },
650
+ ],
651
+ id: '69308653a267440308d1a20f',
652
+ blockName: 'First Name',
653
+
654
+ triggerChildren: [],
655
+
656
+ triggerActions: {
657
+ actionBlocks: [],
658
+ },
659
+
660
+ contentActions: {
661
+ actionBlocks: [],
662
+ },
663
+
664
+ formRateLimitBlocks: [],
665
+
666
+ formSanitationBlocks: [],
667
+
668
+ formValidationBlocks: [],
669
+
670
+ inputSanitationBlocks: [],
671
+
672
+ inputValidationBlocks: [],
673
+
674
+ backdropChildren: [],
675
+
676
+ ds: {},
677
+
678
+ pops: {},
679
+
680
+ triggerStaticDataAttributes: [],
681
+
682
+ staticDataAttributes: [],
683
+ },
684
+
685
+ {
686
+ blockType: 'AtomicChild',
687
+ type: 'tag',
688
+ tagType: 'div',
689
+ ClassName: 'flex flex-col w-full items-start gap-1.5',
690
+
691
+ children: [
692
+ {
693
+ blockType: 'SimpleTextChild',
694
+ tagType: 'label',
695
+ ClassName: 'form-label',
696
+ htmlFor: 'lastName',
697
+ text: 'Last Name',
698
+ id: '69308742a267440308d1a213',
699
+
700
+ contentActions: {
701
+ actionBlocks: [],
702
+ },
703
+
704
+ staticDataAttributes: [],
705
+ },
706
+
707
+ {
708
+ blockType: 'AtomicChild',
709
+ type: 'input',
710
+ tagType: 'div',
711
+ inputType: 'text',
712
+ inputName: 'lastName',
713
+ ClassName: 'form-input',
714
+
715
+ contentActions: {
716
+ actionBlocks: [
717
+ {
718
+ blockType: 'ActFormErrorToDA',
719
+ inputName: 'lastName',
720
+ id: '6931b597e9d7311d50b365e0',
721
+ },
722
+ ],
723
+
724
+ actions: ['ActFormErrorToDA'],
725
+
726
+ attributers: [
727
+ {
728
+ type: 'AttFormErrorToDA',
729
+ key: 'contact',
730
+ inputName: 'lastName',
731
+ },
732
+ ],
733
+ },
734
+ required: true,
735
+
736
+ inputValidationBlocks: [
737
+ {
738
+ blockType: 'IvContains',
739
+ containsValue: 'Doe',
740
+ validationMessage: "Must Contain 'Doe'",
741
+ id: '6931b0d765fe13059d5031b1',
742
+ },
743
+ ],
744
+ autocomplete: 'family-name',
745
+ textPlaceholder: 'Doe',
746
+ id: '69308742a267440308d1a214',
747
+
748
+ children: [],
749
+
750
+ triggerChildren: [],
751
+
752
+ triggerActions: {
753
+ actionBlocks: [],
754
+ },
755
+
756
+ formRateLimitBlocks: [],
757
+
758
+ formSanitationBlocks: [],
759
+
760
+ formValidationBlocks: [],
761
+
762
+ inputSanitationBlocks: [],
763
+
764
+ backdropChildren: [],
765
+
766
+ ds: {},
767
+
768
+ pops: {},
769
+
770
+ triggerStaticDataAttributes: [],
771
+
772
+ staticDataAttributes: [],
773
+ },
774
+
775
+ {
776
+ blockType: 'SimpleTextChild',
777
+ tagType: 'p',
778
+ ClassName: 'hidden data-[error]:flex text-sm text-destructive',
779
+ text: '{{error}}',
780
+
781
+ contentActions: {
782
+ actionBlocks: [
783
+ {
784
+ blockType: 'ActFormErrorToDA',
785
+ inputName: 'lastName',
786
+ id: '6931bbdca45ce72c08287479',
787
+ },
788
+ ],
789
+
790
+ actions: ['ActFormErrorToDA'],
791
+
792
+ attributers: [
793
+ {
794
+ type: 'AttFormErrorToDA',
795
+ key: 'contact',
796
+ inputName: 'lastName',
797
+ },
798
+ ],
799
+ },
800
+ id: '6931bbd7e9d7311d50b365e7',
801
+
802
+ staticDataAttributes: [],
803
+ },
804
+ ],
805
+ id: '69308742a267440308d1a212',
806
+ blockName: 'Last Name',
807
+
808
+ triggerChildren: [],
809
+
810
+ triggerActions: {
811
+ actionBlocks: [],
812
+ },
813
+
814
+ contentActions: {
815
+ actionBlocks: [],
816
+ },
817
+
818
+ formRateLimitBlocks: [],
819
+
820
+ formSanitationBlocks: [],
821
+
822
+ formValidationBlocks: [],
823
+
824
+ inputSanitationBlocks: [],
825
+
826
+ inputValidationBlocks: [],
827
+
828
+ backdropChildren: [],
829
+
830
+ ds: {},
831
+
832
+ pops: {},
833
+
834
+ triggerStaticDataAttributes: [],
835
+
836
+ staticDataAttributes: [],
837
+ },
838
+ ],
839
+ id: '69308648a267440308d1a20e',
840
+ blockName: 'First & Last Name',
841
+
842
+ triggerChildren: [],
843
+
844
+ triggerActions: {
845
+ actionBlocks: [],
846
+ },
847
+
848
+ contentActions: {
849
+ actionBlocks: [],
850
+ },
851
+
852
+ formRateLimitBlocks: [],
853
+
854
+ formSanitationBlocks: [],
855
+
856
+ formValidationBlocks: [],
857
+
858
+ inputSanitationBlocks: [],
859
+
860
+ inputValidationBlocks: [],
861
+
862
+ backdropChildren: [],
863
+
864
+ ds: {},
865
+
866
+ pops: {},
867
+
868
+ triggerStaticDataAttributes: [],
869
+
870
+ staticDataAttributes: [],
871
+ },
872
+
873
+ {
874
+ blockType: 'AtomicChild',
875
+ type: 'tag',
876
+ tagType: 'div',
877
+ ClassName: 'flex flex-col w-full items-start gap-1.5',
878
+
879
+ children: [
880
+ {
881
+ blockType: 'SimpleTextChild',
882
+ tagType: 'label',
883
+ ClassName: 'form-label',
884
+ htmlFor: 'email',
885
+ text: 'Email',
886
+ id: '693088fe226fdc58c8ef9f84',
887
+
888
+ contentActions: {
889
+ actionBlocks: [],
890
+ },
891
+
892
+ staticDataAttributes: [],
893
+ },
894
+
895
+ {
896
+ blockType: 'AtomicChild',
897
+ type: 'input',
898
+ tagType: 'div',
899
+ inputType: 'email',
900
+ inputName: 'email',
901
+ ClassName: 'form-input',
902
+
903
+ contentActions: {
904
+ actionBlocks: [
905
+ {
906
+ blockType: 'ActFormErrorToDA',
907
+ inputName: 'email',
908
+ id: '6931b99ce9d7311d50b365e2',
909
+ },
910
+ ],
911
+
912
+ actions: ['ActFormErrorToDA'],
913
+
914
+ attributers: [
915
+ {
916
+ type: 'AttFormErrorToDA',
917
+ key: 'contact',
918
+ inputName: 'email',
919
+ },
920
+ ],
921
+ },
922
+ required: true,
923
+ autocomplete: 'email',
924
+ textPlaceholder: 'john@example.com',
925
+ id: '693088fe226fdc58c8ef9f85',
926
+
927
+ children: [],
928
+
929
+ triggerChildren: [],
930
+
931
+ triggerActions: {
932
+ actionBlocks: [],
933
+ },
934
+
935
+ formRateLimitBlocks: [],
936
+
937
+ formSanitationBlocks: [],
938
+
939
+ formValidationBlocks: [],
940
+
941
+ inputSanitationBlocks: [],
942
+
943
+ inputValidationBlocks: [],
944
+
945
+ backdropChildren: [],
946
+
947
+ ds: {},
948
+
949
+ pops: {},
950
+
951
+ triggerStaticDataAttributes: [],
952
+
953
+ staticDataAttributes: [],
954
+ },
955
+ ],
956
+ id: '693088fa90938a01e5c20856',
957
+ blockName: 'Email',
958
+
959
+ triggerChildren: [],
960
+
961
+ triggerActions: {
962
+ actionBlocks: [],
963
+ },
964
+
965
+ contentActions: {
966
+ actionBlocks: [],
967
+ },
968
+
969
+ formRateLimitBlocks: [],
970
+
971
+ formSanitationBlocks: [],
972
+
973
+ formValidationBlocks: [],
974
+
975
+ inputSanitationBlocks: [],
976
+
977
+ inputValidationBlocks: [],
978
+
979
+ backdropChildren: [],
980
+
981
+ ds: {},
982
+
983
+ pops: {},
984
+
985
+ triggerStaticDataAttributes: [],
986
+
987
+ staticDataAttributes: [],
988
+ },
989
+
990
+ {
991
+ blockType: 'AtomicChild',
992
+ type: 'tag',
993
+ tagType: 'div',
994
+ inputType: 'radio',
995
+ ClassName: 'flex flex-col gap-1.5',
996
+
997
+ children: [
998
+ {
999
+ blockType: 'SimpleTextChild',
1000
+ tagType: 'p',
1001
+ ClassName: 'form-label',
1002
+ htmlFor: '',
1003
+ text: 'Subject',
1004
+ id: '69308b9990938a01e5c20864',
1005
+
1006
+ contentActions: {
1007
+ actionBlocks: [],
1008
+ },
1009
+
1010
+ staticDataAttributes: [],
1011
+ },
1012
+
1013
+ {
1014
+ blockType: 'AtomicChild',
1015
+ type: 'tag',
1016
+ tagType: 'div',
1017
+ ClassName: 'flex gap-4',
1018
+
1019
+ children: [
1020
+ {
1021
+ blockType: 'AtomicChild',
1022
+ type: 'tag',
1023
+ tagType: 'div',
1024
+ ClassName: 'flex items-center gap-3',
1025
+
1026
+ children: [
1027
+ {
1028
+ blockType: 'AtomicChild',
1029
+ type: 'input',
1030
+ tagType: 'div',
1031
+ inputType: 'radio',
1032
+ inputName: 'subject',
1033
+ ClassName: '',
1034
+ autocomplete: 'given-name',
1035
+ textPlaceholder: 'First Name',
1036
+ radioDefault: true,
1037
+ radioValue: 'Marketing',
1038
+ id: '69308e43226fdc58c8ef9f8a',
1039
+ blockName: 'Marketing',
1040
+
1041
+ children: [],
1042
+
1043
+ triggerChildren: [],
1044
+
1045
+ triggerActions: {
1046
+ actionBlocks: [],
1047
+ },
1048
+
1049
+ contentActions: {
1050
+ actionBlocks: [],
1051
+ },
1052
+
1053
+ formRateLimitBlocks: [],
1054
+
1055
+ formSanitationBlocks: [],
1056
+
1057
+ formValidationBlocks: [],
1058
+
1059
+ inputSanitationBlocks: [],
1060
+
1061
+ inputValidationBlocks: [],
1062
+
1063
+ backdropChildren: [],
1064
+
1065
+ ds: {},
1066
+
1067
+ pops: {},
1068
+
1069
+ triggerStaticDataAttributes: [],
1070
+
1071
+ staticDataAttributes: [],
1072
+ },
1073
+
1074
+ {
1075
+ blockType: 'SimpleTextChild',
1076
+ tagType: 'label',
1077
+ ClassName: 'form-label',
1078
+ htmlFor: 'Marketing',
1079
+ text: 'Marketing',
1080
+ id: '69308e43226fdc58c8ef9f8b',
1081
+
1082
+ contentActions: {
1083
+ actionBlocks: [],
1084
+ },
1085
+
1086
+ staticDataAttributes: [],
1087
+ },
1088
+ ],
1089
+ id: '69308e3f90938a01e5c2086a',
1090
+ blockName: 'Marketing',
1091
+
1092
+ triggerChildren: [],
1093
+
1094
+ triggerActions: {
1095
+ actionBlocks: [],
1096
+ },
1097
+
1098
+ contentActions: {
1099
+ actionBlocks: [],
1100
+ },
1101
+
1102
+ formRateLimitBlocks: [],
1103
+
1104
+ formSanitationBlocks: [],
1105
+
1106
+ formValidationBlocks: [],
1107
+
1108
+ inputSanitationBlocks: [],
1109
+
1110
+ inputValidationBlocks: [],
1111
+
1112
+ backdropChildren: [],
1113
+
1114
+ ds: {},
1115
+
1116
+ pops: {},
1117
+
1118
+ triggerStaticDataAttributes: [],
1119
+
1120
+ staticDataAttributes: [],
1121
+ },
1122
+
1123
+ {
1124
+ blockType: 'AtomicChild',
1125
+ type: 'tag',
1126
+ tagType: 'div',
1127
+ ClassName: 'ui-seperator',
1128
+
1129
+ staticDataAttributes: [
1130
+ {
1131
+ key: 'orientation',
1132
+ value: 'vertical',
1133
+ id: '69308f76226fdc58c8ef9f8e',
1134
+ },
1135
+ ],
1136
+ id: '69308f728ec5108984da0c40',
1137
+ blockName: 'Seperator',
1138
+
1139
+ children: [],
1140
+
1141
+ triggerChildren: [],
1142
+
1143
+ triggerActions: {
1144
+ actionBlocks: [],
1145
+ },
1146
+
1147
+ contentActions: {
1148
+ actionBlocks: [],
1149
+ },
1150
+
1151
+ formRateLimitBlocks: [],
1152
+
1153
+ formSanitationBlocks: [],
1154
+
1155
+ formValidationBlocks: [],
1156
+
1157
+ inputSanitationBlocks: [],
1158
+
1159
+ inputValidationBlocks: [],
1160
+
1161
+ backdropChildren: [],
1162
+
1163
+ ds: {},
1164
+
1165
+ pops: {},
1166
+
1167
+ triggerStaticDataAttributes: [],
1168
+ },
1169
+
1170
+ {
1171
+ blockType: 'AtomicChild',
1172
+ type: 'tag',
1173
+ tagType: 'div',
1174
+ ClassName: 'flex items-center gap-3',
1175
+
1176
+ children: [
1177
+ {
1178
+ blockType: 'AtomicChild',
1179
+ type: 'input',
1180
+ tagType: 'div',
1181
+ inputType: 'radio',
1182
+ inputName: 'subject',
1183
+ ClassName: '',
1184
+ autocomplete: 'given-name',
1185
+ textPlaceholder: 'First Name',
1186
+ radioDefault: false,
1187
+ radioValue: 'Web Dev',
1188
+ id: '69308e4d226fdc58c8ef9f8c',
1189
+ blockName: 'Web Dev',
1190
+
1191
+ children: [],
1192
+
1193
+ triggerChildren: [],
1194
+
1195
+ triggerActions: {
1196
+ actionBlocks: [],
1197
+ },
1198
+
1199
+ contentActions: {
1200
+ actionBlocks: [],
1201
+ },
1202
+
1203
+ formRateLimitBlocks: [],
1204
+
1205
+ formSanitationBlocks: [],
1206
+
1207
+ formValidationBlocks: [],
1208
+
1209
+ inputSanitationBlocks: [],
1210
+
1211
+ inputValidationBlocks: [],
1212
+
1213
+ backdropChildren: [],
1214
+
1215
+ ds: {},
1216
+
1217
+ pops: {},
1218
+
1219
+ triggerStaticDataAttributes: [],
1220
+
1221
+ staticDataAttributes: [],
1222
+ },
1223
+
1224
+ {
1225
+ blockType: 'SimpleTextChild',
1226
+ tagType: 'label',
1227
+ ClassName: 'form-label',
1228
+ htmlFor: 'Web Dev',
1229
+ text: 'Web Dev',
1230
+ id: '69308e4d226fdc58c8ef9f8d',
1231
+
1232
+ contentActions: {
1233
+ actionBlocks: [],
1234
+ },
1235
+
1236
+ staticDataAttributes: [],
1237
+ },
1238
+ ],
1239
+ id: '69308e4990938a01e5c2086b',
1240
+ blockName: 'Web Dev',
1241
+
1242
+ triggerChildren: [],
1243
+
1244
+ triggerActions: {
1245
+ actionBlocks: [],
1246
+ },
1247
+
1248
+ contentActions: {
1249
+ actionBlocks: [],
1250
+ },
1251
+
1252
+ formRateLimitBlocks: [],
1253
+
1254
+ formSanitationBlocks: [],
1255
+
1256
+ formValidationBlocks: [],
1257
+
1258
+ inputSanitationBlocks: [],
1259
+
1260
+ inputValidationBlocks: [],
1261
+
1262
+ backdropChildren: [],
1263
+
1264
+ ds: {},
1265
+
1266
+ pops: {},
1267
+
1268
+ triggerStaticDataAttributes: [],
1269
+
1270
+ staticDataAttributes: [],
1271
+ },
1272
+
1273
+ {
1274
+ blockType: 'AtomicChild',
1275
+ type: 'tag',
1276
+ tagType: 'div',
1277
+ ClassName: 'ui-seperator',
1278
+
1279
+ staticDataAttributes: [
1280
+ {
1281
+ key: 'orientation',
1282
+ value: 'vertical',
1283
+ id: '69308f8d8ec5108984da0c42',
1284
+ },
1285
+ ],
1286
+ id: '69308f8d8ec5108984da0c41',
1287
+ blockName: 'Seperator',
1288
+
1289
+ children: [],
1290
+
1291
+ triggerChildren: [],
1292
+
1293
+ triggerActions: {
1294
+ actionBlocks: [],
1295
+ },
1296
+
1297
+ contentActions: {
1298
+ actionBlocks: [],
1299
+ },
1300
+
1301
+ formRateLimitBlocks: [],
1302
+
1303
+ formSanitationBlocks: [],
1304
+
1305
+ formValidationBlocks: [],
1306
+
1307
+ inputSanitationBlocks: [],
1308
+
1309
+ inputValidationBlocks: [],
1310
+
1311
+ backdropChildren: [],
1312
+
1313
+ ds: {},
1314
+
1315
+ pops: {},
1316
+
1317
+ triggerStaticDataAttributes: [],
1318
+ },
1319
+
1320
+ {
1321
+ blockType: 'AtomicChild',
1322
+ type: 'tag',
1323
+ tagType: 'div',
1324
+ ClassName: 'flex items-center gap-3',
1325
+
1326
+ children: [
1327
+ {
1328
+ blockType: 'AtomicChild',
1329
+ type: 'input',
1330
+ tagType: 'div',
1331
+ inputType: 'radio',
1332
+ inputName: 'subject',
1333
+ ClassName: '',
1334
+ autocomplete: 'given-name',
1335
+ textPlaceholder: 'First Name',
1336
+ radioDefault: false,
1337
+ radioValue: 'Other',
1338
+ id: '69308f928ec5108984da0c44',
1339
+ blockName: 'Automation',
1340
+
1341
+ children: [],
1342
+
1343
+ triggerChildren: [],
1344
+
1345
+ triggerActions: {
1346
+ actionBlocks: [],
1347
+ },
1348
+
1349
+ contentActions: {
1350
+ actionBlocks: [],
1351
+ },
1352
+
1353
+ formRateLimitBlocks: [],
1354
+
1355
+ formSanitationBlocks: [],
1356
+
1357
+ formValidationBlocks: [],
1358
+
1359
+ inputSanitationBlocks: [],
1360
+
1361
+ inputValidationBlocks: [],
1362
+
1363
+ backdropChildren: [],
1364
+
1365
+ ds: {},
1366
+
1367
+ pops: {},
1368
+
1369
+ triggerStaticDataAttributes: [],
1370
+
1371
+ staticDataAttributes: [],
1372
+ },
1373
+
1374
+ {
1375
+ blockType: 'SimpleTextChild',
1376
+ tagType: 'label',
1377
+ ClassName: 'form-label',
1378
+ htmlFor: 'Other',
1379
+ text: 'Other',
1380
+ id: '69308f928ec5108984da0c45',
1381
+
1382
+ contentActions: {
1383
+ actionBlocks: [],
1384
+ },
1385
+
1386
+ staticDataAttributes: [],
1387
+ },
1388
+ ],
1389
+ id: '69308f928ec5108984da0c43',
1390
+ blockName: 'Other',
1391
+
1392
+ triggerChildren: [],
1393
+
1394
+ triggerActions: {
1395
+ actionBlocks: [],
1396
+ },
1397
+
1398
+ contentActions: {
1399
+ actionBlocks: [],
1400
+ },
1401
+
1402
+ formRateLimitBlocks: [],
1403
+
1404
+ formSanitationBlocks: [],
1405
+
1406
+ formValidationBlocks: [],
1407
+
1408
+ inputSanitationBlocks: [],
1409
+
1410
+ inputValidationBlocks: [],
1411
+
1412
+ backdropChildren: [],
1413
+
1414
+ ds: {},
1415
+
1416
+ pops: {},
1417
+
1418
+ triggerStaticDataAttributes: [],
1419
+
1420
+ staticDataAttributes: [],
1421
+ },
1422
+ ],
1423
+ id: '69308e2090938a01e5c20869',
1424
+ blockName: 'Radio Options',
1425
+
1426
+ triggerChildren: [],
1427
+
1428
+ triggerActions: {
1429
+ actionBlocks: [],
1430
+ },
1431
+
1432
+ contentActions: {
1433
+ actionBlocks: [],
1434
+ },
1435
+
1436
+ formRateLimitBlocks: [],
1437
+
1438
+ formSanitationBlocks: [],
1439
+
1440
+ formValidationBlocks: [],
1441
+
1442
+ inputSanitationBlocks: [],
1443
+
1444
+ inputValidationBlocks: [],
1445
+
1446
+ backdropChildren: [],
1447
+
1448
+ ds: {},
1449
+
1450
+ pops: {},
1451
+
1452
+ triggerStaticDataAttributes: [],
1453
+
1454
+ staticDataAttributes: [],
1455
+ },
1456
+ ],
1457
+ id: '69308b8190938a01e5c2085d',
1458
+ blockName: 'Subject',
1459
+
1460
+ triggerChildren: [],
1461
+
1462
+ triggerActions: {
1463
+ actionBlocks: [],
1464
+ },
1465
+
1466
+ contentActions: {
1467
+ actionBlocks: [],
1468
+ },
1469
+
1470
+ formRateLimitBlocks: [],
1471
+
1472
+ formSanitationBlocks: [],
1473
+
1474
+ formValidationBlocks: [],
1475
+
1476
+ inputSanitationBlocks: [],
1477
+
1478
+ inputValidationBlocks: [],
1479
+
1480
+ backdropChildren: [],
1481
+
1482
+ ds: {},
1483
+
1484
+ pops: {},
1485
+
1486
+ triggerStaticDataAttributes: [],
1487
+
1488
+ staticDataAttributes: [],
1489
+ },
1490
+
1491
+ {
1492
+ blockType: 'AtomicChild',
1493
+ type: 'tag',
1494
+ tagType: 'div',
1495
+ ClassName: 'grid w-full items-center gap-1.5',
1496
+
1497
+ children: [
1498
+ {
1499
+ blockType: 'SimpleTextChild',
1500
+ tagType: 'label',
1501
+ ClassName: 'form-label',
1502
+ htmlFor: 'message',
1503
+ text: 'Message',
1504
+ id: '6930898490938a01e5c20858',
1505
+
1506
+ contentActions: {
1507
+ actionBlocks: [],
1508
+ },
1509
+
1510
+ staticDataAttributes: [],
1511
+ },
1512
+
1513
+ {
1514
+ blockType: 'AtomicChild',
1515
+ type: 'input',
1516
+ tagType: 'div',
1517
+ inputType: 'textarea',
1518
+ inputName: 'message',
1519
+ ClassName: 'form-textarea',
1520
+
1521
+ contentActions: {
1522
+ actionBlocks: [
1523
+ {
1524
+ blockType: 'ActFormErrorToDA',
1525
+ inputName: 'message',
1526
+ id: '6931b9c0e9d7311d50b365e3',
1527
+ },
1528
+ ],
1529
+
1530
+ actions: ['ActFormErrorToDA'],
1531
+
1532
+ attributers: [
1533
+ {
1534
+ type: 'AttFormErrorToDA',
1535
+ key: 'contact',
1536
+ inputName: 'message',
1537
+ },
1538
+ ],
1539
+ },
1540
+ autocomplete: 'email',
1541
+ textPlaceholder: 'Type your message here.',
1542
+ id: '6930898490938a01e5c20859',
1543
+
1544
+ children: [],
1545
+
1546
+ triggerChildren: [],
1547
+
1548
+ triggerActions: {
1549
+ actionBlocks: [],
1550
+ },
1551
+
1552
+ formRateLimitBlocks: [],
1553
+
1554
+ formSanitationBlocks: [],
1555
+
1556
+ formValidationBlocks: [],
1557
+
1558
+ inputSanitationBlocks: [],
1559
+
1560
+ inputValidationBlocks: [],
1561
+
1562
+ backdropChildren: [],
1563
+
1564
+ ds: {},
1565
+
1566
+ pops: {},
1567
+
1568
+ triggerStaticDataAttributes: [],
1569
+
1570
+ staticDataAttributes: [],
1571
+ },
1572
+ ],
1573
+ id: '6930898490938a01e5c20857',
1574
+ blockName: 'Message',
1575
+
1576
+ triggerChildren: [],
1577
+
1578
+ triggerActions: {
1579
+ actionBlocks: [],
1580
+ },
1581
+
1582
+ contentActions: {
1583
+ actionBlocks: [],
1584
+ },
1585
+
1586
+ formRateLimitBlocks: [],
1587
+
1588
+ formSanitationBlocks: [],
1589
+
1590
+ formValidationBlocks: [],
1591
+
1592
+ inputSanitationBlocks: [],
1593
+
1594
+ inputValidationBlocks: [],
1595
+
1596
+ backdropChildren: [],
1597
+
1598
+ ds: {},
1599
+
1600
+ pops: {},
1601
+
1602
+ triggerStaticDataAttributes: [],
1603
+
1604
+ staticDataAttributes: [],
1605
+ },
1606
+
1607
+ {
1608
+ blockType: 'AtomicChild',
1609
+ type: 'button',
1610
+ tagType: 'div',
1611
+ buttonType: 'regular',
1612
+ ClassName: '',
1613
+ triggerClassName: 'trigger trigger-style-base trigger-size-base w-full',
1614
+
1615
+ triggerChildren: [
1616
+ {
1617
+ blockType: 'SimpleTextChild',
1618
+ tagType: 'span',
1619
+ ClassName: '',
1620
+ text: 'Submit Message',
1621
+ id: '69308a8090938a01e5c2085c',
1622
+
1623
+ contentActions: {
1624
+ actionBlocks: [],
1625
+ },
1626
+
1627
+ staticDataAttributes: [],
1628
+ },
1629
+ ],
1630
+
1631
+ triggerActions: {
1632
+ actionBlocks: [
1633
+ {
1634
+ blockType: 'ActSubmitForm',
1635
+ id: '69308a7190938a01e5c2085b',
1636
+ },
1637
+ ],
1638
+
1639
+ actions: ['ActSubmitForm'],
1640
+
1641
+ runners: [
1642
+ {
1643
+ type: 'RunSubmitForm',
1644
+ formName: 'contact',
1645
+ },
1646
+ ],
1647
+
1648
+ attributers: [
1649
+ {
1650
+ type: 'AttFormStatusToDA',
1651
+ key: 'contact',
1652
+ },
1653
+ ],
1654
+ },
1655
+ id: '69308a5090938a01e5c2085a',
1656
+ blockName: 'Submit',
1657
+
1658
+ children: [],
1659
+
1660
+ contentActions: {
1661
+ actionBlocks: [],
1662
+ },
1663
+
1664
+ formRateLimitBlocks: [],
1665
+
1666
+ formSanitationBlocks: [],
1667
+
1668
+ formValidationBlocks: [],
1669
+
1670
+ inputSanitationBlocks: [],
1671
+
1672
+ inputValidationBlocks: [],
1673
+
1674
+ backdropChildren: [],
1675
+
1676
+ ds: {},
1677
+
1678
+ pops: {},
1679
+
1680
+ triggerStaticDataAttributes: [],
1681
+
1682
+ staticDataAttributes: [],
1683
+ },
1684
+
1685
+ {
1686
+ blockType: 'SimpleTextChild',
1687
+ tagType: 'p',
1688
+ ClassName: 'hidden data-[error]:flex text-sm text-destructive',
1689
+ text: '{{error}}',
1690
+
1691
+ contentActions: {
1692
+ actionBlocks: [
1693
+ {
1694
+ blockType: 'ActFormErrorToDA',
1695
+ formName: '',
1696
+ id: '6931c26ee9d7311d50b365eb',
1697
+ },
1698
+ ],
1699
+
1700
+ actions: ['ActFormErrorToDA'],
1701
+
1702
+ attributers: [
1703
+ {
1704
+ type: 'AttFormErrorToDA',
1705
+ key: 'contact',
1706
+ },
1707
+ ],
1708
+ },
1709
+ id: '6931c1c6e9d7311d50b365e9',
1710
+
1711
+ staticDataAttributes: [],
1712
+ },
1713
+ ],
1714
+
1715
+ contentActions: {
1716
+ actions: ['ActResetForm', 'ActSubmitForm'],
1717
+
1718
+ attributers: [
1719
+ {
1720
+ type: 'AttFormStatusToDA',
1721
+ key: 'contact',
1722
+ },
1723
+
1724
+ {
1725
+ type: 'AttFormStatusToDA',
1726
+ key: 'contact',
1727
+ },
1728
+ ],
1729
+
1730
+ actionBlocks: [],
1731
+ },
1732
+
1733
+ formRateLimitBlocks: [
1734
+ {
1735
+ blockType: 'FrlSimpleSlidingWindow',
1736
+ atStart: true,
1737
+ rateLimit: 3,
1738
+ rateLimitPeriod: 1,
1739
+ validationMessage: 'Hey {{firstName}}, you have done that too much! Please try again later.',
1740
+ id: '6931bec2e9d7311d50b365e8',
1741
+ },
1742
+ ],
1743
+ formToastEnabled: true,
1744
+ lm: 'Submitting Message...',
1745
+ sm: 'Thank you {{firstName}} we will get back to you shortly!',
1746
+ em: 'Issue Submitting Form. Try again later.',
1747
+ id: '6930856ca267440308d1a20d',
1748
+ blockName: 'Form',
1749
+
1750
+ triggerChildren: [],
1751
+
1752
+ triggerActions: {
1753
+ actionBlocks: [],
1754
+ },
1755
+
1756
+ formSanitationBlocks: [],
1757
+
1758
+ formValidationBlocks: [],
1759
+
1760
+ inputSanitationBlocks: [],
1761
+
1762
+ inputValidationBlocks: [],
1763
+
1764
+ backdropChildren: [],
1765
+
1766
+ ds: {},
1767
+
1768
+ pops: {},
1769
+
1770
+ triggerStaticDataAttributes: [],
1771
+
1772
+ staticDataAttributes: [],
1773
+ },
1774
+ ],
1775
+ id: '6930828ba267440308d1a1fb',
1776
+
1777
+ triggerChildren: [],
1778
+
1779
+ triggerActions: {
1780
+ actionBlocks: [],
1781
+ },
1782
+
1783
+ contentActions: {
1784
+ actionBlocks: [],
1785
+ },
1786
+
1787
+ formRateLimitBlocks: [],
1788
+
1789
+ formSanitationBlocks: [],
1790
+
1791
+ formValidationBlocks: [],
1792
+
1793
+ inputSanitationBlocks: [],
1794
+
1795
+ inputValidationBlocks: [],
1796
+
1797
+ backdropChildren: [],
1798
+
1799
+ ds: {},
1800
+
1801
+ pops: {},
1802
+
1803
+ triggerStaticDataAttributes: [],
1804
+
1805
+ staticDataAttributes: [],
1806
+ },
1807
+ ],
1808
+ id: '69308281a267440308d1a1fa',
1809
+
1810
+ triggerChildren: [],
1811
+
1812
+ triggerActions: {
1813
+ actionBlocks: [],
1814
+ },
1815
+
1816
+ contentActions: {
1817
+ actionBlocks: [],
1818
+ },
1819
+
1820
+ formRateLimitBlocks: [],
1821
+
1822
+ formSanitationBlocks: [],
1823
+
1824
+ formValidationBlocks: [],
1825
+
1826
+ inputSanitationBlocks: [],
1827
+
1828
+ inputValidationBlocks: [],
1829
+
1830
+ backdropChildren: [],
1831
+
1832
+ ds: {},
1833
+
1834
+ pops: {},
1835
+
1836
+ triggerStaticDataAttributes: [],
1837
+
1838
+ staticDataAttributes: [],
1839
+ },
1840
+ ],
1841
+ id: '69308272a267440308d1a1f9',
1842
+ blockName: 'Form',
1843
+
1844
+ triggerChildren: [],
1845
+
1846
+ triggerActions: {
1847
+ actionBlocks: [],
1848
+ },
1849
+
1850
+ contentActions: {
1851
+ actionBlocks: [],
1852
+ },
1853
+
1854
+ formRateLimitBlocks: [],
1855
+
1856
+ formSanitationBlocks: [],
1857
+
1858
+ formValidationBlocks: [],
1859
+
1860
+ inputSanitationBlocks: [],
1861
+
1862
+ inputValidationBlocks: [],
1863
+
1864
+ backdropChildren: [],
1865
+
1866
+ ds: {},
1867
+
1868
+ pops: {},
1869
+
1870
+ triggerStaticDataAttributes: [],
1871
+
1872
+ staticDataAttributes: [],
1873
+ },
1874
+ ] as any,
1875
+
1876
+ meta: {
1877
+ noIndex: false,
1878
+ priority: 0.5,
1879
+ },
1880
+
1881
+ breadcrumbs: [
1882
+ {
1883
+ doc: '693087b7f65967916a097b26',
1884
+ url: '/testing',
1885
+ label: '/testing',
1886
+ id: '693087b7226fdc58c8ef9f83',
1887
+ },
1888
+ ],
1889
+
1890
+ storedAtomicClasses: [
1891
+ 'page-main',
1892
+ 'py-4',
1893
+ 'lg:py-32',
1894
+ 'container',
1895
+ 'mx-auto',
1896
+ 'flex',
1897
+ 'max-w-7xl',
1898
+ 'flex-col',
1899
+ 'justify-between',
1900
+ 'gap-4',
1901
+ 'lg:flex-row',
1902
+ 'lg:gap-20',
1903
+ 'max-w-sm',
1904
+ 'lg:gap-10',
1905
+ 'text-center',
1906
+ 'lg:text-left',
1907
+ 'mb-2',
1908
+ 'text-5xl',
1909
+ 'font-semibold',
1910
+ 'lg:mb-1',
1911
+ 'lg:text-6xl',
1912
+ 'w-fit',
1913
+ 'lg:mx-0',
1914
+ 'lg:mb-6',
1915
+ 'text-2xl',
1916
+ 'ml-4',
1917
+ 'list-disc',
1918
+ 'font-bold',
1919
+ 'underline',
1920
+ 'max-w-3xl',
1921
+ 'gap-6',
1922
+ 'rounded-lg',
1923
+ 'border',
1924
+ 'border-border',
1925
+ 'p-4',
1926
+ 'lg:p-10',
1927
+ 'w-full',
1928
+ 'items-start',
1929
+ 'gap-1.5',
1930
+ 'form-label',
1931
+ 'form-input',
1932
+ 'hidden',
1933
+ 'data-[error]:flex',
1934
+ 'text-sm',
1935
+ 'text-destructive',
1936
+ 'items-center',
1937
+ 'gap-3',
1938
+ 'ui-seperator',
1939
+ 'grid',
1940
+ 'form-textarea',
1941
+ 'trigger',
1942
+ 'trigger-style-base',
1943
+ 'trigger-size-base',
1944
+ ],
1945
+
1946
+ storedAtomicActions: {
1947
+ '693086bba267440308d1a211': {
1948
+ id: '693086bba267440308d1a211',
1949
+
1950
+ actions: ['ActFormErrorToDA'],
1951
+
1952
+ runners: [],
1953
+
1954
+ attributers: [
1955
+ {
1956
+ type: 'AttFormErrorToDA',
1957
+ key: 'contact',
1958
+ inputName: 'firstName',
1959
+ },
1960
+ ],
1961
+ },
1962
+
1963
+ '6931bac9e9d7311d50b365e4': {
1964
+ id: '6931bac9e9d7311d50b365e4',
1965
+
1966
+ actions: ['ActFormErrorToDA'],
1967
+
1968
+ runners: [],
1969
+
1970
+ attributers: [
1971
+ {
1972
+ type: 'AttFormErrorToDA',
1973
+ key: 'contact',
1974
+ inputName: 'firstName',
1975
+ },
1976
+ ],
1977
+ },
1978
+
1979
+ '69308742a267440308d1a214': {
1980
+ id: '69308742a267440308d1a214',
1981
+
1982
+ actions: ['ActFormErrorToDA'],
1983
+
1984
+ runners: [],
1985
+
1986
+ attributers: [
1987
+ {
1988
+ type: 'AttFormErrorToDA',
1989
+ key: 'contact',
1990
+ inputName: 'lastName',
1991
+ },
1992
+ ],
1993
+ },
1994
+
1995
+ '6931bbd7e9d7311d50b365e7': {
1996
+ id: '6931bbd7e9d7311d50b365e7',
1997
+
1998
+ actions: ['ActFormErrorToDA'],
1999
+
2000
+ runners: [],
2001
+
2002
+ attributers: [
2003
+ {
2004
+ type: 'AttFormErrorToDA',
2005
+ key: 'contact',
2006
+ inputName: 'lastName',
2007
+ },
2008
+ ],
2009
+ },
2010
+
2011
+ '693088fe226fdc58c8ef9f85': {
2012
+ id: '693088fe226fdc58c8ef9f85',
2013
+
2014
+ actions: ['ActFormErrorToDA'],
2015
+
2016
+ runners: [],
2017
+
2018
+ attributers: [
2019
+ {
2020
+ type: 'AttFormErrorToDA',
2021
+ key: 'contact',
2022
+ inputName: 'email',
2023
+ },
2024
+ ],
2025
+ },
2026
+
2027
+ '6930898490938a01e5c20859': {
2028
+ id: '6930898490938a01e5c20859',
2029
+
2030
+ actions: ['ActFormErrorToDA'],
2031
+
2032
+ runners: [],
2033
+
2034
+ attributers: [
2035
+ {
2036
+ type: 'AttFormErrorToDA',
2037
+ key: 'contact',
2038
+ inputName: 'message',
2039
+ },
2040
+ ],
2041
+ },
2042
+
2043
+ '69308a5090938a01e5c2085a': {
2044
+ id: '69308a5090938a01e5c2085a',
2045
+
2046
+ actions: ['ActSubmitForm'],
2047
+
2048
+ runners: [
2049
+ {
2050
+ type: 'RunSubmitForm',
2051
+ formName: 'contact',
2052
+ },
2053
+ ],
2054
+
2055
+ attributers: [
2056
+ {
2057
+ type: 'AttFormStatusToDA',
2058
+ key: 'contact',
2059
+ },
2060
+ ],
2061
+ },
2062
+
2063
+ '6931c1c6e9d7311d50b365e9': {
2064
+ id: '6931c1c6e9d7311d50b365e9',
2065
+
2066
+ actions: ['ActFormErrorToDA'],
2067
+
2068
+ runners: [],
2069
+
2070
+ attributers: [
2071
+ {
2072
+ type: 'AttFormErrorToDA',
2073
+ key: 'contact',
2074
+ inputName: null,
2075
+ },
2076
+ ],
2077
+ },
2078
+
2079
+ '6930856ca267440308d1a20d': {
2080
+ id: '6930856ca267440308d1a20d',
2081
+
2082
+ actions: ['ActResetForm', 'ActSubmitForm'],
2083
+
2084
+ runners: [],
2085
+
2086
+ attributers: [
2087
+ {
2088
+ type: 'AttFormStatusToDA',
2089
+ key: 'contact',
2090
+ },
2091
+
2092
+ {
2093
+ type: 'AttFormStatusToDA',
2094
+ key: 'contact',
2095
+ },
2096
+ ],
2097
+ },
2098
+ },
2099
+
2100
+ storedAtomicForms: [
2101
+ {
2102
+ id: '6930856ca267440308d1a20d',
2103
+ backendForm: 'Contact',
2104
+ sm: 'Thank you {{firstName}} we will get back to you shortly!',
2105
+ em: 'Issue Submitting Form. Try again later.',
2106
+
2107
+ rateLimiting: [
2108
+ {
2109
+ id: '6931bec2e9d7311d50b365e8',
2110
+ atStart: true,
2111
+ blockType: 'FrlSimpleSlidingWindow',
2112
+ rateLimit: 3,
2113
+ rateLimitPeriod: 1,
2114
+ validationMessage: 'Hey {{firstName}}, you have done that too much! Please try again later.',
2115
+ },
2116
+ ],
2117
+
2118
+ inputs: [
2119
+ {
2120
+ id: '693086bba267440308d1a211',
2121
+ type: 'text',
2122
+ inputName: 'firstName',
2123
+
2124
+ validationBlocks: [
2125
+ {
2126
+ id: '6931b96ee9d7311d50b365e1',
2127
+ blockType: 'IvContains',
2128
+ containsValue: 'John',
2129
+ validationMessage: "Must Contain 'John'",
2130
+ },
2131
+ ],
2132
+ },
2133
+
2134
+ {
2135
+ id: '69308742a267440308d1a214',
2136
+ type: 'text',
2137
+ inputName: 'lastName',
2138
+
2139
+ validationBlocks: [
2140
+ {
2141
+ id: '6931b0d765fe13059d5031b1',
2142
+ blockType: 'IvContains',
2143
+ containsValue: 'Doe',
2144
+ validationMessage: "Must Contain 'Doe'",
2145
+ },
2146
+ ],
2147
+ },
2148
+
2149
+ {
2150
+ id: '693088fe226fdc58c8ef9f85',
2151
+ type: 'email',
2152
+ inputName: 'email',
2153
+ },
2154
+
2155
+ {
2156
+ id: '69308e43226fdc58c8ef9f8a',
2157
+ type: 'radio',
2158
+ inputName: 'subject',
2159
+ },
2160
+
2161
+ {
2162
+ id: '69308e4d226fdc58c8ef9f8c',
2163
+ type: 'radio',
2164
+ inputName: 'subject',
2165
+ },
2166
+
2167
+ {
2168
+ id: '69308f928ec5108984da0c44',
2169
+ type: 'radio',
2170
+ inputName: 'subject',
2171
+ },
2172
+
2173
+ {
2174
+ id: '6930898490938a01e5c20859',
2175
+ type: 'textarea',
2176
+ inputName: 'message',
2177
+ },
2178
+ ],
2179
+ },
2180
+ ],
2181
+ }