@wix/patterns-fields 1.129.0 → 1.130.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/assets/locale/messages_ar.json +2 -2
- package/dist/cjs/assets/locale/messages_bg.json +2 -2
- package/dist/cjs/assets/locale/messages_ca.json +2 -2
- package/dist/cjs/assets/locale/messages_el.json +2 -2
- package/dist/cjs/assets/locale/messages_en.json +2 -2
- package/dist/cjs/assets/locale/messages_fi.json +2 -2
- package/dist/cjs/assets/locale/messages_he.json +2 -2
- package/dist/cjs/assets/locale/messages_hu.json +2 -2
- package/dist/cjs/assets/locale/messages_lt.json +2 -2
- package/dist/cjs/assets/locale/messages_ms.json +2 -2
- package/dist/cjs/assets/locale/messages_ro.json +2 -2
- package/dist/cjs/assets/locale/messages_sk.json +2 -2
- package/dist/cjs/assets/locale/messages_sl.json +2 -2
- package/dist/cjs/assets/locale/messages_tl.json +2 -2
- package/dist/cjs/assets/locale/version_file +1 -1
- package/dist/cjs/components/address/input/address-input.st.css.js +3 -3
- package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
- package/dist/cjs/components/color-view/cell-color-view.st.css.js +3 -3
- package/dist/cjs/components/color-view/cell-color-view.st.css.js.map +1 -1
- package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
- package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
- package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
- package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/cjs/components/field-validation-settings/field-validation-settings-input.st.css.js +3 -3
- package/dist/cjs/components/field-validation-settings/field-validation-settings-input.st.css.js.map +1 -1
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
- package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
- package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-image-field/cell-media-image-edit.st.css.js +8 -8
- package/dist/cjs/components/media-image-field/cell-media-image-edit.st.css.js.map +1 -1
- package/dist/cjs/components/media-image-field/media-image-view.st.css.js +3 -3
- package/dist/cjs/components/media-image-field/media-image-view.st.css.js.map +1 -1
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js +3 -3
- package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-multi-reference-view.st.css.js +3 -3
- package/dist/cjs/components/reference/cell-multi-reference-view.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/cdn/load-ricos.js +1 -1
- package/dist/cjs/components/rich-content/cdn/load-ricos.js.map +1 -1
- package/dist/cjs/components/rich-content/cell-rich-content-input.js +24 -7
- package/dist/cjs/components/rich-content/cell-rich-content-input.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.js +17 -23
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.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/esm/assets/locale/messages_ar.json +2 -2
- package/dist/esm/assets/locale/messages_bg.json +2 -2
- package/dist/esm/assets/locale/messages_ca.json +2 -2
- package/dist/esm/assets/locale/messages_el.json +2 -2
- package/dist/esm/assets/locale/messages_en.json +2 -2
- package/dist/esm/assets/locale/messages_fi.json +2 -2
- package/dist/esm/assets/locale/messages_he.json +2 -2
- package/dist/esm/assets/locale/messages_hu.json +2 -2
- package/dist/esm/assets/locale/messages_lt.json +2 -2
- package/dist/esm/assets/locale/messages_ms.json +2 -2
- package/dist/esm/assets/locale/messages_ro.json +2 -2
- package/dist/esm/assets/locale/messages_sk.json +2 -2
- package/dist/esm/assets/locale/messages_sl.json +2 -2
- package/dist/esm/assets/locale/messages_tl.json +2 -2
- package/dist/esm/assets/locale/version_file +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-player/audio-player.st.css.js +2 -2
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js.map +1 -1
- package/dist/esm/components/color-view/cell-color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/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/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/field-validation-settings/field-validation-settings-input.st.css.js +2 -2
- package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
- package/dist/esm/components/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-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-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-field/cell-media-image-edit.st.css.js +2 -2
- package/dist/esm/components/media-image-field/cell-media-image-edit.st.css.js.map +1 -1
- package/dist/esm/components/media-image-field/media-image-view.st.css.js +2 -2
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- 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-multi-reference-view.st.css.js +2 -2
- package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/cdn/load-ricos.js +1 -1
- package/dist/esm/components/rich-content/cell-rich-content-input.js +13 -3
- package/dist/esm/components/rich-content/cell-rich-content-input.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/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-editor/rich-content-editor.js +2 -8
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.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-editor.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
- package/dist/esm/components/text/text-view.st.css.js +2 -2
- package/dist/esm/styles.global.css +1 -1
- package/dist/types/components/audio/audio-player/audio-player.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/document/form-document-field.st.css.d.ts.map +1 -1
- package/dist/types/components/field-validation-settings/field-validation-settings.uni.driver.d.ts +1 -0
- package/dist/types/components/field-validation-settings/field-validation-settings.uni.driver.d.ts.map +1 -1
- package/dist/types/components/highlighted-text/highlighted-text.st.css.d.ts.map +1 -1
- package/dist/types/components/media-control/paste-url-button.st.css.d.ts.map +1 -1
- package/dist/types/components/media-gallery/form-media-gallery-field.uni.driver.d.ts +4 -0
- package/dist/types/components/media-gallery/form-media-gallery-field.uni.driver.d.ts.map +1 -1
- package/dist/types/components/media-gallery/form-media-gallery.driver.d.ts +4 -0
- package/dist/types/components/media-gallery/form-media-gallery.driver.d.ts.map +1 -1
- package/dist/types/components/media-image-field/cell-media-image-edit.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/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/cell-rich-content-input.d.ts +2 -2
- package/dist/types/components/rich-content/cell-rich-content-input.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.d.ts.map +1 -1
- package/dist/types/components/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-editor/rich-content-editor.d.ts +0 -2
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.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/package.json +4 -4
- package/src/__tests__/components/rich-content-editor.spec.tsx +64 -33
- package/src/assets/locale/messages_ar.json +2 -2
- package/src/assets/locale/messages_bg.json +2 -2
- package/src/assets/locale/messages_ca.json +2 -2
- package/src/assets/locale/messages_el.json +2 -2
- package/src/assets/locale/messages_en.json +2 -2
- package/src/assets/locale/messages_fi.json +2 -2
- package/src/assets/locale/messages_he.json +2 -2
- package/src/assets/locale/messages_hu.json +2 -2
- package/src/assets/locale/messages_lt.json +2 -2
- package/src/assets/locale/messages_ms.json +2 -2
- package/src/assets/locale/messages_ro.json +2 -2
- package/src/assets/locale/messages_sk.json +2 -2
- package/src/assets/locale/messages_sl.json +2 -2
- package/src/assets/locale/messages_tl.json +2 -2
- package/src/assets/locale/version_file +1 -1
- package/src/components/address/input/address-input.st.css.ts +2 -2
- package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
- package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
- package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
- package/src/components/color-view/cell-color-view.st.css.ts +2 -2
- package/src/components/color-view/color-view.st.css.ts +2 -2
- package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
- package/src/components/document/form-document-field.st.css.ts +2 -2
- package/src/components/exclamation/exclamation.st.css.ts +2 -2
- package/src/components/field-validation-settings/field-validation-settings-input.st.css.ts +2 -2
- package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
- package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
- package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
- package/src/components/media-control/paste-url-button.st.css.ts +2 -2
- package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
- package/src/components/media-image/media-image.st.css.ts +3 -3
- package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
- package/src/components/media-image-field/cell-media-image-edit.st.css.ts +2 -2
- package/src/components/media-image-field/media-image-view.st.css.ts +2 -2
- package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
- package/src/components/multi-document/cell-multi-document-edit.st.css.ts +2 -2
- package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
- package/src/components/reference/cell-multi-reference-input.st.css.ts +2 -2
- package/src/components/reference/cell-multi-reference-view.st.css.ts +2 -2
- package/src/components/reference/cell-reference-input.st.css.ts +2 -2
- package/src/components/rich-content/cdn/load-ricos.ts +1 -1
- package/src/components/rich-content/cell-rich-content-input.tsx +22 -11
- 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-editor.tsx +1 -9
- 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
|
@@ -5,15 +5,15 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "cellreferenceinput1540347298";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
16
|
-
"autocomplete": "
|
|
15
|
+
"root": "cellreferenceinput1540347298__root",
|
|
16
|
+
"autocomplete": "cellreferenceinput1540347298__autocomplete"
|
|
17
17
|
};
|
|
18
18
|
var keyframes = exports.keyframes = {};
|
|
19
19
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/reference/cell-reference-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/reference/cell-reference-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"cellreferenceinput1540347298\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"cellreferenceinput1540347298__root\",\"autocomplete\":\"cellreferenceinput1540347298__autocomplete\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,8BAA8B;AAChD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,oCAAoC;EAAC,cAAc,EAAC;AAA4C,CAAC;AACvH,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC","ignoreList":[]}
|
|
@@ -21,7 +21,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
21
21
|
*
|
|
22
22
|
* curl -s <url> | grep -c <ricos version> # ricos-schema/next-schema/version.js
|
|
23
23
|
*/
|
|
24
|
-
const RICOS_STATICS_VERSION = '1.
|
|
24
|
+
const RICOS_STATICS_VERSION = '1.8.0';
|
|
25
25
|
const RICOS_STATICS_URL = `https://static.parastorage.com/services/patterns-fields-ricos-statics/${RICOS_STATICS_VERSION}/ricos.umd.min.js`;
|
|
26
26
|
|
|
27
27
|
/** UMD global declared by the statics bundle (`library: 'PatternsRicos'`). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactDom","_interopRequireDefault","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","RICOS_STATICS_VERSION","RICOS_STATICS_URL","GLOBAL_NAME","provideReactGlobals","win","react","React","reactDOM","ReactDOM","appendScript","url","Promise","resolve","reject","script","document","createElement","type","src","crossOrigin","onerror","Error","onload","head","appendChild","loadForTests","process","env","NODE_ENV","undefined","load","forTests","window","requirejs","fail","error","String","mod","pending","loadRicosFromCdn","exports","useRicosFromCdn","setMod","useState","useEffect","cancelled","then","loaded","console"],"sources":["../../../../../src/components/rich-content/cdn/load-ricos.ts"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport ReactDOM from 'react-dom';\n\nimport type { RicosCdnModule } from './types';\n\n/**\n * Pinned exactly, not to a range. The npm `@wix/ricos` used for the synchronous\n * content helpers and this artifact must not drift — two different ricos\n * versions in one page means two schema versions, and content written by one may\n * not validate in the other.\n *\n * This number is Falcon's build counter for wix-private/patterns-deps, not the\n * npm version of the same package. Falcon bumps it on every master build,\n * including builds that publish nothing, so the two drift apart and occasionally\n * coincide again — as they happen to right now. A wrong-but-existing version\n * returns 200 and silently loads a different ricos, so confirm the artifact\n * rather than the number:\n *\n * curl -s <url> | grep -c <ricos version> # ricos-schema/next-schema/version.js\n */\nconst RICOS_STATICS_VERSION = '1.7.0';\nconst RICOS_STATICS_URL =\n `https://static.parastorage.com/services/patterns-fields-ricos-statics/${RICOS_STATICS_VERSION}/ricos.umd.min.js` as const;\n\n/** UMD global declared by the statics bundle (`library: 'PatternsRicos'`). */\nconst GLOBAL_NAME = 'PatternsRicos';\n\ntype LoaderWindow = Window & {\n PatternsRicos?: RicosCdnModule;\n // The bundle's UMD externals. Business Manager may already provide these;\n // we fill them in from the host app's own copies when it does not.\n react?: typeof React;\n reactDOM?: typeof ReactDOM;\n requirejs?: (\n deps: string[],\n // Undefined when the requested id resolves to nothing — which is what asking\n // for this bundle by URL does, since its `define` is named.\n onOk: (mod: RicosCdnModule | undefined) => void,\n onErr: (error: Error) => void,\n ) => void;\n};\n\n/**\n * The bundle externalises react/react-dom. Its UMD wrapper resolves them as AMD\n * dependencies when requirejs is present, and off these globals when it is not —\n * without them it throws `undefined (reading 'createContext')` while evaluating\n * and never defines `PatternsRicos`. Pointing them at the host app's own copies\n * is also what keeps one React on the page; a second would make every hook\n * inside the editor throw.\n */\nconst provideReactGlobals = (win: LoaderWindow) => {\n win.react = win.react ?? React;\n win.reactDOM = win.reactDOM ?? ReactDOM;\n};\n\nconst appendScript = (url: string) =>\n new Promise<void>((resolve, reject) => {\n const script = document.createElement('script');\n script.type = 'text/javascript';\n script.src = url;\n script.crossOrigin = 'anonymous';\n script.onerror = () => reject(new Error(`Failed to load ${url}`));\n script.onload = () => resolve();\n document.head.appendChild(script);\n });\n\n/**\n * jsdom cannot fetch the CDN, so under test we require the package the artifact\n * is built from — same export list, so the surface matches by construction.\n *\n * This `require` is dead-code-eliminated in production builds, which is the whole\n * point: the editor and viewer must never enter a consumer's graph. Verify with\n * `grep -r 'ricos' <consumer>/dist` after touching this.\n */\nconst loadForTests = (): RicosCdnModule | undefined => {\n // The `require`s must sit inside the consequent of a statically-false\n // condition. An early `return` for the non-test case leaves them as\n // unreachable code *after* the `if`, which webpack does not prune — that\n // silently puts the whole editor back in every consumer's graph.\n if (process.env.NODE_ENV === 'test') {\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n return require('@wix/patterns-fields-utils/@wix/patterns-fields-ricos-statics') as RicosCdnModule;\n }\n return undefined;\n};\n\nconst load = async (): Promise<RicosCdnModule> => {\n const forTests = loadForTests();\n if (forTests) {\n return forTests;\n }\n\n const win = window as unknown as LoaderWindow;\n\n // The bundle is UMD with a named `define`, so under Business Manager's\n // requirejs it takes the AMD branch: it registers under GLOBAL_NAME and never\n // assigns the global. Asking for it by URL loads the file but resolves with\n // `undefined`, because nothing is defined under the URL's id — so fetch it,\n // then ask again by the name it registered itself as.\n if (win.requirejs) {\n return new Promise<RicosCdnModule>((resolve, reject) => {\n const fail = (error: unknown) =>\n reject(\n error instanceof Error\n ? error\n : new Error(\n `Failed to load ${RICOS_STATICS_URL}: ${String(error)}`,\n ),\n );\n\n win.requirejs!(\n [RICOS_STATICS_URL],\n () =>\n win.requirejs!(\n [GLOBAL_NAME],\n (mod) =>\n mod\n ? resolve(mod)\n : fail(\n new Error(\n `${RICOS_STATICS_URL} loaded but defined no \"${GLOBAL_NAME}\" module`,\n ),\n ),\n fail,\n ),\n fail,\n );\n });\n }\n\n provideReactGlobals(win);\n await appendScript(RICOS_STATICS_URL);\n\n const mod = win[GLOBAL_NAME];\n if (!mod) {\n throw new Error(\n `${RICOS_STATICS_URL} loaded but did not define window.${GLOBAL_NAME}`,\n );\n }\n return mod;\n};\n\nlet pending: Promise<RicosCdnModule> | undefined;\n\n/** Loads the bundle once per page; every caller shares the same promise. */\nexport const loadRicosFromCdn = (): Promise<RicosCdnModule> => {\n pending = pending ?? load();\n return pending;\n};\n\n/**\n * Returns the module once loaded, `undefined` while in flight. A caller must\n * render something in the meantime — `RCELoader` in the editor, `RCVLoader` in\n * the viewer. Returning `null` instead leaves a blank area for the duration of\n * the fetch.\n */\nexport const useRicosFromCdn = (): RicosCdnModule | undefined => {\n // Resolved on the first render under test, so specs see a mounted editor\n // rather than the pre-load `null`.\n const [mod, setMod] = useState<RicosCdnModule | undefined>(loadForTests);\n\n useEffect(() => {\n if (mod) {\n return;\n }\n let cancelled = false;\n loadRicosFromCdn().then(\n (loaded) => {\n if (!cancelled) {\n setMod(loaded);\n }\n },\n (error) => {\n // Nothing to fall back to — surface it rather than hanging on a spinner.\n console.error('[rich-content] failed to load ricos from CDN', error);\n },\n );\n return () => {\n cancelled = true;\n };\n }, [mod]);\n\n return mod;\n};\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAiC,SAAAD,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,CAA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AO,CAACb,KAAK,CAAC,8CAA8C,EAAEA,KAAK,CAAC;IACtE,CACF,CAAC;IACD,OAAO,MAAM;MACXU,SAAS,GAAG,IAAI;IAClB,CAAC;EACH,CAAC,EAAE,CAACR,GAAG,CAAC,CAAC;EAET,OAAOA,GAAG;AACZ,CAAC;AAACG,OAAA,CAAAC,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactDom","_interopRequireDefault","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","RICOS_STATICS_VERSION","RICOS_STATICS_URL","GLOBAL_NAME","provideReactGlobals","win","react","React","reactDOM","ReactDOM","appendScript","url","Promise","resolve","reject","script","document","createElement","type","src","crossOrigin","onerror","Error","onload","head","appendChild","loadForTests","process","env","NODE_ENV","undefined","load","forTests","window","requirejs","fail","error","String","mod","pending","loadRicosFromCdn","exports","useRicosFromCdn","setMod","useState","useEffect","cancelled","then","loaded","console"],"sources":["../../../../../src/components/rich-content/cdn/load-ricos.ts"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport ReactDOM from 'react-dom';\n\nimport type { RicosCdnModule } from './types';\n\n/**\n * Pinned exactly, not to a range. The npm `@wix/ricos` used for the synchronous\n * content helpers and this artifact must not drift — two different ricos\n * versions in one page means two schema versions, and content written by one may\n * not validate in the other.\n *\n * This number is Falcon's build counter for wix-private/patterns-deps, not the\n * npm version of the same package. Falcon bumps it on every master build,\n * including builds that publish nothing, so the two drift apart and occasionally\n * coincide again — as they happen to right now. A wrong-but-existing version\n * returns 200 and silently loads a different ricos, so confirm the artifact\n * rather than the number:\n *\n * curl -s <url> | grep -c <ricos version> # ricos-schema/next-schema/version.js\n */\nconst RICOS_STATICS_VERSION = '1.8.0';\nconst RICOS_STATICS_URL =\n `https://static.parastorage.com/services/patterns-fields-ricos-statics/${RICOS_STATICS_VERSION}/ricos.umd.min.js` as const;\n\n/** UMD global declared by the statics bundle (`library: 'PatternsRicos'`). */\nconst GLOBAL_NAME = 'PatternsRicos';\n\ntype LoaderWindow = Window & {\n PatternsRicos?: RicosCdnModule;\n // The bundle's UMD externals. Business Manager may already provide these;\n // we fill them in from the host app's own copies when it does not.\n react?: typeof React;\n reactDOM?: typeof ReactDOM;\n requirejs?: (\n deps: string[],\n // Undefined when the requested id resolves to nothing — which is what asking\n // for this bundle by URL does, since its `define` is named.\n onOk: (mod: RicosCdnModule | undefined) => void,\n onErr: (error: Error) => void,\n ) => void;\n};\n\n/**\n * The bundle externalises react/react-dom. Its UMD wrapper resolves them as AMD\n * dependencies when requirejs is present, and off these globals when it is not —\n * without them it throws `undefined (reading 'createContext')` while evaluating\n * and never defines `PatternsRicos`. Pointing them at the host app's own copies\n * is also what keeps one React on the page; a second would make every hook\n * inside the editor throw.\n */\nconst provideReactGlobals = (win: LoaderWindow) => {\n win.react = win.react ?? React;\n win.reactDOM = win.reactDOM ?? ReactDOM;\n};\n\nconst appendScript = (url: string) =>\n new Promise<void>((resolve, reject) => {\n const script = document.createElement('script');\n script.type = 'text/javascript';\n script.src = url;\n script.crossOrigin = 'anonymous';\n script.onerror = () => reject(new Error(`Failed to load ${url}`));\n script.onload = () => resolve();\n document.head.appendChild(script);\n });\n\n/**\n * jsdom cannot fetch the CDN, so under test we require the package the artifact\n * is built from — same export list, so the surface matches by construction.\n *\n * This `require` is dead-code-eliminated in production builds, which is the whole\n * point: the editor and viewer must never enter a consumer's graph. Verify with\n * `grep -r 'ricos' <consumer>/dist` after touching this.\n */\nconst loadForTests = (): RicosCdnModule | undefined => {\n // The `require`s must sit inside the consequent of a statically-false\n // condition. An early `return` for the non-test case leaves them as\n // unreachable code *after* the `if`, which webpack does not prune — that\n // silently puts the whole editor back in every consumer's graph.\n if (process.env.NODE_ENV === 'test') {\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n return require('@wix/patterns-fields-utils/@wix/patterns-fields-ricos-statics') as RicosCdnModule;\n }\n return undefined;\n};\n\nconst load = async (): Promise<RicosCdnModule> => {\n const forTests = loadForTests();\n if (forTests) {\n return forTests;\n }\n\n const win = window as unknown as LoaderWindow;\n\n // The bundle is UMD with a named `define`, so under Business Manager's\n // requirejs it takes the AMD branch: it registers under GLOBAL_NAME and never\n // assigns the global. Asking for it by URL loads the file but resolves with\n // `undefined`, because nothing is defined under the URL's id — so fetch it,\n // then ask again by the name it registered itself as.\n if (win.requirejs) {\n return new Promise<RicosCdnModule>((resolve, reject) => {\n const fail = (error: unknown) =>\n reject(\n error instanceof Error\n ? error\n : new Error(\n `Failed to load ${RICOS_STATICS_URL}: ${String(error)}`,\n ),\n );\n\n win.requirejs!(\n [RICOS_STATICS_URL],\n () =>\n win.requirejs!(\n [GLOBAL_NAME],\n (mod) =>\n mod\n ? resolve(mod)\n : fail(\n new Error(\n `${RICOS_STATICS_URL} loaded but defined no \"${GLOBAL_NAME}\" module`,\n ),\n ),\n fail,\n ),\n fail,\n );\n });\n }\n\n provideReactGlobals(win);\n await appendScript(RICOS_STATICS_URL);\n\n const mod = win[GLOBAL_NAME];\n if (!mod) {\n throw new Error(\n `${RICOS_STATICS_URL} loaded but did not define window.${GLOBAL_NAME}`,\n );\n }\n return mod;\n};\n\nlet pending: Promise<RicosCdnModule> | undefined;\n\n/** Loads the bundle once per page; every caller shares the same promise. */\nexport const loadRicosFromCdn = (): Promise<RicosCdnModule> => {\n pending = pending ?? load();\n return pending;\n};\n\n/**\n * Returns the module once loaded, `undefined` while in flight. A caller must\n * render something in the meantime — `RCELoader` in the editor, `RCVLoader` in\n * the viewer. Returning `null` instead leaves a blank area for the duration of\n * the fetch.\n */\nexport const useRicosFromCdn = (): RicosCdnModule | undefined => {\n // Resolved on the first render under test, so specs see a mounted editor\n // rather than the pre-load `null`.\n const [mod, setMod] = useState<RicosCdnModule | undefined>(loadForTests);\n\n useEffect(() => {\n if (mod) {\n return;\n }\n let cancelled = false;\n loadRicosFromCdn().then(\n (loaded) => {\n if (!cancelled) {\n setMod(loaded);\n }\n },\n (error) => {\n // Nothing to fall back to — surface it rather than hanging on a spinner.\n console.error('[rich-content] failed to load ricos from CDN', error);\n },\n );\n return () => {\n cancelled = true;\n };\n }, [mod]);\n\n return mod;\n};\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAiC,SAAAD,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAIjC;AACA;AACA;A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AA;AAMO,MAAME,eAAe,GAAGA,CAAA,KAAkC;EAC/D;EACA;EACA,MAAM,CAACJ,GAAG,EAAEK,MAAM,CAAC,GAAG,IAAAC,eAAQ,EAA6BlB,YAAY,CAAC;EAExE,IAAAmB,gBAAS,EAAC,MAAM;IACd,IAAIP,GAAG,EAAE;MACP;IACF;IACA,IAAIQ,SAAS,GAAG,KAAK;IACrBN,gBAAgB,CAAC,CAAC,CAACO,IAAI,CACpBC,MAAM,IAAK;MACV,IAAI,CAACF,SAAS,EAAE;QACdH,MAAM,CAACK,MAAM,CAAC;MAChB;IACF,CAAC,EACAZ,KAAK,IAAK;MACT;MACAa,OAAO,CAACb,KAAK,CAAC,8CAA8C,EAAEA,KAAK,CAAC;IACtE,CACF,CAAC;IACD,OAAO,MAAM;MACXU,SAAS,GAAG,IAAI;IAClB,CAAC;EACH,CAAC,EAAE,CAACR,GAAG,CAAC,CAAC;EAET,OAAOA,GAAG;AACZ,CAAC;AAACG,OAAA,CAAAC,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -7,11 +7,21 @@ var _patternsFieldsBundledRicos = require("@wix/patterns-fields-utils/@wix/patte
|
|
|
7
7
|
var _richContentEditor = require("./rich-content-input/rich-content-editor");
|
|
8
8
|
var _richContentCommon = require("./rich-content-input/rich-content-common");
|
|
9
9
|
var _richContent = require("../../validations/rich-content");
|
|
10
|
+
var _utils = require("../../utils");
|
|
10
11
|
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/fields/dist/cjs/components/rich-content/cell-rich-content-input.tsx";
|
|
11
12
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
|
+
// The editor renders in a portal, but its key events still bubble to the table,
|
|
14
|
+
// which closes the cell on Tab before the editor has reported its content.
|
|
15
|
+
// Only propagation is stopped: Tab still moves focus or indents inside the editor.
|
|
16
|
+
const keepTabInEditor = e => {
|
|
17
|
+
if (e.key === 'Tab') {
|
|
18
|
+
(0, _utils.stopEvent)(e);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
|
|
12
22
|
/** Full-screen Ricos editor for the richContent cell type.
|
|
13
|
-
* Opens immediately in fullscreen mode. Saving (X button
|
|
14
|
-
*
|
|
23
|
+
* Opens immediately in fullscreen mode. Saving (X button or Escape) calls onChange + onSave.
|
|
24
|
+
* Unlike other cells, Enter and Tab do not save: Enter adds a new paragraph and Tab stays in the editor. */
|
|
15
25
|
const CellRichContentInput = ({
|
|
16
26
|
value,
|
|
17
27
|
onChange,
|
|
@@ -50,21 +60,28 @@ const CellRichContentInput = ({
|
|
|
50
60
|
}
|
|
51
61
|
onSave();
|
|
52
62
|
}, [onChange, onSave, initialTypedKey]);
|
|
53
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
63
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
64
|
+
onKeyDown: keepTabInEditor,
|
|
65
|
+
__self: void 0,
|
|
66
|
+
__source: {
|
|
67
|
+
fileName: _jsxFileName,
|
|
68
|
+
lineNumber: 82,
|
|
69
|
+
columnNumber: 5
|
|
70
|
+
}
|
|
71
|
+
}, /*#__PURE__*/_react.default.createElement(_richContentEditor.RichContentEditor, {
|
|
54
72
|
content: localValue,
|
|
55
73
|
injectedContent: injectedValue,
|
|
56
74
|
onChange: handleChange,
|
|
57
75
|
onExitFullScreen: handleExitFullScreen,
|
|
58
76
|
fullScreenOnly: true,
|
|
59
|
-
closeOnEnter: true,
|
|
60
77
|
autoFocus: true,
|
|
61
78
|
__self: void 0,
|
|
62
79
|
__source: {
|
|
63
80
|
fileName: _jsxFileName,
|
|
64
|
-
lineNumber:
|
|
65
|
-
columnNumber:
|
|
81
|
+
lineNumber: 83,
|
|
82
|
+
columnNumber: 7
|
|
66
83
|
}
|
|
67
|
-
});
|
|
84
|
+
}));
|
|
68
85
|
};
|
|
69
86
|
exports.CellRichContentInput = CellRichContentInput;
|
|
70
87
|
CellRichContentInput.displayName = 'CellRichContentInput';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_patternsFieldsBundledRicos","_richContentEditor","_richContentCommon","_richContent","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CellRichContentInput","value","onChange","onSave","initialTypedKey","hasSavedRef","useRef","initialContent","useMemo","existingText","toPlainTextSync","hardConvert","delimiter","fromPlainText","undefined","localValue","setLocalValue","injectedValue","useRichContentState","handleChange","useCallback","content","handleExitFullScreen","isContentChanged","current","createElement","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_patternsFieldsBundledRicos","_richContentEditor","_richContentCommon","_richContent","_utils","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","keepTabInEditor","key","stopEvent","CellRichContentInput","value","onChange","onSave","initialTypedKey","hasSavedRef","useRef","initialContent","useMemo","existingText","toPlainTextSync","hardConvert","delimiter","fromPlainText","undefined","localValue","setLocalValue","injectedValue","useRichContentState","handleChange","useCallback","content","handleExitFullScreen","isContentChanged","current","createElement","onKeyDown","__self","__source","fileName","lineNumber","columnNumber","RichContentEditor","injectedContent","onExitFullScreen","fullScreenOnly","autoFocus","exports","displayName"],"sources":["../../../../src/components/rich-content/cell-rich-content-input.tsx"],"sourcesContent":["import React, { useCallback, useMemo, useRef } from 'react';\n\nimport type { RicosDocument } from '@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos';\nimport {\n fromPlainText,\n toPlainTextSync,\n} from '@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos';\n\nimport { RichContentEditor } from './rich-content-input/rich-content-editor';\nimport { useRichContentState } from './rich-content-input/rich-content-common';\nimport { hardConvert } from '../../validations/rich-content';\nimport { stopEvent } from '../../utils';\n\nexport interface CellRichContentInputProps {\n value?: unknown;\n onChange: (value: RicosDocument | undefined) => void;\n onSave: () => void;\n /** Typed key from type-to-edit — appended to a plain-text extraction of the existing content (formatting is lost). */\n initialTypedKey?: string;\n}\n\n// The editor renders in a portal, but its key events still bubble to the table,\n// which closes the cell on Tab before the editor has reported its content.\n// Only propagation is stopped: Tab still moves focus or indents inside the editor.\nconst keepTabInEditor = (e: React.KeyboardEvent) => {\n if (e.key === 'Tab') {\n stopEvent(e);\n }\n};\n\n/** Full-screen Ricos editor for the richContent cell type.\n * Opens immediately in fullscreen mode. Saving (X button or Escape) calls onChange + onSave.\n * Unlike other cells, Enter and Tab do not save: Enter adds a new paragraph and Tab stays in the editor. */\nexport const CellRichContentInput: React.FC<CellRichContentInputProps> = ({\n value,\n onChange,\n onSave,\n initialTypedKey,\n}) => {\n const hasSavedRef = useRef(false);\n\n // Compute initial editor content once on mount.\n // If there's a typed key, append it to the existing plain-text form of the content.\n const initialContent = useMemo((): RicosDocument | undefined => {\n if (initialTypedKey) {\n const existingText = value\n ? toPlainTextSync(hardConvert(value), { delimiter: '\\n' })\n : '';\n return fromPlainText(existingText + initialTypedKey);\n }\n return value === undefined ? undefined : hardConvert(value);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []); // Deliberately run only on mount — typed key is a one-shot initializer\n\n const [localValue, setLocalValue, injectedValue] =\n useRichContentState(initialContent);\n\n const handleChange = useCallback(\n (content: RicosDocument) => setLocalValue(content),\n [setLocalValue],\n );\n\n /** Commit the content (if it changed) and exit edit mode.\n * Guards against double-save (X button + Escape firing simultaneously). */\n const handleExitFullScreen = useCallback(\n (content?: RicosDocument, isContentChanged?: boolean) => {\n if (hasSavedRef.current) {\n return;\n }\n hasSavedRef.current = true;\n // Skipping onChange leaves the cell untouched, so nothing is saved. A\n // typed-to-edit key is a change even though the editor started with it.\n if (isContentChanged || initialTypedKey) {\n onChange(content);\n }\n onSave();\n },\n [onChange, onSave, initialTypedKey],\n );\n\n return (\n <div onKeyDown={keepTabInEditor}>\n <RichContentEditor\n content={localValue}\n injectedContent={injectedValue}\n onChange={handleChange}\n onExitFullScreen={handleExitFullScreen}\n fullScreenOnly\n autoFocus\n />\n </div>\n );\n};\n\nCellRichContentInput.displayName = 'CellRichContentInput';\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGA,IAAAC,2BAAA,GAAAD,OAAA;AAKA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,kBAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAAwC,IAAAM,YAAA;AAAA,SAAAP,wBAAAQ,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAV,uBAAA,YAAAA,CAAAQ,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAA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AErC,MAAMY,YAAY,GAAG,IAAAC,kBAAW,EAC7BC,OAAsB,IAAKL,aAAa,CAACK,OAAO,CAAC,EAClD,CAACL,aAAa,CAChB,CAAC;;EAED;AACF;EACE,MAAMM,oBAAoB,GAAG,IAAAF,kBAAW,EACtC,CAACC,OAAuB,EAAEE,gBAA0B,KAAK;IACvD,IAAIlB,WAAW,CAACmB,OAAO,EAAE;MACvB;IACF;IACAnB,WAAW,CAACmB,OAAO,GAAG,IAAI;IAC1B;IACA;IACA,IAAID,gBAAgB,IAAInB,eAAe,EAAE;MACvCF,QAAQ,CAACmB,OAAO,CAAC;IACnB;IACAlB,MAAM,CAAC,CAAC;EACV,CAAC,EACD,CAACD,QAAQ,EAAEC,MAAM,EAAEC,eAAe,CACpC,CAAC;EAED,oBACEnC,MAAA,CAAAmB,OAAA,CAAAqC,aAAA;IAAKC,SAAS,EAAE7B,eAAgB;IAAA8B,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAApD,YAAA;MAAAqD,UAAA;MAAAC,YAAA;IAAA;EAAA,gBAC9B9D,MAAA,CAAAmB,OAAA,CAAAqC,aAAA,CAACpD,kBAAA,CAAA2D,iBAAiB;IAChBX,OAAO,EAAEN,UAAW;IACpBkB,eAAe,EAAEhB,aAAc;IAC/Bf,QAAQ,EAAEiB,YAAa;IACvBe,gBAAgB,EAAEZ,oBAAqB;IACvCa,cAAc;IACdC,SAAS;IAAAT,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAApD,YAAA;MAAAqD,UAAA;MAAAC,YAAA;IAAA;EAAA,CACV,CACE,CAAC;AAEV,CAAC;AAACM,OAAA,CAAArC,oBAAA,GAAAA,oBAAA;AAEFA,oBAAoB,CAACsC,WAAW,GAAG,sBAAsB","ignoreList":[]}
|
|
@@ -5,16 +5,16 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "richcontentdefaultvalueinput384255846";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
16
|
-
"richContentEditorContainer": "
|
|
17
|
-
"editor": "
|
|
15
|
+
"root": "richcontentdefaultvalueinput384255846__root",
|
|
16
|
+
"richContentEditorContainer": "richcontentdefaultvalueinput384255846__richContentEditorContainer",
|
|
17
|
+
"editor": "richcontentdefaultvalueinput384255846__editor"
|
|
18
18
|
};
|
|
19
19
|
var keyframes = exports.keyframes = {};
|
|
20
20
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"richcontentdefaultvalueinput384255846\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"richcontentdefaultvalueinput384255846__root\",\"richContentEditorContainer\":\"richcontentdefaultvalueinput384255846__richContentEditorContainer\",\"editor\":\"richcontentdefaultvalueinput384255846__editor\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"topToolbarHeight\":\"--topToolbarHeight\",\"bottomToolbarHeight\":\"--bottomToolbarHeight\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,uCAAuC;AACzD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,6CAA6C;EAAC,4BAA4B,EAAC,mEAAmE;EAAC,QAAQ,EAAC;AAA+C,CAAC;AAC9N,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,kBAAkB,EAAC,oBAAoB;EAAC,qBAAqB,EAAC;AAAuB,CAAC","ignoreList":[]}
|
|
@@ -5,15 +5,15 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "richcontentforminput2623724401";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
16
|
-
"editor": "
|
|
15
|
+
"root": "richcontentforminput2623724401__root",
|
|
16
|
+
"editor": "richcontentforminput2623724401__editor"
|
|
17
17
|
};
|
|
18
18
|
var keyframes = exports.keyframes = {};
|
|
19
19
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"richcontentforminput2623724401\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"richcontentforminput2623724401__root\",\"editor\":\"richcontentforminput2623724401__editor\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"topToolbarHeight\":\"--topToolbarHeight\",\"bottomToolbarHeight\":\"--bottomToolbarHeight\",\"wds-input-border-color\":\"--wds-input-border-color\",\"wds-input-border-color-focus\":\"--wds-input-border-color-focus\",\"wds-input-shadow-focus-standard\":\"--wds-input-shadow-focus-standard\",\"wds-input-border-radius-default-medium\":\"--wds-input-border-radius-default-medium\",\"wsr-color-B10\":\"--wsr-color-B10\",\"wsr-color-B40\":\"--wsr-color-B40\",\"wsr-color-F00\":\"--wsr-color-F00\",\"wsr-border-radius-06\":\"--wsr-border-radius-06\",\"wsr-color-D80\":\"--wsr-color-D80\",\"wds-input-background-fill-default\":\"--wds-input-background-fill-default\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,gCAAgC;AAClD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,sCAAsC;EAAC,QAAQ,EAAC;AAAwC,CAAC;AAC/G,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,kBAAkB,EAAC,oBAAoB;EAAC,qBAAqB,EAAC,uBAAuB;EAAC,wBAAwB,EAAC,0BAA0B;EAAC,8BAA8B,EAAC,gCAAgC;EAAC,iCAAiC,EAAC,mCAAmC;EAAC,wCAAwC,EAAC,0CAA0C;EAAC,eAAe,EAAC,iBAAiB;EAAC,eAAe,EAAC,iBAAiB;EAAC,eAAe,EAAC,iBAAiB;EAAC,sBAAsB,EAAC,wBAAwB;EAAC,eAAe,EAAC,iBAAiB;EAAC,mCAAmC,EAAC;AAAqC,CAAC","ignoreList":[]}
|
|
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "richcontentformreadonlyinput2036888546";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
15
|
+
"root": "richcontentformreadonlyinput2036888546__root"
|
|
16
16
|
};
|
|
17
17
|
var keyframes = exports.keyframes = {};
|
|
18
18
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"richcontentformreadonlyinput2036888546\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"richcontentformreadonlyinput2036888546__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-black-600\":\"--wds-color-black-600\",\"wds-border-radius-300\":\"--wds-border-radius-300\",\"wds-color-blue-100\":\"--wds-color-blue-100\",\"wds-input-shadow-focus-standard\":\"--wds-input-shadow-focus-standard\",\"wds-color-blue-300\":\"--wds-color-blue-300\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,wCAAwC;AAC1D,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAA8C,CAAC;AACrE,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,qBAAqB,EAAC,uBAAuB;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,iCAAiC,EAAC,mCAAmC;EAAC,oBAAoB,EAAC;AAAsB,CAAC","ignoreList":[]}
|
|
@@ -5,15 +5,15 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../../../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "fullscreenmodal2593435262";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
16
|
-
"modalContent": "
|
|
15
|
+
"root": "fullscreenmodal2593435262__root",
|
|
16
|
+
"modalContent": "fullscreenmodal2593435262__modalContent"
|
|
17
17
|
};
|
|
18
18
|
var keyframes = exports.keyframes = {};
|
|
19
19
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"fullscreenmodal2593435262\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"fullscreenmodal2593435262__root\",\"modalContent\":\"fullscreenmodal2593435262__modalContent\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-white\":\"--wds-color-white\",\"wsr-color-D80\":\"--wsr-color-D80\",\"wds-border-radius-300\":\"--wds-border-radius-300\",\"wsr-border-radius-06\":\"--wsr-border-radius-06\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,2BAA2B;AAC7C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,iCAAiC;EAAC,cAAc,EAAC;AAAyC,CAAC;AACjH,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,eAAe,EAAC,iBAAiB;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,sBAAsB,EAAC;AAAwB,CAAC","ignoreList":[]}
|
|
@@ -5,15 +5,15 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../../../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "publishloader1519157742";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
16
|
-
"publishLoader": "
|
|
15
|
+
"root": "publishloader1519157742__root",
|
|
16
|
+
"publishLoader": "publishloader1519157742__publishLoader"
|
|
17
17
|
};
|
|
18
18
|
var keyframes = exports.keyframes = {};
|
|
19
19
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"publishloader1519157742\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"publishloader1519157742__root\",\"publishLoader\":\"publishloader1519157742__publishLoader\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-white\":\"--wds-color-white\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,yBAAyB;AAC3C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,+BAA+B;EAAC,eAAe,EAAC;AAAwC,CAAC;AAC/G,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,iBAAiB,EAAC;AAAmB,CAAC","ignoreList":[]}
|
|
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../../../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "togglefullscreenbutton2869470931";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
15
|
+
"root": "togglefullscreenbutton2869470931__root"
|
|
16
16
|
};
|
|
17
17
|
var keyframes = exports.keyframes = {};
|
|
18
18
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"togglefullscreenbutton2869470931\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"togglefullscreenbutton2869470931__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,kCAAkC;AACpD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAAwC,CAAC;AAC/D,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC","ignoreList":[]}
|
|
@@ -17,7 +17,6 @@ var _common = require("../../../common");
|
|
|
17
17
|
var _richContentCommon = require("../rich-content-common");
|
|
18
18
|
var _plugins = require("./plugins");
|
|
19
19
|
var _richContentToolbar = require("./rich-content-toolbar");
|
|
20
|
-
var _keyboard = require("../../../../utils/keyboard");
|
|
21
20
|
var _richContentEditorStCss = require("./rich-content-editor.st.css.js");
|
|
22
21
|
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/fields/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.tsx";
|
|
23
22
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
@@ -217,7 +216,7 @@ const RCE = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
217
216
|
__self: void 0,
|
|
218
217
|
__source: {
|
|
219
218
|
fileName: _jsxFileName,
|
|
220
|
-
lineNumber:
|
|
219
|
+
lineNumber: 308,
|
|
221
220
|
columnNumber: 7
|
|
222
221
|
}
|
|
223
222
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -225,7 +224,7 @@ const RCE = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
225
224
|
__self: void 0,
|
|
226
225
|
__source: {
|
|
227
226
|
fileName: _jsxFileName,
|
|
228
|
-
lineNumber:
|
|
227
|
+
lineNumber: 319,
|
|
229
228
|
columnNumber: 9
|
|
230
229
|
}
|
|
231
230
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -234,7 +233,7 @@ const RCE = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
234
233
|
__self: void 0,
|
|
235
234
|
__source: {
|
|
236
235
|
fileName: _jsxFileName,
|
|
237
|
-
lineNumber:
|
|
236
|
+
lineNumber: 320,
|
|
238
237
|
columnNumber: 11
|
|
239
238
|
}
|
|
240
239
|
}), !hidden && isToolbarReady && /*#__PURE__*/_react.default.createElement(_richContentCommon.ToggleFullscreenButton, {
|
|
@@ -243,7 +242,7 @@ const RCE = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
243
242
|
__self: void 0,
|
|
244
243
|
__source: {
|
|
245
244
|
fileName: _jsxFileName,
|
|
246
|
-
lineNumber:
|
|
245
|
+
lineNumber: 322,
|
|
247
246
|
columnNumber: 13
|
|
248
247
|
}
|
|
249
248
|
})), editor && /*#__PURE__*/_react.default.createElement(InsertToolbarSync, {
|
|
@@ -253,7 +252,7 @@ const RCE = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
253
252
|
__self: void 0,
|
|
254
253
|
__source: {
|
|
255
254
|
fileName: _jsxFileName,
|
|
256
|
-
lineNumber:
|
|
255
|
+
lineNumber: 330,
|
|
257
256
|
columnNumber: 11
|
|
258
257
|
}
|
|
259
258
|
}), !hidden && RicosEditor ? /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -262,7 +261,7 @@ const RCE = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
262
261
|
__self: void 0,
|
|
263
262
|
__source: {
|
|
264
263
|
fileName: _jsxFileName,
|
|
265
|
-
lineNumber:
|
|
264
|
+
lineNumber: 338,
|
|
266
265
|
columnNumber: 11
|
|
267
266
|
}
|
|
268
267
|
}, /*#__PURE__*/_react.default.createElement(RicosEditor, (0, _extends2.default)({
|
|
@@ -278,14 +277,14 @@ const RCE = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
278
277
|
__self: void 0,
|
|
279
278
|
__source: {
|
|
280
279
|
fileName: _jsxFileName,
|
|
281
|
-
lineNumber:
|
|
280
|
+
lineNumber: 339,
|
|
282
281
|
columnNumber: 13
|
|
283
282
|
}
|
|
284
283
|
}))) : null, !isToolbarReady && /*#__PURE__*/_react.default.createElement(RCELoader, {
|
|
285
284
|
__self: void 0,
|
|
286
285
|
__source: {
|
|
287
286
|
fileName: _jsxFileName,
|
|
288
|
-
lineNumber:
|
|
287
|
+
lineNumber: 354,
|
|
289
288
|
columnNumber: 29
|
|
290
289
|
}
|
|
291
290
|
}), !hidden && isToolbarReady && /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -294,7 +293,7 @@ const RCE = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
294
293
|
__self: void 0,
|
|
295
294
|
__source: {
|
|
296
295
|
fileName: _jsxFileName,
|
|
297
|
-
lineNumber:
|
|
296
|
+
lineNumber: 356,
|
|
298
297
|
columnNumber: 11
|
|
299
298
|
}
|
|
300
299
|
}, /*#__PURE__*/_react.default.createElement(_richContentToolbar.ExternalToolbar, {
|
|
@@ -302,7 +301,7 @@ const RCE = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
302
301
|
__self: void 0,
|
|
303
302
|
__source: {
|
|
304
303
|
fileName: _jsxFileName,
|
|
305
|
-
lineNumber:
|
|
304
|
+
lineNumber: 360,
|
|
306
305
|
columnNumber: 13
|
|
307
306
|
}
|
|
308
307
|
})));
|
|
@@ -318,7 +317,7 @@ const RCELoader = () => /*#__PURE__*/_react.default.createElement(_designSystem.
|
|
|
318
317
|
__self: void 0,
|
|
319
318
|
__source: {
|
|
320
319
|
fileName: _jsxFileName,
|
|
321
|
-
lineNumber:
|
|
320
|
+
lineNumber: 370,
|
|
322
321
|
columnNumber: 3
|
|
323
322
|
}
|
|
324
323
|
}, /*#__PURE__*/_react.default.createElement(_designSystem.Loader, {
|
|
@@ -326,7 +325,7 @@ const RCELoader = () => /*#__PURE__*/_react.default.createElement(_designSystem.
|
|
|
326
325
|
__self: void 0,
|
|
327
326
|
__source: {
|
|
328
327
|
fileName: _jsxFileName,
|
|
329
|
-
lineNumber:
|
|
328
|
+
lineNumber: 378,
|
|
330
329
|
columnNumber: 5
|
|
331
330
|
}
|
|
332
331
|
}));
|
|
@@ -338,7 +337,6 @@ const RichContentEditor = ({
|
|
|
338
337
|
onEnterFullScreen,
|
|
339
338
|
onExitFullScreen,
|
|
340
339
|
fullScreenOnly,
|
|
341
|
-
closeOnEnter,
|
|
342
340
|
onPublish,
|
|
343
341
|
onChange,
|
|
344
342
|
theme,
|
|
@@ -427,15 +425,11 @@ const RichContentEditor = ({
|
|
|
427
425
|
if (e.key === 'Escape') {
|
|
428
426
|
e.stopPropagation();
|
|
429
427
|
void onClose();
|
|
430
|
-
} else if (closeOnEnter && (0, _keyboard.isEnterInEditableText)(e)) {
|
|
431
|
-
e.preventDefault();
|
|
432
|
-
e.stopPropagation();
|
|
433
|
-
void onClose();
|
|
434
428
|
}
|
|
435
429
|
};
|
|
436
430
|
document.addEventListener('keydown', handleKeyDown, true);
|
|
437
431
|
return () => document.removeEventListener('keydown', handleKeyDown, true);
|
|
438
|
-
}, [isFullScreen, onClose
|
|
432
|
+
}, [isFullScreen, onClose]);
|
|
439
433
|
const rceProps = {
|
|
440
434
|
onChange: handleChange
|
|
441
435
|
};
|
|
@@ -459,7 +453,7 @@ const RichContentEditor = ({
|
|
|
459
453
|
__self: void 0,
|
|
460
454
|
__source: {
|
|
461
455
|
fileName: _jsxFileName,
|
|
462
|
-
lineNumber:
|
|
456
|
+
lineNumber: 574,
|
|
463
457
|
columnNumber: 7
|
|
464
458
|
}
|
|
465
459
|
}), !fullScreenOnly && /*#__PURE__*/_react.default.createElement(RCE, (0, _extends2.default)({}, props, rceProps, {
|
|
@@ -474,7 +468,7 @@ const RichContentEditor = ({
|
|
|
474
468
|
__self: void 0,
|
|
475
469
|
__source: {
|
|
476
470
|
fileName: _jsxFileName,
|
|
477
|
-
lineNumber:
|
|
471
|
+
lineNumber: 576,
|
|
478
472
|
columnNumber: 9
|
|
479
473
|
}
|
|
480
474
|
})), /*#__PURE__*/_react.default.createElement(_richContentCommon.FullscreenModal, {
|
|
@@ -483,7 +477,7 @@ const RichContentEditor = ({
|
|
|
483
477
|
__self: void 0,
|
|
484
478
|
__source: {
|
|
485
479
|
fileName: _jsxFileName,
|
|
486
|
-
lineNumber:
|
|
480
|
+
lineNumber: 589,
|
|
487
481
|
columnNumber: 7
|
|
488
482
|
}
|
|
489
483
|
}, /*#__PURE__*/_react.default.createElement(RCE, (0, _extends2.default)({}, props, rceProps, {
|
|
@@ -497,7 +491,7 @@ const RichContentEditor = ({
|
|
|
497
491
|
__self: void 0,
|
|
498
492
|
__source: {
|
|
499
493
|
fileName: _jsxFileName,
|
|
500
|
-
lineNumber:
|
|
494
|
+
lineNumber: 590,
|
|
501
495
|
columnNumber: 9
|
|
502
496
|
}
|
|
503
497
|
}))));
|