@wix/patterns-fields 1.107.0 → 1.109.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.st.css.js +3 -3
- package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
- package/dist/cjs/components/color-view/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/date-input/cell-date-input.js +21 -2
- package/dist/cjs/components/date-input/cell-date-input.js.map +1 -1
- package/dist/cjs/components/date-input/date-picker-internals.js +93 -3
- package/dist/cjs/components/date-input/date-picker-internals.js.map +1 -1
- package/dist/cjs/components/date-input/form-date-input.driver.js +2 -0
- package/dist/cjs/components/date-input/form-date-input.driver.js.map +1 -1
- package/dist/cjs/components/date-input/form-date-input.js +23 -6
- package/dist/cjs/components/date-input/form-date-input.js.map +1 -1
- package/dist/cjs/components/date-input/use-field-value-replacement.js +48 -0
- package/dist/cjs/components/date-input/use-field-value-replacement.js.map +1 -0
- package/dist/cjs/components/datetime-input/form-date-time.driver.js +3 -0
- package/dist/cjs/components/datetime-input/form-date-time.driver.js.map +1 -1
- package/dist/cjs/components/datetime-input/form-date-time.js +61 -24
- package/dist/cjs/components/datetime-input/form-date-time.js.map +1 -1
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
- package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
- package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
- package/dist/cjs/components/image/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/form-short-text.js +1 -1
- package/dist/cjs/components/text/form-short-text.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/styles.global.css +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/actions/actions-menu/actions-menu.st.css.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/color-view/cell-color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/cell-color-view.st.css.js.map +1 -1
- 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/date-input/cell-date-input.js +21 -2
- package/dist/esm/components/date-input/cell-date-input.js.map +1 -1
- package/dist/esm/components/date-input/date-picker-internals.js +67 -0
- package/dist/esm/components/date-input/date-picker-internals.js.map +1 -1
- package/dist/esm/components/date-input/form-date-input.driver.js +2 -0
- package/dist/esm/components/date-input/form-date-input.driver.js.map +1 -1
- package/dist/esm/components/date-input/form-date-input.js +25 -4
- package/dist/esm/components/date-input/form-date-input.js.map +1 -1
- package/dist/esm/components/date-input/use-field-value-replacement.js +48 -0
- package/dist/esm/components/date-input/use-field-value-replacement.js.map +1 -0
- package/dist/esm/components/datetime-input/form-date-time.driver.js +3 -0
- package/dist/esm/components/datetime-input/form-date-time.driver.js.map +1 -1
- package/dist/esm/components/datetime-input/form-date-time.js +51 -21
- package/dist/esm/components/datetime-input/form-date-time.js.map +1 -1
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/esm/components/document/form-document-field.st.css.js +2 -2
- package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
- package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
- package/dist/esm/components/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/cell-media-edit-shell.st.css.js.map +1 -1
- package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
- package/dist/esm/components/media-image/media-image.st.css.js +3 -3
- package/dist/esm/components/media-image/overlays/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/multi-document-input/form-multi-document.st.css.js +2 -2
- package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/esm/components/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/cell-reference-input.st.css.js.map +1 -1
- 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/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +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/publish-loader/publish-loader.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +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/form-short-text.js +1 -1
- package/dist/esm/components/text/form-short-text.js.map +1 -1
- package/dist/esm/components/text/text-view.st.css.js +2 -2
- package/dist/esm/components/text/text-view.st.css.js.map +1 -1
- package/dist/esm/styles.global.css +1 -1
- package/dist/types/components/audio/actions/actions-menu/actions-menu.st.css.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/color-view/cell-color-view.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/date-input/cell-date-input.d.ts +4 -0
- package/dist/types/components/date-input/cell-date-input.d.ts.map +1 -1
- package/dist/types/components/date-input/date-picker-internals.d.ts +11 -1
- package/dist/types/components/date-input/date-picker-internals.d.ts.map +1 -1
- package/dist/types/components/date-input/form-date-input.d.ts.map +1 -1
- package/dist/types/components/date-input/form-date-input.driver.d.ts +2 -0
- package/dist/types/components/date-input/form-date-input.driver.d.ts.map +1 -1
- package/dist/types/components/date-input/use-field-value-replacement.d.ts +3 -0
- package/dist/types/components/date-input/use-field-value-replacement.d.ts.map +1 -0
- package/dist/types/components/datetime-input/form-date-time.d.ts.map +1 -1
- package/dist/types/components/datetime-input/form-date-time.driver.d.ts +3 -0
- package/dist/types/components/datetime-input/form-date-time.driver.d.ts.map +1 -1
- package/dist/types/components/delete-dialog/delete-dialog.st.css.d.ts.map +1 -1
- package/dist/types/components/media-control/cell-media-edit-shell.st.css.d.ts.map +1 -1
- package/dist/types/components/multi-document/multi-document-input/form-multi-document.st.css.d.ts.map +1 -1
- package/dist/types/components/reference/cell-reference-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.d.ts.map +1 -1
- package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/__tests__/components/date-input/cell-date-input.spec.tsx +100 -0
- package/src/__tests__/components/date-input/date-picker-internals.spec.tsx +69 -0
- package/src/__tests__/components/date-input/form-date-input.spec.tsx +141 -0
- package/src/__tests__/components/datetime-input/form-date-time.spec.tsx +194 -0
- package/src/__tests__/components/text/form-short-text.spec.tsx +27 -0
- package/src/__tests__/form-field.driver.tsx +31 -3
- package/src/__tests__/hooks/use-field-value-replacement.spec.tsx +68 -0
- package/src/components/address/input/address-input.st.css.ts +2 -2
- package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
- package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
- package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
- package/src/components/color-view/cell-color-view.st.css.ts +2 -2
- package/src/components/color-view/color-view.st.css.ts +2 -2
- package/src/components/date-input/cell-date-input.tsx +28 -0
- package/src/components/date-input/date-picker-internals.ts +104 -3
- package/src/components/date-input/form-date-input.driver.ts +2 -0
- package/src/components/date-input/form-date-input.tsx +25 -3
- package/src/components/date-input/use-field-value-replacement.ts +63 -0
- package/src/components/datetime-input/form-date-time.driver.ts +3 -0
- package/src/components/datetime-input/form-date-time.tsx +55 -33
- package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
- package/src/components/document/form-document-field.st.css.ts +2 -2
- package/src/components/exclamation/exclamation.st.css.ts +2 -2
- package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
- package/src/components/image/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/form-short-text.tsx +1 -1
- package/src/components/text/text-view.st.css.ts +2 -2
- package/src/styles.global.css +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.addressinput284533256__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput284533256__tableAddressInput>div{padding:0!important;width:100%}.addressinput284533256__tableAddressInput:focus-within{margin-left:2px}.actionsmenu888069634__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield3517920390__addItem{height:120px!important;box-sizing:border-box}.formaudiofield3517920390__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)}.formaudiofield3517920390__addItem.formaudiofield3517920390--disabled{pointer-events:auto!important}.formaudiofield3517920390__addItem.formaudiofield3517920390--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield3517920390__mediaTitle{line-height:18px!important}.audioplayer2428953851__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}.cellcolorview286528675__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview219149558__view{width:100%}.colorview219149558__fillPreview{flex-shrink:0}.colorview219149558__view .colorview219149558__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog583726014__layout{max-width:510px!important}.formdocumentfield2885947772__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield2885947772__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield2885947772__textWidth{max-width:calc(100% - 196px)}.formdocumentfield2885947772__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield2885947772__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield2885947772__addDocument.formdocumentfield2885947772--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield2885947772__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))}.exclamation3755858428__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation3755858428__exclamation.exclamation3755858428---type-7-warning:not(.exclamation3755858428--customSize),.exclamation3755858428__exclamation.exclamation3755858428---type-5-error:not(.exclamation3755858428--customSize){width:24px;height:24px}.exclamation3755858428__exclamation.exclamation3755858428---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation3755858428__exclamation.exclamation3755858428---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation3755858428__actions{display:flex;flex-direction:column}.exclamation3755858428__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation3755858428__action+.exclamation3755858428__action{margin-top:6px}.exclamation3755858428__action.exclamation3755858428--accented{color:var(--wds-color-blue-100)}.exclamation3755858428__action.exclamation3755858428--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext1906676844__root.highlightedtext1906676844--highlightedBackground{animation:highlightedtext1906676844__highlighted 150ms ease-out 1 forwards}.highlightedtext1906676844__substring.highlightedtext1906676844--isHighlighted{animation:highlightedtext1906676844__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext1906676844__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext1906676844__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay4042840567__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay4042840567__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell191879383__root{width:100%;height:100%}.pasteurlbutton3810410219__root{margin-top:6px}.pasteurlbutton3810410219__iconButtonTooltip{height:max-content}.pasteurlbutton3810410219__iconButton{width:24px;height:24px}.formmediagalleryfield3749399482__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield3749399482__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield3749399482__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield3749399482__addItem{box-sizing:border-box}.formmediagalleryfield3749399482__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield3749399482__image.formmediagalleryfield3749399482--withMarginRight{margin-right:3px}.formmediagalleryfield3749399482__image.formmediagalleryfield3749399482--withMarginTop{margin-top:3px}.formmediagalleryfield3749399482__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield3749399482__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage4122648343__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage4122648343__root.mediaimage4122648343--error{--mediaimage4122648343-from:calc(50% - 0.5px);--mediaimage4122648343-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage4122648343-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage4122648343-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage4122648343-to),transparent var(--mediaimage4122648343-to))}.mediaimage4122648343__root.mediaimage4122648343--error>*{opacity:0}.overlay144838223__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))}.overlay144838223__iconOverlay.overlay144838223---size-5-small{width:20px;height:20px}.overlay144838223__iconOverlay.overlay144838223---size-6-medium{width:24px;height:24px}.overlay144838223__iconOverlay.overlay144838223---size-5-large{width:28px;height:28px}.overlay144838223__iconOverlay.overlay144838223---placement-7-topLeft{top:2px;left:2px}.overlay144838223__iconOverlay.overlay144838223---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag2738441162__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))}.cellmultidocumentedit3719454821__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}.formmultidocument1041780004__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument1041780004__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument1041780004__viewRoot>div:first-child .formmultidocument1041780004__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))}.formmultidocument1041780004__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument1041780004__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument1041780004__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))}.formmultidocument1041780004__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))}.cellmultireferenceinput1082708293__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}.cellreferenceinput3730533748__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput3730533748__autocomplete{width:100%}.richcontentdefaultvalueinput1448867783__richContentEditorContainer .richcontentdefaultvalueinput1448867783__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput1479474171__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));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richcontentforminput1479474171__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))}.richcontentforminput1479474171__root .richcontentforminput1479474171__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput781558141__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput781558141__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal472327811__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}.publishloader2545286195__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton1326943279__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton1326943279__root button{border-radius:6px!important}.richcontenteditor1691571264__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor1691571264__root,.richcontenteditor1691571264__toolbarContainer,.richcontenteditor1691571264__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor1691571264__toolbarContainer div{box-sizing:border-box}.richcontenteditor1691571264__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor1691571264__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor1691571264__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor1691571264__modalEditor .richcontenteditor1691571264__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor1691571264__modalEditor .richcontenteditor1691571264__footerToolbarContainer{margin-top:9px}.richcontenteditor1691571264__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor1691571264__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar1401825364__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}.richcontenttoolbar1401825364__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar1401825364__toolbarButton:disabled{color:graytext}.richcontenttoolbar1401825364__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar1401825364__toolbar label{padding:0 8px}.richcontentviewer2020452597__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer2020452597__root.richcontentviewer2020452597--isFullScreen{padding:12px 24px}.richcontentviewer2020452597__root:not(.richcontentviewer2020452597--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer2020452597__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer2020452597__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer2020452597__modalViewer{min-width:592px;overflow:auto}.richtexteditor1091548759__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))}.richtexteditor1091548759__root.richtexteditor1091548759---border-4-none{border:0}.richtexteditor1091548759__root.richtexteditor1091548759---border-8-standard{border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richtexteditor1091548759__root.richtexteditor1091548759---border-8-standard:focus,.richtexteditor1091548759__root.richtexteditor1091548759---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))}.richtexteditor1091548759__root.richtexteditor1091548759---border-8-standard.richtexteditor1091548759---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor1091548759__root.richtexteditor1091548759---border-8-standard.richtexteditor1091548759---status-5-error:focus,.richtexteditor1091548759__root.richtexteditor1091548759---border-8-standard.richtexteditor1091548759---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))}.richtexteditor1091548759__root.richtexteditor1091548759---border-8-standard.richtexteditor1091548759---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor1091548759__root.richtexteditor1091548759---border-8-standard.richtexteditor1091548759---status-7-warning:focus,.richtexteditor1091548759__root.richtexteditor1091548759---border-8-standard.richtexteditor1091548759---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))}.richtexteditor1091548759__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor1091548759__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))}.richtexteditor1091548759__editor.richtexteditor1091548759--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor1091548759__editor:not(.richtexteditor1091548759--isFullScreen){max-height:80vh}.richtexteditor1091548759__editor>div{flex:1;max-width:100%}.toolbar1533098842__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar1533098842__item{display:flex;margin-right:12px}.toolbar1533098842__item svg,.toolbar1533098842__item svg path,.toolbar1533098842__item svg text{color:inherit;fill:currentColor}.toolbar1533098842__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar1533098842__clearFormatting{margin-left:auto}.toolbar1533098842__fullScreen{margin-right:0}.toolbar1533098842__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar1533098842__dropdownItemContent.toolbar1533098842--selected .toolbar1533098842__dropdownItemTitle,.toolbar1533098842__dropdownItemContent.toolbar1533098842--selected .toolbar1533098842__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar1533098842__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar1533098842__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}.toolbar1533098842__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}.toolbar1533098842__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}.toolbar1533098842__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}.toolbar1533098842__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}.toolbar1533098842__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}.toolbar1533098842__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}.toolbar1533098842__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}.toolbar1533098842__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}.textview434926454__textView::after{content:"";display:block}.richeditor2693689231__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))}.richeditor2693689231__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))}.richeditor2693689231__editor .DraftEditor-root{width:100%;height:100%}.richeditor2693689231__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor2693689231__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richeditor2693689231__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor2693689231__editor .public-DraftEditor-content ol,.richeditor2693689231__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor2693689231__editor .public-DraftEditor-content a,.richeditor2693689231__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor2693689231__header-one:not(li),.richeditor2693689231__header-two:not(li),.richeditor2693689231__header-three:not(li),.richeditor2693689231__header-four:not(li),.richeditor2693689231__header-five:not(li),.richeditor2693689231__header-six:not(li){margin-block:0;margin:0}.richeditor2693689231__header-one,.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__header-two,.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__header-three,.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__header-four,.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__header-five,.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__header-six,.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__paragraph-one,.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__unstyled,.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__paragraph-three,.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__editor li.richeditor2693689231__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__editor li.richeditor2693689231__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__editor li.richeditor2693689231__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__editor li.richeditor2693689231__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__editor li.richeditor2693689231__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__editor li.richeditor2693689231__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__editor li.richeditor2693689231__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)))}.richeditor2693689231__editor li.richeditor2693689231__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}.richeditor2693689231__align-left{text-align:left;align-self:flex-start}.richeditor2693689231__align-right{text-align:right;align-self:flex-end}.richeditor2693689231__align-center{text-align:center;align-self:center}.richeditor2693689231__align-justify{text-align:justify;align-self:stretch}.richeditor2693689231__withMargin{display:inline-block}.richeditor2693689231__dir-rtl,.richeditor2693689231__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor2693689231__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
1
|
+
.addressinput310286819__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput310286819__tableAddressInput>div{padding:0!important;width:100%}.addressinput310286819__tableAddressInput:focus-within{margin-left:2px}.actionsmenu2642433213__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield793983115__addItem{height:120px!important;box-sizing:border-box}.formaudiofield793983115__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)}.formaudiofield793983115__addItem.formaudiofield793983115--disabled{pointer-events:auto!important}.formaudiofield793983115__addItem.formaudiofield793983115--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield793983115__mediaTitle{line-height:18px!important}.audioplayer1089993499__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}.cellcolorview2172636651__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview2743015308__view{width:100%}.colorview2743015308__fillPreview{flex-shrink:0}.colorview2743015308__view .colorview2743015308__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog1225943861__layout{max-width:510px!important}.formdocumentfield1544228680__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield1544228680__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield1544228680__textWidth{max-width:calc(100% - 196px)}.formdocumentfield1544228680__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield1544228680__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield1544228680__addDocument.formdocumentfield1544228680--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield1544228680__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))}.exclamation2206936122__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation2206936122__exclamation.exclamation2206936122---type-7-warning:not(.exclamation2206936122--customSize),.exclamation2206936122__exclamation.exclamation2206936122---type-5-error:not(.exclamation2206936122--customSize){width:24px;height:24px}.exclamation2206936122__exclamation.exclamation2206936122---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation2206936122__exclamation.exclamation2206936122---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation2206936122__actions{display:flex;flex-direction:column}.exclamation2206936122__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation2206936122__action+.exclamation2206936122__action{margin-top:6px}.exclamation2206936122__action.exclamation2206936122--accented{color:var(--wds-color-blue-100)}.exclamation2206936122__action.exclamation2206936122--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext3225126305__root.highlightedtext3225126305--highlightedBackground{animation:highlightedtext3225126305__highlighted 150ms ease-out 1 forwards}.highlightedtext3225126305__substring.highlightedtext3225126305--isHighlighted{animation:highlightedtext3225126305__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext3225126305__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext3225126305__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay4168077699__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay4168077699__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell2380148196__root{width:100%;height:100%}.pasteurlbutton1715181103__root{margin-top:6px}.pasteurlbutton1715181103__iconButtonTooltip{height:max-content}.pasteurlbutton1715181103__iconButton{width:24px;height:24px}.formmediagalleryfield3059241841__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield3059241841__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield3059241841__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield3059241841__addItem{box-sizing:border-box}.formmediagalleryfield3059241841__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield3059241841__image.formmediagalleryfield3059241841--withMarginRight{margin-right:3px}.formmediagalleryfield3059241841__image.formmediagalleryfield3059241841--withMarginTop{margin-top:3px}.formmediagalleryfield3059241841__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield3059241841__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage3444480295__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage3444480295__root.mediaimage3444480295--error{--mediaimage3444480295-from:calc(50% - 0.5px);--mediaimage3444480295-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage3444480295-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3444480295-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3444480295-to),transparent var(--mediaimage3444480295-to))}.mediaimage3444480295__root.mediaimage3444480295--error>*{opacity:0}.overlay123276272__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))}.overlay123276272__iconOverlay.overlay123276272---size-5-small{width:20px;height:20px}.overlay123276272__iconOverlay.overlay123276272---size-6-medium{width:24px;height:24px}.overlay123276272__iconOverlay.overlay123276272---size-5-large{width:28px;height:28px}.overlay123276272__iconOverlay.overlay123276272---placement-7-topLeft{top:2px;left:2px}.overlay123276272__iconOverlay.overlay123276272---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag1892999247__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))}.cellmultidocumentedit3949318771__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}.formmultidocument860828417__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument860828417__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument860828417__viewRoot>div:first-child .formmultidocument860828417__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))}.formmultidocument860828417__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument860828417__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument860828417__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))}.formmultidocument860828417__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))}.cellmultireferenceinput3549115440__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}.cellreferenceinput825148666__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput825148666__autocomplete{width:100%}.richcontentdefaultvalueinput136872786__richContentEditorContainer .richcontentdefaultvalueinput136872786__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput1980338327__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));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richcontentforminput1980338327__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))}.richcontentforminput1980338327__root .richcontentforminput1980338327__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput4171215455__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput4171215455__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal191907069__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}.publishloader3452678746__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton1124921780__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton1124921780__root button{border-radius:6px!important}.richcontenteditor2665333597__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor2665333597__root,.richcontenteditor2665333597__toolbarContainer,.richcontenteditor2665333597__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor2665333597__toolbarContainer div{box-sizing:border-box}.richcontenteditor2665333597__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor2665333597__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor2665333597__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor2665333597__modalEditor .richcontenteditor2665333597__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor2665333597__modalEditor .richcontenteditor2665333597__footerToolbarContainer{margin-top:9px}.richcontenteditor2665333597__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor2665333597__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar2552606762__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}.richcontenttoolbar2552606762__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar2552606762__toolbarButton:disabled{color:graytext}.richcontenttoolbar2552606762__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar2552606762__toolbar label{padding:0 8px}.richcontentviewer3000865605__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer3000865605__root.richcontentviewer3000865605--isFullScreen{padding:12px 24px}.richcontentviewer3000865605__root:not(.richcontentviewer3000865605--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer3000865605__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer3000865605__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer3000865605__modalViewer{min-width:592px;overflow:auto}.richtexteditor2889069631__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))}.richtexteditor2889069631__root.richtexteditor2889069631---border-4-none{border:0}.richtexteditor2889069631__root.richtexteditor2889069631---border-8-standard{border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richtexteditor2889069631__root.richtexteditor2889069631---border-8-standard:focus,.richtexteditor2889069631__root.richtexteditor2889069631---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))}.richtexteditor2889069631__root.richtexteditor2889069631---border-8-standard.richtexteditor2889069631---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor2889069631__root.richtexteditor2889069631---border-8-standard.richtexteditor2889069631---status-5-error:focus,.richtexteditor2889069631__root.richtexteditor2889069631---border-8-standard.richtexteditor2889069631---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))}.richtexteditor2889069631__root.richtexteditor2889069631---border-8-standard.richtexteditor2889069631---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor2889069631__root.richtexteditor2889069631---border-8-standard.richtexteditor2889069631---status-7-warning:focus,.richtexteditor2889069631__root.richtexteditor2889069631---border-8-standard.richtexteditor2889069631---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))}.richtexteditor2889069631__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor2889069631__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))}.richtexteditor2889069631__editor.richtexteditor2889069631--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor2889069631__editor:not(.richtexteditor2889069631--isFullScreen){max-height:80vh}.richtexteditor2889069631__editor>div{flex:1;max-width:100%}.toolbar2702787742__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar2702787742__item{display:flex;margin-right:12px}.toolbar2702787742__item svg,.toolbar2702787742__item svg path,.toolbar2702787742__item svg text{color:inherit;fill:currentColor}.toolbar2702787742__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar2702787742__clearFormatting{margin-left:auto}.toolbar2702787742__fullScreen{margin-right:0}.toolbar2702787742__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar2702787742__dropdownItemContent.toolbar2702787742--selected .toolbar2702787742__dropdownItemTitle,.toolbar2702787742__dropdownItemContent.toolbar2702787742--selected .toolbar2702787742__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar2702787742__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar2702787742__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}.toolbar2702787742__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}.toolbar2702787742__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}.toolbar2702787742__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}.toolbar2702787742__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}.toolbar2702787742__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}.toolbar2702787742__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}.toolbar2702787742__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}.toolbar2702787742__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}.textview3828631510__textView::after{content:"";display:block}.richeditor4285257250__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))}.richeditor4285257250__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))}.richeditor4285257250__editor .DraftEditor-root{width:100%;height:100%}.richeditor4285257250__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor4285257250__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richeditor4285257250__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor4285257250__editor .public-DraftEditor-content ol,.richeditor4285257250__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor4285257250__editor .public-DraftEditor-content a,.richeditor4285257250__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor4285257250__header-one:not(li),.richeditor4285257250__header-two:not(li),.richeditor4285257250__header-three:not(li),.richeditor4285257250__header-four:not(li),.richeditor4285257250__header-five:not(li),.richeditor4285257250__header-six:not(li){margin-block:0;margin:0}.richeditor4285257250__header-one,.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__header-two,.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__header-three,.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__header-four,.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__header-five,.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__header-six,.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__paragraph-one,.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__unstyled,.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__paragraph-three,.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__editor li.richeditor4285257250__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__editor li.richeditor4285257250__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__editor li.richeditor4285257250__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__editor li.richeditor4285257250__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__editor li.richeditor4285257250__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__editor li.richeditor4285257250__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__editor li.richeditor4285257250__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)))}.richeditor4285257250__editor li.richeditor4285257250__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}.richeditor4285257250__align-left{text-align:left;align-self:flex-start}.richeditor4285257250__align-right{text-align:right;align-self:flex-end}.richeditor4285257250__align-center{text-align:center;align-self:center}.richeditor4285257250__align-justify{text-align:justify;align-self:stretch}.richeditor4285257250__withMargin{display:inline-block}.richeditor4285257250__dir-rtl,.richeditor4285257250__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor4285257250__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "addressinput310286819";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "addressinput310286819__root", "tableAddressInput": "addressinput310286819__tableAddressInput" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "actionsmenu2642433213";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "actionsmenu2642433213__root", "action": "actionsmenu2642433213__action" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions-menu.st.css.js","sourceRoot":"","sources":["../../../../../../src/components/audio/actions/actions-menu/actions-menu.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAIpF,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"actions-menu.st.css.js","sourceRoot":"","sources":["../../../../../../src/components/audio/actions/actions-menu/actions-menu.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAIpF,IAAI,WAAW,GAAG,uBAAuB,CAAC;AAC1C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,6BAA6B,EAAC,QAAQ,EAAC,+BAA+B,EAAC,CAAC;AACrG,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,eAAe,EAAC,iBAAiB,EAAC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "formaudiofield793983115";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "formaudiofield793983115__root", "addItem": "formaudiofield793983115__addItem", "mediaTitle": "formaudiofield793983115__mediaTitle" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-audio-field.st.css.js","sourceRoot":"","sources":["../../../../../src/components/audio/audio-field/form-audio-field.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjF,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"form-audio-field.st.css.js","sourceRoot":"","sources":["../../../../../src/components/audio/audio-field/form-audio-field.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjF,IAAI,WAAW,GAAG,yBAAyB,CAAC;AAC5C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,+BAA+B,EAAC,SAAS,EAAC,kCAAkC,EAAC,YAAY,EAAC,qCAAqC,EAAC,CAAC;AAC9J,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,mBAAmB,EAAC,qBAAqB,EAAC,oBAAoB,EAAC,sBAAsB,EAAC,uBAAuB,EAAC,yBAAyB,EAAC,iCAAiC,EAAC,mCAAmC,EAAC,eAAe,EAAC,iBAAiB,EAAC,eAAe,EAAC,iBAAiB,EAAC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "audioplayer1089993499";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "audioplayer1089993499__root" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "cellcolorview2172636651";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "cellcolorview2172636651__root", "hashPrefix": "cellcolorview2172636651__hashPrefix" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/cell-color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"cell-color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/cell-color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,yBAAyB,CAAC;AAC5C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,+BAA+B,EAAC,YAAY,EAAC,qCAAqC,EAAC,CAAC;AACjH,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,eAAe,EAAC,iBAAiB,EAAC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "colorview2743015308";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "colorview2743015308__root", "view": "colorview2743015308__view", "fillPreview": "colorview2743015308__fillPreview" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,qBAAqB,CAAC;AACxC,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,2BAA2B,EAAC,MAAM,EAAC,2BAA2B,EAAC,aAAa,EAAC,kCAAkC,EAAC,CAAC;AAC9I,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback, useImperativeHandle, useRef, } from 'react';
|
|
2
2
|
import { DatePicker } from '@wix/design-system';
|
|
3
|
-
import { closeDatePickerCalendar, getDatePickerInputElement, } from './date-picker-internals';
|
|
3
|
+
import { closeDatePickerCalendar, typedDateInputProps, getDatePickerInputElement, } from './date-picker-internals';
|
|
4
4
|
/**
|
|
5
5
|
* Cell-layer Date input. Wraps WDS `<DatePicker>` with cell-edit semantics:
|
|
6
6
|
* - `onChange` fires on every WDS onChange (typing-driven valid date or
|
|
@@ -11,8 +11,9 @@ import { closeDatePickerCalendar, getDatePickerInputElement, } from './date-pick
|
|
|
11
11
|
* - Exposes `focus` / `openCalendar` / `closeCalendar` via imperative handle
|
|
12
12
|
* so consumers can drive type-to-edit and scroll-close behaviors.
|
|
13
13
|
*/
|
|
14
|
-
export const CellDateInput = forwardRef(({ value, onChange, onClear, inputRef, dataHook, placeholder, ariaLabel, hidePrefix, popoverProps, }, forwardedRef) => {
|
|
14
|
+
export const CellDateInput = forwardRef(({ value, onChange, onEmpty, onEnter, onClear, inputRef, dataHook, placeholder, ariaLabel, hidePrefix, popoverProps, }, forwardedRef) => {
|
|
15
15
|
const datePickerRef = useRef(null);
|
|
16
|
+
const inputElementRef = useRef(null);
|
|
16
17
|
useImperativeHandle(forwardedRef, () => ({
|
|
17
18
|
focus: () => getDatePickerInputElement(datePickerRef.current)?.focus(),
|
|
18
19
|
openCalendar: () => datePickerRef.current?.openCalendar?.(),
|
|
@@ -21,12 +22,30 @@ export const CellDateInput = forwardRef(({ value, onChange, onClear, inputRef, d
|
|
|
21
22
|
const handleChange = useCallback((date) => {
|
|
22
23
|
onChange?.(date);
|
|
23
24
|
}, [onChange]);
|
|
25
|
+
const handleEmptyEnter = useCallback(() => {
|
|
26
|
+
if (onEnter) {
|
|
27
|
+
onEnter(null);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
onEmpty?.();
|
|
31
|
+
}, [onEnter, onEmpty]);
|
|
32
|
+
const handlesTypedInput = Boolean(onEmpty || onEnter);
|
|
24
33
|
const validValue = value instanceof Date && !isNaN(value.getTime()) ? value : undefined;
|
|
25
34
|
return (React.createElement(DatePicker, { ref: datePickerRef, dataHook: dataHook, size: "small", width: "100%", value: validValue, onChange: handleChange, clearButton: !!onClear && !!validValue, onClear: onClear, placeholderText: placeholder, popoverProps: popoverProps ?? { appendTo: 'window', moveBy: { y: 4 } }, inputProps: {
|
|
26
35
|
border: 'none',
|
|
27
36
|
...(hidePrefix ? { prefix: React.createElement("span", null) } : {}),
|
|
28
37
|
...(ariaLabel ? { ariaLabel } : {}),
|
|
38
|
+
...(handlesTypedInput
|
|
39
|
+
? typedDateInputProps({
|
|
40
|
+
picker: datePickerRef,
|
|
41
|
+
input: inputElementRef,
|
|
42
|
+
onEmpty,
|
|
43
|
+
onEmptyEnter: handleEmptyEnter,
|
|
44
|
+
onEnter,
|
|
45
|
+
})
|
|
46
|
+
: {}),
|
|
29
47
|
inputRef: (el) => {
|
|
48
|
+
inputElementRef.current = el;
|
|
30
49
|
if (inputRef) {
|
|
31
50
|
inputRef.current = el ?? undefined;
|
|
32
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-date-input.js","sourceRoot":"","sources":["../../../../src/components/date-input/cell-date-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,MAAM,GACP,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EACL,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"cell-date-input.js","sourceRoot":"","sources":["../../../../src/components/date-input/cell-date-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,MAAM,GACP,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,yBAAyB,CAAC;AAwCjC;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|
export const closeDatePickerCalendar = (picker) => {
|
|
3
3
|
picker?._closeCalendar?.();
|
|
4
4
|
};
|
|
5
|
+
// WDS skips `onChange` when the picked day is the day of its `value` prop.
|
|
6
|
+
// This reports that pick through `onPick` and returns a function that undoes it.
|
|
7
|
+
export const onSameDayCalendarPick = (picker, onPick) => {
|
|
8
|
+
const internals = picker;
|
|
9
|
+
const handleChange = internals?._handleChange;
|
|
10
|
+
if (!internals || !handleChange) {
|
|
11
|
+
return () => { };
|
|
12
|
+
}
|
|
13
|
+
internals._handleChange = (date, modifiers) => {
|
|
14
|
+
handleChange(date, modifiers);
|
|
15
|
+
const { value } = internals.props;
|
|
16
|
+
// Same guard as WDS `_saveNewValue`.
|
|
17
|
+
if (value?.toDateString() === date.toDateString() && !modifiers?.disabled) {
|
|
18
|
+
onPick(date);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
return () => {
|
|
22
|
+
internals._handleChange = handleChange;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
const isValidDate = (date) => date !== null && !isNaN(date.getTime());
|
|
26
|
+
// WDS parses empty input text as today. These `inputProps` handlers report an
|
|
27
|
+
// emptied input through `onEmpty` and Enter on it through `onEmptyEnter`
|
|
28
|
+
// instead, send typed dates to `onType` when it is given (the picker's
|
|
29
|
+
// `onChange` otherwise), and Enter on a typed date to `onEnter`. An event
|
|
30
|
+
// without its callback goes to the picker as before. Calendar picks don't go
|
|
31
|
+
// through them.
|
|
32
|
+
// WDS thread: https://wix.slack.com/archives/C39FTGUBZ/p1790691851370229
|
|
33
|
+
export const typedDateInputProps = ({ picker, input, onEmpty, onEmptyEnter, onType, onEnter, }) => {
|
|
34
|
+
const internals = () => picker.current;
|
|
35
|
+
const isEmpty = () => input.current?.value === '';
|
|
36
|
+
const takeOverEnter = (event) => {
|
|
37
|
+
event.preventDefault();
|
|
38
|
+
closeDatePickerCalendar(picker.current);
|
|
39
|
+
};
|
|
40
|
+
const handlers = {
|
|
41
|
+
onChange: (change) => {
|
|
42
|
+
if (onEmpty && isEmpty()) {
|
|
43
|
+
onEmpty();
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
if (onType) {
|
|
47
|
+
onType(change.dateVal);
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
internals()?._handleInputChange?.(change);
|
|
51
|
+
},
|
|
52
|
+
onKeyDown: (event, date) => {
|
|
53
|
+
if (event.key === 'Enter') {
|
|
54
|
+
const isInputEmpty = isEmpty();
|
|
55
|
+
if (isInputEmpty && onEmptyEnter) {
|
|
56
|
+
takeOverEnter(event);
|
|
57
|
+
onEmptyEnter();
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
if (!isInputEmpty && onEnter && isValidDate(date)) {
|
|
61
|
+
takeOverEnter(event);
|
|
62
|
+
onEnter(date);
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
internals()?._handleKeyDown?.(event, date);
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
// DatePicker passes `inputProps` to its inner DateInput, not to `<Input>`.
|
|
70
|
+
return handlers;
|
|
71
|
+
};
|
|
5
72
|
//# sourceMappingURL=date-picker-internals.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker-internals.js","sourceRoot":"","sources":["../../../../src/components/date-input/date-picker-internals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date-picker-internals.js","sourceRoot":"","sources":["../../../../src/components/date-input/date-picker-internals.ts"],"names":[],"mappings":"AAiCA,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACvC,MAAqC,EACP,EAAE,CAC/B,MAAqD,EAAE,KAAK,EAAE,QAAQ,CAAC;AAE1E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,MAAqC,EAC/B,EAAE;IACP,MAAqD,EAAE,cAAc,EAAE,EAAE,CAAC;AAC7E,CAAC,CAAC;AAEF,2EAA2E;AAC3E,iFAAiF;AACjF,MAA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),
|
|
11
11
|
datePickerExists: () => datePickerBase.exists(),
|
|
12
12
|
enterText: (text) => datePicker.inputDriver.enterText(text),
|
|
13
|
+
getValue: () => datePicker.inputDriver.getValue(),
|
|
13
14
|
blur: () => datePicker.inputDriver.blur(),
|
|
15
|
+
selectDate: (date) => datePicker.calendarDriver.clickDay(date),
|
|
14
16
|
hasError: () => datePicker.inputDriver.hasStatus('error'),
|
|
15
17
|
getErrorMessage: () => datePicker.inputDriver.getStatusMessage(),
|
|
16
18
|
isRequired: () => formField.isRequired(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-date-input.driver.js","sourceRoot":"","sources":["../../../../src/components/date-input/form-date-input.driver.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE,MAAM,UAAU,mBAAmB,CACjC,IAAe,EACf,IAAe,EACf,KAAY;IAEZ,MAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACjD,MAAM,cAAc,GAAG,IAAI,CAAC,CAAC,CAAC,oBAAoB,KAAK,CAAC,EAAE,IAAI,CAAC,CAAC;IAChE,MAAM,UAAU,GAAG,mBAAmB,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;IAE7D,OAAO;QACL,GAAG,oBAAoB,CAAC,IAAI,CAAC;QAC7B,QAAQ,EAAE,GAAG,EAAE,CAAC,qBAAqB,CAAC,SAAS,CAAC;QAChD,gBAAgB,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,MAAM,EAAE;QAC/C,SAAS,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,IAAI,CAAC;QACnE,IAAI,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,EAAE;QACzC,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC;QACzD,eAAe,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,gBAAgB,EAAE;QAChE,UAAU,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,EAAE;QACxC,eAAe,EAAE,wBAAwB,CAAC,UAAU,EAAE,IAAI,CAAC;KAC5D,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"form-date-input.driver.js","sourceRoot":"","sources":["../../../../src/components/date-input/form-date-input.driver.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE,MAAM,UAAU,mBAAmB,CACjC,IAAe,EACf,IAAe,EACf,KAAY;IAEZ,MAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACjD,MAAM,cAAc,GAAG,IAAI,CAAC,CAAC,CAAC,oBAAoB,KAAK,CAAC,EAAE,IAAI,CAAC,CAAC;IAChE,MAAM,UAAU,GAAG,mBAAmB,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;IAE7D,OAAO;QACL,GAAG,oBAAoB,CAAC,IAAI,CAAC;QAC7B,QAAQ,EAAE,GAAG,EAAE,CAAC,qBAAqB,CAAC,SAAS,CAAC;QAChD,gBAAgB,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,MAAM,EAAE;QAC/C,SAAS,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,IAAI,CAAC;QACnE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,QAAQ,EAAE;QACjD,IAAI,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,EAAE;QACzC,UAAU,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC;QACpE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC;QACzD,eAAe,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,gBAAgB,EAAE;QAChE,UAAU,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,UAAU,EAAE;QACxC,eAAe,EAAE,wBAAwB,CAAC,UAAU,EAAE,IAAI,CAAC;KAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -6,14 +6,18 @@ import { useController } from '@wix/bex-core/form';
|
|
|
6
6
|
import { useTranslations } from '../../hooks';
|
|
7
7
|
import { isEmpty } from '../../validations/string';
|
|
8
8
|
import { calendarPopoverDefaults } from '../popover-defaults';
|
|
9
|
+
import { useFieldValueReplacement } from './use-field-value-replacement';
|
|
9
10
|
import { getDateWithoutTimezone, getISODateStringWithFixedTimezone, } from './date-utils';
|
|
10
11
|
const _FormDateInput = (props) => {
|
|
11
12
|
const { field, dataHook, inputRef, formControl, data } = props;
|
|
12
13
|
const { translate: t } = useWixPatternsContainer();
|
|
13
14
|
const { t: tFields } = useTranslations();
|
|
15
|
+
const inputError = useRef('');
|
|
14
16
|
const computeError = (value, format, validationType) => {
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
17
|
+
if (isEmpty(value)) {
|
|
18
|
+
return field.validation?.required
|
|
19
|
+
? t('cairo.fieldValidation.requiredField')
|
|
20
|
+
: '';
|
|
17
21
|
}
|
|
18
22
|
if (validationType === 'formatError' && format) {
|
|
19
23
|
return t('cairo.customFields.fieldType.date.invalid.value', {
|
|
@@ -28,7 +32,7 @@ const _FormDateInput = (props) => {
|
|
|
28
32
|
defaultValue: data?.[field?.id ?? ''],
|
|
29
33
|
rules: {
|
|
30
34
|
validate: (value) => {
|
|
31
|
-
const error = computeError(value);
|
|
35
|
+
const error = inputError.current || computeError(value);
|
|
32
36
|
return error || true;
|
|
33
37
|
},
|
|
34
38
|
},
|
|
@@ -43,8 +47,17 @@ const _FormDateInput = (props) => {
|
|
|
43
47
|
});
|
|
44
48
|
const ref = useRef({});
|
|
45
49
|
const [errorMessage, setErrorMessage] = useState('');
|
|
50
|
+
const revision = useFieldValueReplacement(formControl, field.id, (value) => {
|
|
51
|
+
inputError.current = '';
|
|
52
|
+
setErrorMessage('');
|
|
53
|
+
ref.current.invalid = false;
|
|
54
|
+
const iso = typeof value === 'string'
|
|
55
|
+
? getISODateStringWithFixedTimezone(value)
|
|
56
|
+
: undefined;
|
|
57
|
+
setDate(iso ? getDateWithoutTimezone(iso) : undefined);
|
|
58
|
+
});
|
|
46
59
|
return (React.createElement(FormField, { label: field.displayName, required: field.validation?.required, statusMessage: errorMessage, dataHook: dataHook },
|
|
47
|
-
React.createElement(DatePicker, { ref: (internalRef) => {
|
|
60
|
+
React.createElement(DatePicker, { key: revision, ref: (internalRef) => {
|
|
48
61
|
inputRef?.(ref.current);
|
|
49
62
|
const inputEl =
|
|
50
63
|
// @ts-expect-error: WSR internal API hack for focusing
|
|
@@ -54,6 +67,9 @@ const _FormDateInput = (props) => {
|
|
|
54
67
|
// when it blocks save.
|
|
55
68
|
controller.field.ref(inputEl ?? null);
|
|
56
69
|
}, dataHook: `date-${field.id}`, popoverProps: calendarPopoverDefaults, width: "100%", placeholderText: tFields('CMS.formDate.placeholder'), value: date, onChange: (newValue) => {
|
|
70
|
+
inputError.current = '';
|
|
71
|
+
setErrorMessage('');
|
|
72
|
+
ref.current.invalid = false;
|
|
57
73
|
setDate(newValue);
|
|
58
74
|
const formattedDate = newValue
|
|
59
75
|
? getISODateStringWithFixedTimezone(newValue)
|
|
@@ -61,12 +77,17 @@ const _FormDateInput = (props) => {
|
|
|
61
77
|
controller.field.onChange(formattedDate?.split('T')[0] ?? null);
|
|
62
78
|
}, onValidate: ({ validationType, value: newValue, format }) => {
|
|
63
79
|
const error = computeError(newValue, format, validationType);
|
|
80
|
+
inputError.current = error;
|
|
64
81
|
setErrorMessage(error);
|
|
65
82
|
ref.current.invalid = !!error;
|
|
66
83
|
if (validationType === 'formatError' && newValue === '') {
|
|
67
84
|
setDate(undefined);
|
|
68
85
|
controller.field.onChange(null);
|
|
69
86
|
}
|
|
87
|
+
else {
|
|
88
|
+
// Invalid text does not change the stored date, but must revalidate it.
|
|
89
|
+
controller.field.onChange(controller.field.value);
|
|
90
|
+
}
|
|
70
91
|
}, status: errorMessage ? 'error' : undefined, statusMessage: errorMessage })));
|
|
71
92
|
};
|
|
72
93
|
export const FormDateInput = observer(_FormDateInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-date-input.js","sourceRoot":"","sources":["../../../../src/components/date-input/form-date-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,sBAAsB,EACtB,iCAAiC,GAClC,MAAM,cAAc,CAAC;AAItB,MAAM,cAAc,GAAG,CAAC,KAAyB,EAAE,EAAE;IACnD,MAAM,EAAE,KAAK,EAAE,QAA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AAY,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,EAC1C,aAAa,EAAE,YAAY,GAC3B,CACQ,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { useEffect, useRef, useState } from 'react';
|
|
2
|
+
import { get } from '@wix/bex-core/form';
|
|
3
|
+
export function useFieldValueReplacement(control, name, onReplace) {
|
|
4
|
+
const callback = useRef(onReplace);
|
|
5
|
+
callback.current = onReplace;
|
|
6
|
+
// A new key discards the picker's draft even when its saved value is unchanged.
|
|
7
|
+
const [revision, setRevision] = useState(0);
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
// Control has no public reset listener. Input edits carry a type; setValue
|
|
10
|
+
// does not. Older RHF releases have a separate values subject.
|
|
11
|
+
const subjects = control._subjects;
|
|
12
|
+
const values = subjects?.values ?? subjects?.state;
|
|
13
|
+
const array = subjects?.array;
|
|
14
|
+
// Reset cleanup is optional; an incompatible RHF version must not crash the field.
|
|
15
|
+
if (typeof values?.subscribe !== 'function' ||
|
|
16
|
+
typeof array?.subscribe !== 'function') {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const subscription = values.subscribe({
|
|
20
|
+
next: (update) => {
|
|
21
|
+
if (!update.values ||
|
|
22
|
+
!update.name ||
|
|
23
|
+
update.type ||
|
|
24
|
+
(update.name !== name && !name.startsWith(`${update.name}.`))) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
callback.current(get(update.values, name));
|
|
28
|
+
setRevision((value) => value + 1);
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
// Reset broadcasts here even for unchanged values. Unlike the state
|
|
32
|
+
// subject, this does not fire when an unrelated field unregisters.
|
|
33
|
+
const resets = array.subscribe({
|
|
34
|
+
next: (update) => {
|
|
35
|
+
if (!update.name && update.values) {
|
|
36
|
+
callback.current(get(update.values, name));
|
|
37
|
+
setRevision((value) => value + 1);
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
return () => {
|
|
42
|
+
subscription?.unsubscribe?.();
|
|
43
|
+
resets?.unsubscribe?.();
|
|
44
|
+
};
|
|
45
|
+
}, [control, name]);
|
|
46
|
+
return revision;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=use-field-value-replacement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-field-value-replacement.js","sourceRoot":"","sources":["../../../../src/components/date-input/use-field-value-replacement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAGzC,MAAM,UAAU,wBAAwB,CACtC,OAAgB,EAChB,IAAY,EACZ,SAAmC;IAEnC,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;IACnC,QAAQ,CAAC,OAAO,GAAG,SAAS,CAAC;IAC7B,gFAAgF;IAChF,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAE5C,SAAS,CAAC,GAAG,EAAE;QACb,2EAA2E;QAC3E,+DAA+D;QAC/D,MAAM,QAAQ,GAIE,OAAO,CAAC,SAAS,CAAC;QAClC,MAAM,MAAM,GAAG,QAAQ,EAAE,MAAM,IAAI,QAAQ,EAAE,KAAK,CAAC;QACnD,MAAM,KAAK,GAAG,QAAQ,EAAE,KAAK,CAAC;QAC9B,mFAAmF;QACnF,IACE,OAAO,MAAM,EAAE,SAAS,KAAK,UAAU;YACvC,OAAO,KAAK,EAAE,SAAS,KAAK,UAAU,EACtC,CAAC;YACD,OAAO;QACT,CAAC;QACD,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC;YACpC,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE;gBACf,IACE,CAAC,MAAM,CAAC,MAAM;oBACd,CAAC,MAAM,CAAC,IAAI;oBACZ,MAAM,CAAC,IAAI;oBACX,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC,EAC7D,CAAC;oBACD,OAAO;gBACT,CAAC;gBACD,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;gBAC3C,WAAW,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YACpC,CAAC;SACF,CAAC,CAAC;QACH,oEAAoE;QACpE,mEAAmE;QACnE,MAAM,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;YAC7B,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE;gBACf,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;oBAClC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;oBAC3C,WAAW,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;gBACpC,CAAC;YACH,CAAC;SACF,CAAC,CAAC;QACH,OAAO,GAAG,EAAE;YACV,YAAY,EAAE,WAAW,EAAE,EAAE,CAAC;YAC9B,MAAM,EAAE,WAAW,EAAE,EAAE,CAAC;QAC1B,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEpB,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -13,7 +13,10 @@ export function FormDateTimeDriver(base, body, field) {
|
|
|
13
13
|
dateExists: () => dateBase.exists(),
|
|
14
14
|
timeExists: () => timeBase.exists(),
|
|
15
15
|
enterDateText: (text) => datePicker.inputDriver.enterText(text),
|
|
16
|
+
getDateText: () => datePicker.inputDriver.getValue(),
|
|
16
17
|
blurDate: () => datePicker.inputDriver.blur(),
|
|
18
|
+
enterTimeText: (text) => timeInput.setValue(text),
|
|
19
|
+
blurTime: () => timeInput.confirmValue(),
|
|
17
20
|
dateHasError: () => datePicker.inputDriver.hasStatus('error'),
|
|
18
21
|
getDateErrorMessage: () => datePicker.inputDriver.getStatusMessage(),
|
|
19
22
|
timeHasError: () =>
|