@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
|
@@ -5,20 +5,21 @@ import { useState } from 'react';
|
|
|
5
5
|
import { Button, Drawer } from '@puckeditor/core';
|
|
6
6
|
import { PencilIcon, Trash2Icon } from 'lucide-react';
|
|
7
7
|
import { toast } from 'sonner';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
8
|
+
import { localizeApiMessage } from "../../api/localize-message.js";
|
|
9
|
+
import { templateIcon } from "../../editor/component-icons.js";
|
|
10
|
+
import { usePuckDictionary, usePuckLocale } from "../../i18n.js";
|
|
11
|
+
import { ComponentListAccordion } from "../../ui/component-list-accordion.js";
|
|
12
|
+
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "../../ui/dialog.js";
|
|
13
|
+
import { DrawerItemContent } from "../../ui/drawer-item-content.js";
|
|
14
|
+
import { IconButton } from "../../ui/icon-button.js";
|
|
15
|
+
import { AiOptionsFields } from "./ai-options-fields.js";
|
|
16
|
+
import { TEMPLATE_PREFIX } from "./template-vehicles.js";
|
|
17
|
+
import { templateKey, templateLabel, templateMatchesQuery } from "./templates.js";
|
|
18
|
+
import { useTemplates } from "./use-templates.js";
|
|
18
19
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
20
|
const stopDrag = e => e.stopPropagation();
|
|
20
21
|
export function CustomTemplateList(t0) {
|
|
21
|
-
const $ = _c(
|
|
22
|
+
const $ = _c(129);
|
|
22
23
|
const {
|
|
23
24
|
title,
|
|
24
25
|
category,
|
|
@@ -26,8 +27,9 @@ export function CustomTemplateList(t0) {
|
|
|
26
27
|
onInsert
|
|
27
28
|
} = t0;
|
|
28
29
|
const query = t1 === undefined ? "" : t1;
|
|
29
|
-
const
|
|
30
|
-
const
|
|
30
|
+
const dict = usePuckDictionary();
|
|
31
|
+
const t = dict.templates;
|
|
32
|
+
const tEditor = dict.editor;
|
|
31
33
|
const locale = usePuckLocale();
|
|
32
34
|
const {
|
|
33
35
|
templates,
|
|
@@ -49,7 +51,7 @@ export function CustomTemplateList(t0) {
|
|
|
49
51
|
let t6;
|
|
50
52
|
let t7;
|
|
51
53
|
let t8;
|
|
52
|
-
if ($[0] !== category || $[1] !== deleteTarget || $[2] !==
|
|
54
|
+
if ($[0] !== category || $[1] !== deleteTarget || $[2] !== dict || $[3] !== editTarget || $[4] !== expanded || $[5] !== locale || $[6] !== onInsert || $[7] !== query || $[8] !== remove || $[9] !== t || $[10] !== tEditor || $[11] !== templates || $[12] !== title || $[13] !== update) {
|
|
53
55
|
t8 = Symbol.for("react.early_return_sentinel");
|
|
54
56
|
bb0: {
|
|
55
57
|
const normalizedQuery = query.trim().toLowerCase();
|
|
@@ -59,7 +61,7 @@ export function CustomTemplateList(t0) {
|
|
|
59
61
|
break bb0;
|
|
60
62
|
}
|
|
61
63
|
let t9;
|
|
62
|
-
if ($[
|
|
64
|
+
if ($[25] !== dict || $[26] !== editTarget || $[27] !== t.updated || $[28] !== update) {
|
|
63
65
|
t9 = async e => {
|
|
64
66
|
e.preventDefault();
|
|
65
67
|
if (!editTarget) {
|
|
@@ -78,22 +80,23 @@ export function CustomTemplateList(t0) {
|
|
|
78
80
|
});
|
|
79
81
|
setIsPending(false);
|
|
80
82
|
if (!result.success) {
|
|
81
|
-
toast.error(result
|
|
83
|
+
toast.error(localizeApiMessage(dict, result));
|
|
82
84
|
return;
|
|
83
85
|
}
|
|
84
86
|
toast.success(t.updated);
|
|
85
87
|
setEditTarget(null);
|
|
86
88
|
};
|
|
87
|
-
$[
|
|
88
|
-
$[
|
|
89
|
-
$[
|
|
90
|
-
$[
|
|
89
|
+
$[25] = dict;
|
|
90
|
+
$[26] = editTarget;
|
|
91
|
+
$[27] = t.updated;
|
|
92
|
+
$[28] = update;
|
|
93
|
+
$[29] = t9;
|
|
91
94
|
} else {
|
|
92
|
-
t9 = $[
|
|
95
|
+
t9 = $[29];
|
|
93
96
|
}
|
|
94
97
|
handleEdit = t9;
|
|
95
98
|
let t10;
|
|
96
|
-
if ($[
|
|
99
|
+
if ($[30] !== deleteTarget || $[31] !== dict || $[32] !== remove || $[33] !== t.deleted) {
|
|
97
100
|
t10 = async () => {
|
|
98
101
|
if (!deleteTarget) {
|
|
99
102
|
return;
|
|
@@ -102,34 +105,35 @@ export function CustomTemplateList(t0) {
|
|
|
102
105
|
const result_0 = await remove(deleteTarget);
|
|
103
106
|
setIsPending(false);
|
|
104
107
|
if (!result_0.success) {
|
|
105
|
-
toast.error(result_0
|
|
108
|
+
toast.error(localizeApiMessage(dict, result_0));
|
|
106
109
|
return;
|
|
107
110
|
}
|
|
108
111
|
toast.success(t.deleted);
|
|
109
112
|
setDeleteTarget(null);
|
|
110
113
|
};
|
|
111
|
-
$[
|
|
112
|
-
$[
|
|
113
|
-
$[
|
|
114
|
-
$[
|
|
114
|
+
$[30] = deleteTarget;
|
|
115
|
+
$[31] = dict;
|
|
116
|
+
$[32] = remove;
|
|
117
|
+
$[33] = t.deleted;
|
|
118
|
+
$[34] = t10;
|
|
115
119
|
} else {
|
|
116
|
-
t10 = $[
|
|
120
|
+
t10 = $[34];
|
|
117
121
|
}
|
|
118
122
|
handleDelete = t10;
|
|
119
123
|
T1 = ComponentListAccordion;
|
|
120
124
|
t3 = title;
|
|
121
125
|
t4 = expanded;
|
|
122
|
-
if ($[
|
|
126
|
+
if ($[35] === Symbol.for("react.memo_cache_sentinel")) {
|
|
123
127
|
t5 = () => setExpanded(_temp);
|
|
124
|
-
$[
|
|
128
|
+
$[35] = t5;
|
|
125
129
|
} else {
|
|
126
|
-
t5 = $[
|
|
130
|
+
t5 = $[35];
|
|
127
131
|
}
|
|
128
132
|
t6 = t.expand;
|
|
129
133
|
t7 = t.collapse;
|
|
130
134
|
T0 = Drawer;
|
|
131
135
|
let t11;
|
|
132
|
-
if ($[
|
|
136
|
+
if ($[36] !== category || $[37] !== locale || $[38] !== onInsert || $[39] !== t.deleteTemplate || $[40] !== t.editTemplate || $[41] !== tEditor) {
|
|
133
137
|
t11 = template_0 => /*#__PURE__*/_jsx(Drawer.Item, {
|
|
134
138
|
name: `${TEMPLATE_PREFIX}${templateKey(template_0)}`,
|
|
135
139
|
label: templateLabel(template_0, locale),
|
|
@@ -165,71 +169,72 @@ export function CustomTemplateList(t0) {
|
|
|
165
169
|
})
|
|
166
170
|
})
|
|
167
171
|
}, templateKey(template_0));
|
|
168
|
-
$[
|
|
169
|
-
$[
|
|
170
|
-
$[
|
|
171
|
-
$[
|
|
172
|
-
$[
|
|
173
|
-
$[
|
|
174
|
-
$[
|
|
172
|
+
$[36] = category;
|
|
173
|
+
$[37] = locale;
|
|
174
|
+
$[38] = onInsert;
|
|
175
|
+
$[39] = t.deleteTemplate;
|
|
176
|
+
$[40] = t.editTemplate;
|
|
177
|
+
$[41] = tEditor;
|
|
178
|
+
$[42] = t11;
|
|
175
179
|
} else {
|
|
176
|
-
t11 = $[
|
|
180
|
+
t11 = $[42];
|
|
177
181
|
}
|
|
178
182
|
t2 = items.map(t11);
|
|
179
183
|
}
|
|
180
184
|
$[0] = category;
|
|
181
185
|
$[1] = deleteTarget;
|
|
182
|
-
$[2] =
|
|
183
|
-
$[3] =
|
|
184
|
-
$[4] =
|
|
185
|
-
$[5] =
|
|
186
|
-
$[6] =
|
|
187
|
-
$[7] =
|
|
188
|
-
$[8] =
|
|
189
|
-
$[9] =
|
|
190
|
-
$[10] =
|
|
191
|
-
$[11] =
|
|
192
|
-
$[12] =
|
|
193
|
-
$[13] =
|
|
194
|
-
$[14] =
|
|
195
|
-
$[15] =
|
|
196
|
-
$[16] =
|
|
197
|
-
$[17] =
|
|
198
|
-
$[18] =
|
|
199
|
-
$[19] =
|
|
200
|
-
$[20] =
|
|
201
|
-
$[21] =
|
|
202
|
-
$[22] =
|
|
203
|
-
$[23] =
|
|
186
|
+
$[2] = dict;
|
|
187
|
+
$[3] = editTarget;
|
|
188
|
+
$[4] = expanded;
|
|
189
|
+
$[5] = locale;
|
|
190
|
+
$[6] = onInsert;
|
|
191
|
+
$[7] = query;
|
|
192
|
+
$[8] = remove;
|
|
193
|
+
$[9] = t;
|
|
194
|
+
$[10] = tEditor;
|
|
195
|
+
$[11] = templates;
|
|
196
|
+
$[12] = title;
|
|
197
|
+
$[13] = update;
|
|
198
|
+
$[14] = T0;
|
|
199
|
+
$[15] = T1;
|
|
200
|
+
$[16] = handleDelete;
|
|
201
|
+
$[17] = handleEdit;
|
|
202
|
+
$[18] = t2;
|
|
203
|
+
$[19] = t3;
|
|
204
|
+
$[20] = t4;
|
|
205
|
+
$[21] = t5;
|
|
206
|
+
$[22] = t6;
|
|
207
|
+
$[23] = t7;
|
|
208
|
+
$[24] = t8;
|
|
204
209
|
} else {
|
|
205
|
-
T0 = $[
|
|
206
|
-
T1 = $[
|
|
207
|
-
handleDelete = $[
|
|
208
|
-
handleEdit = $[
|
|
209
|
-
t2 = $[
|
|
210
|
-
t3 = $[
|
|
211
|
-
t4 = $[
|
|
212
|
-
t5 = $[
|
|
213
|
-
t6 = $[
|
|
214
|
-
t7 = $[
|
|
215
|
-
t8 = $[
|
|
210
|
+
T0 = $[14];
|
|
211
|
+
T1 = $[15];
|
|
212
|
+
handleDelete = $[16];
|
|
213
|
+
handleEdit = $[17];
|
|
214
|
+
t2 = $[18];
|
|
215
|
+
t3 = $[19];
|
|
216
|
+
t4 = $[20];
|
|
217
|
+
t5 = $[21];
|
|
218
|
+
t6 = $[22];
|
|
219
|
+
t7 = $[23];
|
|
220
|
+
t8 = $[24];
|
|
216
221
|
}
|
|
217
222
|
if (t8 !== Symbol.for("react.early_return_sentinel")) {
|
|
218
223
|
return t8;
|
|
219
224
|
}
|
|
220
225
|
let t9;
|
|
221
|
-
if ($[
|
|
226
|
+
if ($[43] !== T0 || $[44] !== t2) {
|
|
222
227
|
t9 = /*#__PURE__*/_jsx(T0, {
|
|
223
228
|
children: t2
|
|
224
229
|
});
|
|
225
|
-
$[
|
|
226
|
-
$[
|
|
227
|
-
$[
|
|
230
|
+
$[43] = T0;
|
|
231
|
+
$[44] = t2;
|
|
232
|
+
$[45] = t9;
|
|
228
233
|
} else {
|
|
229
|
-
t9 = $[
|
|
234
|
+
t9 = $[45];
|
|
230
235
|
}
|
|
231
236
|
let t10;
|
|
232
|
-
if ($[
|
|
237
|
+
if ($[46] !== T1 || $[47] !== t3 || $[48] !== t4 || $[49] !== t5 || $[50] !== t6 || $[51] !== t7 || $[52] !== t9) {
|
|
233
238
|
t10 = /*#__PURE__*/_jsx(T1, {
|
|
234
239
|
title: t3,
|
|
235
240
|
expanded: t4,
|
|
@@ -238,80 +243,80 @@ export function CustomTemplateList(t0) {
|
|
|
238
243
|
collapseLabel: t7,
|
|
239
244
|
children: t9
|
|
240
245
|
});
|
|
241
|
-
$[
|
|
242
|
-
$[
|
|
243
|
-
$[
|
|
244
|
-
$[
|
|
245
|
-
$[
|
|
246
|
-
$[
|
|
247
|
-
$[
|
|
248
|
-
$[
|
|
246
|
+
$[46] = T1;
|
|
247
|
+
$[47] = t3;
|
|
248
|
+
$[48] = t4;
|
|
249
|
+
$[49] = t5;
|
|
250
|
+
$[50] = t6;
|
|
251
|
+
$[51] = t7;
|
|
252
|
+
$[52] = t9;
|
|
253
|
+
$[53] = t10;
|
|
249
254
|
} else {
|
|
250
|
-
t10 = $[
|
|
255
|
+
t10 = $[53];
|
|
251
256
|
}
|
|
252
257
|
const t11 = editTarget !== null;
|
|
253
258
|
let t12;
|
|
254
|
-
if ($[
|
|
259
|
+
if ($[54] === Symbol.for("react.memo_cache_sentinel")) {
|
|
255
260
|
t12 = open => !open && setEditTarget(null);
|
|
256
|
-
$[
|
|
261
|
+
$[54] = t12;
|
|
257
262
|
} else {
|
|
258
|
-
t12 = $[
|
|
263
|
+
t12 = $[54];
|
|
259
264
|
}
|
|
260
265
|
let t13;
|
|
261
|
-
if ($[
|
|
266
|
+
if ($[55] !== t.editTemplate) {
|
|
262
267
|
t13 = /*#__PURE__*/_jsx(DialogTitle, {
|
|
263
268
|
children: t.editTemplate
|
|
264
269
|
});
|
|
265
|
-
$[
|
|
266
|
-
$[
|
|
270
|
+
$[55] = t.editTemplate;
|
|
271
|
+
$[56] = t13;
|
|
267
272
|
} else {
|
|
268
|
-
t13 = $[
|
|
273
|
+
t13 = $[56];
|
|
269
274
|
}
|
|
270
275
|
let t14;
|
|
271
|
-
if ($[
|
|
276
|
+
if ($[57] !== t.editDialogDescription) {
|
|
272
277
|
t14 = /*#__PURE__*/_jsx(DialogDescription, {
|
|
273
278
|
children: t.editDialogDescription
|
|
274
279
|
});
|
|
275
|
-
$[
|
|
276
|
-
$[
|
|
280
|
+
$[57] = t.editDialogDescription;
|
|
281
|
+
$[58] = t14;
|
|
277
282
|
} else {
|
|
278
|
-
t14 = $[
|
|
283
|
+
t14 = $[58];
|
|
279
284
|
}
|
|
280
285
|
let t15;
|
|
281
|
-
if ($[
|
|
286
|
+
if ($[59] !== t13 || $[60] !== t14) {
|
|
282
287
|
t15 = /*#__PURE__*/_jsxs(DialogHeader, {
|
|
283
288
|
children: [t13, t14]
|
|
284
289
|
});
|
|
285
|
-
$[
|
|
286
|
-
$[
|
|
287
|
-
$[
|
|
290
|
+
$[59] = t13;
|
|
291
|
+
$[60] = t14;
|
|
292
|
+
$[61] = t15;
|
|
288
293
|
} else {
|
|
289
|
-
t15 = $[
|
|
294
|
+
t15 = $[61];
|
|
290
295
|
}
|
|
291
296
|
const t16 = editTarget?.id;
|
|
292
297
|
let t17;
|
|
293
|
-
if ($[
|
|
298
|
+
if ($[62] !== t.name) {
|
|
294
299
|
t17 = /*#__PURE__*/_jsx("label", {
|
|
295
300
|
htmlFor: "template-name",
|
|
296
301
|
className: "nh:block nh:text-sm nh:font-medium nh:text-gray-700",
|
|
297
302
|
children: t.name
|
|
298
303
|
});
|
|
299
|
-
$[
|
|
300
|
-
$[
|
|
304
|
+
$[62] = t.name;
|
|
305
|
+
$[63] = t17;
|
|
301
306
|
} else {
|
|
302
|
-
t17 = $[
|
|
307
|
+
t17 = $[63];
|
|
303
308
|
}
|
|
304
309
|
let t18;
|
|
305
|
-
if ($[
|
|
310
|
+
if ($[64] !== editTarget || $[65] !== locale) {
|
|
306
311
|
t18 = editTarget ? templateLabel(editTarget, locale) : "";
|
|
307
|
-
$[
|
|
308
|
-
$[
|
|
309
|
-
$[
|
|
312
|
+
$[64] = editTarget;
|
|
313
|
+
$[65] = locale;
|
|
314
|
+
$[66] = t18;
|
|
310
315
|
} else {
|
|
311
|
-
t18 = $[
|
|
316
|
+
t18 = $[66];
|
|
312
317
|
}
|
|
313
318
|
let t19;
|
|
314
|
-
if ($[
|
|
319
|
+
if ($[67] !== t18) {
|
|
315
320
|
t19 = /*#__PURE__*/_jsx("input", {
|
|
316
321
|
type: "text",
|
|
317
322
|
id: "template-name",
|
|
@@ -321,258 +326,258 @@ export function CustomTemplateList(t0) {
|
|
|
321
326
|
required: true,
|
|
322
327
|
className: "nh:mt-1 nh:block nh:w-full nh:rounded-md nh:border-gray-300 nh:shadow-sm"
|
|
323
328
|
});
|
|
324
|
-
$[
|
|
325
|
-
$[
|
|
329
|
+
$[67] = t18;
|
|
330
|
+
$[68] = t19;
|
|
326
331
|
} else {
|
|
327
|
-
t19 = $[
|
|
332
|
+
t19 = $[68];
|
|
328
333
|
}
|
|
329
334
|
let t20;
|
|
330
|
-
if ($[
|
|
335
|
+
if ($[69] !== t17 || $[70] !== t19) {
|
|
331
336
|
t20 = /*#__PURE__*/_jsxs("div", {
|
|
332
337
|
children: [t17, t19]
|
|
333
338
|
});
|
|
334
|
-
$[
|
|
335
|
-
$[
|
|
336
|
-
$[
|
|
339
|
+
$[69] = t17;
|
|
340
|
+
$[70] = t19;
|
|
341
|
+
$[71] = t20;
|
|
337
342
|
} else {
|
|
338
|
-
t20 = $[
|
|
343
|
+
t20 = $[71];
|
|
339
344
|
}
|
|
340
345
|
const t21 = Boolean(editTarget?.ai?.description || editTarget?.ai?.instructions);
|
|
341
346
|
const t22 = editTarget?.ai?.description ?? "";
|
|
342
347
|
const t23 = editTarget?.ai?.instructions ?? "";
|
|
343
348
|
let t24;
|
|
344
|
-
if ($[
|
|
349
|
+
if ($[72] !== t21 || $[73] !== t22 || $[74] !== t23) {
|
|
345
350
|
t24 = /*#__PURE__*/_jsx(AiOptionsFields, {
|
|
346
351
|
defaultExpanded: t21,
|
|
347
352
|
defaultDescription: t22,
|
|
348
353
|
defaultInstructions: t23
|
|
349
354
|
});
|
|
350
|
-
$[
|
|
351
|
-
$[
|
|
352
|
-
$[
|
|
353
|
-
$[
|
|
355
|
+
$[72] = t21;
|
|
356
|
+
$[73] = t22;
|
|
357
|
+
$[74] = t23;
|
|
358
|
+
$[75] = t24;
|
|
354
359
|
} else {
|
|
355
|
-
t24 = $[
|
|
360
|
+
t24 = $[75];
|
|
356
361
|
}
|
|
357
362
|
let t25;
|
|
358
|
-
if ($[
|
|
363
|
+
if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
|
|
359
364
|
t25 = () => setEditTarget(null);
|
|
360
|
-
$[
|
|
365
|
+
$[76] = t25;
|
|
361
366
|
} else {
|
|
362
|
-
t25 = $[
|
|
367
|
+
t25 = $[76];
|
|
363
368
|
}
|
|
364
369
|
let t26;
|
|
365
|
-
if ($[
|
|
370
|
+
if ($[77] !== t.cancel) {
|
|
366
371
|
t26 = /*#__PURE__*/_jsx(Button, {
|
|
367
372
|
type: "button",
|
|
368
373
|
variant: "secondary",
|
|
369
374
|
onClick: t25,
|
|
370
375
|
children: t.cancel
|
|
371
376
|
});
|
|
372
|
-
$[
|
|
373
|
-
$[
|
|
377
|
+
$[77] = t.cancel;
|
|
378
|
+
$[78] = t26;
|
|
374
379
|
} else {
|
|
375
|
-
t26 = $[
|
|
380
|
+
t26 = $[78];
|
|
376
381
|
}
|
|
377
382
|
let t27;
|
|
378
|
-
if ($[
|
|
383
|
+
if ($[79] !== isPending || $[80] !== t.save) {
|
|
379
384
|
t27 = /*#__PURE__*/_jsx(Button, {
|
|
380
385
|
type: "submit",
|
|
381
386
|
disabled: isPending,
|
|
382
387
|
loading: isPending,
|
|
383
388
|
children: t.save
|
|
384
389
|
});
|
|
385
|
-
$[
|
|
386
|
-
$[
|
|
387
|
-
$[
|
|
390
|
+
$[79] = isPending;
|
|
391
|
+
$[80] = t.save;
|
|
392
|
+
$[81] = t27;
|
|
388
393
|
} else {
|
|
389
|
-
t27 = $[
|
|
394
|
+
t27 = $[81];
|
|
390
395
|
}
|
|
391
396
|
let t28;
|
|
392
|
-
if ($[
|
|
397
|
+
if ($[82] !== t26 || $[83] !== t27) {
|
|
393
398
|
t28 = /*#__PURE__*/_jsxs("div", {
|
|
394
399
|
className: "nh:flex nh:justify-end nh:gap-2",
|
|
395
400
|
children: [t26, t27]
|
|
396
401
|
});
|
|
397
|
-
$[
|
|
398
|
-
$[
|
|
399
|
-
$[
|
|
402
|
+
$[82] = t26;
|
|
403
|
+
$[83] = t27;
|
|
404
|
+
$[84] = t28;
|
|
400
405
|
} else {
|
|
401
|
-
t28 = $[
|
|
406
|
+
t28 = $[84];
|
|
402
407
|
}
|
|
403
408
|
let t29;
|
|
404
|
-
if ($[
|
|
409
|
+
if ($[85] !== handleEdit || $[86] !== t16 || $[87] !== t20 || $[88] !== t24 || $[89] !== t28) {
|
|
405
410
|
t29 = /*#__PURE__*/_jsxs("form", {
|
|
406
411
|
onSubmit: handleEdit,
|
|
407
412
|
className: "nh:space-y-4",
|
|
408
413
|
children: [t20, t24, t28]
|
|
409
414
|
}, t16);
|
|
410
|
-
$[
|
|
411
|
-
$[
|
|
412
|
-
$[
|
|
413
|
-
$[
|
|
414
|
-
$[
|
|
415
|
-
$[
|
|
415
|
+
$[85] = handleEdit;
|
|
416
|
+
$[86] = t16;
|
|
417
|
+
$[87] = t20;
|
|
418
|
+
$[88] = t24;
|
|
419
|
+
$[89] = t28;
|
|
420
|
+
$[90] = t29;
|
|
416
421
|
} else {
|
|
417
|
-
t29 = $[
|
|
422
|
+
t29 = $[90];
|
|
418
423
|
}
|
|
419
424
|
let t30;
|
|
420
|
-
if ($[
|
|
425
|
+
if ($[91] !== t15 || $[92] !== t29) {
|
|
421
426
|
t30 = /*#__PURE__*/_jsxs(DialogContent, {
|
|
422
427
|
className: "max-w-md",
|
|
423
428
|
children: [t15, t29]
|
|
424
429
|
});
|
|
425
|
-
$[
|
|
426
|
-
$[
|
|
427
|
-
$[
|
|
430
|
+
$[91] = t15;
|
|
431
|
+
$[92] = t29;
|
|
432
|
+
$[93] = t30;
|
|
428
433
|
} else {
|
|
429
|
-
t30 = $[
|
|
434
|
+
t30 = $[93];
|
|
430
435
|
}
|
|
431
436
|
let t31;
|
|
432
|
-
if ($[
|
|
437
|
+
if ($[94] !== t11 || $[95] !== t30) {
|
|
433
438
|
t31 = /*#__PURE__*/_jsx(Dialog, {
|
|
434
439
|
open: t11,
|
|
435
440
|
onOpenChange: t12,
|
|
436
441
|
children: t30
|
|
437
442
|
});
|
|
438
|
-
$[
|
|
439
|
-
$[
|
|
440
|
-
$[
|
|
443
|
+
$[94] = t11;
|
|
444
|
+
$[95] = t30;
|
|
445
|
+
$[96] = t31;
|
|
441
446
|
} else {
|
|
442
|
-
t31 = $[
|
|
447
|
+
t31 = $[96];
|
|
443
448
|
}
|
|
444
449
|
const t32 = deleteTarget !== null;
|
|
445
450
|
let t33;
|
|
446
|
-
if ($[
|
|
451
|
+
if ($[97] === Symbol.for("react.memo_cache_sentinel")) {
|
|
447
452
|
t33 = open_0 => !open_0 && setDeleteTarget(null);
|
|
448
|
-
$[
|
|
453
|
+
$[97] = t33;
|
|
449
454
|
} else {
|
|
450
|
-
t33 = $[
|
|
455
|
+
t33 = $[97];
|
|
451
456
|
}
|
|
452
457
|
let t34;
|
|
453
|
-
if ($[
|
|
458
|
+
if ($[98] !== t.deleteTemplate) {
|
|
454
459
|
t34 = /*#__PURE__*/_jsx(DialogTitle, {
|
|
455
460
|
children: t.deleteTemplate
|
|
456
461
|
});
|
|
457
|
-
$[
|
|
458
|
-
$[
|
|
462
|
+
$[98] = t.deleteTemplate;
|
|
463
|
+
$[99] = t34;
|
|
459
464
|
} else {
|
|
460
|
-
t34 = $[
|
|
465
|
+
t34 = $[99];
|
|
461
466
|
}
|
|
462
467
|
let t35;
|
|
463
|
-
if ($[
|
|
468
|
+
if ($[100] !== deleteTarget || $[101] !== locale || $[102] !== t.deleteDialogDescription) {
|
|
464
469
|
t35 = t.deleteDialogDescription.replace("{title}", deleteTarget ? templateLabel(deleteTarget, locale) : "");
|
|
465
|
-
$[
|
|
466
|
-
$[
|
|
467
|
-
$[
|
|
468
|
-
$[
|
|
470
|
+
$[100] = deleteTarget;
|
|
471
|
+
$[101] = locale;
|
|
472
|
+
$[102] = t.deleteDialogDescription;
|
|
473
|
+
$[103] = t35;
|
|
469
474
|
} else {
|
|
470
|
-
t35 = $[
|
|
475
|
+
t35 = $[103];
|
|
471
476
|
}
|
|
472
477
|
let t36;
|
|
473
|
-
if ($[
|
|
478
|
+
if ($[104] !== t35) {
|
|
474
479
|
t36 = /*#__PURE__*/_jsx(DialogDescription, {
|
|
475
480
|
children: t35
|
|
476
481
|
});
|
|
477
|
-
$[
|
|
478
|
-
$[
|
|
482
|
+
$[104] = t35;
|
|
483
|
+
$[105] = t36;
|
|
479
484
|
} else {
|
|
480
|
-
t36 = $[
|
|
485
|
+
t36 = $[105];
|
|
481
486
|
}
|
|
482
487
|
let t37;
|
|
483
|
-
if ($[
|
|
488
|
+
if ($[106] !== t34 || $[107] !== t36) {
|
|
484
489
|
t37 = /*#__PURE__*/_jsxs(DialogHeader, {
|
|
485
490
|
children: [t34, t36]
|
|
486
491
|
});
|
|
487
|
-
$[
|
|
488
|
-
$[
|
|
489
|
-
$[
|
|
492
|
+
$[106] = t34;
|
|
493
|
+
$[107] = t36;
|
|
494
|
+
$[108] = t37;
|
|
490
495
|
} else {
|
|
491
|
-
t37 = $[
|
|
496
|
+
t37 = $[108];
|
|
492
497
|
}
|
|
493
498
|
let t38;
|
|
494
|
-
if ($[
|
|
499
|
+
if ($[109] === Symbol.for("react.memo_cache_sentinel")) {
|
|
495
500
|
t38 = () => setDeleteTarget(null);
|
|
496
|
-
$[
|
|
501
|
+
$[109] = t38;
|
|
497
502
|
} else {
|
|
498
|
-
t38 = $[
|
|
503
|
+
t38 = $[109];
|
|
499
504
|
}
|
|
500
505
|
let t39;
|
|
501
|
-
if ($[
|
|
506
|
+
if ($[110] !== t.cancel) {
|
|
502
507
|
t39 = /*#__PURE__*/_jsx(Button, {
|
|
503
508
|
type: "button",
|
|
504
509
|
variant: "secondary",
|
|
505
510
|
onClick: t38,
|
|
506
511
|
children: t.cancel
|
|
507
512
|
});
|
|
508
|
-
$[
|
|
509
|
-
$[
|
|
513
|
+
$[110] = t.cancel;
|
|
514
|
+
$[111] = t39;
|
|
510
515
|
} else {
|
|
511
|
-
t39 = $[
|
|
516
|
+
t39 = $[111];
|
|
512
517
|
}
|
|
513
518
|
let t40;
|
|
514
|
-
if ($[
|
|
519
|
+
if ($[112] !== handleDelete || $[113] !== isPending || $[114] !== t.delete) {
|
|
515
520
|
t40 = /*#__PURE__*/_jsx(Button, {
|
|
516
521
|
type: "button",
|
|
517
522
|
onClick: handleDelete,
|
|
518
523
|
loading: isPending,
|
|
519
524
|
children: t.delete
|
|
520
525
|
});
|
|
521
|
-
$[
|
|
522
|
-
$[
|
|
523
|
-
$[
|
|
524
|
-
$[
|
|
526
|
+
$[112] = handleDelete;
|
|
527
|
+
$[113] = isPending;
|
|
528
|
+
$[114] = t.delete;
|
|
529
|
+
$[115] = t40;
|
|
525
530
|
} else {
|
|
526
|
-
t40 = $[
|
|
531
|
+
t40 = $[115];
|
|
527
532
|
}
|
|
528
533
|
let t41;
|
|
529
|
-
if ($[
|
|
534
|
+
if ($[116] !== t39 || $[117] !== t40) {
|
|
530
535
|
t41 = /*#__PURE__*/_jsxs("div", {
|
|
531
536
|
className: "nh:flex nh:justify-end nh:gap-2",
|
|
532
537
|
children: [t39, t40]
|
|
533
538
|
});
|
|
534
|
-
$[
|
|
535
|
-
$[
|
|
536
|
-
$[
|
|
539
|
+
$[116] = t39;
|
|
540
|
+
$[117] = t40;
|
|
541
|
+
$[118] = t41;
|
|
537
542
|
} else {
|
|
538
|
-
t41 = $[
|
|
543
|
+
t41 = $[118];
|
|
539
544
|
}
|
|
540
545
|
let t42;
|
|
541
|
-
if ($[
|
|
546
|
+
if ($[119] !== t37 || $[120] !== t41) {
|
|
542
547
|
t42 = /*#__PURE__*/_jsxs(DialogContent, {
|
|
543
548
|
className: "max-w-md",
|
|
544
549
|
children: [t37, t41]
|
|
545
550
|
});
|
|
546
|
-
$[
|
|
547
|
-
$[
|
|
548
|
-
$[
|
|
551
|
+
$[119] = t37;
|
|
552
|
+
$[120] = t41;
|
|
553
|
+
$[121] = t42;
|
|
549
554
|
} else {
|
|
550
|
-
t42 = $[
|
|
555
|
+
t42 = $[121];
|
|
551
556
|
}
|
|
552
557
|
let t43;
|
|
553
|
-
if ($[
|
|
558
|
+
if ($[122] !== t32 || $[123] !== t42) {
|
|
554
559
|
t43 = /*#__PURE__*/_jsx(Dialog, {
|
|
555
560
|
open: t32,
|
|
556
561
|
onOpenChange: t33,
|
|
557
562
|
children: t42
|
|
558
563
|
});
|
|
559
|
-
$[
|
|
560
|
-
$[
|
|
561
|
-
$[
|
|
564
|
+
$[122] = t32;
|
|
565
|
+
$[123] = t42;
|
|
566
|
+
$[124] = t43;
|
|
562
567
|
} else {
|
|
563
|
-
t43 = $[
|
|
568
|
+
t43 = $[124];
|
|
564
569
|
}
|
|
565
570
|
let t44;
|
|
566
|
-
if ($[
|
|
571
|
+
if ($[125] !== t10 || $[126] !== t31 || $[127] !== t43) {
|
|
567
572
|
t44 = /*#__PURE__*/_jsxs(_Fragment, {
|
|
568
573
|
children: [t10, t31, t43]
|
|
569
574
|
});
|
|
570
|
-
$[
|
|
571
|
-
$[
|
|
572
|
-
$[
|
|
573
|
-
$[
|
|
575
|
+
$[125] = t10;
|
|
576
|
+
$[126] = t31;
|
|
577
|
+
$[127] = t43;
|
|
578
|
+
$[128] = t44;
|
|
574
579
|
} else {
|
|
575
|
-
t44 = $[
|
|
580
|
+
t44 = $[128];
|
|
576
581
|
}
|
|
577
582
|
return t44;
|
|
578
583
|
}
|