@wix/patterns-fields 1.66.0 → 1.67.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.
Files changed (329) hide show
  1. package/dist/cjs/auto-field-types/validations.js +9 -13
  2. package/dist/cjs/auto-field-types/validations.js.map +1 -1
  3. package/dist/cjs/components/address/input/address-input.st.css.js +3 -3
  4. package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
  5. package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
  6. package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
  7. package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
  8. package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
  9. package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
  10. package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
  11. package/dist/cjs/components/color-view/cell-color-view.st.css.js +3 -3
  12. package/dist/cjs/components/color-view/cell-color-view.st.css.js.map +1 -1
  13. package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
  14. package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
  15. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
  16. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
  17. package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
  18. package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
  19. package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
  20. package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
  21. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
  22. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
  23. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
  24. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
  25. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  26. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
  27. package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
  28. package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
  29. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
  30. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
  31. package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
  32. package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
  33. package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
  34. package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
  35. package/dist/cjs/components/media-loader/media-loader.st.css.js +3 -3
  36. package/dist/cjs/components/media-loader/media-loader.st.css.js.map +1 -1
  37. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  38. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
  39. package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js +3 -3
  40. package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
  41. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
  42. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  43. package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js +2 -2
  44. package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js.map +1 -1
  45. package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
  46. package/dist/cjs/components/reference/cell-reference-input.st.css.js.map +1 -1
  47. package/dist/cjs/components/rich-content/cdn/load-ricos.js +135 -0
  48. package/dist/cjs/components/rich-content/cdn/load-ricos.js.map +1 -0
  49. package/dist/cjs/components/rich-content/cdn/types.js +4 -0
  50. package/dist/cjs/components/rich-content/cdn/types.js.map +1 -0
  51. package/dist/cjs/components/rich-content/cell-rich-content-input.js +3 -3
  52. package/dist/cjs/components/rich-content/cell-rich-content-input.js.map +1 -1
  53. package/dist/cjs/components/rich-content/cell-rich-content-view.js +2 -2
  54. package/dist/cjs/components/rich-content/cell-rich-content-view.js.map +1 -1
  55. package/dist/cjs/components/rich-content/editor.js.map +1 -1
  56. package/dist/cjs/components/rich-content/form-rich-content.js +2 -2
  57. package/dist/cjs/components/rich-content/form-rich-content.js.map +1 -1
  58. package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js +5 -3
  59. package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
  60. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.js.map +1 -1
  61. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +4 -4
  62. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
  63. package/dist/cjs/components/rich-content/rich-content-input/default-value-read-only-input/rich-content-form-read-only-input.js.map +1 -1
  64. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.js.map +1 -1
  65. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +3 -3
  66. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
  67. package/dist/cjs/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.js.map +1 -1
  68. package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.js.map +1 -1
  69. package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  70. 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
  71. package/dist/cjs/components/rich-content/rich-content-input/hooks.js +7 -8
  72. package/dist/cjs/components/rich-content/rich-content-input/hooks.js.map +1 -1
  73. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +3 -3
  74. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
  75. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/hooks.js +15 -3
  76. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/hooks.js.map +1 -1
  77. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +3 -3
  78. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
  79. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  80. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
  81. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/types.js.map +1 -1
  82. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/plugins.js +38 -31
  83. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/plugins.js.map +1 -1
  84. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js +27 -22
  85. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js.map +1 -1
  86. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +7 -7
  87. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
  88. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js +10 -9
  89. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
  90. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +5 -5
  91. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  92. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/plugins.js +11 -17
  93. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/plugins.js.map +1 -1
  94. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +47 -15
  95. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
  96. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
  97. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
  98. package/dist/cjs/components/rich-content/rich-content-input/services/rich-content-document-http-service.js.map +1 -1
  99. package/dist/cjs/components/rich-content/rich-content-input/services/types.js.map +1 -1
  100. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
  101. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
  102. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
  103. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
  104. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
  105. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
  106. package/dist/cjs/components/text/text-view.st.css.js +3 -3
  107. package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
  108. package/dist/cjs/exports/ricos-statics-legacy.js +10 -0
  109. package/dist/cjs/exports/ricos-statics-legacy.js.map +1 -0
  110. package/dist/cjs/exports/ricos-statics.js +10 -0
  111. package/dist/cjs/exports/ricos-statics.js.map +1 -0
  112. package/dist/cjs/styles.global.css +1 -1
  113. package/dist/cjs/validations/rich-content.js +26 -6
  114. package/dist/cjs/validations/rich-content.js.map +1 -1
  115. package/dist/esm/auto-field-types/validations.js +10 -13
  116. package/dist/esm/auto-field-types/validations.js.map +1 -1
  117. package/dist/esm/components/address/input/address-input.st.css.js +2 -2
  118. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
  119. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
  120. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
  121. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
  122. package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
  123. package/dist/esm/components/audio/audio-player/audio-player.st.css.js.map +1 -1
  124. package/dist/esm/components/color-view/cell-color-view.st.css.js +2 -2
  125. package/dist/esm/components/color-view/color-view.st.css.js +2 -2
  126. package/dist/esm/components/color-view/color-view.st.css.js.map +1 -1
  127. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
  128. package/dist/esm/components/document/form-document-field.st.css.js +2 -2
  129. package/dist/esm/components/document/form-document-field.st.css.js.map +1 -1
  130. package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
  131. package/dist/esm/components/exclamation/exclamation.st.css.js.map +1 -1
  132. package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
  133. package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
  134. package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
  135. package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  136. package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
  137. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
  138. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
  139. package/dist/esm/components/media-image/media-image.st.css.js +3 -3
  140. package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
  141. package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
  142. package/dist/esm/components/media-loader/media-loader.st.css.js.map +1 -1
  143. package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  144. package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js +2 -2
  145. package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
  146. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
  147. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  148. package/dist/esm/components/reference/cell-multi-reference-input.st.css.js +2 -2
  149. package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
  150. package/dist/esm/components/rich-content/cdn/load-ricos.js +126 -0
  151. package/dist/esm/components/rich-content/cdn/load-ricos.js.map +1 -0
  152. package/dist/esm/components/rich-content/cdn/types.js +2 -0
  153. package/dist/esm/components/rich-content/cdn/types.js.map +1 -0
  154. package/dist/esm/components/rich-content/cell-rich-content-input.js +1 -1
  155. package/dist/esm/components/rich-content/cell-rich-content-input.js.map +1 -1
  156. package/dist/esm/components/rich-content/cell-rich-content-view.js +1 -1
  157. package/dist/esm/components/rich-content/cell-rich-content-view.js.map +1 -1
  158. package/dist/esm/components/rich-content/editor.js +1 -1
  159. package/dist/esm/components/rich-content/editor.js.map +1 -1
  160. package/dist/esm/components/rich-content/form-rich-content.js +1 -1
  161. package/dist/esm/components/rich-content/form-rich-content.js.map +1 -1
  162. package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js +3 -2
  163. package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
  164. package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
  165. package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
  166. package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  167. package/dist/esm/components/rich-content/rich-content-input/hooks.js +4 -7
  168. package/dist/esm/components/rich-content/rich-content-input/hooks.js.map +1 -1
  169. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
  170. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js +14 -2
  171. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js.map +1 -1
  172. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
  173. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  174. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
  175. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/plugins.js +49 -41
  176. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/plugins.js.map +1 -1
  177. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js +10 -5
  178. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js.map +1 -1
  179. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
  180. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js +3 -1
  181. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
  182. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
  183. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  184. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/plugins.js +31 -37
  185. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/plugins.js.map +1 -1
  186. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +11 -5
  187. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
  188. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
  189. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
  190. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
  191. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
  192. package/dist/esm/components/text/text-view.st.css.js +2 -2
  193. package/dist/esm/components/text/text-view.st.css.js.map +1 -1
  194. package/dist/esm/exports/ricos-statics-legacy.js +6 -0
  195. package/dist/esm/exports/ricos-statics-legacy.js.map +1 -0
  196. package/dist/esm/exports/ricos-statics.js +10 -0
  197. package/dist/esm/exports/ricos-statics.js.map +1 -0
  198. package/dist/esm/styles.global.css +1 -1
  199. package/dist/esm/validations/rich-content.js +18 -1
  200. package/dist/esm/validations/rich-content.js.map +1 -1
  201. package/dist/types/auto-field-types/validations.d.ts +8 -0
  202. package/dist/types/auto-field-types/validations.d.ts.map +1 -1
  203. package/dist/types/components/audio/actions/actions-menu/actions-menu.st.css.d.ts.map +1 -1
  204. package/dist/types/components/audio/audio-field/form-audio-field.st.css.d.ts.map +1 -1
  205. package/dist/types/components/audio/audio-player/audio-player.st.css.d.ts.map +1 -1
  206. package/dist/types/components/color-view/color-view.st.css.d.ts.map +1 -1
  207. package/dist/types/components/document/form-document-field.st.css.d.ts.map +1 -1
  208. package/dist/types/components/exclamation/exclamation.st.css.d.ts.map +1 -1
  209. package/dist/types/components/image/thumbnail-replace-overlay.st.css.d.ts.map +1 -1
  210. package/dist/types/components/media-gallery/form-media-gallery-field.st.css.d.ts.map +1 -1
  211. package/dist/types/components/media-loader/media-loader.st.css.d.ts.map +1 -1
  212. package/dist/types/components/multi-document/cell-multi-document-edit.st.css.d.ts.map +1 -1
  213. package/dist/types/components/multi-document/multi-document-input/form-multi-document.st.css.d.ts.map +1 -1
  214. package/dist/types/components/rich-content/cdn/load-ricos.d.ts +11 -0
  215. package/dist/types/components/rich-content/cdn/load-ricos.d.ts.map +1 -0
  216. package/dist/types/components/rich-content/cdn/types.d.ts +20 -0
  217. package/dist/types/components/rich-content/cdn/types.d.ts.map +1 -0
  218. package/dist/types/components/rich-content/cell-rich-content-input.d.ts +1 -1
  219. package/dist/types/components/rich-content/cell-rich-content-input.d.ts.map +1 -1
  220. package/dist/types/components/rich-content/form-rich-content.d.ts +1 -1
  221. package/dist/types/components/rich-content/form-rich-content.d.ts.map +1 -1
  222. package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts +1 -1
  223. package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts.map +1 -1
  224. package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.d.ts +1 -1
  225. package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.d.ts.map +1 -1
  226. package/dist/types/components/rich-content/rich-content-input/default-value-read-only-input/rich-content-form-read-only-input.d.ts +1 -1
  227. package/dist/types/components/rich-content/rich-content-input/default-value-read-only-input/rich-content-form-read-only-input.d.ts.map +1 -1
  228. package/dist/types/components/rich-content/rich-content-input/form-input/rich-content-form-input.d.ts +1 -1
  229. package/dist/types/components/rich-content/rich-content-input/form-input/rich-content-form-input.d.ts.map +1 -1
  230. package/dist/types/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.d.ts +3 -3
  231. package/dist/types/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.d.ts.map +1 -1
  232. package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.d.ts +1 -1
  233. package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.d.ts.map +1 -1
  234. package/dist/types/components/rich-content/rich-content-input/hooks.d.ts +2 -2
  235. package/dist/types/components/rich-content/rich-content-input/hooks.d.ts.map +1 -1
  236. package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts +11 -1
  237. package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts.map +1 -1
  238. 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
  239. package/dist/types/components/rich-content/rich-content-input/rich-content-common/types.d.ts +1 -1
  240. package/dist/types/components/rich-content/rich-content-input/rich-content-common/types.d.ts.map +1 -1
  241. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts +7 -2
  242. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts.map +1 -1
  243. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts +2 -1
  244. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts.map +1 -1
  245. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts +1 -1
  246. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts.map +1 -1
  247. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
  248. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts +6 -15
  249. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts.map +1 -1
  250. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts +2 -2
  251. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts.map +1 -1
  252. package/dist/types/components/rich-content/rich-content-input/services/types.d.ts +1 -1
  253. package/dist/types/components/rich-content/rich-content-input/services/types.d.ts.map +1 -1
  254. package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
  255. package/dist/types/exports/ricos-statics-legacy.d.ts +6 -0
  256. package/dist/types/exports/ricos-statics-legacy.d.ts.map +1 -0
  257. package/dist/types/exports/ricos-statics.d.ts +10 -0
  258. package/dist/types/exports/ricos-statics.d.ts.map +1 -0
  259. package/dist/types/validations/rich-content.d.ts +9 -1
  260. package/dist/types/validations/rich-content.d.ts.map +1 -1
  261. package/package.json +24 -7
  262. package/src/__tests__/components/rich-content/form-rich-content.spec.tsx +1 -1
  263. package/src/__tests__/components/rich-content/load-ricos.spec.ts +17 -0
  264. package/src/__tests__/components/rich-content-editor.spec.tsx +40 -32
  265. package/src/__tests__/validations/rich-content.spec.ts +1 -1
  266. package/src/auto-field-types/validations.ts +25 -13
  267. package/src/components/address/input/address-input.st.css.ts +2 -2
  268. package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
  269. package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
  270. package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
  271. package/src/components/color-view/cell-color-view.st.css.ts +2 -2
  272. package/src/components/color-view/color-view.st.css.ts +2 -2
  273. package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
  274. package/src/components/document/form-document-field.st.css.ts +2 -2
  275. package/src/components/exclamation/exclamation.st.css.ts +2 -2
  276. package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
  277. package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
  278. package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
  279. package/src/components/media-control/paste-url-button.st.css.ts +2 -2
  280. package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
  281. package/src/components/media-image/media-image.st.css.ts +3 -3
  282. package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
  283. package/src/components/media-loader/media-loader.st.css.ts +2 -2
  284. package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
  285. package/src/components/multi-document/cell-multi-document-edit.st.css.ts +2 -2
  286. package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
  287. package/src/components/reference/cell-multi-reference-input.st.css.ts +2 -2
  288. package/src/components/reference/cell-reference-input.st.css.ts +2 -2
  289. package/src/components/rich-content/cdn/load-ricos.ts +184 -0
  290. package/src/components/rich-content/cdn/types.ts +21 -0
  291. package/src/components/rich-content/cell-rich-content-input.tsx +2 -2
  292. package/src/components/rich-content/cell-rich-content-view.tsx +1 -1
  293. package/src/components/rich-content/editor.ts +1 -1
  294. package/src/components/rich-content/form-rich-content.tsx +2 -2
  295. package/src/components/rich-content/hooks/use-plain-text-rich-content.ts +4 -3
  296. package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
  297. package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.tsx +1 -1
  298. package/src/components/rich-content/rich-content-input/default-value-read-only-input/rich-content-form-read-only-input.tsx +1 -1
  299. package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
  300. package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.tsx +1 -1
  301. package/src/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.ts +1 -1
  302. package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
  303. package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.tsx +1 -1
  304. package/src/components/rich-content/rich-content-input/hooks.ts +5 -8
  305. package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
  306. package/src/components/rich-content/rich-content-input/rich-content-common/hooks.ts +15 -3
  307. package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
  308. package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
  309. package/src/components/rich-content/rich-content-input/rich-content-common/types.ts +1 -1
  310. package/src/components/rich-content/rich-content-input/rich-content-editor/plugins.ts +59 -72
  311. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
  312. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.tsx +11 -7
  313. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
  314. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.tsx +4 -2
  315. package/src/components/rich-content/rich-content-input/rich-content-viewer/plugins.ts +33 -63
  316. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
  317. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.tsx +26 -10
  318. package/src/components/rich-content/rich-content-input/services/rich-content-document-http-service.ts +1 -1
  319. package/src/components/rich-content/rich-content-input/services/types.ts +1 -1
  320. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
  321. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
  322. package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
  323. package/src/components/text/text-view.st.css.ts +2 -2
  324. package/src/exports/ricos-statics-legacy.ts +5 -0
  325. package/src/exports/ricos-statics.ts +9 -0
  326. package/src/styles.global.css +1 -1
  327. package/src/validations/rich-content.ts +20 -2
  328. package/utils/@wix/patterns-fields-ricos-statics/legacy/package.json +5 -0
  329. package/utils/@wix/patterns-fields-ricos-statics/package.json +5 -0
