@aglyn/aglyn 1.0.0-beta.220 → 1.0.0-beta.222

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 (358) hide show
  1. package/package.json +15 -11
  2. package/src/lib/app-utils/agent-openapi.js +1 -1
  3. package/src/lib/app-utils/agent-openapi.js.map +1 -1
  4. package/src/lib/app-utils/analytics-events.d.ts +3 -2
  5. package/src/lib/app-utils/analytics-events.js +3 -2
  6. package/src/lib/app-utils/analytics-events.js.map +1 -1
  7. package/src/lib/app-utils/api-plugins.d.ts +30 -0
  8. package/src/lib/app-utils/api-plugins.js +24 -1
  9. package/src/lib/app-utils/api-plugins.js.map +1 -1
  10. package/src/lib/app-utils/author-html.d.ts +1 -1
  11. package/src/lib/app-utils/author-html.js.map +1 -1
  12. package/src/lib/app-utils/bandwidth-cap.d.ts +12 -1
  13. package/src/lib/app-utils/bandwidth-cap.js +17 -1
  14. package/src/lib/app-utils/bandwidth-cap.js.map +1 -1
  15. package/src/lib/app-utils/compose-reusable-components.d.ts +19 -0
  16. package/src/lib/app-utils/compose-reusable-components.js +116 -26
  17. package/src/lib/app-utils/compose-reusable-components.js.map +1 -1
  18. package/src/lib/app-utils/console-routes.d.ts +4 -0
  19. package/src/lib/app-utils/console-routes.js +3 -0
  20. package/src/lib/app-utils/console-routes.js.map +1 -1
  21. package/src/lib/app-utils/contacts.d.ts +71 -0
  22. package/src/lib/app-utils/contacts.js +55 -0
  23. package/src/lib/app-utils/contacts.js.map +1 -1
  24. package/src/lib/app-utils/contexts.d.ts +1 -0
  25. package/src/lib/app-utils/contexts.js +1 -0
  26. package/src/lib/app-utils/contexts.js.map +1 -1
  27. package/src/lib/app-utils/crm-email-templates.js +21 -4
  28. package/src/lib/app-utils/crm-email-templates.js.map +1 -1
  29. package/src/lib/app-utils/crm-kinds.d.ts +2 -0
  30. package/src/lib/app-utils/crm-kinds.js +1 -0
  31. package/src/lib/app-utils/crm-kinds.js.map +1 -1
  32. package/src/lib/app-utils/crm.d.ts +1199 -67
  33. package/src/lib/app-utils/crm.js +1951 -310
  34. package/src/lib/app-utils/crm.js.map +1 -1
  35. package/src/lib/app-utils/csv-import.d.ts +10 -38
  36. package/src/lib/app-utils/csv-import.js +17 -42
  37. package/src/lib/app-utils/csv-import.js.map +1 -1
  38. package/src/lib/app-utils/csv.d.ts +32 -11
  39. package/src/lib/app-utils/csv.js +43 -5
  40. package/src/lib/app-utils/csv.js.map +1 -1
  41. package/src/lib/app-utils/default-site.d.ts +116 -0
  42. package/src/lib/app-utils/default-site.js +1024 -0
  43. package/src/lib/app-utils/default-site.js.map +1 -0
  44. package/src/lib/app-utils/docs-help.generated.d.ts +23 -23
  45. package/src/lib/app-utils/docs-help.generated.js +47 -10
  46. package/src/lib/app-utils/docs-help.generated.js.map +1 -1
  47. package/src/lib/app-utils/docs-index.generated.js +746 -151
  48. package/src/lib/app-utils/docs-index.generated.js.map +1 -1
  49. package/src/lib/app-utils/draft-placeholders.d.ts +76 -0
  50. package/src/lib/app-utils/draft-placeholders.js +115 -0
  51. package/src/lib/app-utils/draft-placeholders.js.map +1 -0
  52. package/src/lib/app-utils/entity-picker-context.d.ts +19 -15
  53. package/src/lib/app-utils/entity-picker-context.js +4 -4
  54. package/src/lib/app-utils/entity-picker-context.js.map +1 -1
  55. package/src/lib/app-utils/expand-repeatables.d.ts +66 -10
  56. package/src/lib/app-utils/expand-repeatables.js +88 -14
  57. package/src/lib/app-utils/expand-repeatables.js.map +1 -1
  58. package/src/lib/app-utils/forms.d.ts +33 -22
  59. package/src/lib/app-utils/forms.js +47 -28
  60. package/src/lib/app-utils/forms.js.map +1 -1
  61. package/src/lib/app-utils/full-use-cost.d.ts +277 -0
  62. package/src/lib/app-utils/full-use-cost.js +421 -0
  63. package/src/lib/app-utils/full-use-cost.js.map +1 -0
  64. package/src/lib/app-utils/health-report.js +33 -0
  65. package/src/lib/app-utils/health-report.js.map +1 -1
  66. package/src/lib/app-utils/leaving-notice.d.ts +96 -0
  67. package/src/lib/app-utils/leaving-notice.js +157 -0
  68. package/src/lib/app-utils/leaving-notice.js.map +1 -0
  69. package/src/lib/app-utils/llms-txt.d.ts +20 -0
  70. package/src/lib/app-utils/llms-txt.js +7 -1
  71. package/src/lib/app-utils/llms-txt.js.map +1 -1
  72. package/src/lib/app-utils/media-asset-facts.d.ts +16 -1
  73. package/src/lib/app-utils/media-asset-facts.js +40 -13
  74. package/src/lib/app-utils/media-asset-facts.js.map +1 -1
  75. package/src/lib/app-utils/media-bandwidth.d.ts +52 -0
  76. package/src/lib/app-utils/media-bandwidth.js +94 -0
  77. package/src/lib/app-utils/media-bandwidth.js.map +1 -0
  78. package/src/lib/app-utils/media-ref.d.ts +241 -33
  79. package/src/lib/app-utils/media-ref.js +324 -43
  80. package/src/lib/app-utils/media-ref.js.map +1 -1
  81. package/src/lib/app-utils/media-src.d.ts +8 -8
  82. package/src/lib/app-utils/media-src.js +27 -11
  83. package/src/lib/app-utils/media-src.js.map +1 -1
  84. package/src/lib/app-utils/media-takedown-reach.d.ts +4 -1
  85. package/src/lib/app-utils/media-takedown-reach.js +6 -3
  86. package/src/lib/app-utils/media-takedown-reach.js.map +1 -1
  87. package/src/lib/app-utils/notifications.d.ts +1 -1
  88. package/src/lib/app-utils/notifications.js +2 -0
  89. package/src/lib/app-utils/notifications.js.map +1 -1
  90. package/src/lib/app-utils/operator-alerts.js +17 -0
  91. package/src/lib/app-utils/operator-alerts.js.map +1 -1
  92. package/src/lib/app-utils/organizations.d.ts +51 -2
  93. package/src/lib/app-utils/organizations.js +56 -3
  94. package/src/lib/app-utils/organizations.js.map +1 -1
  95. package/src/lib/app-utils/page-record-sources.d.ts +87 -0
  96. package/src/lib/app-utils/page-record-sources.js +53 -0
  97. package/src/lib/app-utils/page-record-sources.js.map +1 -0
  98. package/src/lib/app-utils/paid-media-source.d.ts +3 -7
  99. package/src/lib/app-utils/paid-media-source.js +5 -19
  100. package/src/lib/app-utils/paid-media-source.js.map +1 -1
  101. package/src/lib/app-utils/person-erasure.d.ts +5 -2
  102. package/src/lib/app-utils/person-erasure.js.map +1 -1
  103. package/src/lib/app-utils/picklists.d.ts +187 -0
  104. package/src/lib/app-utils/picklists.js +320 -0
  105. package/src/lib/app-utils/picklists.js.map +1 -0
  106. package/src/lib/app-utils/plan-entitlements.d.ts +220 -50
  107. package/src/lib/app-utils/plan-entitlements.js +309 -115
  108. package/src/lib/app-utils/plan-entitlements.js.map +1 -1
  109. package/src/lib/app-utils/realm-host-surface.generated.js +2 -0
  110. package/src/lib/app-utils/realm-host-surface.generated.js.map +1 -1
  111. package/src/lib/app-utils/release-flags.d.ts +1 -1
  112. package/src/lib/app-utils/release-flags.js +11 -0
  113. package/src/lib/app-utils/release-flags.js.map +1 -1
  114. package/src/lib/app-utils/rendered-widths.d.ts +121 -0
  115. package/src/lib/app-utils/rendered-widths.js +211 -0
  116. package/src/lib/app-utils/rendered-widths.js.map +1 -0
  117. package/src/lib/app-utils/repeat-sources.d.ts +2 -1
  118. package/src/lib/app-utils/repeat-sources.js.map +1 -1
  119. package/src/lib/app-utils/screen-link-context-value.d.ts +7 -0
  120. package/src/lib/app-utils/screen-link-context-value.js.map +1 -1
  121. package/src/lib/app-utils/screen-link-context.js +14 -2
  122. package/src/lib/app-utils/screen-link-context.js.map +1 -1
  123. package/src/lib/app-utils/screen-route.d.ts +157 -36
  124. package/src/lib/app-utils/screen-route.js +191 -41
  125. package/src/lib/app-utils/screen-route.js.map +1 -1
  126. package/src/lib/app-utils/seo-audit.d.ts +11 -1
  127. package/src/lib/app-utils/seo-audit.js +33 -13
  128. package/src/lib/app-utils/seo-audit.js.map +1 -1
  129. package/src/lib/app-utils/seo-keywords.d.ts +11 -0
  130. package/src/lib/app-utils/seo-keywords.js +19 -5
  131. package/src/lib/app-utils/seo-keywords.js.map +1 -1
  132. package/src/lib/app-utils/seo-page-facts.d.ts +47 -4
  133. package/src/lib/app-utils/seo-page-facts.js +136 -31
  134. package/src/lib/app-utils/seo-page-facts.js.map +1 -1
  135. package/src/lib/app-utils/seo-site-scan.d.ts +42 -4
  136. package/src/lib/app-utils/seo-site-scan.js +113 -12
  137. package/src/lib/app-utils/seo-site-scan.js.map +1 -1
  138. package/src/lib/app-utils/server.d.ts +5 -4
  139. package/src/lib/app-utils/server.js +14 -5
  140. package/src/lib/app-utils/server.js.map +1 -1
  141. package/src/lib/app-utils/site-icon-set.d.ts +195 -0
  142. package/src/lib/app-utils/site-icon-set.js +351 -0
  143. package/src/lib/app-utils/site-icon-set.js.map +1 -0
  144. package/src/lib/app-utils/site-interactions.d.ts +101 -4
  145. package/src/lib/app-utils/site-interactions.js +120 -4
  146. package/src/lib/app-utils/site-interactions.js.map +1 -1
  147. package/src/lib/app-utils/starter-template-nodes.d.ts +7 -0
  148. package/src/lib/app-utils/starter-template-nodes.js +3 -0
  149. package/src/lib/app-utils/starter-template-nodes.js.map +1 -1
  150. package/src/lib/app-utils/starter-templates.d.ts +5 -19
  151. package/src/lib/app-utils/starter-templates.js +5 -49
  152. package/src/lib/app-utils/starter-templates.js.map +1 -1
  153. package/src/lib/app-utils/transfer-launcher-context.d.ts +136 -0
  154. package/src/lib/app-utils/transfer-launcher-context.js +23 -0
  155. package/src/lib/app-utils/transfer-launcher-context.js.map +1 -0
  156. package/src/lib/app-utils/transfer-resume-import.d.ts +39 -0
  157. package/src/lib/app-utils/transfer-resume-import.js +128 -0
  158. package/src/lib/app-utils/transfer-resume-import.js.map +1 -0
  159. package/src/lib/app-utils/upgrade-proposal.d.ts +66 -0
  160. package/src/lib/app-utils/upgrade-proposal.js +95 -0
  161. package/src/lib/app-utils/upgrade-proposal.js.map +1 -0
  162. package/src/lib/app-utils/utc-month.d.ts +33 -0
  163. package/src/lib/app-utils/utc-month.js +35 -0
  164. package/src/lib/app-utils/utc-month.js.map +1 -0
  165. package/src/lib/app-utils/visitor-record-ceiling.d.ts +4 -4
  166. package/src/lib/app-utils/visitor-record-ceiling.js +4 -4
  167. package/src/lib/app-utils/visitor-record-ceiling.js.map +1 -1
  168. package/src/lib/app-utils/wire-nodes.d.ts +39 -19
  169. package/src/lib/app-utils/wire-nodes.js +120 -34
  170. package/src/lib/app-utils/wire-nodes.js.map +1 -1
  171. package/src/lib/data-transfer/access.d.ts +74 -0
  172. package/src/lib/data-transfer/access.js +93 -0
  173. package/src/lib/data-transfer/access.js.map +1 -0
  174. package/src/lib/data-transfer/derive.d.ts +246 -0
  175. package/src/lib/data-transfer/derive.js +1007 -0
  176. package/src/lib/data-transfer/derive.js.map +1 -0
  177. package/src/lib/data-transfer/export-file.d.ts +46 -0
  178. package/src/lib/data-transfer/export-file.js +146 -0
  179. package/src/lib/data-transfer/export-file.js.map +1 -0
  180. package/src/lib/data-transfer/field-catalog.d.ts +134 -0
  181. package/src/lib/data-transfer/field-catalog.js +278 -0
  182. package/src/lib/data-transfer/field-catalog.js.map +1 -0
  183. package/src/lib/data-transfer/header-match.d.ts +129 -0
  184. package/src/lib/data-transfer/header-match.js +367 -0
  185. package/src/lib/data-transfer/header-match.js.map +1 -0
  186. package/src/lib/data-transfer/index.d.ts +34 -0
  187. package/src/lib/data-transfer/index.js +40 -0
  188. package/src/lib/data-transfer/index.js.map +1 -0
  189. package/src/lib/data-transfer/job.d.ts +190 -0
  190. package/src/lib/data-transfer/job.js +229 -0
  191. package/src/lib/data-transfer/job.js.map +1 -0
  192. package/src/lib/data-transfer/lookup.d.ts +45 -0
  193. package/src/lib/data-transfer/lookup.js +71 -0
  194. package/src/lib/data-transfer/lookup.js.map +1 -0
  195. package/src/lib/data-transfer/match.d.ts +99 -0
  196. package/src/lib/data-transfer/match.js +244 -0
  197. package/src/lib/data-transfer/match.js.map +1 -0
  198. package/src/lib/data-transfer/package-plan.d.ts +205 -0
  199. package/src/lib/data-transfer/package-plan.js +475 -0
  200. package/src/lib/data-transfer/package-plan.js.map +1 -0
  201. package/src/lib/data-transfer/package.d.ts +181 -0
  202. package/src/lib/data-transfer/package.js +426 -0
  203. package/src/lib/data-transfer/package.js.map +1 -0
  204. package/src/lib/data-transfer/picklist-map.d.ts +139 -0
  205. package/src/lib/data-transfer/picklist-map.js +271 -0
  206. package/src/lib/data-transfer/picklist-map.js.map +1 -0
  207. package/src/lib/data-transfer/plan.d.ts +176 -0
  208. package/src/lib/data-transfer/plan.js +451 -0
  209. package/src/lib/data-transfer/plan.js.map +1 -0
  210. package/src/lib/data-transfer/policy.d.ts +170 -0
  211. package/src/lib/data-transfer/policy.js +378 -0
  212. package/src/lib/data-transfer/policy.js.map +1 -0
  213. package/src/lib/data-transfer/resource.d.ts +211 -0
  214. package/src/lib/data-transfer/resource.js +241 -0
  215. package/src/lib/data-transfer/resource.js.map +1 -0
  216. package/src/lib/data-transfer/review.d.ts +70 -0
  217. package/src/lib/data-transfer/review.js +233 -0
  218. package/src/lib/data-transfer/review.js.map +1 -0
  219. package/src/lib/data-transfer/similarity.d.ts +40 -0
  220. package/src/lib/data-transfer/similarity.js +106 -0
  221. package/src/lib/data-transfer/similarity.js.map +1 -0
  222. package/src/lib/data-transfer/site-package.d.ts +365 -0
  223. package/src/lib/data-transfer/site-package.js +1077 -0
  224. package/src/lib/data-transfer/site-package.js.map +1 -0
  225. package/src/lib/data-transfer/source.d.ts +74 -0
  226. package/src/lib/data-transfer/source.js +293 -0
  227. package/src/lib/data-transfer/source.js.map +1 -0
  228. package/src/lib/data-transfer/transfer-api.d.ts +898 -0
  229. package/src/lib/data-transfer/transfer-api.js +107 -0
  230. package/src/lib/data-transfer/transfer-api.js.map +1 -0
  231. package/src/lib/foundation/definitions/org-billing.types.d.ts +31 -0
  232. package/src/lib/foundation/definitions/org-billing.types.js.map +1 -1
  233. package/src/lib/foundation/definitions/organization.types.d.ts +42 -1
  234. package/src/lib/foundation/definitions/organization.types.js.map +1 -1
  235. package/src/lib/foundation/definitions/platform.types.d.ts +6 -4
  236. package/src/lib/foundation/definitions/platform.types.js.map +1 -1
  237. package/src/lib/foundation/index.d.ts +1 -1
  238. package/src/lib/foundation/index.js.map +1 -1
  239. package/src/lib/plugin-manager/feature-plugins.d.ts +91 -2
  240. package/src/lib/plugin-manager/feature-plugins.js +48 -3
  241. package/src/lib/plugin-manager/feature-plugins.js.map +1 -1
  242. package/src/lib/plugin-manager/first-party-plugins.generated.d.ts +56 -0
  243. package/src/lib/plugin-manager/first-party-plugins.generated.js +1132 -27
  244. package/src/lib/plugin-manager/first-party-plugins.generated.js.map +1 -1
  245. package/src/lib/plugin-manager/index.d.ts +0 -1
  246. package/src/lib/plugin-manager/index.js +0 -1
  247. package/src/lib/plugin-manager/index.js.map +1 -1
  248. package/src/lib/plugin-manager/interaction-recipes.d.ts +142 -0
  249. package/src/lib/plugin-manager/interaction-recipes.js +104 -0
  250. package/src/lib/plugin-manager/interaction-recipes.js.map +1 -0
  251. package/src/lib/plugin-manager/interaction-step-checks.d.ts +66 -0
  252. package/src/lib/plugin-manager/interaction-step-checks.js +86 -0
  253. package/src/lib/plugin-manager/interaction-step-checks.js.map +1 -0
  254. package/src/lib/plugin-manager/plugin-artifact-types.d.ts +235 -0
  255. package/src/lib/plugin-manager/plugin-artifact-types.js +99 -0
  256. package/src/lib/plugin-manager/plugin-artifact-types.js.map +1 -0
  257. package/src/lib/plugin-manager/plugin-contact-capture.d.ts +8 -0
  258. package/src/lib/plugin-manager/plugin-contact-capture.js.map +1 -1
  259. package/src/lib/plugin-manager/plugin-conversion-credit.d.ts +216 -0
  260. package/src/lib/plugin-manager/plugin-conversion-credit.js +91 -0
  261. package/src/lib/plugin-manager/plugin-conversion-credit.js.map +1 -0
  262. package/src/lib/plugin-manager/plugin-entity-pickers.d.ts +83 -0
  263. package/src/lib/plugin-manager/plugin-entity-pickers.js +87 -0
  264. package/src/lib/plugin-manager/plugin-entity-pickers.js.map +1 -0
  265. package/src/lib/plugin-manager/plugin-host-resources.d.ts +6 -0
  266. package/src/lib/plugin-manager/plugin-host-resources.js +6 -1
  267. package/src/lib/plugin-manager/plugin-host-resources.js.map +1 -1
  268. package/src/lib/plugin-manager/plugin-intake-gates.d.ts +75 -0
  269. package/src/lib/plugin-manager/plugin-intake-gates.js +49 -0
  270. package/src/lib/plugin-manager/plugin-intake-gates.js.map +1 -0
  271. package/src/lib/plugin-manager/plugin-jobs.d.ts +5 -5
  272. package/src/lib/plugin-manager/plugin-jobs.js +7 -7
  273. package/src/lib/plugin-manager/plugin-jobs.js.map +1 -1
  274. package/src/lib/plugin-manager/plugin-live-paths.d.ts +70 -0
  275. package/src/lib/plugin-manager/plugin-live-paths.js +66 -0
  276. package/src/lib/plugin-manager/plugin-live-paths.js.map +1 -0
  277. package/src/lib/plugin-manager/plugin-org-erasure.d.ts +3 -2
  278. package/src/lib/plugin-manager/plugin-org-erasure.js +30 -5
  279. package/src/lib/plugin-manager/plugin-org-erasure.js.map +1 -1
  280. package/src/lib/plugin-manager/plugin-person-erasure.d.ts +68 -9
  281. package/src/lib/plugin-manager/plugin-person-erasure.js +196 -51
  282. package/src/lib/plugin-manager/plugin-person-erasure.js.map +1 -1
  283. package/src/lib/plugin-manager/plugin-person-records.d.ts +275 -0
  284. package/src/lib/plugin-manager/plugin-person-records.js +107 -0
  285. package/src/lib/plugin-manager/plugin-person-records.js.map +1 -0
  286. package/src/lib/plugin-manager/plugin-record-counts.d.ts +76 -0
  287. package/src/lib/plugin-manager/plugin-record-counts.js +49 -0
  288. package/src/lib/plugin-manager/plugin-record-counts.js.map +1 -0
  289. package/src/lib/plugin-manager/plugin-record-email-state.d.ts +26 -0
  290. package/src/lib/plugin-manager/plugin-record-email-state.js +16 -0
  291. package/src/lib/plugin-manager/plugin-record-email-state.js.map +1 -1
  292. package/src/lib/plugin-manager/plugin-record-index.d.ts +10 -0
  293. package/src/lib/plugin-manager/plugin-record-index.js.map +1 -1
  294. package/src/lib/plugin-manager/plugin-record-lists.d.ts +86 -6
  295. package/src/lib/plugin-manager/plugin-record-lists.js +42 -5
  296. package/src/lib/plugin-manager/plugin-record-lists.js.map +1 -1
  297. package/src/lib/plugin-manager/plugin-record-origin.d.ts +79 -0
  298. package/src/lib/plugin-manager/plugin-record-origin.js +46 -0
  299. package/src/lib/plugin-manager/plugin-record-origin.js.map +1 -0
  300. package/src/lib/plugin-manager/plugin-record-pages.d.ts +37 -0
  301. package/src/lib/plugin-manager/plugin-record-pages.js +52 -0
  302. package/src/lib/plugin-manager/plugin-record-pages.js.map +1 -0
  303. package/src/lib/plugin-manager/plugin-record-timeline.d.ts +60 -0
  304. package/src/lib/plugin-manager/plugin-record-timeline.js +16 -0
  305. package/src/lib/plugin-manager/plugin-record-timeline.js.map +1 -1
  306. package/src/lib/plugin-manager/plugin-resource-drafts.d.ts +5 -5
  307. package/src/lib/plugin-manager/plugin-resource-drafts.js.map +1 -1
  308. package/src/lib/plugin-manager/plugin-revocations.d.ts +64 -0
  309. package/src/lib/plugin-manager/plugin-revocations.js +47 -0
  310. package/src/lib/plugin-manager/plugin-revocations.js.map +1 -0
  311. package/src/lib/plugin-manager/plugin-send-tallies.d.ts +69 -0
  312. package/src/lib/plugin-manager/plugin-send-tallies.js +45 -0
  313. package/src/lib/plugin-manager/plugin-send-tallies.js.map +1 -0
  314. package/src/lib/plugin-manager/plugin-server-steps.d.ts +170 -0
  315. package/src/lib/plugin-manager/plugin-server-steps.js +116 -0
  316. package/src/lib/plugin-manager/plugin-server-steps.js.map +1 -0
  317. package/src/lib/plugin-manager/plugin-site-bundle.d.ts +40 -0
  318. package/src/lib/plugin-manager/plugin-site-bundle.js +4 -0
  319. package/src/lib/plugin-manager/plugin-site-bundle.js.map +1 -1
  320. package/src/lib/plugin-manager/plugin-site-export.d.ts +57 -1
  321. package/src/lib/plugin-manager/plugin-site-export.js +23 -10
  322. package/src/lib/plugin-manager/plugin-site-export.js.map +1 -1
  323. package/src/lib/plugin-manager/plugin-sitemap-readers.d.ts +146 -0
  324. package/src/lib/plugin-manager/plugin-sitemap-readers.js +110 -0
  325. package/src/lib/plugin-manager/plugin-sitemap-readers.js.map +1 -0
  326. package/src/lib/plugin-manager/plugin-transfer-resources.d.ts +714 -0
  327. package/src/lib/plugin-manager/plugin-transfer-resources.js +443 -0
  328. package/src/lib/plugin-manager/plugin-transfer-resources.js.map +1 -0
  329. package/src/lib/plugin-manager/plugin-usage-axes.d.ts +54 -5
  330. package/src/lib/plugin-manager/plugin-usage-axes.js +11 -3
  331. package/src/lib/plugin-manager/plugin-usage-axes.js.map +1 -1
  332. package/src/lib/plugin-manager/plugin-user-erasure.js +9 -1
  333. package/src/lib/plugin-manager/plugin-user-erasure.js.map +1 -1
  334. package/src/lib/plugin-manager/plugin-visitor-doors.d.ts +104 -0
  335. package/src/lib/plugin-manager/plugin-visitor-doors.js +108 -0
  336. package/src/lib/plugin-manager/plugin-visitor-doors.js.map +1 -0
  337. package/src/lib/plugin-manager/realm-host-aglyn.generated.js +2 -0
  338. package/src/lib/plugin-manager/realm-host-aglyn.generated.js.map +1 -1
  339. package/src/lib/plugin-manager/repeat-rows.d.ts +5 -6
  340. package/src/lib/plugin-manager/repeat-rows.js.map +1 -1
  341. package/src/lib/app-utils/actions.d.ts +0 -310
  342. package/src/lib/app-utils/actions.js +0 -506
  343. package/src/lib/app-utils/actions.js.map +0 -1
  344. package/src/lib/app-utils/automation-placeholders.d.ts +0 -72
  345. package/src/lib/app-utils/automation-placeholders.js +0 -207
  346. package/src/lib/app-utils/automation-placeholders.js.map +0 -1
  347. package/src/lib/app-utils/dataset-models.d.ts +0 -339
  348. package/src/lib/app-utils/dataset-models.js +0 -722
  349. package/src/lib/app-utils/dataset-models.js.map +0 -1
  350. package/src/lib/app-utils/datasets.d.ts +0 -171
  351. package/src/lib/app-utils/datasets.js +0 -227
  352. package/src/lib/app-utils/datasets.js.map +0 -1
  353. package/src/lib/app-utils/form-abuse-ceiling.d.ts +0 -146
  354. package/src/lib/app-utils/form-abuse-ceiling.js +0 -158
  355. package/src/lib/app-utils/form-abuse-ceiling.js.map +0 -1
  356. package/src/lib/plugin-manager/order-fulfilment.d.ts +0 -142
  357. package/src/lib/plugin-manager/order-fulfilment.js +0 -104
  358. package/src/lib/plugin-manager/order-fulfilment.js.map +0 -1
