@wix/patterns-fields 1.94.0 → 1.96.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/components/address/input/address-input.js +127 -36
- package/dist/cjs/components/address/input/address-input.js.map +1 -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/controlled-audio.uni.driver.js +3 -2
- package/dist/cjs/components/audio/audio-field/controlled-audio.uni.driver.js.map +1 -1
- package/dist/cjs/components/audio/audio-field/form-audio-field.js +55 -48
- package/dist/cjs/components/audio/audio-field/form-audio-field.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/cell-color-view.st.css.js +3 -3
- package/dist/cjs/components/color-view/cell-color-view.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/field-validation-settings/field-validation-settings-input.js +85 -49
- package/dist/cjs/components/field-validation-settings/field-validation-settings-input.js.map +1 -1
- package/dist/cjs/components/field-validation-settings/field-validation-settings.uni.driver.js +2 -1
- package/dist/cjs/components/field-validation-settings/field-validation-settings.uni.driver.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/thumbnail-replace-overlay.st.css.js +3 -3
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.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/overlay.st.css.js +3 -3
- package/dist/cjs/components/media-image/overlays/overlay.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/cell-multi-document-edit.st.css.js +3 -3
- package/dist/cjs/components/multi-document/cell-multi-document-edit.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/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
- package/dist/cjs/components/reference/cell-reference-input.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 +4 -4
- 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 +3 -3
- 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 +7 -7
- 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 +5 -5
- 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/components/url/form-url.js +22 -9
- package/dist/cjs/components/url/form-url.js.map +1 -1
- package/dist/cjs/components/video/form-video-field.js +35 -28
- package/dist/cjs/components/video/form-video-field.js.map +1 -1
- package/dist/cjs/services/atlas/types.js.map +1 -1
- package/dist/cjs/services/atlas/wix-atlas-service.js +16 -1
- package/dist/cjs/services/atlas/wix-atlas-service.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/types/validation.js.map +1 -1
- package/dist/esm/components/address/input/address-input.js +139 -38
- package/dist/esm/components/address/input/address-input.js.map +1 -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/controlled-audio.uni.driver.js +3 -2
- package/dist/esm/components/audio/audio-field/controlled-audio.uni.driver.js.map +1 -1
- package/dist/esm/components/audio/audio-field/form-audio-field.js +9 -13
- package/dist/esm/components/audio/audio-field/form-audio-field.js.map +1 -1
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js.map +1 -1
- package/dist/esm/components/color-view/cell-color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/color-view.st.css.js.map +1 -1
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
- 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/field-validation-settings/field-validation-settings-input.js +45 -10
- package/dist/esm/components/field-validation-settings/field-validation-settings-input.js.map +1 -1
- package/dist/esm/components/field-validation-settings/field-validation-settings.uni.driver.js +2 -1
- package/dist/esm/components/field-validation-settings/field-validation-settings.uni.driver.js.map +1 -1
- 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/thumbnail-replace-overlay.st.css.js +2 -2
- package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- 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/overlay.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/cell-multi-document-edit.st.css.js +2 -2
- package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
- package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
- package/dist/esm/components/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/cell-multi-reference-input.st.css.js.map +1 -1
- package/dist/esm/components/reference/cell-reference-input.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 +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
- 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/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
- 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/publish-loader/publish-loader.st.css.js.map +1 -1
- 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 +2 -2
- 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-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/components/url/form-url.js +14 -1
- package/dist/esm/components/url/form-url.js.map +1 -1
- package/dist/esm/components/video/form-video-field.js +8 -1
- package/dist/esm/components/video/form-video-field.js.map +1 -1
- package/dist/esm/services/atlas/wix-atlas-service.js +22 -2
- package/dist/esm/services/atlas/wix-atlas-service.js.map +1 -1
- package/dist/esm/styles.global.css +1 -1
- package/dist/types/components/address/input/address-input.d.ts.map +1 -1
- package/dist/types/components/audio/audio-field/controlled-audio.uni.driver.d.ts +1 -0
- package/dist/types/components/audio/audio-field/controlled-audio.uni.driver.d.ts.map +1 -1
- package/dist/types/components/audio/audio-field/form-audio-field.d.ts.map +1 -1
- package/dist/types/components/audio/audio-field/form-audio-field.st.css.d.ts.map +1 -1
- package/dist/types/components/audio/audio-player/audio-player.st.css.d.ts.map +1 -1
- package/dist/types/components/color-view/color-view.st.css.d.ts.map +1 -1
- package/dist/types/components/controlled-input.uni.driver.d.ts +1 -0
- package/dist/types/components/controlled-input.uni.driver.d.ts.map +1 -1
- package/dist/types/components/field-validation-settings/field-validation-settings-input.d.ts +4 -1
- package/dist/types/components/field-validation-settings/field-validation-settings-input.d.ts.map +1 -1
- package/dist/types/components/field-validation-settings/field-validation-settings.uni.driver.d.ts +7 -0
- package/dist/types/components/field-validation-settings/field-validation-settings.uni.driver.d.ts.map +1 -1
- package/dist/types/components/highlighted-text/highlighted-text.st.css.d.ts.map +1 -1
- package/dist/types/components/multi-document/cell-multi-document-edit.st.css.d.ts.map +1 -1
- package/dist/types/components/reference/cell-multi-reference-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-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-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.d.ts.map +1 -1
- package/dist/types/components/url/form-url.d.ts.map +1 -1
- package/dist/types/components/video/form-video-field.d.ts.map +1 -1
- package/dist/types/services/atlas/types.d.ts +5 -1
- package/dist/types/services/atlas/types.d.ts.map +1 -1
- package/dist/types/services/atlas/wix-atlas-service.d.ts +6 -1
- package/dist/types/services/atlas/wix-atlas-service.d.ts.map +1 -1
- package/dist/types/types/validation.d.ts +6 -1
- package/dist/types/types/validation.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/__tests__/components/address/address-input.driver.tsx +17 -1
- package/src/__tests__/components/address/address-input.spec.tsx +207 -1
- package/src/__tests__/components/field-validation-settings/field-validation-settings-input.spec.tsx +87 -0
- package/src/__tests__/components/url/form-url.spec.tsx +63 -0
- package/src/__tests__/components/video/form-video.spec.tsx +17 -0
- package/src/__tests__/exports/controlled-inputs.spec.tsx +46 -0
- package/src/components/address/input/address-input.st.css.ts +2 -2
- package/src/components/address/input/address-input.tsx +163 -50
- package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
- package/src/components/audio/audio-field/controlled-audio.uni.driver.ts +3 -2
- package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
- package/src/components/audio/audio-field/form-audio-field.tsx +59 -53
- package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
- package/src/components/color-view/cell-color-view.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/field-validation-settings/field-validation-settings-input.tsx +75 -11
- package/src/components/field-validation-settings/field-validation-settings.uni.driver.ts +3 -1
- package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
- package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
- package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
- 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/overlay.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/cell-multi-document-edit.st.css.ts +2 -2
- package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
- package/src/components/reference/cell-multi-reference-input.st.css.ts +2 -2
- package/src/components/reference/cell-reference-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
- 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 +2 -2
- 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/components/url/form-url.tsx +16 -1
- package/src/components/video/form-video-field.tsx +6 -0
- package/src/services/atlas/types.ts +6 -1
- package/src/services/atlas/wix-atlas-service.ts +27 -3
- package/src/styles.global.css +1 -1
- package/src/types/validation.ts +6 -1
- package/dist/cjs/components/media-loader/index.js +0 -10
- package/dist/cjs/components/media-loader/index.js.map +0 -1
- package/dist/cjs/components/media-loader/media-loader.js +0 -37
- package/dist/cjs/components/media-loader/media-loader.js.map +0 -1
- package/dist/cjs/components/media-loader/media-loader.st.css +0 -20
- package/dist/cjs/components/media-loader/media-loader.st.css.js +0 -29
- package/dist/cjs/components/media-loader/media-loader.st.css.js.map +0 -1
- package/dist/esm/components/media-loader/index.js +0 -2
- package/dist/esm/components/media-loader/index.js.map +0 -1
- package/dist/esm/components/media-loader/media-loader.js +0 -8
- package/dist/esm/components/media-loader/media-loader.js.map +0 -1
- package/dist/esm/components/media-loader/media-loader.st.css +0 -20
- package/dist/esm/components/media-loader/media-loader.st.css.js +0 -15
- package/dist/esm/components/media-loader/media-loader.st.css.js.map +0 -1
- package/dist/types/components/media-loader/index.d.ts +0 -2
- package/dist/types/components/media-loader/index.d.ts.map +0 -1
- package/dist/types/components/media-loader/media-loader.d.ts +0 -7
- package/dist/types/components/media-loader/media-loader.d.ts.map +0 -1
- package/dist/types/components/media-loader/media-loader.st.css.d.ts +0 -20
- package/dist/types/components/media-loader/media-loader.st.css.d.ts.map +0 -1
- package/src/components/media-loader/index.ts +0 -1
- package/src/components/media-loader/media-loader.st.css +0 -20
- package/src/components/media-loader/media-loader.st.css.ts +0 -25
- package/src/components/media-loader/media-loader.tsx +0 -30
|
@@ -7,6 +7,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
7
7
|
var _designSystem = require("@wix/design-system");
|
|
8
8
|
var _lazy = require("@wix/wix-ui-icons-common/lazy");
|
|
9
9
|
var _react2 = require("@wix/bex-core/react");
|
|
10
|
+
var _common = require("../common");
|
|
10
11
|
var _hooks = require("../../hooks");
|
|
11
12
|
var _mediaConstants = require("../../utils/media-constants");
|
|
12
13
|
var _utils = require("../../utils");
|
|
@@ -74,7 +75,7 @@ const FormVideoField = ({
|
|
|
74
75
|
__self: void 0,
|
|
75
76
|
__source: {
|
|
76
77
|
fileName: _jsxFileName,
|
|
77
|
-
lineNumber:
|
|
78
|
+
lineNumber: 117,
|
|
78
79
|
columnNumber: 9
|
|
79
80
|
}
|
|
80
81
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.MediaOverlay, {
|
|
@@ -88,14 +89,14 @@ const FormVideoField = ({
|
|
|
88
89
|
__self: void 0,
|
|
89
90
|
__source: {
|
|
90
91
|
fileName: _jsxFileName,
|
|
91
|
-
lineNumber:
|
|
92
|
+
lineNumber: 122,
|
|
92
93
|
columnNumber: 15
|
|
93
94
|
}
|
|
94
95
|
}),
|
|
95
96
|
__self: void 0,
|
|
96
97
|
__source: {
|
|
97
98
|
fileName: _jsxFileName,
|
|
98
|
-
lineNumber:
|
|
99
|
+
lineNumber: 118,
|
|
99
100
|
columnNumber: 11
|
|
100
101
|
}
|
|
101
102
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.MediaOverlay.Content, {
|
|
@@ -104,7 +105,7 @@ const FormVideoField = ({
|
|
|
104
105
|
__self: void 0,
|
|
105
106
|
__source: {
|
|
106
107
|
fileName: _jsxFileName,
|
|
107
|
-
lineNumber:
|
|
108
|
+
lineNumber: 130,
|
|
108
109
|
columnNumber: 13
|
|
109
110
|
}
|
|
110
111
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
|
|
@@ -112,7 +113,7 @@ const FormVideoField = ({
|
|
|
112
113
|
__self: void 0,
|
|
113
114
|
__source: {
|
|
114
115
|
fileName: _jsxFileName,
|
|
115
|
-
lineNumber:
|
|
116
|
+
lineNumber: 131,
|
|
116
117
|
columnNumber: 15
|
|
117
118
|
}
|
|
118
119
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.Tooltip, {
|
|
@@ -120,7 +121,7 @@ const FormVideoField = ({
|
|
|
120
121
|
__self: void 0,
|
|
121
122
|
__source: {
|
|
122
123
|
fileName: _jsxFileName,
|
|
123
|
-
lineNumber:
|
|
124
|
+
lineNumber: 132,
|
|
124
125
|
columnNumber: 17
|
|
125
126
|
}
|
|
126
127
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.IconButton, {
|
|
@@ -133,17 +134,23 @@ const FormVideoField = ({
|
|
|
133
134
|
__self: void 0,
|
|
134
135
|
__source: {
|
|
135
136
|
fileName: _jsxFileName,
|
|
136
|
-
lineNumber:
|
|
137
|
+
lineNumber: 135,
|
|
137
138
|
columnNumber: 19
|
|
138
139
|
}
|
|
139
140
|
}, /*#__PURE__*/_react.default.createElement(_lazy.Replace, {
|
|
140
141
|
__self: void 0,
|
|
141
142
|
__source: {
|
|
142
143
|
fileName: _jsxFileName,
|
|
143
|
-
lineNumber:
|
|
144
|
+
lineNumber: 143,
|
|
144
145
|
columnNumber: 21
|
|
145
146
|
}
|
|
146
|
-
}))), /*#__PURE__*/_react.default.createElement(_designSystem.PopoverMenu
|
|
147
|
+
}))), /*#__PURE__*/_react.default.createElement(_designSystem.PopoverMenu
|
|
148
|
+
// The default z-index loses to a modal overlay, hiding the
|
|
149
|
+
// menu behind the field modal's form.
|
|
150
|
+
, {
|
|
151
|
+
appendTo: "window",
|
|
152
|
+
flip: true,
|
|
153
|
+
zIndex: _common.Z_INDEX_MODAL_POPOVER,
|
|
147
154
|
triggerElement: ({
|
|
148
155
|
toggle
|
|
149
156
|
}) => /*#__PURE__*/_react.default.createElement(_designSystem.Tooltip, {
|
|
@@ -151,7 +158,7 @@ const FormVideoField = ({
|
|
|
151
158
|
__self: void 0,
|
|
152
159
|
__source: {
|
|
153
160
|
fileName: _jsxFileName,
|
|
154
|
-
lineNumber:
|
|
161
|
+
lineNumber: 153,
|
|
155
162
|
columnNumber: 21
|
|
156
163
|
}
|
|
157
164
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.IconButton, {
|
|
@@ -163,21 +170,21 @@ const FormVideoField = ({
|
|
|
163
170
|
__self: void 0,
|
|
164
171
|
__source: {
|
|
165
172
|
fileName: _jsxFileName,
|
|
166
|
-
lineNumber:
|
|
173
|
+
lineNumber: 156,
|
|
167
174
|
columnNumber: 23
|
|
168
175
|
}
|
|
169
176
|
}, /*#__PURE__*/_react.default.createElement(_lazy.More, {
|
|
170
177
|
__self: void 0,
|
|
171
178
|
__source: {
|
|
172
179
|
fileName: _jsxFileName,
|
|
173
|
-
lineNumber:
|
|
180
|
+
lineNumber: 165,
|
|
174
181
|
columnNumber: 25
|
|
175
182
|
}
|
|
176
183
|
}))),
|
|
177
184
|
__self: void 0,
|
|
178
185
|
__source: {
|
|
179
186
|
fileName: _jsxFileName,
|
|
180
|
-
lineNumber:
|
|
187
|
+
lineNumber: 146,
|
|
181
188
|
columnNumber: 17
|
|
182
189
|
}
|
|
183
190
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.PopoverMenu.MenuItem, {
|
|
@@ -185,7 +192,7 @@ const FormVideoField = ({
|
|
|
185
192
|
__self: void 0,
|
|
186
193
|
__source: {
|
|
187
194
|
fileName: _jsxFileName,
|
|
188
|
-
lineNumber:
|
|
195
|
+
lineNumber: 171,
|
|
189
196
|
columnNumber: 33
|
|
190
197
|
}
|
|
191
198
|
}),
|
|
@@ -196,7 +203,7 @@ const FormVideoField = ({
|
|
|
196
203
|
__self: void 0,
|
|
197
204
|
__source: {
|
|
198
205
|
fileName: _jsxFileName,
|
|
199
|
-
lineNumber:
|
|
206
|
+
lineNumber: 170,
|
|
200
207
|
columnNumber: 19
|
|
201
208
|
}
|
|
202
209
|
}), /*#__PURE__*/_react.default.createElement(_designSystem.PopoverMenu.MenuItem, {
|
|
@@ -204,7 +211,7 @@ const FormVideoField = ({
|
|
|
204
211
|
__self: void 0,
|
|
205
212
|
__source: {
|
|
206
213
|
fileName: _jsxFileName,
|
|
207
|
-
lineNumber:
|
|
214
|
+
lineNumber: 178,
|
|
208
215
|
columnNumber: 33
|
|
209
216
|
}
|
|
210
217
|
}),
|
|
@@ -214,14 +221,14 @@ const FormVideoField = ({
|
|
|
214
221
|
__self: void 0,
|
|
215
222
|
__source: {
|
|
216
223
|
fileName: _jsxFileName,
|
|
217
|
-
lineNumber:
|
|
224
|
+
lineNumber: 177,
|
|
218
225
|
columnNumber: 19
|
|
219
226
|
}
|
|
220
227
|
}), /*#__PURE__*/_react.default.createElement(_designSystem.PopoverMenu.Divider, {
|
|
221
228
|
__self: void 0,
|
|
222
229
|
__source: {
|
|
223
230
|
fileName: _jsxFileName,
|
|
224
|
-
lineNumber:
|
|
231
|
+
lineNumber: 183,
|
|
225
232
|
columnNumber: 19
|
|
226
233
|
}
|
|
227
234
|
}), /*#__PURE__*/_react.default.createElement(_designSystem.PopoverMenu.MenuItem, {
|
|
@@ -229,7 +236,7 @@ const FormVideoField = ({
|
|
|
229
236
|
__self: void 0,
|
|
230
237
|
__source: {
|
|
231
238
|
fileName: _jsxFileName,
|
|
232
|
-
lineNumber:
|
|
239
|
+
lineNumber: 185,
|
|
233
240
|
columnNumber: 33
|
|
234
241
|
}
|
|
235
242
|
}),
|
|
@@ -240,7 +247,7 @@ const FormVideoField = ({
|
|
|
240
247
|
__self: void 0,
|
|
241
248
|
__source: {
|
|
242
249
|
fileName: _jsxFileName,
|
|
243
|
-
lineNumber:
|
|
250
|
+
lineNumber: 184,
|
|
244
251
|
columnNumber: 19
|
|
245
252
|
}
|
|
246
253
|
})))))) : /*#__PURE__*/_react.default.createElement(_designSystem.Box, {
|
|
@@ -249,7 +256,7 @@ const FormVideoField = ({
|
|
|
249
256
|
__self: void 0,
|
|
250
257
|
__source: {
|
|
251
258
|
fileName: _jsxFileName,
|
|
252
|
-
lineNumber:
|
|
259
|
+
lineNumber: 197,
|
|
253
260
|
columnNumber: 9
|
|
254
261
|
}
|
|
255
262
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.ImageViewer
|
|
@@ -266,7 +273,7 @@ const FormVideoField = ({
|
|
|
266
273
|
__self: void 0,
|
|
267
274
|
__source: {
|
|
268
275
|
fileName: _jsxFileName,
|
|
269
|
-
lineNumber:
|
|
276
|
+
lineNumber: 198,
|
|
270
277
|
columnNumber: 11
|
|
271
278
|
}
|
|
272
279
|
})), isPreviewOpen && /*#__PURE__*/_react.default.createElement(_designSystem.Modal, {
|
|
@@ -275,7 +282,7 @@ const FormVideoField = ({
|
|
|
275
282
|
__self: void 0,
|
|
276
283
|
__source: {
|
|
277
284
|
fileName: _jsxFileName,
|
|
278
|
-
lineNumber:
|
|
285
|
+
lineNumber: 212,
|
|
279
286
|
columnNumber: 9
|
|
280
287
|
}
|
|
281
288
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.CustomModalLayout, {
|
|
@@ -290,7 +297,7 @@ const FormVideoField = ({
|
|
|
290
297
|
__self: void 0,
|
|
291
298
|
__source: {
|
|
292
299
|
fileName: _jsxFileName,
|
|
293
|
-
lineNumber:
|
|
300
|
+
lineNumber: 217,
|
|
294
301
|
columnNumber: 15
|
|
295
302
|
}
|
|
296
303
|
}, /*#__PURE__*/_react.default.createElement("video", {
|
|
@@ -304,7 +311,7 @@ const FormVideoField = ({
|
|
|
304
311
|
__self: void 0,
|
|
305
312
|
__source: {
|
|
306
313
|
fileName: _jsxFileName,
|
|
307
|
-
lineNumber:
|
|
314
|
+
lineNumber: 224,
|
|
308
315
|
columnNumber: 17
|
|
309
316
|
}
|
|
310
317
|
}, videoUrl && /*#__PURE__*/_react.default.createElement("source", {
|
|
@@ -313,14 +320,14 @@ const FormVideoField = ({
|
|
|
313
320
|
__self: void 0,
|
|
314
321
|
__source: {
|
|
315
322
|
fileName: _jsxFileName,
|
|
316
|
-
lineNumber:
|
|
323
|
+
lineNumber: 230,
|
|
317
324
|
columnNumber: 32
|
|
318
325
|
}
|
|
319
326
|
}), "Your browser does not support the video tag.")),
|
|
320
327
|
__self: void 0,
|
|
321
328
|
__source: {
|
|
322
329
|
fileName: _jsxFileName,
|
|
323
|
-
lineNumber:
|
|
330
|
+
lineNumber: 213,
|
|
324
331
|
columnNumber: 11
|
|
325
332
|
}
|
|
326
333
|
})));
|
|
@@ -349,7 +356,7 @@ const ControlledVideoInput = ({
|
|
|
349
356
|
__self: void 0,
|
|
350
357
|
__source: {
|
|
351
358
|
fileName: _jsxFileName,
|
|
352
|
-
lineNumber:
|
|
359
|
+
lineNumber: 261,
|
|
353
360
|
columnNumber: 3
|
|
354
361
|
}
|
|
355
362
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_designSystem","_lazy","_react2","_hooks","_mediaConstants","_utils","_mediaControl","_useVideoPreview","_jsxFileName","FormVideoField","data","onChange","onChangeVideo","onClear","onClearVideo","onInput","onBlur","readOnly","autoFocus","dataHook","dataHooks","previewTitle","inputRef","forwardedRef","t","useTranslations","isMobile","useIsMobile","useWithCallback","setInputRef","useMergedRef","hooks","replace","more","preview","download","delete","callMedia","useMediaControl","mediaType","MEDIA_TYPES","VIDEO","value","videoUrl","posterUrl","imageUrl","isPreviewOpen","openPreview","handlePreview","closePreview","handleClosePreview","handleDownload","useVideoPreview","videoUri","canEdit","default","createElement","Fragment","Box","width","maxWidth","MEDIA_MAX_WIDTH","height","MEDIA_HEIGHT","__self","__source","fileName","lineNumber","columnNumber","MediaOverlay","hoverSkin","media","Image","src","fit","Content","placement","visible","gap","Tooltip","content","IconButton","onClick","skin","priority","disabled","ariaLabel","Replace","PopoverMenu","triggerElement","toggle","More","MenuItem","prefixIcon","Maximize","text","Download","Divider","Delete","ImageViewer","ref","onAddImage","undefined","addImageInfo","Modal","isOpen","onRequestClose","CustomModalLayout","title","onCloseButtonClick","style","display","justifyContent","padding","controls","autoPlay","maxHeight","poster","type","exports","displayName","ControlledVideoInput"],"sources":["../../../../src/components/video/form-video-field.tsx"],"sourcesContent":["import type { FC } from 'react';\nimport React from 'react';\nimport {\n Box,\n CustomModalLayout,\n IconButton,\n Image,\n ImageViewer,\n MediaOverlay,\n Modal,\n PopoverMenu,\n Tooltip,\n} from '@wix/design-system';\nimport {\n Delete,\n Download,\n Maximize,\n More,\n Replace,\n} from '@wix/wix-ui-icons-common/lazy';\nimport { useIsMobile } from '@wix/bex-core/react';\n\nimport type { ControlledInputProps } from '../../types/controlled-input';\nimport { useMergedRef, useTranslations, useWithCallback } from '../../hooks';\nimport { MEDIA_HEIGHT, MEDIA_MAX_WIDTH } from '../../utils/media-constants';\nimport { MEDIA_TYPES } from '../../utils';\nimport type { FormMediaControlProps } from '../media-control';\nimport { useMediaControl } from '../media-control';\n\nimport { useVideoPreview } from './use-video-preview';\n\ninterface ImageViewerActions {\n focus: () => void;\n}\n\nexport interface VideoFieldDataHooks {\n replace: string;\n more: string;\n preview: string;\n download: string;\n delete: string;\n}\n\n// `invalid` is not part of this contract. The empty state's ImageViewer has no\n// error prop; it takes its error styling from the enclosing WDS FormField's\n// status context. To show an error, render the field inside a FormField with\n// status=\"error\".\nexport interface FormVideoFieldProps\n extends Omit<FormMediaControlProps, 'invalid'> {\n /** Overrides for the action-button hooks, which otherwise derive from `dataHook`. */\n dataHooks?: Partial<VideoFieldDataHooks>;\n /** Title of the preview modal. Defaults to the translated \"Preview\". */\n previewTitle?: string;\n /**\n * Fires when the media manager closes, whether or not a file was picked.\n * A media field has no text control to blur, so the picker closing is its\n * blur signal.\n */\n onBlur?: () => void;\n}\n\nexport const FormVideoField: FC<FormVideoFieldProps> = ({\n data,\n onChange: onChangeVideo,\n onClear: onClearVideo,\n onInput,\n onBlur,\n readOnly,\n autoFocus,\n dataHook,\n dataHooks,\n previewTitle,\n inputRef: forwardedRef,\n}) => {\n const { t } = useTranslations();\n const isMobile = useIsMobile();\n\n const onChange = useWithCallback(onChangeVideo, onInput);\n const onClear = useWithCallback(onClearVideo, onInput);\n\n const [inputRef, setInputRef] =\n useMergedRef<ImageViewerActions>(forwardedRef);\n\n const hooks: VideoFieldDataHooks = {\n replace: dataHooks?.replace ?? `${dataHook}-replace`,\n more: dataHooks?.more ?? `${dataHook}-more`,\n preview: dataHooks?.preview ?? `${dataHook}-preview`,\n download: dataHooks?.download ?? `${dataHook}-download`,\n delete: dataHooks?.delete ?? `${dataHook}-delete`,\n };\n\n const { callMedia } = useMediaControl({\n mediaType: MEDIA_TYPES.VIDEO,\n value: data,\n onChange,\n autoFocus,\n readOnly,\n onBlur,\n inputRef,\n });\n\n const {\n videoUrl,\n posterUrl: imageUrl,\n isPreviewOpen,\n openPreview: handlePreview,\n closePreview: handleClosePreview,\n handleDownload,\n } = useVideoPreview({ videoUri: data });\n\n const canEdit = !isMobile && !readOnly;\n\n return (\n <>\n {data ? (\n <Box width=\"100%\" maxWidth={MEDIA_MAX_WIDTH} height={MEDIA_HEIGHT}>\n <MediaOverlay\n dataHook={dataHook}\n hoverSkin=\"dark\"\n media={\n <Image\n src={imageUrl}\n width=\"100%\"\n height={MEDIA_HEIGHT}\n fit=\"cover\"\n />\n }\n >\n <MediaOverlay.Content placement=\"middle\" visible=\"hover\">\n <Box gap=\"SP2\">\n <Tooltip\n content={t('auto-patterns.fields.replace_video_tooltip')}\n >\n <IconButton\n onClick={callMedia}\n skin=\"light\"\n priority=\"secondary\"\n disabled={!canEdit}\n ariaLabel={t('auto-patterns.fields.replace_video_tooltip')}\n dataHook={hooks.replace}\n >\n <Replace />\n </IconButton>\n </Tooltip>\n <PopoverMenu\n triggerElement={({ toggle }) => (\n <Tooltip\n content={t('auto-patterns.fields.more_actions_tooltip')}\n >\n <IconButton\n priority=\"secondary\"\n onClick={toggle}\n skin=\"light\"\n ariaLabel={t(\n 'auto-patterns.fields.more_actions_tooltip',\n )}\n dataHook={hooks.more}\n >\n <More />\n </IconButton>\n </Tooltip>\n )}\n >\n <PopoverMenu.MenuItem\n prefixIcon={<Maximize />}\n text={t('auto-patterns.fields.preview_video')}\n onClick={handlePreview}\n disabled={!videoUrl}\n dataHook={hooks.preview}\n />\n <PopoverMenu.MenuItem\n prefixIcon={<Download />}\n text={t('auto-patterns.fields.download_video')}\n onClick={handleDownload}\n dataHook={hooks.download}\n />\n <PopoverMenu.Divider />\n <PopoverMenu.MenuItem\n prefixIcon={<Delete />}\n text={t('auto-patterns.fields.remove_video')}\n onClick={onClear}\n disabled={readOnly || !onClearVideo}\n dataHook={hooks.delete}\n />\n </PopoverMenu>\n </Box>\n </MediaOverlay.Content>\n </MediaOverlay>\n </Box>\n ) : (\n <Box width=\"100%\" maxWidth={MEDIA_MAX_WIDTH}>\n <ImageViewer\n // Only the empty state has a focusable control, so this is the\n // only place inputRef can land.\n ref={setInputRef}\n dataHook={dataHook}\n onAddImage={canEdit ? callMedia : undefined}\n disabled={!canEdit}\n addImageInfo={t('auto-patterns.fields.add_video_tooltip')}\n height={MEDIA_HEIGHT}\n width=\"100%\"\n />\n </Box>\n )}\n {isPreviewOpen && (\n <Modal isOpen={isPreviewOpen} onRequestClose={handleClosePreview}>\n <CustomModalLayout\n title={previewTitle ?? t('auto-patterns.fields.preview_video')}\n onCloseButtonClick={handleClosePreview}\n content={\n <div\n style={{\n display: 'flex',\n justifyContent: 'center',\n padding: '24px',\n }}\n >\n <video\n controls\n autoPlay\n style={{ maxWidth: '100%', maxHeight: '70vh' }}\n poster={imageUrl}\n >\n {videoUrl && <source src={videoUrl} type=\"video/mp4\" />}\n Your browser does not support the video tag.\n </video>\n </div>\n }\n />\n </Modal>\n )}\n </>\n );\n};\n\nFormVideoField.displayName = 'FormVideoField';\n\nexport type ControlledVideoInputProps = Omit<\n ControlledInputProps<string | undefined>,\n 'invalid'\n> & {\n /** Title of the preview modal. Defaults to the translated \"Preview\". */\n previewTitle?: string;\n};\n\nexport const ControlledVideoInput: FC<ControlledVideoInputProps> = ({\n data,\n onChange,\n onBlur,\n readOnly,\n autoFocus,\n dataHook,\n previewTitle,\n}) => (\n <FormVideoField\n data={data}\n onChange={onChange}\n // FormVideoField reports deletion through onClear, not onChange.\n onClear={() => onChange(undefined)}\n onBlur={onBlur}\n readOnly={readOnly}\n autoFocus={autoFocus}\n dataHook={dataHook}\n previewTitle={previewTitle}\n />\n);\n\nControlledVideoInput.displayName = 'ControlledVideoInput';\n"],"mappings":";;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAWA,IAAAE,KAAA,GAAAF,OAAA;AAOA,IAAAG,OAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AAEA,IAAAO,aAAA,GAAAP,OAAA;AAEA,IAAAQ,gBAAA,GAAAR,OAAA;AAAsD,IAAAS,YAAA;AActD;AACA;AACA;AACA;;AAeO,MAAMC,cAAuC,GAAGA,CAAC;EACtDC,IAAI;EACJC,QAAQ,EAAEC,aAAa;EACvBC,OAAO,EAAEC,YAAY;EACrBC,OAAO;EACPC,MAAM;EACNC,QAAQ;EACRC,SAAS;EACTC,QAAQ;EACRC,SAAS;EACTC,YAAY;EACZC,QAAQ,EAAEC;AACZ,CAAC,KAAK;EACJ,MAAM;IAA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AA;EAAA;AAAA,CAC5B,CACF;AAACmD,OAAA,CAAAE,oBAAA,GAAAA,oBAAA;AAEFA,oBAAoB,CAACD,WAAW,GAAG,sBAAsB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_designSystem","_lazy","_react2","_common","_hooks","_mediaConstants","_utils","_mediaControl","_useVideoPreview","_jsxFileName","FormVideoField","data","onChange","onChangeVideo","onClear","onClearVideo","onInput","onBlur","readOnly","autoFocus","dataHook","dataHooks","previewTitle","inputRef","forwardedRef","t","useTranslations","isMobile","useIsMobile","useWithCallback","setInputRef","useMergedRef","hooks","replace","more","preview","download","delete","callMedia","useMediaControl","mediaType","MEDIA_TYPES","VIDEO","value","videoUrl","posterUrl","imageUrl","isPreviewOpen","openPreview","handlePreview","closePreview","handleClosePreview","handleDownload","useVideoPreview","videoUri","canEdit","default","createElement","Fragment","Box","width","maxWidth","MEDIA_MAX_WIDTH","height","MEDIA_HEIGHT","__self","__source","fileName","lineNumber","columnNumber","MediaOverlay","hoverSkin","media","Image","src","fit","Content","placement","visible","gap","Tooltip","content","IconButton","onClick","skin","priority","disabled","ariaLabel","Replace","PopoverMenu","appendTo","flip","zIndex","Z_INDEX_MODAL_POPOVER","triggerElement","toggle","More","MenuItem","prefixIcon","Maximize","text","Download","Divider","Delete","ImageViewer","ref","onAddImage","undefined","addImageInfo","Modal","isOpen","onRequestClose","CustomModalLayout","title","onCloseButtonClick","style","display","justifyContent","padding","controls","autoPlay","maxHeight","poster","type","exports","displayName","ControlledVideoInput"],"sources":["../../../../src/components/video/form-video-field.tsx"],"sourcesContent":["import type { FC } from 'react';\nimport React from 'react';\nimport {\n Box,\n CustomModalLayout,\n IconButton,\n Image,\n ImageViewer,\n MediaOverlay,\n Modal,\n PopoverMenu,\n Tooltip,\n} from '@wix/design-system';\nimport {\n Delete,\n Download,\n Maximize,\n More,\n Replace,\n} from '@wix/wix-ui-icons-common/lazy';\nimport { useIsMobile } from '@wix/bex-core/react';\n\nimport { Z_INDEX_MODAL_POPOVER } from '../common';\nimport type { ControlledInputProps } from '../../types/controlled-input';\nimport { useMergedRef, useTranslations, useWithCallback } from '../../hooks';\nimport { MEDIA_HEIGHT, MEDIA_MAX_WIDTH } from '../../utils/media-constants';\nimport { MEDIA_TYPES } from '../../utils';\nimport type { FormMediaControlProps } from '../media-control';\nimport { useMediaControl } from '../media-control';\n\nimport { useVideoPreview } from './use-video-preview';\n\ninterface ImageViewerActions {\n focus: () => void;\n}\n\nexport interface VideoFieldDataHooks {\n replace: string;\n more: string;\n preview: string;\n download: string;\n delete: string;\n}\n\n// `invalid` is not part of this contract. The empty state's ImageViewer has no\n// error prop; it takes its error styling from the enclosing WDS FormField's\n// status context. To show an error, render the field inside a FormField with\n// status=\"error\".\nexport interface FormVideoFieldProps\n extends Omit<FormMediaControlProps, 'invalid'> {\n /** Overrides for the action-button hooks, which otherwise derive from `dataHook`. */\n dataHooks?: Partial<VideoFieldDataHooks>;\n /** Title of the preview modal. Defaults to the translated \"Preview\". */\n previewTitle?: string;\n /**\n * Fires when the media manager closes, whether or not a file was picked.\n * A media field has no text control to blur, so the picker closing is its\n * blur signal.\n */\n onBlur?: () => void;\n}\n\nexport const FormVideoField: FC<FormVideoFieldProps> = ({\n data,\n onChange: onChangeVideo,\n onClear: onClearVideo,\n onInput,\n onBlur,\n readOnly,\n autoFocus,\n dataHook,\n dataHooks,\n previewTitle,\n inputRef: forwardedRef,\n}) => {\n const { t } = useTranslations();\n const isMobile = useIsMobile();\n\n const onChange = useWithCallback(onChangeVideo, onInput);\n const onClear = useWithCallback(onClearVideo, onInput);\n\n const [inputRef, setInputRef] =\n useMergedRef<ImageViewerActions>(forwardedRef);\n\n const hooks: VideoFieldDataHooks = {\n replace: dataHooks?.replace ?? `${dataHook}-replace`,\n more: dataHooks?.more ?? `${dataHook}-more`,\n preview: dataHooks?.preview ?? `${dataHook}-preview`,\n download: dataHooks?.download ?? `${dataHook}-download`,\n delete: dataHooks?.delete ?? `${dataHook}-delete`,\n };\n\n const { callMedia } = useMediaControl({\n mediaType: MEDIA_TYPES.VIDEO,\n value: data,\n onChange,\n autoFocus,\n readOnly,\n onBlur,\n inputRef,\n });\n\n const {\n videoUrl,\n posterUrl: imageUrl,\n isPreviewOpen,\n openPreview: handlePreview,\n closePreview: handleClosePreview,\n handleDownload,\n } = useVideoPreview({ videoUri: data });\n\n const canEdit = !isMobile && !readOnly;\n\n return (\n <>\n {data ? (\n <Box width=\"100%\" maxWidth={MEDIA_MAX_WIDTH} height={MEDIA_HEIGHT}>\n <MediaOverlay\n dataHook={dataHook}\n hoverSkin=\"dark\"\n media={\n <Image\n src={imageUrl}\n width=\"100%\"\n height={MEDIA_HEIGHT}\n fit=\"cover\"\n />\n }\n >\n <MediaOverlay.Content placement=\"middle\" visible=\"hover\">\n <Box gap=\"SP2\">\n <Tooltip\n content={t('auto-patterns.fields.replace_video_tooltip')}\n >\n <IconButton\n onClick={callMedia}\n skin=\"light\"\n priority=\"secondary\"\n disabled={!canEdit}\n ariaLabel={t('auto-patterns.fields.replace_video_tooltip')}\n dataHook={hooks.replace}\n >\n <Replace />\n </IconButton>\n </Tooltip>\n <PopoverMenu\n // The default z-index loses to a modal overlay, hiding the\n // menu behind the field modal's form.\n appendTo=\"window\"\n flip\n zIndex={Z_INDEX_MODAL_POPOVER}\n triggerElement={({ toggle }) => (\n <Tooltip\n content={t('auto-patterns.fields.more_actions_tooltip')}\n >\n <IconButton\n priority=\"secondary\"\n onClick={toggle}\n skin=\"light\"\n ariaLabel={t(\n 'auto-patterns.fields.more_actions_tooltip',\n )}\n dataHook={hooks.more}\n >\n <More />\n </IconButton>\n </Tooltip>\n )}\n >\n <PopoverMenu.MenuItem\n prefixIcon={<Maximize />}\n text={t('auto-patterns.fields.preview_video')}\n onClick={handlePreview}\n disabled={!videoUrl}\n dataHook={hooks.preview}\n />\n <PopoverMenu.MenuItem\n prefixIcon={<Download />}\n text={t('auto-patterns.fields.download_video')}\n onClick={handleDownload}\n dataHook={hooks.download}\n />\n <PopoverMenu.Divider />\n <PopoverMenu.MenuItem\n prefixIcon={<Delete />}\n text={t('auto-patterns.fields.remove_video')}\n onClick={onClear}\n disabled={readOnly || !onClearVideo}\n dataHook={hooks.delete}\n />\n </PopoverMenu>\n </Box>\n </MediaOverlay.Content>\n </MediaOverlay>\n </Box>\n ) : (\n <Box width=\"100%\" maxWidth={MEDIA_MAX_WIDTH}>\n <ImageViewer\n // Only the empty state has a focusable control, so this is the\n // only place inputRef can land.\n ref={setInputRef}\n dataHook={dataHook}\n onAddImage={canEdit ? callMedia : undefined}\n disabled={!canEdit}\n addImageInfo={t('auto-patterns.fields.add_video_tooltip')}\n height={MEDIA_HEIGHT}\n width=\"100%\"\n />\n </Box>\n )}\n {isPreviewOpen && (\n <Modal isOpen={isPreviewOpen} onRequestClose={handleClosePreview}>\n <CustomModalLayout\n title={previewTitle ?? t('auto-patterns.fields.preview_video')}\n onCloseButtonClick={handleClosePreview}\n content={\n <div\n style={{\n display: 'flex',\n justifyContent: 'center',\n padding: '24px',\n }}\n >\n <video\n controls\n autoPlay\n style={{ maxWidth: '100%', maxHeight: '70vh' }}\n poster={imageUrl}\n >\n {videoUrl && <source src={videoUrl} type=\"video/mp4\" />}\n Your browser does not support the video tag.\n </video>\n </div>\n }\n />\n </Modal>\n )}\n </>\n );\n};\n\nFormVideoField.displayName = 'FormVideoField';\n\nexport type ControlledVideoInputProps = Omit<\n ControlledInputProps<string | undefined>,\n 'invalid'\n> & {\n /** Title of the preview modal. Defaults to the translated \"Preview\". */\n previewTitle?: string;\n};\n\nexport const ControlledVideoInput: FC<ControlledVideoInputProps> = ({\n data,\n onChange,\n onBlur,\n readOnly,\n autoFocus,\n dataHook,\n previewTitle,\n}) => (\n <FormVideoField\n data={data}\n onChange={onChange}\n // FormVideoField reports deletion through onClear, not onChange.\n onClear={() => onChange(undefined)}\n onBlur={onBlur}\n readOnly={readOnly}\n autoFocus={autoFocus}\n dataHook={dataHook}\n previewTitle={previewTit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C,EAAC,8CAEnD,CACJ,CACN;IAAAJ,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAA1D,YAAA;MAAA2D,UAAA;MAAAC,YAAA;IAAA;EAAA,CACF,CACI,CAET,CAAC;AAEP,CAAC;AAACuD,OAAA,CAAAlH,cAAA,GAAAA,cAAA;AAEFA,cAAc,CAACmH,WAAW,GAAG,gBAAgB;AAUtC,MAAMC,oBAAmD,GAAGA,CAAC;EAClEnH,IAAI;EACJC,QAAQ;EACRK,MAAM;EACNC,QAAQ;EACRC,SAAS;EACTC,QAAQ;EACRE;AACF,CAAC,kBACCzB,MAAA,CAAA2D,OAAA,CAAAC,aAAA,CAAC/C,cAAc;EACbC,IAAI,EAAEA,IAAK;EACXC,QAAQ,EAAEA;EACV;EAAA;EACAE,OAAO,EAAEA,CAAA,KAAMF,QAAQ,CAAC+F,SAAS,CAAE;EACnC1F,MAAM,EAAEA,MAAO;EACfC,QAAQ,EAAEA,QAAS;EACnBC,SAAS,EAAEA,SAAU;EACrBC,QAAQ,EAAEA,QAAS;EACnBE,YAAY,EAAEA,YAAa;EAAA2C,MAAA;EAAAC,QAAA;IAAAC,QAAA,EAAA1D,YAAA;IAAA2D,UAAA;IAAAC,YAAA;EAAA;AAAA,CAC5B,CACF;AAACuD,OAAA,CAAAE,oBAAA,GAAAA,oBAAA;AAEFA,oBAAoB,CAACD,WAAW,GAAG,sBAAsB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../../src/services/atlas/types.ts"],"sourcesContent":["import { location } from '@wix/atlas';\n\n/**\n * The @wix/atlas SDK types are auto-generated from public API schemas and are incomplete.\n */\ntype SdkAddress = NonNullable<location.SearchResult['address']>;\n\nexport interface AtlasAddress extends SdkAddress {\n formatted?: string;\n}\n\nexport interface AtlasService {\n searchAddress: (query: string) => Promise<AtlasAddress[]>;\n}\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../../src/services/atlas/types.ts"],"sourcesContent":["import type { autocomplete, location } from '@wix/atlas';\n\n/**\n * The @wix/atlas SDK types are auto-generated from public API schemas and are incomplete.\n */\ntype SdkAddress = NonNullable<location.SearchResult['address']>;\n\nexport interface AtlasAddress extends SdkAddress {\n formatted?: string;\n}\n\nexport type AtlasPrediction = autocomplete.Prediction;\n\nexport interface AtlasService {\n searchAddress: (query: string) => Promise<AtlasAddress[]>;\n /** Supply both methods to show predictions and resolve the selected place. */\n predictAddress?: (query: string) => Promise<AtlasPrediction[]>;\n getAddress?: (searchId: string) => Promise<AtlasAddress | undefined>;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -9,12 +9,27 @@ var _utils = require("../../utils");
|
|
|
9
9
|
* Uses the public @wix/atlas SDK which handles authentication automatically
|
|
10
10
|
*/
|
|
11
11
|
class WixAtlasService {
|
|
12
|
+
constructor(errorHandler) {
|
|
13
|
+
this.errorHandler = errorHandler;
|
|
14
|
+
}
|
|
15
|
+
async predictAddress(query) {
|
|
16
|
+
const request = () => _atlas.autocomplete.predict(query);
|
|
17
|
+
const response = await (this.errorHandler ? this.errorHandler.withErrorHandler(request, {}) : request());
|
|
18
|
+
return response.predictions ?? [];
|
|
19
|
+
}
|
|
20
|
+
async getAddress(searchId) {
|
|
21
|
+
var _response$place;
|
|
22
|
+
const request = () => _atlas.places.getPlace(searchId);
|
|
23
|
+
const response = await (this.errorHandler ? this.errorHandler.withErrorHandler(request, {}) : request());
|
|
24
|
+
return (_response$place = response.place) == null ? void 0 : _response$place.address;
|
|
25
|
+
}
|
|
12
26
|
async searchAddress(query) {
|
|
13
27
|
try {
|
|
14
28
|
var _response$searchResul;
|
|
15
|
-
const
|
|
29
|
+
const request = () => _atlas.location.search({
|
|
16
30
|
query
|
|
17
31
|
});
|
|
32
|
+
const response = await (this.errorHandler ? this.errorHandler.withErrorHandler(request, {}) : request());
|
|
18
33
|
return ((_response$searchResul = response.searchResults) == null ? void 0 : _response$searchResul.map(result => result.address).filter(_utils.isTruthy)) ?? [];
|
|
19
34
|
} catch (error) {
|
|
20
35
|
console.error('Failed to search address:', error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_atlas","require","_utils","WixAtlasService","
|
|
1
|
+
{"version":3,"names":["_atlas","require","_utils","WixAtlasService","constructor","errorHandler","predictAddress","query","request","autocomplete","predict","response","withErrorHandler","predictions","getAddress","searchId","_response$place","places","getPlace","place","address","searchAddress","_response$searchResul","location","search","searchResults","map","result","filter","isTruthy","error","console","exports"],"sources":["../../../../src/services/atlas/wix-atlas-service.ts"],"sourcesContent":["import { autocomplete, location, places } from '@wix/atlas';\nimport type { WixPatternsContainer } from '@wix/bex-core';\n\nimport type { AtlasService, AtlasAddress, AtlasPrediction } from './types';\nimport { isTruthy } from '../../utils';\n\n/**\n * Wix Atlas service implementation for address search/autocomplete\n * Uses the public @wix/atlas SDK which handles authentication automatically\n */\nexport class WixAtlasService implements AtlasService {\n constructor(\n private readonly errorHandler?: WixPatternsContainer['errorHandler'],\n ) {}\n\n async predictAddress(query: string): Promise<AtlasPrediction[]> {\n const request = () => autocomplete.predict(query);\n const response = await (this.errorHandler\n ? this.errorHandler.withErrorHandler(request, {})\n : request());\n return response.predictions ?? [];\n }\n\n async getAddress(searchId: string): Promise<AtlasAddress | undefined> {\n const request = () => places.getPlace(searchId);\n const response = await (this.errorHandler\n ? this.errorHandler.withErrorHandler(request, {})\n : request());\n return response.place?.address;\n }\n\n async searchAddress(query: string): Promise<AtlasAddress[]> {\n try {\n const request = () => location.search({ query });\n const response = await (this.errorHandler\n ? this.errorHandler.withErrorHandler(request, {})\n : request());\n\n return (\n response.searchResults\n ?.map((result) => result.address)\n .filter(isTruthy) ?? []\n );\n } catch (error) {\n console.error('Failed to search address:', error);\n throw error;\n }\n }\n}\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,MAAA,GAAAD,OAAA;AAEA;AACA;AACA;AACA;AACO,MAAME,eAAe,CAAyB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AChCQ,MAAM,CAACC,eAAQ,CAAC,KAAI,EAAE;IAE7B,CAAC,CAAC,OAAOC,KAAK,EAAE;MACdC,OAAO,CAACD,KAAK,CAAC,2BAA2B,EAAEA,KAAK,CAAC;MACjD,MAAMA,KAAK;IACb;EACF;AACF;AAACE,OAAA,CAAA7B,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.addressinput135427117__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput135427117__tableAddressInput>div{padding:0!important;width:100%}.addressinput135427117__tableAddressInput:focus-within{margin-left:2px}.actionsmenu2358938485__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield1123005832__addItem{height:120px!important;box-sizing:border-box}.formaudiofield1123005832__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)}.formaudiofield1123005832__addItem.formaudiofield1123005832--disabled{pointer-events:auto!important}.formaudiofield1123005832__addItem.formaudiofield1123005832--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield1123005832__mediaTitle{line-height:18px!important}.audioplayer905439661__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}.cellcolorview614177914__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview434636090__view{width:100%}.colorview434636090__fillPreview{flex-shrink:0}.colorview434636090__view .colorview434636090__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog3489034795__layout{max-width:510px!important}.formdocumentfield1976509087__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield1976509087__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield1976509087__textWidth{max-width:calc(100% - 196px)}.formdocumentfield1976509087__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield1976509087__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield1976509087__addDocument.formdocumentfield1976509087--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield1976509087__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))}.exclamation3877731892__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation3877731892__exclamation.exclamation3877731892---type-7-warning:not(.exclamation3877731892--customSize),.exclamation3877731892__exclamation.exclamation3877731892---type-5-error:not(.exclamation3877731892--customSize){width:24px;height:24px}.exclamation3877731892__exclamation.exclamation3877731892---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation3877731892__exclamation.exclamation3877731892---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation3877731892__actions{display:flex;flex-direction:column}.exclamation3877731892__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation3877731892__action+.exclamation3877731892__action{margin-top:6px}.exclamation3877731892__action.exclamation3877731892--accented{color:var(--wds-color-blue-100)}.exclamation3877731892__action.exclamation3877731892--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext336599750__root.highlightedtext336599750--highlightedBackground{animation:highlightedtext336599750__highlighted 150ms ease-out 1 forwards}.highlightedtext336599750__substring.highlightedtext336599750--isHighlighted{animation:highlightedtext336599750__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext336599750__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext336599750__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay4087281964__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay4087281964__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell2326789165__root{width:100%;height:100%}.pasteurlbutton1933392353__root{margin-top:6px}.pasteurlbutton1933392353__iconButtonTooltip{height:max-content}.pasteurlbutton1933392353__iconButton{width:24px;height:24px}.formmediagalleryfield3998473428__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield3998473428__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield3998473428__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield3998473428__addItem{box-sizing:border-box}.formmediagalleryfield3998473428__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield3998473428__image.formmediagalleryfield3998473428--withMarginRight{margin-right:3px}.formmediagalleryfield3998473428__image.formmediagalleryfield3998473428--withMarginTop{margin-top:3px}.formmediagalleryfield3998473428__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield3998473428__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage3148041009__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage3148041009__root.mediaimage3148041009--error{--mediaimage3148041009-from:calc(50% - 0.5px);--mediaimage3148041009-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage3148041009-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3148041009-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3148041009-to),transparent var(--mediaimage3148041009-to))}.mediaimage3148041009__root.mediaimage3148041009--error>*{opacity:0}.overlay2129544777__iconOverlay{position:absolute;color:var(--wds-color-white, var(--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))}.overlay2129544777__iconOverlay.overlay2129544777---size-5-small{width:20px;height:20px}.overlay2129544777__iconOverlay.overlay2129544777---size-6-medium{width:24px;height:24px}.overlay2129544777__iconOverlay.overlay2129544777---size-5-large{width:28px;height:28px}.overlay2129544777__iconOverlay.overlay2129544777---placement-7-topLeft{top:2px;left:2px}.overlay2129544777__iconOverlay.overlay2129544777---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader598775488__loader{border-radius:6px}.medialoader598775488__loader.medialoader598775488--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader598775488__loader.medialoader598775488--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag1682102498__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))}.cellmultidocumentedit1914587532__chipTrigger{display:flex;align-items:center;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:0 0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}.formmultidocument3094149956__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument3094149956__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument3094149956__viewRoot>div:first-child .formmultidocument3094149956__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))}.formmultidocument3094149956__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument3094149956__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument3094149956__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))}.formmultidocument3094149956__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))}.cellmultireferenceinput3144614699__root{width:100%;box-sizing:border-box;--wds-input-border-color:transparent;--wds-input-border-color-hover:transparent;--wds-input-border-color-focus:transparent;--wds-input-background-fill-default:transparent;--wds-input-background-fill-hover:transparent;--wds-input-shadow-focus-standard:0 0 0 0 transparent}.cellreferenceinput3062114626__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput3062114626__autocomplete{width:100%}.richcontentdefaultvalueinput2404149612__richContentEditorContainer .richcontentdefaultvalueinput2404149612__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput1162537413__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richcontentforminput1162537413__root:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richcontentforminput1162537413__root .richcontentforminput1162537413__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput1239757923__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput1239757923__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal3071761638__modalContent{display:flex;flex-direction:column;position:relative;height:100%;width:782px;background-color:var(--wds-color-white, var(--wsr-color-D80, #ffffff));border-radius:var(--wds-border-radius-300, var(--wsr-border-radius-06, 6px));margin-top:24px}.publishloader2836839240__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton2223387734__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton2223387734__root button{border-radius:6px!important}.richcontenteditor2863737128__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor2863737128__root,.richcontenteditor2863737128__toolbarContainer,.richcontenteditor2863737128__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor2863737128__toolbarContainer div{box-sizing:border-box}.richcontenteditor2863737128__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor2863737128__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor2863737128__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor2863737128__modalEditor .richcontenteditor2863737128__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor2863737128__modalEditor .richcontenteditor2863737128__footerToolbarContainer{margin-top:9px}.richcontenteditor2863737128__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor2863737128__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar2262554924__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}.richcontenttoolbar2262554924__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar2262554924__toolbarButton:disabled{color:graytext}.richcontenttoolbar2262554924__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar2262554924__toolbar label{padding:0 8px}.richcontentviewer3183431663__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer3183431663__root.richcontentviewer3183431663--isFullScreen{padding:12px 24px}.richcontentviewer3183431663__root:not(.richcontentviewer3183431663--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer3183431663__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer3183431663__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer3183431663__modalViewer{min-width:592px;overflow:auto}.richtexteditor667105446__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor667105446__root.richtexteditor667105446---border-4-none{border:0}.richtexteditor667105446__root.richtexteditor667105446---border-8-standard{border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE))}.richtexteditor667105446__root.richtexteditor667105446---border-8-standard:focus,.richtexteditor667105446__root.richtexteditor667105446---border-8-standard:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richtexteditor667105446__root.richtexteditor667105446---border-8-standard.richtexteditor667105446---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor667105446__root.richtexteditor667105446---border-8-standard.richtexteditor667105446---status-5-error:focus,.richtexteditor667105446__root.richtexteditor667105446---border-8-standard.richtexteditor667105446---status-5-error:focus-within{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214));box-shadow:var(--wds-input-shadow-focus-destructive, 0 0 0 3px var(--wsr-color-R40, #FBD0CD))}.richtexteditor667105446__root.richtexteditor667105446---border-8-standard.richtexteditor667105446---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor667105446__root.richtexteditor667105446---border-8-standard.richtexteditor667105446---status-7-warning:focus,.richtexteditor667105446__root.richtexteditor667105446---border-8-standard.richtexteditor667105446---status-7-warning:focus-within{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700));box-shadow:var(--wds-input-shadow-focus-warning, 0 0 0 3px var(--wsr-color-Y40, #FFE2A5))}.richtexteditor667105446__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor667105446__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-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor667105446__editor.richtexteditor667105446--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor667105446__editor:not(.richtexteditor667105446--isFullScreen){max-height:80vh}.richtexteditor667105446__editor>div{flex:1;max-width:100%}.toolbar3247736524__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-color-white, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar3247736524__item{display:flex;margin-right:12px}.toolbar3247736524__item svg,.toolbar3247736524__item svg path,.toolbar3247736524__item svg text{color:inherit;fill:currentColor}.toolbar3247736524__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar3247736524__clearFormatting{margin-left:auto}.toolbar3247736524__fullScreen{margin-right:0}.toolbar3247736524__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3247736524__dropdownItemContent.toolbar3247736524--selected .toolbar3247736524__dropdownItemTitle,.toolbar3247736524__dropdownItemContent.toolbar3247736524--selected .toolbar3247736524__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3247736524__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3247736524__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, var(--wsr-font-family, Madefor))!important}.toolbar3247736524__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3247736524__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3247736524__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3247736524__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3247736524__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3247736524__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3247736524__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3247736524__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.textview3095721063__textView::after{content:"";display:block}.richeditor1940630501__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium, 500);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))}.richeditor1940630501__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100, var(--wsr-color-D10, #131720));background:var(--wds-color-black-700, var(--wsr-color-D70, #edeef2))}.richeditor1940630501__editor .DraftEditor-root{width:100%;height:100%}.richeditor1940630501__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor1940630501__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor1940630501__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor1940630501__editor .public-DraftEditor-content ol,.richeditor1940630501__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor1940630501__editor .public-DraftEditor-content a,.richeditor1940630501__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor1940630501__header-one:not(li),.richeditor1940630501__header-two:not(li),.richeditor1940630501__header-three:not(li),.richeditor1940630501__header-four:not(li),.richeditor1940630501__header-five:not(li),.richeditor1940630501__header-six:not(li){margin-block:0;margin:0}.richeditor1940630501__header-one,.richeditor1940630501__editor li.richeditor1940630501__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__header-two,.richeditor1940630501__editor li.richeditor1940630501__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__header-three,.richeditor1940630501__editor li.richeditor1940630501__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__header-four,.richeditor1940630501__editor li.richeditor1940630501__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__header-five,.richeditor1940630501__editor li.richeditor1940630501__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__header-six,.richeditor1940630501__editor li.richeditor1940630501__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__paragraph-one,.richeditor1940630501__editor li.richeditor1940630501__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__unstyled,.richeditor1940630501__editor li.richeditor1940630501__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__paragraph-three,.richeditor1940630501__editor li.richeditor1940630501__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__editor li.richeditor1940630501__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__editor li.richeditor1940630501__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor1940630501__editor li.richeditor1940630501__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__editor li.richeditor1940630501__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor1940630501__editor li.richeditor1940630501__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__editor li.richeditor1940630501__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor1940630501__editor li.richeditor1940630501__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__editor li.richeditor1940630501__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor1940630501__editor li.richeditor1940630501__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__editor li.richeditor1940630501__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor1940630501__editor li.richeditor1940630501__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__editor li.richeditor1940630501__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor1940630501__editor li.richeditor1940630501__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__editor li.richeditor1940630501__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1940630501__editor li.richeditor1940630501__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.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}.richeditor1940630501__align-left{text-align:left;align-self:flex-start}.richeditor1940630501__align-right{text-align:right;align-self:flex-end}.richeditor1940630501__align-center{text-align:center;align-self:center}.richeditor1940630501__align-justify{text-align:justify;align-self:stretch}.richeditor1940630501__withMargin{display:inline-block}.richeditor1940630501__dir-rtl,.richeditor1940630501__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor1940630501__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
1
|
+
.addressinput549716124__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput549716124__tableAddressInput>div{padding:0!important;width:100%}.addressinput549716124__tableAddressInput:focus-within{margin-left:2px}.actionsmenu2362666947__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield502767307__addItem{height:120px!important;box-sizing:border-box}.formaudiofield502767307__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)}.formaudiofield502767307__addItem.formaudiofield502767307--disabled{pointer-events:auto!important}.formaudiofield502767307__addItem.formaudiofield502767307--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield502767307__mediaTitle{line-height:18px!important}.audioplayer2335250008__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}.cellcolorview938440383__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview65911971__view{width:100%}.colorview65911971__fillPreview{flex-shrink:0}.colorview65911971__view .colorview65911971__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog3266102737__layout{max-width:510px!important}.formdocumentfield1771787540__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield1771787540__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield1771787540__textWidth{max-width:calc(100% - 196px)}.formdocumentfield1771787540__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield1771787540__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield1771787540__addDocument.formdocumentfield1771787540--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield1771787540__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))}.exclamation1979955691__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation1979955691__exclamation.exclamation1979955691---type-7-warning:not(.exclamation1979955691--customSize),.exclamation1979955691__exclamation.exclamation1979955691---type-5-error:not(.exclamation1979955691--customSize){width:24px;height:24px}.exclamation1979955691__exclamation.exclamation1979955691---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation1979955691__exclamation.exclamation1979955691---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation1979955691__actions{display:flex;flex-direction:column}.exclamation1979955691__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation1979955691__action+.exclamation1979955691__action{margin-top:6px}.exclamation1979955691__action.exclamation1979955691--accented{color:var(--wds-color-blue-100)}.exclamation1979955691__action.exclamation1979955691--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext3876074879__root.highlightedtext3876074879--highlightedBackground{animation:highlightedtext3876074879__highlighted 150ms ease-out 1 forwards}.highlightedtext3876074879__substring.highlightedtext3876074879--isHighlighted{animation:highlightedtext3876074879__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext3876074879__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext3876074879__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay2515140289__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay2515140289__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell1073108108__root{width:100%;height:100%}.pasteurlbutton2861872181__root{margin-top:6px}.pasteurlbutton2861872181__iconButtonTooltip{height:max-content}.pasteurlbutton2861872181__iconButton{width:24px;height:24px}.formmediagalleryfield2262092553__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield2262092553__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield2262092553__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield2262092553__addItem{box-sizing:border-box}.formmediagalleryfield2262092553__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield2262092553__image.formmediagalleryfield2262092553--withMarginRight{margin-right:3px}.formmediagalleryfield2262092553__image.formmediagalleryfield2262092553--withMarginTop{margin-top:3px}.formmediagalleryfield2262092553__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield2262092553__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage1912006507__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage1912006507__root.mediaimage1912006507--error{--mediaimage1912006507-from:calc(50% - 0.5px);--mediaimage1912006507-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage1912006507-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1912006507-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1912006507-to),transparent var(--mediaimage1912006507-to))}.mediaimage1912006507__root.mediaimage1912006507--error>*{opacity:0}.overlay1534127645__iconOverlay{position:absolute;color:var(--wds-color-white, var(--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))}.overlay1534127645__iconOverlay.overlay1534127645---size-5-small{width:20px;height:20px}.overlay1534127645__iconOverlay.overlay1534127645---size-6-medium{width:24px;height:24px}.overlay1534127645__iconOverlay.overlay1534127645---size-5-large{width:28px;height:28px}.overlay1534127645__iconOverlay.overlay1534127645---placement-7-topLeft{top:2px;left:2px}.overlay1534127645__iconOverlay.overlay1534127645---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag1753723167__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))}.cellmultidocumentedit684700786__chipTrigger{display:flex;align-items:center;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:0 0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}.formmultidocument4258414100__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument4258414100__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument4258414100__viewRoot>div:first-child .formmultidocument4258414100__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))}.formmultidocument4258414100__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument4258414100__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument4258414100__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))}.formmultidocument4258414100__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))}.cellmultireferenceinput802983897__root{width:100%;box-sizing:border-box;--wds-input-border-color:transparent;--wds-input-border-color-hover:transparent;--wds-input-border-color-focus:transparent;--wds-input-background-fill-default:transparent;--wds-input-background-fill-hover:transparent;--wds-input-shadow-focus-standard:0 0 0 0 transparent}.cellreferenceinput3044213567__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput3044213567__autocomplete{width:100%}.richcontentdefaultvalueinput3491047452__richContentEditorContainer .richcontentdefaultvalueinput3491047452__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput2743840906__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richcontentforminput2743840906__root:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richcontentforminput2743840906__root .richcontentforminput2743840906__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput756606055__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput756606055__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal726345974__modalContent{display:flex;flex-direction:column;position:relative;height:100%;width:782px;background-color:var(--wds-color-white, var(--wsr-color-D80, #ffffff));border-radius:var(--wds-border-radius-300, var(--wsr-border-radius-06, 6px));margin-top:24px}.publishloader829581826__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton2354274614__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton2354274614__root button{border-radius:6px!important}.richcontenteditor1883144263__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor1883144263__root,.richcontenteditor1883144263__toolbarContainer,.richcontenteditor1883144263__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor1883144263__toolbarContainer div{box-sizing:border-box}.richcontenteditor1883144263__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor1883144263__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor1883144263__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor1883144263__modalEditor .richcontenteditor1883144263__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor1883144263__modalEditor .richcontenteditor1883144263__footerToolbarContainer{margin-top:9px}.richcontenteditor1883144263__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor1883144263__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar1486095287__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}.richcontenttoolbar1486095287__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar1486095287__toolbarButton:disabled{color:graytext}.richcontenttoolbar1486095287__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar1486095287__toolbar label{padding:0 8px}.richcontentviewer2217589463__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer2217589463__root.richcontentviewer2217589463--isFullScreen{padding:12px 24px}.richcontentviewer2217589463__root:not(.richcontentviewer2217589463--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer2217589463__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer2217589463__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer2217589463__modalViewer{min-width:592px;overflow:auto}.richtexteditor956967741__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor956967741__root.richtexteditor956967741---border-4-none{border:0}.richtexteditor956967741__root.richtexteditor956967741---border-8-standard{border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE))}.richtexteditor956967741__root.richtexteditor956967741---border-8-standard:focus,.richtexteditor956967741__root.richtexteditor956967741---border-8-standard:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richtexteditor956967741__root.richtexteditor956967741---border-8-standard.richtexteditor956967741---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor956967741__root.richtexteditor956967741---border-8-standard.richtexteditor956967741---status-5-error:focus,.richtexteditor956967741__root.richtexteditor956967741---border-8-standard.richtexteditor956967741---status-5-error:focus-within{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214));box-shadow:var(--wds-input-shadow-focus-destructive, 0 0 0 3px var(--wsr-color-R40, #FBD0CD))}.richtexteditor956967741__root.richtexteditor956967741---border-8-standard.richtexteditor956967741---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor956967741__root.richtexteditor956967741---border-8-standard.richtexteditor956967741---status-7-warning:focus,.richtexteditor956967741__root.richtexteditor956967741---border-8-standard.richtexteditor956967741---status-7-warning:focus-within{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700));box-shadow:var(--wds-input-shadow-focus-warning, 0 0 0 3px var(--wsr-color-Y40, #FFE2A5))}.richtexteditor956967741__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor956967741__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-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor956967741__editor.richtexteditor956967741--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor956967741__editor:not(.richtexteditor956967741--isFullScreen){max-height:80vh}.richtexteditor956967741__editor>div{flex:1;max-width:100%}.toolbar2936617610__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-color-white, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar2936617610__item{display:flex;margin-right:12px}.toolbar2936617610__item svg,.toolbar2936617610__item svg path,.toolbar2936617610__item svg text{color:inherit;fill:currentColor}.toolbar2936617610__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar2936617610__clearFormatting{margin-left:auto}.toolbar2936617610__fullScreen{margin-right:0}.toolbar2936617610__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar2936617610__dropdownItemContent.toolbar2936617610--selected .toolbar2936617610__dropdownItemTitle,.toolbar2936617610__dropdownItemContent.toolbar2936617610--selected .toolbar2936617610__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar2936617610__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar2936617610__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, var(--wsr-font-family, Madefor))!important}.toolbar2936617610__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2936617610__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2936617610__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2936617610__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2936617610__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2936617610__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2936617610__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2936617610__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, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.textview1036224898__textView::after{content:"";display:block}.richeditor3799177838__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium, 500);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))}.richeditor3799177838__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100, var(--wsr-color-D10, #131720));background:var(--wds-color-black-700, var(--wsr-color-D70, #edeef2))}.richeditor3799177838__editor .DraftEditor-root{width:100%;height:100%}.richeditor3799177838__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor3799177838__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor3799177838__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor3799177838__editor .public-DraftEditor-content ol,.richeditor3799177838__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor3799177838__editor .public-DraftEditor-content a,.richeditor3799177838__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor3799177838__header-one:not(li),.richeditor3799177838__header-two:not(li),.richeditor3799177838__header-three:not(li),.richeditor3799177838__header-four:not(li),.richeditor3799177838__header-five:not(li),.richeditor3799177838__header-six:not(li){margin-block:0;margin:0}.richeditor3799177838__header-one,.richeditor3799177838__editor li.richeditor3799177838__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__header-two,.richeditor3799177838__editor li.richeditor3799177838__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__header-three,.richeditor3799177838__editor li.richeditor3799177838__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__header-four,.richeditor3799177838__editor li.richeditor3799177838__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__header-five,.richeditor3799177838__editor li.richeditor3799177838__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__header-six,.richeditor3799177838__editor li.richeditor3799177838__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__paragraph-one,.richeditor3799177838__editor li.richeditor3799177838__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__unstyled,.richeditor3799177838__editor li.richeditor3799177838__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__paragraph-three,.richeditor3799177838__editor li.richeditor3799177838__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__editor li.richeditor3799177838__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__editor li.richeditor3799177838__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor3799177838__editor li.richeditor3799177838__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__editor li.richeditor3799177838__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor3799177838__editor li.richeditor3799177838__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__editor li.richeditor3799177838__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor3799177838__editor li.richeditor3799177838__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__editor li.richeditor3799177838__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor3799177838__editor li.richeditor3799177838__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__editor li.richeditor3799177838__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor3799177838__editor li.richeditor3799177838__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__editor li.richeditor3799177838__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor3799177838__editor li.richeditor3799177838__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__editor li.richeditor3799177838__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3799177838__editor li.richeditor3799177838__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.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}.richeditor3799177838__align-left{text-align:left;align-self:flex-start}.richeditor3799177838__align-right{text-align:right;align-self:flex-end}.richeditor3799177838__align-center{text-align:center;align-self:center}.richeditor3799177838__align-justify{text-align:justify;align-self:stretch}.richeditor3799177838__withMargin{display:inline-block}.richeditor3799177838__dir-rtl,.richeditor3799177838__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor3799177838__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/types/validation.ts"],"sourcesContent":["import type { SpecificValue } from '@wix/bex-core';\n\nexport type RequiredValidationRule = {\n required: boolean;\n};\n\nexport type CharactersLimitValidationRule = {\n charactersLimit: { min?: number; max?: number };\n};\n\nexport type SpecificValuesValidationRule = {\n specificValues: SpecificValue[];\n};\n\nexport type PatternValidationRule = {\n pattern: string;\n};\n\nexport interface RequiredFieldValidationRuleConfig {\n type: 'required';\n label: string;\n tooltip: string;\n}\n\nexport interface CharactersLimitFieldValidationRuleConfig {\n type: 'charactersLimit';\n label: string;\n tooltip: string;\n minLabel: string;\n maxLabel: string;\n separator: string;\n outOfBoundsError(min: number, max: number): string;\n maxBelowMinError: string;\n}\n\nexport interface SpecificValuesFieldValidationRuleConfig {\n type: 'specificValues';\n label: string;\n tooltip: string;\n blankError: string;\n duplicateError: string;\n addButton: string;\n removeButton: string;\n exclusiveRulesExplanation
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/types/validation.ts"],"sourcesContent":["import type { SpecificValue } from '@wix/bex-core';\n\nexport type RequiredValidationRule = {\n required: boolean;\n};\n\nexport type CharactersLimitValidationRule = {\n charactersLimit: { min?: number; max?: number };\n};\n\nexport type SpecificValuesValidationRule = {\n specificValues: SpecificValue[];\n};\n\nexport type PatternValidationRule = {\n pattern: string;\n};\n\nexport interface RequiredFieldValidationRuleConfig {\n type: 'required';\n label: string;\n tooltip: string;\n}\n\nexport interface CharactersLimitFieldValidationRuleConfig {\n type: 'charactersLimit';\n label: string;\n tooltip: string;\n minLabel: string;\n maxLabel: string;\n separator: string;\n outOfBoundsError(min: number, max: number): string;\n maxBelowMinError: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport interface SpecificValuesFieldValidationRuleConfig {\n type: 'specificValues';\n label: string;\n tooltip: string;\n blankError: string;\n duplicateError: string;\n addButton: string;\n removeButton: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport interface PatternFieldValidationRuleConfig {\n type: 'pattern';\n label: string;\n tooltip: string;\n inputLabel: string;\n invalidError: string;\n /** Shown for a pattern that compiles but is refused because matching it\n * could hang the page. Falls back to `invalidError`. */\n unsafeError?: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport type FieldValidationRuleConfig =\n | RequiredFieldValidationRuleConfig\n | CharactersLimitFieldValidationRuleConfig\n | SpecificValuesFieldValidationRuleConfig\n | PatternFieldValidationRuleConfig;\n\nexport type FieldValidationRule = FieldValidationRuleConfig['type'];\n\nexport interface FieldValidationSettingsValue {\n required?: boolean;\n charactersLimit?: { min?: number; max?: number };\n specificValues?: SpecificValue[];\n pattern?: string;\n}\n\nexport type FieldValidationViolation =\n | {\n rule: 'charactersLimit';\n type: 'outOfBounds';\n bound: 'min' | 'max';\n min: number;\n max: number;\n }\n | { rule: 'charactersLimit'; type: 'maxBelowMin' }\n | {\n rule: 'specificValues';\n type: 'blank' | 'duplicate';\n optionId: string;\n }\n | {\n rule: 'specificValues' | 'charactersLimit' | 'pattern';\n type: 'exclusiveRules';\n }\n | { rule: 'pattern'; type: 'invalidPattern' | 'unsafePattern' };\n\nexport type DataValidationRules = Partial<\n RequiredValidationRule &\n CharactersLimitValidationRule &\n SpecificValuesValidationRule &\n PatternValidationRule\n>;\n"],"mappings":"","ignoreList":[]}
|