@nodehive/nextjs 0.1.2 → 0.2.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/README.md +1 -1
- package/dist/auth/index.d.ts +2 -3
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/internal/config.d.ts +15 -5
- package/dist/auth/internal/config.js.map +1 -1
- package/dist/auth/internal/draft-mode.d.ts +2 -3
- package/dist/auth/internal/draft-mode.js +3 -20
- package/dist/auth/internal/draft-mode.js.map +1 -1
- package/dist/auth/internal/editor-locale.d.ts +0 -1
- package/dist/auth/internal/handoff.d.ts +0 -1
- package/dist/auth/internal/has-session.d.ts +0 -1
- package/dist/auth/internal/has-session.js +1 -1
- package/dist/auth/internal/has-session.js.map +1 -1
- package/dist/auth/internal/i18n.d.ts +10 -0
- package/dist/auth/internal/i18n.js +25 -0
- package/dist/auth/internal/i18n.js.map +1 -0
- package/dist/auth/internal/logout.d.ts +1 -2
- package/dist/auth/internal/logout.js +3 -3
- package/dist/auth/internal/logout.js.map +1 -1
- package/dist/auth/internal/next-cookie-storage.d.ts +5 -2
- package/dist/auth/internal/next-cookie-storage.js +8 -1
- package/dist/auth/internal/next-cookie-storage.js.map +1 -1
- package/dist/auth/internal/nodehive-client.d.ts +6 -4
- package/dist/auth/internal/nodehive-client.js +6 -4
- package/dist/auth/internal/nodehive-client.js.map +1 -1
- package/dist/auth/internal/oauth-config.d.ts +0 -1
- package/dist/auth/internal/proxy-helpers.d.ts +0 -1
- package/dist/auth/internal/proxy-helpers.js +4 -4
- package/dist/auth/internal/proxy-helpers.js.map +1 -1
- package/dist/auth/internal/refresh.d.ts +1 -2
- package/dist/auth/internal/refresh.js +4 -4
- package/dist/auth/internal/refresh.js.map +1 -1
- package/dist/auth/internal/require-auth.d.ts +0 -1
- package/dist/auth/internal/require-auth.js +1 -1
- package/dist/auth/internal/require-auth.js.map +1 -1
- package/dist/auth/internal/return-to.d.ts +0 -1
- package/dist/auth/internal/roles.d.ts +17 -0
- package/dist/auth/internal/roles.js +39 -0
- package/dist/auth/internal/roles.js.map +1 -0
- package/dist/auth/internal/routes/callback.d.ts +1 -2
- package/dist/auth/internal/routes/callback.js +6 -6
- package/dist/auth/internal/routes/callback.js.map +1 -1
- package/dist/auth/internal/routes/chips-exchange.d.ts +1 -2
- package/dist/auth/internal/routes/chips-exchange.js +5 -5
- package/dist/auth/internal/routes/chips-exchange.js.map +1 -1
- package/dist/auth/internal/routes/draft.d.ts +1 -2
- package/dist/auth/internal/routes/draft.js +3 -3
- package/dist/auth/internal/routes/draft.js.map +1 -1
- package/dist/auth/internal/routes/index.d.ts +4 -2
- package/dist/auth/internal/routes/index.js +7 -7
- package/dist/auth/internal/routes/index.js.map +1 -1
- package/dist/auth/internal/routes/login.d.ts +0 -1
- package/dist/auth/internal/routes/login.js +3 -3
- package/dist/auth/internal/routes/login.js.map +1 -1
- package/dist/auth/internal/routes/popup-done.d.ts +2 -2
- package/dist/auth/internal/routes/popup-done.js +9 -7
- package/dist/auth/internal/routes/popup-done.js.map +1 -1
- package/dist/auth/internal/routes/refresh.d.ts +2 -5
- package/dist/auth/internal/routes/refresh.js +8 -2
- package/dist/auth/internal/routes/refresh.js.map +1 -1
- package/dist/auth/internal/same-origin.d.ts +0 -1
- package/dist/auth/internal/session-gates.d.ts +27 -3
- package/dist/auth/internal/session-gates.js +35 -3
- package/dist/auth/internal/session-gates.js.map +1 -1
- package/dist/auth/internal/update-session.d.ts +1 -2
- package/dist/auth/internal/update-session.js +1 -1
- package/dist/auth/internal/update-session.js.map +1 -1
- package/dist/auth/internal/use-editor-login.d.ts +0 -1
- package/dist/auth/internal/use-editor-login.js +2 -3
- package/dist/auth/internal/use-editor-login.js.map +1 -1
- package/dist/auth/proxy.d.ts +7 -8
- package/dist/auth/proxy.js +6 -6
- package/dist/auth/proxy.js.map +1 -1
- package/dist/auth/react.d.ts +1 -2
- package/dist/auth/react.js +1 -1
- package/dist/auth/react.js.map +1 -1
- package/dist/auth/routes.d.ts +3 -3
- package/dist/auth/routes.js +1 -1
- package/dist/auth/routes.js.map +1 -1
- package/dist/auth/server.d.ts +14 -12
- package/dist/auth/server.js +14 -9
- package/dist/auth/server.js.map +1 -1
- package/dist/bridge-protocol/index.d.ts +50 -0
- package/dist/bridge-protocol/index.js +25 -0
- package/dist/bridge-protocol/index.js.map +1 -0
- package/dist/puck-editor/editor.d.ts +8 -0
- package/dist/puck-editor/editor.js +9 -0
- package/dist/puck-editor/editor.js.map +1 -0
- package/dist/puck-editor/fields.d.ts +6 -7
- package/dist/puck-editor/fields.js +3 -3
- package/dist/puck-editor/fields.js.map +1 -1
- package/dist/puck-editor/index.d.ts +17 -14
- package/dist/puck-editor/index.js +13 -11
- package/dist/puck-editor/index.js.map +1 -1
- package/dist/puck-editor/internal/api/client.d.ts +19 -4
- package/dist/puck-editor/internal/api/client.js +56 -19
- package/dist/puck-editor/internal/api/client.js.map +1 -1
- package/dist/puck-editor/internal/api/config.d.ts +36 -3
- package/dist/puck-editor/internal/api/config.js.map +1 -1
- package/dist/puck-editor/internal/api/create-puck-api.d.ts +1 -2
- package/dist/puck-editor/internal/api/create-puck-api.js +10 -13
- package/dist/puck-editor/internal/api/create-puck-api.js.map +1 -1
- package/dist/puck-editor/internal/api/handlers/create-page.d.ts +1 -2
- package/dist/puck-editor/internal/api/handlers/create-page.js +6 -4
- package/dist/puck-editor/internal/api/handlers/create-page.js.map +1 -1
- package/dist/puck-editor/internal/api/handlers/entities.d.ts +6 -5
- package/dist/puck-editor/internal/api/handlers/entities.js +60 -15
- package/dist/puck-editor/internal/api/handlers/entities.js.map +1 -1
- package/dist/puck-editor/internal/api/handlers/publish.d.ts +3 -6
- package/dist/puck-editor/internal/api/handlers/publish.js +57 -14
- package/dist/puck-editor/internal/api/handlers/publish.js.map +1 -1
- package/dist/puck-editor/internal/api/handlers/template.d.ts +5 -2
- package/dist/puck-editor/internal/api/handlers/template.js +28 -60
- package/dist/puck-editor/internal/api/handlers/template.js.map +1 -1
- package/dist/puck-editor/internal/api/handlers/upload.d.ts +10 -2
- package/dist/puck-editor/internal/api/handlers/upload.js +93 -28
- package/dist/puck-editor/internal/api/handlers/upload.js.map +1 -1
- package/dist/puck-editor/internal/api/localize-message.d.ts +15 -0
- package/dist/puck-editor/internal/api/localize-message.js +15 -0
- package/dist/puck-editor/internal/api/localize-message.js.map +1 -0
- package/dist/puck-editor/internal/api/media-params.d.ts +3 -3
- package/dist/puck-editor/internal/api/media-params.js +23 -19
- package/dist/puck-editor/internal/api/media-params.js.map +1 -1
- package/dist/puck-editor/internal/api/media-upload.d.ts +5 -3
- package/dist/puck-editor/internal/api/media-upload.js +33 -22
- package/dist/puck-editor/internal/api/media-upload.js.map +1 -1
- package/dist/puck-editor/internal/api/message-codes.d.ts +2 -0
- package/dist/puck-editor/internal/api/message-codes.js +2 -0
- package/dist/puck-editor/internal/api/message-codes.js.map +1 -0
- package/dist/puck-editor/internal/api/space.d.ts +0 -1
- package/dist/puck-editor/internal/api/type-segment.d.ts +2 -0
- package/dist/puck-editor/internal/api/type-segment.js +9 -0
- package/dist/puck-editor/internal/api/type-segment.js.map +1 -0
- package/dist/puck-editor/internal/content-model.d.ts +31 -3
- package/dist/puck-editor/internal/content-model.js +76 -6
- package/dist/puck-editor/internal/content-model.js.map +1 -1
- package/dist/puck-editor/internal/dictionaries.d.ts +225 -0
- package/dist/puck-editor/internal/dictionaries.js +673 -0
- package/dist/puck-editor/internal/dictionaries.js.map +1 -0
- package/dist/puck-editor/internal/editor/allowed-types.d.ts +1 -2
- package/dist/puck-editor/internal/editor/allowed-types.js +2 -2
- package/dist/puck-editor/internal/editor/allowed-types.js.map +1 -1
- package/dist/puck-editor/internal/editor/canvas-add-picker.d.ts +0 -1
- package/dist/puck-editor/internal/editor/canvas-add-picker.js +108 -135
- package/dist/puck-editor/internal/editor/canvas-add-picker.js.map +1 -1
- package/dist/puck-editor/internal/editor/canvas-empty-state.d.ts +0 -1
- package/dist/puck-editor/internal/editor/canvas-empty-state.js +4 -4
- package/dist/puck-editor/internal/editor/canvas-empty-state.js.map +1 -1
- package/dist/puck-editor/internal/editor/canvas-quick-add.d.ts +0 -1
- package/dist/puck-editor/internal/editor/canvas-quick-add.js +28 -41
- package/dist/puck-editor/internal/editor/canvas-quick-add.js.map +1 -1
- package/dist/puck-editor/internal/editor/canvas-scroll.d.ts +0 -1
- package/dist/puck-editor/internal/editor/component-icons.d.ts +1 -2
- package/dist/puck-editor/internal/editor/component-icons.js.map +1 -1
- package/dist/puck-editor/internal/editor/component-item.d.ts +0 -1
- package/dist/puck-editor/internal/editor/component-item.js +2 -2
- package/dist/puck-editor/internal/editor/component-item.js.map +1 -1
- package/dist/puck-editor/internal/editor/compose-save-issues.d.ts +15 -0
- package/dist/puck-editor/internal/editor/compose-save-issues.js +16 -0
- package/dist/puck-editor/internal/editor/compose-save-issues.js.map +1 -0
- package/dist/puck-editor/internal/editor/dirty-state.d.ts +3 -0
- package/dist/puck-editor/internal/editor/dirty-state.js +7 -0
- package/dist/puck-editor/internal/editor/dirty-state.js.map +1 -0
- package/dist/puck-editor/internal/editor/draft-restore-banner.d.ts +9 -0
- package/dist/puck-editor/internal/editor/draft-restore-banner.js +289 -0
- package/dist/puck-editor/internal/editor/draft-restore-banner.js.map +1 -0
- package/dist/puck-editor/internal/editor/draft-storage.d.ts +41 -0
- package/dist/puck-editor/internal/editor/draft-storage.js +129 -0
- package/dist/puck-editor/internal/editor/draft-storage.js.map +1 -0
- package/dist/puck-editor/internal/editor/editor-action-bar.d.ts +0 -1
- package/dist/puck-editor/internal/editor/editor-action-bar.js +4 -4
- package/dist/puck-editor/internal/editor/editor-action-bar.js.map +1 -1
- package/dist/puck-editor/internal/editor/editor-header-actions.d.ts +6 -4
- package/dist/puck-editor/internal/editor/editor-header-actions.js +119 -60
- package/dist/puck-editor/internal/editor/editor-header-actions.js.map +1 -1
- package/dist/puck-editor/internal/editor/find-missing-required-fields.d.ts +0 -1
- package/dist/puck-editor/internal/editor/grouped-drawer-panel.d.ts +1 -2
- package/dist/puck-editor/internal/editor/grouped-drawer-panel.js +6 -6
- package/dist/puck-editor/internal/editor/grouped-drawer-panel.js.map +1 -1
- package/dist/puck-editor/internal/editor/grouped-entry-list.d.ts +7 -5
- package/dist/puck-editor/internal/editor/grouped-entry-list.js +85 -56
- package/dist/puck-editor/internal/editor/grouped-entry-list.js.map +1 -1
- package/dist/puck-editor/internal/editor/header-save-button.d.ts +4 -4
- package/dist/puck-editor/internal/editor/header-save-button.js +66 -27
- package/dist/puck-editor/internal/editor/header-save-button.js.map +1 -1
- package/dist/puck-editor/internal/editor/leave-confirm-dialog.d.ts +5 -0
- package/dist/puck-editor/internal/editor/leave-confirm-dialog.js +140 -0
- package/dist/puck-editor/internal/editor/leave-confirm-dialog.js.map +1 -0
- package/dist/puck-editor/internal/editor/page-template-picker.d.ts +0 -1
- package/dist/puck-editor/internal/editor/page-template-picker.js +5 -5
- package/dist/puck-editor/internal/editor/page-template-picker.js.map +1 -1
- package/dist/puck-editor/internal/editor/picker-entry-item.d.ts +1 -2
- package/dist/puck-editor/internal/editor/picker-entry-item.js +4 -4
- package/dist/puck-editor/internal/editor/picker-entry-item.js.map +1 -1
- package/dist/puck-editor/internal/editor/picker-model.d.ts +14 -5
- package/dist/puck-editor/internal/editor/picker-model.js +157 -132
- package/dist/puck-editor/internal/editor/picker-model.js.map +1 -1
- package/dist/puck-editor/internal/editor/publish-puck-data.d.ts +18 -4
- package/dist/puck-editor/internal/editor/publish-puck-data.js +25 -4
- package/dist/puck-editor/internal/editor/publish-puck-data.js.map +1 -1
- package/dist/puck-editor/internal/editor/puck-editor.d.ts +6 -4
- package/dist/puck-editor/internal/editor/puck-editor.js +270 -209
- package/dist/puck-editor/internal/editor/puck-editor.js.map +1 -1
- package/dist/puck-editor/internal/editor/save-guard.d.ts +15 -0
- package/dist/puck-editor/internal/editor/save-guard.js +30 -0
- package/dist/puck-editor/internal/editor/save-guard.js.map +1 -0
- package/dist/puck-editor/internal/editor/save-page-context.d.ts +8 -0
- package/dist/puck-editor/internal/editor/save-page-context.js +34 -0
- package/dist/puck-editor/internal/editor/save-page-context.js.map +1 -0
- package/dist/puck-editor/internal/editor/section-template-modal.d.ts +0 -1
- package/dist/puck-editor/internal/editor/section-template-modal.js +2 -2
- package/dist/puck-editor/internal/editor/section-template-modal.js.map +1 -1
- package/dist/puck-editor/internal/editor/unsaved-changes-guard.d.ts +3 -0
- package/dist/puck-editor/internal/editor/unsaved-changes-guard.js +38 -0
- package/dist/puck-editor/internal/editor/unsaved-changes-guard.js.map +1 -0
- package/dist/puck-editor/internal/editor/use-dirty-baseline.d.ts +5 -0
- package/dist/puck-editor/internal/editor/use-dirty-baseline.js +72 -0
- package/dist/puck-editor/internal/editor/use-dirty-baseline.js.map +1 -0
- package/dist/puck-editor/internal/editor/use-draft-recovery.d.ts +16 -0
- package/dist/puck-editor/internal/editor/use-draft-recovery.js +194 -0
- package/dist/puck-editor/internal/editor/use-draft-recovery.js.map +1 -0
- package/dist/puck-editor/internal/editor/use-frame-zoom.d.ts +1 -0
- package/dist/puck-editor/internal/editor/use-frame-zoom.js +59 -0
- package/dist/puck-editor/internal/editor/use-frame-zoom.js.map +1 -0
- package/dist/puck-editor/internal/editor/use-is-dirty.d.ts +1 -0
- package/dist/puck-editor/internal/editor/use-is-dirty.js +32 -0
- package/dist/puck-editor/internal/editor/use-is-dirty.js.map +1 -0
- package/dist/puck-editor/internal/editor/use-scroll-lock-outside.d.ts +0 -1
- package/dist/puck-editor/internal/editor-config.d.ts +16 -3
- package/dist/puck-editor/internal/editor-config.js +8 -1
- package/dist/puck-editor/internal/editor-config.js.map +1 -1
- package/dist/puck-editor/internal/editor-query-client.d.ts +0 -1
- package/dist/puck-editor/internal/fields/checkbox-group/checkbox-group-field.d.ts +0 -1
- package/dist/puck-editor/internal/fields/checkbox-group/checkbox-group-field.js +2 -2
- package/dist/puck-editor/internal/fields/checkbox-group/checkbox-group-field.js.map +1 -1
- package/dist/puck-editor/internal/fields/checkbox-group/create-checkbox-group-field.d.ts +0 -1
- package/dist/puck-editor/internal/fields/checkbox-group/create-checkbox-group-field.js +1 -1
- package/dist/puck-editor/internal/fields/checkbox-group/create-checkbox-group-field.js.map +1 -1
- package/dist/puck-editor/internal/fields/date-picker/create-date-picker-field.d.ts +0 -1
- package/dist/puck-editor/internal/fields/date-picker/create-date-picker-field.js +1 -1
- package/dist/puck-editor/internal/fields/date-picker/create-date-picker-field.js.map +1 -1
- package/dist/puck-editor/internal/fields/date-picker/date-picker.d.ts +0 -1
- package/dist/puck-editor/internal/fields/date-picker/date-picker.js +90 -73
- package/dist/puck-editor/internal/fields/date-picker/date-picker.js.map +1 -1
- package/dist/puck-editor/internal/fields/index.d.ts +10 -10
- package/dist/puck-editor/internal/fields/index.js +10 -9
- package/dist/puck-editor/internal/fields/index.js.map +1 -1
- package/dist/puck-editor/internal/fields/link-picker/anchor.d.ts +0 -1
- package/dist/puck-editor/internal/fields/link-picker/anchor.js +1 -1
- package/dist/puck-editor/internal/fields/link-picker/anchor.js.map +1 -1
- package/dist/puck-editor/internal/fields/link-picker/create-link-field.d.ts +1 -2
- package/dist/puck-editor/internal/fields/link-picker/create-link-field.js +1 -1
- package/dist/puck-editor/internal/fields/link-picker/create-link-field.js.map +1 -1
- package/dist/puck-editor/internal/fields/link-picker/humanize.d.ts +0 -1
- package/dist/puck-editor/internal/fields/link-picker/link-picker-control.d.ts +0 -1
- package/dist/puck-editor/internal/fields/link-picker/link-picker-control.js +208 -140
- package/dist/puck-editor/internal/fields/link-picker/link-picker-control.js.map +1 -1
- package/dist/puck-editor/internal/fields/link-picker/link-picker-field.d.ts +1 -2
- package/dist/puck-editor/internal/fields/link-picker/link-picker-field.js +6 -6
- package/dist/puck-editor/internal/fields/link-picker/link-picker-field.js.map +1 -1
- package/dist/puck-editor/internal/fields/link-picker/link-value.d.ts +25 -5
- package/dist/puck-editor/internal/fields/link-picker/link-value.js +56 -6
- package/dist/puck-editor/internal/fields/link-picker/link-value.js.map +1 -1
- package/dist/puck-editor/internal/fields/link-picker/rich-text-link-button.d.ts +0 -1
- package/dist/puck-editor/internal/fields/link-picker/rich-text-link-button.js +4 -4
- package/dist/puck-editor/internal/fields/link-picker/rich-text-link-button.js.map +1 -1
- package/dist/puck-editor/internal/fields/link-picker/richtext-extensions.d.ts +0 -1
- package/dist/puck-editor/internal/fields/link-picker/segmented-control.d.ts +0 -1
- package/dist/puck-editor/internal/fields/link-picker/segmented-control.js +3 -3
- package/dist/puck-editor/internal/fields/link-picker/segmented-control.js.map +1 -1
- package/dist/puck-editor/internal/fields/link-picker/types.d.ts +0 -1
- package/dist/puck-editor/internal/fields/media-array/create-media-array-field.d.ts +2 -3
- package/dist/puck-editor/internal/fields/media-array/create-media-array-field.js +1 -1
- package/dist/puck-editor/internal/fields/media-array/create-media-array-field.js.map +1 -1
- package/dist/puck-editor/internal/fields/media-array/media-array-field.d.ts +2 -3
- package/dist/puck-editor/internal/fields/media-array/media-array-field.js +124 -115
- package/dist/puck-editor/internal/fields/media-array/media-array-field.js.map +1 -1
- package/dist/puck-editor/internal/fields/media-array/reorder.d.ts +0 -1
- package/dist/puck-editor/internal/fields/media-selector/create-media-selector-field.d.ts +2 -3
- package/dist/puck-editor/internal/fields/media-selector/create-media-selector-field.js +1 -1
- package/dist/puck-editor/internal/fields/media-selector/create-media-selector-field.js.map +1 -1
- package/dist/puck-editor/internal/fields/media-selector/crop-editor-dialog.d.ts +1 -2
- package/dist/puck-editor/internal/fields/media-selector/crop-editor-dialog.js +4 -4
- package/dist/puck-editor/internal/fields/media-selector/crop-editor-dialog.js.map +1 -1
- package/dist/puck-editor/internal/fields/media-selector/crop-types.d.ts +0 -1
- package/dist/puck-editor/internal/fields/media-selector/extract-fields.d.ts +0 -1
- package/dist/puck-editor/internal/fields/media-selector/image-upload-form.d.ts +0 -1
- package/dist/puck-editor/internal/fields/media-selector/image-upload-form.js +19 -10
- package/dist/puck-editor/internal/fields/media-selector/image-upload-form.js.map +1 -1
- package/dist/puck-editor/internal/fields/media-selector/media-selector-field.d.ts +8 -3
- package/dist/puck-editor/internal/fields/media-selector/media-selector-field.js +59 -61
- package/dist/puck-editor/internal/fields/media-selector/media-selector-field.js.map +1 -1
- package/dist/puck-editor/internal/fields/media-selector/media-selector-modal.d.ts +1 -2
- package/dist/puck-editor/internal/fields/media-selector/media-selector-modal.js +281 -255
- package/dist/puck-editor/internal/fields/media-selector/media-selector-modal.js.map +1 -1
- package/dist/puck-editor/internal/fields/media-selector/use-debounced-value.d.ts +0 -1
- package/dist/puck-editor/internal/fields/media-selector/use-media-library.d.ts +15 -2
- package/dist/puck-editor/internal/fields/media-selector/use-media-library.js +23 -18
- package/dist/puck-editor/internal/fields/media-selector/use-media-library.js.map +1 -1
- package/dist/puck-editor/internal/fields/media-selector/video-upload-form.d.ts +0 -1
- package/dist/puck-editor/internal/fields/media-selector/video-upload-form.js +12 -6
- package/dist/puck-editor/internal/fields/media-selector/video-upload-form.js.map +1 -1
- package/dist/puck-editor/internal/fields/node-selector/create-node-selector-field.d.ts +0 -1
- package/dist/puck-editor/internal/fields/node-selector/create-node-selector-field.js +2 -2
- package/dist/puck-editor/internal/fields/node-selector/create-node-selector-field.js.map +1 -1
- package/dist/puck-editor/internal/fields/required-field-label.d.ts +0 -1
- package/dist/puck-editor/internal/fields/required-field-label.js +1 -1
- package/dist/puck-editor/internal/fields/required-field-label.js.map +1 -1
- package/dist/puck-editor/internal/fields/required.d.ts +0 -1
- package/dist/puck-editor/internal/fields/rich-text/create-rich-text-field.d.ts +13 -3
- package/dist/puck-editor/internal/fields/rich-text/create-rich-text-field.js +32 -22
- package/dist/puck-editor/internal/fields/rich-text/create-rich-text-field.js.map +1 -1
- package/dist/puck-editor/internal/i18n.d.ts +2 -181
- package/dist/puck-editor/internal/i18n.js +2 -358
- package/dist/puck-editor/internal/i18n.js.map +1 -1
- package/dist/puck-editor/internal/locale.d.ts +0 -1
- package/dist/puck-editor/internal/localize.d.ts +1 -2
- package/dist/puck-editor/internal/localize.js.map +1 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-bridge.d.ts +3 -3
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-bridge.js +41 -32
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-bridge.js.map +1 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-info-panel.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-info-panel.js +2 -2
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-info-panel.js.map +1 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-plugin.d.ts +3 -3
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-plugin.js.map +1 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/apply-patch-to-puck.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/apply-patch-to-puck.js +1 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/apply-patch-to-puck.js.map +1 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/catalog.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/constants.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/create-page.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/find-component-location.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/help.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/index.d.ts +1 -2
- package/dist/puck-editor/internal/plugins/agent-plugin/index.js +1 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/index.js.map +1 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/list-media.d.ts +2 -2
- package/dist/puck-editor/internal/plugins/agent-plugin/list-media.js +4 -3
- package/dist/puck-editor/internal/plugins/agent-plugin/list-media.js.map +1 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/templates.d.ts +5 -6
- package/dist/puck-editor/internal/plugins/agent-plugin/templates.js +2 -2
- package/dist/puck-editor/internal/plugins/agent-plugin/templates.js.map +1 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/upload-media.d.ts +1 -2
- package/dist/puck-editor/internal/plugins/agent-plugin/use-agent-handle.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/use-agent-handle.js +2 -2
- package/dist/puck-editor/internal/plugins/agent-plugin/use-agent-handle.js.map +1 -1
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-panel.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-panel.js +3 -3
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-panel.js.map +1 -1
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-plugin.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-plugin.js +1 -1
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-plugin.js.map +1 -1
- package/dist/puck-editor/internal/plugins/blocks-plugin/index.d.ts +1 -2
- package/dist/puck-editor/internal/plugins/blocks-plugin/index.js +1 -1
- package/dist/puck-editor/internal/plugins/blocks-plugin/index.js.map +1 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/index.d.ts +1 -2
- package/dist/puck-editor/internal/plugins/outline-plugin/index.js +1 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/index.js.map +1 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-panel.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-panel.js +8 -8
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-panel.js.map +1 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-plugin.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-plugin.js +1 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-plugin.js.map +1 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-tree.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/sections-plugin/index.d.ts +1 -2
- package/dist/puck-editor/internal/plugins/sections-plugin/index.js +1 -1
- package/dist/puck-editor/internal/plugins/sections-plugin/index.js.map +1 -1
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-panel.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-panel.js +5 -5
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-panel.js.map +1 -1
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-plugin.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-plugin.js +1 -1
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-plugin.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/ai-options-fields.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/ai-options-fields.js +2 -2
- package/dist/puck-editor/internal/plugins/templates-plugin/ai-options-fields.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/apply-vehicle-slot-constraints.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/apply-vehicle-slot-constraints.js +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/apply-vehicle-slot-constraints.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/component-template-modal.d.ts +1 -2
- package/dist/puck-editor/internal/plugins/templates-plugin/component-template-modal.js +3 -3
- package/dist/puck-editor/internal/plugins/templates-plugin/component-template-modal.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/custom-template-list.d.ts +1 -2
- package/dist/puck-editor/internal/plugins/templates-plugin/custom-template-list.js +224 -219
- package/dist/puck-editor/internal/plugins/templates-plugin/custom-template-list.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/index.d.ts +5 -6
- package/dist/puck-editor/internal/plugins/templates-plugin/index.js +5 -5
- package/dist/puck-editor/internal/plugins/templates-plugin/index.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/root-drop-zone.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/root-drop-zone.js +3 -3
- package/dist/puck-editor/internal/plugins/templates-plugin/root-drop-zone.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/template-form.d.ts +1 -2
- package/dist/puck-editor/internal/plugins/templates-plugin/template-form.js +17 -16
- package/dist/puck-editor/internal/plugins/templates-plugin/template-form.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/template-vehicles.d.ts +1 -2
- package/dist/puck-editor/internal/plugins/templates-plugin/template-vehicles.js +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/template-vehicles.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-panel.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-panel.js +171 -161
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-panel.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-plugin.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-plugin.js +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-plugin.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/templates.d.ts +2 -3
- package/dist/puck-editor/internal/plugins/templates-plugin/templates.js +9 -2
- package/dist/puck-editor/internal/plugins/templates-plugin/templates.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/use-template-dnd.d.ts +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/use-template-dnd.js +22 -20
- package/dist/puck-editor/internal/plugins/templates-plugin/use-template-dnd.js.map +1 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/use-templates.d.ts +14 -5
- package/dist/puck-editor/internal/plugins/templates-plugin/use-templates.js +23 -15
- package/dist/puck-editor/internal/plugins/templates-plugin/use-templates.js.map +1 -1
- package/dist/puck-editor/internal/puck-augmentation.d.ts +0 -1
- package/dist/puck-editor/internal/puck-editor-provider.d.ts +0 -1
- package/dist/puck-editor/internal/puck-node.d.ts +0 -1
- package/dist/puck-editor/internal/puck-props.d.ts +13 -0
- package/dist/puck-editor/internal/puck-props.js +2 -0
- package/dist/puck-editor/internal/puck-props.js.map +1 -0
- package/dist/puck-editor/internal/puck-wrapper.d.ts +25 -6
- package/dist/puck-editor/internal/puck-wrapper.js +124 -115
- package/dist/puck-editor/internal/puck-wrapper.js.map +1 -1
- package/dist/puck-editor/internal/render/cropped-image.d.ts +1 -2
- package/dist/puck-editor/internal/render/cropped-image.js.map +1 -1
- package/dist/puck-editor/internal/smart-actions/action-selection.d.ts +8 -0
- package/dist/puck-editor/internal/smart-actions/action-selection.js +10 -0
- package/dist/puck-editor/internal/smart-actions/action-selection.js.map +1 -0
- package/dist/puck-editor/internal/smart-actions/index.d.ts +10 -4
- package/dist/puck-editor/internal/smart-actions/index.js +27 -12
- package/dist/puck-editor/internal/smart-actions/index.js.map +1 -1
- package/dist/puck-editor/internal/smart-actions/new-page.d.ts +3 -2
- package/dist/puck-editor/internal/smart-actions/new-page.js +6 -6
- package/dist/puck-editor/internal/smart-actions/new-page.js.map +1 -1
- package/dist/puck-editor/internal/smart-actions/open-puck-editor.d.ts +3 -2
- package/dist/puck-editor/internal/smart-actions/open-puck-editor.js +49 -37
- package/dist/puck-editor/internal/smart-actions/open-puck-editor.js.map +1 -1
- package/dist/puck-editor/internal/ui/calendar.d.ts +0 -1
- package/dist/puck-editor/internal/ui/calendar.js +1 -1
- package/dist/puck-editor/internal/ui/calendar.js.map +1 -1
- package/dist/puck-editor/internal/ui/component-list-accordion.d.ts +0 -1
- package/dist/puck-editor/internal/ui/dialog.d.ts +0 -1
- package/dist/puck-editor/internal/ui/dialog.js +33 -20
- package/dist/puck-editor/internal/ui/dialog.js.map +1 -1
- package/dist/puck-editor/internal/ui/drawer-item-content.d.ts +0 -1
- package/dist/puck-editor/internal/ui/icon-button.d.ts +0 -1
- package/dist/puck-editor/internal/ui/icon-button.js +1 -1
- package/dist/puck-editor/internal/ui/icon-button.js.map +1 -1
- package/dist/puck-editor/internal/ui/load-error-notice.d.ts +6 -0
- package/dist/puck-editor/internal/ui/load-error-notice.js +81 -0
- package/dist/puck-editor/internal/ui/load-error-notice.js.map +1 -0
- package/dist/puck-editor/internal/ui/popover.d.ts +0 -1
- package/dist/puck-editor/internal/ui/popover.js +1 -1
- package/dist/puck-editor/internal/ui/popover.js.map +1 -1
- package/dist/puck-editor/internal/ui/required-mark.d.ts +0 -1
- package/dist/puck-editor/internal/ui/search-control.d.ts +3 -3
- package/dist/puck-editor/internal/ui/search-control.js +29 -26
- package/dist/puck-editor/internal/ui/search-control.js.map +1 -1
- package/dist/puck-editor/internal/ui/use-panel-search-focus.d.ts +0 -1
- package/dist/puck-editor/internal/use-puck-overlay.d.ts +1 -2
- package/dist/puck-editor/internal/use-puck-overlay.js +6 -5
- package/dist/puck-editor/internal/use-puck-overlay.js.map +1 -1
- package/dist/puck-editor/internal/utils.d.ts +0 -1
- package/dist/puck-editor/render.d.ts +2 -3
- package/dist/puck-editor/render.js +1 -1
- package/dist/puck-editor/render.js.map +1 -1
- package/dist/puck-editor/server.d.ts +3 -4
- package/dist/puck-editor/server.js +1 -1
- package/dist/puck-editor/server.js.map +1 -1
- package/dist/puck-editor/smart-actions.d.ts +1 -2
- package/dist/puck-editor/smart-actions.js +1 -1
- package/dist/puck-editor/smart-actions.js.map +1 -1
- package/dist/shared/cn.d.ts +0 -1
- package/dist/shared/i18n.d.ts +0 -1
- package/dist/shared/revalidate-path.d.ts +1 -0
- package/dist/shared/revalidate-path.js +2 -0
- package/dist/shared/revalidate-path.js.map +1 -0
- package/dist/shared/toolbar-action.d.ts +0 -1
- package/dist/shared/use-is-hydrated.d.ts +0 -1
- package/dist/shared/use-is-in-iframe.d.ts +0 -1
- package/dist/shared/use-is-in-iframe.js +1 -1
- package/dist/shared/use-is-in-iframe.js.map +1 -1
- package/dist/smart-actions/internal/assemble-smart-actions.d.ts +14 -0
- package/dist/smart-actions/internal/assemble-smart-actions.js +11 -0
- package/dist/smart-actions/internal/assemble-smart-actions.js.map +1 -0
- package/dist/smart-actions/internal/backend-edit-link.d.ts +6 -0
- package/dist/smart-actions/internal/backend-edit-link.js +60 -0
- package/dist/smart-actions/internal/backend-edit-link.js.map +1 -0
- package/dist/smart-actions/internal/get-smart-actions-context.d.ts +1 -2
- package/dist/smart-actions/internal/get-smart-actions-context.js +2 -2
- package/dist/smart-actions/internal/get-smart-actions-context.js.map +1 -1
- package/dist/smart-actions/internal/i18n.d.ts +1 -2
- package/dist/smart-actions/internal/i18n.js +16 -2
- package/dist/smart-actions/internal/i18n.js.map +1 -1
- package/dist/smart-actions/internal/logout-form.d.ts +2 -2
- package/dist/smart-actions/internal/logout-form.js +47 -40
- package/dist/smart-actions/internal/logout-form.js.map +1 -1
- package/dist/smart-actions/internal/refresh-page.d.ts +3 -2
- package/dist/smart-actions/internal/refresh-page.js +60 -53
- package/dist/smart-actions/internal/refresh-page.js.map +1 -1
- package/dist/smart-actions/internal/smart-actions-button.d.ts +22 -4
- package/dist/smart-actions/internal/smart-actions-button.js +36 -13
- package/dist/smart-actions/internal/smart-actions-button.js.map +1 -1
- package/dist/smart-actions/internal/smart-actions-config.d.ts +12 -4
- package/dist/smart-actions/internal/smart-actions-config.js +36 -80
- package/dist/smart-actions/internal/smart-actions-config.js.map +1 -1
- package/dist/smart-actions/internal/smart-actions-toolbar-client.d.ts +5 -11
- package/dist/smart-actions/internal/smart-actions-toolbar-client.js +13 -53
- package/dist/smart-actions/internal/smart-actions-toolbar-client.js.map +1 -1
- package/dist/smart-actions/internal/toolbar/smart-actions-toolbar.d.ts +1 -2
- package/dist/smart-actions/internal/toolbar/smart-actions-toolbar.js +4 -4
- package/dist/smart-actions/internal/toolbar/smart-actions-toolbar.js.map +1 -1
- package/dist/smart-actions/internal/toolbar/storage.d.ts +1 -2
- package/dist/smart-actions/internal/toolbar/storage.js.map +1 -1
- package/dist/smart-actions/internal/toolbar/types.d.ts +1 -2
- package/dist/smart-actions/internal/toolbar/types.js.map +1 -1
- package/dist/smart-actions/internal/toolbar/use-smart-actions-toolbar-mode.d.ts +1 -2
- package/dist/smart-actions/internal/toolbar/use-smart-actions-toolbar-mode.js +1 -1
- package/dist/smart-actions/internal/toolbar/use-smart-actions-toolbar-mode.js.map +1 -1
- package/dist/smart-actions/internal/ui/tooltip.d.ts +0 -1
- package/dist/smart-actions/internal/ui/tooltip.js +1 -1
- package/dist/smart-actions/internal/ui/tooltip.js.map +1 -1
- package/dist/smart-actions/internal/user-profile.d.ts +0 -1
- package/dist/smart-actions/internal/user-profile.js +71 -24
- package/dist/smart-actions/internal/user-profile.js.map +1 -1
- package/dist/smart-actions/server.d.ts +5 -4
- package/dist/smart-actions/server.js +2 -2
- package/dist/smart-actions/server.js.map +1 -1
- package/dist/theme.css +1 -1
- package/dist/visual-editor/index.d.ts +3 -4
- package/dist/visual-editor/index.js +3 -3
- package/dist/visual-editor/index.js.map +1 -1
- package/dist/visual-editor/internal/bridge/connector.d.ts +4 -3
- package/dist/visual-editor/internal/bridge/connector.js +22 -21
- package/dist/visual-editor/internal/bridge/connector.js.map +1 -1
- package/dist/visual-editor/internal/bridge/draft-mode-self-heal.d.ts +0 -1
- package/dist/visual-editor/internal/bridge/editor-auth-gate-server.d.ts +5 -3
- package/dist/visual-editor/internal/bridge/editor-auth-gate-server.js +7 -8
- package/dist/visual-editor/internal/bridge/editor-auth-gate-server.js.map +1 -1
- package/dist/visual-editor/internal/bridge/editor-auth-gate.d.ts +3 -3
- package/dist/visual-editor/internal/bridge/editor-auth-gate.js +4 -2
- package/dist/visual-editor/internal/bridge/editor-auth-gate.js.map +1 -1
- package/dist/visual-editor/internal/i18n.d.ts +3 -2
- package/dist/visual-editor/internal/i18n.js +32 -4
- package/dist/visual-editor/internal/i18n.js.map +1 -1
- package/dist/visual-editor/internal/overlays/drupal-origin.d.ts +1 -7
- package/dist/visual-editor/internal/overlays/drupal-origin.js +16 -3
- package/dist/visual-editor/internal/overlays/drupal-origin.js.map +1 -1
- package/dist/visual-editor/internal/overlays/edit-button.d.ts +5 -4
- package/dist/visual-editor/internal/overlays/edit-button.js +46 -44
- package/dist/visual-editor/internal/overlays/edit-button.js.map +1 -1
- package/dist/visual-editor/internal/overlays/edit-icon.d.ts +0 -1
- package/dist/visual-editor/internal/overlays/fragment/fragment-wrapper.d.ts +11 -2
- package/dist/visual-editor/internal/overlays/fragment/fragment-wrapper.js +18 -7
- package/dist/visual-editor/internal/overlays/fragment/fragment-wrapper.js.map +1 -1
- package/dist/visual-editor/internal/overlays/iframe-wrapper.d.ts +0 -1
- package/dist/visual-editor/internal/overlays/iframe-wrapper.js +1 -1
- package/dist/visual-editor/internal/overlays/iframe-wrapper.js.map +1 -1
- package/dist/visual-editor/internal/overlays/menu/menu-wrapper.d.ts +12 -3
- package/dist/visual-editor/internal/overlays/menu/menu-wrapper.js +14 -5
- package/dist/visual-editor/internal/overlays/menu/menu-wrapper.js.map +1 -1
- package/dist/visual-editor/internal/overlays/node/node-metadata.d.ts +4 -2
- package/dist/visual-editor/internal/overlays/node/node-metadata.js +10 -4
- package/dist/visual-editor/internal/overlays/node/node-metadata.js.map +1 -1
- package/dist/visual-editor/internal/overlays/node/node-wrapper.d.ts +5 -3
- package/dist/visual-editor/internal/overlays/node/node-wrapper.js +4 -2
- package/dist/visual-editor/internal/overlays/node/node-wrapper.js.map +1 -1
- package/dist/visual-editor/internal/overlays/paragraph/paragraph-wrapper.d.ts +11 -2
- package/dist/visual-editor/internal/overlays/paragraph/paragraph-wrapper.js +18 -7
- package/dist/visual-editor/internal/overlays/paragraph/paragraph-wrapper.js.map +1 -1
- package/dist/visual-editor/internal/revalidate-route.d.ts +0 -1
- package/dist/visual-editor/internal/revalidate-route.js +1 -1
- package/dist/visual-editor/internal/revalidate-route.js.map +1 -1
- package/dist/visual-editor/server.d.ts +6 -7
- package/dist/visual-editor/server.js +6 -6
- package/dist/visual-editor/server.js.map +1 -1
- package/package.json +19 -3
- package/dist/auth/index.d.ts.map +0 -1
- package/dist/auth/internal/config.d.ts.map +0 -1
- package/dist/auth/internal/draft-mode.d.ts.map +0 -1
- package/dist/auth/internal/editor-locale.d.ts.map +0 -1
- package/dist/auth/internal/handoff.d.ts.map +0 -1
- package/dist/auth/internal/has-session.d.ts.map +0 -1
- package/dist/auth/internal/logout.d.ts.map +0 -1
- package/dist/auth/internal/next-cookie-storage.d.ts.map +0 -1
- package/dist/auth/internal/nodehive-client.d.ts.map +0 -1
- package/dist/auth/internal/oauth-config.d.ts.map +0 -1
- package/dist/auth/internal/proxy-helpers.d.ts.map +0 -1
- package/dist/auth/internal/refresh.d.ts.map +0 -1
- package/dist/auth/internal/require-auth.d.ts.map +0 -1
- package/dist/auth/internal/return-to.d.ts.map +0 -1
- package/dist/auth/internal/routes/callback.d.ts.map +0 -1
- package/dist/auth/internal/routes/chips-exchange.d.ts.map +0 -1
- package/dist/auth/internal/routes/draft.d.ts.map +0 -1
- package/dist/auth/internal/routes/index.d.ts.map +0 -1
- package/dist/auth/internal/routes/login.d.ts.map +0 -1
- package/dist/auth/internal/routes/popup-done.d.ts.map +0 -1
- package/dist/auth/internal/routes/refresh.d.ts.map +0 -1
- package/dist/auth/internal/same-origin.d.ts.map +0 -1
- package/dist/auth/internal/session-gates.d.ts.map +0 -1
- package/dist/auth/internal/update-session.d.ts.map +0 -1
- package/dist/auth/internal/use-editor-login.d.ts.map +0 -1
- package/dist/auth/proxy.d.ts.map +0 -1
- package/dist/auth/react.d.ts.map +0 -1
- package/dist/auth/routes.d.ts.map +0 -1
- package/dist/auth/server.d.ts.map +0 -1
- package/dist/puck-editor/fields.d.ts.map +0 -1
- package/dist/puck-editor/index.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/client.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/config.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/create-puck-api.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/handlers/create-page.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/handlers/entities.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/handlers/publish.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/handlers/template.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/handlers/upload.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/media-params.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/media-upload.d.ts.map +0 -1
- package/dist/puck-editor/internal/api/space.d.ts.map +0 -1
- package/dist/puck-editor/internal/content-model.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/allowed-types.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/canvas-add-picker.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/canvas-empty-state.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/canvas-quick-add.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/canvas-scroll.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/component-icons.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/component-item.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/editor-action-bar.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/editor-header-actions.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/find-missing-required-fields.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/grouped-drawer-panel.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/grouped-entry-list.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/header-save-button.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/page-template-picker.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/picker-entry-item.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/picker-model.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/publish-puck-data.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/puck-editor.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/section-template-modal.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor/use-scroll-lock-outside.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor-config.d.ts.map +0 -1
- package/dist/puck-editor/internal/editor-query-client.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/checkbox-group/checkbox-group-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/checkbox-group/create-checkbox-group-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/date-picker/create-date-picker-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/date-picker/date-picker.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/index.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/link-picker/anchor.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/link-picker/create-link-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/link-picker/humanize.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/link-picker/link-picker-control.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/link-picker/link-picker-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/link-picker/link-value.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/link-picker/rich-text-link-button.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/link-picker/richtext-extensions.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/link-picker/segmented-control.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/link-picker/types.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-array/create-media-array-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-array/media-array-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-array/reorder.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-selector/create-media-selector-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-selector/crop-editor-dialog.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-selector/crop-types.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-selector/extract-fields.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-selector/image-upload-form.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-selector/media-selector-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-selector/media-selector-modal.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-selector/use-debounced-value.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-selector/use-media-library.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/media-selector/video-upload-form.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/node-selector/create-node-selector-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/required-field-label.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/required.d.ts.map +0 -1
- package/dist/puck-editor/internal/fields/rich-text/create-rich-text-field.d.ts.map +0 -1
- package/dist/puck-editor/internal/i18n.d.ts.map +0 -1
- package/dist/puck-editor/internal/locale.d.ts.map +0 -1
- package/dist/puck-editor/internal/localize.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-bridge.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-info-panel.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/agent-plugin.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/apply-patch-to-puck.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/catalog.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/constants.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/create-page.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/find-component-location.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/help.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/index.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/list-media.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/templates.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/upload-media.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/agent-plugin/use-agent-handle.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-panel.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/blocks-plugin/blocks-plugin.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/blocks-plugin/index.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/index.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-panel.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-plugin.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/outline-plugin/outline-tree.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/sections-plugin/index.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-panel.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/sections-plugin/sections-plugin.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/ai-options-fields.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/apply-vehicle-slot-constraints.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/component-template-modal.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/custom-template-list.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/index.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/root-drop-zone.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/template-form.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/template-vehicles.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-panel.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/templates-plugin.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/templates.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/use-template-dnd.d.ts.map +0 -1
- package/dist/puck-editor/internal/plugins/templates-plugin/use-templates.d.ts.map +0 -1
- package/dist/puck-editor/internal/puck-augmentation.d.ts.map +0 -1
- package/dist/puck-editor/internal/puck-editor-provider.d.ts.map +0 -1
- package/dist/puck-editor/internal/puck-node.d.ts.map +0 -1
- package/dist/puck-editor/internal/puck-wrapper.d.ts.map +0 -1
- package/dist/puck-editor/internal/render/cropped-image.d.ts.map +0 -1
- package/dist/puck-editor/internal/smart-actions/index.d.ts.map +0 -1
- package/dist/puck-editor/internal/smart-actions/new-page.d.ts.map +0 -1
- package/dist/puck-editor/internal/smart-actions/open-puck-editor.d.ts.map +0 -1
- package/dist/puck-editor/internal/ui/calendar.d.ts.map +0 -1
- package/dist/puck-editor/internal/ui/component-list-accordion.d.ts.map +0 -1
- package/dist/puck-editor/internal/ui/dialog.d.ts.map +0 -1
- package/dist/puck-editor/internal/ui/drawer-item-content.d.ts.map +0 -1
- package/dist/puck-editor/internal/ui/icon-button.d.ts.map +0 -1
- package/dist/puck-editor/internal/ui/popover.d.ts.map +0 -1
- package/dist/puck-editor/internal/ui/required-mark.d.ts.map +0 -1
- package/dist/puck-editor/internal/ui/search-control.d.ts.map +0 -1
- package/dist/puck-editor/internal/ui/use-panel-search-focus.d.ts.map +0 -1
- package/dist/puck-editor/internal/use-puck-overlay.d.ts.map +0 -1
- package/dist/puck-editor/internal/utils.d.ts.map +0 -1
- package/dist/puck-editor/render.d.ts.map +0 -1
- package/dist/puck-editor/server.d.ts.map +0 -1
- package/dist/puck-editor/smart-actions.d.ts.map +0 -1
- package/dist/shared/cn.d.ts.map +0 -1
- package/dist/shared/i18n.d.ts.map +0 -1
- package/dist/shared/toolbar-action.d.ts.map +0 -1
- package/dist/shared/use-is-hydrated.d.ts.map +0 -1
- package/dist/shared/use-is-in-iframe.d.ts.map +0 -1
- package/dist/smart-actions/internal/get-smart-actions-context.d.ts.map +0 -1
- package/dist/smart-actions/internal/i18n.d.ts.map +0 -1
- package/dist/smart-actions/internal/logout-form.d.ts.map +0 -1
- package/dist/smart-actions/internal/refresh-page.d.ts.map +0 -1
- package/dist/smart-actions/internal/smart-actions-button.d.ts.map +0 -1
- package/dist/smart-actions/internal/smart-actions-config.d.ts.map +0 -1
- package/dist/smart-actions/internal/smart-actions-toolbar-client.d.ts.map +0 -1
- package/dist/smart-actions/internal/toolbar/smart-actions-toolbar.d.ts.map +0 -1
- package/dist/smart-actions/internal/toolbar/storage.d.ts.map +0 -1
- package/dist/smart-actions/internal/toolbar/types.d.ts.map +0 -1
- package/dist/smart-actions/internal/toolbar/use-smart-actions-toolbar-mode.d.ts.map +0 -1
- package/dist/smart-actions/internal/ui/tooltip.d.ts.map +0 -1
- package/dist/smart-actions/internal/user-profile.d.ts.map +0 -1
- package/dist/smart-actions/server.d.ts.map +0 -1
- package/dist/visual-editor/index.d.ts.map +0 -1
- package/dist/visual-editor/internal/bridge/connector.d.ts.map +0 -1
- package/dist/visual-editor/internal/bridge/draft-mode-self-heal.d.ts.map +0 -1
- package/dist/visual-editor/internal/bridge/editor-auth-gate-server.d.ts.map +0 -1
- package/dist/visual-editor/internal/bridge/editor-auth-gate.d.ts.map +0 -1
- package/dist/visual-editor/internal/i18n.d.ts.map +0 -1
- package/dist/visual-editor/internal/overlays/drupal-origin.d.ts.map +0 -1
- package/dist/visual-editor/internal/overlays/edit-button.d.ts.map +0 -1
- package/dist/visual-editor/internal/overlays/edit-icon.d.ts.map +0 -1
- package/dist/visual-editor/internal/overlays/fragment/fragment-wrapper.d.ts.map +0 -1
- package/dist/visual-editor/internal/overlays/iframe-wrapper.d.ts.map +0 -1
- package/dist/visual-editor/internal/overlays/menu/menu-wrapper.d.ts.map +0 -1
- package/dist/visual-editor/internal/overlays/node/node-metadata.d.ts.map +0 -1
- package/dist/visual-editor/internal/overlays/node/node-wrapper.d.ts.map +0 -1
- package/dist/visual-editor/internal/overlays/paragraph/paragraph-wrapper.d.ts.map +0 -1
- package/dist/visual-editor/internal/revalidate-route.d.ts.map +0 -1
- package/dist/visual-editor/server.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-wrapper.js","names":["SignedIn","SignedOut","getVisualEditorDictionary","EditButton","IframeWrapper","jsx","_jsx","jsxs","_jsxs","MenuWrapper","type","menuId","lang","children","label","overlays","editMenu","className","position","message","menu_id"],"sources":["../../../../../src/visual-editor/internal/overlays/menu/menu-wrapper.tsx"],"sourcesContent":["import { SignedIn, SignedOut } from '../../../../auth/server';\nimport {
|
|
1
|
+
{"version":3,"file":"menu-wrapper.js","names":["SignedIn","SignedOut","getVisualEditorDictionary","EditButton","IframeWrapper","jsx","_jsx","jsxs","_jsxs","MenuWrapper","type","menuId","lang","drupalBaseUrl","dictionaryOverrides","children","label","overlays","editMenu","className","position","message","menu_id","langcode"],"sources":["../../../../../src/visual-editor/internal/overlays/menu/menu-wrapper.tsx"],"sourcesContent":["import { SignedIn, SignedOut } from '../../../../auth/server.ts';\nimport {\n getVisualEditorDictionary,\n type VisualEditorDictionaryOverrides,\n} from '../../i18n.ts';\nimport EditButton from '../edit-button.tsx';\nimport IframeWrapper from '../iframe-wrapper.tsx';\n\ntype MenuWrapperProps = {\n type?: 'menu';\n menuId: string;\n lang?: string;\n /** Trusted Drupal base URL; falls back to NEXT_PUBLIC_DRUPAL_BASE_URL when omitted. */\n drupalBaseUrl?: string;\n /** Per-section label overrides merged over the resolved dictionary. */\n dictionaryOverrides?: VisualEditorDictionaryOverrides;\n children: React.ReactNode;\n};\n\n/**\n * Renders the edit overlay for a menu (visible only to signed-in editors).\n *\n * Dynamic RSC (reads `cookies()` via the `<SignedIn>`/`<SignedOut>` gates); under `cacheComponents`, mount inside a `<Suspense>` boundary. See the visual-editor README.\n */\nexport default function MenuWrapper({\n type = 'menu',\n menuId,\n lang = 'en',\n drupalBaseUrl,\n dictionaryOverrides,\n children,\n}: MenuWrapperProps) {\n const label = getVisualEditorDictionary(lang, dictionaryOverrides).overlays\n .editMenu;\n\n return (\n <div data-nodehive-type=\"menu\" className=\"nh:relative\">\n <SignedIn>\n <IframeWrapper>\n <EditButton\n label={label}\n position=\"nh:-top-2 nh:-right-10\"\n drupalBaseUrl={drupalBaseUrl}\n message={{\n type: type,\n menu_id: menuId,\n langcode: lang,\n lang: lang,\n }}\n />\n\n {children}\n </IframeWrapper>\n </SignedIn>\n\n <SignedOut>{children}</SignedOut>\n </div>\n );\n}\n"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,SAAS,QAAQ,4BAA4B;AAChE,SACEC,yBAAyB,QAEpB,eAAe;AACtB,OAAOC,UAAU,MAAM,mBAAoB;AAC3C,OAAOC,aAAa,MAAM,sBAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAalD;AACA;AACA;AACA;AACA;AACA,eAAe,SAASC,WAAWA,CAAC;EAClCC,IAAI,GAAG,MAAM;EACbC,MAAM;EACNC,IAAI,GAAG,IAAI;EACXC,aAAa;EACbC,mBAAmB;EACnBC;AACgB,CAAC,EAAE;EACnB,MAAMC,KAAK,GAAGd,yBAAyB,CAACU,IAAI,EAAEE,mBAAmB,CAAC,CAACG,QAAQ,CACxEC,QAAQ;EAEX,oBACEV,KAAA;IAAK,sBAAmB,MAAM;IAACW,SAAS,EAAC,aAAa;IAAAJ,QAAA,gBACpDT,IAAA,CAACN,QAAQ;MAAAe,QAAA,eACPP,KAAA,CAACJ,aAAa;QAAAW,QAAA,gBACZT,IAAA,CAACH,UAAU;UACTa,KAAK,EAAEA,KAAM;UACbI,QAAQ,EAAC,wBAAwB;UACjCP,aAAa,EAAEA,aAAc;UAC7BQ,OAAO,EAAE;YACPX,IAAI,EAAEA,IAAI;YACVY,OAAO,EAAEX,MAAM;YACfY,QAAQ,EAAEX,IAAI;YACdA,IAAI,EAAEA;UACR;QAAE,CACH,CAAC,EAEDG,QAAQ;MAAA,CACI;IAAC,CACR,CAAC,eAEXT,IAAA,CAACL,SAAS;MAAAc,QAAA,EAAEA;IAAQ,CAAY,CAAC;EAAA,CAC9B,CAAC;AAEV","ignoreList":[]}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import { type VisualEditorDictionaryOverrides } from '../../i18n.js';
|
|
1
2
|
export type NodeEntity = {
|
|
2
3
|
id: string;
|
|
3
4
|
type?: string;
|
|
4
5
|
drupal_internal__nid?: string | number;
|
|
5
6
|
title?: string;
|
|
6
7
|
status?: boolean;
|
|
8
|
+
langcode?: string;
|
|
7
9
|
};
|
|
8
10
|
type NodeMetadataProps = {
|
|
9
11
|
entity: NodeEntity;
|
|
12
|
+
dictionaryOverrides?: VisualEditorDictionaryOverrides;
|
|
10
13
|
};
|
|
11
|
-
export default function NodeMetadata({ entity }: NodeMetadataProps): import("react").JSX.Element | null;
|
|
14
|
+
export default function NodeMetadata({ entity, dictionaryOverrides, }: NodeMetadataProps): import("react").JSX.Element | null;
|
|
12
15
|
export {};
|
|
13
|
-
//# sourceMappingURL=node-metadata.d.ts.map
|
|
@@ -1,16 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getVisualEditorDictionary } from "../../i18n.js";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
3
|
export default function NodeMetadata({
|
|
3
|
-
entity
|
|
4
|
+
entity,
|
|
5
|
+
dictionaryOverrides
|
|
4
6
|
}) {
|
|
5
7
|
const title = entity?.title;
|
|
6
8
|
const status = entity?.status;
|
|
7
9
|
if (status === true || status === undefined) {
|
|
8
10
|
return null;
|
|
9
11
|
}
|
|
12
|
+
const lang = entity?.langcode ?? 'en';
|
|
13
|
+
const {
|
|
14
|
+
overlays
|
|
15
|
+
} = getVisualEditorDictionary(lang, dictionaryOverrides);
|
|
10
16
|
return /*#__PURE__*/_jsx("div", {
|
|
11
17
|
className: "nh:mb-4 nh:bg-red-100/50 nh:p-4",
|
|
12
|
-
children: status === false && /*#__PURE__*/
|
|
13
|
-
children:
|
|
18
|
+
children: status === false && /*#__PURE__*/_jsx("p", {
|
|
19
|
+
children: overlays.unpublished.replace('{title}', title ?? '')
|
|
14
20
|
})
|
|
15
21
|
});
|
|
16
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-metadata.js","names":["NodeMetadata","entity","title","status","undefined","
|
|
1
|
+
{"version":3,"file":"node-metadata.js","names":["getVisualEditorDictionary","jsx","_jsx","NodeMetadata","entity","dictionaryOverrides","title","status","undefined","lang","langcode","overlays","className","children","unpublished","replace"],"sources":["../../../../../src/visual-editor/internal/overlays/node/node-metadata.tsx"],"sourcesContent":["import {\n getVisualEditorDictionary,\n type VisualEditorDictionaryOverrides,\n} from '../../i18n.ts';\n\nexport type NodeEntity = {\n id: string;\n type?: string;\n drupal_internal__nid?: string | number;\n title?: string;\n status?: boolean;\n langcode?: string;\n};\n\ntype NodeMetadataProps = {\n entity: NodeEntity;\n dictionaryOverrides?: VisualEditorDictionaryOverrides;\n};\n\nexport default function NodeMetadata({\n entity,\n dictionaryOverrides,\n}: NodeMetadataProps) {\n const title = entity?.title;\n const status = entity?.status;\n\n if (status === true || status === undefined) {\n return null;\n }\n\n const lang = entity?.langcode ?? 'en';\n const { overlays } = getVisualEditorDictionary(lang, dictionaryOverrides);\n\n return (\n <div className=\"nh:mb-4 nh:bg-red-100/50 nh:p-4\">\n {status === false && (\n <p>{overlays.unpublished.replace('{title}', title ?? '')}</p>\n )}\n </div>\n );\n}\n"],"mappings":"AAAA,SACEA,yBAAyB,QAEpB,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAgBvB,eAAe,SAASC,YAAYA,CAAC;EACnCC,MAAM;EACNC;AACiB,CAAC,EAAE;EACpB,MAAMC,KAAK,GAAGF,MAAM,EAAEE,KAAK;EAC3B,MAAMC,MAAM,GAAGH,MAAM,EAAEG,MAAM;EAE7B,IAAIA,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAKC,SAAS,EAAE;IAC3C,OAAO,IAAI;EACb;EAEA,MAAMC,IAAI,GAAGL,MAAM,EAAEM,QAAQ,IAAI,IAAI;EACrC,MAAM;IAAEC;EAAS,CAAC,GAAGX,yBAAyB,CAACS,IAAI,EAAEJ,mBAAmB,CAAC;EAEzE,oBACEH,IAAA;IAAKU,SAAS,EAAC,iCAAiC;IAAAC,QAAA,EAC7CN,MAAM,KAAK,KAAK,iBACfL,IAAA;MAAAW,QAAA,EAAIF,QAAQ,CAACG,WAAW,CAACC,OAAO,CAAC,SAAS,EAAET,KAAK,IAAI,EAAE;IAAC,CAAI;EAC7D,CACE,CAAC;AAEV","ignoreList":[]}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { VisualEditorDictionaryOverrides } from '../../i18n.js';
|
|
2
|
+
import { type NodeEntity } from './node-metadata.js';
|
|
2
3
|
type NodeWrapperProps = {
|
|
3
4
|
entity: NodeEntity;
|
|
5
|
+
/** Per-section label overrides merged over the resolved dictionary. */
|
|
6
|
+
dictionaryOverrides?: VisualEditorDictionaryOverrides;
|
|
4
7
|
children: React.ReactNode;
|
|
5
8
|
};
|
|
6
|
-
export default function NodeWrapper({ entity, children }: NodeWrapperProps): import("react").JSX.Element;
|
|
9
|
+
export default function NodeWrapper({ entity, dictionaryOverrides, children, }: NodeWrapperProps): import("react").JSX.Element;
|
|
7
10
|
export {};
|
|
8
|
-
//# sourceMappingURL=node-wrapper.d.ts.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import NodeMetadata from
|
|
1
|
+
import NodeMetadata from "./node-metadata.js";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
export default function NodeWrapper({
|
|
4
4
|
entity,
|
|
5
|
+
dictionaryOverrides,
|
|
5
6
|
children
|
|
6
7
|
}) {
|
|
7
8
|
const {
|
|
@@ -18,7 +19,8 @@ export default function NodeWrapper({
|
|
|
18
19
|
"data-nodehive-uuid": id,
|
|
19
20
|
className: "nh:relative",
|
|
20
21
|
children: [/*#__PURE__*/_jsx(NodeMetadata, {
|
|
21
|
-
entity: entity
|
|
22
|
+
entity: entity,
|
|
23
|
+
dictionaryOverrides: dictionaryOverrides
|
|
22
24
|
}), children]
|
|
23
25
|
});
|
|
24
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-wrapper.js","names":["NodeMetadata","jsx","_jsx","jsxs","_jsxs","NodeWrapper","entity","children","id","drupal_internal__nid","type","dynamicId","className"],"sources":["../../../../../src/visual-editor/internal/overlays/node/node-wrapper.tsx"],"sourcesContent":["import NodeMetadata, { type NodeEntity } from './node-metadata';\n\ntype NodeWrapperProps = {\n entity: NodeEntity;\n children: React.ReactNode;\n};\n\nexport default function NodeWrapper({
|
|
1
|
+
{"version":3,"file":"node-wrapper.js","names":["NodeMetadata","jsx","_jsx","jsxs","_jsxs","NodeWrapper","entity","dictionaryOverrides","children","id","drupal_internal__nid","type","dynamicId","className"],"sources":["../../../../../src/visual-editor/internal/overlays/node/node-wrapper.tsx"],"sourcesContent":["import type { VisualEditorDictionaryOverrides } from '../../i18n.ts';\nimport NodeMetadata, { type NodeEntity } from './node-metadata.tsx';\n\ntype NodeWrapperProps = {\n entity: NodeEntity;\n /** Per-section label overrides merged over the resolved dictionary. */\n dictionaryOverrides?: VisualEditorDictionaryOverrides;\n children: React.ReactNode;\n};\n\nexport default function NodeWrapper({\n entity,\n dictionaryOverrides,\n children,\n}: NodeWrapperProps) {\n const { id, drupal_internal__nid, type } = entity;\n\n const dynamicId = `node-${drupal_internal__nid}`;\n\n return (\n <div\n id={dynamicId}\n node-type={type}\n data-nodehive-type=\"node\"\n data-nodehive-id={drupal_internal__nid}\n data-nodehive-uuid={id}\n className=\"nh:relative\"\n >\n <NodeMetadata entity={entity} dictionaryOverrides={dictionaryOverrides} />\n\n {children}\n </div>\n );\n}\n"],"mappings":"AACA,OAAOA,YAAY,MAA2B,oBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AASpE,eAAe,SAASC,WAAWA,CAAC;EAClCC,MAAM;EACNC,mBAAmB;EACnBC;AACgB,CAAC,EAAE;EACnB,MAAM;IAAEC,EAAE;IAAEC,oBAAoB;IAAEC;EAAK,CAAC,GAAGL,MAAM;EAEjD,MAAMM,SAAS,GAAG,QAAQF,oBAAoB,EAAE;EAEhD,oBACEN,KAAA;IACEK,EAAE,EAAEG,SAAU;IACd,aAAWD,IAAK;IAChB,sBAAmB,MAAM;IACzB,oBAAkBD,oBAAqB;IACvC,sBAAoBD,EAAG;IACvBI,SAAS,EAAC,aAAa;IAAAL,QAAA,gBAEvBN,IAAA,CAACF,YAAY;MAACM,MAAM,EAAEA,MAAO;MAACC,mBAAmB,EAAEA;IAAoB,CAAE,CAAC,EAEzEC,QAAQ;EAAA,CACN,CAAC;AAEV","ignoreList":[]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type VisualEditorDictionaryOverrides } from '../../i18n.js';
|
|
1
2
|
type ParagraphEntity = {
|
|
2
3
|
id: string;
|
|
3
4
|
type?: string;
|
|
@@ -11,8 +12,16 @@ type ParagraphWrapperProps = {
|
|
|
11
12
|
entity: ParagraphEntity;
|
|
12
13
|
enable?: boolean;
|
|
13
14
|
editmode?: 'edit-form' | 'sidebar' | 'modal' | 'inline';
|
|
15
|
+
/** Trusted Drupal base URL; falls back to NEXT_PUBLIC_DRUPAL_BASE_URL when omitted. */
|
|
16
|
+
drupalBaseUrl?: string;
|
|
17
|
+
/** Per-section label overrides merged over the resolved dictionary. */
|
|
18
|
+
dictionaryOverrides?: VisualEditorDictionaryOverrides;
|
|
14
19
|
children: React.ReactNode;
|
|
15
20
|
};
|
|
16
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Renders the edit overlay for a paragraph (visible only to signed-in editors).
|
|
23
|
+
*
|
|
24
|
+
* Dynamic RSC (reads `cookies()` via the `<SignedIn>`/`<SignedOut>` gates); under `cacheComponents`, mount inside a `<Suspense>` boundary. See the visual-editor README.
|
|
25
|
+
*/
|
|
26
|
+
export default function ParagraphWrapper({ entity, enable, editmode, drupalBaseUrl, dictionaryOverrides, children, }: ParagraphWrapperProps): import("react").JSX.Element;
|
|
17
27
|
export {};
|
|
18
|
-
//# sourceMappingURL=paragraph-wrapper.d.ts.map
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
import { SignedIn, SignedOut } from
|
|
2
|
-
import { getVisualEditorDictionary } from
|
|
3
|
-
import EditButton from
|
|
4
|
-
import IframeWrapper from
|
|
1
|
+
import { SignedIn, SignedOut } from "../../../../auth/server.js";
|
|
2
|
+
import { getVisualEditorDictionary } from "../../i18n.js";
|
|
3
|
+
import EditButton from "../edit-button.js";
|
|
4
|
+
import IframeWrapper from "../iframe-wrapper.js";
|
|
5
5
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
/**
|
|
7
|
+
* Renders the edit overlay for a paragraph (visible only to signed-in editors).
|
|
8
|
+
*
|
|
9
|
+
* Dynamic RSC (reads `cookies()` via the `<SignedIn>`/`<SignedOut>` gates); under `cacheComponents`, mount inside a `<Suspense>` boundary. See the visual-editor README.
|
|
10
|
+
*/
|
|
6
11
|
export default function ParagraphWrapper({
|
|
7
12
|
entity,
|
|
8
13
|
enable = true,
|
|
9
14
|
editmode = 'sidebar',
|
|
15
|
+
drupalBaseUrl,
|
|
16
|
+
dictionaryOverrides,
|
|
10
17
|
children
|
|
11
18
|
}) {
|
|
12
19
|
const {
|
|
@@ -16,13 +23,16 @@ export default function ParagraphWrapper({
|
|
|
16
23
|
id
|
|
17
24
|
} = entity;
|
|
18
25
|
const drupalInternalTargetId = meta?.drupal_internal__target_id;
|
|
26
|
+
const lang = entity.langcode ?? 'en';
|
|
27
|
+
const {
|
|
28
|
+
overlays
|
|
29
|
+
} = getVisualEditorDictionary(lang, dictionaryOverrides);
|
|
19
30
|
if (!type) {
|
|
20
31
|
return /*#__PURE__*/_jsxs("div", {
|
|
21
|
-
children: ["
|
|
32
|
+
children: [overlays.noVisualEditor, " ", children]
|
|
22
33
|
});
|
|
23
34
|
}
|
|
24
|
-
const
|
|
25
|
-
const label = getVisualEditorDictionary(lang).overlays.editParagraph;
|
|
35
|
+
const label = overlays.editParagraph;
|
|
26
36
|
const dynamicId = `node-${drupalInternalTargetId}`;
|
|
27
37
|
return /*#__PURE__*/_jsxs("div", {
|
|
28
38
|
id: dynamicId,
|
|
@@ -41,6 +51,7 @@ export default function ParagraphWrapper({
|
|
|
41
51
|
label: label,
|
|
42
52
|
position: "nh:top-0 nh:right-0 nh:m-2",
|
|
43
53
|
showLabel: true,
|
|
54
|
+
drupalBaseUrl: drupalBaseUrl,
|
|
44
55
|
message: {
|
|
45
56
|
type: 'paragraph',
|
|
46
57
|
uuid: id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paragraph-wrapper.js","names":["SignedIn","SignedOut","getVisualEditorDictionary","EditButton","IframeWrapper","jsxs","_jsxs","jsx","_jsx","ParagraphWrapper","entity","enable","editmode","children","meta","type","parent_id","id","drupalInternalTargetId","drupal_internal__target_id","lang","langcode","
|
|
1
|
+
{"version":3,"file":"paragraph-wrapper.js","names":["SignedIn","SignedOut","getVisualEditorDictionary","EditButton","IframeWrapper","jsxs","_jsxs","jsx","_jsx","ParagraphWrapper","entity","enable","editmode","drupalBaseUrl","dictionaryOverrides","children","meta","type","parent_id","id","drupalInternalTargetId","drupal_internal__target_id","lang","langcode","overlays","noVisualEditor","label","editParagraph","dynamicId","toString","className","position","showLabel","message","uuid"],"sources":["../../../../../src/visual-editor/internal/overlays/paragraph/paragraph-wrapper.tsx"],"sourcesContent":["import { SignedIn, SignedOut } from '../../../../auth/server.ts';\nimport {\n getVisualEditorDictionary,\n type VisualEditorDictionaryOverrides,\n} from '../../i18n.ts';\nimport EditButton from '../edit-button.tsx';\nimport IframeWrapper from '../iframe-wrapper.tsx';\n\ntype ParagraphEntity = {\n id: string;\n type?: string;\n parent_id?: string;\n langcode?: string;\n meta?: { drupal_internal__target_id?: string | number };\n};\n\ntype ParagraphWrapperProps = {\n entity: ParagraphEntity;\n enable?: boolean;\n editmode?: 'edit-form' | 'sidebar' | 'modal' | 'inline';\n /** Trusted Drupal base URL; falls back to NEXT_PUBLIC_DRUPAL_BASE_URL when omitted. */\n drupalBaseUrl?: string;\n /** Per-section label overrides merged over the resolved dictionary. */\n dictionaryOverrides?: VisualEditorDictionaryOverrides;\n children: React.ReactNode;\n};\n\n/**\n * Renders the edit overlay for a paragraph (visible only to signed-in editors).\n *\n * Dynamic RSC (reads `cookies()` via the `<SignedIn>`/`<SignedOut>` gates); under `cacheComponents`, mount inside a `<Suspense>` boundary. See the visual-editor README.\n */\nexport default function ParagraphWrapper({\n entity,\n enable = true,\n editmode = 'sidebar',\n drupalBaseUrl,\n dictionaryOverrides,\n children,\n}: ParagraphWrapperProps) {\n const { meta, type, parent_id, id } = entity;\n const drupalInternalTargetId = meta?.drupal_internal__target_id;\n\n const lang = entity.langcode ?? 'en';\n const { overlays } = getVisualEditorDictionary(lang, dictionaryOverrides);\n\n if (!type) {\n return (\n <div>\n {overlays.noVisualEditor} {children}\n </div>\n );\n }\n\n const label = overlays.editParagraph;\n const dynamicId = `node-${drupalInternalTargetId}`;\n\n return (\n <div\n id={dynamicId}\n paragraph-type={type}\n data-nodehive-enable={enable.toString()}\n data-nodehive-editmode={editmode}\n data-nodehive-type=\"paragraph\"\n data-nodehive-parent_id={parent_id}\n data-nodehive-id={drupalInternalTargetId}\n data-nodehive-uuid={id}\n data-nodehive-langcode={lang}\n className=\"nh:relative\"\n >\n <SignedIn>\n <IframeWrapper>\n <EditButton\n label={label}\n position=\"nh:top-0 nh:right-0 nh:m-2\"\n showLabel\n drupalBaseUrl={drupalBaseUrl}\n message={{\n type: 'paragraph',\n uuid: id,\n id: drupalInternalTargetId,\n parent_id: parent_id,\n langcode: lang,\n }}\n />\n\n {children}\n </IframeWrapper>\n </SignedIn>\n\n <SignedOut>{children}</SignedOut>\n </div>\n );\n}\n"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,SAAS,QAAQ,4BAA4B;AAChE,SACEC,yBAAyB,QAEpB,eAAe;AACtB,OAAOC,UAAU,MAAM,mBAAoB;AAC3C,OAAOC,aAAa,MAAM,sBAAuB;AAAC,SAAAC,IAAA,IAAAC,KAAA,EAAAC,GAAA,IAAAC,IAAA;AAqBlD;AACA;AACA;AACA;AACA;AACA,eAAe,SAASC,gBAAgBA,CAAC;EACvCC,MAAM;EACNC,MAAM,GAAG,IAAI;EACbC,QAAQ,GAAG,SAAS;EACpBC,aAAa;EACbC,mBAAmB;EACnBC;AACqB,CAAC,EAAE;EACxB,MAAM;IAAEC,IAAI;IAAEC,IAAI;IAAEC,SAAS;IAAEC;EAAG,CAAC,GAAGT,MAAM;EAC5C,MAAMU,sBAAsB,GAAGJ,IAAI,EAAEK,0BAA0B;EAE/D,MAAMC,IAAI,GAAGZ,MAAM,CAACa,QAAQ,IAAI,IAAI;EACpC,MAAM;IAAEC;EAAS,CAAC,GAAGtB,yBAAyB,CAACoB,IAAI,EAAER,mBAAmB,CAAC;EAEzE,IAAI,CAACG,IAAI,EAAE;IACT,oBACEX,KAAA;MAAAS,QAAA,GACGS,QAAQ,CAACC,cAAc,EAAC,GAAC,EAACV,QAAQ;IAAA,CAChC,CAAC;EAEV;EAEA,MAAMW,KAAK,GAAGF,QAAQ,CAACG,aAAa;EACpC,MAAMC,SAAS,GAAG,QAAQR,sBAAsB,EAAE;EAElD,oBACEd,KAAA;IACEa,EAAE,EAAES,SAAU;IACd,kBAAgBX,IAAK;IACrB,wBAAsBN,MAAM,CAACkB,QAAQ,CAAC,CAAE;IACxC,0BAAwBjB,QAAS;IACjC,sBAAmB,WAAW;IAC9B,2BAAyBM,SAAU;IACnC,oBAAkBE,sBAAuB;IACzC,sBAAoBD,EAAG;IACvB,0BAAwBG,IAAK;IAC7BQ,SAAS,EAAC,aAAa;IAAAf,QAAA,gBAEvBP,IAAA,CAACR,QAAQ;MAAAe,QAAA,eACPT,KAAA,CAACF,aAAa;QAAAW,QAAA,gBACZP,IAAA,CAACL,UAAU;UACTuB,KAAK,EAAEA,KAAM;UACbK,QAAQ,EAAC,4BAA4B;UACrCC,SAAS;UACTnB,aAAa,EAAEA,aAAc;UAC7BoB,OAAO,EAAE;YACPhB,IAAI,EAAE,WAAW;YACjBiB,IAAI,EAAEf,EAAE;YACRA,EAAE,EAAEC,sBAAsB;YAC1BF,SAAS,EAAEA,SAAS;YACpBK,QAAQ,EAAED;UACZ;QAAE,CACH,CAAC,EAEDP,QAAQ;MAAA,CACI;IAAC,CACR,CAAC,eAEXP,IAAA,CAACP,SAAS;MAAAc,QAAA,EAAEA;IAAQ,CAAY,CAAC;EAAA,CAC9B,CAAC;AAEV","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { revalidatePath, revalidateTag } from 'next/cache';
|
|
2
|
-
import { isSameOriginRequest, requireAuth } from
|
|
2
|
+
import { isSameOriginRequest, requireAuth } from "../../auth/server.js";
|
|
3
3
|
/**
|
|
4
4
|
* Handler factory for the editor revalidation endpoint, mounted once:
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revalidate-route.js","names":["revalidatePath","revalidateTag","isSameOriginRequest","requireAuth","createRevalidateRoute","options","POST","request","Response","status","unauthorized","body","json","catch","path","tags","Array","isArray","filter","tag","length","revalidated","now","Date","message","allTags","push","pathTags"],"sources":["../../../src/visual-editor/internal/revalidate-route.ts"],"sourcesContent":["import { revalidatePath, revalidateTag } from 'next/cache';\nimport { NextRequest } from 'next/server';\n\nimport { isSameOriginRequest, requireAuth } from '../../auth/server';\n\nexport interface RevalidateRouteOptions {\n /** Tags also busted whenever a path is revalidated (e.g. a site-wide umbrella tag). */\n pathTags?: string[];\n}\n\n/**\n * Handler factory for the editor revalidation endpoint, mounted once:\n *\n * // src/app/api/nodehive/revalidate/route.ts\n * export const { POST } = createRevalidateRoute({ pathTags: [cacheTags.all()] });\n *\n * Single convention: POST with a JSON body `{ path?, tags? }`. Same-origin only\n * (the in-iframe bridge) blocks cross-site abuse of this state-changing route,\n * which the proxy guard (mutating methods only) doesn't cover.\n */\nexport function createRevalidateRoute(options: RevalidateRouteOptions = {}) {\n async function POST(request: NextRequest) {\n if (!isSameOriginRequest(request)) {\n return new Response('Forbidden', { status: 403 });\n }\n\n const unauthorized = await requireAuth();\n if (unauthorized) return unauthorized;\n\n const body = await request.json().catch(() => null);\n const path = typeof body?.path === 'string' ? body.path : null;\n const tags = Array.isArray(body?.tags)\n ? body.tags.filter(\n (tag: unknown): tag is string => typeof tag === 'string'\n )\n : [];\n\n if (!path && tags.length === 0) {\n return Response.json({\n revalidated: false,\n now: Date.now(),\n message: 'Missing path or tags to revalidate',\n });\n }\n\n const allTags = [...tags];\n\n if (path) {\n revalidatePath(path);\n allTags.push(...(options.pathTags ?? []));\n }\n\n for (const tag of allTags) {\n revalidateTag(tag, 'max');\n }\n\n return Response.json({\n revalidated: true,\n now: Date.now(),\n path,\n tags: allTags,\n });\n }\n\n return { POST };\n}\n"],"mappings":"AAAA,SAASA,cAAc,EAAEC,aAAa,QAAQ,YAAY;AAG1D,SAASC,mBAAmB,EAAEC,WAAW,QAAQ,
|
|
1
|
+
{"version":3,"file":"revalidate-route.js","names":["revalidatePath","revalidateTag","isSameOriginRequest","requireAuth","createRevalidateRoute","options","POST","request","Response","status","unauthorized","body","json","catch","path","tags","Array","isArray","filter","tag","length","revalidated","now","Date","message","allTags","push","pathTags"],"sources":["../../../src/visual-editor/internal/revalidate-route.ts"],"sourcesContent":["import { revalidatePath, revalidateTag } from 'next/cache';\nimport { NextRequest } from 'next/server';\n\nimport { isSameOriginRequest, requireAuth } from '../../auth/server.ts';\n\nexport interface RevalidateRouteOptions {\n /** Tags also busted whenever a path is revalidated (e.g. a site-wide umbrella tag). */\n pathTags?: string[];\n}\n\n/**\n * Handler factory for the editor revalidation endpoint, mounted once:\n *\n * // src/app/api/nodehive/revalidate/route.ts\n * export const { POST } = createRevalidateRoute({ pathTags: [cacheTags.all()] });\n *\n * Single convention: POST with a JSON body `{ path?, tags? }`. Same-origin only\n * (the in-iframe bridge) blocks cross-site abuse of this state-changing route,\n * which the proxy guard (mutating methods only) doesn't cover.\n */\nexport function createRevalidateRoute(options: RevalidateRouteOptions = {}) {\n async function POST(request: NextRequest) {\n if (!isSameOriginRequest(request)) {\n return new Response('Forbidden', { status: 403 });\n }\n\n const unauthorized = await requireAuth();\n if (unauthorized) return unauthorized;\n\n const body = await request.json().catch(() => null);\n const path = typeof body?.path === 'string' ? body.path : null;\n const tags = Array.isArray(body?.tags)\n ? body.tags.filter(\n (tag: unknown): tag is string => typeof tag === 'string'\n )\n : [];\n\n if (!path && tags.length === 0) {\n return Response.json({\n revalidated: false,\n now: Date.now(),\n message: 'Missing path or tags to revalidate',\n });\n }\n\n const allTags = [...tags];\n\n if (path) {\n revalidatePath(path);\n allTags.push(...(options.pathTags ?? []));\n }\n\n for (const tag of allTags) {\n revalidateTag(tag, 'max');\n }\n\n return Response.json({\n revalidated: true,\n now: Date.now(),\n path,\n tags: allTags,\n });\n }\n\n return { POST };\n}\n"],"mappings":"AAAA,SAASA,cAAc,EAAEC,aAAa,QAAQ,YAAY;AAG1D,SAASC,mBAAmB,EAAEC,WAAW,QAAQ,sBAAsB;AAOvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAACC,OAA+B,GAAG,CAAC,CAAC,EAAE;EAC1E,eAAeC,IAAIA,CAACC,OAAoB,EAAE;IACxC,IAAI,CAACL,mBAAmB,CAACK,OAAO,CAAC,EAAE;MACjC,OAAO,IAAIC,QAAQ,CAAC,WAAW,EAAE;QAAEC,MAAM,EAAE;MAAI,CAAC,CAAC;IACnD;IAEA,MAAMC,YAAY,GAAG,MAAMP,WAAW,CAAC,CAAC;IACxC,IAAIO,YAAY,EAAE,OAAOA,YAAY;IAErC,MAAMC,IAAI,GAAG,MAAMJ,OAAO,CAACK,IAAI,CAAC,CAAC,CAACC,KAAK,CAAC,MAAM,IAAI,CAAC;IACnD,MAAMC,IAAI,GAAG,OAAOH,IAAI,EAAEG,IAAI,KAAK,QAAQ,GAAGH,IAAI,CAACG,IAAI,GAAG,IAAI;IAC9D,MAAMC,IAAI,GAAGC,KAAK,CAACC,OAAO,CAACN,IAAI,EAAEI,IAAI,CAAC,GAClCJ,IAAI,CAACI,IAAI,CAACG,MAAM,CACbC,GAAY,IAAoB,OAAOA,GAAG,KAAK,QAClD,CAAC,GACD,EAAE;IAEN,IAAI,CAACL,IAAI,IAAIC,IAAI,CAACK,MAAM,KAAK,CAAC,EAAE;MAC9B,OAAOZ,QAAQ,CAACI,IAAI,CAAC;QACnBS,WAAW,EAAE,KAAK;QAClBC,GAAG,EAAEC,IAAI,CAACD,GAAG,CAAC,CAAC;QACfE,OAAO,EAAE;MACX,CAAC,CAAC;IACJ;IAEA,MAAMC,OAAO,GAAG,CAAC,GAAGV,IAAI,CAAC;IAEzB,IAAID,IAAI,EAAE;MACRd,cAAc,CAACc,IAAI,CAAC;MACpBW,OAAO,CAACC,IAAI,CAAC,IAAIrB,OAAO,CAACsB,QAAQ,IAAI,EAAE,CAAC,CAAC;IAC3C;IAEA,KAAK,MAAMR,GAAG,IAAIM,OAAO,EAAE;MACzBxB,aAAa,CAACkB,GAAG,EAAE,KAAK,CAAC;IAC3B;IAEA,OAAOX,QAAQ,CAACI,IAAI,CAAC;MACnBS,WAAW,EAAE,IAAI;MACjBC,GAAG,EAAEC,IAAI,CAACD,GAAG,CAAC,CAAC;MACfR,IAAI;MACJC,IAAI,EAAEU;IACR,CAAC,CAAC;EACJ;EAEA,OAAO;IAAEnB;EAAK,CAAC;AACjB","ignoreList":[]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { createRevalidateRoute, type RevalidateRouteOptions, } from './internal/revalidate-route';
|
|
2
|
-
export { default as EditorAuthGateServer } from './internal/bridge/editor-auth-gate-server';
|
|
3
|
-
export { default as FragmentWrapper } from './internal/overlays/fragment/fragment-wrapper';
|
|
4
|
-
export { default as MenuWrapper } from './internal/overlays/menu/menu-wrapper';
|
|
5
|
-
export { default as NodeWrapper } from './internal/overlays/node/node-wrapper';
|
|
6
|
-
export { default as ParagraphWrapper } from './internal/overlays/paragraph/paragraph-wrapper';
|
|
7
|
-
//# sourceMappingURL=server.d.ts.map
|
|
1
|
+
export { createRevalidateRoute, type RevalidateRouteOptions, } from './internal/revalidate-route.js';
|
|
2
|
+
export { default as EditorAuthGateServer } from './internal/bridge/editor-auth-gate-server.js';
|
|
3
|
+
export { default as FragmentWrapper } from './internal/overlays/fragment/fragment-wrapper.js';
|
|
4
|
+
export { default as MenuWrapper } from './internal/overlays/menu/menu-wrapper.js';
|
|
5
|
+
export { default as NodeWrapper } from './internal/overlays/node/node-wrapper.js';
|
|
6
|
+
export { default as ParagraphWrapper } from './internal/overlays/paragraph/paragraph-wrapper.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Server entry: keeps next/headers-dependent code out of the client index.
|
|
2
|
-
export { createRevalidateRoute } from
|
|
3
|
-
export { default as EditorAuthGateServer } from
|
|
4
|
-
export { default as FragmentWrapper } from
|
|
5
|
-
export { default as MenuWrapper } from
|
|
6
|
-
export { default as NodeWrapper } from
|
|
7
|
-
export { default as ParagraphWrapper } from
|
|
2
|
+
export { createRevalidateRoute } from "./internal/revalidate-route.js";
|
|
3
|
+
export { default as EditorAuthGateServer } from "./internal/bridge/editor-auth-gate-server.js";
|
|
4
|
+
export { default as FragmentWrapper } from "./internal/overlays/fragment/fragment-wrapper.js";
|
|
5
|
+
export { default as MenuWrapper } from "./internal/overlays/menu/menu-wrapper.js";
|
|
6
|
+
export { default as NodeWrapper } from "./internal/overlays/node/node-wrapper.js";
|
|
7
|
+
export { default as ParagraphWrapper } from "./internal/overlays/paragraph/paragraph-wrapper.js";
|
|
8
8
|
//# sourceMappingURL=server.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","names":["createRevalidateRoute","default","EditorAuthGateServer","FragmentWrapper","MenuWrapper","NodeWrapper","ParagraphWrapper"],"sources":["../../src/visual-editor/server.ts"],"sourcesContent":["// Server entry: keeps next/headers-dependent code out of the client index.\nexport {\n createRevalidateRoute,\n type RevalidateRouteOptions,\n} from './internal/revalidate-route';\nexport { default as EditorAuthGateServer } from './internal/bridge/editor-auth-gate-server';\nexport { default as FragmentWrapper } from './internal/overlays/fragment/fragment-wrapper';\nexport { default as MenuWrapper } from './internal/overlays/menu/menu-wrapper';\nexport { default as NodeWrapper } from './internal/overlays/node/node-wrapper';\nexport { default as ParagraphWrapper } from './internal/overlays/paragraph/paragraph-wrapper';\n"],"mappings":"AAAA;AACA,SACEA,qBAAqB,QAEhB,
|
|
1
|
+
{"version":3,"file":"server.js","names":["createRevalidateRoute","default","EditorAuthGateServer","FragmentWrapper","MenuWrapper","NodeWrapper","ParagraphWrapper"],"sources":["../../src/visual-editor/server.ts"],"sourcesContent":["// Server entry: keeps next/headers-dependent code out of the client index.\nexport {\n createRevalidateRoute,\n type RevalidateRouteOptions,\n} from './internal/revalidate-route.ts';\nexport { default as EditorAuthGateServer } from './internal/bridge/editor-auth-gate-server.tsx';\nexport { default as FragmentWrapper } from './internal/overlays/fragment/fragment-wrapper.tsx';\nexport { default as MenuWrapper } from './internal/overlays/menu/menu-wrapper.tsx';\nexport { default as NodeWrapper } from './internal/overlays/node/node-wrapper.tsx';\nexport { default as ParagraphWrapper } from './internal/overlays/paragraph/paragraph-wrapper.tsx';\n"],"mappings":"AAAA;AACA,SACEA,qBAAqB,QAEhB,gCAAgC;AACvC,SAASC,OAAO,IAAIC,oBAAoB,QAAQ,8CAA+C;AAC/F,SAASD,OAAO,IAAIE,eAAe,QAAQ,kDAAmD;AAC9F,SAASF,OAAO,IAAIG,WAAW,QAAQ,0CAA2C;AAClF,SAASH,OAAO,IAAII,WAAW,QAAQ,0CAA2C;AAClF,SAASJ,OAAO,IAAIK,gBAAgB,QAAQ,oDAAqD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nodehive/nextjs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "NodeHive Next.js infrastructure modules: auth, puck-editor, visual-editor, smart-actions",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "NETNODE AG <info@netnode.ch>",
|
|
@@ -28,14 +28,23 @@
|
|
|
28
28
|
],
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "npm run build:js && npm run build:css",
|
|
31
|
-
"build:js": "tsc -p tsconfig.build.json --emitDeclarationOnly && babel src --out-dir dist --extensions .ts,.tsx --source-maps true --ignore \"src/**/*.test.ts,src/**/*.test.tsx\"",
|
|
31
|
+
"build:js": "tsc -p tsconfig.build.json --emitDeclarationOnly && node scripts/rewrite-dist-dts.mjs dist && babel src --out-dir dist --extensions .ts,.tsx --source-maps true --ignore \"src/**/*.test.ts,src/**/*.test.tsx\"",
|
|
32
32
|
"build:css": "tailwindcss -i css/theme.css -o dist/theme.css --minify && mkdir -p dist/puck-editor && cp src/puck-editor/puck-theme.css dist/puck-editor/puck-theme.css",
|
|
33
33
|
"dev": "npm run build:css && (tsc -p tsconfig.build.json --watch --preserveWatchOutput & tailwindcss -i css/theme.css -o dist/theme.css --watch)",
|
|
34
34
|
"lint": "eslint",
|
|
35
35
|
"test:unit": "node --import ./test-hooks.ts --experimental-test-module-mocks --test 'src/**/*.test.ts'",
|
|
36
|
+
"check:package": "node scripts/check-package.mjs",
|
|
37
|
+
"check:publint": "node scripts/check-package.mjs --only publint",
|
|
38
|
+
"check:attw": "node scripts/check-package.mjs --only attw",
|
|
39
|
+
"check:smoke": "node scripts/check-package.mjs --only smoke",
|
|
40
|
+
"check:types": "node scripts/check-package.mjs --only types",
|
|
41
|
+
"check:personas": "node scripts/check-package.mjs --only personas",
|
|
42
|
+
"check:api": "node scripts/api-surface.mjs --check",
|
|
43
|
+
"api:update": "node scripts/api-surface.mjs --write",
|
|
36
44
|
"prepublishOnly": "npm run build"
|
|
37
45
|
},
|
|
38
46
|
"exports": {
|
|
47
|
+
"./package.json": "./package.json",
|
|
39
48
|
"./auth": {
|
|
40
49
|
"types": "./dist/auth/index.d.ts",
|
|
41
50
|
"default": "./dist/auth/index.js"
|
|
@@ -64,6 +73,10 @@
|
|
|
64
73
|
"types": "./dist/puck-editor/server.d.ts",
|
|
65
74
|
"default": "./dist/puck-editor/server.js"
|
|
66
75
|
},
|
|
76
|
+
"./puck-editor/editor": {
|
|
77
|
+
"types": "./dist/puck-editor/editor.d.ts",
|
|
78
|
+
"default": "./dist/puck-editor/editor.js"
|
|
79
|
+
},
|
|
67
80
|
"./puck-editor/fields": {
|
|
68
81
|
"types": "./dist/puck-editor/fields.d.ts",
|
|
69
82
|
"default": "./dist/puck-editor/fields.js"
|
|
@@ -141,6 +154,7 @@
|
|
|
141
154
|
}
|
|
142
155
|
},
|
|
143
156
|
"devDependencies": {
|
|
157
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
144
158
|
"@babel/cli": "^7.29.7",
|
|
145
159
|
"@babel/core": "^7.29.7",
|
|
146
160
|
"@babel/preset-react": "^7.29.7",
|
|
@@ -156,7 +170,9 @@
|
|
|
156
170
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
157
171
|
"eslint-plugin-check-file": "^3.3.1",
|
|
158
172
|
"eslint-plugin-react-no-manual-memo": "^1.0.4",
|
|
173
|
+
"publint": "^0.3.21",
|
|
159
174
|
"tailwindcss": "^4.1.18",
|
|
160
|
-
"typescript": "^6.0.3"
|
|
175
|
+
"typescript": "^6.0.3",
|
|
176
|
+
"typescript-min": "npm:typescript@5.9.3"
|
|
161
177
|
}
|
|
162
178
|
}
|
package/dist/auth/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,YAAY,EAAE,kBAAkB,EAAE,CAAC;AACnC,YAAY,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,0EAA0E;AAC1E,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,kBAAkB,GACzB,kBAAkB,CAEpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,OAAO,CAAC;IACtB,iEAAiE;IACjE,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG;QAAE,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;CAClD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft-mode.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/draft-mode.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG7E,iFAAiF;AACjF,eAAO,MAAM,iBAAiB,uBAAuB,CAAC;AAkBtD,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,kBAAkB,EAC1B,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,OAAO,CAAC,CAgBlB;AAID,wBAAgB,4BAA4B;;;;;;;EAS3C;AAED,kFAAkF;AAClF,wBAAsB,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC,CAc/D;AAGD,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,IAAI,CAAC,CAUhE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editor-locale.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/editor-locale.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AASlD,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,OAAO,EACpB,QAAQ,EAAE,MAAM,GACf,MAAM,CAQR;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,cAAc,EACtB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,CAAC,CAOjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handoff.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/handoff.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sCAAsC;IACtC,GAAG,EAAE,MAAM,CAAC;CACb;AAWD,wBAAgB,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,GAAG,MAAM,CAU3E;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,GAAG,IAAI,CAuBlE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"has-session.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/has-session.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAsB,eAAe,IAAI,OAAO,CAAC,OAAO,CAAC,CAExD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/logout.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAKnD,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CACjC,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,IAAI,CAAC,CAyCf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"next-cookie-storage.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/next-cookie-storage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEjE,KAAK,SAAS,GACV,OAAO,GACP,eAAe,GACf,cAAc,GACd,kBAAkB,GAElB,aAAa,GACb,eAAe,GACf,WAAW,GACX,cAAc,CAAC;AAEnB,KAAK,YAAY,GAAG,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,WAAW,CAAC;IACrB,QAAQ,EAAE,YAAY,CAAC;CACxB;AAKD,eAAO,MAAM,mBAAmB;;;;;;CAM/B,CAAC;AAQF,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,YAAY,EACtB,IAAI,EAAE,MAAM,GACX,IAAI,CASN;AAED,qBAAa,iBAAkB,YAAW,cAAc;IACtD,OAAO,CAAC,OAAO,CAAC,CAAc;IAC9B,OAAO,CAAC,QAAQ,CAAC,CAAe;gBAEpB,YAAY,CAAC,EAAE,YAAY;IAKvC,MAAM,CAAC,UAAU,IAAI,YAAY;IAejC,OAAO,CAAC,UAAU;IAIZ,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAYxC,GAAG,CACP,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,IAAI,CAAC;IA8BV,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAkBzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nodehive-client.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/nodehive-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAmC7E,wBAAgB,eAAe,CAC7B,MAAM,EAAE,kBAAkB,EAC1B,YAAY,CAAC,EAAE,YAAY,GAC1B,cAAc,CA0BhB;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,kBAAkB,GAAG,cAAc,CAe1E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-config.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/oauth-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C;;;;;;;;;;;GAWG;AAIH,eAAO,MAAM,qBAAqB,UAAU,CAAC;AAW7C,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED,wBAAgB,WAAW,IAAI,MAAM,CAEpC;AAED,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,wBAAgB,WAAW,IAAI,MAAM,CAEpC;AAED,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAU7D;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAE3D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proxy-helpers.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/proxy-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAS7D;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,OAAO,GACb,YAAY,GAAG,IAAI,CASrB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,OAAO,EACd,SAAS,SAAoB,GAC5B,YAAY,CAed"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refresh.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/refresh.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAmBnD,wBAAgB,8BAA8B,CAAC,EAAE,EAAE,MAAM,QAExD;AAyDD,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAelE;AAED;;;;GAIG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,YAAY,EACtB,MAAM,EAAE,kBAAkB,GACzB,OAAO,CAAC,IAAI,CAAC,CASf;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,YAAY,GACrB,IAAI,CAQN;AAID,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAIrD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"require-auth.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/require-auth.ts"],"names":[],"mappings":"AAEA,wBAAsB,WAAW,IAAI,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAO5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"return-to.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/return-to.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAezE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../src/auth/internal/routes/callback.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAWpD,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,QAAQ,CAAC;AAE5E,MAAM,WAAW,eAAe;IAC9B,+DAA+D;IAC/D,gBAAgB,EAAE,MAAM,CAAC;IACzB,6DAA6D;IAC7D,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,wBAAsB,cAAc,CAClC,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,EAAE,eAAe,kCAyGzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chips-exchange.d.ts","sourceRoot":"","sources":["../../../../src/auth/internal/routes/chips-exchange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAapD,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,kBAAkB,kCAoD3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../src/auth/internal/routes/draft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAUpD,wBAAsB,WAAW,CAC/B,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,kBAAkB,kCAkB3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth/internal/routes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAQpD,MAAM,WAAW,gBAAgB;IAC/B,gGAAgG;IAChG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+FAA+F;IAC/F,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,KAAK,YAAY,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,CAAC;AAEjE;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,gBAAgB;mBAOE,WAAW,WAAW,YAAY;oBAmBjC,WAAW,WAAW,YAAY;EAkBhE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/auth/internal/routes/login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAU7D,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,kCAyCrD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"popup-done.d.ts","sourceRoot":"","sources":["../../../../src/auth/internal/routes/popup-done.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAgBxD,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE,WAAW,yBAWpD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refresh.d.ts","sourceRoot":"","sources":["../../../../src/auth/internal/routes/refresh.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AASpD,wBAAsB,aAAa,CACjC,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,kBAAkB;;IA2B3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"same-origin.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/same-origin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAEjE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-gates.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/session-gates.tsx"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAsB,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,wWAE5D;AAED,wBAAsB,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,wWAE7D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-session.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/update-session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,MAAM,WAAW,mBAAmB;IAClC;gFAC4E;IAC5E,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,YAAY,EACtB,MAAM,EAAE,kBAAkB,GACzB,OAAO,CAAC,mBAAmB,CAAC,CAwB9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-editor-login.d.ts","sourceRoot":"","sources":["../../../src/auth/internal/use-editor-login.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;AAEhE,MAAM,WAAW,qBAAqB;IACpC,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,WAAW;IAC1B,0EAA0E;IAC1E,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,gBAAgB,CAAC;IACxB,qEAAqE;IACrE,KAAK,EAAE,OAAO,CAAC;IACf,qDAAqD;IACrD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,yEAAyE;IACzE,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/B;AAmBD,+EAA+E;AAC/E,wBAAgB,mBAAmB,IAAI,OAAO,CAQ7C;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAC5B,aAAa,EAAE,OAAO,EACtB,OAAO,CAAC,EAAE,qBAAqB,GAC9B,WAAW,CA0Gb"}
|
package/dist/auth/proxy.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../src/auth/proxy.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,aAAa,EACb,KAAK,mBAAmB,GACzB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/auth/react.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../src/auth/react.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B,MAAM,6BAA6B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/auth/routes.ts"],"names":[],"mappings":"AACA,OAAO,EACL,uBAAuB,EACvB,KAAK,gBAAgB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/auth/server.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAiB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,gCAAgC,CAAC;AAGxC;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,kBAAkB;;sCAOlB,YAAY;;;8BAsCzB,oBAAoB;EAGjD;AAED,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC/D,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,YAAY,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../src/puck-editor/fields.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uDAAuD,CAAC;AACvF,YAAY,EACV,cAAc,EACd,UAAU,EACV,SAAS,EACT,eAAe,GAChB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,oDAAoD,CAAC;AACrF,YAAY,EACV,cAAc,EACd,YAAY,EACZ,kBAAkB,GACnB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,cAAc,EACd,UAAU,EACV,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,YAAY,GAClB,MAAM,0CAA0C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/puck-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAEtC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,cAAc,EACnB,KAAK,uBAAuB,GAC7B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,WAAW,EACX,KAAK,SAAS,GACf,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,KAAK,gBAAgB,GACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EAAE,QAAQ,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,YAAY,EACV,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,KAAK,gBAAgB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAClF,OAAO,EACL,kBAAkB,EAClB,aAAa,GACd,MAAM,iCAAiC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/puck-editor/internal/api/client.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAQF,eAAO,MAAM,aAAa,QACqC,CAAC;AAEhE,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,EACf,GAAG,CAAC,EAAE,MAAM,GACX,MAAM,GAAG,SAAS,CAIpB;AA4BD,wBAAsB,SAAS,CAAC,CAAC,GAAG,OAAO,EACzC,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,WAAW,GACjB,OAAO,CAAC,CAAC,CAAC,CAUZ;AAED,wBAAsB,aAAa,CAAC,CAAC,GAAG,OAAO,EAC7C,IAAI,EAAE,MAAM,EACZ,EACE,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,MAAM,GACP,GAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACd,GACL,OAAO,CAAC,CAAC,EAAE,CAAC,CAad;AAED,wBAAsB,cAAc,CAAC,CAAC,GAAG,OAAO,EAC9C,IAAI,EAAE,MAAM,EACZ,MAAM,GAAE;IACN,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACpB,GACL,OAAO,CAAC,CAAC,CAAC,CAKZ;AAED,wBAAsB,cAAc,CAAC,CAAC,GAAG,OAAO,EAC9C,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,CAAC,CAAC,CAKZ;AAID,wBAAsB,YAAY,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,CAa7E;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,wBAAsB,cAAc,CAClC,YAAY,EAAE,MAAM,EACpB,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,cAAc,GACrB,OAAO,CAAC,aAAa,CAAC,CAUxB;AAED,wBAAsB,cAAc,CAClC,YAAY,EAAE,MAAM,EACpB,EAAE,EAAE,MAAM,GACT,OAAO,CAAC,aAAa,CAAC,CAMxB;AAED,wBAAsB,gBAAgB,CACpC,QAAQ,EAAE,QAAQ,EAClB,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,aAAa,CAAC,CAQxB;AAED,wBAAsB,sBAAsB,CAC1C,QAAQ,EAAE,QAAQ,EAClB,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,aAAa,CAAC,CAQxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/puck-editor/internal/api/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,MAAM,aAAa,GAAG;IAC1B,uEAAuE;IACvE,YAAY,EAAE,MAAM,OAAO,CAAC,cAAc,CAAC,GAAG,cAAc,CAAC;IAC7D,2DAA2D;IAC3D,gBAAgB,EAAE,MAAM,cAAc,CAAC;IACvC,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IACrD,kFAAkF;IAClF,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B;;;OAGG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC;CACtC,CAAC;AAEF,yEAAyE;AACzE,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG;IAAE,KAAK,EAAE,gBAAgB,CAAA;CAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-puck-api.d.ts","sourceRoot":"","sources":["../../../../src/puck-editor/internal/api/create-puck-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,aAAa,CAAC;AAKxD,OAAO,KAAK,EAAE,aAAa,EAAkB,MAAM,UAAU,CAAC;AAkB9D,KAAK,gBAAgB,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAA;CAAE,CAAC;AAMjE;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,SAAS,EAAE,aAAa;mBAKrB,WAAW,WAAW,gBAAgB;oBAAtC,WAAW,WAAW,gBAAgB;qBAAtC,WAAW,WAAW,gBAAgB;sBAAtC,WAAW,WAAW,gBAAgB;EAsFtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-page.d.ts","sourceRoot":"","sources":["../../../../../src/puck-editor/internal/api/handlers/create-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAiChD,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,WAAW;;;;;;;;;IAsGrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../../src/puck-editor/internal/api/handlers/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAU/C,wBAAsB,WAAW,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM;;6DAkBrE;AAED,wBAAsB,cAAc,CAClC,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,eAAe,8BA6C9B;AAED,wBAAsB,cAAc,CAClC,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,IAAI,CAAC,EAAE,MAAM,8BAoBd;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,eAAe;;IAwB9B;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,IAAI,CAAC,EAAE,MAAM;;IAsBd;AAED,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,eAAe;;IAsC9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../../../src/puck-editor/internal/api/handlers/publish.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAMhD,wBAAsB,aAAa,CACjC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,WAAW;;IA6HrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../../src/puck-editor/internal/api/handlers/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAuBhD,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,WAAW;aAnBiB,OAAO;aAAW,MAAM;IAyG9D;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,cAAc,EACtB,YAAY,EAAE,MAAM,EACpB,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,WAAW;aA/GiB,OAAO;aAAW,MAAM;IAsL9D;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,cAAc,EACtB,YAAY,EAAE,MAAM,EACpB,EAAE,EAAE,MAAM;aA3L2B,OAAO;aAAW,MAAM;IAmN9D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../../../src/puck-editor/internal/api/handlers/upload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AA0ChD;;;;;GAKG;AACH,wBAAsB,YAAY,CAChC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,WAAW;;;IA4ErB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"media-params.d.ts","sourceRoot":"","sources":["../../../../src/puck-editor/internal/api/media-params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,uBA0B5C;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,uBA8Bf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"media-upload.d.ts","sourceRoot":"","sources":["../../../../src/puck-editor/internal/api/media-upload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAoBF;;;;GAIG;AACH,wBAAsB,WAAW,CAC/B,MAAM,EAAE,cAAc,EACtB,EACE,IAAI,EACJ,GAAG,EACH,IAAI,EACJ,IAAI,GACL,EAAE;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAC5D,OAAO,CAAC,iBAAiB,CAAC,CAwF5B;AAED,mFAAmF;AACnF,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,cAAc,EACtB,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAC3E,OAAO,CAAC,iBAAiB,CAAC,CAwD5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../../src/puck-editor/internal/api/space.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,UAAU,mCAAmC,CAAC;AAE3D,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAU7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"content-model.d.ts","sourceRoot":"","sources":["../../../src/puck-editor/internal/content-model.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACpC,cAAc,CAAC,EAAE,kBAAkB,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,uDAAuD;IACvD,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACnC,cAAc,EAAE,QAAQ,CAAC,kBAAkB,CAAC,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,kBAAkB,CAIhE,CAAC;AAqBF,wBAAgB,mBAAmB,CACjC,KAAK,CAAC,EAAE,qBAAqB,GAC5B,gBAAgB,CAgBlB;AAED,wBAAgB,SAAS,CACvB,KAAK,EAAE,gBAAgB,EACvB,IAAI,EAAE,MAAM,GAAG,SAAS,GACvB,kBAAkB,GAAG,SAAS,CAEhC;AAWD,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAWjE;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,gBAAgB,GACtB,kBAAkB,EAAE,CAEtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"allowed-types.d.ts","sourceRoot":"","sources":["../../../../src/puck-editor/internal/editor/allowed-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAEL,QAAQ,EACT,MAAM,wCAAwC,CAAC;AAGhD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,MAAM,EAAE,CAI5E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"canvas-add-picker.d.ts","sourceRoot":"","sources":["../../../../src/puck-editor/internal/editor/canvas-add-picker.tsx"],"names":[],"mappings":"AAeA,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,MAAM,GACP,EAAE,oBAAoB,+BAqGtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"canvas-empty-state.d.ts","sourceRoot":"","sources":["../../../../src/puck-editor/internal/editor/canvas-empty-state.tsx"],"names":[],"mappings":"AAcA,wBAAgB,gBAAgB,CAAC,EAC/B,EAAE,EACF,IAAI,EACJ,YAAY,GACb,EAAE;IACD,EAAE,EAAE,WAAW,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,+BAgFA"}
|