@@ -0,0 +1,1024 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Aglyn LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */ import { _ as _extends } from "@swc/helpers/_/_extends";
17
+ import { nodeInteractionSelector } from "./node-interactions.js";
18
+ import { SCREEN_ROOT_PATH } from "./screen-route.js";
19
+ import { buildStarterNodes as buildNodes, starterSection as container, starterText as text } from "./starter-template-nodes.js";
20
+ /**
21
+ * The website every new site is born with (AGL-3497).
22
+ *
23
+ * It used to be one heading and "our new website is on its way" (AGL-3408):
24
+ * a site that answered `/` instead of 404ing, and showed an owner nothing of
25
+ * what the product does. Now a site starts as a real one — a shared header
26
+ * and footer, a home page with the sections an ordinary business site has,
27
+ * photos, a theme and its SEO — and each section says, to the owner, how to
28
+ * make it theirs.
29
+ *
30
+ * It is published and open to search engines from the first request, as every
31
+ * new site's home page has been since AGL-3408.
32
+ *
33
+ * The photos ship with the apps under `/_static/starter/` (see the CREDITS
34
+ * file there). A published page's `img-src` admits only its own origin and
35
+ * the media CDN, so a stock-photo URL would be blocked, and there is no
36
+ * platform-wide media scope to hold them. Both the tenant and the console
37
+ * serve the same files at the same path, so they draw on the live site and in
38
+ * the Besigner alike.
39
+ *
40
+ * PERSISTED IDENTIFIERS: every node id below is stored on every new site.
41
+ */ /** Where the starter photos are served from, on every tenant and in the console. */ export const DEFAULT_SITE_IMAGE_BASE = '/_static/starter';
42
+ /** The starter photos, with the sizes the files actually are. */ export const DEFAULT_SITE_IMAGES = {
43
+ hero: {
44
+ src: `${DEFAULT_SITE_IMAGE_BASE}/hero-team.jpg`,
45
+ width: 1600,
46
+ height: 1067
47
+ },
48
+ about: {
49
+ src: `${DEFAULT_SITE_IMAGE_BASE}/about-owner.jpg`,
50
+ width: 1600,
51
+ height: 900
52
+ },
53
+ desk: {
54
+ src: `${DEFAULT_SITE_IMAGE_BASE}/gallery-desk.jpg`,
55
+ width: 1600,
56
+ height: 1068
57
+ },
58
+ plants: {
59
+ src: `${DEFAULT_SITE_IMAGE_BASE}/gallery-plants.jpg`,
60
+ width: 1200,
61
+ height: 900
62
+ },
63
+ craft: {
64
+ src: `${DEFAULT_SITE_IMAGE_BASE}/gallery-craft.jpg`,
65
+ width: 1600,
66
+ height: 1065
67
+ }
68
+ };
69
+ /** The node a call to action scrolls to, and the one the features link names. */ export const DEFAULT_HOME_CONTACT_SECTION_ID = 'dh_contactSection';
70
+ export const DEFAULT_HOME_FEATURES_SECTION_ID = 'dh_featuresSection';
71
+ /** Room left above a scrolled-to section for the sticky header. */ const HEADER_OFFSET_PX = 72;
72
+ /**
73
+ * Icon outlines, from Material Design Icons. Written in rather than looked up:
74
+ * a published page reads an icon's stored path and never loads the catalog
75
+ * (AGL-1212), and the catalog is the whole icon set.
76
+ */ const ICONS = {
77
+ 'pencil-outline': 'M14.06,9L15,9.94L5.92,19H5V18.08L14.06,9M17.66,3C17.41,3 17.15,3.1 16.96,3.29L15.13,5.12L18.88,8.87L20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18.17,3.09 17.92,3 17.66,3M14.06,6.19L3,17.25V21H6.75L17.81,9.94L14.06,6.19Z',
78
+ 'palette-outline': 'M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2C17.5,2 22,6 22,11A6,6 0 0,1 16,17H14.2C13.9,17 13.7,17.2 13.7,17.5C13.7,17.6 13.8,17.7 13.8,17.8C14.2,18.3 14.4,18.9 14.4,19.5C14.5,20.9 13.4,22 12,22M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C12.3,20 12.5,19.8 12.5,19.5C12.5,19.3 12.4,19.2 12.4,19.1C12,18.6 11.8,18.1 11.8,17.5C11.8,16.1 12.9,15 14.3,15H16A4,4 0 0,0 20,11C20,7.1 16.4,4 12,4M6.5,10C7.3,10 8,10.7 8,11.5C8,12.3 7.3,13 6.5,13C5.7,13 5,12.3 5,11.5C5,10.7 5.7,10 6.5,10M9.5,6C10.3,6 11,6.7 11,7.5C11,8.3 10.3,9 9.5,9C8.7,9 8,8.3 8,7.5C8,6.7 8.7,6 9.5,6M14.5,6C15.3,6 16,6.7 16,7.5C16,8.3 15.3,9 14.5,9C13.7,9 13,8.3 13,7.5C13,6.7 13.7,6 14.5,6M17.5,10C18.3,10 19,10.7 19,11.5C19,12.3 18.3,13 17.5,13C16.7,13 16,12.3 16,11.5C16,10.7 16.7,10 17.5,10Z',
79
+ 'image-multiple-outline': 'M21,17H7V3H21M21,1H7A2,2 0 0,0 5,3V17A2,2 0 0,0 7,19H21A2,2 0 0,0 23,17V3A2,2 0 0,0 21,1M3,5H1V21A2,2 0 0,0 3,23H19V21H3M15.96,10.29L13.21,13.83L11.25,11.47L8.5,15H19.5L15.96,10.29Z',
80
+ 'email-fast-outline': 'M22 5.5H9C7.9 5.5 7 6.4 7 7.5V16.5C7 17.61 7.9 18.5 9 18.5H22C23.11 18.5 24 17.61 24 16.5V7.5C24 6.4 23.11 5.5 22 5.5M22 16.5H9V9.17L15.5 12.5L22 9.17V16.5M15.5 10.81L9 7.5H22L15.5 10.81M5 16.5C5 16.67 5.03 16.83 5.05 17H1C.448 17 0 16.55 0 16S.448 15 1 15H5V16.5M3 7H5.05C5.03 7.17 5 7.33 5 7.5V9H3C2.45 9 2 8.55 2 8S2.45 7 3 7M1 12C1 11.45 1.45 11 2 11H5V13H2C1.45 13 1 12.55 1 12Z',
81
+ magnify: 'M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z',
82
+ 'page-layout-header-footer': 'M18 2H6C4.89 2 4 2.9 4 4V20C4 21.11 4.89 22 6 22H18C19.11 22 20 21.11 20 20V4C20 2.9 19.11 2 18 2M18 20H6V16H18V20M18 8H6V4H18V8Z',
83
+ 'check-circle-outline': 'M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z',
84
+ 'format-quote-open': 'M10,7L8,11H11V17H5V11L7,7H10M18,7L16,11H19V17H13V11L15,7H18Z'
85
+ };
86
+ const icon = (id, iconId, color = 'primary.main')=>({
87
+ id,
88
+ componentId: 'icon',
89
+ props: {
90
+ iconId,
91
+ iconPath: ICONS[iconId],
92
+ size: 32
93
+ },
94
+ sx: {
95
+ color
96
+ }
97
+ });
98
+ /** A click that brings a section of the page into view under the header. */ const scrollTo = (targetId, name)=>[
99
+ {
100
+ id: 'scroll-to-section',
101
+ name: `Scroll to ${name}`,
102
+ enabled: true,
103
+ trigger: {
104
+ event: 'elementClick',
105
+ everyTime: true
106
+ },
107
+ steps: [
108
+ {
109
+ type: 'scrollTo',
110
+ selector: nodeInteractionSelector(targetId),
111
+ offsetPx: HEADER_OFFSET_PX
112
+ }
113
+ ]
114
+ }
115
+ ];
116
+ const button = (id, label, variant, target, extra)=>({
117
+ id,
118
+ componentId: 'muiButton',
119
+ props: _extends({
120
+ variant,
121
+ size: 'large',
122
+ children: label
123
+ }, extra),
124
+ interactions: scrollTo(target.id, target.name)
125
+ });
126
+ const CONTACT = {
127
+ id: DEFAULT_HOME_CONTACT_SECTION_ID,
128
+ name: 'the contact form'
129
+ };
130
+ const FEATURES = {
131
+ id: DEFAULT_HOME_FEATURES_SECTION_ID,
132
+ name: 'what is included'
133
+ };
134
+ /**
135
+ * One full-width band: a semantic `section` carrying the band's background,
136
+ * around a Container at a stock width carrying its rhythm (AGL-1298).
137
+ */ const band = (id, ariaLabel, width, children, sx)=>_extends({
138
+ id,
139
+ componentId: 'section',
140
+ props: {
141
+ element: 'section',
142
+ ariaLabel
143
+ }
144
+ }, sx ? {
145
+ sx
146
+ } : {}, {
147
+ children: [
148
+ container(`${id}Inner`, width, 10, children)
149
+ ]
150
+ });
151
+ /** A section's heading block: an overline, the heading and a lede. */ const heading = (prefix, overline, title, lede, align = 'center')=>({
152
+ id: `${prefix}Heading`,
153
+ componentId: 'muiStack',
154
+ props: {
155
+ spacing: 1.5
156
+ },
157
+ sx: _extends({
158
+ alignItems: align === 'center' ? 'center' : 'flex-start',
159
+ marginBottom: 6
160
+ }, align === 'center' ? {
161
+ marginLeft: 'auto',
162
+ marginRight: 'auto',
163
+ maxWidth: 'md'
164
+ } : {}),
165
+ children: [
166
+ text(`${prefix}Overline`, 'overline', overline, {
167
+ align,
168
+ color: 'primary'
169
+ }),
170
+ text(`${prefix}Title`, 'h2', title, {
171
+ align
172
+ }),
173
+ text(`${prefix}Lede`, 'lede', lede, {
174
+ align,
175
+ color: 'text.secondary'
176
+ })
177
+ ]
178
+ });
179
+ const grid = (id, spacing, children, sx)=>_extends({
180
+ id,
181
+ componentId: 'muiGrid',
182
+ props: {
183
+ container: true,
184
+ spacing
185
+ }
186
+ }, sx ? {
187
+ sx
188
+ } : {}, {
189
+ children
190
+ });
191
+ /**
192
+ * A grid cell. `size` is the Grid element's STORED syntax — `'xs:12 md:6'`,
193
+ * per-breakpoint column counts in one string — which its parser turns into
194
+ * MUI's responsive object; an object here would be ignored.
195
+ */ const cell = (id, size, children, sx)=>_extends({
196
+ id,
197
+ componentId: 'muiGrid',
198
+ props: {
199
+ size
200
+ }
201
+ }, sx ? {
202
+ sx
203
+ } : {}, {
204
+ children
205
+ });
206
+ const photo = (id, image, alt, height, loading = 'lazy')=>({
207
+ id,
208
+ componentId: 'image',
209
+ props: {
210
+ src: image.src,
211
+ alt,
212
+ height,
213
+ objectFit: 'cover',
214
+ radius: 16,
215
+ loading,
216
+ intrinsicWidth: image.width,
217
+ intrinsicHeight: image.height
218
+ }
219
+ });
220
+ const featureCard = (id, iconId, title, body)=>cell(`${id}Cell`, 'xs:12 sm:6 md:4', [
221
+ {
222
+ id,
223
+ componentId: 'muiCard',
224
+ props: {
225
+ variant: 'outlined'
226
+ },
227
+ sx: {
228
+ height: '100%',
229
+ borderRadius: 3
230
+ },
231
+ children: [
232
+ {
233
+ id: `${id}Content`,
234
+ componentId: 'muiCardContent',
235
+ sx: {
236
+ paddingTop: 4,
237
+ paddingRight: 4,
238
+ paddingBottom: 4,
239
+ paddingLeft: 4
240
+ },
241
+ children: [
242
+ {
243
+ id: `${id}Stack`,
244
+ componentId: 'muiStack',
245
+ props: {
246
+ spacing: 1.5
247
+ },
248
+ children: [
249
+ icon(`${id}Icon`, iconId),
250
+ text(`${id}Title`, 'h5', title, {
251
+ component: 'h3'
252
+ }),
253
+ text(`${id}Body`, 'body1', body, {
254
+ color: 'text.secondary'
255
+ })
256
+ ]
257
+ }
258
+ ]
259
+ }
260
+ ]
261
+ }
262
+ ]);
263
+ const checkRow = (id, label)=>({
264
+ id,
265
+ componentId: 'muiStack',
266
+ props: {
267
+ direction: 'row',
268
+ spacing: 1.5
269
+ },
270
+ sx: {
271
+ alignItems: 'center'
272
+ },
273
+ children: [
274
+ icon(`${id}Icon`, 'check-circle-outline', 'secondary.main'),
275
+ text(`${id}Text`, 'body1', label)
276
+ ]
277
+ });
278
+ const testimonial = (id, quote, name, detail)=>cell(`${id}Cell`, 'xs:12 md:4', [
279
+ {
280
+ id,
281
+ componentId: 'muiCard',
282
+ props: {
283
+ variant: 'outlined'
284
+ },
285
+ sx: {
286
+ height: '100%',
287
+ borderRadius: 3
288
+ },
289
+ children: [
290
+ {
291
+ id: `${id}Content`,
292
+ componentId: 'muiCardContent',
293
+ sx: {
294
+ paddingTop: 4,
295
+ paddingRight: 4,
296
+ paddingBottom: 4,
297
+ paddingLeft: 4
298
+ },
299
+ children: [
300
+ {
301
+ id: `${id}Stack`,
302
+ componentId: 'muiStack',
303
+ props: {
304
+ spacing: 2
305
+ },
306
+ children: [
307
+ icon(`${id}Icon`, 'format-quote-open', 'secondary.main'),
308
+ text(`${id}Quote`, 'body1', quote),
309
+ {
310
+ id: `${id}By`,
311
+ componentId: 'muiStack',
312
+ props: {
313
+ spacing: 0
314
+ },
315
+ children: [
316
+ text(`${id}Name`, 'subtitle2', name),
317
+ text(`${id}Detail`, 'body2', detail, {
318
+ color: 'text.secondary'
319
+ })
320
+ ]
321
+ }
322
+ ]
323
+ }
324
+ ]
325
+ }
326
+ ]
327
+ }
328
+ ]);
329
+ const faq = (id, question, answer, defaultExpanded = false)=>({
330
+ id,
331
+ componentId: 'muiAccordion',
332
+ props: _extends({
333
+ disableGutters: true
334
+ }, defaultExpanded ? {
335
+ defaultExpanded: true
336
+ } : {}),
337
+ sx: {
338
+ borderRadius: 2
339
+ },
340
+ children: [
341
+ {
342
+ id: `${id}Q`,
343
+ componentId: 'muiAccordionSummary',
344
+ props: {
345
+ children: question
346
+ },
347
+ sx: {
348
+ fontWeight: 700,
349
+ fontSize: '1rem',
350
+ paddingTop: 1,
351
+ paddingBottom: 1
352
+ }
353
+ },
354
+ {
355
+ id: `${id}A`,
356
+ componentId: 'muiAccordionDetails',
357
+ children: [
358
+ text(`${id}AText`, 'body1', answer, {
359
+ color: 'text.secondary'
360
+ })
361
+ ]
362
+ }
363
+ ]
364
+ });
365
+ /**
366
+ * The contact form. `pluginId: 'forms'` because a node names the bundle that
367
+ * REGISTERS its component, and that is what decides whether the form draws
368
+ * with the page or arrives after hydration (see the forms plugin's
369
+ * `form-survives-the-bundle-move.spec.tsx`).
370
+ */ const contactForm = ()=>({
371
+ id: 'dh_form',
372
+ componentId: 'form',
373
+ pluginId: 'forms',
374
+ props: {
375
+ formName: 'Contact',
376
+ submitLabel: 'Send message',
377
+ successMessage: 'Thanks — your message is on its way. We will be in touch soon.'
378
+ },
379
+ children: [
380
+ {
381
+ id: 'dh_fName',
382
+ componentId: 'formField',
383
+ pluginId: 'forms',
384
+ props: {
385
+ fieldName: 'name',
386
+ label: 'Name',
387
+ required: true
388
+ }
389
+ },
390
+ {
391
+ id: 'dh_fEmail',
392
+ componentId: 'formField',
393
+ pluginId: 'forms',
394
+ props: {
395
+ fieldName: 'email',
396
+ label: 'Email',
397
+ fieldType: 'email',
398
+ required: true
399
+ }
400
+ },
401
+ {
402
+ id: 'dh_fMessage',
403
+ componentId: 'formField',
404
+ pluginId: 'forms',
405
+ props: {
406
+ fieldName: 'message',
407
+ label: 'Message',
408
+ fieldType: 'textarea',
409
+ required: true
410
+ }
411
+ }
412
+ ]
413
+ });
414
+ /** What a search result and a shared link say about the home page. */ export function defaultHomeDescription(siteName) {
415
+ const name = siteName.trim() || 'our website';
416
+ return `Welcome to ${name}. See what we do, browse our work and get in touch.`;
417
+ }
418
+ /**
419
+ * The home page every new site is born with (AGL-3497, after AGL-3408).
420
+ *
421
+ * Its `seo` is written onto the screen, and the site's header and footer come
422
+ * from the layout `buildDefaultSiteLayout` makes, which the provisioning
423
+ * write binds it to.
424
+ *
425
+ * The site's name is written in as text, not bound: a page has no token for
426
+ * it, and the heading is the first thing an owner rewrites anyway.
427
+ */ export function buildDefaultHomeScreen(siteName) {
428
+ const name = siteName.trim() || 'Welcome';
429
+ return {
430
+ key: 'home',
431
+ displayName: 'Home',
432
+ slug: SCREEN_ROOT_PATH,
433
+ seo: {
434
+ title: name,
435
+ description: defaultHomeDescription(siteName)
436
+ },
437
+ nodes: buildNodes([
438
+ // ── Hero ────────────────────────────────────────────────────────────
439
+ band('dh_heroSection', 'Introduction', 'xl', [
440
+ grid('dh_heroGrid', 6, [
441
+ cell('dh_heroTextCell', 'xs:12 md:6', [
442
+ {
443
+ id: 'dh_hero',
444
+ componentId: 'muiStack',
445
+ props: {
446
+ spacing: 3
447
+ },
448
+ children: [
449
+ text('dh_heroOverline', 'overline', 'Welcome to your new website', {
450
+ color: 'primary'
451
+ }),
452
+ text('dh_heroTitle', 'h1', name),
453
+ text('dh_heroSub', 'lede', 'This page is ready to make your own. Every heading, photo, ' + 'button and color on it can be changed in the Besigner, and ' + 'nothing you change goes live until you press Publish.', {
454
+ color: 'text.secondary'
455
+ }),
456
+ {
457
+ id: 'dh_heroActions',
458
+ componentId: 'muiStack',
459
+ props: {
460
+ direction: 'row'
461
+ },
462
+ // `gap`, not `spacing`: Stack spacing is a margin on every
463
+ // child after the first, so a button that wraps onto a
464
+ // second line keeps a left margin it no longer needs.
465
+ sx: {
466
+ flexWrap: 'wrap',
467
+ gap: 2
468
+ },
469
+ children: [
470
+ button('dh_heroCta', 'Get in touch', 'contained', CONTACT),
471
+ button('dh_heroMore', 'See what’s included', 'outlined', FEATURES)
472
+ ]
473
+ }
474
+ ]
475
+ }
476
+ ], {
477
+ alignSelf: 'center'
478
+ }),
479
+ cell('dh_heroImageCell', 'xs:12 md:6', [
480
+ photo('dh_heroImage', DEFAULT_SITE_IMAGES.hero, 'A small team working together around a table in a bright office', '420px', 'eager')
481
+ ])
482
+ ])
483
+ ], {
484
+ bgcolor: 'background.paper'
485
+ }),
486
+ // ── Features ────────────────────────────────────────────────────────
487
+ band(DEFAULT_HOME_FEATURES_SECTION_ID, 'What is included', 'xl', [
488
+ heading('dh_features', 'What’s already here', 'Everything a real website needs, ready to edit', 'Each block on this page shows one thing you can do. Keep the ones ' + 'you need, delete the rest, and add more from the elements panel.'),
489
+ grid('dh_featuresGrid', 3, [
490
+ featureCard('dh_f1', 'pencil-outline', 'Edit right on the page', 'Click any heading, paragraph or button in the Besigner and type. ' + 'Changes stay a draft until you press Publish.'),
491
+ featureCard('dh_f2', 'palette-outline', 'Your colors and fonts', 'The colors and typefaces here come from your site theme. Change ' + 'them once under Setup → Theme and every page follows.'),
492
+ featureCard('dh_f3', 'image-multiple-outline', 'Photos you choose', 'Upload your own pictures under Media, then pick one for any image ' + 'on the page — the photos here are placeholders.'),
493
+ featureCard('dh_f4', 'email-fast-outline', 'A contact form that works', 'The form at the bottom of this page is live. Every message is ' + 'saved under Forms, and you are notified when one arrives.'),
494
+ featureCard('dh_f5', 'magnify', 'Ready to be found', 'Set the title, description and image that search results and ' + 'shared links show under Setup → SEO.'),
495
+ featureCard('dh_f6', 'page-layout-header-footer', 'One header and footer', 'The header and footer are a shared layout. Edit them once under ' + 'Layouts and every page you add uses them.')
496
+ ])
497
+ ]),
498
+ // ── About ───────────────────────────────────────────────────────────
499
+ band('dh_aboutSection', 'About us', 'xl', [
500
+ grid('dh_aboutGrid', 6, [
501
+ cell('dh_aboutImageCell', 'xs:12 md:6', [
502
+ photo('dh_aboutImage', DEFAULT_SITE_IMAGES.about, 'A smiling business owner standing behind the counter of her coffee shop', '440px')
503
+ ]),
504
+ cell('dh_aboutTextCell', 'xs:12 md:6', [
505
+ {
506
+ id: 'dh_about',
507
+ componentId: 'muiStack',
508
+ props: {
509
+ spacing: 2.5
510
+ },
511
+ children: [
512
+ text('dh_aboutOverline', 'overline', 'About us', {
513
+ color: 'primary'
514
+ }),
515
+ text('dh_aboutTitle', 'h2', 'Tell visitors who you are'),
516
+ text('dh_aboutBody', 'body1', 'People want to know who is behind a business before they get ' + 'in touch. Replace this with how you started, who you help ' + 'and what makes your work different.', {
517
+ color: 'text.secondary'
518
+ }),
519
+ text('dh_aboutBody2', 'body1', 'A few honest sentences and a real photo of you or your team ' + 'will do more than a long page.', {
520
+ color: 'text.secondary'
521
+ }),
522
+ {
523
+ id: 'dh_aboutChecks',
524
+ componentId: 'muiStack',
525
+ props: {
526
+ spacing: 1.5
527
+ },
528
+ children: [
529
+ checkRow('dh_aboutCheck1', 'Say what you do in one sentence'),
530
+ checkRow('dh_aboutCheck2', 'Show the people behind the work'),
531
+ checkRow('dh_aboutCheck3', 'Tell visitors what to do next')
532
+ ]
533
+ },
534
+ {
535
+ id: 'dh_aboutActions',
536
+ componentId: 'muiStack',
537
+ props: {
538
+ direction: 'row'
539
+ },
540
+ children: [
541
+ button('dh_aboutCta', 'Contact us', 'outlined', CONTACT)
542
+ ]
543
+ }
544
+ ]
545
+ }
546
+ ], {
547
+ alignSelf: 'center'
548
+ })
549
+ ])
550
+ ], {
551
+ bgcolor: 'background.paper'
552
+ }),
553
+ // ── Gallery ─────────────────────────────────────────────────────────
554
+ band('dh_gallerySection', 'Gallery', 'xl', [
555
+ heading('dh_gallery', 'Gallery', 'Show your work', 'Three photos in a grid that reflows on a phone. Replace them with ' + 'your products, projects or space, or add more to the grid.'),
556
+ grid('dh_galleryGrid', 3, [
557
+ cell('dh_g1Cell', 'xs:12 sm:4', [
558
+ photo('dh_g1', DEFAULT_SITE_IMAGES.desk, 'A tidy desk with a laptop, a lamp and fresh flowers', '320px')
559
+ ]),
560
+ cell('dh_g2Cell', 'xs:12 sm:4', [
561
+ photo('dh_g2', DEFAULT_SITE_IMAGES.plants, 'Houseplants on a sunny windowsill', '320px')
562
+ ]),
563
+ cell('dh_g3Cell', 'xs:12 sm:4', [
564
+ photo('dh_g3', DEFAULT_SITE_IMAGES.craft, 'Hands working on a craft project at a workbench', '320px')
565
+ ])
566
+ ])
567
+ ]),
568
+ // ── Testimonials ────────────────────────────────────────────────────
569
+ band('dh_testimonialsSection', 'What people say', 'xl', [
570
+ heading('dh_testimonials', 'Testimonials', 'What people say', 'A few words from real customers build trust faster than anything ' + 'you can say about yourself. Replace these with quotes of your own.'),
571
+ grid('dh_testimonialsGrid', 3, [
572
+ testimonial('dh_t1', 'Put a short quote from a happy customer here: one or two ' + 'sentences about the result you got them.', 'Customer name', 'Their business'),
573
+ testimonial('dh_t2', 'Pick quotes that answer what a new visitor is unsure about, ' + 'like price, timing or quality.', 'Customer name', 'Their city'),
574
+ testimonial('dh_t3', 'Ask before you publish a quote, and use the person’s real name ' + 'and photo if they are happy for you to.', 'Customer name', 'Their role')
575
+ ])
576
+ ], {
577
+ bgcolor: 'background.paper'
578
+ }),
579
+ // ── FAQ ─────────────────────────────────────────────────────────────
580
+ band('dh_faqSection', 'Frequently asked questions', 'md', [
581
+ heading('dh_faq', 'FAQ', 'Frequently asked questions', 'Answer the questions people ask you most. These answers are about ' + 'building this site, so replace them with your own.'),
582
+ {
583
+ id: 'dh_faqList',
584
+ componentId: 'muiStack',
585
+ props: {
586
+ spacing: 1.5
587
+ },
588
+ children: [
589
+ faq('dh_q1', 'How do I change what this page says?', 'Open this page in the Besigner. When you are signed in, the bar ' + 'across the top of your live site opens it in one click. Click ' + 'any text to edit it, then press Publish.', true),
590
+ faq('dh_q2', 'How do I add another page?', 'Open Pages in your site’s menu and create one. It gets this ' + 'header and footer automatically, and you can link to it from ' + 'the header.'),
591
+ faq('dh_q3', 'Where do messages from the contact form go?', 'Every message sent through the form below is saved under Forms, ' + 'where you can read it and keep track of who you have answered.'),
592
+ faq('dh_q4', 'Can I use my own domain name?', 'Yes. Custom domains are included from the Starter plan. Connect ' + 'one from your site’s Admin page, under Custom Domain.'),
593
+ faq('dh_q5', 'Will search engines find my site?', 'Yes. This site is published and open to search engines from day ' + 'one. Fill in Setup → SEO so results show the title and ' + 'description you want.')
594
+ ]
595
+ }
596
+ ]),
597
+ // ── Call to action ──────────────────────────────────────────────────
598
+ band('dh_ctaSection', 'Get started', 'md', [
599
+ {
600
+ id: 'dh_cta',
601
+ componentId: 'muiStack',
602
+ props: {
603
+ spacing: 3
604
+ },
605
+ sx: {
606
+ alignItems: 'center'
607
+ },
608
+ children: [
609
+ text('dh_ctaTitle', 'h2', 'Ready to make it yours?', {
610
+ align: 'center'
611
+ }),
612
+ text('dh_ctaBody', 'lede', 'Change the words, swap the photos and pick your colors, then ' + 'share your link with the world.', {
613
+ align: 'center'
614
+ }),
615
+ _extends({}, button('dh_ctaButton', 'Get in touch', 'contained', CONTACT), {
616
+ sx: {
617
+ bgcolor: 'background.paper',
618
+ color: 'text.primary',
619
+ '&:hover': {
620
+ bgcolor: 'background.default'
621
+ }
622
+ }
623
+ })
624
+ ]
625
+ }
626
+ ], {
627
+ bgcolor: 'primary.main',
628
+ color: 'primary.contrastText'
629
+ }),
630
+ // ── Contact ─────────────────────────────────────────────────────────
631
+ band(DEFAULT_HOME_CONTACT_SECTION_ID, 'Contact', 'md', [
632
+ heading('dh_contact', 'Contact', 'Get in touch', 'Questions, quotes or bookings: send a message and we will reply as ' + 'soon as we can.'),
633
+ contactForm()
634
+ ])
635
+ ])
636
+ };
637
+ }
638
+ /**
639
+ * The header and footer a new site is born with (AGL-3497).
640
+ *
641
+ * The brand reads `{{host.businessName}}`, so it follows the site's name in
642
+ * Setup rather than freezing the one it was created under. The header's
643
+ * Contact button scrolls to the home page's contact section; on another page
644
+ * it has nothing to scroll to and does nothing, which is the step's own rule.
645
+ *
646
+ * `homeScreenId` is the home page the brand and the footer's Home link point
647
+ * at — a link by id, so it survives a slug change.
648
+ */ export function buildDefaultSiteLayout(homeScreenId) {
649
+ const brand = '{{host.businessName}}';
650
+ return {
651
+ displayName: 'Site header and footer',
652
+ description: 'The header and footer every page of this site shows.',
653
+ nodes: buildNodes([
654
+ {
655
+ id: 'dl_header',
656
+ componentId: 'muiAppBar',
657
+ props: {
658
+ position: 'sticky',
659
+ color: 'inherit',
660
+ component: 'header',
661
+ ariaLabel: 'Site header'
662
+ },
663
+ sx: {
664
+ bgcolor: 'background.paper',
665
+ boxShadow: 'none',
666
+ borderBottom: 1,
667
+ borderColor: 'divider'
668
+ },
669
+ children: [
670
+ {
671
+ id: 'dl_headerInner',
672
+ componentId: 'muiContainer',
673
+ props: {
674
+ maxWidth: 'xl'
675
+ },
676
+ children: [
677
+ {
678
+ id: 'dl_toolbar',
679
+ componentId: 'muiToolbar',
680
+ props: {
681
+ disableGutters: true
682
+ },
683
+ sx: {
684
+ columnGap: 2
685
+ },
686
+ children: [
687
+ {
688
+ id: 'dl_brand',
689
+ componentId: 'muiScreenLink',
690
+ props: {
691
+ children: brand,
692
+ screenId: homeScreenId,
693
+ renderAs: 'link',
694
+ color: 'inherit'
695
+ },
696
+ sx: {
697
+ fontWeight: 800,
698
+ fontSize: '1.25rem',
699
+ textDecoration: 'none',
700
+ flexGrow: 1
701
+ }
702
+ },
703
+ {
704
+ id: 'dl_search',
705
+ componentId: 'searchBox',
706
+ props: {
707
+ placeholder: 'Search'
708
+ },
709
+ sx: {
710
+ display: {
711
+ xs: 'none',
712
+ md: 'flex'
713
+ },
714
+ width: 220
715
+ }
716
+ },
717
+ {
718
+ id: 'dl_mode',
719
+ componentId: 'themeModeSwitcher',
720
+ props: {
721
+ variant: 'icon'
722
+ }
723
+ },
724
+ {
725
+ id: 'dl_contact',
726
+ componentId: 'muiButton',
727
+ props: {
728
+ variant: 'contained',
729
+ children: 'Contact us'
730
+ },
731
+ sx: {
732
+ whiteSpace: 'nowrap',
733
+ flexShrink: 0
734
+ },
735
+ interactions: scrollTo(CONTACT.id, CONTACT.name)
736
+ }
737
+ ]
738
+ }
739
+ ]
740
+ }
741
+ ]
742
+ },
743
+ {
744
+ id: 'dl_slot',
745
+ componentId: 'layoutSlot',
746
+ props: {
747
+ component: 'main'
748
+ }
749
+ },
750
+ {
751
+ id: 'dl_footer',
752
+ componentId: 'section',
753
+ props: {
754
+ element: 'footer',
755
+ ariaLabel: 'Site footer'
756
+ },
757
+ sx: {
758
+ bgcolor: 'background.paper',
759
+ borderTop: 1,
760
+ borderColor: 'divider'
761
+ },
762
+ children: [
763
+ container('dl_footerInner', 'xl', 8, [
764
+ grid('dl_footerGrid', 4, [
765
+ cell('dl_footerBrandCell', 'xs:12 md:6', [
766
+ {
767
+ id: 'dl_footerBrand',
768
+ componentId: 'muiStack',
769
+ props: {
770
+ spacing: 1.5
771
+ },
772
+ children: [
773
+ text('dl_footerName', 'h6', brand, {
774
+ component: 'p'
775
+ }),
776
+ text('dl_footerAbout', 'body2', 'This footer is part of your site’s shared layout. Edit it ' + 'once under Layouts and it changes on every page.', {
777
+ color: 'text.secondary'
778
+ })
779
+ ]
780
+ }
781
+ ]),
782
+ cell('dl_footerLinksCell', 'xs:6 md:3', [
783
+ {
784
+ id: 'dl_footerLinks',
785
+ componentId: 'muiStack',
786
+ props: {
787
+ spacing: 1
788
+ },
789
+ children: [
790
+ text('dl_footerLinksTitle', 'subtitle2', 'Explore', {
791
+ component: 'p'
792
+ }),
793
+ {
794
+ id: 'dl_footerHome',
795
+ componentId: 'muiScreenLink',
796
+ props: {
797
+ children: 'Home',
798
+ screenId: homeScreenId,
799
+ renderAs: 'link',
800
+ color: 'inherit'
801
+ }
802
+ },
803
+ {
804
+ id: 'dl_footerSearch',
805
+ componentId: 'muiScreenLink',
806
+ props: {
807
+ children: 'Search',
808
+ href: '/search',
809
+ renderAs: 'link',
810
+ color: 'inherit'
811
+ }
812
+ }
813
+ ]
814
+ }
815
+ ]),
816
+ cell('dl_footerFollowCell', 'xs:6 md:3', [
817
+ {
818
+ id: 'dl_footerFollow',
819
+ componentId: 'muiStack',
820
+ props: {
821
+ spacing: 1
822
+ },
823
+ children: [
824
+ text('dl_footerFollowTitle', 'subtitle2', 'Follow along', {
825
+ component: 'p'
826
+ }),
827
+ text('dl_footerFollowBody', 'body2', 'Add your social profiles to the links element here and ' + 'their icons appear.', {
828
+ color: 'text.secondary'
829
+ }),
830
+ {
831
+ id: 'dl_footerSocial',
832
+ componentId: 'socialLinks',
833
+ props: {}
834
+ }
835
+ ]
836
+ }
837
+ ])
838
+ ]),
839
+ _extends({}, text('dl_footerCopyright', 'caption', `© ${brand}. All rights reserved.`, {
840
+ color: 'text.secondary',
841
+ component: 'p'
842
+ }), {
843
+ sx: {
844
+ marginTop: 6,
845
+ paddingTop: 3,
846
+ borderTop: 1,
847
+ borderColor: 'divider'
848
+ }
849
+ })
850
+ ])
851
+ ]
852
+ }
853
+ ])
854
+ };
855
+ }
856
+ /**
857
+ * The theme a new site starts with (AGL-3497): an indigo and teal palette on
858
+ * a soft neutral ground, one Google family, rounder corners and buttons that
859
+ * do not shout. Written as the site's own `theme`, so the theme library files
860
+ * it as "Site theme" and keeps it when the owner switches to another.
861
+ *
862
+ * Dark is authored too, because a visitor's device decides which one they
863
+ * see, and the header's switcher lets them choose.
864
+ */ export const DEFAULT_SITE_THEME = {
865
+ colorSchemes: {
866
+ light: {
867
+ primary: {
868
+ main: '#4338ca',
869
+ light: '#6366f1',
870
+ dark: '#3730a3',
871
+ contrastText: '#ffffff'
872
+ },
873
+ secondary: {
874
+ main: '#0f766e',
875
+ light: '#14b8a6',
876
+ dark: '#115e59',
877
+ contrastText: '#ffffff'
878
+ },
879
+ tertiary: {
880
+ main: '#b45309',
881
+ light: '#d97706',
882
+ dark: '#92400e',
883
+ contrastText: '#ffffff'
884
+ },
885
+ surface: {
886
+ main: '#f1f5f9',
887
+ contrastText: '#0f172a'
888
+ },
889
+ background: {
890
+ default: '#f8fafc',
891
+ paper: '#ffffff'
892
+ },
893
+ text: {
894
+ primary: '#0f172a',
895
+ secondary: '#475569',
896
+ disabled: '#94a3b8'
897
+ },
898
+ tint: {
899
+ primary: '#eef2ff',
900
+ secondary: '#f0fdfa',
901
+ tertiary: '#fffbeb'
902
+ },
903
+ divider: '#e2e8f0'
904
+ },
905
+ dark: {
906
+ primary: {
907
+ main: '#a5b4fc',
908
+ light: '#c7d2fe',
909
+ dark: '#818cf8',
910
+ contrastText: '#1e1b4b'
911
+ },
912
+ secondary: {
913
+ main: '#5eead4',
914
+ light: '#99f6e4',
915
+ dark: '#2dd4bf',
916
+ contrastText: '#042f2e'
917
+ },
918
+ tertiary: {
919
+ main: '#fcd34d',
920
+ light: '#fde68a',
921
+ dark: '#fbbf24',
922
+ contrastText: '#451a03'
923
+ },
924
+ surface: {
925
+ main: '#1e293b',
926
+ contrastText: '#e2e8f0'
927
+ },
928
+ background: {
929
+ default: '#0b1120',
930
+ paper: '#111827'
931
+ },
932
+ text: {
933
+ primary: '#e2e8f0',
934
+ secondary: '#94a3b8',
935
+ disabled: '#475569'
936
+ },
937
+ tint: {
938
+ primary: '#1e1b4b',
939
+ secondary: '#042f2e',
940
+ tertiary: '#451a03'
941
+ },
942
+ divider: '#1e293b'
943
+ }
944
+ },
945
+ fonts: [
946
+ {
947
+ family: 'Plus Jakarta Sans',
948
+ weights: [
949
+ 400,
950
+ 500,
951
+ 600,
952
+ 700,
953
+ 800
954
+ ],
955
+ source: 'google'
956
+ }
957
+ ],
958
+ typography: {
959
+ fontFamily: '"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif',
960
+ variants: {
961
+ h1: {
962
+ fontSize: '3.25rem',
963
+ fontWeight: 800,
964
+ lineHeight: 1.1,
965
+ letterSpacing: '-0.02em'
966
+ },
967
+ h2: {
968
+ fontSize: '2.25rem',
969
+ fontWeight: 800,
970
+ lineHeight: 1.15,
971
+ letterSpacing: '-0.015em'
972
+ },
973
+ h3: {
974
+ fontSize: '1.75rem',
975
+ fontWeight: 700,
976
+ lineHeight: 1.2
977
+ },
978
+ h4: {
979
+ fontSize: '1.5rem',
980
+ fontWeight: 700,
981
+ lineHeight: 1.25
982
+ },
983
+ h5: {
984
+ fontSize: '1.25rem',
985
+ fontWeight: 700,
986
+ lineHeight: 1.3
987
+ },
988
+ h6: {
989
+ fontSize: '1.125rem',
990
+ fontWeight: 700,
991
+ lineHeight: 1.35
992
+ },
993
+ lede: {
994
+ fontSize: '1.1875rem',
995
+ fontWeight: 400,
996
+ lineHeight: 1.6
997
+ },
998
+ overline: {
999
+ fontSize: '0.8125rem',
1000
+ fontWeight: 700,
1001
+ letterSpacing: '0.12em'
1002
+ },
1003
+ button: {
1004
+ fontWeight: 700,
1005
+ textTransform: 'none'
1006
+ }
1007
+ }
1008
+ },
1009
+ shape: {
1010
+ borderRadius: 12
1011
+ }
1012
+ };
1013
+ /** The site-wide SEO a new site starts with: its name, a description and a sharing image. */ export function defaultSiteSeo(siteName) {
1014
+ return {
1015
+ title: siteName.trim() || 'Welcome',
1016
+ description: defaultHomeDescription(siteName),
1017
+ image: DEFAULT_SITE_IMAGES.hero.src,
1018
+ imageWidth: DEFAULT_SITE_IMAGES.hero.width,
1019
+ imageHeight: DEFAULT_SITE_IMAGES.hero.height,
1020
+ imageAlt: 'A small team working together around a table in a bright office'
1021
+ };
1022
+ }
1023
+
1024
+ //# sourceMappingURL=default-site.js.map