@@ -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_ = "mediaimage323379179";
8
+ var _namespace_ = "mediaimage935656045";
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": "mediaimage323379179__root"
15
+ "root": "mediaimage935656045__root"
16
16
  };
17
17
  var keyframes = exports.keyframes = {};
18
18
  var layers = exports.layers = {};
@@ -23,7 +23,7 @@ var vars = exports.vars = {
23
23
  "wsr-color-R20": "--wsr-color-R20",
24
24
  "wds-color-black-550": "--wds-color-black-550",
25
25
  "wsr-color-D55": "--wsr-color-D55",
26
- "from": "--mediaimage323379179-from",
27
- "to": "--mediaimage323379179-to"
26
+ "from": "--mediaimage935656045-from",
27
+ "to": "--mediaimage935656045-to"
28
28
  };
29
29
  //# sourceMappingURL=media-image.st.css.js.map
@@ -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/media-image/media-image.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"mediaimage323379179\";\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\":\"mediaimage323379179__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-red-200\":\"--wds-color-red-200\",\"wsr-color-R20\":\"--wsr-color-R20\",\"wds-color-black-550\":\"--wds-color-black-550\",\"wsr-color-D55\":\"--wsr-color-D55\",\"from\":\"--mediaimage323379179-from\",\"to\":\"--mediaimage323379179-to\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,qBAAqB;AACvC,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;AAA2B,CAAC;AAClD,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,mBAAmB,EAAC,qBAAqB;EAAC,eAAe,EAAC,iBAAiB;EAAC,qBAAqB,EAAC,uBAAuB;EAAC,eAAe,EAAC,iBAAiB;EAAC,MAAM,EAAC,4BAA4B;EAAC,IAAI,EAAC;AAA0B,CAAC","ignoreList":[]}
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/media-image/media-image.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"mediaimage935656045\";\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\":\"mediaimage935656045__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-red-200\":\"--wds-color-red-200\",\"wsr-color-R20\":\"--wsr-color-R20\",\"wds-color-black-550\":\"--wds-color-black-550\",\"wsr-color-D55\":\"--wsr-color-D55\",\"from\":\"--mediaimage935656045-from\",\"to\":\"--mediaimage935656045-to\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,qBAAqB;AACvC,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;AAA2B,CAAC;AAClD,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,mBAAmB,EAAC,qBAAqB;EAAC,eAAe,EAAC,iBAAiB;EAAC,qBAAqB,EAAC,uBAAuB;EAAC,eAAe,EAAC,iBAAiB;EAAC,MAAM,EAAC,4BAA4B;EAAC,IAAI,EAAC;AAA0B,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_ = "overlay2137816035";
8
+ var _namespace_ = "overlay4040300395";
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": "overlay2137816035__root",
16
- "iconOverlay": "overlay2137816035__iconOverlay"
15
+ "root": "overlay4040300395__root",
16
+ "iconOverlay": "overlay4040300395__iconOverlay"
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/media-image/overlays/overlay.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"overlay2137816035\";\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\":\"overlay2137816035__root\",\"iconOverlay\":\"overlay2137816035__iconOverlay\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {\"iconShadow\":\"drop-shadow(0 1px 1px rgba(22, 45, 61, 0.6))\"}; \nexport var vars = {\"wds-color-white\":\"--wds-color-white\",\"wsr-color-D80\":\"--wsr-color-D80\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,mBAAmB;AACrC,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,yBAAyB;EAAC,aAAa,EAAC;AAAgC,CAAC;AAC/F,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;EAAC,YAAY,EAAC;AAA8C,CAAC;AAC1E,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,eAAe,EAAC;AAAiB,CAAC","ignoreList":[]}
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/media-image/overlays/overlay.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"overlay4040300395\";\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\":\"overlay4040300395__root\",\"iconOverlay\":\"overlay4040300395__iconOverlay\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {\"iconShadow\":\"drop-shadow(0 1px 1px rgba(22, 45, 61, 0.6))\"}; \nexport var vars = {\"wds-color-white\":\"--wds-color-white\",\"wsr-color-D80\":\"--wsr-color-D80\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,mBAAmB;AACrC,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,yBAAyB;EAAC,aAAa,EAAC;AAAgC,CAAC;AAC/F,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;EAAC,YAAY,EAAC;AAA8C,CAAC;AAC1E,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,eAAe,EAAC;AAAiB,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_ = "medialoader1252333309";
8
+ var _namespace_ = "medialoader610244478";
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": "medialoader1252333309__root",
16
- "loader": "medialoader1252333309__loader"
15
+ "root": "medialoader610244478__root",
16
+ "loader": "medialoader610244478__loader"
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/media-loader/media-loader.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"medialoader1252333309\";\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\":\"medialoader1252333309__root\",\"loader\":\"medialoader1252333309__loader\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {\"loaderBorderRadius\":\"6px\",\"blue300\":\"var(--wds-color-blue-300, var(--wsr-color-B30))\"}; \nexport var vars = {\"wds-color-blue-300\":\"--wds-color-blue-300\",\"wsr-color-B30\":\"--wsr-color-B30\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,uBAAuB;AACzC,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,6BAA6B;EAAC,QAAQ,EAAC;AAA+B,CAAC;AAC7F,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;EAAC,oBAAoB,EAAC,KAAK;EAAC,SAAS,EAAC;AAAiD,CAAC;AACrG,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,eAAe,EAAC;AAAiB,CAAC","ignoreList":[]}
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/media-loader/media-loader.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"medialoader610244478\";\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\":\"medialoader610244478__root\",\"loader\":\"medialoader610244478__loader\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {\"loaderBorderRadius\":\"6px\",\"blue300\":\"var(--wds-color-blue-300, var(--wsr-color-B30))\"}; \nexport var vars = {\"wds-color-blue-300\":\"--wds-color-blue-300\",\"wsr-color-B30\":\"--wsr-color-B30\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,sBAAsB;AACxC,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,4BAA4B;EAAC,QAAQ,EAAC;AAA8B,CAAC;AAC3F,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;EAAC,oBAAoB,EAAC,KAAK;EAAC,SAAS,EAAC;AAAiD,CAAC;AACrG,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,eAAe,EAAC;AAAiB,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_ = "mediatag917270223";
8
+ var _namespace_ = "mediatag148686631";
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": "mediatag917270223__root"
15
+ "root": "mediatag148686631__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/media-tag/web-media-tag/media-tag.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"mediatag917270223\";\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\":\"mediatag917270223__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-blue-400\":\"--wds-color-blue-400\",\"wsr-color-B40\":\"--wsr-color-B40\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,mBAAmB;AACrC,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;AAAyB,CAAC;AAChD,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,oBAAoB,EAAC,sBAAsB;EAAC,eAAe,EAAC;AAAiB,CAAC","ignoreList":[]}
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/media-tag/web-media-tag/media-tag.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"mediatag148686631\";\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\":\"mediatag148686631__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-blue-400\":\"--wds-color-blue-400\",\"wsr-color-B40\":\"--wsr-color-B40\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,mBAAmB;AACrC,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;AAAyB,CAAC;AAChD,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,oBAAoB,EAAC,sBAAsB;EAAC,eAAe,EAAC;AAAiB,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_ = "cellmultidocumentedit1896878393";
8
+ var _namespace_ = "cellmultidocumentedit492449782";
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": "cellmultidocumentedit1896878393__root",
16
- "chipTrigger": "cellmultidocumentedit1896878393__chipTrigger"
15
+ "root": "cellmultidocumentedit492449782__root",
16
+ "chipTrigger": "cellmultidocumentedit492449782__chipTrigger"
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/multi-document/cell-multi-document-edit.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"cellmultidocumentedit1896878393\";\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\":\"cellmultidocumentedit1896878393__root\",\"chipTrigger\":\"cellmultidocumentedit1896878393__chipTrigger\"};\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,iCAAiC;AACnD,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,uCAAuC;EAAC,aAAa,EAAC;AAA8C,CAAC;AAC3H,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":[]}
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/multi-document/cell-multi-document-edit.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"cellmultidocumentedit492449782\";\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\":\"cellmultidocumentedit492449782__root\",\"chipTrigger\":\"cellmultidocumentedit492449782__chipTrigger\"};\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,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,aAAa,EAAC;AAA6C,CAAC;AACzH,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":[]}
@@ -5,17 +5,17 @@ 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_ = "formmultidocument4263958338";
8
+ var _namespace_ = "formmultidocument898197968";
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": "formmultidocument4263958338__root",
16
- "viewRoot": "formmultidocument4263958338__viewRoot",
17
- "singleViewWrapper": "formmultidocument4263958338__singleViewWrapper",
18
- "addDocumentButton": "formmultidocument4263958338__addDocumentButton"
15
+ "root": "formmultidocument898197968__root",
16
+ "viewRoot": "formmultidocument898197968__viewRoot",
17
+ "singleViewWrapper": "formmultidocument898197968__singleViewWrapper",
18
+ "addDocumentButton": "formmultidocument898197968__addDocumentButton"
19
19
  };
