@nodehive/nextjs 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.
- package/LICENSE +21 -0
- package/README.md +102 -0
- package/dist/auth/index.d.ts +6 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +7 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/internal/config.d.ts +24 -0
- package/dist/auth/internal/config.d.ts.map +1 -0
- package/dist/auth/internal/config.js +2 -0
- package/dist/auth/internal/config.js.map +1 -0
- package/dist/auth/internal/draft-mode.d.ts +17 -0
- package/dist/auth/internal/draft-mode.d.ts.map +1 -0
- package/dist/auth/internal/draft-mode.js +73 -0
- package/dist/auth/internal/draft-mode.js.map +1 -0
- package/dist/auth/internal/editor-locale.d.ts +4 -0
- package/dist/auth/internal/editor-locale.d.ts.map +1 -0
- package/dist/auth/internal/editor-locale.js +14 -0
- package/dist/auth/internal/editor-locale.js.map +1 -0
- package/dist/auth/internal/handoff.d.ts +11 -0
- package/dist/auth/internal/handoff.d.ts.map +1 -0
- package/dist/auth/internal/handoff.js +44 -0
- package/dist/auth/internal/handoff.js.map +1 -0
- package/dist/auth/internal/has-session.d.ts +7 -0
- package/dist/auth/internal/has-session.d.ts.map +1 -0
- package/dist/auth/internal/has-session.js +11 -0
- package/dist/auth/internal/has-session.js.map +1 -0
- package/dist/auth/internal/logout.d.ts +12 -0
- package/dist/auth/internal/logout.d.ts.map +1 -0
- package/dist/auth/internal/logout.js +48 -0
- package/dist/auth/internal/logout.js.map +1 -0
- package/dist/auth/internal/next-cookie-storage.d.ts +28 -0
- package/dist/auth/internal/next-cookie-storage.d.ts.map +1 -0
- package/dist/auth/internal/next-cookie-storage.js +103 -0
- package/dist/auth/internal/next-cookie-storage.js.map +1 -0
- package/dist/auth/internal/nodehive-client.d.ts +6 -0
- package/dist/auth/internal/nodehive-client.d.ts.map +1 -0
- package/dist/auth/internal/nodehive-client.js +64 -0
- package/dist/auth/internal/nodehive-client.js.map +1 -0
- package/dist/auth/internal/oauth-config.d.ts +37 -0
- package/dist/auth/internal/oauth-config.d.ts.map +1 -0
- package/dist/auth/internal/oauth-config.js +70 -0
- package/dist/auth/internal/oauth-config.js.map +1 -0
- package/dist/auth/internal/proxy-helpers.d.ts +15 -0
- package/dist/auth/internal/proxy-helpers.d.ts.map +1 -0
- package/dist/auth/internal/proxy-helpers.js +43 -0
- package/dist/auth/internal/proxy-helpers.js.map +1 -0
- package/dist/auth/internal/refresh.d.ts +13 -0
- package/dist/auth/internal/refresh.d.ts.map +1 -0
- package/dist/auth/internal/refresh.js +170 -0
- package/dist/auth/internal/refresh.js.map +1 -0
- package/dist/auth/internal/require-auth.d.ts +2 -0
- package/dist/auth/internal/require-auth.d.ts.map +1 -0
- package/dist/auth/internal/require-auth.js +11 -0
- package/dist/auth/internal/require-auth.js.map +1 -0
- package/dist/auth/internal/return-to.d.ts +16 -0
- package/dist/auth/internal/return-to.d.ts.map +1 -0
- package/dist/auth/internal/return-to.js +31 -0
- package/dist/auth/internal/return-to.js.map +1 -0
- package/dist/auth/internal/routes/callback.d.ts +11 -0
- package/dist/auth/internal/routes/callback.d.ts.map +1 -0
- package/dist/auth/internal/routes/callback.js +93 -0
- package/dist/auth/internal/routes/callback.js.map +1 -0
- package/dist/auth/internal/routes/chips-exchange.d.ts +4 -0
- package/dist/auth/internal/routes/chips-exchange.d.ts.map +1 -0
- package/dist/auth/internal/routes/chips-exchange.js +64 -0
- package/dist/auth/internal/routes/chips-exchange.js.map +1 -0
- package/dist/auth/internal/routes/draft.d.ts +4 -0
- package/dist/auth/internal/routes/draft.d.ts.map +1 -0
- package/dist/auth/internal/routes/draft.js +34 -0
- package/dist/auth/internal/routes/draft.js.map +1 -0
- package/dist/auth/internal/routes/index.d.ts +25 -0
- package/dist/auth/internal/routes/index.d.ts.map +1 -0
- package/dist/auth/internal/routes/index.js +66 -0
- package/dist/auth/internal/routes/index.js.map +1 -0
- package/dist/auth/internal/routes/login.d.ts +3 -0
- package/dist/auth/internal/routes/login.d.ts.map +1 -0
- package/dist/auth/internal/routes/login.js +47 -0
- package/dist/auth/internal/routes/login.js.map +1 -0
- package/dist/auth/internal/routes/popup-done.d.ts +3 -0
- package/dist/auth/internal/routes/popup-done.d.ts.map +1 -0
- package/dist/auth/internal/routes/popup-done.js +24 -0
- package/dist/auth/internal/routes/popup-done.js.map +1 -0
- package/dist/auth/internal/routes/refresh.d.ts +6 -0
- package/dist/auth/internal/routes/refresh.d.ts.map +1 -0
- package/dist/auth/internal/routes/refresh.js +44 -0
- package/dist/auth/internal/routes/refresh.js.map +1 -0
- package/dist/auth/internal/same-origin.d.ts +8 -0
- package/dist/auth/internal/same-origin.d.ts.map +1 -0
- package/dist/auth/internal/same-origin.js +9 -0
- package/dist/auth/internal/same-origin.js.map +1 -0
- package/dist/auth/internal/session-gates.d.ts +7 -0
- package/dist/auth/internal/session-gates.d.ts.map +1 -0
- package/dist/auth/internal/session-gates.js +12 -0
- package/dist/auth/internal/session-gates.js.map +1 -0
- package/dist/auth/internal/update-session.d.ts +17 -0
- package/dist/auth/internal/update-session.d.ts.map +1 -0
- package/dist/auth/internal/update-session.js +39 -0
- package/dist/auth/internal/update-session.js.map +1 -0
- package/dist/auth/internal/use-editor-login.d.ts +33 -0
- package/dist/auth/internal/use-editor-login.d.ts.map +1 -0
- package/dist/auth/internal/use-editor-login.js +143 -0
- package/dist/auth/internal/use-editor-login.js.map +1 -0
- package/dist/auth/proxy.d.ts +8 -0
- package/dist/auth/proxy.d.ts.map +1 -0
- package/dist/auth/proxy.js +8 -0
- package/dist/auth/proxy.js.map +1 -0
- package/dist/auth/react.d.ts +2 -0
- package/dist/auth/react.d.ts.map +1 -0
- package/dist/auth/react.js +3 -0
- package/dist/auth/react.js.map +1 -0
- package/dist/auth/routes.d.ts +3 -0
- package/dist/auth/routes.d.ts.map +1 -0
- package/dist/auth/routes.js +3 -0
- package/dist/auth/routes.js.map +1 -0
- package/dist/auth/server.d.ts +23 -0
- package/dist/auth/server.d.ts.map +1 -0
- package/dist/auth/server.js +61 -0
- package/dist/auth/server.js.map +1 -0
- package/dist/puck-editor/fields.d.ts +7 -0
- package/dist/puck-editor/fields.d.ts.map +1 -0
- package/dist/puck-editor/fields.js +4 -0
- package/dist/puck-editor/fields.js.map +1 -0
- package/dist/puck-editor/index.d.ts +14 -0
- package/dist/puck-editor/index.d.ts.map +1 -0
- package/dist/puck-editor/index.js +12 -0
- package/dist/puck-editor/index.js.map +1 -0
- package/dist/puck-editor/internal/api/client.d.ts +32 -0
- package/dist/puck-editor/internal/api/client.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/client.js +128 -0
- package/dist/puck-editor/internal/api/client.js.map +1 -0
- package/dist/puck-editor/internal/api/config.d.ts +29 -0
- package/dist/puck-editor/internal/api/config.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/config.js +2 -0
- package/dist/puck-editor/internal/api/config.js.map +1 -0
- package/dist/puck-editor/internal/api/create-puck-api.d.ts +26 -0
- package/dist/puck-editor/internal/api/create-puck-api.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/create-puck-api.js +124 -0
- package/dist/puck-editor/internal/api/create-puck-api.js.map +1 -0
- package/dist/puck-editor/internal/api/handlers/create-page.d.ts +13 -0
- package/dist/puck-editor/internal/api/handlers/create-page.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/handlers/create-page.js +125 -0
- package/dist/puck-editor/internal/api/handlers/create-page.js.map +1 -0
- package/dist/puck-editor/internal/api/handlers/entities.d.ts +17 -0
- package/dist/puck-editor/internal/api/handlers/entities.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/handlers/entities.js +166 -0
- package/dist/puck-editor/internal/api/handlers/entities.js.map +1 -0
- package/dist/puck-editor/internal/api/handlers/publish.d.ts +6 -0
- package/dist/puck-editor/internal/api/handlers/publish.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/handlers/publish.js +115 -0
- package/dist/puck-editor/internal/api/handlers/publish.js.map +1 -0
- package/dist/puck-editor/internal/api/handlers/template.d.ts +15 -0
- package/dist/puck-editor/internal/api/handlers/template.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/handlers/template.js +222 -0
- package/dist/puck-editor/internal/api/handlers/template.js.map +1 -0
- package/dist/puck-editor/internal/api/handlers/upload.d.ts +13 -0
- package/dist/puck-editor/internal/api/handlers/upload.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/handlers/upload.js +129 -0
- package/dist/puck-editor/internal/api/handlers/upload.js.map +1 -0
- package/dist/puck-editor/internal/api/media-params.d.ts +4 -0
- package/dist/puck-editor/internal/api/media-params.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/media-params.js +38 -0
- package/dist/puck-editor/internal/api/media-params.js.map +1 -0
- package/dist/puck-editor/internal/api/media-upload.d.ts +24 -0
- package/dist/puck-editor/internal/api/media-upload.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/media-upload.js +171 -0
- package/dist/puck-editor/internal/api/media-upload.js.map +1 -0
- package/dist/puck-editor/internal/api/space.d.ts +4 -0
- package/dist/puck-editor/internal/api/space.d.ts.map +1 -0
- package/dist/puck-editor/internal/api/space.js +11 -0
- package/dist/puck-editor/internal/api/space.js.map +1 -0
- package/dist/puck-editor/internal/content-model.d.ts +55 -0
- package/dist/puck-editor/internal/content-model.d.ts.map +1 -0
- package/dist/puck-editor/internal/content-model.js +73 -0
- package/dist/puck-editor/internal/content-model.js.map +1 -0
- package/dist/puck-editor/internal/editor/allowed-types.d.ts +4 -0
- package/dist/puck-editor/internal/editor/allowed-types.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/allowed-types.js +6 -0
- package/dist/puck-editor/internal/editor/allowed-types.js.map +1 -0
- package/dist/puck-editor/internal/editor/canvas-add-picker.d.ts +9 -0
- package/dist/puck-editor/internal/editor/canvas-add-picker.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/canvas-add-picker.js +231 -0
- package/dist/puck-editor/internal/editor/canvas-add-picker.js.map +1 -0
- package/dist/puck-editor/internal/editor/canvas-empty-state.d.ts +6 -0
- package/dist/puck-editor/internal/editor/canvas-empty-state.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/canvas-empty-state.js +85 -0
- package/dist/puck-editor/internal/editor/canvas-empty-state.js.map +1 -0
- package/dist/puck-editor/internal/editor/canvas-quick-add.d.ts +2 -0
- package/dist/puck-editor/internal/editor/canvas-quick-add.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/canvas-quick-add.js +844 -0
- package/dist/puck-editor/internal/editor/canvas-quick-add.js.map +1 -0
- package/dist/puck-editor/internal/editor/canvas-scroll.d.ts +3 -0
- package/dist/puck-editor/internal/editor/canvas-scroll.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/canvas-scroll.js +16 -0
- package/dist/puck-editor/internal/editor/canvas-scroll.js.map +1 -0
- package/dist/puck-editor/internal/editor/component-icons.d.ts +14 -0
- package/dist/puck-editor/internal/editor/component-icons.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/component-icons.js +35 -0
- package/dist/puck-editor/internal/editor/component-icons.js.map +1 -0
- package/dist/puck-editor/internal/editor/component-item.d.ts +6 -0
- package/dist/puck-editor/internal/editor/component-item.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/component-item.js +42 -0
- package/dist/puck-editor/internal/editor/component-item.js.map +1 -0
- package/dist/puck-editor/internal/editor/editor-action-bar.d.ts +6 -0
- package/dist/puck-editor/internal/editor/editor-action-bar.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/editor-action-bar.js +249 -0
- package/dist/puck-editor/internal/editor/editor-action-bar.js.map +1 -0
- package/dist/puck-editor/internal/editor/editor-header-actions.d.ts +7 -0
- package/dist/puck-editor/internal/editor/editor-header-actions.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/editor-header-actions.js +120 -0
- package/dist/puck-editor/internal/editor/editor-header-actions.js.map +1 -0
- package/dist/puck-editor/internal/editor/find-missing-required-fields.d.ts +15 -0
- package/dist/puck-editor/internal/editor/find-missing-required-fields.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/find-missing-required-fields.js +61 -0
- package/dist/puck-editor/internal/editor/find-missing-required-fields.js.map +1 -0
- package/dist/puck-editor/internal/editor/grouped-drawer-panel.d.ts +15 -0
- package/dist/puck-editor/internal/editor/grouped-drawer-panel.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/grouped-drawer-panel.js +147 -0
- package/dist/puck-editor/internal/editor/grouped-drawer-panel.js.map +1 -0
- package/dist/puck-editor/internal/editor/grouped-entry-list.d.ts +17 -0
- package/dist/puck-editor/internal/editor/grouped-entry-list.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/grouped-entry-list.js +125 -0
- package/dist/puck-editor/internal/editor/grouped-entry-list.js.map +1 -0
- package/dist/puck-editor/internal/editor/header-save-button.d.ts +5 -0
- package/dist/puck-editor/internal/editor/header-save-button.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/header-save-button.js +60 -0
- package/dist/puck-editor/internal/editor/header-save-button.js.map +1 -0
- package/dist/puck-editor/internal/editor/page-template-picker.d.ts +4 -0
- package/dist/puck-editor/internal/editor/page-template-picker.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/page-template-picker.js +140 -0
- package/dist/puck-editor/internal/editor/page-template-picker.js.map +1 -0
- package/dist/puck-editor/internal/editor/picker-entry-item.d.ts +6 -0
- package/dist/puck-editor/internal/editor/picker-entry-item.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/picker-entry-item.js +79 -0
- package/dist/puck-editor/internal/editor/picker-entry-item.js.map +1 -0
- package/dist/puck-editor/internal/editor/picker-model.d.ts +62 -0
- package/dist/puck-editor/internal/editor/picker-model.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/picker-model.js +489 -0
- package/dist/puck-editor/internal/editor/picker-model.js.map +1 -0
- package/dist/puck-editor/internal/editor/publish-puck-data.d.ts +30 -0
- package/dist/puck-editor/internal/editor/publish-puck-data.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/publish-puck-data.js +30 -0
- package/dist/puck-editor/internal/editor/publish-puck-data.js.map +1 -0
- package/dist/puck-editor/internal/editor/puck-editor.d.ts +15 -0
- package/dist/puck-editor/internal/editor/puck-editor.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/puck-editor.js +333 -0
- package/dist/puck-editor/internal/editor/puck-editor.js.map +1 -0
- package/dist/puck-editor/internal/editor/section-template-modal.d.ts +4 -0
- package/dist/puck-editor/internal/editor/section-template-modal.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/section-template-modal.js +71 -0
- package/dist/puck-editor/internal/editor/section-template-modal.js.map +1 -0
- package/dist/puck-editor/internal/editor/use-scroll-lock-outside.d.ts +15 -0
- package/dist/puck-editor/internal/editor/use-scroll-lock-outside.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor/use-scroll-lock-outside.js +93 -0
- package/dist/puck-editor/internal/editor/use-scroll-lock-outside.js.map +1 -0
- package/dist/puck-editor/internal/editor-config.d.ts +30 -0
- package/dist/puck-editor/internal/editor-config.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor-config.js +57 -0
- package/dist/puck-editor/internal/editor-config.js.map +1 -0
- package/dist/puck-editor/internal/editor-query-client.d.ts +4 -0
- package/dist/puck-editor/internal/editor-query-client.d.ts.map +1 -0
- package/dist/puck-editor/internal/editor-query-client.js +8 -0
- package/dist/puck-editor/internal/editor-query-client.js.map +1 -0
- package/dist/puck-editor/internal/fields/checkbox-group/checkbox-group-field.d.ts +14 -0
- package/dist/puck-editor/internal/fields/checkbox-group/checkbox-group-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/checkbox-group/checkbox-group-field.js +120 -0
- package/dist/puck-editor/internal/fields/checkbox-group/checkbox-group-field.js.map +1 -0
- package/dist/puck-editor/internal/fields/checkbox-group/create-checkbox-group-field.d.ts +21 -0
- package/dist/puck-editor/internal/fields/checkbox-group/create-checkbox-group-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/checkbox-group/create-checkbox-group-field.js +24 -0
- package/dist/puck-editor/internal/fields/checkbox-group/create-checkbox-group-field.js.map +1 -0
- package/dist/puck-editor/internal/fields/date-picker/create-date-picker-field.d.ts +16 -0
- package/dist/puck-editor/internal/fields/date-picker/create-date-picker-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/date-picker/create-date-picker-field.js +20 -0
- package/dist/puck-editor/internal/fields/date-picker/create-date-picker-field.js.map +1 -0
- package/dist/puck-editor/internal/fields/date-picker/date-picker.d.ts +8 -0
- package/dist/puck-editor/internal/fields/date-picker/date-picker.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/date-picker/date-picker.js +151 -0
- package/dist/puck-editor/internal/fields/date-picker/date-picker.js.map +1 -0
- package/dist/puck-editor/internal/fields/index.d.ts +10 -0
- package/dist/puck-editor/internal/fields/index.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/index.js +10 -0
- package/dist/puck-editor/internal/fields/index.js.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/anchor.d.ts +33 -0
- package/dist/puck-editor/internal/fields/link-picker/anchor.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/anchor.js +83 -0
- package/dist/puck-editor/internal/fields/link-picker/anchor.js.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/create-link-field.d.ts +24 -0
- package/dist/puck-editor/internal/fields/link-picker/create-link-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/create-link-field.js +31 -0
- package/dist/puck-editor/internal/fields/link-picker/create-link-field.js.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/humanize.d.ts +2 -0
- package/dist/puck-editor/internal/fields/link-picker/humanize.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/humanize.js +4 -0
- package/dist/puck-editor/internal/fields/link-picker/humanize.js.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/link-picker-control.d.ts +27 -0
- package/dist/puck-editor/internal/fields/link-picker/link-picker-control.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/link-picker-control.js +564 -0
- package/dist/puck-editor/internal/fields/link-picker/link-picker-control.js.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/link-picker-field.d.ts +9 -0
- package/dist/puck-editor/internal/fields/link-picker/link-picker-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/link-picker-field.js +189 -0
- package/dist/puck-editor/internal/fields/link-picker/link-picker-field.js.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/link-value.d.ts +72 -0
- package/dist/puck-editor/internal/fields/link-picker/link-value.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/link-value.js +114 -0
- package/dist/puck-editor/internal/fields/link-picker/link-value.js.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/rich-text-link-button.d.ts +14 -0
- package/dist/puck-editor/internal/fields/link-picker/rich-text-link-button.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/rich-text-link-button.js +667 -0
- package/dist/puck-editor/internal/fields/link-picker/rich-text-link-button.js.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/richtext-extensions.d.ts +11 -0
- package/dist/puck-editor/internal/fields/link-picker/richtext-extensions.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/richtext-extensions.js +34 -0
- package/dist/puck-editor/internal/fields/link-picker/richtext-extensions.js.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/segmented-control.d.ts +40 -0
- package/dist/puck-editor/internal/fields/link-picker/segmented-control.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/segmented-control.js +146 -0
- package/dist/puck-editor/internal/fields/link-picker/segmented-control.js.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/types.d.ts +34 -0
- package/dist/puck-editor/internal/fields/link-picker/types.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/link-picker/types.js +2 -0
- package/dist/puck-editor/internal/fields/link-picker/types.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-array/create-media-array-field.d.ts +27 -0
- package/dist/puck-editor/internal/fields/media-array/create-media-array-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-array/create-media-array-field.js +32 -0
- package/dist/puck-editor/internal/fields/media-array/create-media-array-field.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-array/media-array-field.d.ts +13 -0
- package/dist/puck-editor/internal/fields/media-array/media-array-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-array/media-array-field.js +372 -0
- package/dist/puck-editor/internal/fields/media-array/media-array-field.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-array/reorder.d.ts +2 -0
- package/dist/puck-editor/internal/fields/media-array/reorder.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-array/reorder.js +8 -0
- package/dist/puck-editor/internal/fields/media-array/reorder.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/create-media-selector-field.d.ts +27 -0
- package/dist/puck-editor/internal/fields/media-selector/create-media-selector-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/create-media-selector-field.js +32 -0
- package/dist/puck-editor/internal/fields/media-selector/create-media-selector-field.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/crop-editor-dialog.d.ts +11 -0
- package/dist/puck-editor/internal/fields/media-selector/crop-editor-dialog.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/crop-editor-dialog.js +219 -0
- package/dist/puck-editor/internal/fields/media-selector/crop-editor-dialog.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/crop-types.d.ts +24 -0
- package/dist/puck-editor/internal/fields/media-selector/crop-types.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/crop-types.js +8 -0
- package/dist/puck-editor/internal/fields/media-selector/crop-types.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/extract-fields.d.ts +8 -0
- package/dist/puck-editor/internal/fields/media-selector/extract-fields.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/extract-fields.js +51 -0
- package/dist/puck-editor/internal/fields/media-selector/extract-fields.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/image-upload-form.d.ts +7 -0
- package/dist/puck-editor/internal/fields/media-selector/image-upload-form.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/image-upload-form.js +147 -0
- package/dist/puck-editor/internal/fields/media-selector/image-upload-form.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/media-selector-field.d.ts +30 -0
- package/dist/puck-editor/internal/fields/media-selector/media-selector-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/media-selector-field.js +358 -0
- package/dist/puck-editor/internal/fields/media-selector/media-selector-field.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/media-selector-modal.d.ts +14 -0
- package/dist/puck-editor/internal/fields/media-selector/media-selector-modal.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/media-selector-modal.js +355 -0
- package/dist/puck-editor/internal/fields/media-selector/media-selector-modal.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/use-debounced-value.d.ts +2 -0
- package/dist/puck-editor/internal/fields/media-selector/use-debounced-value.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/use-debounced-value.js +55 -0
- package/dist/puck-editor/internal/fields/media-selector/use-debounced-value.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/use-media-library.d.ts +24 -0
- package/dist/puck-editor/internal/fields/media-selector/use-media-library.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/use-media-library.js +229 -0
- package/dist/puck-editor/internal/fields/media-selector/use-media-library.js.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/video-upload-form.d.ts +7 -0
- package/dist/puck-editor/internal/fields/media-selector/video-upload-form.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/media-selector/video-upload-form.js +120 -0
- package/dist/puck-editor/internal/fields/media-selector/video-upload-form.js.map +1 -0
- package/dist/puck-editor/internal/fields/node-selector/create-node-selector-field.d.ts +31 -0
- package/dist/puck-editor/internal/fields/node-selector/create-node-selector-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/node-selector/create-node-selector-field.js +39 -0
- package/dist/puck-editor/internal/fields/node-selector/create-node-selector-field.js.map +1 -0
- package/dist/puck-editor/internal/fields/required-field-label.d.ts +16 -0
- package/dist/puck-editor/internal/fields/required-field-label.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/required-field-label.js +89 -0
- package/dist/puck-editor/internal/fields/required-field-label.js.map +1 -0
- package/dist/puck-editor/internal/fields/required.d.ts +19 -0
- package/dist/puck-editor/internal/fields/required.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/required.js +20 -0
- package/dist/puck-editor/internal/fields/required.js.map +1 -0
- package/dist/puck-editor/internal/fields/rich-text/create-rich-text-field.d.ts +37 -0
- package/dist/puck-editor/internal/fields/rich-text/create-rich-text-field.d.ts.map +1 -0
- package/dist/puck-editor/internal/fields/rich-text/create-rich-text-field.js +26 -0
- package/dist/puck-editor/internal/fields/rich-text/create-rich-text-field.js.map +1 -0
- package/dist/puck-editor/internal/i18n.d.ts +188 -0
- package/dist/puck-editor/internal/i18n.d.ts.map +1 -0
- package/dist/puck-editor/internal/i18n.js +414 -0
- package/dist/puck-editor/internal/i18n.js.map +1 -0
- package/dist/puck-editor/internal/locale.d.ts +13 -0
- package/dist/puck-editor/internal/locale.d.ts.map +1 -0
- package/dist/puck-editor/internal/locale.js +20 -0
- package/dist/puck-editor/internal/locale.js.map +1 -0
- package/dist/puck-editor/internal/localize.d.ts +11 -0
- package/dist/puck-editor/internal/localize.d.ts.map +1 -0
- package/dist/puck-editor/internal/localize.js +42 -0
- package/dist/puck-editor/internal/localize.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-bridge.d.ts +21 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-bridge.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-bridge.js +197 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-bridge.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-info-panel.d.ts +2 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-info-panel.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-info-panel.js +131 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-info-panel.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-plugin.d.ts +20 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-plugin.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-plugin.js +46 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-plugin.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/apply-patch-to-puck.d.ts +46 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/apply-patch-to-puck.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/apply-patch-to-puck.js +176 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/apply-patch-to-puck.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/catalog.d.ts +20 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/catalog.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/catalog.js +39 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/catalog.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/constants.d.ts +5 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/constants.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/constants.js +3 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/constants.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/create-page.d.ts +17 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/create-page.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/create-page.js +35 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/create-page.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/find-component-location.d.ts +19 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/find-component-location.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/find-component-location.js +79 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/find-component-location.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/help.d.ts +2 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/help.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/help.js +243 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/help.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/index.d.ts +2 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/index.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/index.js +2 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/index.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/list-media.d.ts +19 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/list-media.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/list-media.js +31 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/list-media.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/templates.d.ts +23 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/templates.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/templates.js +72 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/templates.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/upload-media.d.ts +20 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/upload-media.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/upload-media.js +34 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/upload-media.js.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/use-agent-handle.d.ts +17 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/use-agent-handle.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/use-agent-handle.js +70 -0
- package/dist/puck-editor/internal/plugins/agent-plugin/use-agent-handle.js.map +1 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-panel.d.ts +2 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-panel.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-panel.js +37 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-panel.js.map +1 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-plugin.d.ts +7 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-plugin.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-plugin.js +18 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-plugin.js.map +1 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/index.d.ts +2 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/index.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/index.js +2 -0
- package/dist/puck-editor/internal/plugins/blocks-plugin/index.js.map +1 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/index.d.ts +2 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/index.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/index.js +2 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/index.js.map +1 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-panel.d.ts +2 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-panel.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-panel.js +861 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-panel.js.map +1 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-plugin.d.ts +5 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-plugin.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-plugin.js +16 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-plugin.js.map +1 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-tree.d.ts +53 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-tree.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-tree.js +145 -0
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-tree.js.map +1 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/index.d.ts +2 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/index.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/index.js +2 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/index.js.map +1 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-panel.d.ts +2 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-panel.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-panel.js +69 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-panel.js.map +1 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-plugin.d.ts +7 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-plugin.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-plugin.js +18 -0
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-plugin.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/ai-options-fields.d.ts +6 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/ai-options-fields.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/ai-options-fields.js +178 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/ai-options-fields.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/apply-vehicle-slot-constraints.d.ts +3 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/apply-vehicle-slot-constraints.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/apply-vehicle-slot-constraints.js +55 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/apply-vehicle-slot-constraints.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/component-template-modal.d.ts +12 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/component-template-modal.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/component-template-modal.js +125 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/component-template-modal.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/custom-template-list.d.ts +8 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/custom-template-list.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/custom-template-list.js +582 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/custom-template-list.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/index.d.ts +6 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/index.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/index.js +6 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/index.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/root-drop-zone.d.ts +4 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/root-drop-zone.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/root-drop-zone.js +54 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/root-drop-zone.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/template-form.d.ts +11 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/template-form.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/template-form.js +92 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/template-form.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/template-vehicles.d.ts +7 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/template-vehicles.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/template-vehicles.js +30 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/template-vehicles.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-panel.d.ts +2 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-panel.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-panel.js +471 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-panel.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-plugin.d.ts +5 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-plugin.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-plugin.js +16 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-plugin.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates.d.ts +43 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates.js +115 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/templates.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/use-template-dnd.d.ts +9 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/use-template-dnd.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/use-template-dnd.js +152 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/use-template-dnd.js.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/use-templates.d.ts +16 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/use-templates.d.ts.map +1 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/use-templates.js +134 -0
- package/dist/puck-editor/internal/plugins/templates-plugin/use-templates.js.map +1 -0
- package/dist/puck-editor/internal/puck-augmentation.d.ts +28 -0
- package/dist/puck-editor/internal/puck-augmentation.d.ts.map +1 -0
- package/dist/puck-editor/internal/puck-augmentation.js +7 -0
- package/dist/puck-editor/internal/puck-augmentation.js.map +1 -0
- package/dist/puck-editor/internal/puck-editor-provider.d.ts +12 -0
- package/dist/puck-editor/internal/puck-editor-provider.d.ts.map +1 -0
- package/dist/puck-editor/internal/puck-editor-provider.js +69 -0
- package/dist/puck-editor/internal/puck-editor-provider.js.map +1 -0
- package/dist/puck-editor/internal/puck-node.d.ts +29 -0
- package/dist/puck-editor/internal/puck-node.d.ts.map +1 -0
- package/dist/puck-editor/internal/puck-node.js +2 -0
- package/dist/puck-editor/internal/puck-node.js.map +1 -0
- package/dist/puck-editor/internal/puck-wrapper.d.ts +19 -0
- package/dist/puck-editor/internal/puck-wrapper.d.ts.map +1 -0
- package/dist/puck-editor/internal/puck-wrapper.js +270 -0
- package/dist/puck-editor/internal/puck-wrapper.js.map +1 -0
- package/dist/puck-editor/internal/render/cropped-image.d.ts +19 -0
- package/dist/puck-editor/internal/render/cropped-image.d.ts.map +1 -0
- package/dist/puck-editor/internal/render/cropped-image.js +126 -0
- package/dist/puck-editor/internal/render/cropped-image.js.map +1 -0
- package/dist/puck-editor/internal/smart-actions/index.d.ts +13 -0
- package/dist/puck-editor/internal/smart-actions/index.d.ts.map +1 -0
- package/dist/puck-editor/internal/smart-actions/index.js +29 -0
- package/dist/puck-editor/internal/smart-actions/index.js.map +1 -0
- package/dist/puck-editor/internal/smart-actions/new-page.d.ts +13 -0
- package/dist/puck-editor/internal/smart-actions/new-page.d.ts.map +1 -0
- package/dist/puck-editor/internal/smart-actions/new-page.js +80 -0
- package/dist/puck-editor/internal/smart-actions/new-page.js.map +1 -0
- package/dist/puck-editor/internal/smart-actions/open-puck-editor.d.ts +2 -0
- package/dist/puck-editor/internal/smart-actions/open-puck-editor.d.ts.map +1 -0
- package/dist/puck-editor/internal/smart-actions/open-puck-editor.js +65 -0
- package/dist/puck-editor/internal/smart-actions/open-puck-editor.js.map +1 -0
- package/dist/puck-editor/internal/ui/calendar.d.ts +9 -0
- package/dist/puck-editor/internal/ui/calendar.d.ts.map +1 -0
- package/dist/puck-editor/internal/ui/calendar.js +147 -0
- package/dist/puck-editor/internal/ui/calendar.js.map +1 -0
- package/dist/puck-editor/internal/ui/component-list-accordion.d.ts +13 -0
- package/dist/puck-editor/internal/ui/component-list-accordion.d.ts.map +1 -0
- package/dist/puck-editor/internal/ui/component-list-accordion.js +93 -0
- package/dist/puck-editor/internal/ui/component-list-accordion.js.map +1 -0
- package/dist/puck-editor/internal/ui/dialog.d.ts +20 -0
- package/dist/puck-editor/internal/ui/dialog.d.ts.map +1 -0
- package/dist/puck-editor/internal/ui/dialog.js +286 -0
- package/dist/puck-editor/internal/ui/dialog.js.map +1 -0
- package/dist/puck-editor/internal/ui/drawer-item-content.d.ts +11 -0
- package/dist/puck-editor/internal/ui/drawer-item-content.d.ts.map +1 -0
- package/dist/puck-editor/internal/ui/drawer-item-content.js +109 -0
- package/dist/puck-editor/internal/ui/drawer-item-content.js.map +1 -0
- package/dist/puck-editor/internal/ui/icon-button.d.ts +10 -0
- package/dist/puck-editor/internal/ui/icon-button.d.ts.map +1 -0
- package/dist/puck-editor/internal/ui/icon-button.js +72 -0
- package/dist/puck-editor/internal/ui/icon-button.js.map +1 -0
- package/dist/puck-editor/internal/ui/popover.d.ts +9 -0
- package/dist/puck-editor/internal/ui/popover.d.ts.map +1 -0
- package/dist/puck-editor/internal/ui/popover.js +165 -0
- package/dist/puck-editor/internal/ui/popover.js.map +1 -0
- package/dist/puck-editor/internal/ui/required-mark.d.ts +2 -0
- package/dist/puck-editor/internal/ui/required-mark.d.ts.map +1 -0
- package/dist/puck-editor/internal/ui/required-mark.js +12 -0
- package/dist/puck-editor/internal/ui/required-mark.js.map +1 -0
- package/dist/puck-editor/internal/ui/search-control.d.ts +20 -0
- package/dist/puck-editor/internal/ui/search-control.d.ts.map +1 -0
- package/dist/puck-editor/internal/ui/search-control.js +156 -0
- package/dist/puck-editor/internal/ui/search-control.js.map +1 -0
- package/dist/puck-editor/internal/ui/use-panel-search-focus.d.ts +2 -0
- package/dist/puck-editor/internal/ui/use-panel-search-focus.d.ts.map +1 -0
- package/dist/puck-editor/internal/ui/use-panel-search-focus.js +40 -0
- package/dist/puck-editor/internal/ui/use-panel-search-focus.js.map +1 -0
- package/dist/puck-editor/internal/use-puck-overlay.d.ts +16 -0
- package/dist/puck-editor/internal/use-puck-overlay.d.ts.map +1 -0
- package/dist/puck-editor/internal/use-puck-overlay.js +121 -0
- package/dist/puck-editor/internal/use-puck-overlay.js.map +1 -0
- package/dist/puck-editor/internal/utils.d.ts +6 -0
- package/dist/puck-editor/internal/utils.d.ts.map +1 -0
- package/dist/puck-editor/internal/utils.js +57 -0
- package/dist/puck-editor/internal/utils.js.map +1 -0
- package/dist/puck-editor/puck-theme.css +110 -0
- package/dist/puck-editor/render.d.ts +3 -0
- package/dist/puck-editor/render.d.ts.map +1 -0
- package/dist/puck-editor/render.js +2 -0
- package/dist/puck-editor/render.js.map +1 -0
- package/dist/puck-editor/server.d.ts +4 -0
- package/dist/puck-editor/server.d.ts.map +1 -0
- package/dist/puck-editor/server.js +4 -0
- package/dist/puck-editor/server.js.map +1 -0
- package/dist/puck-editor/smart-actions.d.ts +2 -0
- package/dist/puck-editor/smart-actions.d.ts.map +1 -0
- package/dist/puck-editor/smart-actions.js +2 -0
- package/dist/puck-editor/smart-actions.js.map +1 -0
- package/dist/shared/cn.d.ts +3 -0
- package/dist/shared/cn.d.ts.map +1 -0
- package/dist/shared/cn.js +9 -0
- package/dist/shared/cn.js.map +1 -0
- package/dist/shared/i18n.d.ts +5 -0
- package/dist/shared/i18n.d.ts.map +1 -0
- package/dist/shared/i18n.js +18 -0
- package/dist/shared/i18n.js.map +1 -0
- package/dist/shared/toolbar-action.d.ts +9 -0
- package/dist/shared/toolbar-action.d.ts.map +1 -0
- package/dist/shared/toolbar-action.js +2 -0
- package/dist/shared/toolbar-action.js.map +1 -0
- package/dist/smart-actions/internal/get-smart-actions-context.d.ts +19 -0
- package/dist/smart-actions/internal/get-smart-actions-context.d.ts.map +1 -0
- package/dist/smart-actions/internal/get-smart-actions-context.js +24 -0
- package/dist/smart-actions/internal/get-smart-actions-context.js.map +1 -0
- package/dist/smart-actions/internal/i18n.d.ts +20 -0
- package/dist/smart-actions/internal/i18n.d.ts.map +1 -0
- package/dist/smart-actions/internal/i18n.js +35 -0
- package/dist/smart-actions/internal/i18n.js.map +1 -0
- package/dist/smart-actions/internal/logout-form.d.ts +8 -0
- package/dist/smart-actions/internal/logout-form.d.ts.map +1 -0
- package/dist/smart-actions/internal/logout-form.js +88 -0
- package/dist/smart-actions/internal/logout-form.js.map +1 -0
- package/dist/smart-actions/internal/refresh-page.d.ts +2 -0
- package/dist/smart-actions/internal/refresh-page.d.ts.map +1 -0
- package/dist/smart-actions/internal/refresh-page.js +126 -0
- package/dist/smart-actions/internal/refresh-page.js.map +1 -0
- package/dist/smart-actions/internal/smart-actions-button.d.ts +24 -0
- package/dist/smart-actions/internal/smart-actions-button.d.ts.map +1 -0
- package/dist/smart-actions/internal/smart-actions-button.js +41 -0
- package/dist/smart-actions/internal/smart-actions-button.js.map +1 -0
- package/dist/smart-actions/internal/smart-actions-config.d.ts +13 -0
- package/dist/smart-actions/internal/smart-actions-config.d.ts.map +1 -0
- package/dist/smart-actions/internal/smart-actions-config.js +101 -0
- package/dist/smart-actions/internal/smart-actions-config.js.map +1 -0
- package/dist/smart-actions/internal/smart-actions-toolbar-client.d.ts +15 -0
- package/dist/smart-actions/internal/smart-actions-toolbar-client.d.ts.map +1 -0
- package/dist/smart-actions/internal/smart-actions-toolbar-client.js +71 -0
- package/dist/smart-actions/internal/smart-actions-toolbar-client.js.map +1 -0
- package/dist/smart-actions/internal/toolbar/smart-actions-toolbar.d.ts +13 -0
- package/dist/smart-actions/internal/toolbar/smart-actions-toolbar.d.ts.map +1 -0
- package/dist/smart-actions/internal/toolbar/smart-actions-toolbar.js +323 -0
- package/dist/smart-actions/internal/toolbar/smart-actions-toolbar.js.map +1 -0
- package/dist/smart-actions/internal/toolbar/storage.d.ts +7 -0
- package/dist/smart-actions/internal/toolbar/storage.d.ts.map +1 -0
- package/dist/smart-actions/internal/toolbar/storage.js +29 -0
- package/dist/smart-actions/internal/toolbar/storage.js.map +1 -0
- package/dist/smart-actions/internal/toolbar/types.d.ts +4 -0
- package/dist/smart-actions/internal/toolbar/types.d.ts.map +1 -0
- package/dist/smart-actions/internal/toolbar/types.js +2 -0
- package/dist/smart-actions/internal/toolbar/types.js.map +1 -0
- package/dist/smart-actions/internal/toolbar/use-smart-actions-toolbar-mode.d.ts +6 -0
- package/dist/smart-actions/internal/toolbar/use-smart-actions-toolbar-mode.d.ts.map +1 -0
- package/dist/smart-actions/internal/toolbar/use-smart-actions-toolbar-mode.js +43 -0
- package/dist/smart-actions/internal/toolbar/use-smart-actions-toolbar-mode.js.map +1 -0
- package/dist/smart-actions/internal/ui/tooltip.d.ts +8 -0
- package/dist/smart-actions/internal/ui/tooltip.d.ts.map +1 -0
- package/dist/smart-actions/internal/ui/tooltip.js +156 -0
- package/dist/smart-actions/internal/ui/tooltip.js.map +1 -0
- package/dist/smart-actions/internal/user-profile.d.ts +8 -0
- package/dist/smart-actions/internal/user-profile.d.ts.map +1 -0
- package/dist/smart-actions/internal/user-profile.js +30 -0
- package/dist/smart-actions/internal/user-profile.js.map +1 -0
- package/dist/smart-actions/server.d.ts +4 -0
- package/dist/smart-actions/server.d.ts.map +1 -0
- package/dist/smart-actions/server.js +4 -0
- package/dist/smart-actions/server.js.map +1 -0
- package/dist/theme.css +2 -0
- package/dist/visual-editor/index.d.ts +4 -0
- package/dist/visual-editor/index.d.ts.map +1 -0
- package/dist/visual-editor/index.js +4 -0
- package/dist/visual-editor/index.js.map +1 -0
- package/dist/visual-editor/internal/bridge/connector.d.ts +7 -0
- package/dist/visual-editor/internal/bridge/connector.d.ts.map +1 -0
- package/dist/visual-editor/internal/bridge/connector.js +72 -0
- package/dist/visual-editor/internal/bridge/connector.js.map +1 -0
- package/dist/visual-editor/internal/bridge/draft-mode-self-heal.d.ts +8 -0
- package/dist/visual-editor/internal/bridge/draft-mode-self-heal.d.ts.map +1 -0
- package/dist/visual-editor/internal/bridge/draft-mode-self-heal.js +44 -0
- package/dist/visual-editor/internal/bridge/draft-mode-self-heal.js.map +1 -0
- package/dist/visual-editor/internal/bridge/editor-auth-gate-server.d.ts +16 -0
- package/dist/visual-editor/internal/bridge/editor-auth-gate-server.d.ts.map +1 -0
- package/dist/visual-editor/internal/bridge/editor-auth-gate-server.js +43 -0
- package/dist/visual-editor/internal/bridge/editor-auth-gate-server.js.map +1 -0
- package/dist/visual-editor/internal/bridge/editor-auth-gate.d.ts +15 -0
- package/dist/visual-editor/internal/bridge/editor-auth-gate.d.ts.map +1 -0
- package/dist/visual-editor/internal/bridge/editor-auth-gate.js +146 -0
- package/dist/visual-editor/internal/bridge/editor-auth-gate.js.map +1 -0
- package/dist/visual-editor/internal/i18n.d.ts +29 -0
- package/dist/visual-editor/internal/i18n.d.ts.map +1 -0
- package/dist/visual-editor/internal/i18n.js +51 -0
- package/dist/visual-editor/internal/i18n.js.map +1 -0
- package/dist/visual-editor/internal/overlays/drupal-origin.d.ts +7 -0
- package/dist/visual-editor/internal/overlays/drupal-origin.d.ts.map +1 -0
- package/dist/visual-editor/internal/overlays/drupal-origin.js +15 -0
- package/dist/visual-editor/internal/overlays/drupal-origin.js.map +1 -0
- package/dist/visual-editor/internal/overlays/edit-button.d.ts +10 -0
- package/dist/visual-editor/internal/overlays/edit-button.d.ts.map +1 -0
- package/dist/visual-editor/internal/overlays/edit-button.js +138 -0
- package/dist/visual-editor/internal/overlays/edit-button.js.map +1 -0
- package/dist/visual-editor/internal/overlays/edit-icon.d.ts +3 -0
- package/dist/visual-editor/internal/overlays/edit-icon.d.ts.map +1 -0
- package/dist/visual-editor/internal/overlays/edit-icon.js +19 -0
- package/dist/visual-editor/internal/overlays/edit-icon.js.map +1 -0
- package/dist/visual-editor/internal/overlays/fragment/fragment-wrapper.d.ts +15 -0
- package/dist/visual-editor/internal/overlays/fragment/fragment-wrapper.d.ts.map +1 -0
- package/dist/visual-editor/internal/overlays/fragment/fragment-wrapper.js +52 -0
- package/dist/visual-editor/internal/overlays/fragment/fragment-wrapper.js.map +1 -0
- package/dist/visual-editor/internal/overlays/iframe-wrapper.d.ts +6 -0
- package/dist/visual-editor/internal/overlays/iframe-wrapper.d.ts.map +1 -0
- package/dist/visual-editor/internal/overlays/iframe-wrapper.js +42 -0
- package/dist/visual-editor/internal/overlays/iframe-wrapper.js.map +1 -0
- package/dist/visual-editor/internal/overlays/menu/menu-wrapper.d.ts +9 -0
- package/dist/visual-editor/internal/overlays/menu/menu-wrapper.d.ts.map +1 -0
- package/dist/visual-editor/internal/overlays/menu/menu-wrapper.js +33 -0
- package/dist/visual-editor/internal/overlays/menu/menu-wrapper.js.map +1 -0
- package/dist/visual-editor/internal/overlays/node/node-metadata.d.ts +13 -0
- package/dist/visual-editor/internal/overlays/node/node-metadata.d.ts.map +1 -0
- package/dist/visual-editor/internal/overlays/node/node-metadata.js +17 -0
- package/dist/visual-editor/internal/overlays/node/node-metadata.js.map +1 -0
- package/dist/visual-editor/internal/overlays/node/node-wrapper.d.ts +8 -0
- package/dist/visual-editor/internal/overlays/node/node-wrapper.d.ts.map +1 -0
- package/dist/visual-editor/internal/overlays/node/node-wrapper.js +25 -0
- package/dist/visual-editor/internal/overlays/node/node-wrapper.js.map +1 -0
- package/dist/visual-editor/internal/overlays/paragraph/paragraph-wrapper.d.ts +18 -0
- package/dist/visual-editor/internal/overlays/paragraph/paragraph-wrapper.d.ts.map +1 -0
- package/dist/visual-editor/internal/overlays/paragraph/paragraph-wrapper.js +58 -0
- package/dist/visual-editor/internal/overlays/paragraph/paragraph-wrapper.js.map +1 -0
- package/dist/visual-editor/internal/revalidate-route.d.ts +19 -0
- package/dist/visual-editor/internal/revalidate-route.d.ts.map +1 -0
- package/dist/visual-editor/internal/revalidate-route.js +51 -0
- package/dist/visual-editor/internal/revalidate-route.js.map +1 -0
- package/dist/visual-editor/server.d.ts +7 -0
- package/dist/visual-editor/server.d.ts.map +1 -0
- package/dist/visual-editor/server.js +8 -0
- package/dist/visual-editor/server.js.map +1 -0
- package/package.json +154 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
interface RichTextFieldOptions {
|
|
2
|
+
label?: string;
|
|
3
|
+
heading?: false;
|
|
4
|
+
metadata?: Record<string, unknown>;
|
|
5
|
+
}
|
|
6
|
+
export declare const createRichTextField: ({ label, heading, metadata, }?: RichTextFieldOptions) => {
|
|
7
|
+
metadata?: Record<string, unknown> | undefined;
|
|
8
|
+
type: "richtext";
|
|
9
|
+
label: string;
|
|
10
|
+
contentEditable: boolean;
|
|
11
|
+
options: {
|
|
12
|
+
link: {
|
|
13
|
+
openOnClick: boolean;
|
|
14
|
+
enableClickSelection: boolean;
|
|
15
|
+
HTMLAttributes: {
|
|
16
|
+
target: null;
|
|
17
|
+
rel: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
heading?: false | undefined;
|
|
21
|
+
};
|
|
22
|
+
tiptap: {
|
|
23
|
+
extensions: import("@tiptap/core").Extension<any, any>[];
|
|
24
|
+
};
|
|
25
|
+
renderMenu: ({ children, editor, readOnly, }: {
|
|
26
|
+
children: import("react").ReactNode;
|
|
27
|
+
editor: import("@tiptap/core").Editor | null;
|
|
28
|
+
readOnly: boolean;
|
|
29
|
+
}) => import("react").JSX.Element;
|
|
30
|
+
renderInlineMenu: ({ children, editor, readOnly, }: {
|
|
31
|
+
children: import("react").ReactNode;
|
|
32
|
+
editor: import("@tiptap/core").Editor | null;
|
|
33
|
+
readOnly: boolean;
|
|
34
|
+
}) => import("react").JSX.Element;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=create-rich-text-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-rich-text-field.d.ts","sourceRoot":"","sources":["../../../../../src/puck-editor/internal/fields/rich-text/create-rich-text-field.ts"],"names":[],"mappings":"AAMA,UAAU,oBAAoB;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,mBAAmB,GAAI,gCAIjC,oBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY1B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { renderRichTextMenu } from '../link-picker/rich-text-link-button';
|
|
2
|
+
import { PreventLinkNavigation, RICHTEXT_LINK_OPTIONS } from '../link-picker/richtext-extensions';
|
|
3
|
+
export const createRichTextField = ({
|
|
4
|
+
label = 'Text',
|
|
5
|
+
heading,
|
|
6
|
+
metadata
|
|
7
|
+
} = {}) => ({
|
|
8
|
+
type: 'richtext',
|
|
9
|
+
label,
|
|
10
|
+
contentEditable: true,
|
|
11
|
+
options: {
|
|
12
|
+
...(heading === false ? {
|
|
13
|
+
heading: false
|
|
14
|
+
} : {}),
|
|
15
|
+
link: RICHTEXT_LINK_OPTIONS
|
|
16
|
+
},
|
|
17
|
+
tiptap: {
|
|
18
|
+
extensions: [PreventLinkNavigation]
|
|
19
|
+
},
|
|
20
|
+
renderMenu: renderRichTextMenu,
|
|
21
|
+
renderInlineMenu: renderRichTextMenu,
|
|
22
|
+
...(metadata ? {
|
|
23
|
+
metadata
|
|
24
|
+
} : {})
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=create-rich-text-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-rich-text-field.js","names":["renderRichTextMenu","PreventLinkNavigation","RICHTEXT_LINK_OPTIONS","createRichTextField","label","heading","metadata","type","contentEditable","options","link","tiptap","extensions","renderMenu","renderInlineMenu"],"sources":["../../../../../src/puck-editor/internal/fields/rich-text/create-rich-text-field.ts"],"sourcesContent":["import { renderRichTextMenu } from '../link-picker/rich-text-link-button';\nimport {\n PreventLinkNavigation,\n RICHTEXT_LINK_OPTIONS,\n} from '../link-picker/richtext-extensions';\n\ninterface RichTextFieldOptions {\n label?: string;\n heading?: false;\n metadata?: Record<string, unknown>;\n}\n\nexport const createRichTextField = ({\n label = 'Text',\n heading,\n metadata,\n}: RichTextFieldOptions = {}) => ({\n type: 'richtext' as const,\n label,\n contentEditable: true,\n options: {\n ...(heading === false ? { heading: false as const } : {}),\n link: RICHTEXT_LINK_OPTIONS,\n },\n tiptap: { extensions: [PreventLinkNavigation] },\n renderMenu: renderRichTextMenu,\n renderInlineMenu: renderRichTextMenu,\n ...(metadata ? { metadata } : {}),\n});\n"],"mappings":"AAAA,SAASA,kBAAkB,QAAQ,sCAAsC;AACzE,SACEC,qBAAqB,EACrBC,qBAAqB,QAChB,oCAAoC;AAQ3C,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC,KAAK,GAAG,MAAM;EACdC,OAAO;EACPC;AACoB,CAAC,GAAG,CAAC,CAAC,MAAM;EAChCC,IAAI,EAAE,UAAmB;EACzBH,KAAK;EACLI,eAAe,EAAE,IAAI;EACrBC,OAAO,EAAE;IACP,IAAIJ,OAAO,KAAK,KAAK,GAAG;MAAEA,OAAO,EAAE;IAAe,CAAC,GAAG,CAAC,CAAC,CAAC;IACzDK,IAAI,EAAER;EACR,CAAC;EACDS,MAAM,EAAE;IAAEC,UAAU,EAAE,CAACX,qBAAqB;EAAE,CAAC;EAC/CY,UAAU,EAAEb,kBAAkB;EAC9Bc,gBAAgB,EAAEd,kBAAkB;EACpC,IAAIM,QAAQ,GAAG;IAAEA;EAAS,CAAC,GAAG,CAAC,CAAC;AAClC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { type DictionaryOverrides } from '../../shared/i18n';
|
|
2
|
+
declare const en: {
|
|
3
|
+
common: {
|
|
4
|
+
clearSearch: string;
|
|
5
|
+
back: string;
|
|
6
|
+
defaultGroup: string;
|
|
7
|
+
};
|
|
8
|
+
mediaSelector: {
|
|
9
|
+
selectMedia: string;
|
|
10
|
+
addImage: string;
|
|
11
|
+
addRemoteVideo: string;
|
|
12
|
+
searchPlaceholder: string;
|
|
13
|
+
search: string;
|
|
14
|
+
clearSearch: string;
|
|
15
|
+
mediaType: string;
|
|
16
|
+
remoteVideo: string;
|
|
17
|
+
noMediaFound: string;
|
|
18
|
+
loadingMedia: string;
|
|
19
|
+
page: string;
|
|
20
|
+
uploadImage: string;
|
|
21
|
+
uploadRemoteVideo: string;
|
|
22
|
+
uploadVideo: string;
|
|
23
|
+
uploading: string;
|
|
24
|
+
name: string;
|
|
25
|
+
chooseImage: string;
|
|
26
|
+
maxFileSize: string;
|
|
27
|
+
altText: string;
|
|
28
|
+
videoUrl: string;
|
|
29
|
+
cancel: string;
|
|
30
|
+
imageTooLarge: string;
|
|
31
|
+
uploadImageFailed: string;
|
|
32
|
+
addRemoteVideoFailed: string;
|
|
33
|
+
selectedCount: string;
|
|
34
|
+
addSelected: string;
|
|
35
|
+
refreshMedia: string;
|
|
36
|
+
remove: string;
|
|
37
|
+
};
|
|
38
|
+
templates: {
|
|
39
|
+
saveAsTemplate: string;
|
|
40
|
+
saveDialogDescription: string;
|
|
41
|
+
saveAsComponentTemplate: string;
|
|
42
|
+
saveComponentDialogDescription: string;
|
|
43
|
+
searchPlaceholder: string;
|
|
44
|
+
noTemplatesFound: string;
|
|
45
|
+
editTemplate: string;
|
|
46
|
+
editDialogDescription: string;
|
|
47
|
+
deleteTemplate: string;
|
|
48
|
+
deleteDialogDescription: string;
|
|
49
|
+
name: string;
|
|
50
|
+
aiOptions: string;
|
|
51
|
+
aiDescription: string;
|
|
52
|
+
aiInstructions: string;
|
|
53
|
+
savedAsLabel: string;
|
|
54
|
+
scopePage: string;
|
|
55
|
+
scopeSection: string;
|
|
56
|
+
cancel: string;
|
|
57
|
+
save: string;
|
|
58
|
+
saving: string;
|
|
59
|
+
delete: string;
|
|
60
|
+
deleting: string;
|
|
61
|
+
saved: string;
|
|
62
|
+
updated: string;
|
|
63
|
+
deleted: string;
|
|
64
|
+
saveFailed: string;
|
|
65
|
+
unavailable: string;
|
|
66
|
+
wrongZone: string;
|
|
67
|
+
broken: string;
|
|
68
|
+
brokenHint: string;
|
|
69
|
+
insertFailed: string;
|
|
70
|
+
partiallyInserted: string;
|
|
71
|
+
collapse: string;
|
|
72
|
+
expand: string;
|
|
73
|
+
customPageTemplates: string;
|
|
74
|
+
};
|
|
75
|
+
sections: {
|
|
76
|
+
searchPlaceholder: string;
|
|
77
|
+
noSectionsFound: string;
|
|
78
|
+
customSections: string;
|
|
79
|
+
};
|
|
80
|
+
blocks: {
|
|
81
|
+
searchPlaceholder: string;
|
|
82
|
+
noBlocksFound: string;
|
|
83
|
+
addBlock: string;
|
|
84
|
+
noBlockTarget: string;
|
|
85
|
+
};
|
|
86
|
+
outline: {
|
|
87
|
+
empty: string;
|
|
88
|
+
noElements: string;
|
|
89
|
+
expand: string;
|
|
90
|
+
collapse: string;
|
|
91
|
+
expandAll: string;
|
|
92
|
+
collapseAll: string;
|
|
93
|
+
rename: string;
|
|
94
|
+
duplicate: string;
|
|
95
|
+
delete: string;
|
|
96
|
+
addSection: string;
|
|
97
|
+
searchPlaceholder: string;
|
|
98
|
+
noResults: string;
|
|
99
|
+
};
|
|
100
|
+
canvas: {
|
|
101
|
+
emptyDescription: string;
|
|
102
|
+
startWithTemplate: string;
|
|
103
|
+
noPageTemplates: string;
|
|
104
|
+
};
|
|
105
|
+
fields: {
|
|
106
|
+
media: string;
|
|
107
|
+
date: string;
|
|
108
|
+
selectDate: string;
|
|
109
|
+
link: string;
|
|
110
|
+
options: string;
|
|
111
|
+
};
|
|
112
|
+
crop: {
|
|
113
|
+
title: string;
|
|
114
|
+
editCrop: string;
|
|
115
|
+
desktop: string;
|
|
116
|
+
format: string;
|
|
117
|
+
original: string;
|
|
118
|
+
zoom: string;
|
|
119
|
+
usesDesktop: string;
|
|
120
|
+
defineOverride: string;
|
|
121
|
+
removeOverride: string;
|
|
122
|
+
removeCrop: string;
|
|
123
|
+
cancel: string;
|
|
124
|
+
apply: string;
|
|
125
|
+
};
|
|
126
|
+
editor: {
|
|
127
|
+
savePageFailed: string;
|
|
128
|
+
pageSaved: string;
|
|
129
|
+
pageCreateFailed: string;
|
|
130
|
+
requiredFieldsMissing: string;
|
|
131
|
+
save: string;
|
|
132
|
+
preview: string;
|
|
133
|
+
edit: string;
|
|
134
|
+
close: string;
|
|
135
|
+
add: string;
|
|
136
|
+
saveAsTemplate: string;
|
|
137
|
+
sectionsTab: string;
|
|
138
|
+
blocksTab: string;
|
|
139
|
+
templatesTab: string;
|
|
140
|
+
outlineTab: string;
|
|
141
|
+
agentTab: string;
|
|
142
|
+
moveUp: string;
|
|
143
|
+
moveDown: string;
|
|
144
|
+
};
|
|
145
|
+
linkPicker: {
|
|
146
|
+
internal: string;
|
|
147
|
+
external: string;
|
|
148
|
+
anchor: string;
|
|
149
|
+
all: string;
|
|
150
|
+
searchPlaceholder: string;
|
|
151
|
+
externalPlaceholder: string;
|
|
152
|
+
anchorPlaceholder: string;
|
|
153
|
+
loading: string;
|
|
154
|
+
loadFailed: string;
|
|
155
|
+
noResults: string;
|
|
156
|
+
linkTarget: string;
|
|
157
|
+
editLink: string;
|
|
158
|
+
addLink: string;
|
|
159
|
+
updateLink: string;
|
|
160
|
+
removeLink: string;
|
|
161
|
+
otherAnchor: string;
|
|
162
|
+
target: string;
|
|
163
|
+
targetHelp: string;
|
|
164
|
+
displayedText: string;
|
|
165
|
+
linkMode: string;
|
|
166
|
+
targetAuto: string;
|
|
167
|
+
targetSelf: string;
|
|
168
|
+
targetBlank: string;
|
|
169
|
+
};
|
|
170
|
+
agent: {
|
|
171
|
+
connect: string;
|
|
172
|
+
description: string;
|
|
173
|
+
copied: string;
|
|
174
|
+
copyPrompt: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
export type PuckDictionary = typeof en;
|
|
178
|
+
export type PuckDictionaryOverrides = DictionaryOverrides<PuckDictionary>;
|
|
179
|
+
export declare function getPuckDictionary(locale: string, overrides?: PuckDictionaryOverrides): PuckDictionary;
|
|
180
|
+
export declare function PuckI18nProvider({ locale, overrides, children, }: {
|
|
181
|
+
locale: string;
|
|
182
|
+
overrides?: PuckDictionaryOverrides;
|
|
183
|
+
children: React.ReactNode;
|
|
184
|
+
}): import("react").JSX.Element;
|
|
185
|
+
export declare function usePuckDictionary(): PuckDictionary;
|
|
186
|
+
export declare function usePuckLocale(): string;
|
|
187
|
+
export {};
|
|
188
|
+
//# sourceMappingURL=i18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/puck-editor/internal/i18n.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAqB,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,QAAA,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkLP,CAAC;AA2LF,MAAM,MAAM,cAAc,GAAG,OAAO,EAAE,CAAC;AAEvC,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,CAAC,cAAc,CAAC,CAAC;AAI1E,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,SAAS,CAAC,EAAE,uBAAuB,GAClC,cAAc,CAEhB;AAKD,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,SAAS,EACT,QAAQ,GACT,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,+BAQA;AAED,wBAAgB,iBAAiB,IAAI,cAAc,CAElD;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC"}
|
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
import { createContext, useContext } from 'react';
|
|
5
|
+
import { resolveDictionary } from '../../shared/i18n';
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
const en = {
|
|
8
|
+
common: {
|
|
9
|
+
clearSearch: 'Clear search',
|
|
10
|
+
back: 'Back',
|
|
11
|
+
defaultGroup: 'General'
|
|
12
|
+
},
|
|
13
|
+
mediaSelector: {
|
|
14
|
+
selectMedia: 'Select Media',
|
|
15
|
+
addImage: 'Add Image',
|
|
16
|
+
addRemoteVideo: 'Add Remote Video',
|
|
17
|
+
searchPlaceholder: 'Search media',
|
|
18
|
+
search: 'Search',
|
|
19
|
+
clearSearch: 'Clear search',
|
|
20
|
+
mediaType: 'Media Type',
|
|
21
|
+
remoteVideo: 'Remote Video',
|
|
22
|
+
noMediaFound: 'No media found',
|
|
23
|
+
loadingMedia: 'Loading media',
|
|
24
|
+
page: 'Page',
|
|
25
|
+
uploadImage: 'Upload Image',
|
|
26
|
+
uploadRemoteVideo: 'Upload Remote Video',
|
|
27
|
+
uploadVideo: 'Upload Video',
|
|
28
|
+
uploading: 'Uploading...',
|
|
29
|
+
name: 'Name',
|
|
30
|
+
chooseImage: 'Choose Image',
|
|
31
|
+
maxFileSize: 'max. 5MB',
|
|
32
|
+
altText: 'Alt Text',
|
|
33
|
+
videoUrl: 'Video URL (YouTube or Vimeo)',
|
|
34
|
+
cancel: 'Cancel',
|
|
35
|
+
imageTooLarge: 'Image is too large. Maximum file size is 5MB.',
|
|
36
|
+
uploadImageFailed: 'Failed to upload image',
|
|
37
|
+
addRemoteVideoFailed: 'Failed to add remote video',
|
|
38
|
+
selectedCount: '{count} selected',
|
|
39
|
+
addSelected: 'Add selection',
|
|
40
|
+
refreshMedia: 'Refresh media',
|
|
41
|
+
remove: 'Remove'
|
|
42
|
+
},
|
|
43
|
+
templates: {
|
|
44
|
+
saveAsTemplate: 'Save as Page template',
|
|
45
|
+
saveDialogDescription: 'Save the current page as a reusable Page template',
|
|
46
|
+
saveAsComponentTemplate: 'Save as template',
|
|
47
|
+
saveComponentDialogDescription: 'Save the selected component as a reusable template',
|
|
48
|
+
searchPlaceholder: 'Search templates...',
|
|
49
|
+
noTemplatesFound: 'No templates found',
|
|
50
|
+
editTemplate: 'Edit template',
|
|
51
|
+
editDialogDescription: 'Change the name and AI options of this template.',
|
|
52
|
+
deleteTemplate: 'Delete template',
|
|
53
|
+
deleteDialogDescription: 'Delete "{title}"? This cannot be undone. Pages that already use this template stay unchanged.',
|
|
54
|
+
name: 'Name',
|
|
55
|
+
aiOptions: 'AI options',
|
|
56
|
+
aiDescription: 'AI description (optional)',
|
|
57
|
+
aiInstructions: 'AI instructions (optional)',
|
|
58
|
+
savedAsLabel: 'Will be saved as:',
|
|
59
|
+
scopePage: 'Page template',
|
|
60
|
+
scopeSection: 'Section template',
|
|
61
|
+
cancel: 'Cancel',
|
|
62
|
+
save: 'Save',
|
|
63
|
+
saving: 'Saving...',
|
|
64
|
+
delete: 'Delete',
|
|
65
|
+
deleting: 'Deleting...',
|
|
66
|
+
saved: 'Template saved',
|
|
67
|
+
updated: 'Template updated',
|
|
68
|
+
deleted: 'Template deleted',
|
|
69
|
+
saveFailed: 'Failed to save template',
|
|
70
|
+
unavailable: 'Template no longer available',
|
|
71
|
+
wrongZone: 'This template does not belong in this area',
|
|
72
|
+
broken: 'Broken templates',
|
|
73
|
+
brokenHint: 'These templates could not be loaded and can only be deleted.',
|
|
74
|
+
insertFailed: 'Could not insert template',
|
|
75
|
+
partiallyInserted: '{skipped} of {total} elements could not be inserted',
|
|
76
|
+
collapse: 'Collapse',
|
|
77
|
+
expand: 'Expand',
|
|
78
|
+
customPageTemplates: 'Custom page templates'
|
|
79
|
+
},
|
|
80
|
+
sections: {
|
|
81
|
+
searchPlaceholder: 'Search sections...',
|
|
82
|
+
noSectionsFound: 'No sections found',
|
|
83
|
+
customSections: 'Custom sections'
|
|
84
|
+
},
|
|
85
|
+
blocks: {
|
|
86
|
+
searchPlaceholder: 'Search blocks...',
|
|
87
|
+
noBlocksFound: 'No blocks found',
|
|
88
|
+
addBlock: 'Add block',
|
|
89
|
+
noBlockTarget: 'Add a section first'
|
|
90
|
+
},
|
|
91
|
+
outline: {
|
|
92
|
+
empty: 'Empty',
|
|
93
|
+
noElements: 'No elements',
|
|
94
|
+
expand: 'Expand',
|
|
95
|
+
collapse: 'Collapse',
|
|
96
|
+
expandAll: 'Expand all',
|
|
97
|
+
collapseAll: 'Collapse all',
|
|
98
|
+
rename: 'Rename',
|
|
99
|
+
duplicate: 'Duplicate',
|
|
100
|
+
delete: 'Delete',
|
|
101
|
+
addSection: 'Add section',
|
|
102
|
+
searchPlaceholder: 'Search elements …',
|
|
103
|
+
noResults: 'No results'
|
|
104
|
+
},
|
|
105
|
+
canvas: {
|
|
106
|
+
emptyDescription: 'Start from a page template or add a section.',
|
|
107
|
+
startWithTemplate: 'Start with a template',
|
|
108
|
+
noPageTemplates: 'No page templates available'
|
|
109
|
+
},
|
|
110
|
+
fields: {
|
|
111
|
+
media: 'Media',
|
|
112
|
+
date: 'Date',
|
|
113
|
+
selectDate: 'Select date',
|
|
114
|
+
link: 'Link',
|
|
115
|
+
options: 'Options'
|
|
116
|
+
},
|
|
117
|
+
crop: {
|
|
118
|
+
title: 'Image crop',
|
|
119
|
+
editCrop: 'Edit crop',
|
|
120
|
+
desktop: 'Desktop',
|
|
121
|
+
format: 'Format',
|
|
122
|
+
original: 'Original',
|
|
123
|
+
zoom: 'Zoom',
|
|
124
|
+
usesDesktop: 'This breakpoint uses the desktop crop.',
|
|
125
|
+
defineOverride: 'Set custom crop',
|
|
126
|
+
removeOverride: 'Remove override',
|
|
127
|
+
removeCrop: 'Remove crop',
|
|
128
|
+
cancel: 'Cancel',
|
|
129
|
+
apply: 'Apply'
|
|
130
|
+
},
|
|
131
|
+
editor: {
|
|
132
|
+
savePageFailed: 'Failed to save page',
|
|
133
|
+
pageSaved: 'Successfully saved page',
|
|
134
|
+
pageCreateFailed: 'Failed to create page',
|
|
135
|
+
requiredFieldsMissing: 'Cannot publish: required fields are empty',
|
|
136
|
+
save: 'Save',
|
|
137
|
+
preview: 'Preview',
|
|
138
|
+
edit: 'Edit',
|
|
139
|
+
close: 'Close',
|
|
140
|
+
add: 'Add',
|
|
141
|
+
saveAsTemplate: 'Save as template',
|
|
142
|
+
sectionsTab: 'Sections',
|
|
143
|
+
blocksTab: 'Blocks',
|
|
144
|
+
templatesTab: 'Pages',
|
|
145
|
+
outlineTab: 'Structure',
|
|
146
|
+
agentTab: 'Agent',
|
|
147
|
+
moveUp: 'Move up',
|
|
148
|
+
moveDown: 'Move down'
|
|
149
|
+
},
|
|
150
|
+
linkPicker: {
|
|
151
|
+
internal: 'Internal',
|
|
152
|
+
external: 'External',
|
|
153
|
+
anchor: 'Anchor',
|
|
154
|
+
all: 'All',
|
|
155
|
+
searchPlaceholder: 'Search …',
|
|
156
|
+
externalPlaceholder: 'https://… or mailto:…',
|
|
157
|
+
anchorPlaceholder: '/page#anchor or https://…#anchor',
|
|
158
|
+
loading: 'Loading …',
|
|
159
|
+
loadFailed: 'Could not load links.',
|
|
160
|
+
noResults: 'No results.',
|
|
161
|
+
linkTarget: 'Link target',
|
|
162
|
+
editLink: 'Edit link',
|
|
163
|
+
addLink: 'Add link',
|
|
164
|
+
updateLink: 'Update link',
|
|
165
|
+
removeLink: 'Remove link',
|
|
166
|
+
otherAnchor: 'Other …',
|
|
167
|
+
target: 'Target',
|
|
168
|
+
targetHelp: '«Automatic»: internal links open in the same window, external links in a new tab.',
|
|
169
|
+
displayedText: 'Displayed text',
|
|
170
|
+
linkMode: 'Link mode',
|
|
171
|
+
targetAuto: 'Automatic',
|
|
172
|
+
targetSelf: 'Same tab',
|
|
173
|
+
targetBlank: 'New tab'
|
|
174
|
+
},
|
|
175
|
+
agent: {
|
|
176
|
+
connect: 'Connect an agent',
|
|
177
|
+
description: 'An agent with a browser tool can edit this page live through the window.puckAgent handle. Copy the prompt below and paste it to your agent to get started.',
|
|
178
|
+
copied: 'Copied',
|
|
179
|
+
copyPrompt: 'Copy prompt'
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
const de = {
|
|
183
|
+
common: {
|
|
184
|
+
clearSearch: 'Suche zurücksetzen',
|
|
185
|
+
back: 'Zurück',
|
|
186
|
+
defaultGroup: 'Allgemein'
|
|
187
|
+
},
|
|
188
|
+
mediaSelector: {
|
|
189
|
+
selectMedia: 'Medien auswählen',
|
|
190
|
+
addImage: 'Bild hinzufügen',
|
|
191
|
+
addRemoteVideo: 'Remote-Video hinzufügen',
|
|
192
|
+
searchPlaceholder: 'Medien suchen',
|
|
193
|
+
search: 'Suchen',
|
|
194
|
+
clearSearch: 'Suche zurücksetzen',
|
|
195
|
+
mediaType: 'Medientyp',
|
|
196
|
+
remoteVideo: 'Remote-Video',
|
|
197
|
+
noMediaFound: 'Keine Medien gefunden',
|
|
198
|
+
loadingMedia: 'Lädt Medien',
|
|
199
|
+
page: 'Seite',
|
|
200
|
+
uploadImage: 'Bild hochladen',
|
|
201
|
+
uploadRemoteVideo: 'Remote-Video hochladen',
|
|
202
|
+
uploadVideo: 'Video hochladen',
|
|
203
|
+
uploading: 'Wird hochgeladen …',
|
|
204
|
+
name: 'Name',
|
|
205
|
+
chooseImage: 'Bild auswählen',
|
|
206
|
+
maxFileSize: 'max. 5MB',
|
|
207
|
+
altText: 'Alt-Text',
|
|
208
|
+
videoUrl: 'Video-URL (YouTube oder Vimeo)',
|
|
209
|
+
cancel: 'Abbrechen',
|
|
210
|
+
imageTooLarge: 'Bild ist zu gross. Maximale Dateigrösse ist 5MB.',
|
|
211
|
+
uploadImageFailed: 'Bild konnte nicht hochgeladen werden',
|
|
212
|
+
addRemoteVideoFailed: 'Remote-Video konnte nicht hinzugefügt werden',
|
|
213
|
+
selectedCount: '{count} ausgewählt',
|
|
214
|
+
addSelected: 'Auswahl übernehmen',
|
|
215
|
+
refreshMedia: 'Medien aktualisieren',
|
|
216
|
+
remove: 'Entfernen'
|
|
217
|
+
},
|
|
218
|
+
templates: {
|
|
219
|
+
saveAsTemplate: 'Seiten-Template speichern',
|
|
220
|
+
saveDialogDescription: 'Speichert die aktuelle Seite als wiederverwendbares Seiten-Template',
|
|
221
|
+
saveAsComponentTemplate: 'Als Vorlage speichern',
|
|
222
|
+
saveComponentDialogDescription: 'Speichert die ausgewählte Komponente als wiederverwendbare Vorlage',
|
|
223
|
+
searchPlaceholder: 'Seiten-Templates suchen …',
|
|
224
|
+
noTemplatesFound: 'Keine Templates gefunden',
|
|
225
|
+
editTemplate: 'Template bearbeiten',
|
|
226
|
+
editDialogDescription: 'Passe Name und AI-Optionen dieser Vorlage an.',
|
|
227
|
+
deleteTemplate: 'Template löschen',
|
|
228
|
+
deleteDialogDescription: '"{title}" löschen? Das kann nicht rückgängig gemacht werden. Seiten, die dieses Template bereits verwenden, bleiben unverändert.',
|
|
229
|
+
name: 'Name',
|
|
230
|
+
aiOptions: 'AI-Optionen',
|
|
231
|
+
aiDescription: 'AI-Beschreibung (optional)',
|
|
232
|
+
aiInstructions: 'AI-Anweisungen (optional)',
|
|
233
|
+
savedAsLabel: 'Wird gespeichert als:',
|
|
234
|
+
scopePage: 'Seitenvorlage',
|
|
235
|
+
scopeSection: 'Abschnitt-Vorlage',
|
|
236
|
+
cancel: 'Abbrechen',
|
|
237
|
+
save: 'Speichern',
|
|
238
|
+
saving: 'Speichert …',
|
|
239
|
+
delete: 'Löschen',
|
|
240
|
+
deleting: 'Löscht …',
|
|
241
|
+
saved: 'Template gespeichert',
|
|
242
|
+
updated: 'Template aktualisiert',
|
|
243
|
+
deleted: 'Template gelöscht',
|
|
244
|
+
saveFailed: 'Template konnte nicht gespeichert werden',
|
|
245
|
+
unavailable: 'Template nicht mehr verfügbar',
|
|
246
|
+
wrongZone: 'Diese Vorlage gehört nicht in diesen Bereich',
|
|
247
|
+
broken: 'Defekte Vorlagen',
|
|
248
|
+
brokenHint: 'Diese Vorlagen konnten nicht geladen werden und können nur gelöscht werden.',
|
|
249
|
+
insertFailed: 'Template konnte nicht eingefügt werden',
|
|
250
|
+
partiallyInserted: '{skipped} von {total} Elementen konnten nicht eingefügt werden',
|
|
251
|
+
collapse: 'Einklappen',
|
|
252
|
+
expand: 'Ausklappen',
|
|
253
|
+
customPageTemplates: 'Eigene Seitenvorlagen'
|
|
254
|
+
},
|
|
255
|
+
sections: {
|
|
256
|
+
searchPlaceholder: 'Abschnitte suchen …',
|
|
257
|
+
noSectionsFound: 'Keine Abschnitte gefunden',
|
|
258
|
+
customSections: 'Eigene Abschnitte'
|
|
259
|
+
},
|
|
260
|
+
blocks: {
|
|
261
|
+
searchPlaceholder: 'Blöcke suchen …',
|
|
262
|
+
noBlocksFound: 'Keine Blöcke gefunden',
|
|
263
|
+
addBlock: 'Block hinzufügen',
|
|
264
|
+
noBlockTarget: 'Zuerst einen Abschnitt hinzufügen'
|
|
265
|
+
},
|
|
266
|
+
outline: {
|
|
267
|
+
empty: 'Leer',
|
|
268
|
+
noElements: 'Keine Elemente',
|
|
269
|
+
expand: 'Ausklappen',
|
|
270
|
+
collapse: 'Einklappen',
|
|
271
|
+
expandAll: 'Alle ausklappen',
|
|
272
|
+
collapseAll: 'Alle einklappen',
|
|
273
|
+
rename: 'Umbenennen',
|
|
274
|
+
duplicate: 'Duplizieren',
|
|
275
|
+
delete: 'Löschen',
|
|
276
|
+
addSection: 'Abschnitt hinzufügen',
|
|
277
|
+
searchPlaceholder: 'Elemente suchen …',
|
|
278
|
+
noResults: 'Keine Treffer'
|
|
279
|
+
},
|
|
280
|
+
canvas: {
|
|
281
|
+
emptyDescription: 'Starte mit einer Seitenvorlage oder füge einen Abschnitt hinzu.',
|
|
282
|
+
startWithTemplate: 'Mit Vorlage starten',
|
|
283
|
+
noPageTemplates: 'Keine Seitenvorlagen verfügbar'
|
|
284
|
+
},
|
|
285
|
+
fields: {
|
|
286
|
+
media: 'Medien',
|
|
287
|
+
date: 'Datum',
|
|
288
|
+
selectDate: 'Datum auswählen',
|
|
289
|
+
link: 'Link',
|
|
290
|
+
options: 'Optionen'
|
|
291
|
+
},
|
|
292
|
+
crop: {
|
|
293
|
+
title: 'Bildausschnitt',
|
|
294
|
+
editCrop: 'Bildausschnitt bearbeiten',
|
|
295
|
+
desktop: 'Desktop',
|
|
296
|
+
format: 'Format',
|
|
297
|
+
original: 'Original',
|
|
298
|
+
zoom: 'Zoom',
|
|
299
|
+
usesDesktop: 'Dieser Breakpoint verwendet den Desktop-Ausschnitt.',
|
|
300
|
+
defineOverride: 'Eigenen Ausschnitt festlegen',
|
|
301
|
+
removeOverride: 'Override entfernen',
|
|
302
|
+
removeCrop: 'Ausschnitt entfernen',
|
|
303
|
+
cancel: 'Abbrechen',
|
|
304
|
+
apply: 'Übernehmen'
|
|
305
|
+
},
|
|
306
|
+
editor: {
|
|
307
|
+
savePageFailed: 'Seite konnte nicht gespeichert werden',
|
|
308
|
+
pageSaved: 'Seite gespeichert',
|
|
309
|
+
pageCreateFailed: 'Seite konnte nicht erstellt werden',
|
|
310
|
+
requiredFieldsMissing: 'Publizieren nicht möglich: Pflichtfelder sind nicht ausgefüllt',
|
|
311
|
+
save: 'Speichern',
|
|
312
|
+
preview: 'Vorschau',
|
|
313
|
+
edit: 'Bearbeiten',
|
|
314
|
+
close: 'Schliessen',
|
|
315
|
+
add: 'Hinzufügen',
|
|
316
|
+
saveAsTemplate: 'Als Template speichern',
|
|
317
|
+
sectionsTab: 'Abschnitte',
|
|
318
|
+
blocksTab: 'Blöcke',
|
|
319
|
+
templatesTab: 'Seiten',
|
|
320
|
+
outlineTab: 'Struktur',
|
|
321
|
+
agentTab: 'Agent',
|
|
322
|
+
moveUp: 'Nach oben',
|
|
323
|
+
moveDown: 'Nach unten'
|
|
324
|
+
},
|
|
325
|
+
linkPicker: {
|
|
326
|
+
internal: 'Intern',
|
|
327
|
+
external: 'Extern',
|
|
328
|
+
anchor: 'Anker',
|
|
329
|
+
all: 'Alle',
|
|
330
|
+
searchPlaceholder: 'Suchen …',
|
|
331
|
+
externalPlaceholder: 'https://… oder mailto:…',
|
|
332
|
+
anchorPlaceholder: '/seite#anker oder https://…#anker',
|
|
333
|
+
loading: 'Lädt …',
|
|
334
|
+
loadFailed: 'Links konnten nicht geladen werden.',
|
|
335
|
+
noResults: 'Keine Treffer.',
|
|
336
|
+
linkTarget: 'Link-Ziel',
|
|
337
|
+
editLink: 'Link bearbeiten',
|
|
338
|
+
addLink: 'Link hinzufügen',
|
|
339
|
+
updateLink: 'Link aktualisieren',
|
|
340
|
+
removeLink: 'Link entfernen',
|
|
341
|
+
otherAnchor: 'Andere …',
|
|
342
|
+
target: 'Ziel',
|
|
343
|
+
targetHelp: '«Automatisch»: interne Links öffnen im gleichen Fenster, externe Links in einem neuen Tab.',
|
|
344
|
+
displayedText: 'Angezeigter Text',
|
|
345
|
+
linkMode: 'Link-Modus',
|
|
346
|
+
targetAuto: 'Automatisch',
|
|
347
|
+
targetSelf: 'Gleicher Tab',
|
|
348
|
+
targetBlank: 'Neuer Tab'
|
|
349
|
+
},
|
|
350
|
+
agent: {
|
|
351
|
+
connect: 'Agent verbinden',
|
|
352
|
+
description: 'Ein Agent mit Browser-Tool kann diese Seite live über den window.puckAgent-Handle bearbeiten. Kopiere den Prompt unten und übergib ihn deinem Agenten, um zu starten.',
|
|
353
|
+
copied: 'Kopiert',
|
|
354
|
+
copyPrompt: 'Prompt kopieren'
|
|
355
|
+
}
|
|
356
|
+
};
|
|
357
|
+
const dictionaries = {
|
|
358
|
+
en,
|
|
359
|
+
de
|
|
360
|
+
};
|
|
361
|
+
export function getPuckDictionary(locale, overrides) {
|
|
362
|
+
return resolveDictionary(dictionaries, en, locale, overrides);
|
|
363
|
+
}
|
|
364
|
+
const PuckI18nContext = /*#__PURE__*/createContext(en);
|
|
365
|
+
const PuckLocaleContext = /*#__PURE__*/createContext('en');
|
|
366
|
+
export function PuckI18nProvider(t0) {
|
|
367
|
+
const $ = _c(9);
|
|
368
|
+
const {
|
|
369
|
+
locale,
|
|
370
|
+
overrides,
|
|
371
|
+
children
|
|
372
|
+
} = t0;
|
|
373
|
+
let t1;
|
|
374
|
+
if ($[0] !== locale || $[1] !== overrides) {
|
|
375
|
+
t1 = getPuckDictionary(locale, overrides);
|
|
376
|
+
$[0] = locale;
|
|
377
|
+
$[1] = overrides;
|
|
378
|
+
$[2] = t1;
|
|
379
|
+
} else {
|
|
380
|
+
t1 = $[2];
|
|
381
|
+
}
|
|
382
|
+
let t2;
|
|
383
|
+
if ($[3] !== children || $[4] !== t1) {
|
|
384
|
+
t2 = /*#__PURE__*/_jsx(PuckI18nContext.Provider, {
|
|
385
|
+
value: t1,
|
|
386
|
+
children: children
|
|
387
|
+
});
|
|
388
|
+
$[3] = children;
|
|
389
|
+
$[4] = t1;
|
|
390
|
+
$[5] = t2;
|
|
391
|
+
} else {
|
|
392
|
+
t2 = $[5];
|
|
393
|
+
}
|
|
394
|
+
let t3;
|
|
395
|
+
if ($[6] !== locale || $[7] !== t2) {
|
|
396
|
+
t3 = /*#__PURE__*/_jsx(PuckLocaleContext.Provider, {
|
|
397
|
+
value: locale,
|
|
398
|
+
children: t2
|
|
399
|
+
});
|
|
400
|
+
$[6] = locale;
|
|
401
|
+
$[7] = t2;
|
|
402
|
+
$[8] = t3;
|
|
403
|
+
} else {
|
|
404
|
+
t3 = $[8];
|
|
405
|
+
}
|
|
406
|
+
return t3;
|
|
407
|
+
}
|
|
408
|
+
export function usePuckDictionary() {
|
|
409
|
+
return useContext(PuckI18nContext);
|
|
410
|
+
}
|
|
411
|
+
export function usePuckLocale() {
|
|
412
|
+
return useContext(PuckLocaleContext);
|
|
413
|
+
}
|
|
414
|
+
//# sourceMappingURL=i18n.js.map
|