@wix/patterns-fields 1.35.0 → 1.36.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/color-view.st.css.js +4 -4
- package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
- package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
- package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
- package/dist/cjs/components/image/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-loader/media-loader.st.css.js +3 -3
- package/dist/cjs/components/media-loader/media-loader.st.css.js.map +1 -1
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/cjs/components/number-input/form-number.driver.js +23 -0
- package/dist/cjs/components/number-input/form-number.driver.js.map +1 -0
- package/dist/cjs/components/number-input/form-number.js +80 -0
- package/dist/cjs/components/number-input/form-number.js.map +1 -0
- package/dist/cjs/components/number-input/index.js +6 -0
- package/dist/cjs/components/number-input/index.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 +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/text/form-long-text.driver.js +24 -0
- package/dist/cjs/components/text/form-long-text.driver.js.map +1 -0
- package/dist/cjs/components/text/form-long-text.js +65 -0
- package/dist/cjs/components/text/form-long-text.js.map +1 -0
- package/dist/cjs/components/text/index.js +6 -0
- package/dist/cjs/components/text/index.js.map +1 -1
- package/dist/cjs/components/text/text-view.st.css.js +3 -3
- package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
- package/dist/cjs/components/time-input/cell-time-input.js +96 -0
- package/dist/cjs/components/time-input/cell-time-input.js.map +1 -0
- package/dist/cjs/components/time-input/index.js +6 -0
- package/dist/cjs/components/time-input/index.js.map +1 -1
- package/dist/cjs/components/time-view/hooks.js +11 -5
- package/dist/cjs/components/time-view/hooks.js.map +1 -1
- package/dist/cjs/components/time-view/index.js.map +1 -1
- package/dist/cjs/components/url/form-url.driver.js +25 -0
- package/dist/cjs/components/url/form-url.driver.js.map +1 -0
- package/dist/cjs/components/url/form-url.js +85 -0
- package/dist/cjs/components/url/form-url.js.map +1 -0
- package/dist/cjs/components/url/index.js +6 -0
- package/dist/cjs/components/url/index.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/validations/number.js +9 -0
- package/dist/cjs/validations/number.js.map +1 -0
- package/dist/cjs/validations/url.js +11 -0
- package/dist/cjs/validations/url.js.map +1 -0
- package/dist/esm/components/address/input/address-input.st.css.js +2 -2
- package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/esm/components/color-view/color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/color-view.st.css.js.map +1 -1
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/esm/components/document/form-document-field.st.css.js +2 -2
- package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
- package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
- package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
- package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
- package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
- package/dist/esm/components/media-control/paste-url-button.st.css.js.map +1 -1
- 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/media-image.st.css.js.map +1 -1
- package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
- package/dist/esm/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/esm/components/media-tag/web-media-tag/media-tag.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/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/esm/components/number-input/form-number.driver.js +19 -0
- package/dist/esm/components/number-input/form-number.driver.js.map +1 -0
- package/dist/esm/components/number-input/form-number.js +39 -0
- package/dist/esm/components/number-input/form-number.js.map +1 -0
- package/dist/esm/components/number-input/index.js +1 -0
- package/dist/esm/components/number-input/index.js.map +1 -1
- package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/cell-reference-input.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/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/form-long-text.driver.js +20 -0
- package/dist/esm/components/text/form-long-text.driver.js.map +1 -0
- package/dist/esm/components/text/form-long-text.js +27 -0
- package/dist/esm/components/text/form-long-text.js.map +1 -0
- package/dist/esm/components/text/index.js +1 -0
- package/dist/esm/components/text/index.js.map +1 -1
- package/dist/esm/components/text/text-view.st.css.js +2 -2
- package/dist/esm/components/text/text-view.st.css.js.map +1 -1
- package/dist/esm/components/time-input/cell-time-input.js +40 -0
- package/dist/esm/components/time-input/cell-time-input.js.map +1 -0
- package/dist/esm/components/time-input/index.js +1 -0
- package/dist/esm/components/time-input/index.js.map +1 -1
- package/dist/esm/components/time-view/hooks.js +8 -6
- package/dist/esm/components/time-view/hooks.js.map +1 -1
- package/dist/esm/components/url/form-url.driver.js +21 -0
- package/dist/esm/components/url/form-url.driver.js.map +1 -0
- package/dist/esm/components/url/form-url.js +33 -0
- package/dist/esm/components/url/form-url.js.map +1 -0
- package/dist/esm/components/url/index.js +1 -0
- package/dist/esm/components/url/index.js.map +1 -1
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/validations/number.js +3 -0
- package/dist/esm/validations/number.js.map +1 -0
- package/dist/esm/validations/url.js +6 -0
- package/dist/esm/validations/url.js.map +1 -0
- package/dist/types/components/color-view/color-view.st.css.d.ts.map +1 -1
- package/dist/types/components/delete-dialog/delete-dialog.st.css.d.ts.map +1 -1
- package/dist/types/components/media-control/cell-media-edit-shell.st.css.d.ts.map +1 -1
- package/dist/types/components/media-control/paste-url-button.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/media-image.st.css.d.ts.map +1 -1
- package/dist/types/components/media-image/overlays/overlay.st.css.d.ts.map +1 -1
- package/dist/types/components/media-tag/web-media-tag/media-tag.st.css.d.ts.map +1 -1
- package/dist/types/components/multi-document/multi-document-input/form-multi-document.st.css.d.ts.map +1 -1
- package/dist/types/components/number-input/form-number.d.ts +8 -0
- package/dist/types/components/number-input/form-number.d.ts.map +1 -0
- package/dist/types/components/number-input/form-number.driver.d.ts +20 -0
- package/dist/types/components/number-input/form-number.driver.d.ts.map +1 -0
- package/dist/types/components/number-input/index.d.ts +1 -0
- package/dist/types/components/number-input/index.d.ts.map +1 -1
- package/dist/types/components/reference/cell-reference-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.d.ts.map +1 -1
- package/dist/types/components/text/form-long-text.d.ts +8 -0
- package/dist/types/components/text/form-long-text.d.ts.map +1 -0
- package/dist/types/components/text/form-long-text.driver.d.ts +20 -0
- package/dist/types/components/text/form-long-text.driver.d.ts.map +1 -0
- package/dist/types/components/text/index.d.ts +1 -0
- package/dist/types/components/text/index.d.ts.map +1 -1
- package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
- package/dist/types/components/time-input/cell-time-input.d.ts +29 -0
- package/dist/types/components/time-input/cell-time-input.d.ts.map +1 -0
- package/dist/types/components/time-input/index.d.ts +1 -0
- package/dist/types/components/time-input/index.d.ts.map +1 -1
- package/dist/types/components/time-view/hooks.d.ts.map +1 -1
- package/dist/types/components/url/form-url.d.ts +8 -0
- package/dist/types/components/url/form-url.d.ts.map +1 -0
- package/dist/types/components/url/form-url.driver.d.ts +21 -0
- package/dist/types/components/url/form-url.driver.d.ts.map +1 -0
- package/dist/types/components/url/index.d.ts +1 -0
- package/dist/types/components/url/index.d.ts.map +1 -1
- package/dist/types/validations/number.d.ts +3 -0
- package/dist/types/validations/number.d.ts.map +1 -0
- package/dist/types/validations/url.d.ts +2 -0
- package/dist/types/validations/url.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/__tests__/components/number-input/form-number.spec.tsx +78 -0
- package/src/__tests__/components/text/form-long-text.spec.tsx +63 -0
- package/src/__tests__/components/url/form-url.spec.tsx +82 -0
- package/src/components/address/input/address-input.st.css.ts +2 -2
- package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
- package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
- package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
- package/src/components/color-view/color-view.st.css.ts +2 -2
- package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
- package/src/components/document/form-document-field.st.css.ts +2 -2
- package/src/components/exclamation/exclamation.st.css.ts +2 -2
- package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
- package/src/components/image/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-loader/media-loader.st.css.ts +2 -2
- package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
- package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
- package/src/components/number-input/form-number.driver.ts +25 -0
- package/src/components/number-input/form-number.tsx +67 -0
- package/src/components/number-input/index.ts +1 -0
- package/src/components/reference/cell-reference-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
- package/src/components/text/form-long-text.driver.ts +26 -0
- package/src/components/text/form-long-text.tsx +51 -0
- package/src/components/text/index.ts +1 -0
- package/src/components/text/text-view.st.css.ts +2 -2
- package/src/components/time-input/cell-time-input.tsx +104 -0
- package/src/components/time-input/index.ts +1 -0
- package/src/components/time-view/hooks.ts +8 -7
- package/src/components/time-view/index.ts +0 -1
- package/src/components/url/form-url.driver.ts +27 -0
- package/src/components/url/form-url.tsx +59 -0
- package/src/components/url/index.ts +1 -0
- package/src/styles.global.css +1 -1
- package/src/validations/number.ts +4 -0
- package/src/validations/url.ts +6 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { useTranslations } from '../../hooks/use-translations';
|
|
1
2
|
import { timeToDate, type Time } from '../time-input/hooks';
|
|
2
3
|
|
|
3
|
-
const formatLocalTime = (date: Date): string => {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
});
|
|
4
|
+
const formatLocalTime = (date: Date, locale: string): string => {
|
|
5
|
+
// `timeStyle: 'short'` matches WDS TimeInput's own format: numeric hour in
|
|
6
|
+
// 12h locales ("9:45 AM") and zero-padded hour in 24h locales ("09:45"),
|
|
7
|
+
// so View and Edit render the same string.
|
|
8
|
+
return date.toLocaleTimeString(locale, { timeStyle: 'short' });
|
|
8
9
|
};
|
|
9
10
|
|
|
10
11
|
export const useFormattedTime = (time?: Time) => {
|
|
11
|
-
|
|
12
|
+
const { i18n } = useTranslations();
|
|
13
|
+
return time ? formatLocalTime(timeToDate(time), i18n.language) : undefined;
|
|
12
14
|
};
|
|
13
|
-
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { UniDriver } from '@wix/wix-ui-test-utils/unidriver';
|
|
2
|
+
import {
|
|
3
|
+
FormFieldUniDriver,
|
|
4
|
+
InputUniDriver,
|
|
5
|
+
} from '@wix/design-system/dist/testkit/unidriver';
|
|
6
|
+
|
|
7
|
+
import { baseUniDriverFactory } from '../../testkit/base-driver';
|
|
8
|
+
|
|
9
|
+
export function FormUrlDriver(base: UniDriver, body: UniDriver) {
|
|
10
|
+
const formField = FormFieldUniDriver(base, body);
|
|
11
|
+
const inputBase = base.$(`[data-hook^="url-"]`);
|
|
12
|
+
const input = InputUniDriver(inputBase, body);
|
|
13
|
+
|
|
14
|
+
return {
|
|
15
|
+
...baseUniDriverFactory(base),
|
|
16
|
+
getLabel: async () => {
|
|
17
|
+
const labelEl = await formField.getLabel();
|
|
18
|
+
return labelEl?.textContent ?? '';
|
|
19
|
+
},
|
|
20
|
+
getValue: () => input.getValue(),
|
|
21
|
+
enterText: (value: string) => input.enterText(value),
|
|
22
|
+
blur: () => input.blur(),
|
|
23
|
+
hasError: () => formField.hasStatus('error'),
|
|
24
|
+
getErrorMessage: () => formField.getStatusMessage(),
|
|
25
|
+
isRequired: () => formField.isRequired(),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FormField, Input } from '@wix/design-system';
|
|
3
|
+
import { observer } from 'mobx-react-lite';
|
|
4
|
+
import { Link } from '@wix/wix-ui-icons-common';
|
|
5
|
+
import { useWixPatternsContainer } from '@wix/bex-core/react';
|
|
6
|
+
import { useController } from '@wix/bex-core/form';
|
|
7
|
+
|
|
8
|
+
import { BaseInputProps } from '../../types/base-input';
|
|
9
|
+
import { isEmpty } from '../../validations/string';
|
|
10
|
+
import { isValidUri } from '../../validations/url';
|
|
11
|
+
|
|
12
|
+
export interface FormUrlProps extends BaseInputProps<string> {}
|
|
13
|
+
|
|
14
|
+
const _FormUrl = (props: FormUrlProps) => {
|
|
15
|
+
const { field, dataHook, formControl, data } = props;
|
|
16
|
+
const { translate: t } = useWixPatternsContainer();
|
|
17
|
+
|
|
18
|
+
const controller = useController({
|
|
19
|
+
name: field.id,
|
|
20
|
+
control: formControl,
|
|
21
|
+
defaultValue: data?.[field.id],
|
|
22
|
+
rules: {
|
|
23
|
+
validate: (value: string | null | undefined) => {
|
|
24
|
+
if (field.validation?.required && isEmpty(value)) {
|
|
25
|
+
return t('cairo.fieldValidation.requiredField');
|
|
26
|
+
} else if (value) {
|
|
27
|
+
return isValidUri(value) || t('cairo.customFields.url-input.error');
|
|
28
|
+
}
|
|
29
|
+
return true;
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<FormField
|
|
36
|
+
label={field.displayName}
|
|
37
|
+
required={field.validation?.required}
|
|
38
|
+
dataHook={dataHook}
|
|
39
|
+
status={controller.fieldState.error ? 'error' : undefined}
|
|
40
|
+
statusMessage={controller.fieldState.error?.message}
|
|
41
|
+
>
|
|
42
|
+
<Input
|
|
43
|
+
prefix={
|
|
44
|
+
<Input.IconAffix>
|
|
45
|
+
<Link />
|
|
46
|
+
</Input.IconAffix>
|
|
47
|
+
}
|
|
48
|
+
placeholder={t('cairo.customFields.url-input.placeholder')}
|
|
49
|
+
dataHook={`url-${field.id}`}
|
|
50
|
+
value={controller.field.value}
|
|
51
|
+
onChange={(e) => controller.field.onChange?.(e.target.value)}
|
|
52
|
+
onBlur={controller.field.onBlur}
|
|
53
|
+
ref={controller.field.ref}
|
|
54
|
+
/>
|
|
55
|
+
</FormField>
|
|
56
|
+
);
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export const FormUrl = observer(_FormUrl);
|
package/src/styles.global.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.addressinput2425235973__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput2425235973__tableAddressInput>div{padding:0!important;width:100%}.addressinput2425235973__tableAddressInput:focus-within{margin-left:2px}.actionsmenu244569486__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield3934724193__addItem{height:120px!important;box-sizing:border-box}.formaudiofield3934724193__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)}.formaudiofield3934724193__addItem.formaudiofield3934724193--disabled{pointer-events:auto!important}.formaudiofield3934724193__addItem.formaudiofield3934724193--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield3934724193__mediaTitle{line-height:18px!important}.audioplayer315551720__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}.colorview1187221222__view{width:100%}.colorview1187221222__fillPreview{flex-shrink:0}.colorview1187221222__view .colorview1187221222__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog1598107043__layout{max-width:510px!important}.formdocumentfield3746585343__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield3746585343__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield3746585343__textWidth{max-width:calc(100% - 196px)}.formdocumentfield3746585343__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield3746585343__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield3746585343__addDocument.formdocumentfield3746585343--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield3746585343__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))}.exclamation2381589603__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation2381589603__exclamation.exclamation2381589603---type-7-warning:not(.exclamation2381589603--customSize),.exclamation2381589603__exclamation.exclamation2381589603---type-5-error:not(.exclamation2381589603--customSize){width:24px;height:24px}.exclamation2381589603__exclamation.exclamation2381589603---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation2381589603__exclamation.exclamation2381589603---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation2381589603__actions{display:flex;flex-direction:column}.exclamation2381589603__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation2381589603__action+.exclamation2381589603__action{margin-top:6px}.exclamation2381589603__action.exclamation2381589603--accented{color:var(--wds-color-blue-100)}.exclamation2381589603__action.exclamation2381589603--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext4239267361__root.highlightedtext4239267361--highlightedBackground{animation:highlightedtext4239267361__highlighted 150ms ease-out 1 forwards}.highlightedtext4239267361__substring.highlightedtext4239267361--isHighlighted{animation:highlightedtext4239267361__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext4239267361__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext4239267361__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay2773158491__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay2773158491__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell45116818__root{width:100%;height:100%}.pasteurlbutton1313810729__root{margin-top:6px}.pasteurlbutton1313810729__iconButtonTooltip{height:max-content}.pasteurlbutton1313810729__iconButton{width:24px;height:24px}.formmediagalleryfield216174486__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield216174486__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield216174486__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield216174486__addItem{box-sizing:border-box}.formmediagalleryfield216174486__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield216174486__image.formmediagalleryfield216174486--withMarginRight{margin-right:3px}.formmediagalleryfield216174486__image.formmediagalleryfield216174486--withMarginTop{margin-top:3px}.formmediagalleryfield216174486__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield216174486__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage248104267__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage248104267__root.mediaimage248104267--error{--mediaimage248104267-from:calc(50% - 0.5px);--mediaimage248104267-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage248104267-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage248104267-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage248104267-to),transparent var(--mediaimage248104267-to))}.mediaimage248104267__root.mediaimage248104267--error>*{opacity:0}.overlay1355255452__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))}.overlay1355255452__iconOverlay.overlay1355255452---size-5-small{width:20px;height:20px}.overlay1355255452__iconOverlay.overlay1355255452---size-6-medium{width:24px;height:24px}.overlay1355255452__iconOverlay.overlay1355255452---size-5-large{width:28px;height:28px}.overlay1355255452__iconOverlay.overlay1355255452---placement-7-topLeft{top:2px;left:2px}.overlay1355255452__iconOverlay.overlay1355255452---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader194269943__loader{border-radius:6px}.medialoader194269943__loader.medialoader194269943--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader194269943__loader.medialoader194269943--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag1044101107__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))}.formmultidocument2601852807__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument2601852807__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument2601852807__viewRoot>div:first-child .formmultidocument2601852807__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))}.formmultidocument2601852807__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument2601852807__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument2601852807__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))}.formmultidocument2601852807__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))}.cellreferenceinput905880240__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput905880240__autocomplete{width:100%}.richcontentdefaultvalueinput736114662__richContentEditorContainer .richcontentdefaultvalueinput736114662__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput3777550514__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput3777550514__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput3777550514__root .richcontentforminput3777550514__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput3358668425__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput3358668425__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal3348958126__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}.publishloader3887750119__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton1189231771__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton1189231771__root button{border-radius:6px!important}.richcontenteditor1227167218__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor1227167218__root,.richcontenteditor1227167218__toolbarContainer,.richcontenteditor1227167218__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor1227167218__toolbarContainer div{box-sizing:border-box}.richcontenteditor1227167218__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor1227167218__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor1227167218__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor1227167218__modalEditor .richcontenteditor1227167218__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor1227167218__modalEditor .richcontenteditor1227167218__footerToolbarContainer{margin-top:9px}.richcontenteditor1227167218__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor1227167218__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar2231298574__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}.richcontenttoolbar2231298574__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar2231298574__toolbarButton:disabled{color:graytext}.richcontenttoolbar2231298574__toolbar label{padding:0 8px}.richcontentviewer1117074979__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer1117074979__root.richcontentviewer1117074979--isFullScreen{padding:12px 24px}.richcontentviewer1117074979__root:not(.richcontentviewer1117074979--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer1117074979__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer1117074979__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer1117074979__modalViewer{min-width:592px;overflow:auto}.richtexteditor1154821563__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor1154821563__root.richtexteditor1154821563---border-4-none{border:0}.richtexteditor1154821563__root.richtexteditor1154821563---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor1154821563__root.richtexteditor1154821563---border-8-standard:focus,.richtexteditor1154821563__root.richtexteditor1154821563---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor1154821563__root.richtexteditor1154821563---border-8-standard.richtexteditor1154821563---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor1154821563__root.richtexteditor1154821563---border-8-standard.richtexteditor1154821563---status-5-error:focus,.richtexteditor1154821563__root.richtexteditor1154821563---border-8-standard.richtexteditor1154821563---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor1154821563__root.richtexteditor1154821563---border-8-standard.richtexteditor1154821563---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor1154821563__root.richtexteditor1154821563---border-8-standard.richtexteditor1154821563---status-7-warning:focus,.richtexteditor1154821563__root.richtexteditor1154821563---border-8-standard.richtexteditor1154821563---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor1154821563__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor1154821563__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-border-radius-300)}.richtexteditor1154821563__editor.richtexteditor1154821563--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor1154821563__editor:not(.richtexteditor1154821563--isFullScreen){max-height:80vh}.richtexteditor1154821563__editor>div{flex:1;max-width:100%}.toolbar3162817796__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-color-white, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar3162817796__item{display:flex;margin-right:12px}.toolbar3162817796__item svg,.toolbar3162817796__item svg path,.toolbar3162817796__item svg text{color:inherit;fill:currentColor}.toolbar3162817796__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar3162817796__clearFormatting{margin-left:auto}.toolbar3162817796__fullScreen{margin-right:0}.toolbar3162817796__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3162817796__dropdownItemContent.toolbar3162817796--selected .toolbar3162817796__dropdownItemTitle,.toolbar3162817796__dropdownItemContent.toolbar3162817796--selected .toolbar3162817796__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3162817796__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3162817796__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}.toolbar3162817796__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}.toolbar3162817796__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}.toolbar3162817796__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}.toolbar3162817796__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}.toolbar3162817796__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}.toolbar3162817796__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}.toolbar3162817796__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}.toolbar3162817796__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}.textview780991294__textView::after{content:"";display:block}.richeditor551068837__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))}.richeditor551068837__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))}.richeditor551068837__editor .DraftEditor-root{width:100%;height:100%}.richeditor551068837__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor551068837__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor551068837__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor551068837__editor .public-DraftEditor-content ol,.richeditor551068837__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor551068837__editor .public-DraftEditor-content a,.richeditor551068837__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor551068837__header-one:not(li),.richeditor551068837__header-two:not(li),.richeditor551068837__header-three:not(li),.richeditor551068837__header-four:not(li),.richeditor551068837__header-five:not(li),.richeditor551068837__header-six:not(li){margin-block:0;margin:0}.richeditor551068837__header-one,.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__header-two,.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__header-three,.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__header-four,.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__header-five,.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__header-six,.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__paragraph-one,.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__unstyled,.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__paragraph-three,.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__editor li.richeditor551068837__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__editor li.richeditor551068837__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__editor li.richeditor551068837__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__editor li.richeditor551068837__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__editor li.richeditor551068837__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__editor li.richeditor551068837__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__editor li.richeditor551068837__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)))}.richeditor551068837__editor li.richeditor551068837__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}.richeditor551068837__align-left{text-align:left;align-self:flex-start}.richeditor551068837__align-right{text-align:right;align-self:flex-end}.richeditor551068837__align-center{text-align:center;align-self:center}.richeditor551068837__align-justify{text-align:justify;align-self:stretch}.richeditor551068837__withMargin{display:inline-block}.richeditor551068837__dir-rtl,.richeditor551068837__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor551068837__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
1
|
+
.addressinput4174358991__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput4174358991__tableAddressInput>div{padding:0!important;width:100%}.addressinput4174358991__tableAddressInput:focus-within{margin-left:2px}.actionsmenu404510853__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield3136717165__addItem{height:120px!important;box-sizing:border-box}.formaudiofield3136717165__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)}.formaudiofield3136717165__addItem.formaudiofield3136717165--disabled{pointer-events:auto!important}.formaudiofield3136717165__addItem.formaudiofield3136717165--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield3136717165__mediaTitle{line-height:18px!important}.audioplayer222144949__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}.colorview366587587__view{width:100%}.colorview366587587__fillPreview{flex-shrink:0}.colorview366587587__view .colorview366587587__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog703678680__layout{max-width:510px!important}.formdocumentfield1781643917__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield1781643917__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield1781643917__textWidth{max-width:calc(100% - 196px)}.formdocumentfield1781643917__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield1781643917__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield1781643917__addDocument.formdocumentfield1781643917--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield1781643917__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))}.exclamation2557246513__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation2557246513__exclamation.exclamation2557246513---type-7-warning:not(.exclamation2557246513--customSize),.exclamation2557246513__exclamation.exclamation2557246513---type-5-error:not(.exclamation2557246513--customSize){width:24px;height:24px}.exclamation2557246513__exclamation.exclamation2557246513---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation2557246513__exclamation.exclamation2557246513---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation2557246513__actions{display:flex;flex-direction:column}.exclamation2557246513__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation2557246513__action+.exclamation2557246513__action{margin-top:6px}.exclamation2557246513__action.exclamation2557246513--accented{color:var(--wds-color-blue-100)}.exclamation2557246513__action.exclamation2557246513--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext4048086956__root.highlightedtext4048086956--highlightedBackground{animation:highlightedtext4048086956__highlighted 150ms ease-out 1 forwards}.highlightedtext4048086956__substring.highlightedtext4048086956--isHighlighted{animation:highlightedtext4048086956__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext4048086956__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext4048086956__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay3859327744__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay3859327744__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell2103765304__root{width:100%;height:100%}.pasteurlbutton323743403__root{margin-top:6px}.pasteurlbutton323743403__iconButtonTooltip{height:max-content}.pasteurlbutton323743403__iconButton{width:24px;height:24px}.formmediagalleryfield3333265392__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield3333265392__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield3333265392__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield3333265392__addItem{box-sizing:border-box}.formmediagalleryfield3333265392__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield3333265392__image.formmediagalleryfield3333265392--withMarginRight{margin-right:3px}.formmediagalleryfield3333265392__image.formmediagalleryfield3333265392--withMarginTop{margin-top:3px}.formmediagalleryfield3333265392__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield3333265392__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage83983951__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage83983951__root.mediaimage83983951--error{--mediaimage83983951-from:calc(50% - 0.5px);--mediaimage83983951-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage83983951-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage83983951-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage83983951-to),transparent var(--mediaimage83983951-to))}.mediaimage83983951__root.mediaimage83983951--error>*{opacity:0}.overlay448562002__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))}.overlay448562002__iconOverlay.overlay448562002---size-5-small{width:20px;height:20px}.overlay448562002__iconOverlay.overlay448562002---size-6-medium{width:24px;height:24px}.overlay448562002__iconOverlay.overlay448562002---size-5-large{width:28px;height:28px}.overlay448562002__iconOverlay.overlay448562002---placement-7-topLeft{top:2px;left:2px}.overlay448562002__iconOverlay.overlay448562002---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader732921463__loader{border-radius:6px}.medialoader732921463__loader.medialoader732921463--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader732921463__loader.medialoader732921463--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag803492834__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))}.formmultidocument441385592__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument441385592__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument441385592__viewRoot>div:first-child .formmultidocument441385592__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))}.formmultidocument441385592__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument441385592__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument441385592__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))}.formmultidocument441385592__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))}.cellreferenceinput2634747470__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput2634747470__autocomplete{width:100%}.richcontentdefaultvalueinput2663839494__richContentEditorContainer .richcontentdefaultvalueinput2663839494__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput2084404769__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput2084404769__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput2084404769__root .richcontentforminput2084404769__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput2046372641__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput2046372641__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal494200678__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}.publishloader3698165698__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton240346221__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton240346221__root button{border-radius:6px!important}.richcontenteditor1214222774__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor1214222774__root,.richcontenteditor1214222774__toolbarContainer,.richcontenteditor1214222774__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor1214222774__toolbarContainer div{box-sizing:border-box}.richcontenteditor1214222774__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor1214222774__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor1214222774__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor1214222774__modalEditor .richcontenteditor1214222774__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor1214222774__modalEditor .richcontenteditor1214222774__footerToolbarContainer{margin-top:9px}.richcontenteditor1214222774__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor1214222774__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar647559125__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}.richcontenttoolbar647559125__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar647559125__toolbarButton:disabled{color:graytext}.richcontenttoolbar647559125__toolbar label{padding:0 8px}.richcontentviewer4124111482__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer4124111482__root.richcontentviewer4124111482--isFullScreen{padding:12px 24px}.richcontentviewer4124111482__root:not(.richcontentviewer4124111482--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer4124111482__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer4124111482__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer4124111482__modalViewer{min-width:592px;overflow:auto}.richtexteditor861894303__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor861894303__root.richtexteditor861894303---border-4-none{border:0}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard:focus,.richtexteditor861894303__root.richtexteditor861894303---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-5-error:focus,.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-7-warning:focus,.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor861894303__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor861894303__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-border-radius-300)}.richtexteditor861894303__editor.richtexteditor861894303--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor861894303__editor:not(.richtexteditor861894303--isFullScreen){max-height:80vh}.richtexteditor861894303__editor>div{flex:1;max-width:100%}.toolbar3272803868__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-color-white, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar3272803868__item{display:flex;margin-right:12px}.toolbar3272803868__item svg,.toolbar3272803868__item svg path,.toolbar3272803868__item svg text{color:inherit;fill:currentColor}.toolbar3272803868__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar3272803868__clearFormatting{margin-left:auto}.toolbar3272803868__fullScreen{margin-right:0}.toolbar3272803868__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3272803868__dropdownItemContent.toolbar3272803868--selected .toolbar3272803868__dropdownItemTitle,.toolbar3272803868__dropdownItemContent.toolbar3272803868--selected .toolbar3272803868__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3272803868__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.textview2761560688__textView::after{content:"";display:block}.richeditor3766248638__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))}.richeditor3766248638__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))}.richeditor3766248638__editor .DraftEditor-root{width:100%;height:100%}.richeditor3766248638__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor3766248638__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor3766248638__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor3766248638__editor .public-DraftEditor-content ol,.richeditor3766248638__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor3766248638__editor .public-DraftEditor-content a,.richeditor3766248638__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor3766248638__header-one:not(li),.richeditor3766248638__header-two:not(li),.richeditor3766248638__header-three:not(li),.richeditor3766248638__header-four:not(li),.richeditor3766248638__header-five:not(li),.richeditor3766248638__header-six:not(li){margin-block:0;margin:0}.richeditor3766248638__header-one,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__header-two,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__header-three,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__header-four,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__header-five,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__header-six,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__paragraph-one,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__unstyled,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__paragraph-three,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__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}.richeditor3766248638__align-left{text-align:left;align-self:flex-start}.richeditor3766248638__align-right{text-align:right;align-self:flex-end}.richeditor3766248638__align-center{text-align:center;align-self:center}.richeditor3766248638__align-justify{text-align:justify;align-self:stretch}.richeditor3766248638__withMargin{display:inline-block}.richeditor3766248638__dir-rtl,.richeditor3766248638__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor3766248638__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Same regex as data-extensions https://github.com/wix-private/server-infra/blob/a6c3009d39bbb0312c929f68ee81c559e1eb5b4e/iptf/dataextensions/src/main/scala/com/wixpress/infra/dataextensions/runtime/validator/Formats.scala#L31
|
|
2
|
+
const uriPattern =
|
|
3
|
+
// eslint-disable-next-line no-useless-escape
|
|
4
|
+
/^[A-Za-z][A-Za-z0-9+.-]*:(\/\/([A-Za-z0-9._~\-%!$&'()*+,;=:]*@)?[A-Za-z0-9._~\-!$&'()*+,;=%:\[\]]*(:[0-9]*)?)?[A-Za-z0-9._~\-%!$&'()*+,;=:@\/]*([?][A-Za-z0-9._~\-%!$&'()*+,;=:@\/?]*)?([#][A-Za-z0-9._~\-%!$&'()*+,;=:@\/?]*)?$/;
|
|
5
|
+
|
|
6
|
+
export const isValidUri = (value: string): boolean => uriPattern.test(value);
|