20
20
  var keyframes = exports.keyframes = {};
21
21
  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/multi-document/multi-document-input/form-multi-document.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"formmultidocument4263958338\";\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\":\"formmultidocument4263958338__root\",\"viewRoot\":\"formmultidocument4263958338__viewRoot\",\"singleViewWrapper\":\"formmultidocument4263958338__singleViewWrapper\",\"addDocumentButton\":\"formmultidocument4263958338__addDocumentButton\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {\"BorderRadius\":\"2px\",\"documentViewBorderRadius\":\"var(--wds-border-radius-300, calc(2px * 3))\"}; \nexport var vars = {\"wds-border-radius-300\":\"--wds-border-radius-300\",\"wds-color-blue-300\":\"--wds-color-blue-300\",\"wds-color-blue-500\":\"--wds-color-blue-500\",\"wds-color-neutral-600\":\"--wds-color-neutral-600\",\"wsr-color-B30\":\"--wsr-color-B30\",\"wsr-color-B50\":\"--wsr-color-B50\",\"wsr-color-D60\":\"--wsr-color-D60\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,6BAA6B;AAC/C,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,mCAAmC;EAAC,UAAU,EAAC,uCAAuC;EAAC,mBAAmB,EAAC,gDAAgD;EAAC,mBAAmB,EAAC;AAAgD,CAAC;AACvP,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;EAAC,cAAc,EAAC,KAAK;EAAC,0BAA0B,EAAC;AAA6C,CAAC;AAC5G,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,eAAe,EAAC,iBAAiB;EAAC,eAAe,EAAC,iBAAiB;EAAC,eAAe,EAAC;AAAiB,CAAC","ignoreList":[]}
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/multi-document/multi-document-input/form-multi-document.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"formmultidocument898197968\";\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\":\"formmultidocument898197968__root\",\"viewRoot\":\"formmultidocument898197968__viewRoot\",\"singleViewWrapper\":\"formmultidocument898197968__singleViewWrapper\",\"addDocumentButton\":\"formmultidocument898197968__addDocumentButton\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {\"BorderRadius\":\"2px\",\"documentViewBorderRadius\":\"var(--wds-border-radius-300, calc(2px * 3))\"}; \nexport var vars = {\"wds-border-radius-300\":\"--wds-border-radius-300\",\"wds-color-blue-300\":\"--wds-color-blue-300\",\"wds-color-blue-500\":\"--wds-color-blue-500\",\"wds-color-neutral-600\":\"--wds-color-neutral-600\",\"wsr-color-B30\":\"--wsr-color-B30\",\"wsr-color-B50\":\"--wsr-color-B50\",\"wsr-color-D60\":\"--wsr-color-D60\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,4BAA4B;AAC9C,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,kCAAkC;EAAC,UAAU,EAAC,sCAAsC;EAAC,mBAAmB,EAAC,+CAA+C;EAAC,mBAAmB,EAAC;AAA+C,CAAC;AACnP,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;EAAC,cAAc,EAAC,KAAK;EAAC,0BAA0B,EAAC;AAA6C,CAAC;AAC5G,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,eAAe,EAAC,iBAAiB;EAAC,eAAe,EAAC,iBAAiB;EAAC,eAAe,EAAC;AAAiB,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_ = "cellmultireferenceinput2646909186";
8
+ var _namespace_ = "cellmultireferenceinput1361409799";
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": "cellmultireferenceinput2646909186__root"
15
+ "root": "cellmultireferenceinput1361409799__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/reference/cell-multi-reference-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"cellmultireferenceinput2646909186\";\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\":\"cellmultireferenceinput2646909186__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-input-border-color\":\"--wds-input-border-color\",\"wds-input-border-color-hover\":\"--wds-input-border-color-hover\",\"wds-input-border-color-focus\":\"--wds-input-border-color-focus\",\"wds-input-background-fill-default\":\"--wds-input-background-fill-default\",\"wds-input-background-fill-hover\":\"--wds-input-background-fill-hover\",\"wds-input-shadow-focus-standard\":\"--wds-input-shadow-focus-standard\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,mCAAmC;AACrD,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;AAAyC,CAAC;AAChE,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,wBAAwB,EAAC,0BAA0B;EAAC,8BAA8B,EAAC,gCAAgC;EAAC,8BAA8B,EAAC,gCAAgC;EAAC,mCAAmC,EAAC,qCAAqC;EAAC,iCAAiC,EAAC,mCAAmC;EAAC,iCAAiC,EAAC;AAAmC,CAAC","ignoreList":[]}
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-multi-reference-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"cellmultireferenceinput1361409799\";\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\":\"cellmultireferenceinput1361409799__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-input-border-color\":\"--wds-input-border-color\",\"wds-input-border-color-hover\":\"--wds-input-border-color-hover\",\"wds-input-border-color-focus\":\"--wds-input-border-color-focus\",\"wds-input-background-fill-default\":\"--wds-input-background-fill-default\",\"wds-input-background-fill-hover\":\"--wds-input-background-fill-hover\",\"wds-input-shadow-focus-standard\":\"--wds-input-shadow-focus-standard\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,mCAAmC;AACrD,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;AAAyC,CAAC;AAChE,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,wBAAwB,EAAC,0BAA0B;EAAC,8BAA8B,EAAC,gCAAgC;EAAC,8BAA8B,EAAC,gCAAgC;EAAC,mCAAmC,EAAC,qCAAqC;EAAC,iCAAiC,EAAC,mCAAmC;EAAC,iCAAiC,EAAC;AAAmC,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_ = "cellreferenceinput1475045378";
8
+ var _namespace_ = "cellreferenceinput3956087750";
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": "cellreferenceinput1475045378__root",
16
- "autocomplete": "cellreferenceinput1475045378__autocomplete"
15
+ "root": "cellreferenceinput3956087750__root",
16
+ "autocomplete": "cellreferenceinput3956087750__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_ = \"cellreferenceinput1475045378\";\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\":\"cellreferenceinput1475045378__root\",\"autocomplete\":\"cellreferenceinput1475045378__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":[]}
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_ = \"cellreferenceinput3956087750\";\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\":\"cellreferenceinput3956087750__root\",\"autocomplete\":\"cellreferenceinput3956087750__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":[]}
@@ -0,0 +1,135 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports.useRicosFromCdn = exports.loadRicosFromCdn = void 0;
6
+ var _react = _interopRequireWildcard(require("react"));
7
+ var _reactDom = _interopRequireDefault(require("react-dom"));
8
+ 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); }
9
+ /**
10
+ * Pinned exactly, not to a range. The npm `@wix/ricos` used for the synchronous
11
+ * content helpers and this artifact must not drift — two different ricos
12
+ * versions in one page means two schema versions, and content written by one may
13
+ * not validate in the other.
14
+ *
15
+ * This number is Falcon's build counter for wix-private/patterns-deps, not the
16
+ * npm version of the same package. Falcon bumps it on every master build,
17
+ * including builds that publish nothing, so the two drift apart and occasionally
18
+ * coincide again — as they happen to right now. A wrong-but-existing version
19
+ * returns 200 and silently loads a different ricos, so confirm the artifact
20
+ * rather than the number:
21
+ *
22
+ * curl -s <url> | grep -c <ricos version> # ricos-schema/next-schema/version.js
23
+ */
24
+ const RICOS_STATICS_VERSION = '1.7.0';
25
+ const RICOS_STATICS_URL = `https://static.parastorage.com/services/patterns-fields-ricos-statics/${RICOS_STATICS_VERSION}/ricos.umd.min.js`;
26
+
27
+ /** UMD global declared by the statics bundle (`library: 'PatternsRicos'`). */
28
+ const GLOBAL_NAME = 'PatternsRicos';
29
+ /**
30
+ * The bundle externalises react/react-dom. Its UMD wrapper resolves them as AMD
31
+ * dependencies when requirejs is present, and off these globals when it is not —
32
+ * without them it throws `undefined (reading 'createContext')` while evaluating
33
+ * and never defines `PatternsRicos`. Pointing them at the host app's own copies
34
+ * is also what keeps one React on the page; a second would make every hook
35
+ * inside the editor throw.
36
+ */
37
+ const provideReactGlobals = win => {
38
+ win.react = win.react ?? _react.default;
39
+ win.reactDOM = win.reactDOM ?? _reactDom.default;
40
+ };
41
+ const appendScript = url => new Promise((resolve, reject) => {
42
+ const script = document.createElement('script');
43
+ script.type = 'text/javascript';
44
+ script.src = url;
45
+ script.crossOrigin = 'anonymous';
46
+ script.onerror = () => reject(new Error(`Failed to load ${url}`));
47
+ script.onload = () => resolve();
48
+ document.head.appendChild(script);
49
+ });
50
+
51
+ /**
52
+ * jsdom cannot fetch the CDN, so under test we require the package the artifact
53
+ * is built from — same export list, so the surface matches by construction.
54
+ *
55
+ * This `require` is dead-code-eliminated in production builds, which is the whole
56
+ * point: the editor and viewer must never enter a consumer's graph. Verify with
57
+ * `grep -r 'ricos' <consumer>/dist` after touching this.
58
+ */
59
+ const loadForTests = () => {
60
+ // The `require`s must sit inside the consequent of a statically-false
61
+ // condition. An early `return` for the non-test case leaves them as
62
+ // unreachable code *after* the `if`, which webpack does not prune — that
63
+ // silently puts the whole editor back in every consumer's graph.
64
+ if (process.env.NODE_ENV === 'test') {
65
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
66
+ return require('@wix/patterns-fields-utils/@wix/patterns-fields-ricos-statics');
67
+ }
68
+ return undefined;
69
+ };
70
+ const load = async () => {
71
+ const forTests = loadForTests();
72
+ if (forTests) {
73
+ return forTests;
74
+ }
75
+ const win = window;
76
+
77
+ // The bundle is UMD with a named `define`, so under Business Manager's
78
+ // requirejs it takes the AMD branch: it registers under GLOBAL_NAME and never
79
+ // assigns the global. Asking for it by URL loads the file but resolves with
80
+ // `undefined`, because nothing is defined under the URL's id — so fetch it,
81
+ // then ask again by the name it registered itself as.
82
+ if (win.requirejs) {
83
+ return new Promise((resolve, reject) => {
84
+ const fail = error => reject(error instanceof Error ? error : new Error(`Failed to load ${RICOS_STATICS_URL}: ${String(error)}`));
85
+ win.requirejs([RICOS_STATICS_URL], () => win.requirejs([GLOBAL_NAME], mod => mod ? resolve(mod) : fail(new Error(`${RICOS_STATICS_URL} loaded but defined no "${GLOBAL_NAME}" module`)), fail), fail);
86
+ });
87
+ }
88
+ provideReactGlobals(win);
89
+ await appendScript(RICOS_STATICS_URL);
90
+ const mod = win[GLOBAL_NAME];
91
+ if (!mod) {
92
+ throw new Error(`${RICOS_STATICS_URL} loaded but did not define window.${GLOBAL_NAME}`);
93
+ }
94
+ return mod;
95
+ };
96
+ let pending;
97
+
98
+ /** Loads the bundle once per page; every caller shares the same promise. */
99
+ const loadRicosFromCdn = () => {
100
+ pending = pending ?? load();
101
+ return pending;
102
+ };
103
+
104
+ /**
105
+ * Returns the module once loaded, `undefined` while in flight. A caller must
106
+ * render something in the meantime — `RCELoader` in the editor, `RCVLoader` in
107
+ * the viewer. Returning `null` instead leaves a blank area for the duration of
108
+ * the fetch.
109
+ */
110
+ exports.loadRicosFromCdn = loadRicosFromCdn;
111
+ const useRicosFromCdn = () => {
112
+ // Resolved on the first render under test, so specs see a mounted editor
113
+ // rather than the pre-load `null`.
114
+ const [mod, setMod] = (0, _react.useState)(loadForTests);
115
+ (0, _react.useEffect)(() => {
116
+ if (mod) {
117
+ return;
118
+ }
119
+ let cancelled = false;
120
+ loadRicosFromCdn().then(loaded => {
121
+ if (!cancelled) {
122
+ setMod(loaded);
123
+ }
124
+ }, error => {
125
+ // Nothing to fall back to — surface it rather than hanging on a spinner.
126
+ console.error('[rich-content] failed to load ricos from CDN', error);
127
+ });
128
+ return () => {
129
+ cancelled = true;
130
+ };
131
+ }, [mod]);
132
+ return mod;
133
+ };
134
+ exports.useRicosFromCdn = useRicosFromCdn;
135
+ //# sourceMappingURL=load-ricos.js.map
@@ -0,0 +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":"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","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["../../../../../src/components/rich-content/cdn/types.ts"],"sourcesContent":["import type { pluginLinkViewer } from '@wix/patterns-fields-utils/@wix/patterns-fields-ricos-statics';\n\n/**\n * Shape of the CDN artifact's UMD global.\n *\n * `patterns-fields-ricos-statics` is the source the artifact is built from, so its\n * export list is the global's surface by construction. Taking the types from\n * there rather than from `@wix/ricos` keeps ricos out of this package's\n * dependencies; it is vendored under `fields-utils` like the other bundled\n * packages. `typeof import(...)` is erased, so nothing reaches a consumer's graph\n * — a value import from it would pull in the whole editor.\n */\nexport type RicosCdnModule = typeof import('@wix/patterns-fields-utils/@wix/patterns-fields-ricos-statics');\n\n/**\n * The statics package does not name `ViewerPlugin`, so letting TypeScript infer a\n * plugin array puts a `@wix/ricos/dist/src/...` path in the emitted `.d.ts` — a\n * path ricos's `exports` map forbids. Deriving it from a plugin factory gives a\n * nameable public type.\n */\nexport type ViewerPlugin = ReturnType<typeof pluginLinkViewer>;\n"],"mappings":"","ignoreList":[]}
@@ -3,7 +3,7 @@
3
3
  exports.__esModule = true;
