@nuxt-atelier/admin 0.0.0-stage → 0.1.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 (353) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +6 -2
  3. package/dist/module.d.mts +52 -0
  4. package/dist/module.json +12 -0
  5. package/dist/module.mjs +188 -0
  6. package/dist/runtime/admin.css +1 -0
  7. package/dist/runtime/ai-off.d.ts +1 -0
  8. package/dist/runtime/ai-off.js +1 -0
  9. package/dist/runtime/appearance.d.ts +59 -0
  10. package/dist/runtime/appearance.js +111 -0
  11. package/dist/runtime/branding.d.ts +11 -0
  12. package/dist/runtime/branding.js +14 -0
  13. package/dist/runtime/components/App.d.vue.ts +6 -0
  14. package/dist/runtime/components/App.vue +170 -0
  15. package/dist/runtime/components/App.vue.d.ts +6 -0
  16. package/dist/runtime/components/AppearanceModal.d.vue.ts +3 -0
  17. package/dist/runtime/components/AppearanceModal.vue +267 -0
  18. package/dist/runtime/components/AppearanceModal.vue.d.ts +3 -0
  19. package/dist/runtime/components/AuthFrame.d.vue.ts +15 -0
  20. package/dist/runtime/components/AuthFrame.vue +56 -0
  21. package/dist/runtime/components/AuthFrame.vue.d.ts +15 -0
  22. package/dist/runtime/components/Brand.d.vue.ts +6 -0
  23. package/dist/runtime/components/Brand.vue +22 -0
  24. package/dist/runtime/components/Brand.vue.d.ts +6 -0
  25. package/dist/runtime/components/CollectionList.d.vue.ts +6 -0
  26. package/dist/runtime/components/CollectionList.vue +312 -0
  27. package/dist/runtime/components/CollectionList.vue.d.ts +6 -0
  28. package/dist/runtime/components/CommentsPanel.d.vue.ts +9 -0
  29. package/dist/runtime/components/CommentsPanel.vue +228 -0
  30. package/dist/runtime/components/CommentsPanel.vue.d.ts +9 -0
  31. package/dist/runtime/components/EntryEdit.d.vue.ts +9 -0
  32. package/dist/runtime/components/EntryEdit.vue +451 -0
  33. package/dist/runtime/components/EntryEdit.vue.d.ts +9 -0
  34. package/dist/runtime/components/FieldInput.d.vue.ts +13 -0
  35. package/dist/runtime/components/FieldInput.vue +325 -0
  36. package/dist/runtime/components/FieldInput.vue.d.ts +13 -0
  37. package/dist/runtime/components/FormSubmissions.d.vue.ts +6 -0
  38. package/dist/runtime/components/FormSubmissions.vue +197 -0
  39. package/dist/runtime/components/FormSubmissions.vue.d.ts +6 -0
  40. package/dist/runtime/components/GlobalSearch.d.vue.ts +10 -0
  41. package/dist/runtime/components/GlobalSearch.vue +145 -0
  42. package/dist/runtime/components/GlobalSearch.vue.d.ts +10 -0
  43. package/dist/runtime/components/Home.d.vue.ts +3 -0
  44. package/dist/runtime/components/Home.vue +226 -0
  45. package/dist/runtime/components/Home.vue.d.ts +3 -0
  46. package/dist/runtime/components/Icon.d.ts +14 -0
  47. package/dist/runtime/components/Icon.js +12 -0
  48. package/dist/runtime/components/MediaDetails.d.vue.ts +11 -0
  49. package/dist/runtime/components/MediaDetails.vue +222 -0
  50. package/dist/runtime/components/MediaDetails.vue.d.ts +11 -0
  51. package/dist/runtime/components/MediaField.d.vue.ts +14 -0
  52. package/dist/runtime/components/MediaField.vue +86 -0
  53. package/dist/runtime/components/MediaField.vue.d.ts +14 -0
  54. package/dist/runtime/components/MediaGrid.d.vue.ts +13 -0
  55. package/dist/runtime/components/MediaGrid.vue +49 -0
  56. package/dist/runtime/components/MediaGrid.vue.d.ts +13 -0
  57. package/dist/runtime/components/MediaLibrary.d.vue.ts +12 -0
  58. package/dist/runtime/components/MediaLibrary.vue +151 -0
  59. package/dist/runtime/components/MediaLibrary.vue.d.ts +12 -0
  60. package/dist/runtime/components/NotFound.d.vue.ts +6 -0
  61. package/dist/runtime/components/NotFound.vue +29 -0
  62. package/dist/runtime/components/NotFound.vue.d.ts +6 -0
  63. package/dist/runtime/components/NotificationBell.d.vue.ts +3 -0
  64. package/dist/runtime/components/NotificationBell.vue +53 -0
  65. package/dist/runtime/components/NotificationBell.vue.d.ts +3 -0
  66. package/dist/runtime/components/Page.d.vue.ts +28 -0
  67. package/dist/runtime/components/Page.vue +84 -0
  68. package/dist/runtime/components/Page.vue.d.ts +28 -0
  69. package/dist/runtime/components/RelatedCreate.d.vue.ts +16 -0
  70. package/dist/runtime/components/RelatedCreate.vue +86 -0
  71. package/dist/runtime/components/RelatedCreate.vue.d.ts +16 -0
  72. package/dist/runtime/components/RevisionHistory.d.vue.ts +16 -0
  73. package/dist/runtime/components/RevisionHistory.vue +145 -0
  74. package/dist/runtime/components/RevisionHistory.vue.d.ts +16 -0
  75. package/dist/runtime/components/RichTextEditor.d.vue.ts +15 -0
  76. package/dist/runtime/components/RichTextEditor.vue +190 -0
  77. package/dist/runtime/components/RichTextEditor.vue.d.ts +15 -0
  78. package/dist/runtime/components/RobotsSettings.d.vue.ts +3 -0
  79. package/dist/runtime/components/RobotsSettings.vue +173 -0
  80. package/dist/runtime/components/RobotsSettings.vue.d.ts +3 -0
  81. package/dist/runtime/components/RoleEdit.d.vue.ts +6 -0
  82. package/dist/runtime/components/RoleEdit.vue +234 -0
  83. package/dist/runtime/components/RoleEdit.vue.d.ts +6 -0
  84. package/dist/runtime/components/Roles.d.vue.ts +3 -0
  85. package/dist/runtime/components/Roles.vue +129 -0
  86. package/dist/runtime/components/Roles.vue.d.ts +3 -0
  87. package/dist/runtime/components/ScheduleSection.d.vue.ts +12 -0
  88. package/dist/runtime/components/ScheduleSection.vue +120 -0
  89. package/dist/runtime/components/ScheduleSection.vue.d.ts +12 -0
  90. package/dist/runtime/components/SeoPanel.d.vue.ts +7 -0
  91. package/dist/runtime/components/SeoPanel.vue +81 -0
  92. package/dist/runtime/components/SeoPanel.vue.d.ts +7 -0
  93. package/dist/runtime/components/Setup.d.vue.ts +3 -0
  94. package/dist/runtime/components/Setup.vue +79 -0
  95. package/dist/runtime/components/Setup.vue.d.ts +3 -0
  96. package/dist/runtime/components/SharedBlockUsage.d.vue.ts +7 -0
  97. package/dist/runtime/components/SharedBlockUsage.vue +91 -0
  98. package/dist/runtime/components/SharedBlockUsage.vue.d.ts +7 -0
  99. package/dist/runtime/components/Shell.d.vue.ts +15 -0
  100. package/dist/runtime/components/Shell.vue +277 -0
  101. package/dist/runtime/components/Shell.vue.d.ts +15 -0
  102. package/dist/runtime/components/SignIn.d.vue.ts +3 -0
  103. package/dist/runtime/components/SignIn.vue +106 -0
  104. package/dist/runtime/components/SignIn.vue.d.ts +3 -0
  105. package/dist/runtime/components/Toaster.d.vue.ts +3 -0
  106. package/dist/runtime/components/Toaster.vue +24 -0
  107. package/dist/runtime/components/Toaster.vue.d.ts +3 -0
  108. package/dist/runtime/components/Users.d.vue.ts +3 -0
  109. package/dist/runtime/components/Users.vue +226 -0
  110. package/dist/runtime/components/Users.vue.d.ts +3 -0
  111. package/dist/runtime/composables/debounced.d.ts +3 -0
  112. package/dist/runtime/composables/debounced.js +11 -0
  113. package/dist/runtime/composables/useAtelierAdmin.d.ts +17 -0
  114. package/dist/runtime/composables/useAtelierAdmin.js +53 -0
  115. package/dist/runtime/composables/useAtelierAdminPortal.d.ts +3 -0
  116. package/dist/runtime/composables/useAtelierAdminPortal.js +5 -0
  117. package/dist/runtime/composables/useAtelierAdminSchema.d.ts +182 -0
  118. package/dist/runtime/composables/useAtelierAdminSchema.js +26 -0
  119. package/dist/runtime/composables/useAtelierCollection.d.ts +49 -0
  120. package/dist/runtime/composables/useAtelierCollection.js +77 -0
  121. package/dist/runtime/composables/useAtelierComments.d.ts +50 -0
  122. package/dist/runtime/composables/useAtelierComments.js +46 -0
  123. package/dist/runtime/composables/useAtelierDashboard.d.ts +42 -0
  124. package/dist/runtime/composables/useAtelierDashboard.js +16 -0
  125. package/dist/runtime/composables/useAtelierEntryForm.d.ts +77 -0
  126. package/dist/runtime/composables/useAtelierEntryForm.js +184 -0
  127. package/dist/runtime/composables/useAtelierGlobalSearch.d.ts +12 -0
  128. package/dist/runtime/composables/useAtelierGlobalSearch.js +17 -0
  129. package/dist/runtime/composables/useAtelierMediaLibrary.d.ts +75 -0
  130. package/dist/runtime/composables/useAtelierMediaLibrary.js +85 -0
  131. package/dist/runtime/composables/useAtelierNavigation.d.ts +20 -0
  132. package/dist/runtime/composables/useAtelierNavigation.js +37 -0
  133. package/dist/runtime/composables/useAtelierNotifications.d.ts +21 -0
  134. package/dist/runtime/composables/useAtelierNotifications.js +34 -0
  135. package/dist/runtime/composables/useAtelierPermissions.d.ts +11 -0
  136. package/dist/runtime/composables/useAtelierPermissions.js +15 -0
  137. package/dist/runtime/composables/useAtelierPresence.d.ts +32 -0
  138. package/dist/runtime/composables/useAtelierPresence.js +95 -0
  139. package/dist/runtime/composables/useAtelierRealtime.d.ts +10 -0
  140. package/dist/runtime/composables/useAtelierRealtime.js +74 -0
  141. package/dist/runtime/composables/useAtelierRoles.d.ts +13 -0
  142. package/dist/runtime/composables/useAtelierRoles.js +15 -0
  143. package/dist/runtime/composables/useAtelierSeo.d.ts +34 -0
  144. package/dist/runtime/composables/useAtelierSeo.js +57 -0
  145. package/dist/runtime/composables/useAtelierSession.d.ts +35 -0
  146. package/dist/runtime/composables/useAtelierSession.js +36 -0
  147. package/dist/runtime/composables/useAtelierSetting.d.ts +11 -0
  148. package/dist/runtime/composables/useAtelierSetting.js +16 -0
  149. package/dist/runtime/composables/useAtelierUsers.d.ts +18 -0
  150. package/dist/runtime/composables/useAtelierUsers.js +16 -0
  151. package/dist/runtime/crystal-neuo/VERSION +3 -0
  152. package/dist/runtime/crystal-neuo/components/Alert.d.vue.ts +25 -0
  153. package/dist/runtime/crystal-neuo/components/Alert.vue +25 -0
  154. package/dist/runtime/crystal-neuo/components/Alert.vue.d.ts +25 -0
  155. package/dist/runtime/crystal-neuo/components/Avatar.d.vue.ts +15 -0
  156. package/dist/runtime/crystal-neuo/components/Avatar.vue +25 -0
  157. package/dist/runtime/crystal-neuo/components/Avatar.vue.d.ts +15 -0
  158. package/dist/runtime/crystal-neuo/components/Badge.d.vue.ts +25 -0
  159. package/dist/runtime/crystal-neuo/components/Badge.vue +17 -0
  160. package/dist/runtime/crystal-neuo/components/Badge.vue.d.ts +25 -0
  161. package/dist/runtime/crystal-neuo/components/Breadcrumb.d.vue.ts +16 -0
  162. package/dist/runtime/crystal-neuo/components/Breadcrumb.vue +26 -0
  163. package/dist/runtime/crystal-neuo/components/Breadcrumb.vue.d.ts +16 -0
  164. package/dist/runtime/crystal-neuo/components/Button.d.vue.ts +35 -0
  165. package/dist/runtime/crystal-neuo/components/Button.vue +31 -0
  166. package/dist/runtime/crystal-neuo/components/Button.vue.d.ts +35 -0
  167. package/dist/runtime/crystal-neuo/components/Card.d.vue.ts +25 -0
  168. package/dist/runtime/crystal-neuo/components/Card.vue +17 -0
  169. package/dist/runtime/crystal-neuo/components/Card.vue.d.ts +25 -0
  170. package/dist/runtime/crystal-neuo/components/Checkbox.d.vue.ts +23 -0
  171. package/dist/runtime/crystal-neuo/components/Checkbox.vue +45 -0
  172. package/dist/runtime/crystal-neuo/components/Checkbox.vue.d.ts +23 -0
  173. package/dist/runtime/crystal-neuo/components/DatePicker.d.vue.ts +24 -0
  174. package/dist/runtime/crystal-neuo/components/DatePicker.vue +43 -0
  175. package/dist/runtime/crystal-neuo/components/DatePicker.vue.d.ts +24 -0
  176. package/dist/runtime/crystal-neuo/components/Dialog.d.vue.ts +41 -0
  177. package/dist/runtime/crystal-neuo/components/Dialog.vue +63 -0
  178. package/dist/runtime/crystal-neuo/components/Dialog.vue.d.ts +41 -0
  179. package/dist/runtime/crystal-neuo/components/Drawer.d.vue.ts +34 -0
  180. package/dist/runtime/crystal-neuo/components/Drawer.vue +45 -0
  181. package/dist/runtime/crystal-neuo/components/Drawer.vue.d.ts +34 -0
  182. package/dist/runtime/crystal-neuo/components/FileUpload.d.vue.ts +32 -0
  183. package/dist/runtime/crystal-neuo/components/FileUpload.vue +94 -0
  184. package/dist/runtime/crystal-neuo/components/FileUpload.vue.d.ts +32 -0
  185. package/dist/runtime/crystal-neuo/components/Input.d.vue.ts +26 -0
  186. package/dist/runtime/crystal-neuo/components/Input.vue +48 -0
  187. package/dist/runtime/crystal-neuo/components/Input.vue.d.ts +26 -0
  188. package/dist/runtime/crystal-neuo/components/List.d.vue.ts +25 -0
  189. package/dist/runtime/crystal-neuo/components/List.vue +19 -0
  190. package/dist/runtime/crystal-neuo/components/List.vue.d.ts +25 -0
  191. package/dist/runtime/crystal-neuo/components/ListItem.d.vue.ts +20 -0
  192. package/dist/runtime/crystal-neuo/components/ListItem.vue +13 -0
  193. package/dist/runtime/crystal-neuo/components/ListItem.vue.d.ts +20 -0
  194. package/dist/runtime/crystal-neuo/components/Menu.d.vue.ts +26 -0
  195. package/dist/runtime/crystal-neuo/components/Menu.vue +120 -0
  196. package/dist/runtime/crystal-neuo/components/Menu.vue.d.ts +26 -0
  197. package/dist/runtime/crystal-neuo/components/Modal.d.vue.ts +32 -0
  198. package/dist/runtime/crystal-neuo/components/Modal.vue +37 -0
  199. package/dist/runtime/crystal-neuo/components/Modal.vue.d.ts +32 -0
  200. package/dist/runtime/crystal-neuo/components/Nav.d.vue.ts +24 -0
  201. package/dist/runtime/crystal-neuo/components/Nav.vue +15 -0
  202. package/dist/runtime/crystal-neuo/components/Nav.vue.d.ts +24 -0
  203. package/dist/runtime/crystal-neuo/components/NavLink.d.vue.ts +22 -0
  204. package/dist/runtime/crystal-neuo/components/NavLink.vue +23 -0
  205. package/dist/runtime/crystal-neuo/components/NavLink.vue.d.ts +22 -0
  206. package/dist/runtime/crystal-neuo/components/Pagination.d.vue.ts +23 -0
  207. package/dist/runtime/crystal-neuo/components/Pagination.vue +58 -0
  208. package/dist/runtime/crystal-neuo/components/Pagination.vue.d.ts +23 -0
  209. package/dist/runtime/crystal-neuo/components/Progress.d.vue.ts +18 -0
  210. package/dist/runtime/crystal-neuo/components/Progress.vue +35 -0
  211. package/dist/runtime/crystal-neuo/components/Progress.vue.d.ts +18 -0
  212. package/dist/runtime/crystal-neuo/components/Radio.d.vue.ts +28 -0
  213. package/dist/runtime/crystal-neuo/components/Radio.vue +40 -0
  214. package/dist/runtime/crystal-neuo/components/Radio.vue.d.ts +28 -0
  215. package/dist/runtime/crystal-neuo/components/SegmentedControl.d.vue.ts +31 -0
  216. package/dist/runtime/crystal-neuo/components/SegmentedControl.vue +39 -0
  217. package/dist/runtime/crystal-neuo/components/SegmentedControl.vue.d.ts +31 -0
  218. package/dist/runtime/crystal-neuo/components/Select.d.vue.ts +28 -0
  219. package/dist/runtime/crystal-neuo/components/Select.vue +48 -0
  220. package/dist/runtime/crystal-neuo/components/Select.vue.d.ts +28 -0
  221. package/dist/runtime/crystal-neuo/components/Sheet.d.vue.ts +29 -0
  222. package/dist/runtime/crystal-neuo/components/Sheet.vue +37 -0
  223. package/dist/runtime/crystal-neuo/components/Sheet.vue.d.ts +29 -0
  224. package/dist/runtime/crystal-neuo/components/Skeleton.d.vue.ts +13 -0
  225. package/dist/runtime/crystal-neuo/components/Skeleton.vue +17 -0
  226. package/dist/runtime/crystal-neuo/components/Skeleton.vue.d.ts +13 -0
  227. package/dist/runtime/crystal-neuo/components/Slider.d.vue.ts +28 -0
  228. package/dist/runtime/crystal-neuo/components/Slider.vue +41 -0
  229. package/dist/runtime/crystal-neuo/components/Slider.vue.d.ts +28 -0
  230. package/dist/runtime/crystal-neuo/components/TabBar.d.vue.ts +28 -0
  231. package/dist/runtime/crystal-neuo/components/TabBar.vue +29 -0
  232. package/dist/runtime/crystal-neuo/components/TabBar.vue.d.ts +28 -0
  233. package/dist/runtime/crystal-neuo/components/Table.d.vue.ts +31 -0
  234. package/dist/runtime/crystal-neuo/components/Table.vue +36 -0
  235. package/dist/runtime/crystal-neuo/components/Table.vue.d.ts +31 -0
  236. package/dist/runtime/crystal-neuo/components/Tabs.d.vue.ts +40 -0
  237. package/dist/runtime/crystal-neuo/components/Tabs.vue +79 -0
  238. package/dist/runtime/crystal-neuo/components/Tabs.vue.d.ts +40 -0
  239. package/dist/runtime/crystal-neuo/components/Textarea.d.vue.ts +25 -0
  240. package/dist/runtime/crystal-neuo/components/Textarea.vue +48 -0
  241. package/dist/runtime/crystal-neuo/components/Textarea.vue.d.ts +25 -0
  242. package/dist/runtime/crystal-neuo/components/Toast.d.vue.ts +32 -0
  243. package/dist/runtime/crystal-neuo/components/Toast.vue +67 -0
  244. package/dist/runtime/crystal-neuo/components/Toast.vue.d.ts +32 -0
  245. package/dist/runtime/crystal-neuo/components/Toggle.d.vue.ts +21 -0
  246. package/dist/runtime/crystal-neuo/components/Toggle.vue +43 -0
  247. package/dist/runtime/crystal-neuo/components/Toggle.vue.d.ts +21 -0
  248. package/dist/runtime/crystal-neuo/components/Tooltip.d.vue.ts +23 -0
  249. package/dist/runtime/crystal-neuo/components/Tooltip.vue +38 -0
  250. package/dist/runtime/crystal-neuo/components/Tooltip.vue.d.ts +23 -0
  251. package/dist/runtime/crystal-neuo/components/cn.d.ts +1 -0
  252. package/dist/runtime/crystal-neuo/components/cn.js +3 -0
  253. package/dist/runtime/crystal-neuo/components/useControlAttrs.d.ts +15 -0
  254. package/dist/runtime/crystal-neuo/components/useControlAttrs.js +11 -0
  255. package/dist/runtime/crystal-neuo/components/useFocusTrap.d.ts +9 -0
  256. package/dist/runtime/crystal-neuo/components/useFocusTrap.js +55 -0
  257. package/dist/runtime/crystal-neuo/components/useModalDialog.d.ts +11 -0
  258. package/dist/runtime/crystal-neuo/components/useModalDialog.js +42 -0
  259. package/dist/runtime/crystal-neuo/contract/alert.contract.d.ts +3 -0
  260. package/dist/runtime/crystal-neuo/contract/alert.contract.js +18 -0
  261. package/dist/runtime/crystal-neuo/contract/avatar.contract.d.ts +3 -0
  262. package/dist/runtime/crystal-neuo/contract/avatar.contract.js +18 -0
  263. package/dist/runtime/crystal-neuo/contract/badge.contract.d.ts +3 -0
  264. package/dist/runtime/crystal-neuo/contract/badge.contract.js +18 -0
  265. package/dist/runtime/crystal-neuo/contract/breadcrumb.contract.d.ts +3 -0
  266. package/dist/runtime/crystal-neuo/contract/breadcrumb.contract.js +19 -0
  267. package/dist/runtime/crystal-neuo/contract/button.contract.d.ts +3 -0
  268. package/dist/runtime/crystal-neuo/contract/button.contract.js +22 -0
  269. package/dist/runtime/crystal-neuo/contract/card.contract.d.ts +3 -0
  270. package/dist/runtime/crystal-neuo/contract/card.contract.js +18 -0
  271. package/dist/runtime/crystal-neuo/contract/checkbox.contract.d.ts +3 -0
  272. package/dist/runtime/crystal-neuo/contract/checkbox.contract.js +19 -0
  273. package/dist/runtime/crystal-neuo/contract/date-picker.contract.d.ts +3 -0
  274. package/dist/runtime/crystal-neuo/contract/date-picker.contract.js +22 -0
  275. package/dist/runtime/crystal-neuo/contract/dialog.contract.d.ts +3 -0
  276. package/dist/runtime/crystal-neuo/contract/dialog.contract.js +23 -0
  277. package/dist/runtime/crystal-neuo/contract/drawer.contract.d.ts +3 -0
  278. package/dist/runtime/crystal-neuo/contract/drawer.contract.js +23 -0
  279. package/dist/runtime/crystal-neuo/contract/file-upload.contract.d.ts +17 -0
  280. package/dist/runtime/crystal-neuo/contract/file-upload.contract.js +36 -0
  281. package/dist/runtime/crystal-neuo/contract/index.d.ts +67 -0
  282. package/dist/runtime/crystal-neuo/contract/index.js +96 -0
  283. package/dist/runtime/crystal-neuo/contract/input.contract.d.ts +3 -0
  284. package/dist/runtime/crystal-neuo/contract/input.contract.js +19 -0
  285. package/dist/runtime/crystal-neuo/contract/list.contract.d.ts +3 -0
  286. package/dist/runtime/crystal-neuo/contract/list.contract.js +21 -0
  287. package/dist/runtime/crystal-neuo/contract/menu.contract.d.ts +21 -0
  288. package/dist/runtime/crystal-neuo/contract/menu.contract.js +51 -0
  289. package/dist/runtime/crystal-neuo/contract/modal.contract.d.ts +3 -0
  290. package/dist/runtime/crystal-neuo/contract/modal.contract.js +24 -0
  291. package/dist/runtime/crystal-neuo/contract/nav.contract.d.ts +3 -0
  292. package/dist/runtime/crystal-neuo/contract/nav.contract.js +18 -0
  293. package/dist/runtime/crystal-neuo/contract/pagination.contract.d.ts +11 -0
  294. package/dist/runtime/crystal-neuo/contract/pagination.contract.js +32 -0
  295. package/dist/runtime/crystal-neuo/contract/progress.contract.d.ts +3 -0
  296. package/dist/runtime/crystal-neuo/contract/progress.contract.js +19 -0
  297. package/dist/runtime/crystal-neuo/contract/radio.contract.d.ts +3 -0
  298. package/dist/runtime/crystal-neuo/contract/radio.contract.js +24 -0
  299. package/dist/runtime/crystal-neuo/contract/segmented-control.contract.d.ts +3 -0
  300. package/dist/runtime/crystal-neuo/contract/segmented-control.contract.js +23 -0
  301. package/dist/runtime/crystal-neuo/contract/select.contract.d.ts +3 -0
  302. package/dist/runtime/crystal-neuo/contract/select.contract.js +24 -0
  303. package/dist/runtime/crystal-neuo/contract/sheet.contract.d.ts +3 -0
  304. package/dist/runtime/crystal-neuo/contract/sheet.contract.js +23 -0
  305. package/dist/runtime/crystal-neuo/contract/skeleton.contract.d.ts +3 -0
  306. package/dist/runtime/crystal-neuo/contract/skeleton.contract.js +18 -0
  307. package/dist/runtime/crystal-neuo/contract/slider.contract.d.ts +3 -0
  308. package/dist/runtime/crystal-neuo/contract/slider.contract.js +24 -0
  309. package/dist/runtime/crystal-neuo/contract/tab-bar.contract.d.ts +3 -0
  310. package/dist/runtime/crystal-neuo/contract/tab-bar.contract.js +19 -0
  311. package/dist/runtime/crystal-neuo/contract/table.contract.d.ts +3 -0
  312. package/dist/runtime/crystal-neuo/contract/table.contract.js +18 -0
  313. package/dist/runtime/crystal-neuo/contract/tabs.contract.d.ts +3 -0
  314. package/dist/runtime/crystal-neuo/contract/tabs.contract.js +26 -0
  315. package/dist/runtime/crystal-neuo/contract/textarea.contract.d.ts +3 -0
  316. package/dist/runtime/crystal-neuo/contract/textarea.contract.js +19 -0
  317. package/dist/runtime/crystal-neuo/contract/toast.contract.d.ts +3 -0
  318. package/dist/runtime/crystal-neuo/contract/toast.contract.js +18 -0
  319. package/dist/runtime/crystal-neuo/contract/toggle.contract.d.ts +3 -0
  320. package/dist/runtime/crystal-neuo/contract/toggle.contract.js +22 -0
  321. package/dist/runtime/crystal-neuo/contract/tooltip.contract.d.ts +3 -0
  322. package/dist/runtime/crystal-neuo/contract/tooltip.contract.js +18 -0
  323. package/dist/runtime/crystal-neuo/contract/types.d.ts +76 -0
  324. package/dist/runtime/crystal-neuo/contract/types.js +12 -0
  325. package/dist/runtime/crystal-neuo/css/crystal-neuo.css +1 -0
  326. package/dist/runtime/crystal-neuo/runtime/axes.d.ts +16 -0
  327. package/dist/runtime/crystal-neuo/runtime/axes.js +9 -0
  328. package/dist/runtime/crystal-neuo/runtime/index.d.ts +62 -0
  329. package/dist/runtime/crystal-neuo/runtime/index.js +115 -0
  330. package/dist/runtime/crystal-neuo/runtime/platform.d.ts +11 -0
  331. package/dist/runtime/crystal-neuo/runtime/platform.js +18 -0
  332. package/dist/runtime/crystal-neuo/runtime/refraction.d.ts +42 -0
  333. package/dist/runtime/crystal-neuo/runtime/refraction.js +183 -0
  334. package/dist/runtime/css/shell.css +1 -0
  335. package/dist/runtime/i18n/en.d.ts +2 -0
  336. package/dist/runtime/i18n/en.js +511 -0
  337. package/dist/runtime/i18n/index.d.ts +15 -0
  338. package/dist/runtime/i18n/index.js +52 -0
  339. package/dist/runtime/overrides.d.ts +5 -0
  340. package/dist/runtime/overrides.js +6 -0
  341. package/dist/runtime/pages/AdminPage.d.vue.ts +3 -0
  342. package/dist/runtime/pages/AdminPage.vue +49 -0
  343. package/dist/runtime/pages/AdminPage.vue.d.ts +3 -0
  344. package/dist/runtime/passkeys-off.d.ts +1 -0
  345. package/dist/runtime/passkeys-off.js +3 -0
  346. package/dist/runtime/passkeys.d.ts +1 -0
  347. package/dist/runtime/passkeys.js +6 -0
  348. package/dist/runtime/toast.d.ts +15 -0
  349. package/dist/runtime/toast.js +19 -0
  350. package/dist/runtime/types.d.ts +137 -0
  351. package/dist/runtime/types.js +0 -0
  352. package/dist/types.d.mts +3 -0
  353. package/package.json +59 -4
