@phtngyn/cms 0.2.0-beta.7 → 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.
- package/LICENSE +18 -10
- package/README.md +59 -401
- package/drizzle/20261003215543_initial/migration.sql +251 -0
- package/drizzle/20261003215543_initial/snapshot.json +1941 -0
- package/package.json +75 -71
- package/src/Authoring.d.ts +41 -49
- package/src/Authoring.js +1 -1
- package/src/Blocks-BrxSemnd.js +40 -0
- package/src/Client.d.ts +8186 -0
- package/src/Client.js +41 -0
- package/src/Collections.d.ts +142 -0
- package/src/Collections.js +142 -0
- package/src/Config-CMiwciub.js +130 -0
- package/src/Config.d.ts +172 -0
- package/src/Config.js +2 -0
- package/src/Configuration-Dk2k3OIc.js +73 -0
- package/src/DataTransfer-BmECvPHB.js +488 -0
- package/src/Database-DSsNCGft.d.ts +3 -0
- package/src/Delivery.d.ts +28 -0
- package/src/Delivery.js +7 -0
- package/src/Document-CKXMSEf1.js +293 -0
- package/src/Document-TgwYKJZM.d.ts +220 -0
- package/src/DocumentRenderer-Wz2xaNyf.js +394 -0
- package/src/EditorSchema-wrDv-id6.js +296 -0
- package/src/Fields-BegSgYhj.d.ts +166 -0
- package/src/Fields-ioGaMEh9.js +130 -0
- package/src/Forms-BuKAXQxr.d.ts +203 -0
- package/src/Forms.d.ts +48 -11
- package/src/Forms.js +342 -7
- package/src/I18n-Ckf9h0rC.js +154 -0
- package/src/I18n.d.ts +45 -2
- package/src/I18n.js +2 -1
- package/src/Image-CJWPLnhP.js +110 -0
- package/src/Links-CJYyy7rC.js +28 -0
- package/src/Links-Dx1yOni8.d.ts +28 -0
- package/src/Locales-Ch7a5xuA.js +67 -0
- package/src/Locales-jwbmJaOp.d.ts +43 -0
- package/src/Locales.d.ts +3 -0
- package/src/Locales.js +3 -0
- package/src/Media-BQ0uL4w7.d.ts +15 -0
- package/src/Media-DSyvd14o.js +87 -0
- package/src/Module.d.ts +2 -10
- package/src/Module.js +1039 -162
- package/src/Operations.d.ts +57 -0
- package/src/Operations.js +263 -0
- package/src/People-DvNZauWw.js +69 -0
- package/src/PreviewFocus-C_EelZO5.js +104 -0
- package/src/Query-C0kGJF5_.d.ts +261 -0
- package/src/RevisionPreview-IVwbJ9Wy.js +133 -0
- package/src/Routes-BaZvm2LE.js +126 -0
- package/src/Routes-DM1rRp3r.d.ts +15 -0
- package/src/S3MediaObjects-y-WacEi9.js +193 -0
- package/src/Seo-BcpqxoAs.d.ts +57 -0
- package/src/Seo-CjNUtUkj.js +254 -0
- package/src/StudioApi-CXLwwocX.js +833 -0
- package/src/StudioErrors-T5zLGQ1M.js +117 -0
- package/src/StudioErrors-kq-E44lQ.d.ts +104 -0
- package/src/StudioServer.d.ts +20 -0
- package/src/StudioServer.js +34 -0
- package/src/answers-DcTg0Xv2.js +41 -0
- package/src/cli.js +681 -187
- package/src/contracts-rprW3ZOB.js +130 -0
- package/src/forms-3xuf0Ym7.d.ts +206 -0
- package/src/localeConfiguration-BPbkLi7-.js +32 -0
- package/src/localeContext-DhF3SPvM.js +59 -0
- package/src/locales-6OD4XGIZ.js +12 -0
- package/src/nuxtDelivery-BYX_Cddb.js +466 -0
- package/src/plugin-DTYuDaQu.js +7171 -0
- package/src/previewContext-dt3ZUh-w.js +4 -0
- package/src/previewRegions-CXjk5cbP.js +145 -0
- package/src/previewSource-fb-q3ESM.js +144 -0
- package/src/rendering-D9LVeEKX.js +47 -0
- package/src/rolldown-runtime-8H4AJuhK.js +14 -0
- package/src/runtime/CmsImage.js +38 -0
- package/src/runtime/DocumentPage.vue +10 -0
- package/src/runtime/DocumentPageContent.js +48 -0
- package/src/runtime/DocumentRenderer.d.ts +129 -0
- package/src/runtime/DocumentRenderer.js +2 -0
- package/src/runtime/api.js +48 -6
- package/src/runtime/delivery/useCmsDocument.js +2 -0
- package/src/runtime/delivery/useCmsDocumentQuery.js +2 -0
- package/src/runtime/delivery/useCmsDocumentSeo.js +2 -114
- package/src/runtime/delivery/useCmsLocale.js +10 -0
- package/src/runtime/plugin.js +2 -40
- package/src/runtime/preview.css +85 -0
- package/src/runtime/preview.js +277 -0
- package/src/runtime/previewSource.js +82 -0
- package/src/runtime/revisionPrivacy.js +13 -0
- package/src/runtime/studio.js +10 -0
- package/src/runtime/studioIcons.js +36 -0
- package/src/validation-3pggwcnm.js +396 -0
- package/src/validation-DpUwPC8Y.js +224 -0
- package/studio/THIRD-PARTY-LICENSES.md +2406 -0
- package/studio/chunks/AccountPage-DL3DitDM.js +288 -0
- package/studio/chunks/AccountPage-DL3DitDM.js.br +0 -0
- package/studio/chunks/AccountPage-DL3DitDM.js.gz +0 -0
- package/studio/chunks/ActivityPage-CLqVUqTh.js +584 -0
- package/studio/chunks/ActivityPage-CLqVUqTh.js.br +0 -0
- package/studio/chunks/ActivityPage-CLqVUqTh.js.gz +0 -0
- package/studio/chunks/Alert-D0D24z_a.js +335 -0
- package/studio/chunks/Alert-D0D24z_a.js.br +0 -0
- package/studio/chunks/Alert-D0D24z_a.js.gz +0 -0
- package/studio/chunks/Badge-BBFs88TI.js +346 -0
- package/studio/chunks/Badge-BBFs88TI.js.br +0 -0
- package/studio/chunks/Badge-BBFs88TI.js.gz +0 -0
- package/studio/chunks/Button-BT3ztSPx.js +14319 -0
- package/studio/chunks/Button-BT3ztSPx.js.br +0 -0
- package/studio/chunks/Button-BT3ztSPx.js.gz +0 -0
- package/studio/chunks/Collapsible-CKnEYIlp.js +246 -0
- package/studio/chunks/Collapsible-CKnEYIlp.js.br +0 -0
- package/studio/chunks/Collapsible-CKnEYIlp.js.gz +0 -0
- package/studio/chunks/ContentInventory-D7nsFA6U.js +1745 -0
- package/studio/chunks/ContentInventory-D7nsFA6U.js.br +0 -0
- package/studio/chunks/ContentInventory-D7nsFA6U.js.gz +0 -0
- package/studio/chunks/ContentPage-DCxt6BeD.js +18 -0
- package/studio/chunks/ContentPage-DCxt6BeD.js.br +0 -0
- package/studio/chunks/ContentPage-DCxt6BeD.js.gz +0 -0
- package/studio/chunks/DashboardSearch-DjyMjJwF.js +2413 -0
- package/studio/chunks/DashboardSearch-DjyMjJwF.js.br +0 -0
- package/studio/chunks/DashboardSearch-DjyMjJwF.js.gz +0 -0
- package/studio/chunks/DocumentLocaleMenu-0EkkOr6_.js +26063 -0
- package/studio/chunks/DocumentLocaleMenu-0EkkOr6_.js.br +0 -0
- package/studio/chunks/DocumentLocaleMenu-0EkkOr6_.js.gz +0 -0
- package/studio/chunks/DropdownMenu-CA9fB0uZ.js +4400 -0
- package/studio/chunks/DropdownMenu-CA9fB0uZ.js.br +0 -0
- package/studio/chunks/DropdownMenu-CA9fB0uZ.js.gz +0 -0
- package/studio/chunks/EditorPage-D_PAYEE4.js +7799 -0
- package/studio/chunks/EditorPage-D_PAYEE4.js.br +0 -0
- package/studio/chunks/EditorPage-D_PAYEE4.js.gz +0 -0
- package/studio/chunks/FormField-CgM6l2Yn.js +198 -0
- package/studio/chunks/FormField-CgM6l2Yn.js.br +0 -0
- package/studio/chunks/FormField-CgM6l2Yn.js.gz +0 -0
- package/studio/chunks/HelpPage-C-vrFcT_.js +552 -0
- package/studio/chunks/HelpPage-C-vrFcT_.js.br +0 -0
- package/studio/chunks/HelpPage-C-vrFcT_.js.gz +0 -0
- package/studio/chunks/Kbd-Ot7TIhVZ.js +271 -0
- package/studio/chunks/Kbd-Ot7TIhVZ.js.br +0 -0
- package/studio/chunks/Kbd-Ot7TIhVZ.js.gz +0 -0
- package/studio/chunks/MediaFolderDialog-DYu-eu-q.js +101 -0
- package/studio/chunks/MediaFolderDialog-DYu-eu-q.js.br +0 -0
- package/studio/chunks/MediaFolderDialog-DYu-eu-q.js.gz +0 -0
- package/studio/chunks/MediaPage-D-jaWtdl.js +923 -0
- package/studio/chunks/MediaPage-D-jaWtdl.js.br +0 -0
- package/studio/chunks/MediaPage-D-jaWtdl.js.gz +0 -0
- package/studio/chunks/MediaPicker-BZs2wUFz.js +837 -0
- package/studio/chunks/MediaPicker-BZs2wUFz.js.br +0 -0
- package/studio/chunks/MediaPicker-BZs2wUFz.js.gz +0 -0
- package/studio/chunks/MediaUploadPanel-C7Kyg6aR.js +1173 -0
- package/studio/chunks/MediaUploadPanel-C7Kyg6aR.js.br +0 -0
- package/studio/chunks/MediaUploadPanel-C7Kyg6aR.js.gz +0 -0
- package/studio/chunks/Modal-D6hSvxHd.js +265 -0
- package/studio/chunks/Modal-D6hSvxHd.js.br +0 -0
- package/studio/chunks/Modal-D6hSvxHd.js.gz +0 -0
- package/studio/chunks/NewDocumentDialog-C8B6_r3J.js +277 -0
- package/studio/chunks/NewDocumentDialog-C8B6_r3J.js.br +0 -0
- package/studio/chunks/NewDocumentDialog-C8B6_r3J.js.gz +0 -0
- package/studio/chunks/Pagination-D9BSo5H2.js +573 -0
- package/studio/chunks/Pagination-D9BSo5H2.js.br +0 -0
- package/studio/chunks/Pagination-D9BSo5H2.js.gz +0 -0
- package/studio/chunks/PeoplePage-CWIXitBD.js +783 -0
- package/studio/chunks/PeoplePage-CWIXitBD.js.br +0 -0
- package/studio/chunks/PeoplePage-CWIXitBD.js.gz +0 -0
- package/studio/chunks/Popover-B63bkTMS.js +128 -0
- package/studio/chunks/Popover-B63bkTMS.js.br +0 -0
- package/studio/chunks/Popover-B63bkTMS.js.gz +0 -0
- package/studio/chunks/PublicationActionDialog-Cm_P0C3I.js +255 -0
- package/studio/chunks/PublicationActionDialog-Cm_P0C3I.js.br +0 -0
- package/studio/chunks/PublicationActionDialog-Cm_P0C3I.js.gz +0 -0
- package/studio/chunks/Routes-DLYHmulE.js +102 -0
- package/studio/chunks/Routes-DLYHmulE.js.br +0 -0
- package/studio/chunks/Routes-DLYHmulE.js.gz +0 -0
- package/studio/chunks/RovingFocusItem-QZNg-wWF.js +95 -0
- package/studio/chunks/RovingFocusItem-QZNg-wWF.js.br +0 -0
- package/studio/chunks/RovingFocusItem-QZNg-wWF.js.gz +0 -0
- package/studio/chunks/ScheduledPage-C0hqrkr5.js +332 -0
- package/studio/chunks/ScheduledPage-C0hqrkr5.js.br +0 -0
- package/studio/chunks/ScheduledPage-C0hqrkr5.js.gz +0 -0
- package/studio/chunks/Search-BEgCe9Aj.js +14646 -0
- package/studio/chunks/Search-BEgCe9Aj.js.br +0 -0
- package/studio/chunks/Search-BEgCe9Aj.js.gz +0 -0
- package/studio/chunks/Select-B50WZMW-.js +2145 -0
- package/studio/chunks/Select-B50WZMW-.js.br +0 -0
- package/studio/chunks/Select-B50WZMW-.js.gz +0 -0
- package/studio/chunks/SelectMenu-DSweWGMz.js +2109 -0
- package/studio/chunks/SelectMenu-DSweWGMz.js.br +0 -0
- package/studio/chunks/SelectMenu-DSweWGMz.js.gz +0 -0
- package/studio/chunks/SeoPage-CNNxGe4h.js +846 -0
- package/studio/chunks/SeoPage-CNNxGe4h.js.br +0 -0
- package/studio/chunks/SeoPage-CNNxGe4h.js.gz +0 -0
- package/studio/chunks/Skeleton-COz8dcrw.js +39 -0
- package/studio/chunks/Skeleton-COz8dcrw.js.br +2 -0
- package/studio/chunks/Skeleton-COz8dcrw.js.gz +0 -0
- package/studio/chunks/Slideover-QMMHAAys.js +289 -0
- package/studio/chunks/Slideover-QMMHAAys.js.br +0 -0
- package/studio/chunks/Slideover-QMMHAAys.js.gz +0 -0
- package/studio/chunks/StudioPage-ngEIDr5d.js +80 -0
- package/studio/chunks/StudioPage-ngEIDr5d.js.br +0 -0
- package/studio/chunks/StudioPage-ngEIDr5d.js.gz +0 -0
- package/studio/chunks/StudioPageToolbar-BwHnqyr6.js +2524 -0
- package/studio/chunks/StudioPageToolbar-BwHnqyr6.js.br +0 -0
- package/studio/chunks/StudioPageToolbar-BwHnqyr6.js.gz +0 -0
- package/studio/chunks/Switch-qKl1aDn7.js +484 -0
- package/studio/chunks/Switch-qKl1aDn7.js.br +0 -0
- package/studio/chunks/Switch-qKl1aDn7.js.gz +0 -0
- package/studio/chunks/ToolPage-DxoVAJVk.js +29 -0
- package/studio/chunks/ToolPage-DxoVAJVk.js.br +0 -0
- package/studio/chunks/ToolPage-DxoVAJVk.js.gz +0 -0
- package/studio/chunks/Tooltip-Bu15m_DB.js +693 -0
- package/studio/chunks/Tooltip-Bu15m_DB.js.br +0 -0
- package/studio/chunks/Tooltip-Bu15m_DB.js.gz +0 -0
- package/studio/chunks/TrashPage-lhqLLdoG.js +12 -0
- package/studio/chunks/TrashPage-lhqLLdoG.js.br +0 -0
- package/studio/chunks/TrashPage-lhqLLdoG.js.gz +0 -0
- package/studio/chunks/VersionsPage-Cqy6UAp9.js +2349 -0
- package/studio/chunks/VersionsPage-Cqy6UAp9.js.br +0 -0
- package/studio/chunks/VersionsPage-Cqy6UAp9.js.gz +0 -0
- package/studio/chunks/VisuallyHiddenInput-Cu8hQLRf.js +113 -0
- package/studio/chunks/VisuallyHiddenInput-Cu8hQLRf.js.br +0 -0
- package/studio/chunks/VisuallyHiddenInput-Cu8hQLRf.js.gz +0 -0
- package/studio/chunks/arrays-CUJkmV4I.js +10 -0
- package/studio/chunks/arrays-CUJkmV4I.js.br +0 -0
- package/studio/chunks/arrays-CUJkmV4I.js.gz +0 -0
- package/studio/chunks/base-DkTekJe8.js +213 -0
- package/studio/chunks/base-DkTekJe8.js.br +0 -0
- package/studio/chunks/base-DkTekJe8.js.gz +0 -0
- package/studio/chunks/content-DUGl3N4d.js +6012 -0
- package/studio/chunks/content-DUGl3N4d.js.br +0 -0
- package/studio/chunks/content-DUGl3N4d.js.gz +0 -0
- package/studio/chunks/destinations-DPIQVQa6.js +227 -0
- package/studio/chunks/destinations-DPIQVQa6.js.br +0 -0
- package/studio/chunks/destinations-DPIQVQa6.js.gz +0 -0
- package/studio/chunks/en-073cjKW4.js +152 -0
- package/studio/chunks/en-073cjKW4.js.br +0 -0
- package/studio/chunks/en-073cjKW4.js.gz +0 -0
- package/studio/chunks/en-Bn8mxPuf.js +134 -0
- package/studio/chunks/en-Bn8mxPuf.js.br +0 -0
- package/studio/chunks/en-Bn8mxPuf.js.gz +0 -0
- package/studio/chunks/en-C9OiaUDZ.js +251 -0
- package/studio/chunks/en-C9OiaUDZ.js.br +0 -0
- package/studio/chunks/en-C9OiaUDZ.js.gz +0 -0
- package/studio/chunks/en-CHAR6jzx.js +147 -0
- package/studio/chunks/en-CHAR6jzx.js.br +0 -0
- package/studio/chunks/en-CHAR6jzx.js.gz +0 -0
- package/studio/chunks/en-Cq4N1vEF.js +93 -0
- package/studio/chunks/en-Cq4N1vEF.js.br +2 -0
- package/studio/chunks/en-Cq4N1vEF.js.gz +0 -0
- package/studio/chunks/en-D2hRqlse.js +140 -0
- package/studio/chunks/en-D2hRqlse.js.br +0 -0
- package/studio/chunks/en-D2hRqlse.js.gz +0 -0
- package/studio/chunks/en-DiUC3-j6.js +144 -0
- package/studio/chunks/en-DiUC3-j6.js.br +0 -0
- package/studio/chunks/en-DiUC3-j6.js.gz +0 -0
- package/studio/chunks/english-Cs_Adu-u.js +8 -0
- package/studio/chunks/english-Cs_Adu-u.js.br +0 -0
- package/studio/chunks/english-Cs_Adu-u.js.gz +0 -0
- package/studio/chunks/esm-D6DqSiL1.js +752 -0
- package/studio/chunks/esm-D6DqSiL1.js.br +0 -0
- package/studio/chunks/esm-D6DqSiL1.js.gz +0 -0
- package/studio/chunks/externalRequest-CTzr2nDq.js +23 -0
- package/studio/chunks/externalRequest-CTzr2nDq.js.br +0 -0
- package/studio/chunks/externalRequest-CTzr2nDq.js.gz +0 -0
- package/studio/chunks/iconify-DR9ryCPv.js +1007 -0
- package/studio/chunks/iconify-DR9ryCPv.js.br +0 -0
- package/studio/chunks/iconify-DR9ryCPv.js.gz +0 -0
- package/studio/chunks/icons-D2MsAaXq.js +183 -0
- package/studio/chunks/icons-D2MsAaXq.js.br +0 -0
- package/studio/chunks/icons-D2MsAaXq.js.gz +0 -0
- package/studio/chunks/leaveGuards-D22fTGgr.js +26 -0
- package/studio/chunks/leaveGuards-D22fTGgr.js.br +0 -0
- package/studio/chunks/leaveGuards-D22fTGgr.js.gz +0 -0
- package/studio/chunks/lucideIcons-EyqyPBsX.js +238 -0
- package/studio/chunks/lucideIcons-EyqyPBsX.js.br +0 -0
- package/studio/chunks/lucideIcons-EyqyPBsX.js.gz +0 -0
- package/studio/chunks/mediaRoute--8cY8rUe.js +17 -0
- package/studio/chunks/mediaRoute--8cY8rUe.js.br +0 -0
- package/studio/chunks/mediaRoute--8cY8rUe.js.gz +0 -0
- package/studio/chunks/newDocumentPlanning-C26DHpvh.js +77 -0
- package/studio/chunks/newDocumentPlanning-C26DHpvh.js.br +0 -0
- package/studio/chunks/newDocumentPlanning-C26DHpvh.js.gz +0 -0
- package/studio/chunks/notifications-OKOLc40v.js +110 -0
- package/studio/chunks/notifications-OKOLc40v.js.br +0 -0
- package/studio/chunks/notifications-OKOLc40v.js.gz +0 -0
- package/studio/chunks/operations-CjNHyrEX.js +57 -0
- package/studio/chunks/operations-CjNHyrEX.js.br +0 -0
- package/studio/chunks/operations-CjNHyrEX.js.gz +0 -0
- package/studio/chunks/overlay-DnqFLZTc.js +1733 -0
- package/studio/chunks/overlay-DnqFLZTc.js.br +0 -0
- package/studio/chunks/overlay-DnqFLZTc.js.gz +0 -0
- package/studio/chunks/presentation-DF83w0hE.js +57 -0
- package/studio/chunks/presentation-DF83w0hE.js.br +0 -0
- package/studio/chunks/presentation-DF83w0hE.js.gz +0 -0
- package/studio/chunks/runtime-core.esm-bundler-DKFA9Rep.js +4557 -0
- package/studio/chunks/runtime-core.esm-bundler-DKFA9Rep.js.br +0 -0
- package/studio/chunks/runtime-core.esm-bundler-DKFA9Rep.js.gz +0 -0
- package/studio/chunks/searchPresentation-DFwxQkt3.js +76 -0
- package/studio/chunks/searchPresentation-DFwxQkt3.js.br +0 -0
- package/studio/chunks/searchPresentation-DFwxQkt3.js.gz +0 -0
- package/studio/chunks/status-DQv6ihkU.js +38 -0
- package/studio/chunks/status-DQv6ihkU.js.br +0 -0
- package/studio/chunks/status-DQv6ihkU.js.gz +0 -0
- package/studio/chunks/studioContext-I8HozGU1.js +4953 -0
- package/studio/chunks/studioContext-I8HozGU1.js.br +0 -0
- package/studio/chunks/studioContext-I8HozGU1.js.gz +0 -0
- package/studio/chunks/studioQueries-BR-9NT5F.js +73 -0
- package/studio/chunks/studioQueries-BR-9NT5F.js.br +0 -0
- package/studio/chunks/studioQueries-BR-9NT5F.js.gz +0 -0
- package/studio/chunks/studioSearch-ByaL-QpM.js +1095 -0
- package/studio/chunks/studioSearch-ByaL-QpM.js.br +0 -0
- package/studio/chunks/studioSearch-ByaL-QpM.js.gz +0 -0
- package/studio/chunks/useAcknowledgedDraft-0_c9sWI6.js +62 -0
- package/studio/chunks/useAcknowledgedDraft-0_c9sWI6.js.br +0 -0
- package/studio/chunks/useAcknowledgedDraft-0_c9sWI6.js.gz +0 -0
- package/studio/chunks/useApi-CUWMwLLw-B3Q3g2nf.js +189 -0
- package/studio/chunks/useApi-CUWMwLLw-B3Q3g2nf.js.br +0 -0
- package/studio/chunks/useApi-CUWMwLLw-B3Q3g2nf.js.gz +0 -0
- package/studio/chunks/useDocumentMessage-BAWvc38w.js +16 -0
- package/studio/chunks/useDocumentMessage-BAWvc38w.js.br +3 -0
- package/studio/chunks/useDocumentMessage-BAWvc38w.js.gz +0 -0
- package/studio/chunks/useFilter-DzyiTR7f.js +87 -0
- package/studio/chunks/useFilter-DzyiTR7f.js.br +0 -0
- package/studio/chunks/useFilter-DzyiTR7f.js.gz +0 -0
- package/studio/chunks/useFormControl-CL7sSCUo.js +8 -0
- package/studio/chunks/useFormControl-CL7sSCUo.js.br +0 -0
- package/studio/chunks/useFormControl-CL7sSCUo.js.gz +0 -0
- package/studio/chunks/useGraceArea-Chcy25IQ.js +154 -0
- package/studio/chunks/useGraceArea-Chcy25IQ.js.br +0 -0
- package/studio/chunks/useGraceArea-Chcy25IQ.js.gz +0 -0
- package/studio/chunks/useLeaveConfirmation-_iCSnKEp.js +44 -0
- package/studio/chunks/useLeaveConfirmation-_iCSnKEp.js.br +8 -0
- package/studio/chunks/useLeaveConfirmation-_iCSnKEp.js.gz +0 -0
- package/studio/chunks/useLinkCopy-CMjQteCy.js +35 -0
- package/studio/chunks/useLinkCopy-CMjQteCy.js.br +0 -0
- package/studio/chunks/useLinkCopy-CMjQteCy.js.gz +0 -0
- package/studio/chunks/usePointerMotion-DwRcwBNQ.js +16 -0
- package/studio/chunks/usePointerMotion-DwRcwBNQ.js.br +0 -0
- package/studio/chunks/usePointerMotion-DwRcwBNQ.js.gz +0 -0
- package/studio/chunks/useStudioNavigation-CLwtSYpb.js +298 -0
- package/studio/chunks/useStudioNavigation-CLwtSYpb.js.br +0 -0
- package/studio/chunks/useStudioNavigation-CLwtSYpb.js.gz +0 -0
- package/studio/chunks/useStudioPages-DR9qmYLg.js +79 -0
- package/studio/chunks/useStudioPages-DR9qmYLg.js.br +0 -0
- package/studio/chunks/useStudioPages-DR9qmYLg.js.gz +0 -0
- package/studio/chunks/utils-mdScC0v0.js +59 -0
- package/studio/chunks/utils-mdScC0v0.js.br +0 -0
- package/studio/chunks/utils-mdScC0v0.js.gz +0 -0
- package/studio/chunks/virtualizer-D1S0bZ4t.js +781 -0
- package/studio/chunks/virtualizer-D1S0bZ4t.js.br +0 -0
- package/studio/chunks/virtualizer-D1S0bZ4t.js.gz +0 -0
- package/studio/help/64f767fe29c2-save-and-publish.svg +7 -0
- package/studio/host.css +1 -1
- package/studio/host.css.br +0 -0
- package/studio/host.css.gz +0 -0
- package/studio/host.js +8757 -39178
- package/studio/host.js.br +0 -0
- package/studio/host.js.gz +0 -0
- package/CHANGELOG.md +0 -13
- package/bin/cms.mjs +0 -2
- package/src/ApplicationTypes.d.ts +0 -84
- package/src/ApplicationTypes.js +0 -1
- package/src/Configuration-Da5B2PVH.js +0 -1191
- package/src/Configuration-Da5B2PVH.js.map +0 -1
- package/src/Configuration.d.ts +0 -82
- package/src/Configuration.js +0 -8
- package/src/Configuration.js.map +0 -1
- package/src/Content.d.ts +0 -68
- package/src/Content.js +0 -373
- package/src/Content.js.map +0 -1
- package/src/ContentTransfer-BxwswWn3.js +0 -86
- package/src/ContentTransfer-BxwswWn3.js.map +0 -1
- package/src/ContentTransfer-Z9FHyLez.d.ts +0 -72
- package/src/DocumentEngine-hh_IGPXO.js +0 -978
- package/src/DocumentEngine-hh_IGPXO.js.map +0 -1
- package/src/DocumentModel.d.ts +0 -52
- package/src/DocumentModel.js +0 -66
- package/src/DocumentModel.js.map +0 -1
- package/src/Forms-CX-hwmJF.js +0 -391
- package/src/Forms-CX-hwmJF.js.map +0 -1
- package/src/Forms-CfNPTiCr.js +0 -110
- package/src/Forms-CfNPTiCr.js.map +0 -1
- package/src/Forms-R0HoTR-o.d.ts +0 -92
- package/src/Forms.js.map +0 -1
- package/src/HttpPaths-c9nLZ9H2.js +0 -21
- package/src/HttpPaths-c9nLZ9H2.js.map +0 -1
- package/src/I18n-zbqpWxki.d.ts +0 -29
- package/src/Media-j1bTritO.js +0 -112
- package/src/Media-j1bTritO.js.map +0 -1
- package/src/Module.js.map +0 -1
- package/src/References-CCPDAPve.js +0 -45
- package/src/References-CCPDAPve.js.map +0 -1
- package/src/S3MediaObjects-Dwhl2deX.js +0 -2742
- package/src/S3MediaObjects-Dwhl2deX.js.map +0 -1
- package/src/Seo-402YumpT.d.ts +0 -198
- package/src/cli/content.js +0 -101
- package/src/cli/content.js.map +0 -1
- package/src/cli.js.map +0 -1
- package/src/connection-BP80q4d-.js +0 -92
- package/src/connection-BP80q4d-.js.map +0 -1
- package/src/dev-lifecycle-CjDq63Ft.js +0 -535
- package/src/dev-lifecycle-CjDq63Ft.js.map +0 -1
- package/src/installation-DYNQQBD3.js +0 -9114
- package/src/installation-DYNQQBD3.js.map +0 -1
- package/src/internal/application-types.js +0 -43
- package/src/internal/application-types.js.map +0 -1
- package/src/internal/authoring-catalog.js +0 -158
- package/src/internal/authoring-catalog.js.map +0 -1
- package/src/internal/authoring-compiler.js +0 -146
- package/src/internal/authoring-compiler.js.map +0 -1
- package/src/internal/authoring-metadata.js +0 -191
- package/src/internal/authoring-metadata.js.map +0 -1
- package/src/internal/cms-config.js +0 -45
- package/src/internal/cms-config.js.map +0 -1
- package/src/internal/configuration.js +0 -228
- package/src/internal/configuration.js.map +0 -1
- package/src/internal/dev-lifecycle.js +0 -3
- package/src/internal/diagnostics.js +0 -47
- package/src/internal/diagnostics.js.map +0 -1
- package/src/internal/document-model.js +0 -376
- package/src/internal/document-model.js.map +0 -1
- package/src/internal/field-metadata.js +0 -7
- package/src/internal/field-metadata.js.map +0 -1
- package/src/internal/form-capabilities.js +0 -12
- package/src/internal/form-capabilities.js.map +0 -1
- package/src/internal/i18n.js +0 -73
- package/src/internal/i18n.js.map +0 -1
- package/src/internal/studio-app.js +0 -68
- package/src/internal/studio-app.js.map +0 -1
- package/src/location-CMNGO3lU.js +0 -35
- package/src/location-CMNGO3lU.js.map +0 -1
- package/src/metadata-DN9_K6Yl.js +0 -201
- package/src/metadata-DN9_K6Yl.js.map +0 -1
- package/src/models-5j67LMqW.js +0 -131
- package/src/models-5j67LMqW.js.map +0 -1
- package/src/models-VmGmG19-.js +0 -628
- package/src/models-VmGmG19-.js.map +0 -1
- package/src/runtime/api.js.map +0 -1
- package/src/runtime/blocks.js +0 -30
- package/src/runtime/blocks.js.map +0 -1
- package/src/runtime/collaboration.js +0 -45
- package/src/runtime/collaboration.js.map +0 -1
- package/src/runtime/delivery/DocumentField.js +0 -23
- package/src/runtime/delivery/DocumentField.js.map +0 -1
- package/src/runtime/delivery/DocumentRenderer.js +0 -61
- package/src/runtime/delivery/DocumentRenderer.js.map +0 -1
- package/src/runtime/delivery/DocumentScope.js +0 -41
- package/src/runtime/delivery/DocumentScope.js.map +0 -1
- package/src/runtime/delivery/blocks.js +0 -8
- package/src/runtime/delivery/blocks.js.map +0 -1
- package/src/runtime/delivery/context.js +0 -12
- package/src/runtime/delivery/context.js.map +0 -1
- package/src/runtime/delivery/document-page.js +0 -21
- package/src/runtime/delivery/document-page.js.map +0 -1
- package/src/runtime/delivery/document.js +0 -43
- package/src/runtime/delivery/document.js.map +0 -1
- package/src/runtime/delivery/error.js +0 -11
- package/src/runtime/delivery/error.js.map +0 -1
- package/src/runtime/delivery/plugin.js +0 -99
- package/src/runtime/delivery/plugin.js.map +0 -1
- package/src/runtime/delivery/preview.d.ts +0 -11
- package/src/runtime/delivery/preview.js +0 -6
- package/src/runtime/delivery/preview.js.map +0 -1
- package/src/runtime/delivery/types.d.ts +0 -2
- package/src/runtime/delivery/types.js +0 -1
- package/src/runtime/delivery/useCmsDocumentSeo.d.ts +0 -67
- package/src/runtime/delivery/useCmsDocumentSeo.js.map +0 -1
- package/src/runtime/delivery/useDocument.d.ts +0 -6
- package/src/runtime/delivery/useDocument.js +0 -23
- package/src/runtime/delivery/useDocument.js.map +0 -1
- package/src/runtime/delivery/useDocumentQuery.d.ts +0 -7
- package/src/runtime/delivery/useDocumentQuery.js +0 -29
- package/src/runtime/delivery/useDocumentQuery.js.map +0 -1
- package/src/runtime/forms/document.js +0 -38
- package/src/runtime/forms/document.js.map +0 -1
- package/src/runtime/forms/useCmsForm.js +0 -257
- package/src/runtime/forms/useCmsForm.js.map +0 -1
- package/src/runtime/i18n/translator.js +0 -51
- package/src/runtime/i18n/translator.js.map +0 -1
- package/src/runtime/i18n/useCmsI18n.d.ts +0 -13
- package/src/runtime/i18n/useCmsI18n.js +0 -38
- package/src/runtime/i18n/useCmsI18n.js.map +0 -1
- package/src/runtime/installation.js +0 -3
- package/src/runtime/plugin.js.map +0 -1
- package/src/runtime/preview/CmsStudioPreviewMarker.js +0 -29
- package/src/runtime/preview/CmsStudioPreviewMarker.js.map +0 -1
- package/src/runtime/preview/comark-document.js +0 -37
- package/src/runtime/preview/comark-document.js.map +0 -1
- package/src/runtime/preview/connection.js +0 -3
- package/src/runtime/preview/controller.js +0 -265
- package/src/runtime/preview/controller.js.map +0 -1
- package/src/runtime/preview/crypto.js +0 -16
- package/src/runtime/preview/crypto.js.map +0 -1
- package/src/runtime/preview/overlay.js +0 -122
- package/src/runtime/preview/overlay.js.map +0 -1
- package/src/runtime/preview/plugin.client.js +0 -68
- package/src/runtime/preview/plugin.client.js.map +0 -1
- package/src/runtime/preview/preview.css +0 -91
- package/src/runtime/preview/protocol.d.ts +0 -16
- package/src/runtime/preview/protocol.js +0 -23
- package/src/runtime/preview/protocol.js.map +0 -1
- package/src/runtime/preview/regions.js +0 -142
- package/src/runtime/preview/regions.js.map +0 -1
- package/src/runtime/preview/store.js +0 -4
- package/src/runtime/sitemap-entries.js +0 -17
- package/src/runtime/sitemap-entries.js.map +0 -1
- package/src/runtime/sitemap.js +0 -23
- package/src/runtime/sitemap.js.map +0 -1
- package/src/runtime/studio-app.js +0 -17
- package/src/runtime/studio-app.js.map +0 -1
- package/src/runtime/studio-document.js +0 -46
- package/src/runtime/studio-document.js.map +0 -1
- package/src/runtime/studio-entry.js +0 -19
- package/src/runtime/studio-entry.js.map +0 -1
- package/src/runtime/studio-navigation.js +0 -11
- package/src/runtime/studio-navigation.js.map +0 -1
- package/src/scalars-CA6kyipS.d.ts +0 -7
- package/src/scalars-CVZqT3L0.js +0 -22
- package/src/scalars-CVZqT3L0.js.map +0 -1
- package/src/store-X1e1o_MF.js +0 -209
- package/src/store-X1e1o_MF.js.map +0 -1
- package/src/types-DZ0IV-Ow.d.ts +0 -101
- package/studio/CreateDocumentDialog-BpjBYGfI.js +0 -335
- package/studio/SelectMenu-KiXwx4Y_.js +0 -34032
- package/studio/collaboration-DcK2F6v9.js +0 -4566
- package/studio/editor-P2rB7Csp.js +0 -30128
- package/studio/rolldown-runtime-Dy4uBu1J.js +0 -11
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { $ as e, E as t, b as n, y as r } from "./Button-BT3ztSPx.js";
|
|
2
|
+
import { A as i, Ci as a, E as o, Or as s, Pn as c, gn as l, ra as u } from "./runtime-core.esm-bundler-DKFA9Rep.js";
|
|
3
|
+
//#region virtual:nuxt-ui-templates/ui/skeleton.ts
|
|
4
|
+
var d = { base: "animate-pulse rounded-md bg-elevated" }, f = {
|
|
5
|
+
__name: "Skeleton",
|
|
6
|
+
props: {
|
|
7
|
+
as: {
|
|
8
|
+
type: null,
|
|
9
|
+
required: !1
|
|
10
|
+
},
|
|
11
|
+
class: {
|
|
12
|
+
type: null,
|
|
13
|
+
required: !1
|
|
14
|
+
},
|
|
15
|
+
ui: {
|
|
16
|
+
type: Object,
|
|
17
|
+
required: !1
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
setup(f) {
|
|
21
|
+
let p = n("skeleton", f), m = e(), h = o(() => r({
|
|
22
|
+
extend: d,
|
|
23
|
+
...m.ui?.skeleton || {}
|
|
24
|
+
}));
|
|
25
|
+
return (e, n) => (l(), i(a(t), {
|
|
26
|
+
as: a(p).as,
|
|
27
|
+
"aria-busy": "true",
|
|
28
|
+
"aria-label": "loading",
|
|
29
|
+
"aria-live": "polite",
|
|
30
|
+
role: "alert",
|
|
31
|
+
class: u(h.value({ class: [a(p).ui?.base, a(p).class] }))
|
|
32
|
+
}, {
|
|
33
|
+
default: s(() => [c(e.$slots, "default")]),
|
|
34
|
+
_: 3
|
|
35
|
+
}, 8, ["as", "class"]));
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
export { f as t };
|
|
Binary file
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { $ as e, B as t, Lt as n, S as r, b as i, d as a, h as o, t as s, w as c, x as l, y as u } from "./Button-BT3ztSPx.js";
|
|
2
|
+
import { $t as d, A as f, B as p, Ci as m, E as h, M as g, N as _, Or as v, Pn as y, V as b, aa as x, fa as S, gi as C, gn as w, ir as T, k as E, mr as D, pt as O, ra as k } from "./runtime-core.esm-bundler-DKFA9Rep.js";
|
|
3
|
+
import { D as A, a as j, c as M, i as N, l as P, s as F, t as I, u as L } from "./overlay-DnqFLZTc.js";
|
|
4
|
+
//#region virtual:nuxt-ui-templates/ui/slideover.ts
|
|
5
|
+
var R = {
|
|
6
|
+
slots: {
|
|
7
|
+
overlay: "fixed inset-0 bg-elevated/75",
|
|
8
|
+
content: "fixed bg-default divide-y divide-default sm:ring ring-default sm:shadow-lg flex flex-col focus:outline-none",
|
|
9
|
+
header: "flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)",
|
|
10
|
+
wrapper: "",
|
|
11
|
+
body: "flex-1 overflow-y-auto p-4 sm:p-6",
|
|
12
|
+
footer: "flex items-center gap-1.5 p-4 sm:px-6",
|
|
13
|
+
title: "text-highlighted font-semibold",
|
|
14
|
+
description: "mt-1 text-muted text-sm",
|
|
15
|
+
close: "absolute top-4 end-4"
|
|
16
|
+
},
|
|
17
|
+
variants: {
|
|
18
|
+
side: {
|
|
19
|
+
top: { content: "" },
|
|
20
|
+
right: { content: "max-w-md" },
|
|
21
|
+
bottom: { content: "" },
|
|
22
|
+
left: { content: "max-w-md" }
|
|
23
|
+
},
|
|
24
|
+
inset: { true: { content: "rounded-lg" } },
|
|
25
|
+
transition: { true: { overlay: "data-[state=open]:animate-[fade-in_200ms_var(--ease-out)] data-[state=closed]:animate-[fade-out_200ms_var(--ease-out)]" } }
|
|
26
|
+
},
|
|
27
|
+
compoundVariants: [
|
|
28
|
+
{
|
|
29
|
+
side: "top",
|
|
30
|
+
inset: !0,
|
|
31
|
+
class: { content: "max-h-[calc(100%-2rem)] inset-x-4 top-4" }
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
side: "top",
|
|
35
|
+
inset: !1,
|
|
36
|
+
class: { content: "max-h-full inset-x-0 top-0" }
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
side: "right",
|
|
40
|
+
inset: !0,
|
|
41
|
+
class: { content: "w-[calc(100%-2rem)] inset-y-4 right-4" }
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
side: "right",
|
|
45
|
+
inset: !1,
|
|
46
|
+
class: { content: "w-full inset-y-0 right-0" }
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
side: "bottom",
|
|
50
|
+
inset: !0,
|
|
51
|
+
class: { content: "max-h-[calc(100%-2rem)] inset-x-4 bottom-4" }
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
side: "bottom",
|
|
55
|
+
inset: !1,
|
|
56
|
+
class: { content: "max-h-full inset-x-0 bottom-0" }
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
side: "left",
|
|
60
|
+
inset: !0,
|
|
61
|
+
class: { content: "w-[calc(100%-2rem)] inset-y-4 left-4" }
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
side: "left",
|
|
65
|
+
inset: !1,
|
|
66
|
+
class: { content: "w-full inset-y-0 left-0" }
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
transition: !0,
|
|
70
|
+
side: "top",
|
|
71
|
+
class: { content: "data-[state=open]:animate-[slide-in-from-top_200ms_var(--ease-out)] data-[state=closed]:animate-[slide-out-to-top_200ms_var(--ease-out)]" }
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
transition: !0,
|
|
75
|
+
side: "right",
|
|
76
|
+
class: { content: "data-[state=open]:animate-[slide-in-from-right_200ms_var(--ease-out)] data-[state=closed]:animate-[slide-out-to-right_200ms_var(--ease-out)]" }
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
transition: !0,
|
|
80
|
+
side: "bottom",
|
|
81
|
+
class: { content: "data-[state=open]:animate-[slide-in-from-bottom_200ms_var(--ease-out)] data-[state=closed]:animate-[slide-out-to-bottom_200ms_var(--ease-out)]" }
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
transition: !0,
|
|
85
|
+
side: "left",
|
|
86
|
+
class: { content: "data-[state=open]:animate-[slide-in-from-left_200ms_var(--ease-out)] data-[state=closed]:animate-[slide-out-to-left_200ms_var(--ease-out)]" }
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}, z = {
|
|
90
|
+
__name: "Slideover",
|
|
91
|
+
props: {
|
|
92
|
+
title: {
|
|
93
|
+
type: String,
|
|
94
|
+
required: !1
|
|
95
|
+
},
|
|
96
|
+
description: {
|
|
97
|
+
type: String,
|
|
98
|
+
required: !1
|
|
99
|
+
},
|
|
100
|
+
content: {
|
|
101
|
+
type: Object,
|
|
102
|
+
required: !1
|
|
103
|
+
},
|
|
104
|
+
overlay: {
|
|
105
|
+
type: Boolean,
|
|
106
|
+
required: !1,
|
|
107
|
+
default: !0
|
|
108
|
+
},
|
|
109
|
+
transition: {
|
|
110
|
+
type: Boolean,
|
|
111
|
+
required: !1,
|
|
112
|
+
default: !0
|
|
113
|
+
},
|
|
114
|
+
side: {
|
|
115
|
+
type: null,
|
|
116
|
+
required: !1,
|
|
117
|
+
default: "right"
|
|
118
|
+
},
|
|
119
|
+
inset: {
|
|
120
|
+
type: Boolean,
|
|
121
|
+
required: !1
|
|
122
|
+
},
|
|
123
|
+
portal: {
|
|
124
|
+
type: [Boolean, String],
|
|
125
|
+
required: !1,
|
|
126
|
+
skipCheck: !0,
|
|
127
|
+
default: !0
|
|
128
|
+
},
|
|
129
|
+
close: {
|
|
130
|
+
type: [Boolean, Object],
|
|
131
|
+
required: !1,
|
|
132
|
+
default: !0
|
|
133
|
+
},
|
|
134
|
+
closeIcon: {
|
|
135
|
+
type: null,
|
|
136
|
+
required: !1
|
|
137
|
+
},
|
|
138
|
+
dismissible: {
|
|
139
|
+
type: Boolean,
|
|
140
|
+
required: !1,
|
|
141
|
+
default: !0
|
|
142
|
+
},
|
|
143
|
+
class: {
|
|
144
|
+
type: null,
|
|
145
|
+
required: !1
|
|
146
|
+
},
|
|
147
|
+
ui: {
|
|
148
|
+
type: Object,
|
|
149
|
+
required: !1
|
|
150
|
+
},
|
|
151
|
+
open: {
|
|
152
|
+
type: Boolean,
|
|
153
|
+
required: !1
|
|
154
|
+
},
|
|
155
|
+
defaultOpen: {
|
|
156
|
+
type: Boolean,
|
|
157
|
+
required: !1
|
|
158
|
+
},
|
|
159
|
+
modal: {
|
|
160
|
+
type: Boolean,
|
|
161
|
+
required: !1,
|
|
162
|
+
default: !0
|
|
163
|
+
},
|
|
164
|
+
unmountOnHide: {
|
|
165
|
+
type: Boolean,
|
|
166
|
+
required: !1
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
emits: [
|
|
170
|
+
"leave",
|
|
171
|
+
"after:leave",
|
|
172
|
+
"enter",
|
|
173
|
+
"after:enter",
|
|
174
|
+
"close:prevent",
|
|
175
|
+
"update:open"
|
|
176
|
+
],
|
|
177
|
+
setup(z, { emit: B }) {
|
|
178
|
+
let V = z, H = B, U = D(), W = i("slideover", V), { t: G } = t(), K = e(), q = o(n(W, "open", "defaultOpen", "modal", "unmountOnHide"), H), J = N(C(() => W.portal)), Y = C(() => W.content), X = h(() => W.dismissible ? { pointerDownOutside: I } : ["interactOutside", "escapeKeyDown"].reduce((e, t) => (e[t] = (e) => {
|
|
179
|
+
e.preventDefault(), H("close:prevent");
|
|
180
|
+
}, e), {})), Z = h(() => u({
|
|
181
|
+
extend: R,
|
|
182
|
+
...K.ui?.slideover || {}
|
|
183
|
+
})({
|
|
184
|
+
transition: W.transition,
|
|
185
|
+
side: W.side,
|
|
186
|
+
inset: W.inset
|
|
187
|
+
}));
|
|
188
|
+
return (e, t) => (w(), f(m(c), x(O(m(q))), {
|
|
189
|
+
default: v(({ open: n, close: i }) => [U.default ? (w(), f(m(l), {
|
|
190
|
+
key: 0,
|
|
191
|
+
"as-child": "",
|
|
192
|
+
class: k(m(W).class)
|
|
193
|
+
}, {
|
|
194
|
+
default: v(() => [y(e.$slots, "default", { open: n })]),
|
|
195
|
+
_: 2
|
|
196
|
+
}, 1032, ["class"])) : g("", !0), b(m(r), d(m(J), { "force-mount": m(J).disabled && m(W).unmountOnHide === !1 || void 0 }), {
|
|
197
|
+
default: v(() => [b(m(a), null, {
|
|
198
|
+
default: v(() => [m(W).overlay ? (w(), f(m(M), {
|
|
199
|
+
key: 0,
|
|
200
|
+
"data-slot": "overlay",
|
|
201
|
+
class: k(Z.value.overlay({ class: m(W).ui?.overlay }))
|
|
202
|
+
}, null, 8, ["class"])) : g("", !0), b(m(L), d({
|
|
203
|
+
"data-side": m(W).side,
|
|
204
|
+
"data-slot": "content",
|
|
205
|
+
class: Z.value.content({ class: [!U.default && m(W).class, m(W).ui?.content] })
|
|
206
|
+
}, Y.value, {
|
|
207
|
+
onEnter: t[0] ||= (e) => H("enter"),
|
|
208
|
+
onAfterEnter: t[1] ||= (e) => H("after:enter"),
|
|
209
|
+
onLeave: t[2] ||= (e) => H("leave"),
|
|
210
|
+
onAfterLeave: t[3] ||= (e) => H("after:leave")
|
|
211
|
+
}, T(X.value)), {
|
|
212
|
+
default: v(() => [!m(W).title && !U.title || !m(W).description && !U.description || U.content ? (w(), f(m(j), { key: 0 }, {
|
|
213
|
+
default: v(() => [!m(W).title && !U.title ? (w(), f(m(F), { key: 0 })) : U.content ? (w(), f(m(F), { key: 1 }, {
|
|
214
|
+
default: v(() => [y(e.$slots, "title", {}, () => [p(S(m(W).title), 1)])]),
|
|
215
|
+
_: 3
|
|
216
|
+
})) : g("", !0), !m(W).description && !U.description ? (w(), f(m(P), { key: 2 })) : U.content ? (w(), f(m(P), { key: 3 }, {
|
|
217
|
+
default: v(() => [y(e.$slots, "description", {}, () => [p(S(m(W).description), 1)])]),
|
|
218
|
+
_: 3
|
|
219
|
+
})) : g("", !0)]),
|
|
220
|
+
_: 3
|
|
221
|
+
})) : g("", !0), y(e.$slots, "content", { close: i }, () => [
|
|
222
|
+
U.header || m(W).title || U.title || m(W).description || U.description || m(W).close || U.close ? (w(), _("div", {
|
|
223
|
+
key: 0,
|
|
224
|
+
"data-slot": "header",
|
|
225
|
+
class: k(Z.value.header({ class: m(W).ui?.header }))
|
|
226
|
+
}, [y(e.$slots, "header", { close: i }, () => [
|
|
227
|
+
m(W).title || U.title || m(W).description || U.description ? (w(), _("div", {
|
|
228
|
+
key: 0,
|
|
229
|
+
"data-slot": "wrapper",
|
|
230
|
+
class: k(Z.value.wrapper({ class: m(W).ui?.wrapper }))
|
|
231
|
+
}, [m(W).title || U.title ? (w(), f(m(F), {
|
|
232
|
+
key: 0,
|
|
233
|
+
"data-slot": "title",
|
|
234
|
+
class: k(Z.value.title({ class: m(W).ui?.title }))
|
|
235
|
+
}, {
|
|
236
|
+
default: v(() => [y(e.$slots, "title", {}, () => [p(S(m(W).title), 1)])]),
|
|
237
|
+
_: 3
|
|
238
|
+
}, 8, ["class"])) : g("", !0), m(W).description || U.description ? (w(), f(m(P), {
|
|
239
|
+
key: 1,
|
|
240
|
+
"data-slot": "description",
|
|
241
|
+
class: k(Z.value.description({ class: m(W).ui?.description }))
|
|
242
|
+
}, {
|
|
243
|
+
default: v(() => [y(e.$slots, "description", {}, () => [p(S(m(W).description), 1)])]),
|
|
244
|
+
_: 3
|
|
245
|
+
}, 8, ["class"])) : g("", !0)], 2)) : g("", !0),
|
|
246
|
+
y(e.$slots, "actions"),
|
|
247
|
+
m(W).close || U.close ? (w(), f(m(A), {
|
|
248
|
+
key: 1,
|
|
249
|
+
"as-child": ""
|
|
250
|
+
}, {
|
|
251
|
+
default: v(() => [y(e.$slots, "close", { ui: Z.value }, () => [m(W).close ? (w(), f(s, d({
|
|
252
|
+
key: 0,
|
|
253
|
+
icon: m(W).closeIcon || m(K).ui.icons.close,
|
|
254
|
+
color: "neutral",
|
|
255
|
+
variant: "ghost",
|
|
256
|
+
"aria-label": m(G)("slideover.close")
|
|
257
|
+
}, typeof m(W).close == "object" ? m(W).close : {}, {
|
|
258
|
+
"data-slot": "close",
|
|
259
|
+
class: Z.value.close({ class: m(W).ui?.close })
|
|
260
|
+
}), null, 16, [
|
|
261
|
+
"icon",
|
|
262
|
+
"aria-label",
|
|
263
|
+
"class"
|
|
264
|
+
])) : g("", !0)])]),
|
|
265
|
+
_: 2
|
|
266
|
+
}, 1024)) : g("", !0)
|
|
267
|
+
])], 2)) : g("", !0),
|
|
268
|
+
E("div", {
|
|
269
|
+
"data-slot": "body",
|
|
270
|
+
class: k(Z.value.body({ class: m(W).ui?.body }))
|
|
271
|
+
}, [y(e.$slots, "body", { close: i })], 2),
|
|
272
|
+
U.footer ? (w(), _("div", {
|
|
273
|
+
key: 1,
|
|
274
|
+
"data-slot": "footer",
|
|
275
|
+
class: k(Z.value.footer({ class: m(W).ui?.footer }))
|
|
276
|
+
}, [y(e.$slots, "footer", { close: i })], 2)) : g("", !0)
|
|
277
|
+
])]),
|
|
278
|
+
_: 2
|
|
279
|
+
}, 1040, ["data-side", "class"])]),
|
|
280
|
+
_: 2
|
|
281
|
+
}, 1024)]),
|
|
282
|
+
_: 2
|
|
283
|
+
}, 1040, ["force-mount"])]),
|
|
284
|
+
_: 3
|
|
285
|
+
}, 16));
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
//#endregion
|
|
289
|
+
export { z as t };
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { _o as e } from "./Search-BEgCe9Aj.js";
|
|
2
|
+
import { A as t, Ci as n, K as r, M as i, N as a, Or as o, Pn as s, R as c, fa as l, gn as u, k as d, ur as f } from "./runtime-core.esm-bundler-DKFA9Rep.js";
|
|
3
|
+
//#region src/ui/page/StudioPageHeading.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var p = { class: "flex min-w-0 flex-col gap-4 @min-[36rem]:flex-row @min-[36rem]:items-start @min-[36rem]:justify-between" }, m = { class: "min-w-0 flex-1" }, h = [
|
|
5
|
+
"id",
|
|
6
|
+
"lang",
|
|
7
|
+
"dir"
|
|
8
|
+
], g = ["lang", "dir"], _ = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "mt-1 text-xs leading-5 text-muted"
|
|
11
|
+
}, v = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "flex min-w-0 flex-wrap items-center gap-2 @min-[36rem]:justify-end"
|
|
14
|
+
}, y = /* @__PURE__ */ r({
|
|
15
|
+
__name: "StudioPageHeading",
|
|
16
|
+
props: {
|
|
17
|
+
title: {},
|
|
18
|
+
description: {},
|
|
19
|
+
summary: {},
|
|
20
|
+
headingId: {},
|
|
21
|
+
headingLocale: {}
|
|
22
|
+
},
|
|
23
|
+
setup(t, { slots: r }) {
|
|
24
|
+
let o = f();
|
|
25
|
+
return (c, f) => (u(), a("header", p, [d("div", m, [
|
|
26
|
+
d("h1", {
|
|
27
|
+
id: t.headingId ?? n(o),
|
|
28
|
+
lang: t.headingLocale,
|
|
29
|
+
dir: t.headingLocale ? n(e)(t.headingLocale) : void 0,
|
|
30
|
+
class: "wrap-break-word text-2xl font-semibold tracking-tight text-highlighted"
|
|
31
|
+
}, l(t.title), 9, h),
|
|
32
|
+
t.description ? (u(), a("p", {
|
|
33
|
+
key: 0,
|
|
34
|
+
lang: t.headingLocale,
|
|
35
|
+
dir: t.headingLocale ? n(e)(t.headingLocale) : void 0,
|
|
36
|
+
class: "mt-1 max-w-2xl text-sm leading-6 text-muted"
|
|
37
|
+
}, l(t.description), 9, g)) : i("", !0),
|
|
38
|
+
t.summary ? (u(), a("p", _, l(t.summary), 1)) : i("", !0)
|
|
39
|
+
]), r.actions ? (u(), a("div", v, [s(c.$slots, "actions")])) : i("", !0)]));
|
|
40
|
+
}
|
|
41
|
+
}), b = ["aria-labelledby", "aria-label"], x = { class: "mx-auto flex w-full min-w-0 flex-col gap-6" }, S = /* @__PURE__ */ r({
|
|
42
|
+
__name: "StudioPage",
|
|
43
|
+
props: {
|
|
44
|
+
title: {},
|
|
45
|
+
description: {},
|
|
46
|
+
summary: {},
|
|
47
|
+
heading: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: !0
|
|
50
|
+
},
|
|
51
|
+
headingLocale: {}
|
|
52
|
+
},
|
|
53
|
+
setup(e, { slots: r }) {
|
|
54
|
+
let l = f();
|
|
55
|
+
return (f, p) => (u(), a("main", {
|
|
56
|
+
class: "@container min-h-0 min-w-0 flex-1 overflow-y-auto overscroll-contain p-5 sm:p-7 lg:p-8",
|
|
57
|
+
"aria-labelledby": e.heading ? n(l) : void 0,
|
|
58
|
+
"aria-label": e.heading ? void 0 : e.title
|
|
59
|
+
}, [d("div", x, [e.heading ? (u(), t(y, {
|
|
60
|
+
key: 0,
|
|
61
|
+
"heading-id": n(l),
|
|
62
|
+
"heading-locale": e.headingLocale,
|
|
63
|
+
title: e.title,
|
|
64
|
+
description: e.description,
|
|
65
|
+
summary: e.summary
|
|
66
|
+
}, c({ _: 2 }, [r.actions ? {
|
|
67
|
+
name: "actions",
|
|
68
|
+
fn: o(() => [s(f.$slots, "actions")]),
|
|
69
|
+
key: "0"
|
|
70
|
+
} : void 0]), 1032, [
|
|
71
|
+
"heading-id",
|
|
72
|
+
"heading-locale",
|
|
73
|
+
"title",
|
|
74
|
+
"description",
|
|
75
|
+
"summary"
|
|
76
|
+
])) : i("", !0), s(f.$slots, "default")])], 8, b));
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
//#endregion
|
|
80
|
+
export { S as t };
|
|
Binary file
|
|
Binary file
|