4
4
  exports.CellRichContentInput = void 0;
5
5
  var _react = _interopRequireWildcard(require("react"));
6
- var _content = require("@wix/ricos/content");
6
+ var _patternsFieldsBundledRicos = require("@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos");
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");
@@ -23,10 +23,10 @@ const CellRichContentInput = ({
23
23
  // If there's a typed key, append it to the existing plain-text form of the content.
24
24
  const initialContent = (0, _react.useMemo)(() => {
25
25
  if (initialTypedKey) {
26
- const existingText = value ? (0, _content.toPlainTextSync)((0, _richContent.hardConvert)(value), {
26
+ const existingText = value ? (0, _patternsFieldsBundledRicos.toPlainTextSync)((0, _richContent.hardConvert)(value), {
27
27
  delimiter: '\n'
28
28
  }) : '';
29
- return (0, _content.fromPlainText)(existingText + initialTypedKey);
29
+ return (0, _patternsFieldsBundledRicos.fromPlainText)(existingText + initialTypedKey);
30
30
  }
31
31
  return value === undefined ? undefined : (0, _richContent.hardConvert)(value);
32
32
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_content","_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","handleSave","current","handleExitFullScreen","createElement","RichContentEditor","injectedContent","onExitFullScreen","fullScreenOnly","autoFocus","__self","__source","fileName","lineNumber","columnNumber","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/ricos';\nimport { fromPlainText, toPlainTextSync } from '@wix/ricos/content';\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';\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/** Full-screen Ricos editor for the richContent cell type.\n * Opens immediately in fullscreen mode. Saving (X button or Escape) calls onChange + onSave. */\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 current content and exit edit mode.\n * Guards against double-save (X button + Escape firing simultaneously). */\n const handleSave = useCallback(\n (content?: RicosDocument) => {\n if (hasSavedRef.current) {\n return;\n }\n hasSavedRef.current = true;\n onChange(content);\n onSave();\n },\n [onChange, onSave],\n );\n\n const handleExitFullScreen = useCallback(\n (content?: RicosDocument) => {\n handleSave(content);\n },\n [handleSave],\n );\n\n return (\n <RichContentEditor\n content={localValue}\n injectedContent={injectedValue}\n onChange={handleChange}\n onExitFullScreen={handleExitFullScreen}\n fullScreenOnly\n autoFocus\n />\n );\n};\n\nCellRichContentInput.displayName = 'CellRichContentInput';\n"],"mappings":"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","ignoreList":[]}
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","handleSave","current","handleExitFullScreen","createElement","RichContentEditor","injectedContent","onExitFullScreen","fullScreenOnly","autoFocus","__self","__source","fileName","lineNumber","columnNumber","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 { fromPlainText, toPlainTextSync } 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';\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/** Full-screen Ricos editor for the richContent cell type.\n * Opens immediately in fullscreen mode. Saving (X button or Escape) calls onChange + onSave. */\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 current content and exit edit mode.\n * Guards against double-save (X button + Escape firing simultaneously). */\n const handleSave = useCallback(\n (content?: RicosDocument) => {\n if (hasSavedRef.current) {\n return;\n }\n hasSavedRef.current = true;\n onChange(content);\n onSave();\n },\n [onChange, onSave],\n );\n\n const handleExitFullScreen = useCallback(\n (content?: RicosDocument) => {\n handleSave(content);\n },\n [handleSave],\n );\n\n return (\n <RichContentEditor\n content={localValue}\n injectedContent={injectedValue}\n onChange={handleChange}\n onExitFullScreen={handleExitFullScreen}\n fullScreenOnly\n autoFocus\n />\n );\n};\n\nCellRichContentInput.displayName = 'CellRichContentInput';\n"],"mappings":"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","ignoreList":[]}
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  exports.__esModule = true;
5
5
  exports.CellRichContentView = void 0;
6
6
  var _react = _interopRequireDefault(require("react"));
7
- var _content = require("@wix/ricos/content");
7
+ var _patternsFieldsBundledRicos = require("@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos");
8
8
  var _text = require("../text");
9
9
  var _richContent = require("../../validations/rich-content");
10
10
  var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/fields/dist/cjs/components/rich-content/cell-rich-content-view.tsx";
@@ -13,7 +13,7 @@ var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/fields/dist/c
13
13
  const CellRichContentView = ({
14
14
  value
15
15
  }) => {
16
- const plainText = value ? (0, _content.toPlainTextSync)((0, _richContent.hardConvert)(value), {
16
+ const plainText = value ? (0, _patternsFieldsBundledRicos.toPlainTextSync)((0, _richContent.hardConvert)(value), {
17
17
  delimiter: ' '
18
18
  }) : '';
19
19
  return /*#__PURE__*/_react.default.createElement(_text.TextView, {
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_content","_text","_richContent","_jsxFileName","CellRichContentView","value","plainText","toPlainTextSync","hardConvert","delimiter","default","createElement","TextView","data","__self","__source","fileName","lineNumber","columnNumber","exports","displayName"],"sources":["../../../../src/components/rich-content/cell-rich-content-view.tsx"],"sourcesContent":["import React from 'react';\n\nimport { toPlainTextSync } from '@wix/ricos/content';\n\nimport { TextView } from '../text';\nimport { hardConvert } from '../../validations/rich-content';\n\nexport interface CellRichContentViewProps {\n value?: unknown;\n}\n\n/** Synchronous plain-text view for a Ricos document.\n * Uses toPlainTextSync — no loading spinner. */\nexport const CellRichContentView: React.FC<CellRichContentViewProps> = ({\n value,\n}) => {\n const plainText = value ? toPlainTextSync(hardConvert(value), { delimiter: ' ' }) : '';\n\n return <TextView data={plainText} />;\n};\n\nCellRichContentView.displayName = 'CellRichContentView';\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAEA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAA6D,IAAAI,YAAA;AAM7D;AACA;AACO,MAAMC,mBAAuD,GAAGA,CAAC;EACtEC;AACF,CAAC,KAAK;EACJ,MAAMC,SAAS,GAAGD,KAAK,GAAG,IAAAE,wBAAe,EAAC,IAAAC,wBAAW,EAACH,KAAK,CAAC,EAAE;IAAEI,SAAS,EAAE;EAAI,CAAC,CAAC,GAAG,EAAE;EAEtF,oBAAOZ,MAAA,CAAAa,OAAA,CAAAC,aAAA,CAACV,KAAA,CAAAW,QAAQ;IAACC,IAAI,EAAEP,SAAU;IAAAQ,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAb,YAAA;MAAAc,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CAAC;AACtC,CAAC;AAACC,OAAA,CAAAf,mBAAA,GAAAA,mBAAA;AAEFA,mBAAmB,CAACgB,WAAW,GAAG,qBAAqB","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_patternsFieldsBundledRicos","_text","_richContent","_jsxFileName","CellRichContentView","value","plainText","toPlainTextSync","hardConvert","delimiter","default","createElement","TextView","data","__self","__source","fileName","lineNumber","columnNumber","exports","displayName"],"sources":["../../../../src/components/rich-content/cell-rich-content-view.tsx"],"sourcesContent":["import React from 'react';\n\nimport { toPlainTextSync } from '@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos';\n\nimport { TextView } from '../text';\nimport { hardConvert } from '../../validations/rich-content';\n\nexport interface CellRichContentViewProps {\n value?: unknown;\n}\n\n/** Synchronous plain-text view for a Ricos document.\n * Uses toPlainTextSync — no loading spinner. */\nexport const CellRichContentView: React.FC<CellRichContentViewProps> = ({\n value,\n}) => {\n const plainText = value ? toPlainTextSync(hardConvert(value), { delimiter: ' ' }) : '';\n\n return <TextView data={plainText} />;\n};\n\nCellRichContentView.displayName = 'CellRichContentView';\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,2BAAA,GAAAD,OAAA;AAEA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAA6D,IAAAI,YAAA;AAM7D;AACA;AACO,MAAMC,mBAAuD,GAAGA,CAAC;EACtEC;AACF,CAAC,KAAK;EACJ,MAAMC,SAAS,GAAGD,KAAK,GAAG,IAAAE,2CAAe,EAAC,IAAAC,wBAAW,EAACH,KAAK,CAAC,EAAE;IAAEI,SAAS,EAAE;EAAI,CAAC,CAAC,GAAG,EAAE;EAEtF,oBAAOZ,MAAA,CAAAa,OAAA,CAAAC,aAAA,CAACV,KAAA,CAAAW,QAAQ;IAACC,IAAI,EAAEP,SAAU;IAAAQ,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAb,YAAA;MAAAc,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CAAC;AACtC,CAAC;AAACC,OAAA,CAAAf,mBAAA,GAAAA,mBAAA;AAEFA,mBAAmB,CAACgB,WAAW,GAAG,qBAAqB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_formInput","require","exports","FormRichContentInput","_hooks","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","_richContentEditor"],"sources":["../../../../src/components/rich-content/editor.ts"],"sourcesContent":["// Heavy exports - these pull in @wix/ricos editor/viewer (~300kb+ gzipped)\n// Only import this file when you actually need the rich content editor\nexport { FormRichContentInput } from './rich-content-input/form-input';\nexport * from './hooks';\nexport * from './rich-content-input/rich-content-editor';\n"],"mappings":";;;;;;;AAEA,IAAAA,UAAA,GAAAC,OAAA;AAAuEC,OAAA,CAAAC,oBAAA,GAAAH,UAAA,CAAAG,oBAAA;AACvE,IAAAC,MAAA,GAAAH,OAAA;AAAAI,MAAA,CAAAC,IAAA,CAAAF,MAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAN,OAAA,IAAAA,OAAA,CAAAM,GAAA,MAAAJ,MAAA,CAAAI,GAAA;EAAAN,OAAA,CAAAM,GAAA,IAAAJ,MAAA,CAAAI,GAAA;AAAA;AACA,IAAAK,kBAAA,GAAAZ,OAAA;AAAAI,MAAA,CAAAC,IAAA,CAAAO,kBAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAN,OAAA,IAAAA,OAAA,CAAAM,GAAA,MAAAK,kBAAA,CAAAL,GAAA;EAAAN,OAAA,CAAAM,GAAA,IAAAK,kBAAA,CAAAL,GAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["_formInput","require","exports","FormRichContentInput","_hooks","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","_richContentEditor"],"sources":["../../../../src/components/rich-content/editor.ts"],"sourcesContent":["// Heavy exports - these pull in the bundled ricos editor/viewer (~300kb+ gzipped)\n// Only import this file when you actually need the rich content editor\nexport { FormRichContentInput } from './rich-content-input/form-input';\nexport * from './hooks';\nexport * from './rich-content-input/rich-content-editor';\n"],"mappings":";;;;;;;AAEA,IAAAA,UAAA,GAAAC,OAAA;AAAuEC,OAAA,CAAAC,oBAAA,GAAAH,UAAA,CAAAG,oBAAA;AACvE,IAAAC,MAAA,GAAAH,OAAA;AAAAI,MAAA,CAAAC,IAAA,CAAAF,MAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAN,OAAA,IAAAA,OAAA,CAAAM,GAAA,MAAAJ,MAAA,CAAAI,GAAA;EAAAN,OAAA,CAAAM,GAAA,IAAAJ,MAAA,CAAAI,GAAA;AAAA;AACA,IAAAK,kBAAA,GAAAZ,OAAA;AAAAI,MAAA,CAAAC,IAAA,CAAAO,kBAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAN,OAAA,IAAAA,OAAA,CAAAM,GAAA,MAAAK,kBAAA,CAAAL,GAAA;EAAAN,OAAA,CAAAM,GAAA,IAAAK,kBAAA,CAAAL,GAAA;AAAA","ignoreList":[]}
@@ -6,7 +6,7 @@ exports.FormRichContent = void 0;
6
6
  var _react = _interopRequireDefault(require("react"));
7
7
  var _designSystem = require("@wix/design-system");
8
8
  var _mobxReactLite = require("mobx-react-lite");
9
- var _ricos = require("@wix/ricos");
9
+ var _patternsFieldsBundledRicos = require("@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos");
10
10
  var _react2 = require("@wix/bex-core/react");
11
11
  var _form = require("@wix/bex-core/form");
12
12
  var _hooks = require("../../hooks");
@@ -63,7 +63,7 @@ const _FormRichContent = props => {
63
63
  fieldName: field.displayName,
64
64
  isConverted: false,
65
65
  isConverting: false,
66
- convertedValue: (0, _ricos.fromPlainText)(''),
66
+ convertedValue: (0, _patternsFieldsBundledRicos.fromPlainText)(''),
67
67
  tooltipText: t('auto-patterns.fields.type_mismatch_tip', {
68
68
  typeName: 'Rich Content'
69
69
  }),