@@ -0,0 +1,451 @@
1
+ <script setup>
2
+ import { computed, onBeforeUnmount, onMounted, provide, ref, watch } from "vue";
3
+ import { ai } from "#atelier-admin-ai";
4
+ import { useQuery } from "@tanstack/vue-query";
5
+ import { NuxtLink } from "#components";
6
+ import { navigateTo, onBeforeRouteLeave, onBeforeRouteUpdate, useRuntimeConfig } from "#imports";
7
+ import { atelierFetch, useAtelierAdmin } from "../composables/useAtelierAdmin";
8
+ import { useAtelierAdminSchema } from "../composables/useAtelierAdminSchema";
9
+ import { useAtelierEntryForm } from "../composables/useAtelierEntryForm";
10
+ import { useAtelierPresence } from "../composables/useAtelierPresence";
11
+ import { humanize } from "../composables/useAtelierNavigation";
12
+ import CnAlert from "../crystal-neuo/components/Alert.vue";
13
+ import CnAvatar from "../crystal-neuo/components/Avatar.vue";
14
+ import CnBadge from "../crystal-neuo/components/Badge.vue";
15
+ import CnButton from "../crystal-neuo/components/Button.vue";
16
+ import CnDialog from "../crystal-neuo/components/Dialog.vue";
17
+ import CnInput from "../crystal-neuo/components/Input.vue";
18
+ import CnSelect from "../crystal-neuo/components/Select.vue";
19
+ import { useAdminToast } from "../toast";
20
+ import CommentsPanel from "./CommentsPanel.vue";
21
+ import RevisionHistory from "./RevisionHistory.vue";
22
+ import ScheduleSection from "./ScheduleSection.vue";
23
+ import FieldInput from "./FieldInput.vue";
24
+ import NotFound from "./NotFound.vue";
25
+ import Page from "./Page.vue";
26
+ import SeoPanel from "./SeoPanel.vue";
27
+ import SharedBlockUsage from "./SharedBlockUsage.vue";
28
+ import FormSubmissions from "./FormSubmissions.vue";
29
+ import { useAtelierPermissions } from "../composables/useAtelierPermissions";
30
+ import { useAdminI18n } from "../i18n";
31
+ const props = defineProps({
32
+ kind: { type: String, required: true },
33
+ name: { type: String, required: true },
34
+ id: { type: String, required: false },
35
+ locale: { type: String, required: false }
36
+ });
37
+ const { t } = useAdminI18n();
38
+ const { to } = useAtelierAdmin();
39
+ const toast = useAdminToast();
40
+ const edit = useAtelierEntryForm(() => ({ kind: props.kind, name: props.name, id: props.id, locale: props.locale }));
41
+ const { type, form } = edit;
42
+ const values = form.useStore((s) => s.values);
43
+ const dirty = edit.dirty;
44
+ const submitting = form.useStore((s) => s.isSubmitting);
45
+ const error = ref("");
46
+ const { schema } = useAtelierAdminSchema();
47
+ const { manages } = useAtelierPermissions();
48
+ const otherLocales = computed(() => (schema.value?.locales.codes ?? []).filter((code) => code !== edit.locale.value));
49
+ async function addTranslation(locale) {
50
+ try {
51
+ const created = await edit.translate.mutateAsync(locale);
52
+ toast.add({ color: "success", title: t("entry.translationAdded", { locale: locale.toUpperCase() }) });
53
+ await navigateTo(to("collections", props.name, created.id));
54
+ } catch (e) {
55
+ toast.add({ color: "error", title: e.message });
56
+ }
57
+ }
58
+ const leaving = ref(null);
59
+ const leaveOpen = computed({ get: () => !!leaving.value, set: (open) => !open && answer(false) });
60
+ function answer(leave) {
61
+ leaving.value?.(leave);
62
+ leaving.value = null;
63
+ }
64
+ const guard = () => !dirty.value || form.state.isSubmitting || new Promise((resolve) => leaving.value = resolve);
65
+ onBeforeRouteLeave(guard);
66
+ onBeforeRouteUpdate(guard);
67
+ const onUnload = (e) => {
68
+ if (dirty.value)
69
+ e.preventDefault();
70
+ };
71
+ onMounted(() => addEventListener("beforeunload", onUnload));
72
+ onBeforeUnmount(() => removeEventListener("beforeunload", onUnload));
73
+ const savedAt = computed(() => edit.recovery.value ? new Date(edit.recovery.value.savedAt).toLocaleString() : "");
74
+ const confirmDelete = ref(false);
75
+ const typeLabel = computed(() => props.kind === "collection" ? type.value?.labels?.plural ?? humanize(props.name) : type.value?.label ?? humanize(props.name));
76
+ const title = computed(() => props.kind === "singleton" ? typeLabel.value : edit.isNew.value ? t("entry.new") : t("entry.edit"));
77
+ const breadcrumb = computed(() => props.kind === "collection" ? [{ label: typeLabel.value, to: to("collections", props.name) }, { label: title.value }] : void 0);
78
+ const mayEdit = computed(() => !!type.value && (edit.isNew.value ? type.value.can.create : type.value.can.update));
79
+ const target = computed(() => !type.value || edit.isNew.value || type.value.adapter ? null : { type: props.name, id: props.kind === "singleton" ? props.name : props.id });
80
+ const presence = useAtelierPresence(target, mayEdit);
81
+ provide("atelier-entry", computed(() => type.value ? { type: props.name, locale: edit.locale.value, locales: type.value.localized ? schema.value?.locales.codes ?? [] : [] } : null));
82
+ const aiOn = ai ? ai.enabled() : ref(false);
83
+ const visualEditor = !!useRuntimeConfig().public.atelierEditor;
84
+ function applySeo(value) {
85
+ form.setFieldValue("seo.title", value.title);
86
+ form.setFieldValue("seo.description", value.description);
87
+ }
88
+ const hasSeoFields = computed(() => {
89
+ const seo = type.value?.fields.seo;
90
+ return seo?.type === "object" && !!seo.fields?.title && !!seo.fields?.description;
91
+ });
92
+ const takenBy = ref("");
93
+ watch(presence.lock, (lock, before) => {
94
+ if (before?.mine && lock && !lock.mine) {
95
+ takenBy.value = lock.name;
96
+ void edit.shelve();
97
+ } else if (lock?.mine) {
98
+ takenBy.value = "";
99
+ if (before && !before.mine)
100
+ void edit.reload();
101
+ }
102
+ });
103
+ watch(target, () => takenBy.value = "");
104
+ const templates = useQuery({
105
+ queryKey: computed(() => ["atelier", "templates", props.name]),
106
+ queryFn: () => atelierFetch(`/templates/${encodeURIComponent(props.name)}`),
107
+ enabled: computed(() => props.kind === "collection" && edit.isNew.value && !!type.value?.can.create && !type.value.adapter)
108
+ });
109
+ const template = ref("");
110
+ const templateOptions = computed(() => [{ value: "", label: t("templates.blank") }, ...(templates.data.value ?? []).map((x) => ({ value: x.id, label: x.label }))]);
111
+ watch(template, (id) => edit.startFrom(templates.data.value?.find((x) => x.id === id)?.data ?? null));
112
+ const canSaveTemplate = computed(() => props.kind === "collection" && !edit.isNew.value && !!schema.value?.collections.find((c) => c.name === "atelier-templates")?.can.create);
113
+ const savingTemplate = ref(false);
114
+ const entryName = computed(() => typeof values.value.title === "string" && values.value.title || typeLabel.value);
115
+ const templateName = ref("");
116
+ async function saveTemplate() {
117
+ try {
118
+ await atelierFetch("/collections/atelier-templates", { method: "POST", body: { data: { title: templateName.value || entryName.value, type: props.name, data: values.value } } });
119
+ toast.add({ color: "success", title: t("templates.saved") });
120
+ templateName.value = "";
121
+ } catch (e) {
122
+ toast.add({ color: "error", title: e.message });
123
+ }
124
+ }
125
+ const canSave = computed(() => mayEdit.value && !presence.lockedByOther.value);
126
+ const readOnly = (key) => !canSave.value || (type.value?.readOnly.includes(key) ?? false);
127
+ async function save() {
128
+ error.value = "";
129
+ try {
130
+ await edit.submit();
131
+ } catch (e) {
132
+ const failure = e;
133
+ error.value = failure.status === 409 ? t("entry.conflict") : failure.message;
134
+ return;
135
+ }
136
+ if (!form.state.isSubmitSuccessful)
137
+ return;
138
+ toast.add({ color: "success", title: type.value?.versioned ? t("entry.draftSaved") : t("entry.saved") });
139
+ if (edit.isNew.value && edit.save.data.value)
140
+ await navigateTo(to("collections", props.name, edit.save.data.value.id), { replace: true });
141
+ }
142
+ async function run(action) {
143
+ try {
144
+ await edit[action].mutateAsync();
145
+ toast.add({ color: "success", title: action === "publish" ? t("entry.published") : t("entry.unpublished") });
146
+ } catch (e) {
147
+ toast.add({ color: "error", title: action === "publish" ? t("entry.notPublished") : t("entry.notUnpublished"), description: e.message });
148
+ }
149
+ }
150
+ async function remove() {
151
+ try {
152
+ await edit.remove.mutateAsync();
153
+ toast.add({ color: "success", title: t("entry.deleted") });
154
+ await navigateTo(to("collections", props.name));
155
+ } catch (e) {
156
+ toast.add({ color: "error", title: t("common.notDeleted"), description: e.message });
157
+ }
158
+ }
159
+ </script>
160
+
161
+ <template>
162
+ <NotFound v-if="!type || edit.loadError.value?.status === 404" />
163
+ <NotFound
164
+ v-else-if="edit.loadError.value?.status === 403"
165
+ forbidden
166
+ />
167
+ <Page
168
+ v-else
169
+ :title="title"
170
+ :breadcrumb="breadcrumb"
171
+ >
172
+ <template #actions>
173
+ <span
174
+ v-if="presence.others.value.length"
175
+ class="app-presence"
176
+ :title="t('collab.viewing', { names: presence.others.value.map((v) => v.name).join(', ') })"
177
+ data-presence
178
+ >
179
+ <CnAvatar
180
+ v-for="viewer in presence.others.value"
181
+ :key="viewer.userId"
182
+ :name="viewer.name"
183
+ size="sm"
184
+ />
185
+ <span class="sr-only">{{ t("collab.viewing", { names: presence.others.value.map((v) => v.name).join(", ") }) }}</span>
186
+ </span>
187
+ <CnBadge
188
+ v-if="type.versioned && !edit.isNew.value"
189
+ :variant="edit.unpublished.value ? 'warning' : 'success'"
190
+ size="sm"
191
+ >
192
+ {{ edit.entry.value?.publishedVersion === null ? t("status.draft") : edit.unpublished.value ? t("status.unpublishedChanges") : t("status.published") }}
193
+ </CnBadge>
194
+ <CnButton
195
+ v-if="type.versioned && type.can.publish && !edit.isNew.value && edit.unpublished.value"
196
+ variant="secondary"
197
+ :disabled="dirty || presence.lockedByOther.value"
198
+ :loading="edit.publish.isPending.value"
199
+ @click="run('publish')"
200
+ >
201
+ {{ t("entry.publish") }}
202
+ </CnButton>
203
+ <CnButton
204
+ v-if="type.versioned && type.can.publish && edit.entry.value?.publishedVersion"
205
+ variant="ghost"
206
+ :disabled="presence.lockedByOther.value"
207
+ :loading="edit.unpublish.isPending.value"
208
+ @click="run('unpublish')"
209
+ >
210
+ {{ t("entry.unpublish") }}
211
+ </CnButton>
212
+ <NuxtLink
213
+ v-if="visualEditor && type.routable && !edit.isNew.value"
214
+ :to="{ path: to('edit'), query: { type: name, ...kind === 'collection' ? { id } : {} } }"
215
+ class="cn-button cn-button--secondary cn-button--size-md"
216
+ data-visual-editor
217
+ >
218
+ {{ t("editor.open") }}
219
+ </NuxtLink>
220
+ <CnButton
221
+ v-if="canSaveTemplate"
222
+ variant="ghost"
223
+ @click="savingTemplate = true"
224
+ >
225
+ {{ t("templates.save") }}
226
+ </CnButton>
227
+ <CnButton
228
+ v-if="kind === 'collection' && !edit.isNew.value && type.can.delete"
229
+ variant="danger"
230
+ :disabled="presence.lockedByOther.value"
231
+ @click="confirmDelete = true"
232
+ >
233
+ {{ t("common.delete") }}
234
+ </CnButton>
235
+ </template>
236
+
237
+ <nav
238
+ v-if="type.localized && otherLocales.length && !edit.isNew.value && edit.locale.value"
239
+ class="app-row app-translations"
240
+ :aria-label="t('entry.translations')"
241
+ >
242
+ <CnBadge
243
+ variant="primary"
244
+ size="sm"
245
+ >
246
+ {{ t("entry.inLocale", { locale: edit.locale.value.toUpperCase() }) }}
247
+ </CnBadge>
248
+ <template
249
+ v-for="code in otherLocales"
250
+ :key="code"
251
+ >
252
+ <NuxtLink
253
+ v-if="kind === 'singleton'"
254
+ :to="`${to('singletons', name)}?locale=${code}`"
255
+ class="cn-button cn-button--ghost cn-button--size-sm"
256
+ :hreflang="code"
257
+ >
258
+ {{ code.toUpperCase() }}
259
+ </NuxtLink>
260
+ <NuxtLink
261
+ v-else-if="edit.translations.value[code]"
262
+ :to="to('collections', name, edit.translations.value[code])"
263
+ class="cn-button cn-button--ghost cn-button--size-sm"
264
+ :hreflang="code"
265
+ >
266
+ {{ code.toUpperCase() }}
267
+ </NuxtLink>
268
+ <CnButton
269
+ v-else-if="type.can.create"
270
+ variant="ghost"
271
+ size="sm"
272
+ :loading="edit.translate.isPending.value"
273
+ @click="addTranslation(code)"
274
+ >
275
+ {{ t("entry.addTranslation", { locale: code.toUpperCase() }) }}
276
+ </CnButton>
277
+ </template>
278
+ </nav>
279
+ <div
280
+ v-if="edit.loading.value"
281
+ class="app-loading"
282
+ role="status"
283
+ >
284
+ <span class="sr-only">Loading</span>
285
+ </div>
286
+ <form
287
+ v-else
288
+ class="app-form"
289
+ novalidate
290
+ @submit.prevent="save"
291
+ >
292
+ <CnSelect
293
+ v-if="edit.isNew.value && (templates.data.value?.length ?? 0) > 0"
294
+ v-model="template"
295
+ :label="t('templates.startFrom')"
296
+ :options="templateOptions"
297
+ data-template-picker
298
+ />
299
+ <CnAlert
300
+ v-if="takenBy"
301
+ variant="warning"
302
+ :title="t('collab.takenTitle', { name: takenBy })"
303
+ live
304
+ data-taken-over
305
+ >
306
+ {{ t("collab.taken") }}
307
+ </CnAlert>
308
+ <CnAlert
309
+ v-else-if="presence.lockedByOther.value"
310
+ variant="info"
311
+ :title="t('collab.lockedTitle', { name: presence.lock.value.name })"
312
+ live
313
+ data-locked
314
+ >
315
+ {{ t("collab.locked") }}
316
+ <span
317
+ v-if="type.can.publish"
318
+ class="app-row"
319
+ >
320
+ <CnButton
321
+ size="sm"
322
+ :loading="presence.takingOver.value"
323
+ @click="presence.takeover()"
324
+ >{{ t("collab.takeover") }}</CnButton>
325
+ </span>
326
+ </CnAlert>
327
+ <CnAlert
328
+ v-if="edit.recovery.value"
329
+ variant="warning"
330
+ :title="t('entry.recoveryTitle')"
331
+ data-recovery
332
+ >
333
+ {{ t("entry.recovery", { time: savedAt }) }}
334
+ <span class="app-row">
335
+ <CnButton
336
+ size="sm"
337
+ :disabled="!canSave"
338
+ @click="edit.restoreRecovery()"
339
+ >{{ t("entry.restore") }}</CnButton>
340
+ <CnButton
341
+ size="sm"
342
+ variant="ghost"
343
+ @click="edit.discardRecovery()"
344
+ >{{ t("entry.discard") }}</CnButton>
345
+ </span>
346
+ </CnAlert>
347
+ <FieldInput
348
+ v-for="(field, key) in type.fields"
349
+ :key="key"
350
+ :form="form"
351
+ :name="String(key)"
352
+ :field="field"
353
+ :root="values"
354
+ :sibling="values"
355
+ :read-only="readOnly(String(key))"
356
+ />
357
+ <component
358
+ :is="ai.Seo"
359
+ v-if="ai && aiOn && hasSeoFields && !edit.isNew.value && canSave"
360
+ :id="kind === 'collection' ? id : void 0"
361
+ :type="name"
362
+ :locale="edit.locale.value"
363
+ @apply="applySeo"
364
+ />
365
+ <SeoPanel
366
+ v-if="kind === 'collection' && type.routable && !type.adapter"
367
+ :input="{ collection: name, id, data: values, path: edit.entry.value?.path, media: edit.entry.value?.media, locale: edit.locale.value }"
368
+ />
369
+ <CnAlert
370
+ v-if="error"
371
+ variant="danger"
372
+ live
373
+ >
374
+ {{ error }}
375
+ </CnAlert>
376
+ <div
377
+ v-if="canSave"
378
+ class="app-form__actions"
379
+ >
380
+ <CnButton
381
+ type="submit"
382
+ :loading="submitting"
383
+ >
384
+ {{ type.versioned ? t("entry.saveDraft") : t("common.save") }}
385
+ </CnButton>
386
+ </div>
387
+ </form>
388
+ <FormSubmissions
389
+ v-if="kind === 'collection' && name === 'atelier-forms' && id && !edit.isNew.value && manages('forms')"
390
+ :id="id"
391
+ />
392
+ <SharedBlockUsage
393
+ v-if="kind === 'collection' && name === 'atelier-shared-blocks' && id && !edit.isNew.value"
394
+ :id="id"
395
+ :can-delete="!!type.can.delete"
396
+ />
397
+ <ScheduleSection
398
+ v-if="type.versioned && type.can.publish && !edit.isNew.value && !edit.loading.value"
399
+ :url="edit.url.value"
400
+ :query="edit.localeQuery.value"
401
+ :version="edit.entry.value?.version ?? null"
402
+ :dirty="dirty"
403
+ />
404
+ <RevisionHistory
405
+ v-if="!edit.isNew.value && !edit.loading.value && type.can.update && type.revisions !== false"
406
+ :url="edit.url.value"
407
+ :query="edit.localeQuery.value"
408
+ :version="edit.entry.value?.version ?? null"
409
+ :can-restore="canSave && !dirty && !type.adapter"
410
+ @restored="edit.reload()"
411
+ />
412
+ <CommentsPanel
413
+ v-if="target && !edit.loading.value"
414
+ :id="target.id"
415
+ :type="target.type"
416
+ :data="values"
417
+ :can-comment="!!type.can.comment"
418
+ />
419
+
420
+ <CnDialog
421
+ v-model:open="leaveOpen"
422
+ :title="t('entry.leaveTitle')"
423
+ :description="t('entry.leaveBody')"
424
+ :confirm-label="t('entry.leave')"
425
+ :cancel-label="t('entry.stay')"
426
+ variant="destructive"
427
+ @confirm="answer(true)"
428
+ />
429
+ <CnDialog
430
+ v-model:open="savingTemplate"
431
+ :title="t('templates.saveTitle')"
432
+ :description="t('templates.saveBody')"
433
+ :confirm-label="t('templates.save')"
434
+ @confirm="saveTemplate"
435
+ >
436
+ <CnInput
437
+ v-model="templateName"
438
+ :label="t('templates.name')"
439
+ :placeholder="entryName"
440
+ />
441
+ </CnDialog>
442
+ <CnDialog
443
+ v-model:open="confirmDelete"
444
+ :title="t('entry.deleteTitle')"
445
+ :confirm-label="t('common.delete')"
446
+ variant="destructive"
447
+ :description="t('entry.deleteBody')"
448
+ @confirm="remove"
449
+ />
450
+ </Page>
451
+ </template>
@@ -0,0 +1,9 @@
1
+ type __VLS_Props = {
2
+ kind: 'collection' | 'singleton';
3
+ name: string;
4
+ id?: string;
5
+ locale?: string;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import type { Field } from '../types.js';
2
+ type __VLS_Props = {
3
+ form: any;
4
+ name: string;
5
+ field: Field;
6
+ /** The whole entry's values and this field's siblings, for `when` conditions. */
7
+ root: Record<string, unknown>;
8
+ sibling: Record<string, unknown>;
9
+ readOnly?: boolean;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;