@wix/patterns-fields 1.13.0 → 1.15.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/dist/cjs/assets/locale/messages_en.json +7 -1
- package/dist/cjs/components/address/input/address-input.st.css.js +3 -3
- package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
- package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
- package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
- package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
- package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
- package/dist/cjs/components/image/cell-image-edit.js +474 -0
- package/dist/cjs/components/image/cell-image-edit.js.map +1 -0
- package/dist/cjs/components/image/image-thumbnail.js +78 -0
- package/dist/cjs/components/image/image-thumbnail.js.map +1 -0
- package/dist/cjs/components/image/image-view.js +123 -0
- package/dist/cjs/components/image/image-view.js.map +1 -0
- package/dist/cjs/components/image/index.js +22 -0
- package/dist/cjs/components/image/index.js.map +1 -0
- package/dist/cjs/components/index.js +6 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
- package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
- package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/overlays/custom-url-overlay.js +32 -0
- package/dist/cjs/components/media-image/overlays/custom-url-overlay.js.map +1 -0
- package/dist/cjs/components/media-image/overlays/index.js +3 -1
- package/dist/cjs/components/media-image/overlays/index.js.map +1 -1
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js +4 -4
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/overlays/types.js.map +1 -1
- package/dist/cjs/components/media-loader/media-loader.st.css.js +3 -3
- package/dist/cjs/components/media-loader/media-loader.st.css.js.map +1 -1
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +6 -6
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +5 -5
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +9 -9
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/text/text-view.st.css.js +3 -3
- package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
- package/dist/cjs/services/translations.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/esm/assets/locale/messages_en.json +7 -1
- package/dist/esm/components/address/input/address-input.st.css.js +2 -2
- package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/esm/components/color-view/color-view.st.css.js +2 -2
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/esm/components/document/form-document-field.st.css.js +2 -2
- package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
- package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
- package/dist/esm/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
- package/dist/esm/components/image/cell-image-edit.js +188 -0
- package/dist/esm/components/image/cell-image-edit.js.map +1 -0
- package/dist/esm/components/image/image-thumbnail.js +11 -0
- package/dist/esm/components/image/image-thumbnail.js.map +1 -0
- package/dist/esm/components/image/image-view.js +19 -0
- package/dist/esm/components/image/image-view.js.map +1 -0
- package/dist/esm/components/image/index.js +4 -0
- package/dist/esm/components/image/index.js.map +1 -0
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
- package/dist/esm/components/media-image/media-image.st.css.js +3 -3
- package/dist/esm/components/media-image/overlays/custom-url-overlay.js +10 -0
- package/dist/esm/components/media-image/overlays/custom-url-overlay.js.map +1 -0
- package/dist/esm/components/media-image/overlays/index.js +1 -0
- package/dist/esm/components/media-image/overlays/index.js.map +1 -1
- package/dist/esm/components/media-image/overlays/overlay.st.css.js +3 -3
- package/dist/esm/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +3 -3
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +3 -3
- package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +3 -3
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
- package/dist/esm/components/text/text-view.st.css.js +2 -2
- package/dist/esm/styles.global.css +1 -1
- package/dist/types/components/delete-dialog/delete-dialog.st.css.d.ts.map +1 -1
- package/dist/types/components/highlighted-text/highlighted-text.st.css.d.ts.map +1 -1
- package/dist/types/components/image/cell-image-edit.d.ts +18 -0
- package/dist/types/components/image/cell-image-edit.d.ts.map +1 -0
- package/dist/types/components/image/image-thumbnail.d.ts +11 -0
- package/dist/types/components/image/image-thumbnail.d.ts.map +1 -0
- package/dist/types/components/image/image-view.d.ts +7 -0
- package/dist/types/components/image/image-view.d.ts.map +1 -0
- package/dist/types/components/image/index.d.ts +4 -0
- package/dist/types/components/image/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/media-image/overlays/custom-url-overlay.d.ts +5 -0
- package/dist/types/components/media-image/overlays/custom-url-overlay.d.ts.map +1 -0
- package/dist/types/components/media-image/overlays/index.d.ts +1 -0
- package/dist/types/components/media-image/overlays/index.d.ts.map +1 -1
- package/dist/types/components/media-image/overlays/overlay.st.css.d.ts.map +1 -1
- package/dist/types/components/media-image/overlays/types.d.ts +1 -1
- package/dist/types/components/media-image/overlays/types.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.d.ts.map +1 -1
- package/dist/types/services/translations.d.ts +1 -1
- package/dist/types/services/translations.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/assets/locale/messages_en.json +7 -1
- package/src/components/address/input/address-input.st.css.ts +2 -2
- package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
- package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
- package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
- package/src/components/color-view/color-view.st.css.ts +2 -2
- package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
- package/src/components/document/form-document-field.st.css.ts +2 -2
- package/src/components/exclamation/exclamation.st.css.ts +2 -2
- package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
- package/src/components/image/cell-image-edit.tsx +353 -0
- package/src/components/image/image-thumbnail.tsx +63 -0
- package/src/components/image/image-view.tsx +69 -0
- package/src/components/image/index.ts +3 -0
- package/src/components/index.ts +1 -0
- package/src/components/media-control/paste-url-button.st.css.ts +2 -2
- package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
- package/src/components/media-image/media-image.st.css.ts +3 -3
- package/src/components/media-image/overlays/custom-url-overlay.tsx +18 -0
- package/src/components/media-image/overlays/index.ts +1 -0
- package/src/components/media-image/overlays/overlay.st.css.ts +3 -3
- package/src/components/media-image/overlays/types.ts +1 -1
- package/src/components/media-loader/media-loader.st.css.ts +2 -2
- package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
- package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +3 -3
- package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +3 -3
- package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +3 -3
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
- package/src/components/text/text-view.st.css.ts +2 -2
- package/src/services/translations.ts +6 -0
- package/src/styles.global.css +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/services/translations.ts"],"sourcesContent":["// DO NOT UPDATE THIS FILE! This file was auto-generated by generate-keys.ts\nexport type TranslationsKeys =\n | 'CMS.document.add.button.text'\n | 'CMS.document.addMore.button.text'\n | 'CMS.document.action.open'\n | 'CMS.document.action.download'\n | 'CMS.document.action.replace'\n | 'CMS.document.action.replaceWithUrl'\n | 'CMS.document.action.delete'\n | 'CMS.document.pasteUrl.button'\n | 'CMS.document.pasteUrl.title'\n | 'CMS.document.replaceWithUrl.title'\n | 'CMS.document.delete.confirm'\n | 'CMS.document.delete.cancel'\n | 'CMS.mediaControl.pasteUrl.button.save'\n | 'CMS.mediaControl.pasteUrl.button.cancel'\n | 'CMS.mediaControl.pasteUrl.placeholder.document'\n | 'CMS.mediaControl.pasteUrl.placeholder.image'\n | 'CMS.mediaControl.pasteUrl.error.document'\n | 'CMS.mediaControl.pasteUrl.error.image'\n | 'auto-patterns.filters.has_value'\n | 'auto-patterns.filters.no_value'\n | 'auto-patterns.fields.type_mismatch_convert_disabled'\n | 'auto-patterns.fields.type_mismatch_clear'\n | 'auto-patterns.fields.field_type_object_title'\n | 'auto-patterns.fields.field_type_array_title'\n | 'auto-patterns.fields.field_type_address_title'\n | 'auto-patterns.fields.field_type_time_title'\n | 'auto-patterns.time_input.placeholder'\n | 'auto-patterns.time_input.invalid_message'\n | 'auto-patterns.url_view.open_in_new_tab'\n | 'auto-patterns.email_input.placeholder'\n | 'auto-patterns.email_input.invalid_message'\n | 'auto-patterns.fields.no_results_found'\n | 'auto-patterns.fields.no_items'\n | 'auto-patterns.fields.select_placeholder'\n | 'auto-patterns.fields.field_type_address_placeholder'\n | 'auto-patterns.fields.field_type_rich_text_title'\n | 'auto-patterns.fields.field_type_rich_content_title'\n | 'auto-patterns.fields.field_type_video_title'\n | 'auto-patterns.fields.add_video_tooltip'\n | 'auto-patterns.fields.replace_video_tooltip'\n | 'auto-patterns.fields.more_actions_tooltip'\n | 'auto-patterns.fields.preview_video'\n | 'auto-patterns.fields.download_video'\n | 'auto-patterns.fields.remove_video'\n | 'auto-patterns.fields.field_type_multi_document_title'\n | 'auto-patterns.fields.field_type_email_title'\n | 'auto-patterns.fields.email_input_error'\n | 'CMS.richTextEditor.toolbar.button.link.cancel'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h1.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h1.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h2.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h2.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h3.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h3.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h4.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h4.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h5.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h5.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h6.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h6.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p1.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p1.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p2.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p2.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p3.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p3.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.button.info'\n | 'CMS.richTextEditor.toolbar.headerDropdown.button.info.link'\n | 'CMS.richTextEditor.toolbar.headerDropdown.help.text'\n | 'CMS.richTextEditor.toolbar.button.tooltip.align'\n | 'CMS.richTextEditor.toolbar.button.tooltip.bold'\n | 'CMS.richTextEditor.toolbar.button.tooltip.clear-formation'\n | 'CMS.richTextEditor.toolbar.button.tooltip.full-screen.exit'\n | 'CMS.richTextEditor.toolbar.button.tooltip.full-screen'\n | 'CMS.richTextEditor.toolbar.header'\n | 'CMS.richTextEditor.toolbar.button.tooltip.italic'\n | 'CMS.richTextEditor.toolbar.button.link'\n | 'CMS.richTextEditor.toolbar.button.tooltip.ol'\n | 'CMS.richTextEditor.toolbar.button.tooltip.ul'\n | 'CMS.richTextEditor.toolbar.button.tooltip.underline'\n | 'CMS.richTextEditor.toolbar.button.link.paste.url.title'\n | 'CMS.richTextEditor.toolbar.button.link.paste.url.placeholder'\n | 'CMS.richTextEditor.toolbar.button.link.save'\n | 'CMS.richContentCommon.publishLoader'\n | 'auto-patterns.fields.field_type_audio_title'\n | 'CMS.audio.button.add'\n | 'CMS.audio.button.replace'\n | 'CMS.audio.button.download'\n | 'CMS.audio.button.delete'\n | 'CMS.mediaGallery.addGallery'\n | 'CMS.mediaGallery.emptyHint'\n | 'CMS.mediaGallery.manageGallery'\n | 'CMS.mediaGallery.preview'\n | 'CMS.mediaGallery.clear'\n | 'CMS.mediaGallery.addMedia'\n | 'CMS.mediaGallery.replaceItem'\n | 'CMS.mediaGallery.preview.replace'\n | 'CMS.mediaGallery.preview.download'\n | 'CMS.mediaGallery.preview.delete'\n | 'CMS.mediaGallery.preview.previousItem'\n | 'CMS.mediaGallery.preview.nextItem'\n | 'CMS.mediaGallery.noItems.title'\n | 'CMS.mediaGallery.noItems.subtitle'\n | 'CMS.mediaGallery.noItems.addMedia'\n | 'CMS.mediaGallery.addLink.titleImage'\n | 'CMS.mediaGallery.addLink.titleVideo'\n | 'CMS.mediaGallery.addLink.subtitleImage'\n | 'CMS.mediaGallery.addLink.subtitleVideo'\n | 'CMS.mediaGallery.addLink.urlLabel'\n | 'CMS.mediaGallery.addLink.invalidUrl'\n | 'CMS.mediaGallery.addLink.targetLabel'\n | 'CMS.mediaGallery.addLink.newTab'\n | 'CMS.mediaGallery.addLink.currentTab'\n | 'CMS.mediaGallery.addLink.save'\n | 'CMS.mediaGallery.addLink.cancel'\n | 'CMS.mediaGallery.dialog.emptySearchResultsTitle'\n | 'CMS.mediaGallery.dialog.emptySearchResultsSubtitle'\n | 'CMS.mediaGallery.dialog.modalDone'\n | 'CMS.mediaGallery.dialog.modalDoneEmpty'\n | 'CMS.mediaGallery.dialog.modalTitle'\n | 'CMS.mediaGallery.dialog.selectionSelectAll'\n | 'CMS.mediaGallery.dialog.selectionDeselectAll'\n | 'CMS.mediaGallery.dialog.selectionDelete'\n | 'CMS.mediaGallery.dialog.sortLabel'\n | 'CMS.mediaGallery.dialog.sortByTitleAsc'\n | 'CMS.mediaGallery.dialog.sortByTitleDesc'\n | 'CMS.mediaGallery.dialog.sortByFilenameAsc'\n | 'CMS.mediaGallery.dialog.sortByFilenameDesc'\n | 'CMS.mediaGallery.dialog.searchPlaceholder'\n | 'CMS.mediaGallery.dialog.settingsTitle'\n | 'CMS.mediaGallery.dialog.settingsNewItemsDirectionLabel'\n | 'CMS.mediaGallery.dialog.settingsNewItemsDirectionStart'\n | 'CMS.mediaGallery.dialog.settingsNewItemsDirectionEnd'\n | 'CMS.mediaGallery.dialog.settingsNewItemsTitleLabel'\n | 'CMS.mediaGallery.dialog.settingsNewItemsTitleEmpty'\n | 'CMS.mediaGallery.dialog.settingsNewItemsTitleFilename'\n | 'CMS.mediaGallery.dialog.itemTitleLabel'\n | 'CMS.mediaGallery.dialog.itemTitlePlaceholder'\n | 'CMS.mediaGallery.dialog.itemDescriptionLabel'\n | 'CMS.mediaGallery.dialog.itemDescriptionPlaceholder'\n | 'CMS.mediaGallery.dialog.itemAltLabel'\n | 'CMS.mediaGallery.dialog.itemAltTooltip'\n | 'CMS.mediaGallery.dialog.itemAltPlaceholder'\n | 'CMS.mediaGallery.dialog.itemDeleteTooltip'\n | 'CMS.mediaGallery.dialog.itemFocalPointTooltip'\n | 'CMS.mediaGallery.dialog.masonryLayoutTooltip'\n | 'CMS.mediaGallery.dialog.gridLayoutTooltip'\n | 'CMS.mediaGallery.dialog.externalLinkLabel'\n | 'CMS.mediaGallery.dialog.externalLinkButtonEdit'\n | 'CMS.mediaGallery.dialog.externalLinkButtonAdd'\n | 'CMS.mediaGallery.dialog.externalLinkTextPlaceholder'\n | 'patterns-fields.select.search_placeholder'\n | 'CMS.document.delete.title'\n | 'CMS.document.delete.message'\n | 'auto-patterns.fields.type_mismatch_convert'\n | 'auto-patterns.fields.type_mismatch_tip'\n | 'CMS.mediaGallery.dialog.selectionSelected'\n | 'patterns-fields.text.char_limit_tooltip';\n\nexport type Translate = {\n (key: TranslationsKeys, params?: Record<string, string | number>): string;\n (key: 'CMS.document.delete.title', params: { filename: string }): string;\n (key: 'CMS.document.delete.message', params: { filename: string }): string;\n (\n key: 'auto-patterns.fields.type_mismatch_convert',\n params: { typeName: string },\n ): string;\n (\n key: 'auto-patterns.fields.type_mismatch_tip',\n params: { typeName: string },\n ): string;\n (\n key: 'CMS.mediaGallery.dialog.selectionSelected',\n params: { items: string },\n ): string;\n (\n key: 'patterns-fields.text.char_limit_tooltip',\n params: { maxLength: number },\n ): string;\n};\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/services/translations.ts"],"sourcesContent":["// DO NOT UPDATE THIS FILE! This file was auto-generated by generate-keys.ts\nexport type TranslationsKeys =\n | 'CMS.document.add.button.text'\n | 'CMS.document.addMore.button.text'\n | 'CMS.document.action.open'\n | 'CMS.document.action.download'\n | 'CMS.document.action.replace'\n | 'CMS.document.action.replaceWithUrl'\n | 'CMS.document.action.delete'\n | 'CMS.document.pasteUrl.button'\n | 'CMS.document.pasteUrl.title'\n | 'CMS.document.replaceWithUrl.title'\n | 'CMS.document.delete.confirm'\n | 'CMS.document.delete.cancel'\n | 'CMS.mediaControl.pasteUrl.button.save'\n | 'CMS.mediaControl.pasteUrl.button.cancel'\n | 'CMS.mediaControl.pasteUrl.placeholder.document'\n | 'CMS.mediaControl.pasteUrl.placeholder.image'\n | 'CMS.mediaControl.pasteUrl.error.document'\n | 'CMS.mediaControl.pasteUrl.error.image'\n | 'auto-patterns.filters.has_value'\n | 'auto-patterns.filters.no_value'\n | 'auto-patterns.fields.type_mismatch_convert_disabled'\n | 'auto-patterns.fields.type_mismatch_clear'\n | 'auto-patterns.fields.field_type_object_title'\n | 'auto-patterns.fields.field_type_array_title'\n | 'auto-patterns.fields.field_type_address_title'\n | 'auto-patterns.fields.field_type_time_title'\n | 'auto-patterns.time_input.placeholder'\n | 'auto-patterns.time_input.invalid_message'\n | 'auto-patterns.url_view.open_in_new_tab'\n | 'auto-patterns.email_input.placeholder'\n | 'auto-patterns.email_input.invalid_message'\n | 'auto-patterns.fields.no_results_found'\n | 'auto-patterns.fields.no_items'\n | 'auto-patterns.fields.select_placeholder'\n | 'auto-patterns.fields.field_type_address_placeholder'\n | 'auto-patterns.fields.field_type_rich_text_title'\n | 'auto-patterns.fields.field_type_rich_content_title'\n | 'auto-patterns.fields.field_type_video_title'\n | 'auto-patterns.fields.add_video_tooltip'\n | 'auto-patterns.fields.replace_video_tooltip'\n | 'auto-patterns.fields.more_actions_tooltip'\n | 'auto-patterns.fields.preview_video'\n | 'auto-patterns.fields.download_video'\n | 'auto-patterns.fields.remove_video'\n | 'auto-patterns.fields.field_type_multi_document_title'\n | 'auto-patterns.fields.field_type_email_title'\n | 'auto-patterns.fields.email_input_error'\n | 'CMS.richTextEditor.toolbar.button.link.cancel'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h1.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h1.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h2.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h2.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h3.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h3.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h4.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h4.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h5.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h5.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h6.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h6.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p1.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p1.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p2.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p2.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p3.subtitle'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p3.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.button.info'\n | 'CMS.richTextEditor.toolbar.headerDropdown.button.info.link'\n | 'CMS.richTextEditor.toolbar.headerDropdown.help.text'\n | 'CMS.richTextEditor.toolbar.button.tooltip.align'\n | 'CMS.richTextEditor.toolbar.button.tooltip.bold'\n | 'CMS.richTextEditor.toolbar.button.tooltip.clear-formation'\n | 'CMS.richTextEditor.toolbar.button.tooltip.full-screen.exit'\n | 'CMS.richTextEditor.toolbar.button.tooltip.full-screen'\n | 'CMS.richTextEditor.toolbar.header'\n | 'CMS.richTextEditor.toolbar.button.tooltip.italic'\n | 'CMS.richTextEditor.toolbar.button.link'\n | 'CMS.richTextEditor.toolbar.button.tooltip.ol'\n | 'CMS.richTextEditor.toolbar.button.tooltip.ul'\n | 'CMS.richTextEditor.toolbar.button.tooltip.underline'\n | 'CMS.richTextEditor.toolbar.button.link.paste.url.title'\n | 'CMS.richTextEditor.toolbar.button.link.paste.url.placeholder'\n | 'CMS.richTextEditor.toolbar.button.link.save'\n | 'CMS.richContentCommon.publishLoader'\n | 'auto-patterns.fields.field_type_audio_title'\n | 'CMS.audio.button.add'\n | 'CMS.audio.button.replace'\n | 'CMS.audio.button.download'\n | 'CMS.audio.button.delete'\n | 'CMS.mediaGallery.addGallery'\n | 'CMS.mediaGallery.emptyHint'\n | 'CMS.mediaGallery.manageGallery'\n | 'CMS.mediaGallery.preview'\n | 'CMS.mediaGallery.clear'\n | 'CMS.mediaGallery.addMedia'\n | 'CMS.mediaGallery.replaceItem'\n | 'CMS.mediaGallery.preview.replace'\n | 'CMS.mediaGallery.preview.download'\n | 'CMS.mediaGallery.preview.delete'\n | 'CMS.mediaGallery.preview.previousItem'\n | 'CMS.mediaGallery.preview.nextItem'\n | 'CMS.mediaGallery.noItems.title'\n | 'CMS.mediaGallery.noItems.subtitle'\n | 'CMS.mediaGallery.noItems.addMedia'\n | 'CMS.mediaGallery.addLink.titleImage'\n | 'CMS.mediaGallery.addLink.titleVideo'\n | 'CMS.mediaGallery.addLink.subtitleImage'\n | 'CMS.mediaGallery.addLink.subtitleVideo'\n | 'CMS.mediaGallery.addLink.urlLabel'\n | 'CMS.mediaGallery.addLink.invalidUrl'\n | 'CMS.mediaGallery.addLink.targetLabel'\n | 'CMS.mediaGallery.addLink.newTab'\n | 'CMS.mediaGallery.addLink.currentTab'\n | 'CMS.mediaGallery.addLink.save'\n | 'CMS.mediaGallery.addLink.cancel'\n | 'CMS.mediaGallery.dialog.emptySearchResultsTitle'\n | 'CMS.mediaGallery.dialog.emptySearchResultsSubtitle'\n | 'CMS.mediaGallery.dialog.modalDone'\n | 'CMS.mediaGallery.dialog.modalDoneEmpty'\n | 'CMS.mediaGallery.dialog.modalTitle'\n | 'CMS.mediaGallery.dialog.selectionSelectAll'\n | 'CMS.mediaGallery.dialog.selectionDeselectAll'\n | 'CMS.mediaGallery.dialog.selectionDelete'\n | 'CMS.mediaGallery.dialog.sortLabel'\n | 'CMS.mediaGallery.dialog.sortByTitleAsc'\n | 'CMS.mediaGallery.dialog.sortByTitleDesc'\n | 'CMS.mediaGallery.dialog.sortByFilenameAsc'\n | 'CMS.mediaGallery.dialog.sortByFilenameDesc'\n | 'CMS.mediaGallery.dialog.searchPlaceholder'\n | 'CMS.mediaGallery.dialog.settingsTitle'\n | 'CMS.mediaGallery.dialog.settingsNewItemsDirectionLabel'\n | 'CMS.mediaGallery.dialog.settingsNewItemsDirectionStart'\n | 'CMS.mediaGallery.dialog.settingsNewItemsDirectionEnd'\n | 'CMS.mediaGallery.dialog.settingsNewItemsTitleLabel'\n | 'CMS.mediaGallery.dialog.settingsNewItemsTitleEmpty'\n | 'CMS.mediaGallery.dialog.settingsNewItemsTitleFilename'\n | 'CMS.mediaGallery.dialog.itemTitleLabel'\n | 'CMS.mediaGallery.dialog.itemTitlePlaceholder'\n | 'CMS.mediaGallery.dialog.itemDescriptionLabel'\n | 'CMS.mediaGallery.dialog.itemDescriptionPlaceholder'\n | 'CMS.mediaGallery.dialog.itemAltLabel'\n | 'CMS.mediaGallery.dialog.itemAltTooltip'\n | 'CMS.mediaGallery.dialog.itemAltPlaceholder'\n | 'CMS.mediaGallery.dialog.itemDeleteTooltip'\n | 'CMS.mediaGallery.dialog.itemFocalPointTooltip'\n | 'CMS.mediaGallery.dialog.masonryLayoutTooltip'\n | 'CMS.mediaGallery.dialog.gridLayoutTooltip'\n | 'CMS.mediaGallery.dialog.externalLinkLabel'\n | 'CMS.mediaGallery.dialog.externalLinkButtonEdit'\n | 'CMS.mediaGallery.dialog.externalLinkButtonAdd'\n | 'CMS.mediaGallery.dialog.externalLinkTextPlaceholder'\n | 'patterns-fields.select.search_placeholder'\n | 'CMS.image.add'\n | 'CMS.image.replace'\n | 'CMS.image.replaceWithUrl.button'\n | 'CMS.image.replaceWithUrl.title'\n | 'CMS.image.download'\n | 'CMS.image.clear'\n | 'CMS.document.delete.title'\n | 'CMS.document.delete.message'\n | 'auto-patterns.fields.type_mismatch_convert'\n | 'auto-patterns.fields.type_mismatch_tip'\n | 'CMS.mediaGallery.dialog.selectionSelected'\n | 'patterns-fields.text.char_limit_tooltip';\n\nexport type Translate = {\n (key: TranslationsKeys, params?: Record<string, string | number>): string;\n (key: 'CMS.document.delete.title', params: { filename: string }): string;\n (key: 'CMS.document.delete.message', params: { filename: string }): string;\n (\n key: 'auto-patterns.fields.type_mismatch_convert',\n params: { typeName: string },\n ): string;\n (\n key: 'auto-patterns.fields.type_mismatch_tip',\n params: { typeName: string },\n ): string;\n (\n key: 'CMS.mediaGallery.dialog.selectionSelected',\n params: { items: string },\n ): string;\n (\n key: 'patterns-fields.text.char_limit_tooltip',\n params: { maxLength: number },\n ): string;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.addressinput3101232823__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput3101232823__tableAddressInput>div{padding:0!important;width:100%}.addressinput3101232823__tableAddressInput:focus-within{margin-left:2px}.actionsmenu4248190468__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield1732632243__addItem{height:120px!important;box-sizing:border-box}.formaudiofield1732632243__addItem:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, 8px)}.formaudiofield1732632243__addItem.formaudiofield1732632243--disabled{pointer-events:auto!important}.formaudiofield1732632243__addItem.formaudiofield1732632243--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield1732632243__mediaTitle{line-height:18px!important}.audioplayer3567248322__root{width:fit-content;z-index:1000;position:fixed!important;bottom:42px;right:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.colorview1605251495__view{width:100%}.colorview1605251495__fillPreview{flex-shrink:0}.colorview1605251495__view .colorview1605251495__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog680221080__layout{max-width:510px!important}.formdocumentfield2080496992__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield2080496992__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield2080496992__textWidth{max-width:calc(100% - 196px)}.formdocumentfield2080496992__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield2080496992__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield2080496992__addDocument.formdocumentfield2080496992--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield2080496992__addItemWrapper:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, calc(2px * 4))}.exclamation2048796719__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation2048796719__exclamation.exclamation2048796719---type-7-warning:not(.exclamation2048796719--customSize),.exclamation2048796719__exclamation.exclamation2048796719---type-5-error:not(.exclamation2048796719--customSize){width:24px;height:24px}.exclamation2048796719__exclamation.exclamation2048796719---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation2048796719__exclamation.exclamation2048796719---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation2048796719__actions{display:flex;flex-direction:column}.exclamation2048796719__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation2048796719__action+.exclamation2048796719__action{margin-top:6px}.exclamation2048796719__action.exclamation2048796719--accented{color:var(--wds-color-blue-100)}.exclamation2048796719__action.exclamation2048796719--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext797733147__root.highlightedtext797733147--highlightedBackground{animation:highlightedtext797733147__highlighted 150ms ease-out 1 forwards}.highlightedtext797733147__substring.highlightedtext797733147--isHighlighted{animation:highlightedtext797733147__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext797733147__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext797733147__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.pasteurlbutton2188405185__root{margin-top:6px}.pasteurlbutton2188405185__iconButtonTooltip{height:max-content}.pasteurlbutton2188405185__iconButton{width:24px;height:24px}.formmediagalleryfield3030618679__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield3030618679__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield3030618679__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield3030618679__addItem{box-sizing:border-box}.formmediagalleryfield3030618679__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield3030618679__image.formmediagalleryfield3030618679--withMarginRight{margin-right:3px}.formmediagalleryfield3030618679__image.formmediagalleryfield3030618679--withMarginTop{margin-top:3px}.formmediagalleryfield3030618679__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield3030618679__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage2658102972__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage2658102972__root.mediaimage2658102972--error{--mediaimage2658102972-from:calc(50% - 0.5px);--mediaimage2658102972-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage2658102972-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage2658102972-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage2658102972-to),transparent var(--mediaimage2658102972-to))}.mediaimage2658102972__root.mediaimage2658102972--error>*{opacity:0}.overlay3631758939__iconOverlay{position:absolute;color:var(--wds-color-white, var(--overlay3631758939-wsr-color-D80, #FFFFFF));background-color:transparent;filter:drop-shadow(0 1px 1px rgba(22,45,61,.6));-webkit-filter:drop-shadow(0 1px 1px rgba(22,45,61,.6))}.overlay3631758939__iconOverlay.overlay3631758939---size-5-small{width:20px;height:20px}.overlay3631758939__iconOverlay.overlay3631758939---size-6-medium{width:24px;height:24px}.overlay3631758939__iconOverlay.overlay3631758939---size-5-large{width:28px;height:28px}.overlay3631758939__iconOverlay.overlay3631758939---placement-7-topLeft{top:2px;left:2px}.overlay3631758939__iconOverlay.overlay3631758939---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader3771116817__loader{border-radius:6px}.medialoader3771116817__loader.medialoader3771116817--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader3771116817__loader.medialoader3771116817--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag1783400040__root{box-sizing:border-box;padding:3px 6px 3px 3px;border-radius:3px;max-height:24px;min-width:54px;max-width:100%;background-color:var(--wds-color-blue-400, var(--wsr-color-B40))}.formmultidocument3562652977__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument3562652977__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument3562652977__viewRoot>div:first-child .formmultidocument3562652977__singleViewWrapper{border-top-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-top-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument3562652977__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument3562652977__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument3562652977__addDocumentButton{border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument3562652977__addDocumentButton:focus-within{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.richcontentdefaultvalueinput624451984__richContentEditorContainer .richcontentdefaultvalueinput624451984__editor{max-height:calc(40vh - var(--richcontentdefaultvalueinput624451984-topToolbarHeight) - var(--richcontentdefaultvalueinput624451984-bottomToolbarHeight))}.richcontentforminput1029887970__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput1029887970__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput1029887970__root .richcontentforminput1029887970__editor{overflow-y:auto;max-height:calc(80vh - var(--richcontentforminput1029887970-topToolbarHeight) - var(--richcontentforminput1029887970-bottomToolbarHeight))}.richcontentformreadonlyinput2798170633__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput2798170633__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal639772389__modalContent{display:flex;position:relative;height:100%;width:782px;background-color:var(--wds-color-white);border-radius:var(--wds-border-radius-300);margin-top:24px}.publishloader2895574298__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton1556814195__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton1556814195__root button{border-radius:6px!important}.richcontenteditor4116266996__root{position:relative}.richcontenteditor4116266996__root,.richcontenteditor4116266996__toolbarContainer,.richcontenteditor4116266996__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor4116266996__toolbarContainer div{box-sizing:border-box}.richcontenteditor4116266996__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor4116266996__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor4116266996__modalEditor .richcontenteditor4116266996__editor{overflow-y:auto;min-height:calc(100% - var(--richcontenteditor4116266996-topToolbarHeight) - var(--richcontenteditor4116266996-bottomToolbarHeight));max-height:calc(100% - var(--richcontenteditor4116266996-topToolbarHeight) - var(--richcontenteditor4116266996-bottomToolbarHeight));min-width:592px;box-sizing:border-box}.richcontenteditor4116266996__modalEditor .richcontenteditor4116266996__footerToolbarContainer{margin-top:9px}.richcontenteditor4116266996__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor4116266996__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar1876141625__toolbar{border-top:1px solid rgba(51,51,51,.1);z-index:2;margin-right:auto;padding-left:6px;margin-left:auto;position:relative;height:40px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box}.richcontenttoolbar1876141625__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar1876141625__toolbarButton:disabled{color:graytext}.richcontenttoolbar1876141625__toolbar label{padding:0 8px}.richcontentviewer1188942342__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer1188942342__root.richcontentviewer1188942342--isFullScreen{padding:12px 24px}.richcontentviewer1188942342__root:not(.richcontentviewer1188942342--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer1188942342__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer1188942342__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer1188942342__modalViewer{min-width:592px;overflow:auto}.richtexteditor2428808919__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor2428808919__root.richtexteditor2428808919---border-4-none{border:0}.richtexteditor2428808919__root.richtexteditor2428808919---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor2428808919__root.richtexteditor2428808919---border-8-standard:focus,.richtexteditor2428808919__root.richtexteditor2428808919---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor2428808919__root.richtexteditor2428808919---border-8-standard.richtexteditor2428808919---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor2428808919__root.richtexteditor2428808919---border-8-standard.richtexteditor2428808919---status-5-error:focus,.richtexteditor2428808919__root.richtexteditor2428808919---border-8-standard.richtexteditor2428808919---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor2428808919__root.richtexteditor2428808919---border-8-standard.richtexteditor2428808919---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor2428808919__root.richtexteditor2428808919---border-8-standard.richtexteditor2428808919---status-7-warning:focus,.richtexteditor2428808919__root.richtexteditor2428808919---border-8-standard.richtexteditor2428808919---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor2428808919__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor2428808919__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-border-radius-300)}.richtexteditor2428808919__editor.richtexteditor2428808919--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor2428808919__editor:not(.richtexteditor2428808919--isFullScreen){max-height:80vh}.richtexteditor2428808919__editor>div{flex:1;max-width:100%}.toolbar1400100031__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400);background:var(--wds-color-white);align-items:center}.toolbar1400100031__item{display:flex;margin-right:12px}.toolbar1400100031__item svg,.toolbar1400100031__item svg path,.toolbar1400100031__item svg text{color:inherit;fill:currentColor}.toolbar1400100031__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;height:100%}.toolbar1400100031__clearFormatting{margin-left:auto}.toolbar1400100031__fullScreen{margin-right:0}.toolbar1400100031__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar1400100031__dropdownItemContent.toolbar1400100031--selected .toolbar1400100031__dropdownItemTitle,.toolbar1400100031__dropdownItemContent.toolbar1400100031--selected .toolbar1400100031__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar1400100031__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar1400100031__dropdownHeaderOne{font-weight:var(--wds-font-weight-bold)!important;font-size:36px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar1400100031__dropdownHeaderTwo{font-weight:var(--wds-font-weight-bold)!important;font-size:32px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar1400100031__dropdownHeaderThree{font-weight:var(--wds-font-weight-medium)!important;font-size:28px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar1400100031__dropdownHeaderFour{font-weight:var(--wds-font-weight-bold)!important;font-size:24px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar1400100031__dropdownHeaderFive{font-weight:var(--wds-font-weight-bold)!important;font-size:22px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar1400100031__dropdownHeaderSix{font-weight:var(--wds-font-weight-medium)!important;font-size:20px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar1400100031__dropdownParagraphOne{font-weight:var(--wds-font-weight-medium)!important;font-size:18px!important;line-height:1.33!important;font-family:var(--wds-font-family-default)!important}.toolbar1400100031__dropdownNormalText{font-weight:var(--wds-font-weight-medium)!important;font-size:var(--wds-font-size-500)!important;line-height:var(--wds-font-line-height-300)!important;font-family:var(--wds-font-family-default)!important}.toolbar1400100031__dropdownParagraphThree{font-weight:var(--wds-font-weight-medium)!important;font-size:14px!important;line-height:1.29!important;font-family:var(--wds-font-family-default)!important}.textview2947092605__textView::after{content:"";display:block}.richeditor2264053316__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default)}.richeditor2264053316__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100);background:var(--wds-color-black-700)}.richeditor2264053316__editor .DraftEditor-root{width:100%;height:100%}.richeditor2264053316__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor2264053316__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor2264053316__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor2264053316__editor .public-DraftEditor-content ol,.richeditor2264053316__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor2264053316__editor .public-DraftEditor-content a,.richeditor2264053316__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor2264053316__header-one:not(li),.richeditor2264053316__header-two:not(li),.richeditor2264053316__header-three:not(li),.richeditor2264053316__header-four:not(li),.richeditor2264053316__header-five:not(li),.richeditor2264053316__header-six:not(li){margin-block:0;margin:0}.richeditor2264053316__header-one,.richeditor2264053316__editor li.richeditor2264053316__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__header-two,.richeditor2264053316__editor li.richeditor2264053316__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__header-three,.richeditor2264053316__editor li.richeditor2264053316__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__header-four,.richeditor2264053316__editor li.richeditor2264053316__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__header-five,.richeditor2264053316__editor li.richeditor2264053316__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__header-six,.richeditor2264053316__editor li.richeditor2264053316__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__paragraph-one,.richeditor2264053316__editor li.richeditor2264053316__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__unstyled,.richeditor2264053316__editor li.richeditor2264053316__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__paragraph-three,.richeditor2264053316__editor li.richeditor2264053316__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__editor li.richeditor2264053316__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__editor li.richeditor2264053316__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor2264053316__editor li.richeditor2264053316__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__editor li.richeditor2264053316__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor2264053316__editor li.richeditor2264053316__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__editor li.richeditor2264053316__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor2264053316__editor li.richeditor2264053316__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__editor li.richeditor2264053316__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor2264053316__editor li.richeditor2264053316__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__editor li.richeditor2264053316__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor2264053316__editor li.richeditor2264053316__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__editor li.richeditor2264053316__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor2264053316__editor li.richeditor2264053316__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__editor li.richeditor2264053316__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default))}.richeditor2264053316__editor li.richeditor2264053316__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default))}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth0:first-child{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+10){margin-inline-start:3ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+100){margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+1000){margin-inline-start:5ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth1:first-child{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+10){margin-inline-start:5ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+100){margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+1000){margin-inline-start:7ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth2:first-child{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+10){margin-inline-start:7ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+100){margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+1000){margin-inline-start:9ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth3:first-child{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+10){margin-inline-start:9ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+100){margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+1000){margin-inline-start:11ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth4:first-child{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+10){margin-inline-start:11ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+100){margin-inline-start:12ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+1000){margin-inline-start:13ch}.richeditor2264053316__align-left{text-align:left;align-self:flex-start}.richeditor2264053316__align-right{text-align:right;align-self:flex-end}.richeditor2264053316__align-center{text-align:center;align-self:center}.richeditor2264053316__align-justify{text-align:justify;align-self:stretch}.richeditor2264053316__withMargin{display:inline-block}.richeditor2264053316__dir-rtl,.richeditor2264053316__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor2264053316__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
1
|
+
.addressinput2900093033__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput2900093033__tableAddressInput>div{padding:0!important;width:100%}.addressinput2900093033__tableAddressInput:focus-within{margin-left:2px}.actionsmenu1534779685__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield1044148919__addItem{height:120px!important;box-sizing:border-box}.formaudiofield1044148919__addItem:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, 8px)}.formaudiofield1044148919__addItem.formaudiofield1044148919--disabled{pointer-events:auto!important}.formaudiofield1044148919__addItem.formaudiofield1044148919--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield1044148919__mediaTitle{line-height:18px!important}.audioplayer2330557906__root{width:fit-content;z-index:1000;position:fixed!important;bottom:42px;right:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.colorview3032433070__view{width:100%}.colorview3032433070__fillPreview{flex-shrink:0}.colorview3032433070__view .colorview3032433070__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog2285400228__layout{max-width:510px!important}.formdocumentfield3221496435__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield3221496435__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield3221496435__textWidth{max-width:calc(100% - 196px)}.formdocumentfield3221496435__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield3221496435__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield3221496435__addDocument.formdocumentfield3221496435--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield3221496435__addItemWrapper:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, calc(2px * 4))}.exclamation1736511447__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation1736511447__exclamation.exclamation1736511447---type-7-warning:not(.exclamation1736511447--customSize),.exclamation1736511447__exclamation.exclamation1736511447---type-5-error:not(.exclamation1736511447--customSize){width:24px;height:24px}.exclamation1736511447__exclamation.exclamation1736511447---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation1736511447__exclamation.exclamation1736511447---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation1736511447__actions{display:flex;flex-direction:column}.exclamation1736511447__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation1736511447__action+.exclamation1736511447__action{margin-top:6px}.exclamation1736511447__action.exclamation1736511447--accented{color:var(--wds-color-blue-100)}.exclamation1736511447__action.exclamation1736511447--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext3569981910__root.highlightedtext3569981910--highlightedBackground{animation:highlightedtext3569981910__highlighted 150ms ease-out 1 forwards}.highlightedtext3569981910__substring.highlightedtext3569981910--isHighlighted{animation:highlightedtext3569981910__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext3569981910__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext3569981910__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.pasteurlbutton3952587235__root{margin-top:6px}.pasteurlbutton3952587235__iconButtonTooltip{height:max-content}.pasteurlbutton3952587235__iconButton{width:24px;height:24px}.formmediagalleryfield3106985161__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield3106985161__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield3106985161__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield3106985161__addItem{box-sizing:border-box}.formmediagalleryfield3106985161__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield3106985161__image.formmediagalleryfield3106985161--withMarginRight{margin-right:3px}.formmediagalleryfield3106985161__image.formmediagalleryfield3106985161--withMarginTop{margin-top:3px}.formmediagalleryfield3106985161__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield3106985161__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage1708830916__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage1708830916__root.mediaimage1708830916--error{--mediaimage1708830916-from:calc(50% - 0.5px);--mediaimage1708830916-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage1708830916-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1708830916-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1708830916-to),transparent var(--mediaimage1708830916-to))}.mediaimage1708830916__root.mediaimage1708830916--error>*{opacity:0}.overlay636547370__iconOverlay{position:absolute;color:var(--wds-color-white, var(--overlay636547370-wsr-color-D80, #FFFFFF));background-color:transparent;filter:drop-shadow(0 1px 1px rgba(22,45,61,.6));-webkit-filter:drop-shadow(0 1px 1px rgba(22,45,61,.6))}.overlay636547370__iconOverlay.overlay636547370---size-5-small{width:20px;height:20px}.overlay636547370__iconOverlay.overlay636547370---size-6-medium{width:24px;height:24px}.overlay636547370__iconOverlay.overlay636547370---size-5-large{width:28px;height:28px}.overlay636547370__iconOverlay.overlay636547370---placement-7-topLeft{top:2px;left:2px}.overlay636547370__iconOverlay.overlay636547370---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader2708273655__loader{border-radius:6px}.medialoader2708273655__loader.medialoader2708273655--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader2708273655__loader.medialoader2708273655--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag2186192433__root{box-sizing:border-box;padding:3px 6px 3px 3px;border-radius:3px;max-height:24px;min-width:54px;max-width:100%;background-color:var(--wds-color-blue-400, var(--wsr-color-B40))}.formmultidocument3882726463__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument3882726463__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument3882726463__viewRoot>div:first-child .formmultidocument3882726463__singleViewWrapper{border-top-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-top-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument3882726463__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument3882726463__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument3882726463__addDocumentButton{border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument3882726463__addDocumentButton:focus-within{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.richcontentdefaultvalueinput1510549127__richContentEditorContainer .richcontentdefaultvalueinput1510549127__editor{max-height:calc(40vh - var(--richcontentdefaultvalueinput1510549127-topToolbarHeight) - var(--richcontentdefaultvalueinput1510549127-bottomToolbarHeight))}.richcontentforminput1730151291__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput1730151291__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput1730151291__root .richcontentforminput1730151291__editor{overflow-y:auto;max-height:calc(80vh - var(--richcontentforminput1730151291-topToolbarHeight) - var(--richcontentforminput1730151291-bottomToolbarHeight))}.richcontentformreadonlyinput2376640241__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput2376640241__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal3241281499__modalContent{display:flex;position:relative;height:100%;width:782px;background-color:var(--wds-color-white);border-radius:var(--wds-border-radius-300);margin-top:24px}.publishloader3382526096__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton2770240920__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton2770240920__root button{border-radius:6px!important}.richcontenteditor1325512615__root{position:relative}.richcontenteditor1325512615__root,.richcontenteditor1325512615__toolbarContainer,.richcontenteditor1325512615__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor1325512615__toolbarContainer div{box-sizing:border-box}.richcontenteditor1325512615__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor1325512615__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor1325512615__modalEditor .richcontenteditor1325512615__editor{overflow-y:auto;min-height:calc(100% - var(--richcontenteditor1325512615-topToolbarHeight) - var(--richcontenteditor1325512615-bottomToolbarHeight));max-height:calc(100% - var(--richcontenteditor1325512615-topToolbarHeight) - var(--richcontenteditor1325512615-bottomToolbarHeight));min-width:592px;box-sizing:border-box}.richcontenteditor1325512615__modalEditor .richcontenteditor1325512615__footerToolbarContainer{margin-top:9px}.richcontenteditor1325512615__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor1325512615__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar1079478855__toolbar{border-top:1px solid rgba(51,51,51,.1);z-index:2;margin-right:auto;padding-left:6px;margin-left:auto;position:relative;height:40px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box}.richcontenttoolbar1079478855__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar1079478855__toolbarButton:disabled{color:graytext}.richcontenttoolbar1079478855__toolbar label{padding:0 8px}.richcontentviewer2629903824__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer2629903824__root.richcontentviewer2629903824--isFullScreen{padding:12px 24px}.richcontentviewer2629903824__root:not(.richcontentviewer2629903824--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer2629903824__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer2629903824__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer2629903824__modalViewer{min-width:592px;overflow:auto}.richtexteditor2993445588__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor2993445588__root.richtexteditor2993445588---border-4-none{border:0}.richtexteditor2993445588__root.richtexteditor2993445588---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor2993445588__root.richtexteditor2993445588---border-8-standard:focus,.richtexteditor2993445588__root.richtexteditor2993445588---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor2993445588__root.richtexteditor2993445588---border-8-standard.richtexteditor2993445588---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor2993445588__root.richtexteditor2993445588---border-8-standard.richtexteditor2993445588---status-5-error:focus,.richtexteditor2993445588__root.richtexteditor2993445588---border-8-standard.richtexteditor2993445588---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor2993445588__root.richtexteditor2993445588---border-8-standard.richtexteditor2993445588---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor2993445588__root.richtexteditor2993445588---border-8-standard.richtexteditor2993445588---status-7-warning:focus,.richtexteditor2993445588__root.richtexteditor2993445588---border-8-standard.richtexteditor2993445588---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor2993445588__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor2993445588__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-border-radius-300)}.richtexteditor2993445588__editor.richtexteditor2993445588--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor2993445588__editor:not(.richtexteditor2993445588--isFullScreen){max-height:80vh}.richtexteditor2993445588__editor>div{flex:1;max-width:100%}.toolbar3675819827__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400);background:var(--wds-color-white);align-items:center}.toolbar3675819827__item{display:flex;margin-right:12px}.toolbar3675819827__item svg,.toolbar3675819827__item svg path,.toolbar3675819827__item svg text{color:inherit;fill:currentColor}.toolbar3675819827__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;height:100%}.toolbar3675819827__clearFormatting{margin-left:auto}.toolbar3675819827__fullScreen{margin-right:0}.toolbar3675819827__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3675819827__dropdownItemContent.toolbar3675819827--selected .toolbar3675819827__dropdownItemTitle,.toolbar3675819827__dropdownItemContent.toolbar3675819827--selected .toolbar3675819827__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3675819827__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3675819827__dropdownHeaderOne{font-weight:var(--wds-font-weight-bold)!important;font-size:36px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar3675819827__dropdownHeaderTwo{font-weight:var(--wds-font-weight-bold)!important;font-size:32px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar3675819827__dropdownHeaderThree{font-weight:var(--wds-font-weight-medium)!important;font-size:28px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar3675819827__dropdownHeaderFour{font-weight:var(--wds-font-weight-bold)!important;font-size:24px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar3675819827__dropdownHeaderFive{font-weight:var(--wds-font-weight-bold)!important;font-size:22px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar3675819827__dropdownHeaderSix{font-weight:var(--wds-font-weight-medium)!important;font-size:20px!important;line-height:1.2!important;font-family:var(--wds-font-family-default)!important}.toolbar3675819827__dropdownParagraphOne{font-weight:var(--wds-font-weight-medium)!important;font-size:18px!important;line-height:1.33!important;font-family:var(--wds-font-family-default)!important}.toolbar3675819827__dropdownNormalText{font-weight:var(--wds-font-weight-medium)!important;font-size:var(--wds-font-size-500)!important;line-height:var(--wds-font-line-height-300)!important;font-family:var(--wds-font-family-default)!important}.toolbar3675819827__dropdownParagraphThree{font-weight:var(--wds-font-weight-medium)!important;font-size:14px!important;line-height:1.29!important;font-family:var(--wds-font-family-default)!important}.textview2526442782__textView::after{content:"";display:block}.richeditor945982912__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default)}.richeditor945982912__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100);background:var(--wds-color-black-700)}.richeditor945982912__editor .DraftEditor-root{width:100%;height:100%}.richeditor945982912__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor945982912__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor945982912__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor945982912__editor .public-DraftEditor-content ol,.richeditor945982912__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor945982912__editor .public-DraftEditor-content a,.richeditor945982912__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor945982912__header-one:not(li),.richeditor945982912__header-two:not(li),.richeditor945982912__header-three:not(li),.richeditor945982912__header-four:not(li),.richeditor945982912__header-five:not(li),.richeditor945982912__header-six:not(li){margin-block:0;margin:0}.richeditor945982912__header-one,.richeditor945982912__editor li.richeditor945982912__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default))}.richeditor945982912__header-two,.richeditor945982912__editor li.richeditor945982912__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default))}.richeditor945982912__header-three,.richeditor945982912__editor li.richeditor945982912__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default))}.richeditor945982912__header-four,.richeditor945982912__editor li.richeditor945982912__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default))}.richeditor945982912__header-five,.richeditor945982912__editor li.richeditor945982912__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default))}.richeditor945982912__header-six,.richeditor945982912__editor li.richeditor945982912__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default))}.richeditor945982912__paragraph-one,.richeditor945982912__editor li.richeditor945982912__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default))}.richeditor945982912__unstyled,.richeditor945982912__editor li.richeditor945982912__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default))}.richeditor945982912__paragraph-three,.richeditor945982912__editor li.richeditor945982912__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default))}.richeditor945982912__editor li.richeditor945982912__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default))}.richeditor945982912__editor li.richeditor945982912__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor945982912__editor li.richeditor945982912__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default))}.richeditor945982912__editor li.richeditor945982912__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor945982912__editor li.richeditor945982912__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default))}.richeditor945982912__editor li.richeditor945982912__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor945982912__editor li.richeditor945982912__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default))}.richeditor945982912__editor li.richeditor945982912__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor945982912__editor li.richeditor945982912__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default))}.richeditor945982912__editor li.richeditor945982912__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor945982912__editor li.richeditor945982912__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default))}.richeditor945982912__editor li.richeditor945982912__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor945982912__editor li.richeditor945982912__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default))}.richeditor945982912__editor li.richeditor945982912__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default))}.richeditor945982912__editor li.richeditor945982912__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default))}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth0:first-child{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+10){margin-inline-start:3ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+100){margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+1000){margin-inline-start:5ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth1:first-child{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+10){margin-inline-start:5ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+100){margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+1000){margin-inline-start:7ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth2:first-child{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+10){margin-inline-start:7ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+100){margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+1000){margin-inline-start:9ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth3:first-child{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+10){margin-inline-start:9ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+100){margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+1000){margin-inline-start:11ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth4:first-child{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+10){margin-inline-start:11ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+100){margin-inline-start:12ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+1000){margin-inline-start:13ch}.richeditor945982912__align-left{text-align:left;align-self:flex-start}.richeditor945982912__align-right{text-align:right;align-self:flex-end}.richeditor945982912__align-center{text-align:center;align-self:center}.richeditor945982912__align-justify{text-align:justify;align-self:stretch}.richeditor945982912__withMargin{display:inline-block}.richeditor945982912__dir-rtl,.richeditor945982912__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor945982912__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
@@ -156,5 +156,11 @@
|
|
|
156
156
|
"CMS.mediaGallery.dialog.externalLinkButtonAdd": "Add Link",
|
|
157
157
|
"CMS.mediaGallery.dialog.externalLinkTextPlaceholder": "e.g., https://www.mysite.com/",
|
|
158
158
|
"patterns-fields.text.char_limit_tooltip": "Enter up to {maxLength} characters including spaces.",
|
|
159
|
-
"patterns-fields.select.search_placeholder": "Search or select an option"
|
|
159
|
+
"patterns-fields.select.search_placeholder": "Search or select an option",
|
|
160
|
+
"CMS.image.add": "Add Image",
|
|
161
|
+
"CMS.image.replace": "Replace",
|
|
162
|
+
"CMS.image.replaceWithUrl.button": "Replace with URL",
|
|
163
|
+
"CMS.image.replaceWithUrl.title": "Paste Image URL",
|
|
164
|
+
"CMS.image.download": "Download",
|
|
165
|
+
"CMS.image.clear": "Clear"
|
|
160
166
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "addressinput2900093033";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "addressinput2900093033__root", "tableAddressInput": "addressinput2900093033__tableAddressInput" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "actionsmenu1534779685";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "actionsmenu1534779685__root", "action": "actionsmenu1534779685__action" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "formaudiofield1044148919";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "formaudiofield1044148919__root", "addItem": "formaudiofield1044148919__addItem", "mediaTitle": "formaudiofield1044148919__mediaTitle" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "audioplayer2330557906";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "audioplayer2330557906__root" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "colorview3032433070";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "colorview3032433070__root", "view": "colorview3032433070__view", "fillPreview": "colorview3032433070__fillPreview" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "deletedialog2285400228";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "deletedialog2285400228__root", "layout": "deletedialog2285400228__layout" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-dialog.st.css.js","sourceRoot":"","sources":["../../../../src/components/delete-dialog/delete-dialog.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"delete-dialog.st.css.js","sourceRoot":"","sources":["../../../../src/components/delete-dialog/delete-dialog.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,wBAAwB,CAAC;AAC3C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,8BAA8B,EAAC,QAAQ,EAAC,gCAAgC,EAAC,CAAC;AACvG,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "formdocumentfield3221496435";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "formdocumentfield3221496435__root", "viewWrapper": "formdocumentfield3221496435__viewWrapper", "textWidth": "formdocumentfield3221496435__textWidth", "documentLoader": "formdocumentfield3221496435__documentLoader", "addDocument": "formdocumentfield3221496435__addDocument", "addItemWrapper": "formdocumentfield3221496435__addItemWrapper" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "exclamation1736511447";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "exclamation1736511447__root", "exclamation": "exclamation1736511447__exclamation", "actions": "exclamation1736511447__actions", "action": "exclamation1736511447__action" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "highlightedtext3569981910";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
10
|
-
export var keyframes = { "highlighted": "
|
|
9
|
+
export var classes = { "root": "highlightedtext3569981910__root", "substring": "highlightedtext3569981910__substring" };
|
|
10
|
+
export var keyframes = { "highlighted": "highlightedtext3569981910__highlighted", "highlighted-match": "highlightedtext3569981910__highlighted-match" };
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
13
13
|
export var stVars = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlighted-text.st.css.js","sourceRoot":"","sources":["../../../../src/components/highlighted-text/highlighted-text.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"highlighted-text.st.css.js","sourceRoot":"","sources":["../../../../src/components/highlighted-text/highlighted-text.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,2BAA2B,CAAC;AAC9C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,iCAAiC,EAAC,WAAW,EAAC,sCAAsC,EAAC,CAAC;AACnH,MAAM,CAAC,IAAI,SAAS,GAAG,EAAC,aAAa,EAAC,wCAAwC,EAAC,mBAAmB,EAAC,8CAA8C,EAAC,CAAC;AACnJ,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,sBAAsB,EAAC,wBAAwB,EAAC,sBAAsB,EAAC,wBAAwB,EAAC,eAAe,EAAC,iBAAiB,EAAC,eAAe,EAAC,iBAAiB,EAAC,CAAC"}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import React, { useCallback, useEffect, useRef } from 'react';
|
|
2
|
+
import { Box, IconButton, Loader, PopoverMenu, Tooltip, } from '@wix/design-system';
|
|
3
|
+
import { Add, LinkSmall, MoreSmall, Replace, Link, Delete, } from '@wix/wix-ui-icons-common';
|
|
4
|
+
import { MEDIA_TYPES } from '../../utils/media-utils';
|
|
5
|
+
import { useTranslations } from '../../hooks';
|
|
6
|
+
import { useMediaControl, usePasteURLForm, PasteURLForm, MediaFieldType, } from '../media-control';
|
|
7
|
+
import { ImageThumbnail } from './image-thumbnail';
|
|
8
|
+
export const CellImageEdit = ({ value, onChange, onCommit, onCancel, onStartEdit, inputRef, dataHook, }) => {
|
|
9
|
+
const { t } = useTranslations();
|
|
10
|
+
const containerRef = useRef(null);
|
|
11
|
+
// Tracks whether onMediaChange fired during the current callMedia() invocation.
|
|
12
|
+
// Reset to false before each call; checked after the promise resolves to detect
|
|
13
|
+
// "dismissed without selection" so the in-progress edit can be cancelled.
|
|
14
|
+
const mediaCommittedRef = useRef(false);
|
|
15
|
+
const onMediaChange = useCallback((uri) => {
|
|
16
|
+
mediaCommittedRef.current = true;
|
|
17
|
+
onChange(uri);
|
|
18
|
+
onCommit();
|
|
19
|
+
}, [onChange, onCommit]);
|
|
20
|
+
const { callMedia, loading } = useMediaControl({
|
|
21
|
+
mediaType: MEDIA_TYPES.IMAGE,
|
|
22
|
+
value: value ?? undefined,
|
|
23
|
+
onChange: onMediaChange,
|
|
24
|
+
});
|
|
25
|
+
const handleCallMedia = useCallback(async () => {
|
|
26
|
+
onStartEdit?.();
|
|
27
|
+
mediaCommittedRef.current = false;
|
|
28
|
+
await callMedia();
|
|
29
|
+
// If the picker was dismissed without a selection, neither onCommit nor
|
|
30
|
+
// onCancel ran — call onCancel now so isEditing resets to false and
|
|
31
|
+
// useClearFocusOnBlur is unblocked.
|
|
32
|
+
if (!mediaCommittedRef.current) {
|
|
33
|
+
onCancel?.();
|
|
34
|
+
}
|
|
35
|
+
}, [onStartEdit, callMedia, onCancel]);
|
|
36
|
+
const pasteUrlTitle = t('CMS.image.replaceWithUrl.title');
|
|
37
|
+
const { isOpen, title, onOpen, onClose, onSave } = usePasteURLForm({
|
|
38
|
+
onChange: onMediaChange,
|
|
39
|
+
});
|
|
40
|
+
// When the paste-URL form is dismissed without saving, cancel the in-progress
|
|
41
|
+
// edit so isEditing returns to false and useClearFocusOnBlur works normally.
|
|
42
|
+
const handleFormClose = useCallback(() => {
|
|
43
|
+
onClose();
|
|
44
|
+
onCancel?.();
|
|
45
|
+
}, [onClose, onCancel]);
|
|
46
|
+
const handleOpenPasteUrl = useCallback((params) => () => {
|
|
47
|
+
onStartEdit?.();
|
|
48
|
+
onOpen(params)();
|
|
49
|
+
}, [onStartEdit, onOpen]);
|
|
50
|
+
const handleDelete = useCallback(() => {
|
|
51
|
+
onChange(null);
|
|
52
|
+
onCommit();
|
|
53
|
+
}, [onChange, onCommit]);
|
|
54
|
+
// Wire inputRef so the cell-level useEffect can focus the first button when
|
|
55
|
+
// the user presses Enter on a focused image cell (inner focus activation).
|
|
56
|
+
useEffect(() => {
|
|
57
|
+
if (!inputRef)
|
|
58
|
+
return;
|
|
59
|
+
inputRef.current = {
|
|
60
|
+
focus: () => {
|
|
61
|
+
const first = containerRef.current?.querySelectorAll('button')[0];
|
|
62
|
+
first?.focus();
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
return () => {
|
|
66
|
+
inputRef.current = null;
|
|
67
|
+
};
|
|
68
|
+
}, [inputRef]);
|
|
69
|
+
const handleContainerFocus = useCallback(() => {
|
|
70
|
+
containerRef.current?.setAttribute('data-inner-focused', '');
|
|
71
|
+
}, []);
|
|
72
|
+
const handleContainerBlur = useCallback((e) => {
|
|
73
|
+
if (!e.currentTarget.contains(e.relatedTarget)) {
|
|
74
|
+
containerRef.current?.removeAttribute('data-inner-focused');
|
|
75
|
+
}
|
|
76
|
+
}, []);
|
|
77
|
+
const focusCell = useCallback(() => {
|
|
78
|
+
const cellDiv = containerRef.current?.closest('[role="gridcell"]');
|
|
79
|
+
cellDiv?.focus({ preventScroll: true });
|
|
80
|
+
}, []);
|
|
81
|
+
// Native keydown listener — must be native (not React onKeyDown) so that
|
|
82
|
+
// e.stopPropagation() fires during the native bubble phase, before the event
|
|
83
|
+
// reaches the React root where useKeyboardNavigation's onKeyDown would
|
|
84
|
+
// otherwise intercept Tab and move to the next cell.
|
|
85
|
+
useEffect(() => {
|
|
86
|
+
const el = containerRef.current;
|
|
87
|
+
if (!el)
|
|
88
|
+
return;
|
|
89
|
+
const handleKeyDown = (e) => {
|
|
90
|
+
if (e.key === 'Escape') {
|
|
91
|
+
e.preventDefault();
|
|
92
|
+
e.stopPropagation();
|
|
93
|
+
// Cancel any in-progress edit (e.g. if isEditing was set before opening
|
|
94
|
+
// a modal that then got dismissed via keyboard), then return focus to the
|
|
95
|
+
// cell div. The useCellFocusAndEditing useEffect will also refocus the
|
|
96
|
+
// cell div if isEditing transitions false→false is a no-op, so we also
|
|
97
|
+
// call focusCell() directly as a reliable fallback.
|
|
98
|
+
onCancel?.();
|
|
99
|
+
focusCell();
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
// Tab while a button in this component is focused: cycle through the
|
|
103
|
+
// interactive elements. Tab off the last (or Shift+Tab off the first)
|
|
104
|
+
// returns focus to the cell div for normal cell-level navigation.
|
|
105
|
+
if (e.key === 'Tab') {
|
|
106
|
+
const buttons = Array.from(el.querySelectorAll('button'));
|
|
107
|
+
const currentIdx = buttons.indexOf(document.activeElement);
|
|
108
|
+
if (currentIdx === -1)
|
|
109
|
+
return; // focus is not on one of our buttons — pass through
|
|
110
|
+
e.preventDefault();
|
|
111
|
+
e.stopPropagation();
|
|
112
|
+
if (!e.shiftKey) {
|
|
113
|
+
if (currentIdx >= buttons.length - 1) {
|
|
114
|
+
focusCell();
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
buttons[currentIdx + 1]?.focus();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
if (currentIdx <= 0) {
|
|
122
|
+
focusCell();
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
buttons[currentIdx - 1]?.focus();
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
el.addEventListener('keydown', handleKeyDown);
|
|
131
|
+
return () => el.removeEventListener('keydown', handleKeyDown);
|
|
132
|
+
}, [focusCell, onCancel]);
|
|
133
|
+
if (loading) {
|
|
134
|
+
return (React.createElement(Box, { dataHook: dataHook, verticalAlign: "middle", width: "100%", height: "100%", padding: "0 8px" },
|
|
135
|
+
React.createElement(Loader, { size: "tiny" })));
|
|
136
|
+
}
|
|
137
|
+
return (React.createElement("div", { ref: containerRef, "data-hook": dataHook, style: { width: '100%', height: '100%' }, onFocus: handleContainerFocus, onBlur: handleContainerBlur },
|
|
138
|
+
React.createElement(Box, { align: "space-between", verticalAlign: "middle", height: "100%", padding: "0 8px", style: { boxSizing: 'border-box' } },
|
|
139
|
+
value ? (
|
|
140
|
+
/* Has value: clickable thumbnail button with replace overlay */
|
|
141
|
+
React.createElement(Tooltip, { content: t('CMS.image.replace'), appendTo: "window" },
|
|
142
|
+
React.createElement(Box, null,
|
|
143
|
+
React.createElement("button", { type: "button", "data-hook": "image-edit-thumbnail", onClick: handleCallMedia, style: {
|
|
144
|
+
cursor: 'pointer',
|
|
145
|
+
lineHeight: 0,
|
|
146
|
+
position: 'relative',
|
|
147
|
+
background: 'none',
|
|
148
|
+
border: 'none',
|
|
149
|
+
padding: 0,
|
|
150
|
+
} },
|
|
151
|
+
React.createElement(ImageThumbnail, { value: value }),
|
|
152
|
+
React.createElement("div", { style: {
|
|
153
|
+
position: 'absolute',
|
|
154
|
+
inset: 0,
|
|
155
|
+
display: 'flex',
|
|
156
|
+
alignItems: 'center',
|
|
157
|
+
justifyContent: 'center',
|
|
158
|
+
background: 'rgba(0, 0, 0, 0.4)',
|
|
159
|
+
borderRadius: '3px',
|
|
160
|
+
} },
|
|
161
|
+
React.createElement(Replace, { style: { color: 'white', width: '18px', height: '18px' } })))))) : (
|
|
162
|
+
/* Empty: icon button opens media manager */
|
|
163
|
+
React.createElement(Tooltip, { content: t('CMS.image.add'), appendTo: "window" },
|
|
164
|
+
React.createElement(IconButton, { size: "tiny", priority: "secondary", dataHook: "image-edit-add-button", onClick: handleCallMedia },
|
|
165
|
+
React.createElement(Add, null)))),
|
|
166
|
+
value ? (
|
|
167
|
+
/* Has value: "..." menu with Replace / Replace with URL / Delete */
|
|
168
|
+
React.createElement(PopoverMenu, { textSize: "small", appendTo: "window", triggerElement: React.createElement(Tooltip, { content: t('auto-patterns.fields.more_actions_tooltip'), appendTo: "window" },
|
|
169
|
+
React.createElement(IconButton, { size: "tiny", priority: "tertiary", dataHook: "image-edit-more-button" },
|
|
170
|
+
React.createElement(MoreSmall, null))) },
|
|
171
|
+
React.createElement(PopoverMenu.MenuItem, { dataHook: "image-edit-action-replace", text: t('CMS.image.replace'), prefixIcon: React.createElement(Replace, null), onClick: handleCallMedia }),
|
|
172
|
+
React.createElement(PopoverMenu.MenuItem, { dataHook: "image-edit-action-replace-url", text: t('CMS.image.replaceWithUrl.button'), prefixIcon: React.createElement(Link, null), onClick: handleOpenPasteUrl({
|
|
173
|
+
title: pasteUrlTitle,
|
|
174
|
+
value: value ?? undefined,
|
|
175
|
+
}) }),
|
|
176
|
+
React.createElement(PopoverMenu.Divider, null),
|
|
177
|
+
React.createElement(PopoverMenu.MenuItem, { dataHook: "image-edit-action-delete", text: t('CMS.image.clear'), skin: "destructive", prefixIcon: React.createElement(Delete, null), onClick: handleDelete }))) : (
|
|
178
|
+
/* Empty: icon button opens paste-URL form */
|
|
179
|
+
React.createElement(Tooltip, { content: t('CMS.image.replaceWithUrl.button'), appendTo: "window" },
|
|
180
|
+
React.createElement(IconButton, { size: "tiny", priority: "tertiary", dataHook: "image-edit-paste-url-button", onClick: handleOpenPasteUrl({
|
|
181
|
+
title: pasteUrlTitle,
|
|
182
|
+
value: value ?? undefined,
|
|
183
|
+
}) },
|
|
184
|
+
React.createElement(LinkSmall, null))))),
|
|
185
|
+
React.createElement(PasteURLForm, { title: title, value: value ?? undefined, show: isOpen, closeModal: handleFormClose, onSave: onSave, fieldType: MediaFieldType.image })));
|
|
186
|
+
};
|
|
187
|
+
CellImageEdit.displayName = 'CellImageEdit';
|
|
188
|
+
//# sourceMappingURL=cell-image-edit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell-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C,CAAC,iCAAiC,CAAC,EAC1C,UAAU,EAAE,oBAAC,IAAI,OAAG,EACpB,OAAO,EAAE,kBAAkB,CAAC;wBAC1B,KAAK,EAAE,aAAa;wBACpB,KAAK,EAAE,KAAK,IAAI,SAAS;qBAC1B,CAAC,GACF;gBACF,oBAAC,WAAW,CAAC,OAAO,OAAG;gBACvB,oBAAC,WAAW,CAAC,QAAQ,IACnB,QAAQ,EAAC,0BAA0B,EACnC,IAAI,EAAE,CAAC,CAAC,iBAAiB,CAAC,EAC1B,IAAI,EAAC,aAAa,EAClB,UAAU,EAAE,oBAAC,MAAM,OAAG,EACtB,OAAO,EAAE,YAAY,GACrB,CACU,CACf,CAAC,CAAC,CAAC;YACF,6CAA6C;YAC7C,oBAAC,OAAO,IACN,OAAO,EAAE,CAAC,CAAC,iCAAiC,CAAC,EAC7C,QAAQ,EAAC,QAAQ;gBAEjB,oBAAC,UAAU,IACT,IAAI,EAAC,MAAM,EACX,QAAQ,EAAC,UAAU,EACnB,QAAQ,EAAC,6BAA6B,EACtC,OAAO,EAAE,kBAAkB,CAAC;wBAC1B,KAAK,EAAE,aAAa;wBACpB,KAAK,EAAE,KAAK,IAAI,SAAS;qBAC1B,CAAC;oBAEF,oBAAC,SAAS,OAAG,CACF,CACL,CACX,CACG;QAEN,oBAAC,YAAY,IACX,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,IAAI,SAAS,EACzB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,cAAc,CAAC,KAAK,GAC/B,CACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { isMediaVideoURI, mediaURItoImageURL, ThumbnailSize, } from '../../auto-field-types';
|
|
3
|
+
import { MediaImage } from '../media-image';
|
|
4
|
+
import { CustomUrlOverlay, VideoIndicatorOverlay, } from '../media-image/overlays';
|
|
5
|
+
export const ImageThumbnail = ({ value, onLoad, onError, onMouseEnter, onMouseLeave, dataHook, }) => {
|
|
6
|
+
const src = value ? mediaURItoImageURL(value, ThumbnailSize.S) : undefined;
|
|
7
|
+
return (React.createElement("div", { "data-hook": dataHook, "data-empty": !value || undefined, style: { width: '36px', height: '36px', borderRadius: '3px', flexShrink: 0, position: 'relative' } },
|
|
8
|
+
React.createElement(MediaImage, { src: src, alt: "", suspended: true, borderRadius: "3px", transparent: true, size: ThumbnailSize.S, width: "36px", height: "36px", onLoad: onLoad, onError: onError, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, overlay: value && isMediaVideoURI(value) ? (React.createElement(VideoIndicatorOverlay, { src: value, size: "small" })) : (React.createElement(CustomUrlOverlay, { src: value, size: "small" })) })));
|
|
9
|
+
};
|
|
10
|
+
ImageThumbnail.displayName = 'ImageThumbnail';
|
|
11
|
+
//# sourceMappingURL=image-thumbnail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-thumbnail.js","sourceRoot":"","sources":["../../../../src/components/image/image-thumbnail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,aAAa,GACd,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AAWjC,MAAM,CAAC,MAAM,cAAc,GAAkC,CAAC,EAC5D,KAAK,EACL,MAAM,EACN,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,kBAAkB,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAA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