@wix/patterns-fields 1.111.0 → 1.112.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.js +80 -132
- package/dist/cjs/components/field-validation-settings/field-validation-settings-input.js.map +1 -1
- package/dist/cjs/components/field-validation-settings/field-validation-settings-input.st.css +10 -0
- package/dist/cjs/components/field-validation-settings/field-validation-settings-input.st.css.js +23 -0
- package/dist/cjs/components/field-validation-settings/field-validation-settings-input.st.css.js.map +1 -0
- package/dist/cjs/components/field-validation-settings/field-validation-settings.uni.driver.js +21 -3
- package/dist/cjs/components/field-validation-settings/field-validation-settings.uni.driver.js.map +1 -1
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
- package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
- package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js +3 -3
- package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
- package/dist/cjs/components/reference/cell-reference-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +7 -7
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +5 -5
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/text/text-view.st.css.js +3 -3
- package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/types/validation.js.map +1 -1
- package/dist/cjs/validations/field-validation-settings.js +6 -0
- package/dist/cjs/validations/field-validation-settings.js.map +1 -1
- package/dist/cjs/validations/field-validation-settings.spec.js +16 -1
- package/dist/cjs/validations/field-validation-settings.spec.js.map +1 -1
- package/dist/esm/components/address/input/address-input.st.css.js +2 -2
- package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/esm/components/color-view/cell-color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/cell-color-view.st.css.js.map +1 -1
- package/dist/esm/components/color-view/color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/color-view.st.css.js.map +1 -1
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
- package/dist/esm/components/document/form-document-field.st.css.js +2 -2
- package/dist/esm/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
- package/dist/esm/components/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/esm/components/field-validation-settings/field-validation-settings-input.js +45 -37
- package/dist/esm/components/field-validation-settings/field-validation-settings-input.js.map +1 -1
- package/dist/esm/components/field-validation-settings/field-validation-settings-input.st.css +10 -0
- package/dist/esm/components/field-validation-settings/field-validation-settings-input.st.css.js +15 -0
- package/dist/esm/components/field-validation-settings/field-validation-settings-input.st.css.js.map +1 -0
- package/dist/esm/components/field-validation-settings/field-validation-settings.uni.driver.js +18 -4
- package/dist/esm/components/field-validation-settings/field-validation-settings.uni.driver.js.map +1 -1
- package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
- package/dist/esm/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
- package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
- package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/esm/components/media-image/media-image.st.css.js +3 -3
- package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
- package/dist/esm/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js +2 -2
- package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
- package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
- package/dist/esm/components/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/cell-multi-reference-input.st.css.js.map +1 -1
- package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/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/publish-loader/publish-loader.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-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-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
- 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/rich-text-editor.st.css.js.map +1 -1
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
- package/dist/esm/components/text/text-view.st.css.js +2 -2
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/validations/field-validation-settings.js +3 -0
- package/dist/esm/validations/field-validation-settings.js.map +1 -1
- package/dist/esm/validations/field-validation-settings.spec.js +9 -1
- package/dist/esm/validations/field-validation-settings.spec.js.map +1 -1
- package/dist/types/components/audio/audio-field/form-audio-field.st.css.d.ts.map +1 -1
- package/dist/types/components/color-view/cell-color-view.st.css.d.ts.map +1 -1
- package/dist/types/components/color-view/color-view.st.css.d.ts.map +1 -1
- package/dist/types/components/document/form-document-field.st.css.d.ts.map +1 -1
- package/dist/types/components/exclamation/exclamation.st.css.d.ts.map +1 -1
- package/dist/types/components/field-validation-settings/field-validation-settings-input.d.ts.map +1 -1
- package/dist/types/components/field-validation-settings/field-validation-settings-input.st.css.d.ts +14 -0
- package/dist/types/components/field-validation-settings/field-validation-settings-input.st.css.d.ts.map +1 -0
- package/dist/types/components/field-validation-settings/field-validation-settings.uni.driver.d.ts +18 -69
- package/dist/types/components/field-validation-settings/field-validation-settings.uni.driver.d.ts.map +1 -1
- package/dist/types/components/highlighted-text/highlighted-text.st.css.d.ts.map +1 -1
- package/dist/types/components/media-gallery/form-media-gallery-field.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-multi-reference-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.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/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.d.ts.map +1 -1
- package/dist/types/types/validation.d.ts +14 -4
- package/dist/types/types/validation.d.ts.map +1 -1
- package/dist/types/validations/field-validation-settings.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/__tests__/components/field-validation-settings/field-validation-settings-input.spec.tsx +106 -35
- 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 +10 -0
- package/src/components/field-validation-settings/field-validation-settings-input.st.css.ts +25 -0
- package/src/components/field-validation-settings/field-validation-settings-input.tsx +88 -103
- package/src/components/field-validation-settings/field-validation-settings.uni.driver.ts +29 -15
- package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
- package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
- package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
- package/src/components/media-control/paste-url-button.st.css.ts +2 -2
- package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
- package/src/components/media-image/media-image.st.css.ts +3 -3
- package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
- package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
- package/src/components/multi-document/cell-multi-document-edit.st.css.ts +2 -2
- package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
- package/src/components/reference/cell-multi-reference-input.st.css.ts +2 -2
- package/src/components/reference/cell-reference-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
- package/src/components/text/text-view.st.css.ts +2 -2
- package/src/styles.global.css +1 -1
- package/src/types/validation.ts +12 -4
- package/src/validations/field-validation-settings.spec.ts +12 -1
- package/src/validations/field-validation-settings.ts +4 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.addressinput3691315630__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput3691315630__tableAddressInput>div{padding:0!important;width:100%}.addressinput3691315630__tableAddressInput:focus-within{margin-left:2px}.actionsmenu2109694853__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield2900170836__addItem{height:120px!important;box-sizing:border-box}.formaudiofield2900170836__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)}.formaudiofield2900170836__addItem.formaudiofield2900170836--disabled{pointer-events:auto!important}.formaudiofield2900170836__addItem.formaudiofield2900170836--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield2900170836__mediaTitle{line-height:18px!important}.audioplayer3665590476__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}.cellcolorview156572190__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview943355800__view{width:100%}.colorview943355800__fillPreview{flex-shrink:0}.colorview943355800__view .colorview943355800__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog3470481623__layout{max-width:510px!important}.formdocumentfield2013326977__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield2013326977__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield2013326977__textWidth{max-width:calc(100% - 196px)}.formdocumentfield2013326977__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield2013326977__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield2013326977__addDocument.formdocumentfield2013326977--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield2013326977__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))}.exclamation132058364__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation132058364__exclamation.exclamation132058364---type-7-warning:not(.exclamation132058364--customSize),.exclamation132058364__exclamation.exclamation132058364---type-5-error:not(.exclamation132058364--customSize){width:24px;height:24px}.exclamation132058364__exclamation.exclamation132058364---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation132058364__exclamation.exclamation132058364---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation132058364__actions{display:flex;flex-direction:column}.exclamation132058364__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation132058364__action+.exclamation132058364__action{margin-top:6px}.exclamation132058364__action.exclamation132058364--accented{color:var(--wds-color-blue-100)}.exclamation132058364__action.exclamation132058364--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext2597848259__root.highlightedtext2597848259--highlightedBackground{animation:highlightedtext2597848259__highlighted 150ms ease-out 1 forwards}.highlightedtext2597848259__substring.highlightedtext2597848259--isHighlighted{animation:highlightedtext2597848259__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext2597848259__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext2597848259__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay2287490407__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay2287490407__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell1493028595__root{width:100%;height:100%}.pasteurlbutton4200227506__root{margin-top:6px}.pasteurlbutton4200227506__iconButtonTooltip{height:max-content}.pasteurlbutton4200227506__iconButton{width:24px;height:24px}.formmediagalleryfield430290838__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield430290838__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield430290838__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield430290838__addItem{box-sizing:border-box}.formmediagalleryfield430290838__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield430290838__image.formmediagalleryfield430290838--withMarginRight{margin-right:3px}.formmediagalleryfield430290838__image.formmediagalleryfield430290838--withMarginTop{margin-top:3px}.formmediagalleryfield430290838__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield430290838__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage1101490151__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage1101490151__root.mediaimage1101490151--error{--mediaimage1101490151-from:calc(50% - 0.5px);--mediaimage1101490151-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage1101490151-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1101490151-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1101490151-to),transparent var(--mediaimage1101490151-to))}.mediaimage1101490151__root.mediaimage1101490151--error>*{opacity:0}.overlay533257831__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))}.overlay533257831__iconOverlay.overlay533257831---size-5-small{width:20px;height:20px}.overlay533257831__iconOverlay.overlay533257831---size-6-medium{width:24px;height:24px}.overlay533257831__iconOverlay.overlay533257831---size-5-large{width:28px;height:28px}.overlay533257831__iconOverlay.overlay533257831---placement-7-topLeft{top:2px;left:2px}.overlay533257831__iconOverlay.overlay533257831---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag1607856957__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))}.cellmultidocumentedit290778729__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}.formmultidocument232573991__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument232573991__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument232573991__viewRoot>div:first-child .formmultidocument232573991__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))}.formmultidocument232573991__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument232573991__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument232573991__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))}.formmultidocument232573991__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))}.cellmultireferenceinput70067226__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}.cellreferenceinput1608182147__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput1608182147__autocomplete{width:100%}.richcontentdefaultvalueinput3835248619__richContentEditorContainer .richcontentdefaultvalueinput3835248619__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput727263717__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))}.richcontentforminput727263717__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))}.richcontentforminput727263717__root .richcontentforminput727263717__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput3423908973__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput3423908973__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal3389559131__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}.publishloader134882398__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton2944895381__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton2944895381__root button{border-radius:6px!important}.richcontenteditor1716567060__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor1716567060__root,.richcontenteditor1716567060__toolbarContainer,.richcontenteditor1716567060__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor1716567060__toolbarContainer div{box-sizing:border-box}.richcontenteditor1716567060__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor1716567060__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor1716567060__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor1716567060__modalEditor .richcontenteditor1716567060__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor1716567060__modalEditor .richcontenteditor1716567060__footerToolbarContainer{margin-top:9px}.richcontenteditor1716567060__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor1716567060__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar934747531__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}.richcontenttoolbar934747531__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar934747531__toolbarButton:disabled{color:graytext}.richcontenttoolbar934747531__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar934747531__toolbar label{padding:0 8px}.richcontentviewer173357374__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer173357374__root.richcontentviewer173357374--isFullScreen{padding:12px 24px}.richcontentviewer173357374__root:not(.richcontentviewer173357374--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer173357374__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer173357374__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer173357374__modalViewer{min-width:592px;overflow:auto}.richtexteditor916086795__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))}.richtexteditor916086795__root.richtexteditor916086795---border-4-none{border:0}.richtexteditor916086795__root.richtexteditor916086795---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))}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard:focus,.richtexteditor916086795__root.richtexteditor916086795---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))}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---status-5-error:focus,.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---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))}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---status-7-warning:focus,.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---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))}.richtexteditor916086795__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor916086795__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))}.richtexteditor916086795__editor.richtexteditor916086795--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor916086795__editor:not(.richtexteditor916086795--isFullScreen){max-height:80vh}.richtexteditor916086795__editor>div{flex:1;max-width:100%}.toolbar3132967933__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}.toolbar3132967933__item{display:flex;margin-right:12px}.toolbar3132967933__item svg,.toolbar3132967933__item svg path,.toolbar3132967933__item svg text{color:inherit;fill:currentColor}.toolbar3132967933__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar3132967933__clearFormatting{margin-left:auto}.toolbar3132967933__fullScreen{margin-right:0}.toolbar3132967933__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3132967933__dropdownItemContent.toolbar3132967933--selected .toolbar3132967933__dropdownItemTitle,.toolbar3132967933__dropdownItemContent.toolbar3132967933--selected .toolbar3132967933__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3132967933__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3132967933__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}.toolbar3132967933__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}.toolbar3132967933__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}.toolbar3132967933__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}.toolbar3132967933__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}.toolbar3132967933__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}.toolbar3132967933__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}.toolbar3132967933__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}.toolbar3132967933__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}.textview4056341587__textView::after{content:"";display:block}.richeditor1028886106__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))}.richeditor1028886106__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))}.richeditor1028886106__editor .DraftEditor-root{width:100%;height:100%}.richeditor1028886106__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor1028886106__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richeditor1028886106__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor1028886106__editor .public-DraftEditor-content ol,.richeditor1028886106__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor1028886106__editor .public-DraftEditor-content a,.richeditor1028886106__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor1028886106__header-one:not(li),.richeditor1028886106__header-two:not(li),.richeditor1028886106__header-three:not(li),.richeditor1028886106__header-four:not(li),.richeditor1028886106__header-five:not(li),.richeditor1028886106__header-six:not(li){margin-block:0;margin:0}.richeditor1028886106__header-one,.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__header-two,.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__header-three,.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__header-four,.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__header-five,.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__header-six,.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__paragraph-one,.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__unstyled,.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__paragraph-three,.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__editor li.richeditor1028886106__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__editor li.richeditor1028886106__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__editor li.richeditor1028886106__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__editor li.richeditor1028886106__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__editor li.richeditor1028886106__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__editor li.richeditor1028886106__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__editor li.richeditor1028886106__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)))}.richeditor1028886106__editor li.richeditor1028886106__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}.richeditor1028886106__align-left{text-align:left;align-self:flex-start}.richeditor1028886106__align-right{text-align:right;align-self:flex-end}.richeditor1028886106__align-center{text-align:center;align-self:center}.richeditor1028886106__align-justify{text-align:justify;align-self:stretch}.richeditor1028886106__withMargin{display:inline-block}.richeditor1028886106__dir-rtl,.richeditor1028886106__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor1028886106__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
1
|
+
.addressinput2340196804__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput2340196804__tableAddressInput>div{padding:0!important;width:100%}.addressinput2340196804__tableAddressInput:focus-within{margin-left:2px}.actionsmenu1179467800__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield418323798__addItem{height:120px!important;box-sizing:border-box}.formaudiofield418323798__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)}.formaudiofield418323798__addItem.formaudiofield418323798--disabled{pointer-events:auto!important}.formaudiofield418323798__addItem.formaudiofield418323798--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield418323798__mediaTitle{line-height:18px!important}.audioplayer2234880949__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}.cellcolorview2799018950__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview2137026091__view{width:100%}.colorview2137026091__fillPreview{flex-shrink:0}.colorview2137026091__view .colorview2137026091__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog1255391285__layout{max-width:510px!important}.formdocumentfield725117996__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield725117996__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield725117996__textWidth{max-width:calc(100% - 196px)}.formdocumentfield725117996__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield725117996__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield725117996__addDocument.formdocumentfield725117996--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield725117996__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))}.exclamation4206296069__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation4206296069__exclamation.exclamation4206296069---type-7-warning:not(.exclamation4206296069--customSize),.exclamation4206296069__exclamation.exclamation4206296069---type-5-error:not(.exclamation4206296069--customSize){width:24px;height:24px}.exclamation4206296069__exclamation.exclamation4206296069---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation4206296069__exclamation.exclamation4206296069---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation4206296069__actions{display:flex;flex-direction:column}.exclamation4206296069__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation4206296069__action+.exclamation4206296069__action{margin-top:6px}.exclamation4206296069__action.exclamation4206296069--accented{color:var(--wds-color-blue-100)}.exclamation4206296069__action.exclamation4206296069--accented:hover{color:var(--wds-color-blue-200)}.fieldvalidationsettingsinput2294766599__specificValuesInput .wds-input-with-tags__input::after{inset:0}.fieldvalidationsettingsinput2294766599__specificValuesInput .wds-input-with-tags__hidden-div{overflow:hidden}.highlightedtext400718962__root.highlightedtext400718962--highlightedBackground{animation:highlightedtext400718962__highlighted 150ms ease-out 1 forwards}.highlightedtext400718962__substring.highlightedtext400718962--isHighlighted{animation:highlightedtext400718962__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext400718962__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext400718962__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay1349976693__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay1349976693__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell3499270915__root{width:100%;height:100%}.pasteurlbutton3845473653__root{margin-top:6px}.pasteurlbutton3845473653__iconButtonTooltip{height:max-content}.pasteurlbutton3845473653__iconButton{width:24px;height:24px}.formmediagalleryfield3779153002__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield3779153002__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield3779153002__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield3779153002__addItem{box-sizing:border-box}.formmediagalleryfield3779153002__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield3779153002__image.formmediagalleryfield3779153002--withMarginRight{margin-right:3px}.formmediagalleryfield3779153002__image.formmediagalleryfield3779153002--withMarginTop{margin-top:3px}.formmediagalleryfield3779153002__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield3779153002__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage3922180827__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage3922180827__root.mediaimage3922180827--error{--mediaimage3922180827-from:calc(50% - 0.5px);--mediaimage3922180827-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage3922180827-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3922180827-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3922180827-to),transparent var(--mediaimage3922180827-to))}.mediaimage3922180827__root.mediaimage3922180827--error>*{opacity:0}.overlay3193746897__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))}.overlay3193746897__iconOverlay.overlay3193746897---size-5-small{width:20px;height:20px}.overlay3193746897__iconOverlay.overlay3193746897---size-6-medium{width:24px;height:24px}.overlay3193746897__iconOverlay.overlay3193746897---size-5-large{width:28px;height:28px}.overlay3193746897__iconOverlay.overlay3193746897---placement-7-topLeft{top:2px;left:2px}.overlay3193746897__iconOverlay.overlay3193746897---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag1017992439__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))}.cellmultidocumentedit1603295334__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}.formmultidocument746449936__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument746449936__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument746449936__viewRoot>div:first-child .formmultidocument746449936__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))}.formmultidocument746449936__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument746449936__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument746449936__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))}.formmultidocument746449936__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))}.cellmultireferenceinput2390621674__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}.cellreferenceinput3634608245__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput3634608245__autocomplete{width:100%}.richcontentdefaultvalueinput1645418117__richContentEditorContainer .richcontentdefaultvalueinput1645418117__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput466150836__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))}.richcontentforminput466150836__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))}.richcontentforminput466150836__root .richcontentforminput466150836__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput2428649347__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput2428649347__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal1056891884__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}.publishloader2453444346__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton1274451813__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton1274451813__root button{border-radius:6px!important}.richcontenteditor3824894756__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor3824894756__root,.richcontenteditor3824894756__toolbarContainer,.richcontenteditor3824894756__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor3824894756__toolbarContainer div{box-sizing:border-box}.richcontenteditor3824894756__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor3824894756__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor3824894756__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor3824894756__modalEditor .richcontenteditor3824894756__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor3824894756__modalEditor .richcontenteditor3824894756__footerToolbarContainer{margin-top:9px}.richcontenteditor3824894756__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor3824894756__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar3747021423__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}.richcontenttoolbar3747021423__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar3747021423__toolbarButton:disabled{color:graytext}.richcontenttoolbar3747021423__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar3747021423__toolbar label{padding:0 8px}.richcontentviewer4089293587__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer4089293587__root.richcontentviewer4089293587--isFullScreen{padding:12px 24px}.richcontentviewer4089293587__root:not(.richcontentviewer4089293587--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer4089293587__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer4089293587__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer4089293587__modalViewer{min-width:592px;overflow:auto}.richtexteditor3708060059__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))}.richtexteditor3708060059__root.richtexteditor3708060059---border-4-none{border:0}.richtexteditor3708060059__root.richtexteditor3708060059---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))}.richtexteditor3708060059__root.richtexteditor3708060059---border-8-standard:focus,.richtexteditor3708060059__root.richtexteditor3708060059---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))}.richtexteditor3708060059__root.richtexteditor3708060059---border-8-standard.richtexteditor3708060059---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor3708060059__root.richtexteditor3708060059---border-8-standard.richtexteditor3708060059---status-5-error:focus,.richtexteditor3708060059__root.richtexteditor3708060059---border-8-standard.richtexteditor3708060059---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))}.richtexteditor3708060059__root.richtexteditor3708060059---border-8-standard.richtexteditor3708060059---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor3708060059__root.richtexteditor3708060059---border-8-standard.richtexteditor3708060059---status-7-warning:focus,.richtexteditor3708060059__root.richtexteditor3708060059---border-8-standard.richtexteditor3708060059---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))}.richtexteditor3708060059__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor3708060059__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))}.richtexteditor3708060059__editor.richtexteditor3708060059--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor3708060059__editor:not(.richtexteditor3708060059--isFullScreen){max-height:80vh}.richtexteditor3708060059__editor>div{flex:1;max-width:100%}.toolbar2407407331__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}.toolbar2407407331__item{display:flex;margin-right:12px}.toolbar2407407331__item svg,.toolbar2407407331__item svg path,.toolbar2407407331__item svg text{color:inherit;fill:currentColor}.toolbar2407407331__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar2407407331__clearFormatting{margin-left:auto}.toolbar2407407331__fullScreen{margin-right:0}.toolbar2407407331__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar2407407331__dropdownItemContent.toolbar2407407331--selected .toolbar2407407331__dropdownItemTitle,.toolbar2407407331__dropdownItemContent.toolbar2407407331--selected .toolbar2407407331__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar2407407331__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar2407407331__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}.toolbar2407407331__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}.toolbar2407407331__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}.toolbar2407407331__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}.toolbar2407407331__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}.toolbar2407407331__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}.toolbar2407407331__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}.toolbar2407407331__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}.toolbar2407407331__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}.textview3440782669__textView::after{content:"";display:block}.richeditor289332474__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))}.richeditor289332474__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))}.richeditor289332474__editor .DraftEditor-root{width:100%;height:100%}.richeditor289332474__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor289332474__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richeditor289332474__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor289332474__editor .public-DraftEditor-content ol,.richeditor289332474__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor289332474__editor .public-DraftEditor-content a,.richeditor289332474__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor289332474__header-one:not(li),.richeditor289332474__header-two:not(li),.richeditor289332474__header-three:not(li),.richeditor289332474__header-four:not(li),.richeditor289332474__header-five:not(li),.richeditor289332474__header-six:not(li){margin-block:0;margin:0}.richeditor289332474__header-one,.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__header-two,.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__header-three,.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__header-four,.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__header-five,.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__header-six,.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__paragraph-one,.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__unstyled,.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__paragraph-three,.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__editor li.richeditor289332474__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__editor li.richeditor289332474__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__editor li.richeditor289332474__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__editor li.richeditor289332474__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__editor li.richeditor289332474__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__editor li.richeditor289332474__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__editor li.richeditor289332474__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)))}.richeditor289332474__editor li.richeditor289332474__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}.richeditor289332474__align-left{text-align:left;align-self:flex-start}.richeditor289332474__align-right{text-align:right;align-self:flex-end}.richeditor289332474__align-center{text-align:center;align-self:center}.richeditor289332474__align-justify{text-align:justify;align-self:stretch}.richeditor289332474__withMargin{display:inline-block}.richeditor289332474__dir-rtl,.richeditor289332474__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor289332474__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/types/validation.ts"],"sourcesContent":["import type { SpecificValue } from '@wix/bex-core';\n\nexport type RequiredValidationRule = {\n required: boolean;\n};\n\nexport type CharactersLimitValidationRule = {\n charactersLimit: { min?: number; max?: number };\n};\n\nexport type SpecificValuesValidationRule = {\n specificValues: SpecificValue[];\n};\n\nexport type PatternValidationRule = {\n pattern: string;\n};\n\nexport interface RequiredFieldValidationRuleConfig {\n type: 'required';\n label: string;\n tooltip: string;\n}\n\nexport interface CharactersLimitFieldValidationRuleConfig {\n type: 'charactersLimit';\n label: string;\n tooltip: string;\n minLabel: string;\n maxLabel: string;\n separator: string;\n outOfBoundsError(min: number, max: number): string;\n maxBelowMinError: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport interface SpecificValuesFieldValidationRuleConfig {\n type: 'specificValues';\n label: string;\n tooltip: string;\n blankError
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/types/validation.ts"],"sourcesContent":["import type { SpecificValue } from '@wix/bex-core';\n\nexport type RequiredValidationRule = {\n required: boolean;\n};\n\nexport type CharactersLimitValidationRule = {\n charactersLimit: { min?: number; max?: number };\n};\n\nexport type SpecificValuesValidationRule = {\n specificValues: SpecificValue[];\n};\n\nexport type PatternValidationRule = {\n pattern: string;\n};\n\nexport interface RequiredFieldValidationRuleConfig {\n type: 'required';\n label: string;\n tooltip: string;\n}\n\nexport interface CharactersLimitFieldValidationRuleConfig {\n type: 'charactersLimit';\n label: string;\n tooltip: string;\n minLabel: string;\n maxLabel: string;\n separator: string;\n outOfBoundsError(min: number, max: number): string;\n maxBelowMinError: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport interface SpecificValuesFieldValidationRuleConfig {\n type: 'specificValues';\n label: string;\n tooltip: string;\n optionsLabel?: string;\n /** Replaced by the error while one shows. */\n optionsHint?: string;\n emptyError?: string;\n /** For drafts that arrive with a blank or repeated value; the input never adds one. */\n blankError?: string;\n duplicateError?: string;\n /** @deprecated No longer rendered. */\n addButton?: string;\n /** @deprecated No longer rendered. */\n removeButton?: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport interface PatternFieldValidationRuleConfig {\n type: 'pattern';\n label: string;\n tooltip: string;\n inputLabel: string;\n invalidError: string;\n /** Shown for a pattern that compiles but is refused because matching it\n * could hang the page. Falls back to `invalidError`. */\n unsafeError?: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport type FieldValidationRuleConfig =\n | RequiredFieldValidationRuleConfig\n | CharactersLimitFieldValidationRuleConfig\n | SpecificValuesFieldValidationRuleConfig\n | PatternFieldValidationRuleConfig;\n\nexport type FieldValidationRule = FieldValidationRuleConfig['type'];\n\nexport interface FieldValidationSettingsValue {\n required?: boolean;\n charactersLimit?: { min?: number; max?: number };\n specificValues?: SpecificValue[];\n pattern?: string;\n}\n\nexport type FieldValidationViolation =\n | {\n rule: 'charactersLimit';\n type: 'outOfBounds';\n bound: 'min' | 'max';\n min: number;\n max: number;\n }\n | { rule: 'charactersLimit'; type: 'maxBelowMin' }\n | {\n rule: 'specificValues';\n type: 'blank' | 'duplicate';\n optionId: string;\n }\n | { rule: 'specificValues'; type: 'empty' }\n | {\n rule: 'specificValues' | 'charactersLimit' | 'pattern';\n type: 'exclusiveRules';\n }\n | { rule: 'pattern'; type: 'invalidPattern' | 'unsafePattern' };\n\nexport type DataValidationRules = Partial<\n RequiredValidationRule &\n CharactersLimitValidationRule &\n SpecificValuesValidationRule &\n PatternValidationRule\n>;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -64,6 +64,12 @@ const getFieldValidationSettingsViolations = (value, supportedRules, {
|
|
|
64
64
|
type: 'maxBelowMin'
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
+
if ((specificValues == null ? void 0 : specificValues.length) === 0) {
|
|
68
|
+
violations.push({
|
|
69
|
+
rule: 'specificValues',
|
|
70
|
+
type: 'empty'
|
|
71
|
+
});
|
|
72
|
+
}
|
|
67
73
|
if (specificValues !== undefined) {
|
|
68
74
|
const normalizedValues = specificValues.map(({
|
|
69
75
|
value: optionValue
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_regexSafety","require","CHARACTERS_CEILING","MIN_CHARACTERS_FLOOR","MIN_CHARACTERS_FLOOR_WHEN_REQUIRED","MAX_CHARACTERS_FLOOR","MAX_PATTERN_LENGTH","isOutOfBounds","value","min","max","Number","isFinite","patternProblem","pattern","length","undefined","RegExp","hasNestedQuantifier","compilePattern","exports","matchesPattern","_compilePattern","test","getFieldValidationSettingsViolations","supportedRules","exclusiveSpecificValues","violations","supports","rule","includes","charactersLimit","specificValues","minCharactersFloor","required","push","type","bound","normalizedValues","map","optionValue","trim","forEach","option","index","optionId","id","indexOf","hasSpecificValues","hasCharactersLimit","hasPattern","problem","hasFieldValidationSettingsError","options"],"sources":["../../../src/validations/field-validation-settings.ts"],"sourcesContent":["import type {\n FieldValidationRule,\n FieldValidationSettingsValue,\n FieldValidationViolation,\n} from '../types/validation';\nimport { hasNestedQuantifier } from './regex-safety';\n\nconst CHARACTERS_CEILING = 256_000;\nconst MIN_CHARACTERS_FLOOR = 0;\nconst MIN_CHARACTERS_FLOOR_WHEN_REQUIRED = 1;\nconst MAX_CHARACTERS_FLOOR = 1;\nconst MAX_PATTERN_LENGTH = 500;\n\nconst isOutOfBounds = (value: number, min: number, max: number) =>\n !Number.isFinite(value) || value < min || value > max;\n\nconst patternProblem = (\n pattern: string | undefined,\n): 'invalidPattern' | 'unsafePattern' | undefined => {\n if (!pattern || pattern.length > MAX_PATTERN_LENGTH) {\n return pattern ? 'invalidPattern' : undefined;\n }\n\n try {\n new RegExp(pattern);\n } catch {\n return 'invalidPattern';\n }\n\n return hasNestedQuantifier(pattern) ? 'unsafePattern' : undefined;\n};\n\nexport const compilePattern = (\n pattern: string | undefined,\n): RegExp | undefined =>\n pattern && !patternProblem(pattern) ? new RegExp(pattern) : undefined;\n\n// An unusable pattern enforces nothing rather than rejecting every value: the\n// settings editor already surfaces `invalidPattern` to whoever authored it, and\n// blocking data entry over it would strand the person typing.\nexport const matchesPattern = (\n value: string,\n pattern: string | undefined,\n): boolean => compilePattern(pattern)?.test(value) ?? true;\n\nexport interface FieldValidationSettingsOptions {\n /** Whether `specificValues` rejects `charactersLimit`/`pattern` on the same\n * field. Callers that let a field carry both (e.g. a stored\n * `stringLengthRange` alongside `specificValues`) should pass `false`. */\n exclusiveSpecificValues?: boolean;\n}\n\nexport const getFieldValidationSettingsViolations = (\n value: FieldValidationSettingsValue,\n supportedRules?: readonly FieldValidationRule[],\n { exclusiveSpecificValues = true }: FieldValidationSettingsOptions = {},\n): FieldValidationViolation[] => {\n const violations: FieldValidationViolation[] = [];\n const supports = (rule: FieldValidationRule) =>\n supportedRules === undefined || supportedRules.includes(rule);\n const charactersLimit = supports('charactersLimit')\n ? value.charactersLimit\n : undefined;\n const specificValues = supports('specificValues')\n ? value.specificValues\n : undefined;\n const pattern = supports('pattern') ? value.pattern : undefined;\n\n const minCharactersFloor =\n supports('required') && value.required\n ? MIN_CHARACTERS_FLOOR_WHEN_REQUIRED\n : MIN_CHARACTERS_FLOOR;\n\n if (\n charactersLimit?.min != null &&\n isOutOfBounds(charactersLimit.min, minCharactersFloor, CHARACTERS_CEILING)\n ) {\n violations.push({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'min',\n min: minCharactersFloor,\n max: CHARACTERS_CEILING,\n });\n }\n\n if (\n charactersLimit?.max != null &&\n isOutOfBounds(charactersLimit.max, MAX_CHARACTERS_FLOOR, CHARACTERS_CEILING)\n ) {\n violations.push({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'max',\n min: MAX_CHARACTERS_FLOOR,\n max: CHARACTERS_CEILING,\n });\n }\n\n if (\n charactersLimit?.min != null &&\n charactersLimit.max != null &&\n charactersLimit.max < charactersLimit.min\n ) {\n violations.push({ rule: 'charactersLimit', type: 'maxBelowMin' });\n }\n\n if (specificValues !== undefined) {\n const normalizedValues = specificValues.map(({ value: optionValue }) =>\n optionValue.trim(),\n );\n\n specificValues.forEach((option, index) => {\n if (!normalizedValues[index]) {\n violations.push({\n rule: 'specificValues',\n type: 'blank',\n optionId: option.id,\n });\n } else if (normalizedValues.indexOf(normalizedValues[index]) !== index) {\n violations.push({\n rule: 'specificValues',\n type: 'duplicate',\n optionId: option.id,\n });\n }\n });\n }\n\n const hasSpecificValues = specificValues !== undefined;\n const hasCharactersLimit = charactersLimit !== undefined;\n const hasPattern = pattern !== undefined;\n\n if (\n exclusiveSpecificValues &&\n hasSpecificValues &&\n (hasCharactersLimit || hasPattern)\n ) {\n violations.push({ rule: 'specificValues', type: 'exclusiveRules' });\n if (hasCharactersLimit) {\n violations.push({ rule: 'charactersLimit', type: 'exclusiveRules' });\n }\n if (hasPattern) {\n violations.push({ rule: 'pattern', type: 'exclusiveRules' });\n }\n }\n\n const problem = patternProblem(pattern);\n if (problem) {\n violations.push({ rule: 'pattern', type: problem });\n }\n\n return violations;\n};\n\nexport const hasFieldValidationSettingsError = (\n value: FieldValidationSettingsValue,\n supportedRules?: readonly FieldValidationRule[],\n options?: FieldValidationSettingsOptions,\n) =>\n getFieldValidationSettingsViolations(value, supportedRules, options).length >\n 0;\n"],"mappings":";;;;AAKA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,kBAAkB,GAAG,OAAO;AAClC,MAAMC,oBAAoB,GAAG,CAAC;AAC9B,MAAMC,kCAAkC,GAAG,CAAC;AAC5C,MAAMC,oBAAoB,GAAG,CAAC;AAC9B,MAAMC,kBAAkB,GAAG,GAAG;AAE9B,MAAMC,aAAa,GAAGA,CAACC,KAAa,EAAEC,GAAW,EAAEC,GAAW,KAC5D,CAACC,MAAM,CAACC,QAAQ,CAACJ,KAAK,CAAC,IAAIA,KAAK,GAAGC,GAAG,IAAID,KAAK,GAAGE,GAAG;AAEvD,MAAMG,cAAc,GAClBC,OAA2B,IACwB;EACnD,IAAI,CAACA,OAAO,IAAIA,OAAO,CAACC,MAAM,GAAGT,kBAAkB,EAAE;IACnD,OAAOQ,OAAO,GAAG,gBAAgB,GAAGE,SAAS;EAC/C;EAEA,IAAI;IACF,IAAIC,MAAM,CAACH,OAAO,CAAC;EACrB,CAAC,CAAC,MAAM;IACN,OAAO,gBAAgB;EACzB;EAEA,OAAO,IAAAI,gCAAmB,EAACJ,OAAO,CAAC,GAAG,eAAe,GAAGE,SAAS;AACnE,CAAC;AAEM,MAAMG,cAAc,GACzBL,OAA2B,IAE3BA,OAAO,IAAI,CAACD,cAAc,CAACC,OAAO,CAAC,GAAG,IAAIG,MAAM,CAACH,OAAO,CAAC,GAAGE,SAAS;;AAEvE;AACA;AACA;AAAAI,OAAA,CAAAD,cAAA,GAAAA,cAAA;AACO,MAAME,cAAc,GAAGA,CAC5Bb,KAAa,EACbM,OAA2B;EAAA,IAAAQ,eAAA;EAAA,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fBounds","value","min","max","Number","isFinite","patternProblem","pattern","length","undefined","RegExp","hasNestedQuantifier","compilePattern","exports","matchesPattern","_compilePattern","test","getFieldValidationSettingsViolations","supportedRules","exclusiveSpecificValues","violations","supports","rule","includes","charactersLimit","specificValues","minCharactersFloor","required","push","type","bound","normalizedValues","map","optionValue","trim","forEach","option","index","optionId","id","indexOf","hasSpecificValues","hasCharactersLimit","hasPattern","problem","hasFieldValidationSettingsError","options"],"sources":["../../../src/validations/field-validation-settings.ts"],"sourcesContent":["import type {\n FieldValidationRule,\n FieldValidationSettingsValue,\n FieldValidationViolation,\n} from '../types/validation';\nimport { hasNestedQuantifier } from './regex-safety';\n\nconst CHARACTERS_CEILING = 256_000;\nconst MIN_CHARACTERS_FLOOR = 0;\nconst MIN_CHARACTERS_FLOOR_WHEN_REQUIRED = 1;\nconst MAX_CHARACTERS_FLOOR = 1;\nconst MAX_PATTERN_LENGTH = 500;\n\nconst isOutOfBounds = (value: number, min: number, max: number) =>\n !Number.isFinite(value) || value < min || value > max;\n\nconst patternProblem = (\n pattern: string | undefined,\n): 'invalidPattern' | 'unsafePattern' | undefined => {\n if (!pattern || pattern.length > MAX_PATTERN_LENGTH) {\n return pattern ? 'invalidPattern' : undefined;\n }\n\n try {\n new RegExp(pattern);\n } catch {\n return 'invalidPattern';\n }\n\n return hasNestedQuantifier(pattern) ? 'unsafePattern' : undefined;\n};\n\nexport const compilePattern = (\n pattern: string | undefined,\n): RegExp | undefined =>\n pattern && !patternProblem(pattern) ? new RegExp(pattern) : undefined;\n\n// An unusable pattern enforces nothing rather than rejecting every value: the\n// settings editor already surfaces `invalidPattern` to whoever authored it, and\n// blocking data entry over it would strand the person typing.\nexport const matchesPattern = (\n value: string,\n pattern: string | undefined,\n): boolean => compilePattern(pattern)?.test(value) ?? true;\n\nexport interface FieldValidationSettingsOptions {\n /** Whether `specificValues` rejects `charactersLimit`/`pattern` on the same\n * field. Callers that let a field carry both (e.g. a stored\n * `stringLengthRange` alongside `specificValues`) should pass `false`. */\n exclusiveSpecificValues?: boolean;\n}\n\nexport const getFieldValidationSettingsViolations = (\n value: FieldValidationSettingsValue,\n supportedRules?: readonly FieldValidationRule[],\n { exclusiveSpecificValues = true }: FieldValidationSettingsOptions = {},\n): FieldValidationViolation[] => {\n const violations: FieldValidationViolation[] = [];\n const supports = (rule: FieldValidationRule) =>\n supportedRules === undefined || supportedRules.includes(rule);\n const charactersLimit = supports('charactersLimit')\n ? value.charactersLimit\n : undefined;\n const specificValues = supports('specificValues')\n ? value.specificValues\n : undefined;\n const pattern = supports('pattern') ? value.pattern : undefined;\n\n const minCharactersFloor =\n supports('required') && value.required\n ? MIN_CHARACTERS_FLOOR_WHEN_REQUIRED\n : MIN_CHARACTERS_FLOOR;\n\n if (\n charactersLimit?.min != null &&\n isOutOfBounds(charactersLimit.min, minCharactersFloor, CHARACTERS_CEILING)\n ) {\n violations.push({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'min',\n min: minCharactersFloor,\n max: CHARACTERS_CEILING,\n });\n }\n\n if (\n charactersLimit?.max != null &&\n isOutOfBounds(charactersLimit.max, MAX_CHARACTERS_FLOOR, CHARACTERS_CEILING)\n ) {\n violations.push({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'max',\n min: MAX_CHARACTERS_FLOOR,\n max: CHARACTERS_CEILING,\n });\n }\n\n if (\n charactersLimit?.min != null &&\n charactersLimit.max != null &&\n charactersLimit.max < charactersLimit.min\n ) {\n violations.push({ rule: 'charactersLimit', type: 'maxBelowMin' });\n }\n\n if (specificValues?.length === 0) {\n violations.push({ rule: 'specificValues', type: 'empty' });\n }\n\n if (specificValues !== undefined) {\n const normalizedValues = specificValues.map(({ value: optionValue }) =>\n optionValue.trim(),\n );\n\n specificValues.forEach((option, index) => {\n if (!normalizedValues[index]) {\n violations.push({\n rule: 'specificValues',\n type: 'blank',\n optionId: option.id,\n });\n } else if (normalizedValues.indexOf(normalizedValues[index]) !== index) {\n violations.push({\n rule: 'specificValues',\n type: 'duplicate',\n optionId: option.id,\n });\n }\n });\n }\n\n const hasSpecificValues = specificValues !== undefined;\n const hasCharactersLimit = charactersLimit !== undefined;\n const hasPattern = pattern !== undefined;\n\n if (\n exclusiveSpecificValues &&\n hasSpecificValues &&\n (hasCharactersLimit || hasPattern)\n ) {\n violations.push({ rule: 'specificValues', type: 'exclusiveRules' });\n if (hasCharactersLimit) {\n violations.push({ rule: 'charactersLimit', type: 'exclusiveRules' });\n }\n if (hasPattern) {\n violations.push({ rule: 'pattern', type: 'exclusiveRules' });\n }\n }\n\n const problem = patternProblem(pattern);\n if (problem) {\n violations.push({ rule: 'pattern', type: problem });\n }\n\n return violations;\n};\n\nexport const hasFieldValidationSettingsError = (\n value: FieldValidationSettingsValue,\n supportedRules?: readonly FieldValidationRule[],\n options?: FieldValidationSettingsOptions,\n) =>\n getFieldValidationSettingsViolations(value, supportedRules, options).length >\n 0;\n"],"mappings":";;;;AAKA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,kBAAkB,GAAG,OAAO;AAClC,MAAMC,oBAAoB,GAAG,CAAC;AAC9B,MAAMC,kCAAkC,GAAG,CAAC;AAC5C,MAAMC,oBAAoB,GAAG,CAAC;AAC9B,MAAMC,kBAAkB,GAAG,GAAG;AAE9B,MAAMC,aAAa,GAAGA,CAACC,KAAa,EAAEC,GAAW,EAAEC,GAAW,KAC5D,CAACC,MAAM,CAACC,QAAQ,CAACJ,KAAK,CAAC,IAAIA,KAAK,GAAGC,GAAG,IAAID,KAAK,GAAGE,GAAG;AAEvD,MAAMG,cAAc,GAClBC,OAA2B,IACwB;EACnD,IAAI,CAACA,OAAO,IAAIA,OAAO,CAACC,MAAM,GAAGT,kBAAkB,EAAE;IACnD,OAAOQ,OAAO,GAAG,gBAAgB,GAAGE,SAAS;EAC/C;EAEA,IAAI;IACF,IAAIC,MAAM,CAACH,OAAO,CAAC;EACrB,CAAC,CAAC,MAAM;IACN,OAAO,gBAAgB;EACzB;EAEA,OAAO,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MAAEN,IAAI,EAAE,SAAS;MAAEO,IAAI,EAAEe;IAAQ,CAAC,CAAC;EACrD;EAEA,OAAOxB,UAAU;AACnB,CAAC;AAACP,OAAA,CAAAI,oCAAA,GAAAA,oCAAA;AAEK,MAAM4B,+BAA+B,GAAGA,CAC7C5C,KAAmC,EACnCiB,cAA+C,EAC/C4B,OAAwC,KAExC7B,oCAAoC,CAAChB,KAAK,EAAEiB,cAAc,EAAE4B,OAAO,CAAC,CAACtC,MAAM,GAC3E,CAAC;AAACK,OAAA,CAAAgC,+BAAA,GAAAA,+BAAA","ignoreList":[]}
|
|
@@ -142,6 +142,18 @@ describe('field validation settings', () => {
|
|
|
142
142
|
optionId: 'duplicate'
|
|
143
143
|
}]);
|
|
144
144
|
});
|
|
145
|
+
it('reports an enabled specific values rule with no values as empty', () => {
|
|
146
|
+
expect((0, _fieldValidationSettings.getFieldValidationSettingsViolations)({
|
|
147
|
+
specificValues: []
|
|
148
|
+
})).toEqual([{
|
|
149
|
+
rule: 'specificValues',
|
|
150
|
+
type: 'empty'
|
|
151
|
+
}]);
|
|
152
|
+
expect((0, _fieldValidationSettings.hasFieldValidationSettingsError)({
|
|
153
|
+
specificValues: []
|
|
154
|
+
})).toBe(true);
|
|
155
|
+
expect((0, _fieldValidationSettings.hasFieldValidationSettingsError)({})).toBe(false);
|
|
156
|
+
});
|
|
145
157
|
it('reports every side of an exclusive-rules conflict', () => {
|
|
146
158
|
expect((0, _fieldValidationSettings.getFieldValidationSettingsViolations)({
|
|
147
159
|
charactersLimit: {},
|
|
@@ -175,7 +187,10 @@ describe('field validation settings', () => {
|
|
|
175
187
|
it('allows specificValues alongside charactersLimit when the caller opts out of exclusivity', () => {
|
|
176
188
|
const value = {
|
|
177
189
|
charactersLimit: {},
|
|
178
|
-
specificValues: [
|
|
190
|
+
specificValues: [{
|
|
191
|
+
id: 'one',
|
|
192
|
+
value: 'One'
|
|
193
|
+
}]
|
|
179
194
|
};
|
|
180
195
|
expect((0, _fieldValidationSettings.getFieldValidationSettingsViolations)(value, undefined, {
|
|
181
196
|
exclusiveSpecificValues: false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_fieldValidationSettings","require","describe","it","expect","getFieldValidationSettingsViolations","charactersLimit","toEqual","each","name","value","min","bound","required","max","snapshot","JSON","parse","stringify","toContainEqual","rule","type","Number","NaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","hasFieldValidationSettingsError","toBe","specificValues","id","optionId","pattern","arrayContaining","undefined","exclusiveSpecificValues","repeat"],"sources":["../../../src/validations/field-validation-settings.spec.ts"],"sourcesContent":["import {\n getFieldValidationSettingsViolations,\n hasFieldValidationSettingsError,\n} from './field-validation-settings';\n\ndescribe('field validation settings', () => {\n it('allows absent character bounds', () => {\n expect(\n getFieldValidationSettingsViolations({ charactersLimit: {} }),\n ).toEqual([]);\n });\n\n it.each([\n {\n name: 'a negative optional minimum',\n value: { charactersLimit: { min: -1 } },\n bound: 'min',\n min: 0,\n },\n {\n name: 'a required minimum below one',\n value: { required: true, charactersLimit: { min: 0 } },\n bound: 'min',\n min: 1,\n },\n {\n name: 'a maximum below one',\n value: { charactersLimit: { max: 0 } },\n bound: 'max',\n min: 1,\n },\n {\n name: 'a minimum above the ceiling',\n value: { charactersLimit: { min: 256_001 } },\n bound: 'min',\n min: 0,\n },\n {\n name: 'a maximum above the ceiling',\n value: { charactersLimit: { max: 256_001 } },\n bound: 'max',\n min: 1,\n },\n ])('reports $name without changing it', ({ value, bound, min }) => {\n const snapshot = JSON.parse(JSON.stringify(value));\n\n expect(getFieldValidationSettingsViolations(value)).toContainEqual({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound,\n min,\n max: 256_000,\n });\n expect(value).toEqual(snapshot);\n });\n\n it('reports a maximum below the minimum without changing the draft', () => {\n const value = { charactersLimit: { min: 10, max: 5 } };\n\n expect(getFieldValidationSettingsViolations(value)).toContainEqual({\n rule: 'charactersLimit',\n type: 'maxBelowMin',\n });\n expect(value.charactersLimit).toEqual({ min: 10, max: 5 });\n });\n\n it.each([Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY])(\n 'reports a non-finite character bound: %s',\n (min) => {\n expect(\n getFieldValidationSettingsViolations({ charactersLimit: { min } }),\n ).toContainEqual({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'min',\n min: 0,\n max: 256_000,\n });\n },\n );\n\n it('makes a minimum of zero invalid only while required is enabled', () => {\n const charactersLimit = { min: 0 };\n\n expect(\n hasFieldValidationSettingsError({ required: false, charactersLimit }),\n ).toBe(false);\n expect(\n hasFieldValidationSettingsError({ required: true, charactersLimit }),\n ).toBe(true);\n expect(\n hasFieldValidationSettingsError({ required: false, charactersLimit }),\n ).toBe(false);\n expect(charactersLimit).toEqual({ min: 0 });\n });\n\n it('reports blank and duplicate specific values after trimming', () => {\n expect(\n getFieldValidationSettingsViolations({\n specificValues: [\n { id: 'blank', value: ' ' },\n { id: 'first', value: 'One' },\n { id: 'duplicate', value: ' One ' },\n { id: 'different-case', value: 'one' },\n ],\n }),\n ).toEqual([\n { rule: 'specificValues', type: 'blank', optionId: 'blank' },\n {\n rule: 'specificValues',\n type: 'duplicate',\n optionId: 'duplicate',\n },\n ]);\n });\n\n it('reports every side of an exclusive-rules conflict', () => {\n expect(\n getFieldValidationSettingsViolations({\n charactersLimit: {},\n specificValues: [],\n pattern: '^value$',\n }),\n ).toEqual(\n expect.arrayContaining([\n { rule: 'specificValues', type: 'exclusiveRules' },\n { rule: 'charactersLimit', type: 'exclusiveRules' },\n { rule: 'pattern', type: 'exclusiveRules' },\n ]),\n );\n });\n\n it('reports invalid regular expressions without throwing', () => {\n expect(\n getFieldValidationSettingsViolations({ pattern: '[' }),\n ).toContainEqual({ rule: 'pattern', type: 'invalidPattern' });\n expect(hasFieldValidationSettingsError({ pattern: '' })).toBe(false);\n expect(hasFieldValidationSettingsError({ pattern: '^valid$' })).toBe(false);\n });\n\n it('allows specificValues alongside charactersLimit when the caller opts out of exclusivity', () => {\n const value = { charactersLimit: {}, specificValues: [] };\n\n expect(\n getFieldValidationSettingsViolations(value, undefined, {\n exclusiveSpecificValues: false,\n }),\n ).toEqual([]);\n expect(\n hasFieldValidationSettingsError(value, undefined, {\n exclusiveSpecificValues: false,\n }),\n ).toBe(false);\n });\n\n it('reports an overlong pattern as invalid without constructing a RegExp', () => {\n const pattern = '^'.repeat(501);\n\n expect(getFieldValidationSettingsViolations({ pattern })).toContainEqual({\n rule: 'pattern',\n type: 'invalidPattern',\n });\n });\n\n it('ignores values outside the caller supported rule set', () => {\n const value = {\n required: true,\n charactersLimit: { min: 0 },\n specificValues: [],\n pattern: '[',\n };\n\n expect(\n getFieldValidationSettingsViolations(value, ['charactersLimit']),\n ).toEqual([]);\n expect(hasFieldValidationSettingsError(value, ['charactersLimit'])).toBe(\n false,\n );\n });\n});\n"],"mappings":";;AAAA,IAAAA,wBAAA,GAAAC,OAAA;AAKAC,QAAQ,CAAC,2BAA2B,EAAE,MAAM;EAC1CC,EAAE,CAAC,gCAAgC,EAAE,MAAM;IACzCC,MAAM,CACJ,IAAAC,6DAAoC,EAAC;MAAEC,eAAe,EAAE,CAAC;IAAE,CAAC,CAC9D,CAAC,CAACC,OAAO,CAAC,EAAE,CAAC;EACf,CAAC,CAAC;EAEFJ,EAAE,CAACK,IAAI,CAAC,CACN;IACEC,IAAI,EAAE,6BAA6B;IACnCC,KAAK,EAAE;MAAEJ,eAAe,EAAE;QAAEK,GAAG,EAAE,CAAC;MAAE;IAAE,CAAC;IACvCC,KAAK,EAAE,KAAK;IACZD,GAAG,EAAE;EACP,CAAC,EACD;IACEF,IAAI,EAAE,8BAA8B;IACpCC,KAAK,EAAE;MAAEG,QAAQ,EAAE,IAAI;MAAEP,eAAe,EAAE;QAAEK,GAAG,EAAE;MAAE;IAAE,CAAC;IACtDC,KAAK,EAAE,KAAK;IACZD,GAAG,EAAE;EACP,CAAC,EACD;IACEF,IAAI,EAAE,qBAAqB;IAC3BC,KAAK,EAAE;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;IACbH,MAAM,CAAC,IAAAsB,wDAA+B,EAAChB,KAAK,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAACiB,IAAI,CACtE,KACF,CAAC;EACH,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_fieldValidationSettings","require","describe","it","expect","getFieldValidationSettingsViolations","charactersLimit","toEqual","each","name","value","min","bound","required","max","snapshot","JSON","parse","stringify","toContainEqual","rule","type","Number","NaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","hasFieldValidationSettingsError","toBe","specificValues","id","optionId","pattern","arrayContaining","undefined","exclusiveSpecificValues","repeat"],"sources":["../../../src/validations/field-validation-settings.spec.ts"],"sourcesContent":["import {\n getFieldValidationSettingsViolations,\n hasFieldValidationSettingsError,\n} from './field-validation-settings';\n\ndescribe('field validation settings', () => {\n it('allows absent character bounds', () => {\n expect(\n getFieldValidationSettingsViolations({ charactersLimit: {} }),\n ).toEqual([]);\n });\n\n it.each([\n {\n name: 'a negative optional minimum',\n value: { charactersLimit: { min: -1 } },\n bound: 'min',\n min: 0,\n },\n {\n name: 'a required minimum below one',\n value: { required: true, charactersLimit: { min: 0 } },\n bound: 'min',\n min: 1,\n },\n {\n name: 'a maximum below one',\n value: { charactersLimit: { max: 0 } },\n bound: 'max',\n min: 1,\n },\n {\n name: 'a minimum above the ceiling',\n value: { charactersLimit: { min: 256_001 } },\n bound: 'min',\n min: 0,\n },\n {\n name: 'a maximum above the ceiling',\n value: { charactersLimit: { max: 256_001 } },\n bound: 'max',\n min: 1,\n },\n ])('reports $name without changing it', ({ value, bound, min }) => {\n const snapshot = JSON.parse(JSON.stringify(value));\n\n expect(getFieldValidationSettingsViolations(value)).toContainEqual({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound,\n min,\n max: 256_000,\n });\n expect(value).toEqual(snapshot);\n });\n\n it('reports a maximum below the minimum without changing the draft', () => {\n const value = { charactersLimit: { min: 10, max: 5 } };\n\n expect(getFieldValidationSettingsViolations(value)).toContainEqual({\n rule: 'charactersLimit',\n type: 'maxBelowMin',\n });\n expect(value.charactersLimit).toEqual({ min: 10, max: 5 });\n });\n\n it.each([Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY])(\n 'reports a non-finite character bound: %s',\n (min) => {\n expect(\n getFieldValidationSettingsViolations({ charactersLimit: { min } }),\n ).toContainEqual({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'min',\n min: 0,\n max: 256_000,\n });\n },\n );\n\n it('makes a minimum of zero invalid only while required is enabled', () => {\n const charactersLimit = { min: 0 };\n\n expect(\n hasFieldValidationSettingsError({ required: false, charactersLimit }),\n ).toBe(false);\n expect(\n hasFieldValidationSettingsError({ required: true, charactersLimit }),\n ).toBe(true);\n expect(\n hasFieldValidationSettingsError({ required: false, charactersLimit }),\n ).toBe(false);\n expect(charactersLimit).toEqual({ min: 0 });\n });\n\n it('reports blank and duplicate specific values after trimming', () => {\n expect(\n getFieldValidationSettingsViolations({\n specificValues: [\n { id: 'blank', value: ' ' },\n { id: 'first', value: 'One' },\n { id: 'duplicate', value: ' One ' },\n { id: 'different-case', value: 'one' },\n ],\n }),\n ).toEqual([\n { rule: 'specificValues', type: 'blank', optionId: 'blank' },\n {\n rule: 'specificValues',\n type: 'duplicate',\n optionId: 'duplicate',\n },\n ]);\n });\n\n it('reports an enabled specific values rule with no values as empty', () => {\n expect(\n getFieldValidationSettingsViolations({ specificValues: [] }),\n ).toEqual([{ rule: 'specificValues', type: 'empty' }]);\n expect(hasFieldValidationSettingsError({ specificValues: [] })).toBe(true);\n expect(hasFieldValidationSettingsError({})).toBe(false);\n });\n\n it('reports every side of an exclusive-rules conflict', () => {\n expect(\n getFieldValidationSettingsViolations({\n charactersLimit: {},\n specificValues: [],\n pattern: '^value$',\n }),\n ).toEqual(\n expect.arrayContaining([\n { rule: 'specificValues', type: 'exclusiveRules' },\n { rule: 'charactersLimit', type: 'exclusiveRules' },\n { rule: 'pattern', type: 'exclusiveRules' },\n ]),\n );\n });\n\n it('reports invalid regular expressions without throwing', () => {\n expect(\n getFieldValidationSettingsViolations({ pattern: '[' }),\n ).toContainEqual({ rule: 'pattern', type: 'invalidPattern' });\n expect(hasFieldValidationSettingsError({ pattern: '' })).toBe(false);\n expect(hasFieldValidationSettingsError({ pattern: '^valid$' })).toBe(false);\n });\n\n it('allows specificValues alongside charactersLimit when the caller opts out of exclusivity', () => {\n const value = {\n charactersLimit: {},\n specificValues: [{ id: 'one', value: 'One' }],\n };\n\n expect(\n getFieldValidationSettingsViolations(value, undefined, {\n exclusiveSpecificValues: false,\n }),\n ).toEqual([]);\n expect(\n hasFieldValidationSettingsError(value, undefined, {\n exclusiveSpecificValues: false,\n }),\n ).toBe(false);\n });\n\n it('reports an overlong pattern as invalid without constructing a RegExp', () => {\n const pattern = '^'.repeat(501);\n\n expect(getFieldValidationSettingsViolations({ pattern })).toContainEqual({\n rule: 'pattern',\n type: 'invalidPattern',\n });\n });\n\n it('ignores values outside the caller supported rule set', () => {\n const value = {\n required: true,\n charactersLimit: { min: 0 },\n specificValues: [],\n pattern: '[',\n };\n\n expect(\n getFieldValidationSettingsViolations(value, ['charactersLimit']),\n ).toEqual([]);\n expect(hasFieldValidationSettingsError(value, ['charactersLimit'])).toBe(\n false,\n );\n });\n});\n"],"mappings":";;AAAA,IAAAA,wBAAA,GAAAC,OAAA;AAKAC,QAAQ,CAAC,2BAA2B,EAAE,MAAM;EAC1CC,EAAE,CAAC,gCAAgC,EAAE,MAAM;IACzCC,MAAM,CACJ,IAAAC,6DAAoC,EAAC;MAAEC,eAAe,EAAE,CAAC;IAAE,CAAC,CAC9D,CAAC,CAACC,OAAO,CAAC,EAAE,CAAC;EACf,CAAC,CAAC;EAEFJ,EAAE,CAACK,IAAI,CAAC,CACN;IACEC,IAAI,EAAE,6BAA6B;IACnCC,KAAK,EAAE;MAAEJ,eAAe,EAAE;QAAEK,GAAG,EAAE,CAAC;MAAE;IAAE,CAAC;I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E;IAC3B,CAAC,CACH,CAAC,CAAC3B,OAAO,CAAC,EAAE,CAAC;IACbH,MAAM,CACJ,IAAAsB,wDAA+B,EAAChB,KAAK,EAAEuB,SAAS,EAAE;MAChDC,uBAAuB,EAAE;IAC3B,CAAC,CACH,CAAC,CAACP,IAAI,CAAC,KAAK,CAAC;EACf,CAAC,CAAC;EAEFxB,EAAE,CAAC,sEAAsE,EAAE,MAAM;IAC/E,MAAM4B,OAAO,GAAG,GAAG,CAACI,MAAM,CAAC,GAAG,CAAC;IAE/B/B,MAAM,CAAC,IAAAC,6DAAoC,EAAC;MAAE0B;IAAQ,CAAC,CAAC,CAAC,CAACZ,cAAc,CAAC;MACvEC,IAAI,EAAE,SAAS;MACfC,IAAI,EAAE;IACR,CAAC,CAAC;EACJ,CAAC,CAAC;EAEFlB,EAAE,CAAC,sDAAsD,EAAE,MAAM;IAC/D,MAAMO,KAAK,GAAG;MACZG,QAAQ,EAAE,IAAI;MACdP,eAAe,EAAE;QAAEK,GAAG,EAAE;MAAE,CAAC;MAC3BiB,cAAc,EAAE,EAAE;MAClBG,OAAO,EAAE;IACX,CAAC;IAED3B,MAAM,CACJ,IAAAC,6DAAoC,EAACK,KAAK,EAAE,CAAC,iBAAiB,CAAC,CACjE,CAAC,CAACH,OAAO,CAAC,EAAE,CAAC;IACbH,MAAM,CAAC,IAAAsB,wDAA+B,EAAChB,KAAK,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAACiB,IAAI,CACtE,KACF,CAAC;EACH,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "addressinput2340196804";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "addressinput2340196804__root", "tableAddressInput": "addressinput2340196804__tableAddressInput" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "actionsmenu1179467800";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "actionsmenu1179467800__root", "action": "actionsmenu1179467800__action" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "formaudiofield418323798";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "formaudiofield418323798__root", "addItem": "formaudiofield418323798__addItem", "mediaTitle": "formaudiofield418323798__mediaTitle" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-audio-field.st.css.js","sourceRoot":"","sources":["../../../../../src/components/audio/audio-field/form-audio-field.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjF,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"form-audio-field.st.css.js","sourceRoot":"","sources":["../../../../../src/components/audio/audio-field/form-audio-field.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjF,IAAI,WAAW,GAAG,yBAAyB,CAAC;AAC5C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,+BAA+B,EAAC,SAAS,EAAC,kCAAkC,EAAC,YAAY,EAAC,qCAAqC,EAAC,CAAC;AAC9J,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,mBAAmB,EAAC,qBAAqB,EAAC,oBAAoB,EAAC,sBAAsB,EAAC,uBAAuB,EAAC,yBAAyB,EAAC,iCAAiC,EAAC,mCAAmC,EAAC,eAAe,EAAC,iBAAiB,EAAC,eAAe,EAAC,iBAAiB,EAAC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "audioplayer2234880949";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "audioplayer2234880949__root" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "cellcolorview2799018950";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "cellcolorview2799018950__root", "hashPrefix": "cellcolorview2799018950__hashPrefix" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/cell-color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"cell-color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/cell-color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,yBAAyB,CAAC;AAC5C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,+BAA+B,EAAC,YAAY,EAAC,qCAAqC,EAAC,CAAC;AACjH,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,eAAe,EAAC,iBAAiB,EAAC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "colorview2137026091";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "colorview2137026091__root", "view": "colorview2137026091__view", "fillPreview": "colorview2137026091__fillPreview" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,qBAAqB,CAAC;AACxC,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,2BAA2B,EAAC,MAAM,EAAC,2BAA2B,EAAC,aAAa,EAAC,kCAAkC,EAAC,CAAC;AAC9I,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "deletedialog1255391285";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "deletedialog1255391285__root", "layout": "deletedialog1255391285__layout" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "formdocumentfield725117996";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "formdocumentfield725117996__root", "viewWrapper": "formdocumentfield725117996__viewWrapper", "textWidth": "formdocumentfield725117996__textWidth", "documentLoader": "formdocumentfield725117996__documentLoader", "addDocument": "formdocumentfield725117996__addDocument", "addItemWrapper": "formdocumentfield725117996__addItemWrapper" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-document-field.st.css.js","sourceRoot":"","sources":["../../../../src/components/document/form-document-field.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"form-document-field.st.css.js","sourceRoot":"","sources":["../../../../src/components/document/form-document-field.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,4BAA4B,CAAC;AAC/C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,kCAAkC,EAAC,aAAa,EAAC,yCAAyC,EAAC,WAAW,EAAC,uCAAuC,EAAC,gBAAgB,EAAC,4CAA4C,EAAC,aAAa,EAAC,yCAAyC,EAAC,gBAAgB,EAAC,4CAA4C,EAAC,CAAC;AACjW,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAC,cAAc,EAAC,KAAK,EAAC,0BAA0B,EAAC,6CAA6C,EAAC,sBAAsB,EAAC,OAAO,EAAC,wBAAwB,EAAC,6CAA6C,EAAC,uBAAuB,EAAC,MAAM,EAAC,oBAAoB,EAAC,MAAM,EAAC,CAAC;AACrR,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,uBAAuB,EAAC,yBAAyB,EAAC,uBAAuB,EAAC,yBAAyB,EAAC,oBAAoB,EAAC,sBAAsB,EAAC,oBAAoB,EAAC,sBAAsB,EAAC,eAAe,EAAC,iBAAiB,EAAC,eAAe,EAAC,iBAAiB,EAAC,iCAAiC,EAAC,mCAAmC,EAAC,eAAe,EAAC,iBAAiB,EAAC,mBAAmB,EAAC,qBAAqB,EAAC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "exclamation4206296069";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "exclamation4206296069__root", "exclamation": "exclamation4206296069__exclamation", "actions": "exclamation4206296069__actions", "action": "exclamation4206296069__action" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exclamation.st.css.js","sourceRoot":"","sources":["../../../../src/components/exclamation/exclamation.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"exclamation.st.css.js","sourceRoot":"","sources":["../../../../src/components/exclamation/exclamation.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,uBAAuB,CAAC;AAC1C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,6BAA6B,EAAC,aAAa,EAAC,oCAAoC,EAAC,SAAS,EAAC,gCAAgC,EAAC,QAAQ,EAAC,+BAA+B,EAAC,CAAC;AACnM,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,gCAAgC,EAAC,kCAAkC,EAAC,oCAAoC,EAAC,sCAAsC,EAAC,oBAAoB,EAAC,sBAAsB,EAAC,oBAAoB,EAAC,sBAAsB,EAAC,CAAC"}
|