@wix/patterns-fields 1.121.0 → 1.123.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/delete-dialog/delete-dialog.st.css.js +3 -3
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
- package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
- package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/cjs/components/field-validation-settings/field-validation-settings-input.st.css.js +3 -3
- package/dist/cjs/components/field-validation-settings/field-validation-settings-input.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-image-field/cell-media-image-edit.st.css.js +8 -8
- package/dist/cjs/components/media-image-field/cell-media-image-edit.st.css.js.map +1 -1
- package/dist/cjs/components/media-image-field/media-image-view.st.css.js +3 -3
- package/dist/cjs/components/media-image-field/media-image-view.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/cell-text-input.js +7 -7
- package/dist/cjs/components/text/cell-text-input.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/cjs/utils/detect-field-type.js +35 -1
- package/dist/cjs/utils/detect-field-type.js.map +1 -1
- package/dist/cjs/utils/media-image-value.js +2 -0
- package/dist/cjs/utils/media-image-value.js.map +1 -1
- package/dist/esm/components/address/input/address-input.st.css.js +2 -2
- package/dist/esm/components/address/input/address-input.st.css.js.map +1 -1
- 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-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/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/field-validation-settings/field-validation-settings-input.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/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/media-image.st.css.js.map +1 -1
- package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
- package/dist/esm/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/esm/components/media-image-field/cell-media-image-edit.st.css.js +2 -2
- package/dist/esm/components/media-image-field/media-image-view.st.css.js +2 -2
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js +2 -2
- package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
- package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
- package/dist/esm/components/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/cell-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/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/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-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
- 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-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
- package/dist/esm/components/text/cell-text-input.js +2 -2
- package/dist/esm/components/text/cell-text-input.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/esm/utils/detect-field-type.js +39 -0
- package/dist/esm/utils/detect-field-type.js.map +1 -1
- package/dist/esm/utils/media-image-value.js +2 -0
- package/dist/esm/utils/media-image-value.js.map +1 -1
- package/dist/types/components/address/input/address-input.st.css.d.ts.map +1 -1
- package/dist/types/components/audio/actions/actions-menu/actions-menu.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/delete-dialog/delete-dialog.st.css.d.ts.map +1 -1
- package/dist/types/components/media-image/media-image.st.css.d.ts.map +1 -1
- package/dist/types/components/media-image/overlays/overlay.st.css.d.ts.map +1 -1
- package/dist/types/components/multi-document/cell-multi-document-edit.st.css.d.ts.map +1 -1
- package/dist/types/components/reference/cell-reference-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.d.ts.map +1 -1
- package/dist/types/components/text/cell-text-input.d.ts.map +1 -1
- package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
- package/dist/types/utils/detect-field-type.d.ts +2 -1
- package/dist/types/utils/detect-field-type.d.ts.map +1 -1
- package/dist/types/utils/media-image-value.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/__tests__/components/media-image-field/form-media-image-input.spec.tsx +13 -4
- package/src/__tests__/utils/detect-field-type.spec.ts +96 -3
- package/src/__tests__/utils/media-image-value.spec.ts +1 -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/delete-dialog/delete-dialog.st.css.ts +2 -2
- package/src/components/document/form-document-field.st.css.ts +2 -2
- package/src/components/exclamation/exclamation.st.css.ts +2 -2
- package/src/components/field-validation-settings/field-validation-settings-input.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-image-field/cell-media-image-edit.st.css.ts +2 -2
- package/src/components/media-image-field/media-image-view.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/cell-text-input.tsx +10 -3
- package/src/components/text/text-view.st.css.ts +2 -2
- package/src/styles.global.css +1 -1
- package/src/utils/detect-field-type.ts +54 -0
- package/src/utils/media-image-value.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.addressinput942445692__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput942445692__tableAddressInput>div{padding:0!important;width:100%}.addressinput942445692__tableAddressInput:focus-within{margin-left:2px}.actionsmenu1975778602__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield2055988523__addItem{height:120px!important;box-sizing:border-box}.formaudiofield2055988523__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)}.formaudiofield2055988523__addItem.formaudiofield2055988523--disabled{pointer-events:auto!important}.formaudiofield2055988523__addItem.formaudiofield2055988523--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield2055988523__mediaTitle{line-height:18px!important}.audioplayer1656849630__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}.cellcolorview1893010142__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview1944567979__view{width:100%}.colorview1944567979__fillPreview{flex-shrink:0}.colorview1944567979__view .colorview1944567979__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog82045101__layout{max-width:510px!important}.formdocumentfield1988095185__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield1988095185__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield1988095185__textWidth{max-width:calc(100% - 196px)}.formdocumentfield1988095185__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield1988095185__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield1988095185__addDocument.formdocumentfield1988095185--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield1988095185__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))}.exclamation3761338822__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation3761338822__exclamation.exclamation3761338822---type-7-warning:not(.exclamation3761338822--customSize),.exclamation3761338822__exclamation.exclamation3761338822---type-5-error:not(.exclamation3761338822--customSize){width:24px;height:24px}.exclamation3761338822__exclamation.exclamation3761338822---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation3761338822__exclamation.exclamation3761338822---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation3761338822__actions{display:flex;flex-direction:column}.exclamation3761338822__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation3761338822__action+.exclamation3761338822__action{margin-top:6px}.exclamation3761338822__action.exclamation3761338822--accented{color:var(--wds-color-blue-100)}.exclamation3761338822__action.exclamation3761338822--accented:hover{color:var(--wds-color-blue-200)}.fieldvalidationsettingsinput3495594979__specificValuesInput .wds-input-with-tags__input::after{inset:0}.fieldvalidationsettingsinput3495594979__specificValuesInput .wds-input-with-tags__hidden-div{overflow:hidden}.highlightedtext1820140336__root.highlightedtext1820140336--highlightedBackground{animation:highlightedtext1820140336__highlighted 150ms ease-out 1 forwards}.highlightedtext1820140336__substring.highlightedtext1820140336--isHighlighted{animation:highlightedtext1820140336__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext1820140336__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext1820140336__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay4253664154__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay4253664154__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell2310000275__root{width:100%;height:100%}.pasteurlbutton577192407__root{margin-top:6px}.pasteurlbutton577192407__iconButtonTooltip{height:max-content}.pasteurlbutton577192407__iconButton{width:24px;height:24px}.formmediagalleryfield2807419625__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield2807419625__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield2807419625__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield2807419625__addItem{box-sizing:border-box}.formmediagalleryfield2807419625__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield2807419625__image.formmediagalleryfield2807419625--withMarginRight{margin-right:3px}.formmediagalleryfield2807419625__image.formmediagalleryfield2807419625--withMarginTop{margin-top:3px}.formmediagalleryfield2807419625__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield2807419625__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.cellmediaimageedit1862349360__view{position:relative;width:100%;height:100%}.cellmediaimageedit1862349360__anchor{display:flex;position:absolute;left:0;right:0;bottom:0;height:0}.cellmediaimageedit1862349360__anchorBox{width:100%;height:0}.cellmediaimageedit1862349360__popoverContent{width:288px;box-sizing:border-box}.cellmediaimageedit1862349360__image{position:relative;width:180px;height:180px;border-radius:var(--wds-image-border-radius-default, 8px);overflow:hidden;line-height:0}.cellmediaimageedit1862349360__imageActions{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:var(--wds-space-100, 6px);opacity:0;background:var(--wds-color-fill-transparent-primary, color-mix(in srgb, var(--wsr-color-D10, #000624) 66%, transparent));transition:opacity .15s}.cellmediaimageedit1862349360__image:hover .cellmediaimageedit1862349360__imageActions,.cellmediaimageedit1862349360__imageActions:focus-within,.cellmediaimageedit1862349360__imageActions.cellmediaimageedit1862349360--menuOpen{opacity:1}.mediaimageview1279718523__root{box-sizing:border-box}.mediaimageview1279718523__altTextPlaceholder{--wds-color-text-standard-primary:var(--wds-color-text-placeholder, var(--wsr-color-D40, #868AA5))}.mediaimage3834455885__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage3834455885__root.mediaimage3834455885--error{--mediaimage3834455885-from:calc(50% - 0.5px);--mediaimage3834455885-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage3834455885-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3834455885-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3834455885-to),transparent var(--mediaimage3834455885-to))}.mediaimage3834455885__root.mediaimage3834455885--error>*{opacity:0}.overlay3003704858__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))}.overlay3003704858__iconOverlay.overlay3003704858---size-4-tiny{width:12px;height:12px}.overlay3003704858__iconOverlay.overlay3003704858---size-5-small{width:20px;height:20px}.overlay3003704858__iconOverlay.overlay3003704858---size-6-medium{width:24px;height:24px}.overlay3003704858__iconOverlay.overlay3003704858---size-5-large{width:28px;height:28px}.overlay3003704858__iconOverlay.overlay3003704858---placement-7-topLeft{top:2px;left:2px}.overlay3003704858__iconOverlay.overlay3003704858---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag1272788963__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))}.cellmultidocumentedit3521094388__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}.formmultidocument1527598707__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument1527598707__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument1527598707__viewRoot>div:first-child .formmultidocument1527598707__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))}.formmultidocument1527598707__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument1527598707__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument1527598707__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))}.formmultidocument1527598707__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))}.cellmultireferenceinput1450038572__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}.cellreferenceinput653707284__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput653707284__autocomplete{width:100%}.richcontentdefaultvalueinput2155652927__richContentEditorContainer .richcontentdefaultvalueinput2155652927__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput3057489930__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))}.richcontentforminput3057489930__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))}.richcontentforminput3057489930__root .richcontentforminput3057489930__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput3453070917__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput3453070917__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal2098594842__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}.publishloader2686920836__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton235473489__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton235473489__root button{border-radius:6px!important}.richcontenteditor508996953__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor508996953__root,.richcontenteditor508996953__toolbarContainer,.richcontenteditor508996953__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor508996953__toolbarContainer div{box-sizing:border-box}.richcontenteditor508996953__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor508996953__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor508996953__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor508996953__modalEditor .richcontenteditor508996953__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor508996953__modalEditor .richcontenteditor508996953__footerToolbarContainer{margin-top:9px}.richcontenteditor508996953__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor508996953__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar1117448276__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}.richcontenttoolbar1117448276__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar1117448276__toolbarButton:disabled{color:graytext}.richcontenttoolbar1117448276__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar1117448276__toolbar label{padding:0 8px}.richcontentviewer2838255332__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer2838255332__root.richcontentviewer2838255332--isFullScreen{padding:12px 24px}.richcontentviewer2838255332__root:not(.richcontentviewer2838255332--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer2838255332__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer2838255332__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer2838255332__modalViewer{min-width:592px;overflow:auto}.richtexteditor2700217926__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))}.richtexteditor2700217926__root.richtexteditor2700217926---border-4-none{border:0}.richtexteditor2700217926__root.richtexteditor2700217926---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))}.richtexteditor2700217926__root.richtexteditor2700217926---border-8-standard:focus,.richtexteditor2700217926__root.richtexteditor2700217926---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))}.richtexteditor2700217926__root.richtexteditor2700217926---border-8-standard.richtexteditor2700217926---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor2700217926__root.richtexteditor2700217926---border-8-standard.richtexteditor2700217926---status-5-error:focus,.richtexteditor2700217926__root.richtexteditor2700217926---border-8-standard.richtexteditor2700217926---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))}.richtexteditor2700217926__root.richtexteditor2700217926---border-8-standard.richtexteditor2700217926---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor2700217926__root.richtexteditor2700217926---border-8-standard.richtexteditor2700217926---status-7-warning:focus,.richtexteditor2700217926__root.richtexteditor2700217926---border-8-standard.richtexteditor2700217926---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))}.richtexteditor2700217926__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor2700217926__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))}.richtexteditor2700217926__editor.richtexteditor2700217926--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor2700217926__editor:not(.richtexteditor2700217926--isFullScreen){max-height:80vh}.richtexteditor2700217926__editor>div{flex:1;max-width:100%}.toolbar794944476__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}.toolbar794944476__item{display:flex;margin-right:12px}.toolbar794944476__item svg,.toolbar794944476__item svg path,.toolbar794944476__item svg text{color:inherit;fill:currentColor}.toolbar794944476__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar794944476__clearFormatting{margin-left:auto}.toolbar794944476__fullScreen{margin-right:0}.toolbar794944476__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar794944476__dropdownItemContent.toolbar794944476--selected .toolbar794944476__dropdownItemTitle,.toolbar794944476__dropdownItemContent.toolbar794944476--selected .toolbar794944476__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar794944476__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar794944476__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}.toolbar794944476__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}.toolbar794944476__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}.toolbar794944476__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}.toolbar794944476__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}.toolbar794944476__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}.toolbar794944476__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}.toolbar794944476__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}.toolbar794944476__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}.textview331236985__textView::after{content:"";display:block}.richeditor70059480__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))}.richeditor70059480__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))}.richeditor70059480__editor .DraftEditor-root{width:100%;height:100%}.richeditor70059480__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor70059480__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richeditor70059480__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor70059480__editor .public-DraftEditor-content ol,.richeditor70059480__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor70059480__editor .public-DraftEditor-content a,.richeditor70059480__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor70059480__header-one:not(li),.richeditor70059480__header-two:not(li),.richeditor70059480__header-three:not(li),.richeditor70059480__header-four:not(li),.richeditor70059480__header-five:not(li),.richeditor70059480__header-six:not(li){margin-block:0;margin:0}.richeditor70059480__header-one,.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__header-two,.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__header-three,.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__header-four,.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__header-five,.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__header-six,.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__paragraph-one,.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__unstyled,.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__paragraph-three,.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__editor li.richeditor70059480__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__editor li.richeditor70059480__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__editor li.richeditor70059480__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__editor li.richeditor70059480__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__editor li.richeditor70059480__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__editor li.richeditor70059480__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__editor li.richeditor70059480__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)))}.richeditor70059480__editor li.richeditor70059480__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}.richeditor70059480__align-left{text-align:left;align-self:flex-start}.richeditor70059480__align-right{text-align:right;align-self:flex-end}.richeditor70059480__align-center{text-align:center;align-self:center}.richeditor70059480__align-justify{text-align:justify;align-self:stretch}.richeditor70059480__withMargin{display:inline-block}.richeditor70059480__dir-rtl,.richeditor70059480__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor70059480__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
1
|
+
.addressinput1084459100__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput1084459100__tableAddressInput>div{padding:0!important;width:100%}.addressinput1084459100__tableAddressInput:focus-within{margin-left:2px}.actionsmenu583491998__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield2001278846__addItem{height:120px!important;box-sizing:border-box}.formaudiofield2001278846__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)}.formaudiofield2001278846__addItem.formaudiofield2001278846--disabled{pointer-events:auto!important}.formaudiofield2001278846__addItem.formaudiofield2001278846--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield2001278846__mediaTitle{line-height:18px!important}.audioplayer1176791793__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}.cellcolorview592802812__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview665258541__view{width:100%}.colorview665258541__fillPreview{flex-shrink:0}.colorview665258541__view .colorview665258541__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog3726304062__layout{max-width:510px!important}.formdocumentfield3714463201__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield3714463201__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield3714463201__textWidth{max-width:calc(100% - 196px)}.formdocumentfield3714463201__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield3714463201__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield3714463201__addDocument.formdocumentfield3714463201--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield3714463201__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))}.exclamation1440793630__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation1440793630__exclamation.exclamation1440793630---type-7-warning:not(.exclamation1440793630--customSize),.exclamation1440793630__exclamation.exclamation1440793630---type-5-error:not(.exclamation1440793630--customSize){width:24px;height:24px}.exclamation1440793630__exclamation.exclamation1440793630---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation1440793630__exclamation.exclamation1440793630---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation1440793630__actions{display:flex;flex-direction:column}.exclamation1440793630__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation1440793630__action+.exclamation1440793630__action{margin-top:6px}.exclamation1440793630__action.exclamation1440793630--accented{color:var(--wds-color-blue-100)}.exclamation1440793630__action.exclamation1440793630--accented:hover{color:var(--wds-color-blue-200)}.fieldvalidationsettingsinput3638817165__specificValuesInput .wds-input-with-tags__input::after{inset:0}.fieldvalidationsettingsinput3638817165__specificValuesInput .wds-input-with-tags__hidden-div{overflow:hidden}.highlightedtext1238120851__root.highlightedtext1238120851--highlightedBackground{animation:highlightedtext1238120851__highlighted 150ms ease-out 1 forwards}.highlightedtext1238120851__substring.highlightedtext1238120851--isHighlighted{animation:highlightedtext1238120851__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext1238120851__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext1238120851__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay2826730868__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay2826730868__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell4284857621__root{width:100%;height:100%}.pasteurlbutton871688670__root{margin-top:6px}.pasteurlbutton871688670__iconButtonTooltip{height:max-content}.pasteurlbutton871688670__iconButton{width:24px;height:24px}.formmediagalleryfield1779683996__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield1779683996__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield1779683996__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield1779683996__addItem{box-sizing:border-box}.formmediagalleryfield1779683996__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield1779683996__image.formmediagalleryfield1779683996--withMarginRight{margin-right:3px}.formmediagalleryfield1779683996__image.formmediagalleryfield1779683996--withMarginTop{margin-top:3px}.formmediagalleryfield1779683996__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield1779683996__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.cellmediaimageedit2205193049__view{position:relative;width:100%;height:100%}.cellmediaimageedit2205193049__anchor{display:flex;position:absolute;left:0;right:0;bottom:0;height:0}.cellmediaimageedit2205193049__anchorBox{width:100%;height:0}.cellmediaimageedit2205193049__popoverContent{width:288px;box-sizing:border-box}.cellmediaimageedit2205193049__image{position:relative;width:180px;height:180px;border-radius:var(--wds-image-border-radius-default, 8px);overflow:hidden;line-height:0}.cellmediaimageedit2205193049__imageActions{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:var(--wds-space-100, 6px);opacity:0;background:var(--wds-color-fill-transparent-primary, color-mix(in srgb, var(--wsr-color-D10, #000624) 66%, transparent));transition:opacity .15s}.cellmediaimageedit2205193049__image:hover .cellmediaimageedit2205193049__imageActions,.cellmediaimageedit2205193049__imageActions:focus-within,.cellmediaimageedit2205193049__imageActions.cellmediaimageedit2205193049--menuOpen{opacity:1}.mediaimageview3184009994__root{box-sizing:border-box}.mediaimageview3184009994__altTextPlaceholder{--wds-color-text-standard-primary:var(--wds-color-text-placeholder, var(--wsr-color-D40, #868AA5))}.mediaimage59134252__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage59134252__root.mediaimage59134252--error{--mediaimage59134252-from:calc(50% - 0.5px);--mediaimage59134252-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage59134252-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage59134252-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage59134252-to),transparent var(--mediaimage59134252-to))}.mediaimage59134252__root.mediaimage59134252--error>*{opacity:0}.overlay279034460__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))}.overlay279034460__iconOverlay.overlay279034460---size-4-tiny{width:12px;height:12px}.overlay279034460__iconOverlay.overlay279034460---size-5-small{width:20px;height:20px}.overlay279034460__iconOverlay.overlay279034460---size-6-medium{width:24px;height:24px}.overlay279034460__iconOverlay.overlay279034460---size-5-large{width:28px;height:28px}.overlay279034460__iconOverlay.overlay279034460---placement-7-topLeft{top:2px;left:2px}.overlay279034460__iconOverlay.overlay279034460---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag2191561493__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))}.cellmultidocumentedit667380981__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}.formmultidocument3808373165__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument3808373165__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument3808373165__viewRoot>div:first-child .formmultidocument3808373165__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))}.formmultidocument3808373165__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument3808373165__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument3808373165__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))}.formmultidocument3808373165__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))}.cellmultireferenceinput1079984993__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}.cellreferenceinput2862009294__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput2862009294__autocomplete{width:100%}.richcontentdefaultvalueinput2772674048__richContentEditorContainer .richcontentdefaultvalueinput2772674048__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput1676133447__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))}.richcontentforminput1676133447__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))}.richcontentforminput1676133447__root .richcontentforminput1676133447__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput3237867920__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput3237867920__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal3456852790__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}.publishloader1400917547__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton3752237217__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton3752237217__root button{border-radius:6px!important}.richcontenteditor619305295__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor619305295__root,.richcontenteditor619305295__toolbarContainer,.richcontenteditor619305295__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor619305295__toolbarContainer div{box-sizing:border-box}.richcontenteditor619305295__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor619305295__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor619305295__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor619305295__modalEditor .richcontenteditor619305295__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor619305295__modalEditor .richcontenteditor619305295__footerToolbarContainer{margin-top:9px}.richcontenteditor619305295__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor619305295__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar373043968__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}.richcontenttoolbar373043968__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar373043968__toolbarButton:disabled{color:graytext}.richcontenttoolbar373043968__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar373043968__toolbar label{padding:0 8px}.richcontentviewer3821313404__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer3821313404__root.richcontentviewer3821313404--isFullScreen{padding:12px 24px}.richcontentviewer3821313404__root:not(.richcontentviewer3821313404--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer3821313404__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer3821313404__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer3821313404__modalViewer{min-width:592px;overflow:auto}.richtexteditor4099053491__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))}.richtexteditor4099053491__root.richtexteditor4099053491---border-4-none{border:0}.richtexteditor4099053491__root.richtexteditor4099053491---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))}.richtexteditor4099053491__root.richtexteditor4099053491---border-8-standard:focus,.richtexteditor4099053491__root.richtexteditor4099053491---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))}.richtexteditor4099053491__root.richtexteditor4099053491---border-8-standard.richtexteditor4099053491---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor4099053491__root.richtexteditor4099053491---border-8-standard.richtexteditor4099053491---status-5-error:focus,.richtexteditor4099053491__root.richtexteditor4099053491---border-8-standard.richtexteditor4099053491---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))}.richtexteditor4099053491__root.richtexteditor4099053491---border-8-standard.richtexteditor4099053491---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor4099053491__root.richtexteditor4099053491---border-8-standard.richtexteditor4099053491---status-7-warning:focus,.richtexteditor4099053491__root.richtexteditor4099053491---border-8-standard.richtexteditor4099053491---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))}.richtexteditor4099053491__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor4099053491__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))}.richtexteditor4099053491__editor.richtexteditor4099053491--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor4099053491__editor:not(.richtexteditor4099053491--isFullScreen){max-height:80vh}.richtexteditor4099053491__editor>div{flex:1;max-width:100%}.toolbar289861596__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}.toolbar289861596__item{display:flex;margin-right:12px}.toolbar289861596__item svg,.toolbar289861596__item svg path,.toolbar289861596__item svg text{color:inherit;fill:currentColor}.toolbar289861596__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar289861596__clearFormatting{margin-left:auto}.toolbar289861596__fullScreen{margin-right:0}.toolbar289861596__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar289861596__dropdownItemContent.toolbar289861596--selected .toolbar289861596__dropdownItemTitle,.toolbar289861596__dropdownItemContent.toolbar289861596--selected .toolbar289861596__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar289861596__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar289861596__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}.toolbar289861596__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}.toolbar289861596__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}.toolbar289861596__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}.toolbar289861596__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}.toolbar289861596__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}.toolbar289861596__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}.toolbar289861596__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}.toolbar289861596__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}.textview1674227560__textView::after{content:"";display:block}.richeditor406683454__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))}.richeditor406683454__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))}.richeditor406683454__editor .DraftEditor-root{width:100%;height:100%}.richeditor406683454__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor406683454__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richeditor406683454__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor406683454__editor .public-DraftEditor-content ol,.richeditor406683454__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor406683454__editor .public-DraftEditor-content a,.richeditor406683454__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor406683454__header-one:not(li),.richeditor406683454__header-two:not(li),.richeditor406683454__header-three:not(li),.richeditor406683454__header-four:not(li),.richeditor406683454__header-five:not(li),.richeditor406683454__header-six:not(li){margin-block:0;margin:0}.richeditor406683454__header-one,.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__header-two,.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__header-three,.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__header-four,.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__header-five,.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__header-six,.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__paragraph-one,.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__unstyled,.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__paragraph-three,.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__editor li.richeditor406683454__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__editor li.richeditor406683454__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__editor li.richeditor406683454__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__editor li.richeditor406683454__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__editor li.richeditor406683454__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__editor li.richeditor406683454__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__editor li.richeditor406683454__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)))}.richeditor406683454__editor li.richeditor406683454__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}.richeditor406683454__align-left{text-align:left;align-self:flex-start}.richeditor406683454__align-right{text-align:right;align-self:flex-end}.richeditor406683454__align-center{text-align:center;align-self:center}.richeditor406683454__align-justify{text-align:justify;align-self:stretch}.richeditor406683454__withMargin{display:inline-block}.richeditor406683454__dir-rtl,.richeditor406683454__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor406683454__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { detectColumnType, detectValueType, } from '@wix/bex-core';
|
|
2
2
|
import { parseMediaItemUri, isMediaItemError } from './media-item-utils';
|
|
3
|
+
import { safeParse } from './safe-json';
|
|
4
|
+
import { toMediaImageValue } from './media-image-value';
|
|
3
5
|
// External image URL by extension (cm-import `validators/image.js`
|
|
4
6
|
// `detectImageWithExtension`): an http(s)/protocol-relative URL ending in a
|
|
5
7
|
// known image extension.
|
|
@@ -53,4 +55,41 @@ function detectValueTypeWithMedia(value) {
|
|
|
53
55
|
* `detectColumnType` prop (see `@wix/patterns` ImportButton wiring).
|
|
54
56
|
*/
|
|
55
57
|
export const detectFieldType = (values) => detectColumnType(values, detectValueTypeWithMedia);
|
|
58
|
+
export const isImportMediaValueCompatible = (type, raw) => {
|
|
59
|
+
const value = safeParse(raw);
|
|
60
|
+
const mediaValue = typeof value === 'string' ? value : raw;
|
|
61
|
+
const media = parseMediaItemUri(mediaValue);
|
|
62
|
+
const mediaType = isMediaItemError(media) ? undefined : media.type;
|
|
63
|
+
switch (type) {
|
|
64
|
+
case 'MEDIA_IMAGE':
|
|
65
|
+
return toMediaImageValue(value) !== null;
|
|
66
|
+
case 'IMAGE':
|
|
67
|
+
return (mediaType === 'image' ||
|
|
68
|
+
mediaType === 'vector' ||
|
|
69
|
+
/^(https?:\/\/|\/\/)/.test(mediaValue));
|
|
70
|
+
case 'VIDEO':
|
|
71
|
+
return mediaType === 'video';
|
|
72
|
+
case 'AUDIO':
|
|
73
|
+
return mediaType === 'audio';
|
|
74
|
+
case 'DOCUMENT':
|
|
75
|
+
// cm-import's document validator also accepts image, video and audio URIs.
|
|
76
|
+
return mediaType != null && mediaType !== 'vector';
|
|
77
|
+
case 'MULTI_DOCUMENT': {
|
|
78
|
+
return (Array.isArray(value) &&
|
|
79
|
+
value.every((item) => typeof item === 'string' &&
|
|
80
|
+
isImportMediaValueCompatible('DOCUMENT', item)));
|
|
81
|
+
}
|
|
82
|
+
case 'REFERENCE':
|
|
83
|
+
return mediaType == null ? undefined : false;
|
|
84
|
+
case 'MULTI_REFERENCE': {
|
|
85
|
+
return Array.isArray(value) &&
|
|
86
|
+
value.some((item) => typeof item === 'string' &&
|
|
87
|
+
!isMediaItemError(parseMediaItemUri(item)))
|
|
88
|
+
? false
|
|
89
|
+
: undefined;
|
|
90
|
+
}
|
|
91
|
+
default:
|
|
92
|
+
return undefined;
|
|
93
|
+
}
|
|
94
|
+
};
|
|
56
95
|
//# sourceMappingURL=detect-field-type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-field-type.js","sourceRoot":"","sources":["../../../src/utils/detect-field-type.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,eAAe,
|
|
1
|
+
{"version":3,"file":"detect-field-type.js","sourceRoot":"","sources":["../../../src/utils/detect-field-type.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getImageUrl } from './get-image-url';
|
|
1
2
|
import { isMediaItemError, parseMediaItemUri } from './media-item-utils';
|
|
2
3
|
const nonEmptyString = (value) => typeof value === 'string' && value.trim() !== '';
|
|
3
4
|
/**
|
|
@@ -47,6 +48,7 @@ export function fromMediaManagerUri(uri) {
|
|
|
47
48
|
width: parsed.width,
|
|
48
49
|
height: parsed.height,
|
|
49
50
|
uri,
|
|
51
|
+
url: getImageUrl(uri),
|
|
50
52
|
filename: parsed.mediaId,
|
|
51
53
|
...(altText && { altText }),
|
|
52
54
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-image-value.js","sourceRoot":"","sources":["../../../src/utils/media-image-value.ts"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"media-image-value.js","sourceRoot":"","sources":["../../../src/utils/media-image-value.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address-input.st.css.d.ts","sourceRoot":"","sources":["../../../../../src/components/address/input/address-input.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;
|
|
1
|
+
{"version":3,"file":"address-input.st.css.d.ts","sourceRoot":"","sources":["../../../../../src/components/address/input/address-input.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;CAA0G,CAAC;AAC7H,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions-menu.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/audio/actions/actions-menu/actions-menu.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;
|
|
1
|
+
{"version":3,"file":"actions-menu.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/audio/actions/actions-menu/actions-menu.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;CAAgF,CAAC;AACnG,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI;;CAAsC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-color-view.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/color-view/cell-color-view.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;
|
|
1
|
+
{"version":3,"file":"cell-color-view.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/color-view/cell-color-view.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;CAA4F,CAAC;AAC/G,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI;;CAAsC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-view.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/color-view/color-view.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;
|
|
1
|
+
{"version":3,"file":"color-view.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/color-view/color-view.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;CAAwH,CAAC;AAC3I,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-dialog.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/delete-dialog/delete-dialog.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;
|
|
1
|
+
{"version":3,"file":"delete-dialog.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/delete-dialog/delete-dialog.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;CAAoF,CAAC;AACvG,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-image.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/media-image/media-image.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;
|
|
1
|
+
{"version":3,"file":"media-image.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/media-image/media-image.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;CAAsC,CAAC;AACzD,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI;;;;;;;CAAkO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.st.css.d.ts","sourceRoot":"","sources":["../../../../../src/components/media-image/overlays/overlay.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;
|
|
1
|
+
{"version":3,"file":"overlay.st.css.d.ts","sourceRoot":"","sources":["../../../../../src/components/media-image/overlays/overlay.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;CAAkF,CAAC;AACrG,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM;;CAAgE,CAAC;AAClF,eAAO,IAAI,IAAI;;;CAA4E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-multi-document-edit.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-document/cell-multi-document-edit.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;
|
|
1
|
+
{"version":3,"file":"cell-multi-document-edit.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-document/cell-multi-document-edit.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;CAA8G,CAAC;AACjI,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-reference-input.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/reference/cell-reference-input.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;
|
|
1
|
+
{"version":3,"file":"cell-reference-input.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/reference/cell-reference-input.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;CAA4G,CAAC;AAC/H,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-fullscreen-button.st.css.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;
|
|
1
|
+
{"version":3,"file":"toggle-fullscreen-button.st.css.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;CAAoD,CAAC;AACvE,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-content-toolbar.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;;
|
|
1
|
+
{"version":3,"file":"rich-content-toolbar.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;;CAAkN,CAAC;AACrO,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
|
package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-editor.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"rich-editor.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;;;;;;;;;;;;;;;CAAyyB,CAAC;AAC5zB,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiqK,CAAC;AACnrK,eAAO,IAAI,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAg0E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-text-input.d.ts","sourceRoot":"","sources":["../../../../src/components/text/cell-text-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"cell-text-input.d.ts","sourceRoot":"","sources":["../../../../src/components/text/cell-text-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAMzD,MAAM,WAAW,kBACf,SAAQ,IAAI,CACV,cAAc,EACZ,OAAO,GACP,UAAU,GACV,UAAU,GACV,iBAAiB,GACjB,YAAY,GACZ,SAAS,GACT,QAAQ,CACX;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,2CAA2C;IAC3C,OAAO,CAAC,IAAI,IAAI,CAAC;IACjB,2CAA2C;IAC3C,MAAM,CAAC,IAAI,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;CACxC;AA0CD;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoEtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-view.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/text/text-view.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;
|
|
1
|
+
{"version":3,"file":"text-view.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/text/text-view.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;CAAgF,CAAC;AACnG,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type DetectColumnType } from '@wix/bex-core';
|
|
1
|
+
import { type DetectColumnType, type PatternsFieldType } from '@wix/bex-core';
|
|
2
2
|
/**
|
|
3
3
|
* Media-aware column type detection for the CSV import "create new field" flow.
|
|
4
4
|
* Adds image / video / document / audio on top of core's primitive detection,
|
|
@@ -6,4 +6,5 @@ import { type DetectColumnType } from '@wix/bex-core';
|
|
|
6
6
|
* `detectColumnType` prop (see `@wix/patterns` ImportButton wiring).
|
|
7
7
|
*/
|
|
8
8
|
export declare const detectFieldType: DetectColumnType;
|
|
9
|
+
export declare const isImportMediaValueCompatible: (type: PatternsFieldType, raw: string) => boolean | undefined;
|
|
9
10
|
//# sourceMappingURL=detect-field-type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-field-type.d.ts","sourceRoot":"","sources":["../../../src/utils/detect-field-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,gBAAgB,
|
|
1
|
+
{"version":3,"file":"detect-field-type.d.ts","sourceRoot":"","sources":["../../../src/utils/detect-field-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,gBAAgB,EAErB,KAAK,iBAAiB,EACvB,MAAM,eAAe,CAAC;AAwDvB;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,gBACsB,CAAC;AAErD,eAAO,MAAM,4BAA4B,GACvC,MAAM,iBAAiB,EACvB,KAAK,MAAM,KACV,OAAO,GAAG,SA8CZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-image-value.d.ts","sourceRoot":"","sources":["../../../src/utils/media-image-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"media-image-value.d.ts","sourceRoot":"","sources":["../../../src/utils/media-image-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACvB,MAAM,sBAAsB,CAAC;AAO9B;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe,GAAG,IAAI,CAOxE;AAED,gFAAgF;AAChF,eAAO,MAAM,iBAAiB,GAAI,OAAO,OAAO,KAAG,OAChB,CAAC;AAEpC;eACe;AACf,eAAO,MAAM,oBAAoB,GAC/B,OAAO,eAAe,GAAG,IAAI,GAAG,SAAS,KACxC,KAAK,IAAI,kBAC6C,CAAC;AAE1D;uBACuB;AACvB,wBAAgB,WAAW,CAAC,CAAC,SAAS,eAAe,EACnD,KAAK,EAAE,CAAC,EACR,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,CAAC,CAMH;AAED;qCACqC;AACrC,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,eAAe,EACpD,SAAS,eAAe,GAAG,IAAI,GAAG,SAAS,EAC3C,MAAM,CAAC,KACN,CAAmE,CAAC;AAEvE,uEAAuE;AACvE,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,MACN,CAAC;AAEtC;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,GACV,sBAAsB,GAAG,IAAI,CAe/B;AAED;2BAC2B;AAC3B,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,GAC1C,sBAAsB,GAAG,IAAI,CAG/B;AAED,wDAAwD;AACxD,eAAO,MAAM,YAAY,GACvB,KAAK,MAAM,EACX,UAAU,MAAM,KACf,kBAGD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/patterns-fields",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.123.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Kobi",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"@wix/atlas": "^1.0.35",
|
|
126
126
|
"@wix/data": "^1.0.323",
|
|
127
127
|
"@wix/media": "^1.0.231",
|
|
128
|
-
"@wix/patterns-fields-utils": "1.
|
|
128
|
+
"@wix/patterns-fields-utils": "1.104.0",
|
|
129
129
|
"@wix/rich-content": "1.0.37",
|
|
130
130
|
"@wix/sdk": "^1.17.2",
|
|
131
131
|
"@wix/wix-ui-icons-common": "^3.189.0",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"@types/lodash": "^4.17.20",
|
|
154
154
|
"@types/react": "^16.14.68",
|
|
155
155
|
"@wix/babel-cli": "^1.11.0",
|
|
156
|
-
"@wix/bex-core": "2.
|
|
156
|
+
"@wix/bex-core": "2.401.0",
|
|
157
157
|
"@wix/design-system": "^1.336.0",
|
|
158
158
|
"@wix/eslint-config-yoshi": "^6.74.0",
|
|
159
159
|
"@wix/jest-yoshi-preset": "^6.74.0",
|
|
@@ -179,7 +179,10 @@
|
|
|
179
179
|
"access": "public"
|
|
180
180
|
},
|
|
181
181
|
"eslintConfig": {
|
|
182
|
-
"extends":
|
|
182
|
+
"extends": [
|
|
183
|
+
"@wix/eslint-config-yoshi",
|
|
184
|
+
"../../scripts/eslint-no-style-assertions.js"
|
|
185
|
+
],
|
|
183
186
|
"overrides": [
|
|
184
187
|
{
|
|
185
188
|
"files": [
|
|
@@ -213,5 +216,5 @@
|
|
|
213
216
|
"optional": true
|
|
214
217
|
}
|
|
215
218
|
},
|
|
216
|
-
"falconPackageHash": "
|
|
219
|
+
"falconPackageHash": "fa5b487e8f97998ef62f44ac106e849f0b34badbcc316df64757475b"
|
|
217
220
|
}
|
|
@@ -23,6 +23,7 @@ const mediaManagerImage: MediaImageValue = {
|
|
|
23
23
|
width: 100,
|
|
24
24
|
height: 50,
|
|
25
25
|
uri,
|
|
26
|
+
url: `https://static.wixstatic.com/media/${mediaId}`,
|
|
26
27
|
altText: 'A cat',
|
|
27
28
|
};
|
|
28
29
|
|
|
@@ -112,7 +113,7 @@ describe('ControlledMediaImageInput', () => {
|
|
|
112
113
|
return { driver, onChange };
|
|
113
114
|
};
|
|
114
115
|
|
|
115
|
-
it('
|
|
116
|
+
it('includes the image URL and fills the alt text on add', async () => {
|
|
116
117
|
const openMediaManager = jest.fn().mockResolvedValue(pick(uri));
|
|
117
118
|
const { driver, onChange } = renderInput(null, openMediaManager);
|
|
118
119
|
|
|
@@ -120,11 +121,15 @@ describe('ControlledMediaImageInput', () => {
|
|
|
120
121
|
await act(async () => {});
|
|
121
122
|
|
|
122
123
|
expect(onChange).toHaveBeenCalledWith(
|
|
123
|
-
expect.objectContaining({
|
|
124
|
+
expect.objectContaining({
|
|
125
|
+
uri,
|
|
126
|
+
url: `https://static.wixstatic.com/media/${mediaId}`,
|
|
127
|
+
altText: 'cat',
|
|
128
|
+
}),
|
|
124
129
|
);
|
|
125
130
|
});
|
|
126
131
|
|
|
127
|
-
it('keeps the alt text on replace', async () => {
|
|
132
|
+
it('updates the image URL and keeps the alt text on replace', async () => {
|
|
128
133
|
const openMediaManager = jest.fn().mockResolvedValue(pick(otherUri));
|
|
129
134
|
const { driver, onChange } = renderInput(
|
|
130
135
|
mediaManagerImage,
|
|
@@ -136,7 +141,11 @@ describe('ControlledMediaImageInput', () => {
|
|
|
136
141
|
await act(async () => {});
|
|
137
142
|
|
|
138
143
|
expect(onChange).toHaveBeenCalledWith(
|
|
139
|
-
expect.objectContaining({
|
|
144
|
+
expect.objectContaining({
|
|
145
|
+
uri: otherUri,
|
|
146
|
+
url: `https://static.wixstatic.com/media/${otherId}`,
|
|
147
|
+
altText: 'A cat',
|
|
148
|
+
}),
|
|
140
149
|
);
|
|
141
150
|
});
|
|
142
151
|
});
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PatternsFieldType } from '@wix/bex-core';
|
|
2
|
+
import {
|
|
3
|
+
detectFieldType,
|
|
4
|
+
isImportMediaValueCompatible,
|
|
5
|
+
} from '../../utils/detect-field-type';
|
|
2
6
|
|
|
3
7
|
// Valid Wix media URIs (shapes accepted by `parseMediaItemUri`).
|
|
4
8
|
const IMAGE_URI =
|
|
@@ -30,7 +34,9 @@ describe('detectFieldType (media-aware column detection)', () => {
|
|
|
30
34
|
expect(detectFieldType(['https://static.wixstatic.com/photo.png'])).toBe(
|
|
31
35
|
'image',
|
|
32
36
|
);
|
|
33
|
-
expect(detectFieldType(['http://x.io/a.jpeg', '//cdn/b.gif'])).toBe(
|
|
37
|
+
expect(detectFieldType(['http://x.io/a.jpeg', '//cdn/b.gif'])).toBe(
|
|
38
|
+
'image',
|
|
39
|
+
);
|
|
34
40
|
});
|
|
35
41
|
|
|
36
42
|
it('still detects the primitive types via core', () => {
|
|
@@ -42,6 +48,93 @@ describe('detectFieldType (media-aware column detection)', () => {
|
|
|
42
48
|
});
|
|
43
49
|
|
|
44
50
|
it('falls back to text for a mixed column below the two-thirds threshold', () => {
|
|
45
|
-
expect(detectFieldType([IMAGE_URI, 'plain text', 'more text'])).toBe(
|
|
51
|
+
expect(detectFieldType([IMAGE_URI, 'plain text', 'more text'])).toBe(
|
|
52
|
+
'text',
|
|
53
|
+
);
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
describe('import media compatibility', () => {
|
|
58
|
+
const mediaTypes: PatternsFieldType[] = [
|
|
59
|
+
'IMAGE',
|
|
60
|
+
'VIDEO',
|
|
61
|
+
'AUDIO',
|
|
62
|
+
'DOCUMENT',
|
|
63
|
+
'MULTI_DOCUMENT',
|
|
64
|
+
'MEDIA_IMAGE',
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
it.each([
|
|
68
|
+
{ value: { uri: IMAGE_URI, altText: 'A flower' }, fits: true },
|
|
69
|
+
{ value: { url: 'https://example.com/cat.webp' }, fits: true },
|
|
70
|
+
{ value: { altText: 'A flower' }, fits: false },
|
|
71
|
+
{ value: { url: ' ' }, fits: false },
|
|
72
|
+
])('checks structured image values: $value', ({ value, fits }) => {
|
|
73
|
+
expect(
|
|
74
|
+
isImportMediaValueCompatible('MEDIA_IMAGE', JSON.stringify(value)),
|
|
75
|
+
).toBe(fits);
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
const cases: { name: string; value: string; fits: PatternsFieldType[] }[] = [
|
|
79
|
+
{ name: 'plain text', value: 'hello', fits: [] },
|
|
80
|
+
{
|
|
81
|
+
name: 'extensionless URLs',
|
|
82
|
+
value: 'https://cdn.example.com/asset',
|
|
83
|
+
fits: ['IMAGE'],
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'WebP URLs',
|
|
87
|
+
value: 'https://cdn.example.com/photo.webp',
|
|
88
|
+
fits: ['IMAGE'],
|
|
89
|
+
},
|
|
90
|
+
{ name: 'Wix images', value: IMAGE_URI, fits: ['IMAGE', 'DOCUMENT'] },
|
|
91
|
+
{
|
|
92
|
+
name: 'JSON-quoted images',
|
|
93
|
+
value: JSON.stringify(IMAGE_URI),
|
|
94
|
+
fits: ['IMAGE', 'DOCUMENT'],
|
|
95
|
+
},
|
|
96
|
+
{ name: 'Wix vectors', value: VECTOR_URI, fits: ['IMAGE'] },
|
|
97
|
+
{ name: 'Wix videos', value: VIDEO_URI, fits: ['VIDEO', 'DOCUMENT'] },
|
|
98
|
+
{ name: 'Wix audio', value: AUDIO_URI, fits: ['AUDIO', 'DOCUMENT'] },
|
|
99
|
+
{ name: 'Wix documents', value: DOCUMENT_URI, fits: ['DOCUMENT'] },
|
|
100
|
+
{
|
|
101
|
+
name: 'document arrays',
|
|
102
|
+
value: JSON.stringify([DOCUMENT_URI]),
|
|
103
|
+
fits: ['MULTI_DOCUMENT'],
|
|
104
|
+
},
|
|
105
|
+
{ name: 'reference arrays', value: '["item-1","item-2"]', fits: [] },
|
|
106
|
+
];
|
|
107
|
+
|
|
108
|
+
it.each(cases)(
|
|
109
|
+
'accepts the media destinations for $name',
|
|
110
|
+
({ value, fits }) => {
|
|
111
|
+
expect(
|
|
112
|
+
mediaTypes.filter((type) => isImportMediaValueCompatible(type, value)),
|
|
113
|
+
).toEqual(fits);
|
|
114
|
+
},
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
it.each([IMAGE_URI, VIDEO_URI, AUDIO_URI, DOCUMENT_URI, VECTOR_URI])(
|
|
118
|
+
'rejects mapping a media URI to Reference: %s',
|
|
119
|
+
(uri) => {
|
|
120
|
+
expect(isImportMediaValueCompatible('REFERENCE', uri)).toBe(false);
|
|
121
|
+
expect(
|
|
122
|
+
isImportMediaValueCompatible('MULTI_REFERENCE', JSON.stringify([uri])),
|
|
123
|
+
).toBe(false);
|
|
124
|
+
},
|
|
125
|
+
);
|
|
126
|
+
|
|
127
|
+
it.each<PatternsFieldType>(['NUMBER', 'URL', 'CUSTOM', 'UNKNOWN'])(
|
|
128
|
+
'leaves %s to the built-in compatibility check',
|
|
129
|
+
(type) => {
|
|
130
|
+
expect(isImportMediaValueCompatible(type, IMAGE_URI)).toBeUndefined();
|
|
131
|
+
},
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
it('leaves opaque reference IDs to the built-in compatibility check', () => {
|
|
135
|
+
expect(isImportMediaValueCompatible('REFERENCE', 'item-1')).toBeUndefined();
|
|
136
|
+
expect(
|
|
137
|
+
isImportMediaValueCompatible('MULTI_REFERENCE', '["item-1"]'),
|
|
138
|
+
).toBeUndefined();
|
|
46
139
|
});
|
|
47
140
|
});
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js"
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "addressinput1084459100";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"addressinput1084459100__root","tableAddressInput":"addressinput1084459100__tableAddressInput"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|