@phtngyn/cms 0.2.0-beta.8 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (524) hide show
  1. package/LICENSE +18 -10
  2. package/README.md +59 -404
  3. package/drizzle/20261003215543_initial/migration.sql +251 -0
  4. package/drizzle/20261003215543_initial/snapshot.json +1941 -0
  5. package/package.json +75 -71
  6. package/src/Authoring.d.ts +41 -49
  7. package/src/Authoring.js +1 -1
  8. package/src/Blocks-BrxSemnd.js +40 -0
  9. package/src/Client.d.ts +8186 -0
  10. package/src/Client.js +41 -0
  11. package/src/Collections.d.ts +142 -0
  12. package/src/Collections.js +142 -0
  13. package/src/Config-CMiwciub.js +130 -0
  14. package/src/Config.d.ts +172 -0
  15. package/src/Config.js +2 -0
  16. package/src/Configuration-Dk2k3OIc.js +73 -0
  17. package/src/DataTransfer-BmECvPHB.js +488 -0
  18. package/src/Database-DSsNCGft.d.ts +3 -0
  19. package/src/Delivery.d.ts +28 -0
  20. package/src/Delivery.js +7 -0
  21. package/src/Document-CKXMSEf1.js +293 -0
  22. package/src/Document-TgwYKJZM.d.ts +220 -0
  23. package/src/DocumentRenderer-Wz2xaNyf.js +394 -0
  24. package/src/EditorSchema-wrDv-id6.js +296 -0
  25. package/src/Fields-BegSgYhj.d.ts +166 -0
  26. package/src/Fields-ioGaMEh9.js +130 -0
  27. package/src/Forms-BuKAXQxr.d.ts +203 -0
  28. package/src/Forms.d.ts +48 -11
  29. package/src/Forms.js +342 -7
  30. package/src/I18n-Ckf9h0rC.js +154 -0
  31. package/src/I18n.d.ts +45 -2
  32. package/src/I18n.js +2 -1
  33. package/src/Image-CJWPLnhP.js +110 -0
  34. package/src/Links-CJYyy7rC.js +28 -0
  35. package/src/Links-Dx1yOni8.d.ts +28 -0
  36. package/src/Locales-Ch7a5xuA.js +67 -0
  37. package/src/Locales-jwbmJaOp.d.ts +43 -0
  38. package/src/Locales.d.ts +3 -0
  39. package/src/Locales.js +3 -0
  40. package/src/Media-BQ0uL4w7.d.ts +15 -0
  41. package/src/Media-DSyvd14o.js +87 -0
  42. package/src/Module.d.ts +2 -10
  43. package/src/Module.js +1040 -152
  44. package/src/Operations.d.ts +57 -0
  45. package/src/Operations.js +263 -0
  46. package/src/People-DvNZauWw.js +69 -0
  47. package/src/PreviewFocus-C_EelZO5.js +104 -0
  48. package/src/Query-C0kGJF5_.d.ts +261 -0
  49. package/src/RevisionPreview-IVwbJ9Wy.js +133 -0
  50. package/src/Routes-BaZvm2LE.js +126 -0
  51. package/src/Routes-DM1rRp3r.d.ts +15 -0
  52. package/src/S3MediaObjects-y-WacEi9.js +193 -0
  53. package/src/Seo-BcpqxoAs.d.ts +57 -0
  54. package/src/Seo-CjNUtUkj.js +254 -0
  55. package/src/StudioApi-CXLwwocX.js +833 -0
  56. package/src/StudioErrors-T5zLGQ1M.js +117 -0
  57. package/src/StudioErrors-kq-E44lQ.d.ts +104 -0
  58. package/src/StudioServer.d.ts +20 -0
  59. package/src/StudioServer.js +34 -0
  60. package/src/answers-DcTg0Xv2.js +41 -0
  61. package/src/cli.js +681 -187
  62. package/src/contracts-rprW3ZOB.js +130 -0
  63. package/src/forms-3xuf0Ym7.d.ts +206 -0
  64. package/src/localeConfiguration-BPbkLi7-.js +32 -0
  65. package/src/localeContext-DhF3SPvM.js +59 -0
  66. package/src/locales-6OD4XGIZ.js +12 -0
  67. package/src/nuxtDelivery-BYX_Cddb.js +466 -0
  68. package/src/plugin-DTYuDaQu.js +7171 -0
  69. package/src/previewContext-dt3ZUh-w.js +4 -0
  70. package/src/previewRegions-CXjk5cbP.js +145 -0
  71. package/src/previewSource-fb-q3ESM.js +144 -0
  72. package/src/rendering-D9LVeEKX.js +47 -0
  73. package/src/rolldown-runtime-8H4AJuhK.js +14 -0
  74. package/src/runtime/CmsImage.js +38 -0
  75. package/src/runtime/DocumentPage.vue +10 -0
  76. package/src/runtime/DocumentPageContent.js +48 -0
  77. package/src/runtime/DocumentRenderer.d.ts +129 -0
  78. package/src/runtime/DocumentRenderer.js +2 -0
  79. package/src/runtime/api.js +48 -6
  80. package/src/runtime/delivery/useCmsDocument.js +2 -0
  81. package/src/runtime/delivery/useCmsDocumentQuery.js +2 -0
  82. package/src/runtime/delivery/useCmsDocumentSeo.js +2 -114
  83. package/src/runtime/delivery/useCmsLocale.js +10 -0
  84. package/src/runtime/plugin.js +2 -40
  85. package/src/runtime/preview.css +85 -0
  86. package/src/runtime/preview.js +277 -0
  87. package/src/runtime/previewSource.js +82 -0
  88. package/src/runtime/revisionPrivacy.js +13 -0
  89. package/src/runtime/studio.js +10 -0
  90. package/src/runtime/studioIcons.js +36 -0
  91. package/src/validation-3pggwcnm.js +396 -0
  92. package/src/validation-DpUwPC8Y.js +224 -0
  93. package/studio/THIRD-PARTY-LICENSES.md +2406 -0
  94. package/studio/chunks/AccountPage-DL3DitDM.js +288 -0
  95. package/studio/chunks/AccountPage-DL3DitDM.js.br +0 -0
  96. package/studio/chunks/AccountPage-DL3DitDM.js.gz +0 -0
  97. package/studio/chunks/ActivityPage-CLqVUqTh.js +584 -0
  98. package/studio/chunks/ActivityPage-CLqVUqTh.js.br +0 -0
  99. package/studio/chunks/ActivityPage-CLqVUqTh.js.gz +0 -0
  100. package/studio/chunks/Alert-D0D24z_a.js +335 -0
  101. package/studio/chunks/Alert-D0D24z_a.js.br +0 -0
  102. package/studio/chunks/Alert-D0D24z_a.js.gz +0 -0
  103. package/studio/chunks/Badge-BBFs88TI.js +346 -0
  104. package/studio/chunks/Badge-BBFs88TI.js.br +0 -0
  105. package/studio/chunks/Badge-BBFs88TI.js.gz +0 -0
  106. package/studio/chunks/Button-BT3ztSPx.js +14319 -0
  107. package/studio/chunks/Button-BT3ztSPx.js.br +0 -0
  108. package/studio/chunks/Button-BT3ztSPx.js.gz +0 -0
  109. package/studio/chunks/Collapsible-CKnEYIlp.js +246 -0
  110. package/studio/chunks/Collapsible-CKnEYIlp.js.br +0 -0
  111. package/studio/chunks/Collapsible-CKnEYIlp.js.gz +0 -0
  112. package/studio/chunks/ContentInventory-D7nsFA6U.js +1745 -0
  113. package/studio/chunks/ContentInventory-D7nsFA6U.js.br +0 -0
  114. package/studio/chunks/ContentInventory-D7nsFA6U.js.gz +0 -0
  115. package/studio/chunks/ContentPage-DCxt6BeD.js +18 -0
  116. package/studio/chunks/ContentPage-DCxt6BeD.js.br +0 -0
  117. package/studio/chunks/ContentPage-DCxt6BeD.js.gz +0 -0
  118. package/studio/chunks/DashboardSearch-DjyMjJwF.js +2413 -0
  119. package/studio/chunks/DashboardSearch-DjyMjJwF.js.br +0 -0
  120. package/studio/chunks/DashboardSearch-DjyMjJwF.js.gz +0 -0
  121. package/studio/chunks/DocumentLocaleMenu-0EkkOr6_.js +26063 -0
  122. package/studio/chunks/DocumentLocaleMenu-0EkkOr6_.js.br +0 -0
  123. package/studio/chunks/DocumentLocaleMenu-0EkkOr6_.js.gz +0 -0
  124. package/studio/chunks/DropdownMenu-CA9fB0uZ.js +4400 -0
  125. package/studio/chunks/DropdownMenu-CA9fB0uZ.js.br +0 -0
  126. package/studio/chunks/DropdownMenu-CA9fB0uZ.js.gz +0 -0
  127. package/studio/chunks/EditorPage-D_PAYEE4.js +7799 -0
  128. package/studio/chunks/EditorPage-D_PAYEE4.js.br +0 -0
  129. package/studio/chunks/EditorPage-D_PAYEE4.js.gz +0 -0
  130. package/studio/chunks/FormField-CgM6l2Yn.js +198 -0
  131. package/studio/chunks/FormField-CgM6l2Yn.js.br +0 -0
  132. package/studio/chunks/FormField-CgM6l2Yn.js.gz +0 -0
  133. package/studio/chunks/HelpPage-C-vrFcT_.js +552 -0
  134. package/studio/chunks/HelpPage-C-vrFcT_.js.br +0 -0
  135. package/studio/chunks/HelpPage-C-vrFcT_.js.gz +0 -0
  136. package/studio/chunks/Kbd-Ot7TIhVZ.js +271 -0
  137. package/studio/chunks/Kbd-Ot7TIhVZ.js.br +0 -0
  138. package/studio/chunks/Kbd-Ot7TIhVZ.js.gz +0 -0
  139. package/studio/chunks/MediaFolderDialog-DYu-eu-q.js +101 -0
  140. package/studio/chunks/MediaFolderDialog-DYu-eu-q.js.br +0 -0
  141. package/studio/chunks/MediaFolderDialog-DYu-eu-q.js.gz +0 -0
  142. package/studio/chunks/MediaPage-D-jaWtdl.js +923 -0
  143. package/studio/chunks/MediaPage-D-jaWtdl.js.br +0 -0
  144. package/studio/chunks/MediaPage-D-jaWtdl.js.gz +0 -0
  145. package/studio/chunks/MediaPicker-BZs2wUFz.js +837 -0
  146. package/studio/chunks/MediaPicker-BZs2wUFz.js.br +0 -0
  147. package/studio/chunks/MediaPicker-BZs2wUFz.js.gz +0 -0
  148. package/studio/chunks/MediaUploadPanel-C7Kyg6aR.js +1173 -0
  149. package/studio/chunks/MediaUploadPanel-C7Kyg6aR.js.br +0 -0
  150. package/studio/chunks/MediaUploadPanel-C7Kyg6aR.js.gz +0 -0
  151. package/studio/chunks/Modal-D6hSvxHd.js +265 -0
  152. package/studio/chunks/Modal-D6hSvxHd.js.br +0 -0
  153. package/studio/chunks/Modal-D6hSvxHd.js.gz +0 -0
  154. package/studio/chunks/NewDocumentDialog-C8B6_r3J.js +277 -0
  155. package/studio/chunks/NewDocumentDialog-C8B6_r3J.js.br +0 -0
  156. package/studio/chunks/NewDocumentDialog-C8B6_r3J.js.gz +0 -0
  157. package/studio/chunks/Pagination-D9BSo5H2.js +573 -0
  158. package/studio/chunks/Pagination-D9BSo5H2.js.br +0 -0
  159. package/studio/chunks/Pagination-D9BSo5H2.js.gz +0 -0
  160. package/studio/chunks/PeoplePage-CWIXitBD.js +783 -0
  161. package/studio/chunks/PeoplePage-CWIXitBD.js.br +0 -0
  162. package/studio/chunks/PeoplePage-CWIXitBD.js.gz +0 -0
  163. package/studio/chunks/Popover-B63bkTMS.js +128 -0
  164. package/studio/chunks/Popover-B63bkTMS.js.br +0 -0
  165. package/studio/chunks/Popover-B63bkTMS.js.gz +0 -0
  166. package/studio/chunks/PublicationActionDialog-Cm_P0C3I.js +255 -0
  167. package/studio/chunks/PublicationActionDialog-Cm_P0C3I.js.br +0 -0
  168. package/studio/chunks/PublicationActionDialog-Cm_P0C3I.js.gz +0 -0
  169. package/studio/chunks/Routes-DLYHmulE.js +102 -0
  170. package/studio/chunks/Routes-DLYHmulE.js.br +0 -0
  171. package/studio/chunks/Routes-DLYHmulE.js.gz +0 -0
  172. package/studio/chunks/RovingFocusItem-QZNg-wWF.js +95 -0
  173. package/studio/chunks/RovingFocusItem-QZNg-wWF.js.br +0 -0
  174. package/studio/chunks/RovingFocusItem-QZNg-wWF.js.gz +0 -0
  175. package/studio/chunks/ScheduledPage-C0hqrkr5.js +332 -0
  176. package/studio/chunks/ScheduledPage-C0hqrkr5.js.br +0 -0
  177. package/studio/chunks/ScheduledPage-C0hqrkr5.js.gz +0 -0
  178. package/studio/chunks/Search-BEgCe9Aj.js +14646 -0
  179. package/studio/chunks/Search-BEgCe9Aj.js.br +0 -0
  180. package/studio/chunks/Search-BEgCe9Aj.js.gz +0 -0
  181. package/studio/chunks/Select-B50WZMW-.js +2145 -0
  182. package/studio/chunks/Select-B50WZMW-.js.br +0 -0
  183. package/studio/chunks/Select-B50WZMW-.js.gz +0 -0
  184. package/studio/chunks/SelectMenu-DSweWGMz.js +2109 -0
  185. package/studio/chunks/SelectMenu-DSweWGMz.js.br +0 -0
  186. package/studio/chunks/SelectMenu-DSweWGMz.js.gz +0 -0
  187. package/studio/chunks/SeoPage-CNNxGe4h.js +846 -0
  188. package/studio/chunks/SeoPage-CNNxGe4h.js.br +0 -0
  189. package/studio/chunks/SeoPage-CNNxGe4h.js.gz +0 -0
  190. package/studio/chunks/Skeleton-COz8dcrw.js +39 -0
  191. package/studio/chunks/Skeleton-COz8dcrw.js.br +2 -0
  192. package/studio/chunks/Skeleton-COz8dcrw.js.gz +0 -0
  193. package/studio/chunks/Slideover-QMMHAAys.js +289 -0
  194. package/studio/chunks/Slideover-QMMHAAys.js.br +0 -0
  195. package/studio/chunks/Slideover-QMMHAAys.js.gz +0 -0
  196. package/studio/chunks/StudioPage-ngEIDr5d.js +80 -0
  197. package/studio/chunks/StudioPage-ngEIDr5d.js.br +0 -0
  198. package/studio/chunks/StudioPage-ngEIDr5d.js.gz +0 -0
  199. package/studio/chunks/StudioPageToolbar-BwHnqyr6.js +2524 -0
  200. package/studio/chunks/StudioPageToolbar-BwHnqyr6.js.br +0 -0
  201. package/studio/chunks/StudioPageToolbar-BwHnqyr6.js.gz +0 -0
  202. package/studio/chunks/Switch-qKl1aDn7.js +484 -0
  203. package/studio/chunks/Switch-qKl1aDn7.js.br +0 -0
  204. package/studio/chunks/Switch-qKl1aDn7.js.gz +0 -0
  205. package/studio/chunks/ToolPage-DxoVAJVk.js +29 -0
  206. package/studio/chunks/ToolPage-DxoVAJVk.js.br +0 -0
  207. package/studio/chunks/ToolPage-DxoVAJVk.js.gz +0 -0
  208. package/studio/chunks/Tooltip-Bu15m_DB.js +693 -0
  209. package/studio/chunks/Tooltip-Bu15m_DB.js.br +0 -0
  210. package/studio/chunks/Tooltip-Bu15m_DB.js.gz +0 -0
  211. package/studio/chunks/TrashPage-lhqLLdoG.js +12 -0
  212. package/studio/chunks/TrashPage-lhqLLdoG.js.br +0 -0
  213. package/studio/chunks/TrashPage-lhqLLdoG.js.gz +0 -0
  214. package/studio/chunks/VersionsPage-Cqy6UAp9.js +2349 -0
  215. package/studio/chunks/VersionsPage-Cqy6UAp9.js.br +0 -0
  216. package/studio/chunks/VersionsPage-Cqy6UAp9.js.gz +0 -0
  217. package/studio/chunks/VisuallyHiddenInput-Cu8hQLRf.js +113 -0
  218. package/studio/chunks/VisuallyHiddenInput-Cu8hQLRf.js.br +0 -0
  219. package/studio/chunks/VisuallyHiddenInput-Cu8hQLRf.js.gz +0 -0
  220. package/studio/chunks/arrays-CUJkmV4I.js +10 -0
  221. package/studio/chunks/arrays-CUJkmV4I.js.br +0 -0
  222. package/studio/chunks/arrays-CUJkmV4I.js.gz +0 -0
  223. package/studio/chunks/base-DkTekJe8.js +213 -0
  224. package/studio/chunks/base-DkTekJe8.js.br +0 -0
  225. package/studio/chunks/base-DkTekJe8.js.gz +0 -0
  226. package/studio/chunks/content-DUGl3N4d.js +6012 -0
  227. package/studio/chunks/content-DUGl3N4d.js.br +0 -0
  228. package/studio/chunks/content-DUGl3N4d.js.gz +0 -0
  229. package/studio/chunks/destinations-DPIQVQa6.js +227 -0
  230. package/studio/chunks/destinations-DPIQVQa6.js.br +0 -0
  231. package/studio/chunks/destinations-DPIQVQa6.js.gz +0 -0
  232. package/studio/chunks/en-073cjKW4.js +152 -0
  233. package/studio/chunks/en-073cjKW4.js.br +0 -0
  234. package/studio/chunks/en-073cjKW4.js.gz +0 -0
  235. package/studio/chunks/en-Bn8mxPuf.js +134 -0
  236. package/studio/chunks/en-Bn8mxPuf.js.br +0 -0
  237. package/studio/chunks/en-Bn8mxPuf.js.gz +0 -0
  238. package/studio/chunks/en-C9OiaUDZ.js +251 -0
  239. package/studio/chunks/en-C9OiaUDZ.js.br +0 -0
  240. package/studio/chunks/en-C9OiaUDZ.js.gz +0 -0
  241. package/studio/chunks/en-CHAR6jzx.js +147 -0
  242. package/studio/chunks/en-CHAR6jzx.js.br +0 -0
  243. package/studio/chunks/en-CHAR6jzx.js.gz +0 -0
  244. package/studio/chunks/en-Cq4N1vEF.js +93 -0
  245. package/studio/chunks/en-Cq4N1vEF.js.br +2 -0
  246. package/studio/chunks/en-Cq4N1vEF.js.gz +0 -0
  247. package/studio/chunks/en-D2hRqlse.js +140 -0
  248. package/studio/chunks/en-D2hRqlse.js.br +0 -0
  249. package/studio/chunks/en-D2hRqlse.js.gz +0 -0
  250. package/studio/chunks/en-DiUC3-j6.js +144 -0
  251. package/studio/chunks/en-DiUC3-j6.js.br +0 -0
  252. package/studio/chunks/en-DiUC3-j6.js.gz +0 -0
  253. package/studio/chunks/english-Cs_Adu-u.js +8 -0
  254. package/studio/chunks/english-Cs_Adu-u.js.br +0 -0
  255. package/studio/chunks/english-Cs_Adu-u.js.gz +0 -0
  256. package/studio/chunks/esm-D6DqSiL1.js +752 -0
  257. package/studio/chunks/esm-D6DqSiL1.js.br +0 -0
  258. package/studio/chunks/esm-D6DqSiL1.js.gz +0 -0
  259. package/studio/chunks/externalRequest-CTzr2nDq.js +23 -0
  260. package/studio/chunks/externalRequest-CTzr2nDq.js.br +0 -0
  261. package/studio/chunks/externalRequest-CTzr2nDq.js.gz +0 -0
  262. package/studio/chunks/iconify-DR9ryCPv.js +1007 -0
  263. package/studio/chunks/iconify-DR9ryCPv.js.br +0 -0
  264. package/studio/chunks/iconify-DR9ryCPv.js.gz +0 -0
  265. package/studio/chunks/icons-D2MsAaXq.js +183 -0
  266. package/studio/chunks/icons-D2MsAaXq.js.br +0 -0
  267. package/studio/chunks/icons-D2MsAaXq.js.gz +0 -0
  268. package/studio/chunks/leaveGuards-D22fTGgr.js +26 -0
  269. package/studio/chunks/leaveGuards-D22fTGgr.js.br +0 -0
  270. package/studio/chunks/leaveGuards-D22fTGgr.js.gz +0 -0
  271. package/studio/chunks/lucideIcons-EyqyPBsX.js +238 -0
  272. package/studio/chunks/lucideIcons-EyqyPBsX.js.br +0 -0
  273. package/studio/chunks/lucideIcons-EyqyPBsX.js.gz +0 -0
  274. package/studio/chunks/mediaRoute--8cY8rUe.js +17 -0
  275. package/studio/chunks/mediaRoute--8cY8rUe.js.br +0 -0
  276. package/studio/chunks/mediaRoute--8cY8rUe.js.gz +0 -0
  277. package/studio/chunks/newDocumentPlanning-C26DHpvh.js +77 -0
  278. package/studio/chunks/newDocumentPlanning-C26DHpvh.js.br +0 -0
  279. package/studio/chunks/newDocumentPlanning-C26DHpvh.js.gz +0 -0
  280. package/studio/chunks/notifications-OKOLc40v.js +110 -0
  281. package/studio/chunks/notifications-OKOLc40v.js.br +0 -0
  282. package/studio/chunks/notifications-OKOLc40v.js.gz +0 -0
  283. package/studio/chunks/operations-CjNHyrEX.js +57 -0
  284. package/studio/chunks/operations-CjNHyrEX.js.br +0 -0
  285. package/studio/chunks/operations-CjNHyrEX.js.gz +0 -0
  286. package/studio/chunks/overlay-DnqFLZTc.js +1733 -0
  287. package/studio/chunks/overlay-DnqFLZTc.js.br +0 -0
  288. package/studio/chunks/overlay-DnqFLZTc.js.gz +0 -0
  289. package/studio/chunks/presentation-DF83w0hE.js +57 -0
  290. package/studio/chunks/presentation-DF83w0hE.js.br +0 -0
  291. package/studio/chunks/presentation-DF83w0hE.js.gz +0 -0
  292. package/studio/chunks/runtime-core.esm-bundler-DKFA9Rep.js +4557 -0
  293. package/studio/chunks/runtime-core.esm-bundler-DKFA9Rep.js.br +0 -0
  294. package/studio/chunks/runtime-core.esm-bundler-DKFA9Rep.js.gz +0 -0
  295. package/studio/chunks/searchPresentation-DFwxQkt3.js +76 -0
  296. package/studio/chunks/searchPresentation-DFwxQkt3.js.br +0 -0
  297. package/studio/chunks/searchPresentation-DFwxQkt3.js.gz +0 -0
  298. package/studio/chunks/status-DQv6ihkU.js +38 -0
  299. package/studio/chunks/status-DQv6ihkU.js.br +0 -0
  300. package/studio/chunks/status-DQv6ihkU.js.gz +0 -0
  301. package/studio/chunks/studioContext-I8HozGU1.js +4953 -0
  302. package/studio/chunks/studioContext-I8HozGU1.js.br +0 -0
  303. package/studio/chunks/studioContext-I8HozGU1.js.gz +0 -0
  304. package/studio/chunks/studioQueries-BR-9NT5F.js +73 -0
  305. package/studio/chunks/studioQueries-BR-9NT5F.js.br +0 -0
  306. package/studio/chunks/studioQueries-BR-9NT5F.js.gz +0 -0
  307. package/studio/chunks/studioSearch-ByaL-QpM.js +1095 -0
  308. package/studio/chunks/studioSearch-ByaL-QpM.js.br +0 -0
  309. package/studio/chunks/studioSearch-ByaL-QpM.js.gz +0 -0
  310. package/studio/chunks/useAcknowledgedDraft-0_c9sWI6.js +62 -0
  311. package/studio/chunks/useAcknowledgedDraft-0_c9sWI6.js.br +0 -0
  312. package/studio/chunks/useAcknowledgedDraft-0_c9sWI6.js.gz +0 -0
  313. package/studio/chunks/useApi-CUWMwLLw-B3Q3g2nf.js +189 -0
  314. package/studio/chunks/useApi-CUWMwLLw-B3Q3g2nf.js.br +0 -0
  315. package/studio/chunks/useApi-CUWMwLLw-B3Q3g2nf.js.gz +0 -0
  316. package/studio/chunks/useDocumentMessage-BAWvc38w.js +16 -0
  317. package/studio/chunks/useDocumentMessage-BAWvc38w.js.br +3 -0
  318. package/studio/chunks/useDocumentMessage-BAWvc38w.js.gz +0 -0
  319. package/studio/chunks/useFilter-DzyiTR7f.js +87 -0
  320. package/studio/chunks/useFilter-DzyiTR7f.js.br +0 -0
  321. package/studio/chunks/useFilter-DzyiTR7f.js.gz +0 -0
  322. package/studio/chunks/useFormControl-CL7sSCUo.js +8 -0
  323. package/studio/chunks/useFormControl-CL7sSCUo.js.br +0 -0
  324. package/studio/chunks/useFormControl-CL7sSCUo.js.gz +0 -0
  325. package/studio/chunks/useGraceArea-Chcy25IQ.js +154 -0
  326. package/studio/chunks/useGraceArea-Chcy25IQ.js.br +0 -0
  327. package/studio/chunks/useGraceArea-Chcy25IQ.js.gz +0 -0
  328. package/studio/chunks/useLeaveConfirmation-_iCSnKEp.js +44 -0
  329. package/studio/chunks/useLeaveConfirmation-_iCSnKEp.js.br +8 -0
  330. package/studio/chunks/useLeaveConfirmation-_iCSnKEp.js.gz +0 -0
  331. package/studio/chunks/useLinkCopy-CMjQteCy.js +35 -0
  332. package/studio/chunks/useLinkCopy-CMjQteCy.js.br +0 -0
  333. package/studio/chunks/useLinkCopy-CMjQteCy.js.gz +0 -0
  334. package/studio/chunks/usePointerMotion-DwRcwBNQ.js +16 -0
  335. package/studio/chunks/usePointerMotion-DwRcwBNQ.js.br +0 -0
  336. package/studio/chunks/usePointerMotion-DwRcwBNQ.js.gz +0 -0
  337. package/studio/chunks/useStudioNavigation-CLwtSYpb.js +298 -0
  338. package/studio/chunks/useStudioNavigation-CLwtSYpb.js.br +0 -0
  339. package/studio/chunks/useStudioNavigation-CLwtSYpb.js.gz +0 -0
  340. package/studio/chunks/useStudioPages-DR9qmYLg.js +79 -0
  341. package/studio/chunks/useStudioPages-DR9qmYLg.js.br +0 -0
  342. package/studio/chunks/useStudioPages-DR9qmYLg.js.gz +0 -0
  343. package/studio/chunks/utils-mdScC0v0.js +59 -0
  344. package/studio/chunks/utils-mdScC0v0.js.br +0 -0
  345. package/studio/chunks/utils-mdScC0v0.js.gz +0 -0
  346. package/studio/chunks/virtualizer-D1S0bZ4t.js +781 -0
  347. package/studio/chunks/virtualizer-D1S0bZ4t.js.br +0 -0
  348. package/studio/chunks/virtualizer-D1S0bZ4t.js.gz +0 -0
  349. package/studio/help/64f767fe29c2-save-and-publish.svg +7 -0
  350. package/studio/host.css +1 -1
  351. package/studio/host.css.br +0 -0
  352. package/studio/host.css.gz +0 -0
  353. package/studio/host.js +8793 -39395
  354. package/studio/host.js.br +0 -0
  355. package/studio/host.js.gz +0 -0
  356. package/CHANGELOG.md +0 -14
  357. package/bin/cms.mjs +0 -2
  358. package/src/ApplicationTypes.d.ts +0 -84
  359. package/src/ApplicationTypes.js +0 -1
  360. package/src/Configuration-CMweD9bn.js +0 -1191
  361. package/src/Configuration-CMweD9bn.js.map +0 -1
  362. package/src/Configuration.d.ts +0 -82
  363. package/src/Configuration.js +0 -8
  364. package/src/Configuration.js.map +0 -1
  365. package/src/Content.d.ts +0 -68
  366. package/src/Content.js +0 -373
  367. package/src/Content.js.map +0 -1
  368. package/src/ContentTransfer-BxwswWn3.js +0 -86
  369. package/src/ContentTransfer-BxwswWn3.js.map +0 -1
  370. package/src/ContentTransfer-Z9FHyLez.d.ts +0 -72
  371. package/src/DocumentEngine-tYtwbBjr.js +0 -978
  372. package/src/DocumentEngine-tYtwbBjr.js.map +0 -1
  373. package/src/DocumentModel.d.ts +0 -52
  374. package/src/DocumentModel.js +0 -66
  375. package/src/DocumentModel.js.map +0 -1
  376. package/src/Forms-CX-hwmJF.js +0 -391
  377. package/src/Forms-CX-hwmJF.js.map +0 -1
  378. package/src/Forms-CfNPTiCr.js +0 -110
  379. package/src/Forms-CfNPTiCr.js.map +0 -1
  380. package/src/Forms-R0HoTR-o.d.ts +0 -92
  381. package/src/Forms.js.map +0 -1
  382. package/src/HttpPaths-Be3vshPJ.js +0 -20
  383. package/src/HttpPaths-Be3vshPJ.js.map +0 -1
  384. package/src/I18n-wxswIRyY.d.ts +0 -30
  385. package/src/Media-j1bTritO.js +0 -112
  386. package/src/Media-j1bTritO.js.map +0 -1
  387. package/src/Module.js.map +0 -1
  388. package/src/References-CCPDAPve.js +0 -45
  389. package/src/References-CCPDAPve.js.map +0 -1
  390. package/src/S3MediaObjects-BXfjaZOu.js +0 -2756
  391. package/src/S3MediaObjects-BXfjaZOu.js.map +0 -1
  392. package/src/Seo-402YumpT.d.ts +0 -198
  393. package/src/cli/content.js +0 -101
  394. package/src/cli/content.js.map +0 -1
  395. package/src/cli.js.map +0 -1
  396. package/src/connection-BP80q4d-.js +0 -92
  397. package/src/connection-BP80q4d-.js.map +0 -1
  398. package/src/dev-lifecycle-3I_pozUl.js +0 -535
  399. package/src/dev-lifecycle-3I_pozUl.js.map +0 -1
  400. package/src/installation-DxqSSVbH.js +0 -9105
  401. package/src/installation-DxqSSVbH.js.map +0 -1
  402. package/src/internal/application-types.js +0 -43
  403. package/src/internal/application-types.js.map +0 -1
  404. package/src/internal/authoring-catalog.js +0 -158
  405. package/src/internal/authoring-catalog.js.map +0 -1
  406. package/src/internal/authoring-compiler.js +0 -146
  407. package/src/internal/authoring-compiler.js.map +0 -1
  408. package/src/internal/authoring-metadata.js +0 -191
  409. package/src/internal/authoring-metadata.js.map +0 -1
  410. package/src/internal/cms-config.js +0 -45
  411. package/src/internal/cms-config.js.map +0 -1
  412. package/src/internal/configuration.js +0 -228
  413. package/src/internal/configuration.js.map +0 -1
  414. package/src/internal/dev-lifecycle.js +0 -3
  415. package/src/internal/diagnostics.js +0 -47
  416. package/src/internal/diagnostics.js.map +0 -1
  417. package/src/internal/document-model.js +0 -376
  418. package/src/internal/document-model.js.map +0 -1
  419. package/src/internal/field-metadata.js +0 -7
  420. package/src/internal/field-metadata.js.map +0 -1
  421. package/src/internal/form-capabilities.js +0 -12
  422. package/src/internal/form-capabilities.js.map +0 -1
  423. package/src/internal/i18n.js +0 -73
  424. package/src/internal/i18n.js.map +0 -1
  425. package/src/internal/studio-app.js +0 -68
  426. package/src/internal/studio-app.js.map +0 -1
  427. package/src/location-CMNGO3lU.js +0 -35
  428. package/src/location-CMNGO3lU.js.map +0 -1
  429. package/src/metadata-DN9_K6Yl.js +0 -201
  430. package/src/metadata-DN9_K6Yl.js.map +0 -1
  431. package/src/models-5j67LMqW.js +0 -131
  432. package/src/models-5j67LMqW.js.map +0 -1
  433. package/src/models-VmGmG19-.js +0 -628
  434. package/src/models-VmGmG19-.js.map +0 -1
  435. package/src/runtime/api.js.map +0 -1
  436. package/src/runtime/blocks.js +0 -30
  437. package/src/runtime/blocks.js.map +0 -1
  438. package/src/runtime/collaboration.js +0 -45
  439. package/src/runtime/collaboration.js.map +0 -1
  440. package/src/runtime/delivery/DocumentField.js +0 -23
  441. package/src/runtime/delivery/DocumentField.js.map +0 -1
  442. package/src/runtime/delivery/DocumentRenderer.js +0 -61
  443. package/src/runtime/delivery/DocumentRenderer.js.map +0 -1
  444. package/src/runtime/delivery/DocumentScope.js +0 -41
  445. package/src/runtime/delivery/DocumentScope.js.map +0 -1
  446. package/src/runtime/delivery/blocks.js +0 -8
  447. package/src/runtime/delivery/blocks.js.map +0 -1
  448. package/src/runtime/delivery/context.js +0 -12
  449. package/src/runtime/delivery/context.js.map +0 -1
  450. package/src/runtime/delivery/document-page.js +0 -21
  451. package/src/runtime/delivery/document-page.js.map +0 -1
  452. package/src/runtime/delivery/document.js +0 -43
  453. package/src/runtime/delivery/document.js.map +0 -1
  454. package/src/runtime/delivery/error.js +0 -11
  455. package/src/runtime/delivery/error.js.map +0 -1
  456. package/src/runtime/delivery/plugin.js +0 -104
  457. package/src/runtime/delivery/plugin.js.map +0 -1
  458. package/src/runtime/delivery/preview.d.ts +0 -11
  459. package/src/runtime/delivery/preview.js +0 -6
  460. package/src/runtime/delivery/preview.js.map +0 -1
  461. package/src/runtime/delivery/types.d.ts +0 -2
  462. package/src/runtime/delivery/types.js +0 -1
  463. package/src/runtime/delivery/useCmsDocumentSeo.d.ts +0 -67
  464. package/src/runtime/delivery/useCmsDocumentSeo.js.map +0 -1
  465. package/src/runtime/delivery/useDocument.d.ts +0 -6
  466. package/src/runtime/delivery/useDocument.js +0 -23
  467. package/src/runtime/delivery/useDocument.js.map +0 -1
  468. package/src/runtime/delivery/useDocumentQuery.d.ts +0 -7
  469. package/src/runtime/delivery/useDocumentQuery.js +0 -29
  470. package/src/runtime/delivery/useDocumentQuery.js.map +0 -1
  471. package/src/runtime/forms/document.js +0 -38
  472. package/src/runtime/forms/document.js.map +0 -1
  473. package/src/runtime/forms/useCmsForm.js +0 -257
  474. package/src/runtime/forms/useCmsForm.js.map +0 -1
  475. package/src/runtime/i18n/translator.js +0 -58
  476. package/src/runtime/i18n/translator.js.map +0 -1
  477. package/src/runtime/i18n/useCmsI18n.d.ts +0 -13
  478. package/src/runtime/i18n/useCmsI18n.js +0 -38
  479. package/src/runtime/i18n/useCmsI18n.js.map +0 -1
  480. package/src/runtime/installation.js +0 -3
  481. package/src/runtime/plugin.js.map +0 -1
  482. package/src/runtime/preview/CmsStudioPreviewMarker.js +0 -29
  483. package/src/runtime/preview/CmsStudioPreviewMarker.js.map +0 -1
  484. package/src/runtime/preview/comark-document.js +0 -37
  485. package/src/runtime/preview/comark-document.js.map +0 -1
  486. package/src/runtime/preview/connection.js +0 -3
  487. package/src/runtime/preview/controller.js +0 -265
  488. package/src/runtime/preview/controller.js.map +0 -1
  489. package/src/runtime/preview/crypto.js +0 -16
  490. package/src/runtime/preview/crypto.js.map +0 -1
  491. package/src/runtime/preview/overlay.js +0 -122
  492. package/src/runtime/preview/overlay.js.map +0 -1
  493. package/src/runtime/preview/plugin.client.js +0 -68
  494. package/src/runtime/preview/plugin.client.js.map +0 -1
  495. package/src/runtime/preview/preview.css +0 -91
  496. package/src/runtime/preview/protocol.d.ts +0 -16
  497. package/src/runtime/preview/protocol.js +0 -23
  498. package/src/runtime/preview/protocol.js.map +0 -1
  499. package/src/runtime/preview/regions.js +0 -142
  500. package/src/runtime/preview/regions.js.map +0 -1
  501. package/src/runtime/preview/store.js +0 -4
  502. package/src/runtime/sitemap-entries.js +0 -17
  503. package/src/runtime/sitemap-entries.js.map +0 -1
  504. package/src/runtime/sitemap.js +0 -23
  505. package/src/runtime/sitemap.js.map +0 -1
  506. package/src/runtime/studio-app.js +0 -17
  507. package/src/runtime/studio-app.js.map +0 -1
  508. package/src/runtime/studio-document.js +0 -46
  509. package/src/runtime/studio-document.js.map +0 -1
  510. package/src/runtime/studio-entry.js +0 -19
  511. package/src/runtime/studio-entry.js.map +0 -1
  512. package/src/runtime/studio-navigation.js +0 -11
  513. package/src/runtime/studio-navigation.js.map +0 -1
  514. package/src/scalars-CA6kyipS.d.ts +0 -7
  515. package/src/scalars-CVZqT3L0.js +0 -22
  516. package/src/scalars-CVZqT3L0.js.map +0 -1
  517. package/src/store-X1e1o_MF.js +0 -209
  518. package/src/store-X1e1o_MF.js.map +0 -1
  519. package/src/types-DZ0IV-Ow.d.ts +0 -101
  520. package/studio/CreateDocumentDialog-C4_JBo1w.js +0 -335
  521. package/studio/SelectMenu-wXqxymUw.js +0 -34045
  522. package/studio/collaboration-DcK2F6v9.js +0 -4566
  523. package/studio/editor-P2rB7Csp.js +0 -30128
  524. package/studio/rolldown-runtime-Dy4uBu1J.js +0 -11
@@ -0,0 +1,62 @@
1
+ import { Ut as e } from "./Button-BT3ztSPx.js";
2
+ import { a as t } from "./studioContext-I8HozGU1.js";
3
+ import { Cr as n, E as r, ui as i, vi as a } from "./runtime-core.esm-bundler-DKFA9Rep.js";
4
+ //#region src/ui/useAcknowledgedDraft.ts
5
+ function o(o) {
6
+ let s = i(), c = i(), l = i(), u = i(""), d = i(), f = t(), p = r({
7
+ get: () => d.value === void 0 ? u.value : f(d.value.cause, a(o.failure)),
8
+ set: (e) => {
9
+ d.value = void 0, u.value = e;
10
+ }
11
+ }), m = o.fingerprint ?? ((e) => JSON.stringify(e)), h = r(() => l.value !== void 0), g = r(() => c.value !== void 0 && (s.value === void 0 || m(c.value) !== m(o.value(s.value)))), _ = a(o.owner), v, y = 0, b = !1;
12
+ function x(e) {
13
+ s.value = e, c.value = structuredClone(o.value(e));
14
+ }
15
+ n([() => a(o.owner), () => a(o.source)], ([e, t]) => {
16
+ e !== _ && (_ = e, y++, l.value = void 0, p.value = "", s.value = void 0, c.value = void 0, v = void 0), t !== void 0 && (v = t, !h.value && !g.value && x(t));
17
+ }, {
18
+ immediate: !0,
19
+ flush: "sync"
20
+ });
21
+ function S() {
22
+ y++, l.value = void 0, p.value = "";
23
+ let e = v ?? s.value;
24
+ e !== void 0 && x(e);
25
+ }
26
+ async function C(e, t, n = {}) {
27
+ if (b || h.value || c.value === void 0 || s.value === void 0) return !1;
28
+ let r = ++y, i = _, u = () => !b && r === y && i === a(o.owner), f = structuredClone(c.value);
29
+ l.value = e, p.value = "";
30
+ try {
31
+ let e = await t(f, s.value);
32
+ if (!u()) return !1;
33
+ let r = c.value !== void 0 && m(c.value) === m(f);
34
+ return s.value = e, v = e, r && (c.value = structuredClone(o.value(e))), n.accepted?.(e), !0;
35
+ } catch (e) {
36
+ if (u()) {
37
+ let t = n.rejected?.(e);
38
+ t === void 0 ? d.value = { cause: e } : p.value = t;
39
+ }
40
+ return !1;
41
+ } finally {
42
+ if (u()) {
43
+ let e = await o.settle?.().catch(() => void 0);
44
+ u() && (l.value = void 0, e !== void 0 && (v = e, g.value || x(e)));
45
+ }
46
+ }
47
+ }
48
+ return e(() => {
49
+ b = !0, y++, l.value = void 0, s.value = void 0, c.value = void 0, v = void 0;
50
+ }), {
51
+ baseline: r(() => s.value),
52
+ draft: c,
53
+ dirty: g,
54
+ busy: h,
55
+ action: r(() => l.value),
56
+ error: p,
57
+ discard: S,
58
+ submit: C
59
+ };
60
+ }
61
+ //#endregion
62
+ export { o as t };
@@ -0,0 +1,189 @@
1
+ import { Ct as e } from "./runtime-core.esm-bundler-DKFA9Rep.js";
2
+ //#region ../../node_modules/.pnpm/defu@6.1.7/node_modules/defu/dist/defu.mjs
3
+ function t(e) {
4
+ if (typeof e != "object" || !e) return !1;
5
+ let t = Object.getPrototypeOf(e);
6
+ return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null || Symbol.iterator in e ? !1 : Symbol.toStringTag in e ? Object.prototype.toString.call(e) === "[object Module]" : !0;
7
+ }
8
+ function n(e, r, i = ".", a) {
9
+ if (!t(r)) return n(e, {}, i, a);
10
+ let o = { ...r };
11
+ for (let r of Object.keys(e)) {
12
+ if (r === "__proto__" || r === "constructor") continue;
13
+ let s = e[r];
14
+ s != null && (a && a(o, r, s, i) || (o[r] = Array.isArray(s) && Array.isArray(o[r]) ? [...s, ...o[r]] : t(s) && t(o[r]) ? n(s, o[r], (i ? `${i}.` : "") + r.toString(), a) : s));
15
+ }
16
+ return o;
17
+ }
18
+ function r(e) {
19
+ return (...t) => t.reduce((t, r) => n(t, r, "", e), {});
20
+ }
21
+ var i = r();
22
+ //#endregion
23
+ //#region ../../node_modules/.pnpm/@nuxt+ui@4.11.3_cb98d253b9bf6e94cc4ec1fe3cbbcc2e/node_modules/@nuxt/ui/dist/runtime/composables/defineLocale.js
24
+ // @__NO_SIDE_EFFECTS__
25
+ function a(e) {
26
+ return i(e, { dir: "ltr" });
27
+ }
28
+ //#endregion
29
+ //#region ../../node_modules/.pnpm/@nuxt+ui@4.11.3_cb98d253b9bf6e94cc4ec1fe3cbbcc2e/node_modules/@nuxt/ui/dist/runtime/locale/en.js
30
+ var o = /* @__PURE__ */ a({
31
+ name: "English",
32
+ code: "en",
33
+ messages: {
34
+ alert: { close: "Close" },
35
+ authForm: {
36
+ hidePassword: "Hide password",
37
+ showPassword: "Show password",
38
+ submit: "Continue"
39
+ },
40
+ banner: { close: "Close" },
41
+ calendar: {
42
+ nextMonth: "Next month",
43
+ nextYear: "Next year",
44
+ prevMonth: "Previous month",
45
+ prevYear: "Previous year"
46
+ },
47
+ carousel: {
48
+ dots: "Choose slide to display",
49
+ goto: "Go to slide {slide}",
50
+ next: "Next",
51
+ prev: "Prev"
52
+ },
53
+ chatPrompt: { placeholder: "Type your message here…" },
54
+ chatPromptSubmit: { label: "Send prompt" },
55
+ colorMode: {
56
+ dark: "Dark",
57
+ light: "Light",
58
+ switchToDark: "Switch to dark mode",
59
+ switchToLight: "Switch to light mode",
60
+ system: "System"
61
+ },
62
+ commandPalette: {
63
+ back: "Back",
64
+ close: "Close",
65
+ noData: "No data",
66
+ noMatch: "No matching data",
67
+ placeholder: "Type a command or search…"
68
+ },
69
+ contentSearch: {
70
+ links: "Links",
71
+ search: "Results",
72
+ theme: "Theme"
73
+ },
74
+ contentSearchButton: { label: "Search…" },
75
+ contentToc: { title: "On this page" },
76
+ dropdownMenu: {
77
+ noMatch: "No matching data",
78
+ search: "Search…"
79
+ },
80
+ dashboardSearch: { theme: "Theme" },
81
+ dashboardSearchButton: { label: "Search…" },
82
+ dashboardSidebarCollapse: {
83
+ collapse: "Collapse sidebar",
84
+ expand: "Expand sidebar"
85
+ },
86
+ dashboardSidebarToggle: {
87
+ close: "Close sidebar",
88
+ open: "Open sidebar"
89
+ },
90
+ drawer: { close: "Close" },
91
+ error: { clear: "Back to home" },
92
+ fileUpload: { removeFile: "Remove {filename}" },
93
+ header: {
94
+ close: "Close menu",
95
+ open: "Open menu"
96
+ },
97
+ inputMenu: {
98
+ create: "Create \"{label}\"",
99
+ noData: "No data",
100
+ noMatch: "No matching data"
101
+ },
102
+ inputNumber: {
103
+ decrement: "Decrement",
104
+ increment: "Increment"
105
+ },
106
+ listbox: {
107
+ noData: "No data",
108
+ noMatch: "No matching data",
109
+ search: "Search…"
110
+ },
111
+ modal: { close: "Close" },
112
+ pricingTable: { caption: "Pricing plan comparison" },
113
+ prose: {
114
+ codeCollapse: {
115
+ closeText: "Collapse",
116
+ name: "code",
117
+ openText: "Expand"
118
+ },
119
+ collapsible: {
120
+ closeText: "Hide",
121
+ name: "properties",
122
+ openText: "Show"
123
+ },
124
+ pre: { copy: "Copy code to clipboard" },
125
+ prompt: {
126
+ copy: "Copy prompt",
127
+ openIn: "Open in {name}"
128
+ }
129
+ },
130
+ chatReasoning: {
131
+ thinking: "Thinking…",
132
+ thought: "Thought",
133
+ thoughtFor: "Thought for {duration}"
134
+ },
135
+ sidebar: {
136
+ close: "Close",
137
+ toggle: "Toggle"
138
+ },
139
+ selectMenu: {
140
+ create: "Create \"{label}\"",
141
+ noData: "No data",
142
+ noMatch: "No matching data",
143
+ search: "Search…"
144
+ },
145
+ slideover: { close: "Close" },
146
+ table: { noData: "No data" },
147
+ toast: { close: "Close" }
148
+ }
149
+ }), s = (e) => e.startsWith("/");
150
+ function c(e) {
151
+ return typeof e == "object" || "displayName" in e || "props" in e || "__vccOpts" in e;
152
+ }
153
+ function l(e) {
154
+ return e.__esModule || e[Symbol.toStringTag] === "Module" || e.default && c(e.default);
155
+ }
156
+ var u = Object.assign;
157
+ function d(e, t) {
158
+ let n = {};
159
+ for (let r in t) {
160
+ let i = t[r];
161
+ n[r] = p(i) ? i.map(e) : e(i);
162
+ }
163
+ return n;
164
+ }
165
+ var f = () => {}, p = Array.isArray;
166
+ function m(e, t) {
167
+ let n = {};
168
+ for (let r in e) n[r] = r in t ? t[r] : e[r];
169
+ return n;
170
+ }
171
+ var h = Symbol("");
172
+ function g(e, t) {
173
+ return u(/* @__PURE__ */ Error(), {
174
+ type: e,
175
+ [h]: !0
176
+ }, t);
177
+ }
178
+ function _(e, t) {
179
+ return e instanceof Error && h in e && (t == null || !!(e.type & t));
180
+ }
181
+ var v = Symbol(""), y = Symbol(""), b = Symbol(""), x = Symbol(""), S = Symbol(""), C = Symbol("");
182
+ function w() {
183
+ return e(b);
184
+ }
185
+ function T(t) {
186
+ return e(x);
187
+ }
188
+ //#endregion
189
+ export { w as _, p as a, i as b, c, f as d, x as f, T as g, C as h, s as i, v as l, S as m, u as n, l as o, b as p, g as r, _ as s, d as t, m as u, y as v, o as y };
@@ -0,0 +1,16 @@
1
+ import { E as e, ui as t } from "./runtime-core.esm-bundler-DKFA9Rep.js";
2
+ //#region src/documents/useDocumentMessage.ts
3
+ function n() {
4
+ let n = t();
5
+ return {
6
+ message: e(() => n.value?.() ?? ""),
7
+ set: (e) => {
8
+ n.value = e;
9
+ },
10
+ clear: () => {
11
+ n.value = void 0;
12
+ }
13
+ };
14
+ }
15
+ //#endregion
16
+ export { n as t };
@@ -0,0 +1,3 @@
1
+ : ��8��14-�Y0��+�RQo�f>S(��[���
2
+ �@��I��5�
3
+ E˒M�t���-��1���+�2���s���0��E��.��g_�\�������{�L���;�����"��F�yy��54Lt}8G�r���H��>���1B��8��=�@�LQ�y�p���1��u�23h���{R�Y��b�P
@@ -0,0 +1,87 @@
1
+ import { H as e } from "./Button-BT3ztSPx.js";
2
+ import { Ci as t, E as n } from "./runtime-core.esm-bundler-DKFA9Rep.js";
3
+ //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.6.0-rc.10_typescript-native-bridge@6.0.3-bridge.18.tsgo.7.0.2_/node_modules/reka-ui/dist/shared/useFilter.js
4
+ function r(e) {
5
+ let r = n(() => t(e)), i = n(() => new Intl.Collator("en", {
6
+ usage: "search",
7
+ ...r.value
8
+ }));
9
+ return {
10
+ startsWith: (e, t) => t.length === 0 || (e = e.normalize("NFC"), t = t.normalize("NFC"), i.value.compare(e.slice(0, t.length), t) === 0),
11
+ endsWith: (e, t) => t.length === 0 || (e = e.normalize("NFC"), t = t.normalize("NFC"), i.value.compare(e.slice(-t.length), t) === 0),
12
+ contains: (e, t) => {
13
+ if (t.length === 0) return !0;
14
+ if (e = e.normalize("NFC"), t = t.normalize("NFC"), t.length > e.length) return !1;
15
+ let n = i.value.compare;
16
+ if (e.includes(t)) return !0;
17
+ let r = t.length;
18
+ for (let i = 0; i + r <= e.length; i++) if (n(t, e.slice(i, i + r)) === 0) return !0;
19
+ return !1;
20
+ }
21
+ };
22
+ }
23
+ //#endregion
24
+ //#region ../../node_modules/.pnpm/@nuxt+ui@4.11.3_cb98d253b9bf6e94cc4ec1fe3cbbcc2e/node_modules/@nuxt/ui/dist/runtime/composables/useFilter.js
25
+ function i() {
26
+ let { contains: t, startsWith: n } = r({ sensitivity: "base" });
27
+ function i(e, r) {
28
+ return t(e, r) ? t(r, e) ? 0 : n(e, r) ? 1 : 2 : null;
29
+ }
30
+ function a(t, n, r) {
31
+ if (typeof t != "object" || !t) return i(String(t), n);
32
+ let a = null;
33
+ for (let o of r) {
34
+ let r = e(t, o);
35
+ if (r == null) continue;
36
+ let s = Array.isArray(r) ? r.map(String) : [String(r)];
37
+ for (let e of s) {
38
+ let t = i(e, n);
39
+ if (t !== null && (a === null || t < a) && (a = t), a === 0) return 0;
40
+ }
41
+ }
42
+ return a;
43
+ }
44
+ function o(e, t, n) {
45
+ if (!t) return e;
46
+ let r = [];
47
+ for (let i of e) {
48
+ let e = a(i, t, n);
49
+ e !== null && r.push({
50
+ item: i,
51
+ score: e
52
+ });
53
+ }
54
+ return r.sort((e, t) => e.score - t.score), r.map(({ item: e }) => e);
55
+ }
56
+ function s(e, t, n) {
57
+ return t ? e.map((e) => {
58
+ let r = [];
59
+ for (let i of e) {
60
+ if (i == null) continue;
61
+ if (n.isStructural?.(i)) {
62
+ r.push({
63
+ item: i,
64
+ score: -1
65
+ });
66
+ continue;
67
+ }
68
+ let e = a(i, t, n.fields);
69
+ e !== null && r.push({
70
+ item: i,
71
+ score: e
72
+ });
73
+ }
74
+ let i = 0;
75
+ for (let e = 0; e <= r.length; e++) (e === r.length || r[e].score === -1) && (r.splice(i, e - i, ...r.slice(i, e).sort((e, t) => e.score - t.score)), i = e + 1);
76
+ return r.map(({ item: e }) => e);
77
+ }).filter((e) => e.some((e) => !n.isStructural?.(e))) : e;
78
+ }
79
+ return {
80
+ score: i,
81
+ scoreItem: a,
82
+ filter: o,
83
+ filterGroups: s
84
+ };
85
+ }
86
+ //#endregion
87
+ export { r as n, i as t };
@@ -0,0 +1,8 @@
1
+ import { at as e } from "./Button-BT3ztSPx.js";
2
+ import { E as t, vi as n } from "./runtime-core.esm-bundler-DKFA9Rep.js";
3
+ //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.6.0-rc.10_typescript-native-bridge@6.0.3-bridge.18.tsgo.7.0.2_/node_modules/reka-ui/dist/shared/useFormControl.js
4
+ function r(r) {
5
+ return t(() => !n(r) || !!e(r)?.closest("form"));
6
+ }
7
+ //#endregion
8
+ export { r as t };
@@ -0,0 +1,154 @@
1
+ import { Ot as e, Rt as t, Ut as n } from "./Button-BT3ztSPx.js";
2
+ import { ii as r, wr as i } from "./runtime-core.esm-bundler-DKFA9Rep.js";
3
+ //#region ../../node_modules/.pnpm/reka-ui@2.10.5_vue@3.6.0-rc.10_typescript-native-bridge@6.0.3-bridge.18.tsgo.7.0.2_/node_modules/reka-ui/dist/shared/useGraceArea.js
4
+ function a(a, d) {
5
+ let f = t(!1, 300);
6
+ n(() => {
7
+ f.value = !1;
8
+ });
9
+ let p = r(null), m = e();
10
+ function h() {
11
+ p.value = null, f.value = !1;
12
+ }
13
+ function g(e, t) {
14
+ if (!t) return;
15
+ let n = e.currentTarget, r = {
16
+ x: e.clientX,
17
+ y: e.clientY
18
+ }, i = s(r, o(r, n.getBoundingClientRect()), 1), a = c(t.getBoundingClientRect()), l = u([...i, ...a]);
19
+ p.value = l, f.value = !0;
20
+ }
21
+ return i((e) => {
22
+ if (a.value && d.value) {
23
+ let t = a.value, n = d.value, r = (e) => g(e, n), i = (e) => g(e, t);
24
+ t.addEventListener("pointerleave", r), n.addEventListener("pointerleave", i), e(() => {
25
+ t.removeEventListener("pointerleave", r), n.removeEventListener("pointerleave", i);
26
+ });
27
+ }
28
+ }), i((e) => {
29
+ if (p.value) {
30
+ let t = (e) => {
31
+ if (!p.value || !(e.target instanceof Element)) return;
32
+ let t = e.target, n = {
33
+ x: e.clientX,
34
+ y: e.clientY
35
+ }, r = a.value?.contains(t) || d.value?.contains(t), i = !l(n, p.value), o = !!t.closest("[data-grace-area-trigger]");
36
+ r ? h() : (i || o) && (h(), m.trigger());
37
+ }, n = a.value?.ownerDocument;
38
+ n?.addEventListener("pointermove", t), e(() => n?.removeEventListener("pointermove", t));
39
+ }
40
+ }), {
41
+ isPointerInTransit: f,
42
+ onPointerExit: m.on
43
+ };
44
+ }
45
+ function o(e, t) {
46
+ let n = Math.abs(t.top - e.y), r = Math.abs(t.bottom - e.y), i = Math.abs(t.right - e.x), a = Math.abs(t.left - e.x);
47
+ switch (Math.min(n, r, i, a)) {
48
+ case a: return "left";
49
+ case i: return "right";
50
+ case n: return "top";
51
+ case r: return "bottom";
52
+ default: throw Error("unreachable");
53
+ }
54
+ }
55
+ function s(e, t, n = 5) {
56
+ let r = [];
57
+ switch (t) {
58
+ case "top":
59
+ r.push({
60
+ x: e.x - n,
61
+ y: e.y + n
62
+ }, {
63
+ x: e.x + n,
64
+ y: e.y + n
65
+ });
66
+ break;
67
+ case "bottom":
68
+ r.push({
69
+ x: e.x - n,
70
+ y: e.y - n
71
+ }, {
72
+ x: e.x + n,
73
+ y: e.y - n
74
+ });
75
+ break;
76
+ case "left":
77
+ r.push({
78
+ x: e.x + n,
79
+ y: e.y - n
80
+ }, {
81
+ x: e.x + n,
82
+ y: e.y + n
83
+ });
84
+ break;
85
+ case "right": r.push({
86
+ x: e.x - n,
87
+ y: e.y - n
88
+ }, {
89
+ x: e.x - n,
90
+ y: e.y + n
91
+ });
92
+ }
93
+ return r;
94
+ }
95
+ function c(e) {
96
+ let { top: t, right: n, bottom: r, left: i } = e;
97
+ return [
98
+ {
99
+ x: i,
100
+ y: t
101
+ },
102
+ {
103
+ x: n,
104
+ y: t
105
+ },
106
+ {
107
+ x: n,
108
+ y: r
109
+ },
110
+ {
111
+ x: i,
112
+ y: r
113
+ }
114
+ ];
115
+ }
116
+ function l(e, t) {
117
+ let { x: n, y: r } = e, i = !1;
118
+ for (let e = 0, a = t.length - 1; e < t.length; a = e++) {
119
+ let o = t[e].x, s = t[e].y, c = t[a].x, l = t[a].y;
120
+ s > r != l > r && n < (c - o) * (r - s) / (l - s) + o && (i = !i);
121
+ }
122
+ return i;
123
+ }
124
+ function u(e) {
125
+ let t = e.slice();
126
+ return t.sort((e, t) => e.x < t.x ? -1 : e.x > t.x ? 1 : e.y < t.y ? -1 : +(e.y > t.y)), d(t);
127
+ }
128
+ function d(e) {
129
+ if (e.length <= 1) return e.slice();
130
+ let t = [];
131
+ for (let n = 0; n < e.length; n++) {
132
+ let r = e[n];
133
+ for (; t.length >= 2;) {
134
+ let e = t.at(-1), n = t[t.length - 2];
135
+ if ((e.x - n.x) * (r.y - n.y) >= (e.y - n.y) * (r.x - n.x)) t.pop();
136
+ else break;
137
+ }
138
+ t.push(r);
139
+ }
140
+ t.pop();
141
+ let n = [];
142
+ for (let t = e.length - 1; t >= 0; t--) {
143
+ let r = e[t];
144
+ for (; n.length >= 2;) {
145
+ let e = n.at(-1), t = n[n.length - 2];
146
+ if ((e.x - t.x) * (r.y - t.y) >= (e.y - t.y) * (r.x - t.x)) n.pop();
147
+ else break;
148
+ }
149
+ n.push(r);
150
+ }
151
+ return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
152
+ }
153
+ //#endregion
154
+ export { a as t };
@@ -0,0 +1,44 @@
1
+ import { Ut as e, pt as t } from "./Button-BT3ztSPx.js";
2
+ import { Ci as n, K as r, N as i, Pn as a, fa as o, gn as s, k as c, ra as l, ri as u, ui as d, ur as f, vi as p } from "./runtime-core.esm-bundler-DKFA9Rep.js";
3
+ //#region src/ui/page/StudioSettingsSection.vue?vue&type=script&setup=true&lang.ts
4
+ var m = ["aria-labelledby"], h = { class: "min-w-0" }, g = ["id"], _ = { class: "mt-1 text-xs leading-5 text-muted" }, v = /* @__PURE__ */ r({
5
+ __name: "StudioSettingsSection",
6
+ props: {
7
+ title: {},
8
+ description: {},
9
+ stacked: { type: Boolean }
10
+ },
11
+ setup(e) {
12
+ let t = f();
13
+ return (r, u) => (s(), i("section", {
14
+ "aria-labelledby": n(t),
15
+ class: l(["grid gap-6 border-b border-default py-8", e.stacked ? void 0 : "lg:grid-cols-[13rem_minmax(0,1fr)] lg:gap-10"])
16
+ }, [c("div", h, [c("h2", {
17
+ id: n(t),
18
+ class: "text-sm font-semibold text-highlighted"
19
+ }, o(e.title), 9, g), c("p", _, o(e.description), 1)]), c("div", { class: l(["min-w-0", e.stacked ? void 0 : "max-w-2xl"]) }, [a(r.$slots, "default")], 2)], 10, m));
20
+ }
21
+ });
22
+ //#endregion
23
+ //#region src/app/navigation/useLeaveConfirmation.ts
24
+ function y(n, r) {
25
+ let i = d(!1), a, o;
26
+ t(() => p(n) ? window : void 0, "beforeunload", (e) => {
27
+ p(n) && (e.preventDefault(), e.returnValue = "");
28
+ });
29
+ function s() {
30
+ return o || (p(n) ? (o = new Promise((e) => {
31
+ a = e, i.value = !0;
32
+ }), o) : Promise.resolve(!0));
33
+ }
34
+ function c(e) {
35
+ e && r.onDiscard(), i.value = !1, a?.(e), a = void 0, o = void 0;
36
+ }
37
+ return e(() => c(!1)), {
38
+ leaveRequested: u(i),
39
+ prepareToLeave: s,
40
+ decideLeave: c
41
+ };
42
+ }
43
+ //#endregion
44
+ export { v as n, y as t };
@@ -0,0 +1,8 @@
1
+ J ��ە\օ�Y�_��=iS�fg�`� ��}j:F�~�.�=^�@���.)<���
2
+ 1>����<+����~أԢXjOS�E�&*�p 2�,�3�s8h��8���2�|��x ���"�G��7v㏯��¶�x��҇�s�{A��Z�XHpbi!ѥ ��aQä'�P� ��g=H�8YЩ`��JN�8��8/?�~v�;{ 3U�G@<ž�tEO��T�NR������t�5������4�ѓ�=gdxLR���G~���4�:��t���/އF�b]��Q˥BZ��+�E|���)n�l�id�
3
+ cŪ3x�uo�h��Y��'���s3D���$�}��L8���ë��v�Q���JJ<�s���gI�4�Xߓ�0�# �Q��E17 J$� 8rɋg�㟥Q8��@��‥��mx�JՏǭ�~[�Eq z��$L�|8,﯅
4
+ ����ws#�錶Fn�η�b��{鋦��̎��*�B] �.Z�o�
5
+ T���%x��}�"'�
6
+ �a��/;� �{eq)��}�馯2� 5�L
7
+ ��{�J�n�'�����̀ ��$�򊡇�E2��vy�rF����Gu2lU�I��H�+sR�������J��MM��ے�E����_V4o�d�=�H�y��'K����mhh�ϐX��-r��]b�G�6�P�}�ˆ(�]�p"ؔ��98�`�����g�[���L�#����Լ~�gwœ��b�O���k�l�׫1�X:{���2*��MN>)In�Q���U#^&(�d�Dz�.w�~�'҂�;��O���}i�� ���dvl�D�7�߻
8
+ ��F�
@@ -0,0 +1,35 @@
1
+ import { Ut as e } from "./Button-BT3ztSPx.js";
2
+ import { st as t } from "./Search-BEgCe9Aj.js";
3
+ import { Cr as n, E as r, ui as i, vi as a } from "./runtime-core.esm-bundler-DKFA9Rep.js";
4
+ //#region src/ui/useLinkCopy.ts
5
+ function o(o, s) {
6
+ let { t: c } = t(), l = i(!1), u = i(!1), d = r(() => u.value ? c("link-copy.manual-copy") : ""), f = 0, p = !1;
7
+ n(() => a(o), () => {
8
+ f++, l.value = !1, u.value = !1;
9
+ }, { flush: "sync" }), e(() => {
10
+ p = !0, f++;
11
+ });
12
+ function m() {
13
+ s()?.select();
14
+ }
15
+ async function h() {
16
+ let e = a(o);
17
+ if (p || !e) return;
18
+ let t = ++f;
19
+ l.value = !1, u.value = !1;
20
+ try {
21
+ await navigator.clipboard.writeText(e), !p && t === f && (l.value = !0);
22
+ } catch {
23
+ if (p || t !== f) return;
24
+ u.value = !0, s()?.focus(), m();
25
+ }
26
+ }
27
+ return {
28
+ copied: l,
29
+ error: d,
30
+ copy: h,
31
+ select: m
32
+ };
33
+ }
34
+ //#endregion
35
+ export { o as t };
@@ -0,0 +1,16 @@
1
+ import { St as e, pt as t } from "./Button-BT3ztSPx.js";
2
+ import { ui as n } from "./runtime-core.esm-bundler-DKFA9Rep.js";
3
+ //#region src/ui/usePointerMotion.ts
4
+ function r() {
5
+ let r = n(!1), i = e();
6
+ return t("pointerdown", () => {
7
+ r.value = !0;
8
+ }, { capture: !0 }), t("keydown", () => {
9
+ r.value = !1;
10
+ }, { capture: !0 }), {
11
+ pointer: r,
12
+ reducedMotion: i
13
+ };
14
+ }
15
+ //#endregion
16
+ export { r as t };