@wix/patterns-fields 1.39.0 → 1.41.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 (423) hide show
  1. package/dist/cjs/assets/locale/messages_ar.json +8 -0
  2. package/dist/cjs/assets/locale/messages_bg.json +8 -0
  3. package/dist/cjs/assets/locale/messages_ca.json +8 -0
  4. package/dist/cjs/assets/locale/messages_cs.json +8 -0
  5. package/dist/cjs/assets/locale/messages_da.json +8 -0
  6. package/dist/cjs/assets/locale/messages_de.json +8 -0
  7. package/dist/cjs/assets/locale/messages_el.json +8 -0
  8. package/dist/cjs/assets/locale/messages_en.json +8 -0
  9. package/dist/cjs/assets/locale/messages_es.json +8 -0
  10. package/dist/cjs/assets/locale/messages_fi.json +8 -0
  11. package/dist/cjs/assets/locale/messages_fr.json +8 -0
  12. package/dist/cjs/assets/locale/messages_he.json +8 -0
  13. package/dist/cjs/assets/locale/messages_hi.json +8 -0
  14. package/dist/cjs/assets/locale/messages_hu.json +8 -0
  15. package/dist/cjs/assets/locale/messages_id.json +8 -0
  16. package/dist/cjs/assets/locale/messages_it.json +8 -0
  17. package/dist/cjs/assets/locale/messages_ja.json +8 -0
  18. package/dist/cjs/assets/locale/messages_ko.json +8 -0
  19. package/dist/cjs/assets/locale/messages_lt.json +8 -0
  20. package/dist/cjs/assets/locale/messages_ms.json +8 -0
  21. package/dist/cjs/assets/locale/messages_nl.json +8 -0
  22. package/dist/cjs/assets/locale/messages_no.json +8 -0
  23. package/dist/cjs/assets/locale/messages_pl.json +8 -0
  24. package/dist/cjs/assets/locale/messages_pt.json +8 -0
  25. package/dist/cjs/assets/locale/messages_ro.json +8 -0
  26. package/dist/cjs/assets/locale/messages_ru.json +8 -0
  27. package/dist/cjs/assets/locale/messages_sk.json +8 -0
  28. package/dist/cjs/assets/locale/messages_sl.json +8 -0
  29. package/dist/cjs/assets/locale/messages_sv.json +8 -0
  30. package/dist/cjs/assets/locale/messages_th.json +8 -0
  31. package/dist/cjs/assets/locale/messages_tl.json +8 -0
  32. package/dist/cjs/assets/locale/messages_tr.json +8 -0
  33. package/dist/cjs/assets/locale/messages_uk.json +8 -0
  34. package/dist/cjs/assets/locale/messages_vi.json +8 -0
  35. package/dist/cjs/assets/locale/messages_zh.json +8 -0
  36. package/dist/cjs/assets/locale/version_file +1 -1
  37. package/dist/cjs/components/address/input/address-input.st.css.js +3 -3
  38. package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
  39. package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
  40. package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
  41. package/dist/cjs/components/audio/audio-field/form-audio-field.js +12 -10
  42. package/dist/cjs/components/audio/audio-field/form-audio-field.js.map +1 -1
  43. package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
  44. package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
  45. package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
  46. package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
  47. package/dist/cjs/components/color-view/cell-color-input.js +195 -0
  48. package/dist/cjs/components/color-view/cell-color-input.js.map +1 -0
  49. package/dist/cjs/components/color-view/cell-color-view.js +89 -0
  50. package/dist/cjs/components/color-view/cell-color-view.js.map +1 -0
  51. package/dist/cjs/components/color-view/cell-color-view.st.css +8 -0
  52. package/dist/cjs/components/color-view/cell-color-view.st.css.js +25 -0
  53. package/dist/cjs/components/color-view/cell-color-view.st.css.js.map +1 -0
  54. package/dist/cjs/components/color-view/color-input.js +33 -27
  55. package/dist/cjs/components/color-view/color-input.js.map +1 -1
  56. package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
  57. package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
  58. package/dist/cjs/components/color-view/hex.js +16 -0
  59. package/dist/cjs/components/color-view/hex.js.map +1 -0
  60. package/dist/cjs/components/color-view/index.js +18 -0
  61. package/dist/cjs/components/color-view/index.js.map +1 -1
  62. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
  63. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
  64. package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
  65. package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
  66. package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
  67. package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
  68. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
  69. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
  70. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
  71. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
  72. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  73. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
  74. package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
  75. package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
  76. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
  77. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
  78. package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
  79. package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
  80. package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
  81. package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
  82. package/dist/cjs/components/media-loader/media-loader.st.css.js +3 -3
  83. package/dist/cjs/components/media-loader/media-loader.st.css.js.map +1 -1
  84. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  85. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
  86. package/dist/cjs/components/multi-document/cell-multi-document-edit.js +516 -0
  87. package/dist/cjs/components/multi-document/cell-multi-document-edit.js.map +1 -0
  88. package/dist/cjs/components/multi-document/cell-multi-document-view.js +65 -0
  89. package/dist/cjs/components/multi-document/cell-multi-document-view.js.map +1 -0
  90. package/dist/cjs/components/multi-document/index.js +5 -1
  91. package/dist/cjs/components/multi-document/index.js.map +1 -1
  92. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
  93. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  94. package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
  95. package/dist/cjs/components/reference/cell-reference-input.st.css.js.map +1 -1
  96. package/dist/cjs/components/rich-content/cell-rich-content-input.js +4 -3
  97. package/dist/cjs/components/rich-content/cell-rich-content-input.js.map +1 -1
  98. package/dist/cjs/components/rich-content/cell-rich-content-view.js +3 -2
  99. package/dist/cjs/components/rich-content/cell-rich-content-view.js.map +1 -1
  100. package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js +1 -1
  101. package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
  102. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +4 -4
  103. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
  104. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +3 -3
  105. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
  106. package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  107. 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
  108. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +3 -3
  109. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
  110. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/hooks.js +1 -1
  111. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/hooks.js.map +1 -1
  112. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +3 -3
  113. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
  114. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  115. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
  116. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/plugins.js +0 -5
  117. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/plugins.js.map +1 -1
  118. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js +169 -192
  119. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js.map +1 -1
  120. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +7 -7
  121. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
  122. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js +52 -36
  123. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
  124. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
  125. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +5 -4
  126. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  127. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +10 -10
  128. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
  129. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
  130. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
  131. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
  132. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
  133. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
  134. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
  135. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
  136. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
  137. package/dist/cjs/components/text/text-view.st.css.js +3 -3
  138. package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
  139. package/dist/cjs/components/time-input/cell-time-input.js +8 -7
  140. package/dist/cjs/components/time-input/cell-time-input.js.map +1 -1
  141. package/dist/cjs/components/time-input/form-time-input.js +21 -2
  142. package/dist/cjs/components/time-input/form-time-input.js.map +1 -1
  143. package/dist/cjs/services/translations.js.map +1 -1
  144. package/dist/cjs/styles.global.css +1 -1
  145. package/dist/cjs/validations/rich-content.js +2 -3
  146. package/dist/cjs/validations/rich-content.js.map +1 -1
  147. package/dist/esm/assets/locale/messages_ar.json +8 -0
  148. package/dist/esm/assets/locale/messages_bg.json +8 -0
  149. package/dist/esm/assets/locale/messages_ca.json +8 -0
  150. package/dist/esm/assets/locale/messages_cs.json +8 -0
  151. package/dist/esm/assets/locale/messages_da.json +8 -0
  152. package/dist/esm/assets/locale/messages_de.json +8 -0
  153. package/dist/esm/assets/locale/messages_el.json +8 -0
  154. package/dist/esm/assets/locale/messages_en.json +8 -0
  155. package/dist/esm/assets/locale/messages_es.json +8 -0
  156. package/dist/esm/assets/locale/messages_fi.json +8 -0
  157. package/dist/esm/assets/locale/messages_fr.json +8 -0
  158. package/dist/esm/assets/locale/messages_he.json +8 -0
  159. package/dist/esm/assets/locale/messages_hi.json +8 -0
  160. package/dist/esm/assets/locale/messages_hu.json +8 -0
  161. package/dist/esm/assets/locale/messages_id.json +8 -0
  162. package/dist/esm/assets/locale/messages_it.json +8 -0
  163. package/dist/esm/assets/locale/messages_ja.json +8 -0
  164. package/dist/esm/assets/locale/messages_ko.json +8 -0
  165. package/dist/esm/assets/locale/messages_lt.json +8 -0
  166. package/dist/esm/assets/locale/messages_ms.json +8 -0
  167. package/dist/esm/assets/locale/messages_nl.json +8 -0
  168. package/dist/esm/assets/locale/messages_no.json +8 -0
  169. package/dist/esm/assets/locale/messages_pl.json +8 -0
  170. package/dist/esm/assets/locale/messages_pt.json +8 -0
  171. package/dist/esm/assets/locale/messages_ro.json +8 -0
  172. package/dist/esm/assets/locale/messages_ru.json +8 -0
  173. package/dist/esm/assets/locale/messages_sk.json +8 -0
  174. package/dist/esm/assets/locale/messages_sl.json +8 -0
  175. package/dist/esm/assets/locale/messages_sv.json +8 -0
  176. package/dist/esm/assets/locale/messages_th.json +8 -0
  177. package/dist/esm/assets/locale/messages_tl.json +8 -0
  178. package/dist/esm/assets/locale/messages_tr.json +8 -0
  179. package/dist/esm/assets/locale/messages_uk.json +8 -0
  180. package/dist/esm/assets/locale/messages_vi.json +8 -0
  181. package/dist/esm/assets/locale/messages_zh.json +8 -0
  182. package/dist/esm/assets/locale/version_file +1 -1
  183. package/dist/esm/components/address/input/address-input.st.css.js +2 -2
  184. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
  185. package/dist/esm/components/audio/audio-field/form-audio-field.js +2 -0
  186. package/dist/esm/components/audio/audio-field/form-audio-field.js.map +1 -1
  187. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
  188. package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
  189. package/dist/esm/components/audio/audio-player/audio-player.st.css.js.map +1 -1
  190. package/dist/esm/components/color-view/cell-color-input.js +104 -0
  191. package/dist/esm/components/color-view/cell-color-input.js.map +1 -0
  192. package/dist/esm/components/color-view/cell-color-view.js +25 -0
  193. package/dist/esm/components/color-view/cell-color-view.js.map +1 -0
  194. package/dist/esm/components/color-view/cell-color-view.st.css +8 -0
  195. package/dist/esm/components/color-view/cell-color-view.st.css.js +15 -0
  196. package/dist/esm/components/color-view/cell-color-view.st.css.js.map +1 -0
  197. package/dist/esm/components/color-view/color-input.js +12 -12
  198. package/dist/esm/components/color-view/color-input.js.map +1 -1
  199. package/dist/esm/components/color-view/color-view.st.css.js +2 -2
  200. package/dist/esm/components/color-view/hex.js +9 -0
  201. package/dist/esm/components/color-view/hex.js.map +1 -0
  202. package/dist/esm/components/color-view/index.js +3 -0
  203. package/dist/esm/components/color-view/index.js.map +1 -1
  204. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
  205. package/dist/esm/components/document/form-document-field.st.css.js +2 -2
  206. package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
  207. package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
  208. package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
  209. package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  210. package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
  211. package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
  212. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
  213. package/dist/esm/components/media-image/media-image.st.css.js +3 -3
  214. package/dist/esm/components/media-image/media-image.st.css.js.map +1 -1
  215. package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
  216. package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
  217. package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  218. package/dist/esm/components/multi-document/cell-multi-document-edit.js +148 -0
  219. package/dist/esm/components/multi-document/cell-multi-document-edit.js.map +1 -0
  220. package/dist/esm/components/multi-document/cell-multi-document-view.js +26 -0
  221. package/dist/esm/components/multi-document/cell-multi-document-view.js.map +1 -0
  222. package/dist/esm/components/multi-document/index.js +2 -0
  223. package/dist/esm/components/multi-document/index.js.map +1 -1
  224. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
  225. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  226. package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
  227. package/dist/esm/components/rich-content/cell-rich-content-input.js +4 -3
  228. package/dist/esm/components/rich-content/cell-rich-content-input.js.map +1 -1
  229. package/dist/esm/components/rich-content/cell-rich-content-view.js +3 -4
  230. package/dist/esm/components/rich-content/cell-rich-content-view.js.map +1 -1
  231. package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js +2 -2
  232. package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
  233. package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
  234. package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
  235. package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
  236. package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  237. package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
  238. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
  239. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
  240. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js +2 -2
  241. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js.map +1 -1
  242. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
  243. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  244. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
  245. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/plugins.js +0 -5
  246. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/plugins.js.map +1 -1
  247. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js +112 -135
  248. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js.map +1 -1
  249. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
  250. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
  251. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js +27 -35
  252. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
  253. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
  254. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
  255. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  256. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +2 -2
  257. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
  258. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
  259. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
  260. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
  261. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
  262. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
  263. package/dist/esm/components/text/text-view.st.css.js +2 -2
  264. package/dist/esm/components/text/text-view.st.css.js.map +1 -1
  265. package/dist/esm/components/time-input/cell-time-input.js +6 -5
  266. package/dist/esm/components/time-input/cell-time-input.js.map +1 -1
  267. package/dist/esm/components/time-input/form-time-input.js +8 -3
  268. package/dist/esm/components/time-input/form-time-input.js.map +1 -1
  269. package/dist/esm/styles.global.css +1 -1
  270. package/dist/esm/validations/rich-content.js +3 -4
  271. package/dist/esm/validations/rich-content.js.map +1 -1
  272. package/dist/types/components/audio/audio-field/form-audio-field.d.ts.map +1 -1
  273. package/dist/types/components/audio/audio-player/audio-player.st.css.d.ts.map +1 -1
  274. package/dist/types/components/color-view/cell-color-input.d.ts +23 -0
  275. package/dist/types/components/color-view/cell-color-input.d.ts.map +1 -0
  276. package/dist/types/components/color-view/cell-color-view.d.ts +15 -0
  277. package/dist/types/components/color-view/cell-color-view.d.ts.map +1 -0
  278. package/dist/types/components/color-view/cell-color-view.st.css.d.ts +16 -0
  279. package/dist/types/components/color-view/cell-color-view.st.css.d.ts.map +1 -0
  280. package/dist/types/components/color-view/color-input.d.ts.map +1 -1
  281. package/dist/types/components/color-view/hex.d.ts +5 -0
  282. package/dist/types/components/color-view/hex.d.ts.map +1 -0
  283. package/dist/types/components/color-view/index.d.ts +3 -0
  284. package/dist/types/components/color-view/index.d.ts.map +1 -1
  285. package/dist/types/components/media-control/cell-media-edit-shell.st.css.d.ts.map +1 -1
  286. package/dist/types/components/media-image/media-image.st.css.d.ts.map +1 -1
  287. package/dist/types/components/multi-document/cell-multi-document-edit.d.ts +20 -0
  288. package/dist/types/components/multi-document/cell-multi-document-edit.d.ts.map +1 -0
  289. package/dist/types/components/multi-document/cell-multi-document-view.d.ts +13 -0
  290. package/dist/types/components/multi-document/cell-multi-document-view.d.ts.map +1 -0
  291. package/dist/types/components/multi-document/index.d.ts +4 -0
  292. package/dist/types/components/multi-document/index.d.ts.map +1 -1
  293. package/dist/types/components/multi-document/multi-document-input/form-multi-document.st.css.d.ts.map +1 -1
  294. package/dist/types/components/rich-content/cell-rich-content-input.d.ts +2 -2
  295. package/dist/types/components/rich-content/cell-rich-content-input.d.ts.map +1 -1
  296. package/dist/types/components/rich-content/cell-rich-content-view.d.ts.map +1 -1
  297. package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts +2 -2
  298. package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts.map +1 -1
  299. package/dist/types/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.d.ts.map +1 -1
  300. package/dist/types/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.d.ts +2 -2
  301. package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.d.ts.map +1 -1
  302. package/dist/types/components/rich-content/rich-content-input/hooks.d.ts +1 -1
  303. package/dist/types/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.d.ts.map +1 -1
  304. package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts +3 -3
  305. package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts.map +1 -1
  306. 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
  307. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts +2 -2
  308. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts.map +1 -1
  309. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts +12 -11
  310. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts.map +1 -1
  311. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.d.ts.map +1 -1
  312. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts +2 -15
  313. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts.map +1 -1
  314. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts +1 -0
  315. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
  316. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts +1 -1
  317. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts.map +1 -1
  318. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts +5 -3
  319. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts.map +1 -1
  320. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.d.ts.map +1 -1
  321. package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
  322. package/dist/types/components/time-input/cell-time-input.d.ts.map +1 -1
  323. package/dist/types/components/time-input/form-time-input.d.ts.map +1 -1
  324. package/dist/types/services/translations.d.ts +1 -1
  325. package/dist/types/services/translations.d.ts.map +1 -1
  326. package/dist/types/validations/rich-content.d.ts +3 -3
  327. package/dist/types/validations/rich-content.d.ts.map +1 -1
  328. package/package.json +6 -6
  329. package/src/__tests__/components/rich-content-editor.spec.tsx +63 -72
  330. package/src/__tests__/validations/rich-content.spec.ts +4 -8
  331. package/src/assets/locale/messages_ar.json +8 -0
  332. package/src/assets/locale/messages_bg.json +8 -0
  333. package/src/assets/locale/messages_ca.json +8 -0
  334. package/src/assets/locale/messages_cs.json +8 -0
  335. package/src/assets/locale/messages_da.json +8 -0
  336. package/src/assets/locale/messages_de.json +8 -0
  337. package/src/assets/locale/messages_el.json +8 -0
  338. package/src/assets/locale/messages_en.json +8 -0
  339. package/src/assets/locale/messages_es.json +8 -0
  340. package/src/assets/locale/messages_fi.json +8 -0
  341. package/src/assets/locale/messages_fr.json +8 -0
  342. package/src/assets/locale/messages_he.json +8 -0
  343. package/src/assets/locale/messages_hi.json +8 -0
  344. package/src/assets/locale/messages_hu.json +8 -0
  345. package/src/assets/locale/messages_id.json +8 -0
  346. package/src/assets/locale/messages_it.json +8 -0
  347. package/src/assets/locale/messages_ja.json +8 -0
  348. package/src/assets/locale/messages_ko.json +8 -0
  349. package/src/assets/locale/messages_lt.json +8 -0
  350. package/src/assets/locale/messages_ms.json +8 -0
  351. package/src/assets/locale/messages_nl.json +8 -0
  352. package/src/assets/locale/messages_no.json +8 -0
  353. package/src/assets/locale/messages_pl.json +8 -0
  354. package/src/assets/locale/messages_pt.json +8 -0
  355. package/src/assets/locale/messages_ro.json +8 -0
  356. package/src/assets/locale/messages_ru.json +8 -0
  357. package/src/assets/locale/messages_sk.json +8 -0
  358. package/src/assets/locale/messages_sl.json +8 -0
  359. package/src/assets/locale/messages_sv.json +8 -0
  360. package/src/assets/locale/messages_th.json +8 -0
  361. package/src/assets/locale/messages_tl.json +8 -0
  362. package/src/assets/locale/messages_tr.json +8 -0
  363. package/src/assets/locale/messages_uk.json +8 -0
  364. package/src/assets/locale/messages_vi.json +8 -0
  365. package/src/assets/locale/messages_zh.json +8 -0
  366. package/src/assets/locale/version_file +1 -1
  367. package/src/components/address/input/address-input.st.css.ts +2 -2
  368. package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
  369. package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
  370. package/src/components/audio/audio-field/form-audio-field.tsx +2 -0
  371. package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
  372. package/src/components/color-view/cell-color-input.tsx +200 -0
  373. package/src/components/color-view/cell-color-view.st.css +8 -0
  374. package/src/components/color-view/cell-color-view.st.css.ts +25 -0
  375. package/src/components/color-view/cell-color-view.tsx +52 -0
  376. package/src/components/color-view/color-input.tsx +23 -17
  377. package/src/components/color-view/color-view.st.css.ts +2 -2
  378. package/src/components/color-view/hex.ts +13 -0
  379. package/src/components/color-view/index.ts +3 -0
  380. package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
  381. package/src/components/document/form-document-field.st.css.ts +2 -2
  382. package/src/components/exclamation/exclamation.st.css.ts +2 -2
  383. package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
  384. package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
  385. package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
  386. package/src/components/media-control/paste-url-button.st.css.ts +2 -2
  387. package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
  388. package/src/components/media-image/media-image.st.css.ts +3 -3
  389. package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
  390. package/src/components/media-loader/media-loader.st.css.ts +2 -2
  391. package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
  392. package/src/components/multi-document/cell-multi-document-edit.tsx +364 -0
  393. package/src/components/multi-document/cell-multi-document-view.tsx +68 -0
  394. package/src/components/multi-document/index.ts +4 -0
  395. package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
  396. package/src/components/reference/cell-reference-input.st.css.ts +2 -2
  397. package/src/components/rich-content/cell-rich-content-input.tsx +11 -14
  398. package/src/components/rich-content/cell-rich-content-view.tsx +3 -4
  399. package/src/components/rich-content/hooks/use-plain-text-rich-content.ts +4 -4
  400. package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
  401. package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
  402. package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
  403. package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
  404. package/src/components/rich-content/rich-content-input/rich-content-common/hooks.ts +5 -5
  405. package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
  406. package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
  407. package/src/components/rich-content/rich-content-input/rich-content-editor/plugins.ts +0 -6
  408. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
  409. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.tsx +346 -355
  410. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
  411. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
  412. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.tsx +35 -62
  413. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
  414. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.tsx +8 -9
  415. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
  416. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
  417. package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
  418. package/src/components/text/text-view.st.css.ts +2 -2
  419. package/src/components/time-input/cell-time-input.tsx +6 -12
  420. package/src/components/time-input/form-time-input.tsx +21 -4
  421. package/src/services/translations.ts +8 -0
  422. package/src/styles.global.css +1 -1
  423. package/src/validations/rich-content.ts +6 -7
@@ -1 +1 @@
1
- {"version":3,"names":["_multiDocumentView","require","exports","MultiDocumentView","_formMultiDocument","FormMultiDocument","_formMultiDocumentField","FormMultiDocumentField"],"sources":["../../../../src/components/multi-document/index.ts"],"sourcesContent":["export { MultiDocumentView } from './multi-document-view/multi-document-view';\nexport { FormMultiDocument } from './multi-document-input/form-multi-document';\nexport { FormMultiDocumentField } from './multi-document-input/form-multi-document-field';\n"],"mappings":";;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAA8EC,OAAA,CAAAC,iBAAA,GAAAH,kBAAA,CAAAG,iBAAA;AAC9E,IAAAC,kBAAA,GAAAH,OAAA;AAA+EC,OAAA,CAAAG,iBAAA,GAAAD,kBAAA,CAAAC,iBAAA;AAC/E,IAAAC,uBAAA,GAAAL,OAAA;AAA0FC,OAAA,CAAAK,sBAAA,GAAAD,uBAAA,CAAAC,sBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_multiDocumentView","require","exports","MultiDocumentView","_formMultiDocument","FormMultiDocument","_formMultiDocumentField","FormMultiDocumentField","_cellMultiDocumentView","CellMultiDocumentView","_cellMultiDocumentEdit","CellMultiDocumentEdit"],"sources":["../../../../src/components/multi-document/index.ts"],"sourcesContent":["export { MultiDocumentView } from './multi-document-view/multi-document-view';\nexport { FormMultiDocument } from './multi-document-input/form-multi-document';\nexport { FormMultiDocumentField } from './multi-document-input/form-multi-document-field';\nexport { CellMultiDocumentView } from './cell-multi-document-view';\nexport { CellMultiDocumentEdit } from './cell-multi-document-edit';\nexport type { CellMultiDocumentViewProps } from './cell-multi-document-view';\nexport type { CellMultiDocumentEditProps } from './cell-multi-document-edit';\n"],"mappings":";;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAA8EC,OAAA,CAAAC,iBAAA,GAAAH,kBAAA,CAAAG,iBAAA;AAC9E,IAAAC,kBAAA,GAAAH,OAAA;AAA+EC,OAAA,CAAAG,iBAAA,GAAAD,kBAAA,CAAAC,iBAAA;AAC/E,IAAAC,uBAAA,GAAAL,OAAA;AAA0FC,OAAA,CAAAK,sBAAA,GAAAD,uBAAA,CAAAC,sBAAA;AAC1F,IAAAC,sBAAA,GAAAP,OAAA;AAAmEC,OAAA,CAAAO,qBAAA,GAAAD,sBAAA,CAAAC,qBAAA;AACnE,IAAAC,sBAAA,GAAAT,OAAA;AAAmEC,OAAA,CAAAS,qBAAA,GAAAD,sBAAA,CAAAC,qBAAA","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_ = "formmultidocument3697455280";
8
+ var _namespace_ = "formmultidocument239392594";
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": "formmultidocument3697455280__root",
16
- "viewRoot": "formmultidocument3697455280__viewRoot",
17
- "singleViewWrapper": "formmultidocument3697455280__singleViewWrapper",
18
- "addDocumentButton": "formmultidocument3697455280__addDocumentButton"
15
+ "root": "formmultidocument239392594__root",
16
+ "viewRoot": "formmultidocument239392594__viewRoot",
17
+ "singleViewWrapper": "formmultidocument239392594__singleViewWrapper",
18
+ "addDocumentButton": "formmultidocument239392594__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_ = \"formmultidocument3697455280\";\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\":\"formmultidocument3697455280__root\",\"viewRoot\":\"formmultidocument3697455280__viewRoot\",\"singleViewWrapper\":\"formmultidocument3697455280__singleViewWrapper\",\"addDocumentButton\":\"formmultidocument3697455280__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_ = \"formmultidocument239392594\";\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\":\"formmultidocument239392594__root\",\"viewRoot\":\"formmultidocument239392594__viewRoot\",\"singleViewWrapper\":\"formmultidocument239392594__singleViewWrapper\",\"addDocumentButton\":\"formmultidocument239392594__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,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_ = "cellreferenceinput3231278211";
8
+ var _namespace_ = "cellreferenceinput3112868832";
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": "cellreferenceinput3231278211__root",
16
- "autocomplete": "cellreferenceinput3231278211__autocomplete"
15
+ "root": "cellreferenceinput3112868832__root",
16
+ "autocomplete": "cellreferenceinput3112868832__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_ = \"cellreferenceinput3231278211\";\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\":\"cellreferenceinput3231278211__root\",\"autocomplete\":\"cellreferenceinput3231278211__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_ = \"cellreferenceinput3112868832\";\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\":\"cellreferenceinput3112868832__root\",\"autocomplete\":\"cellreferenceinput3112868832__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":[]}
@@ -6,6 +6,7 @@ var _react = _interopRequireWildcard(require("react"));
6
6
  var _content = require("@wix/ricos/content");
7
7
  var _richContentEditor = require("./rich-content-input/rich-content-editor");
8
8
  var _richContentCommon = require("./rich-content-input/rich-content-common");
9
+ var _richContent = require("../../validations/rich-content");
9
10
  var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/fields/dist/cjs/components/rich-content/cell-rich-content-input.tsx";
10
11
  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); }
11
12
  /** Full-screen Ricos editor for the richContent cell type.
@@ -22,12 +23,12 @@ const CellRichContentInput = ({
22
23
  // If there's a typed key, append it to the existing plain-text form of the content.
23
24
  const initialContent = (0, _react.useMemo)(() => {
24
25
  if (initialTypedKey) {
25
- const existingText = value ? (0, _content.toPlainTextSync)((0, _content.ensureRicosContent)(value), {
26
+ const existingText = value ? (0, _content.toPlainTextSync)((0, _richContent.hardConvert)(value), {
26
27
  delimiter: '\n'
27
28
  }) : '';
28
29
  return (0, _content.fromPlainText)(existingText + initialTypedKey);
29
30
  }
30
- return value;
31
+ return value === undefined ? undefined : (0, _richContent.hardConvert)(value);
31
32
  // eslint-disable-next-line react-hooks/exhaustive-deps
32
33
  }, []); // Deliberately run only on mount — typed key is a one-shot initializer
33
34
 
@@ -57,7 +58,7 @@ const CellRichContentInput = ({
57
58
  __self: void 0,
58
59
  __source: {
59
60
  fileName: _jsxFileName,
60
- lineNumber: 74,
61
+ lineNumber: 71,
61
62
  columnNumber: 5
62
63
  }
63
64
  });
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_content","_richContentEditor","_richContentCommon","_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","ensureRicosContent","delimiter","fromPlainText","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 { RichContent } from '@wix/ricos';\nimport {\n ensureRicosContent,\n fromPlainText,\n toPlainTextSync,\n} from '@wix/ricos/content';\n\nimport { RichContentEditor } from './rich-content-input/rich-content-editor';\nimport { useRichContentState } from './rich-content-input/rich-content-common';\n\nexport interface CellRichContentInputProps {\n value?: unknown;\n onChange: (value: RichContent | 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((): RichContent | undefined => {\n if (initialTypedKey) {\n const existingText = value\n ? toPlainTextSync(ensureRicosContent(value as any), { delimiter: '\\n' })\n : '';\n return fromPlainText(existingText + initialTypedKey) as RichContent;\n }\n return value as RichContent | undefined;\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: RichContent) => 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?: RichContent) => {\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?: RichContent) => {\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":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGA,IAAAC,QAAA,GAAAD,OAAA;AAMA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,kBAAA,GAAAH,OAAA;AAA+E,IAAAI,YAAA;AAAA,SAAAL,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAR,uBAAA,YAAAA,CAAAM,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAU/E;AACA;AACO,MAAMkB,oBAAyD,GAAGA,CAAC;EACxEC,KAAK;EACLC,QAAQ;EACRC,MAAM;EACNC;AACF,CAAC,KAAK;EACJ,MAAMC,WAAW,GAAG,IAAAC,aAAM,EAAC,KAAK,CAAC;;EAEjC;EACA;EACA,MAAMC,cAAc,GAAG,IAAAC,cAAO,EAAC,MAA+B;IAC5D,IAAIJ,eAAe,EAAE;MACnB,MAAMK,YAAY,GAAGR,KAAK,GACtB,IAAAS,wBAAe,EAAC,IAAAC,2BAAkB,EAACV,KAAY,CAAC,EAAE;QAAEW,SAAS,EAAE;MAAK,CAAC,CAAC,GACtE,EAAE;MACN,OAAO,IAAAC,sBAAa,EAACJ,YAAY,GAAGL,eAAe,CAAC;IACtD;IACA,OAAOH,KAAK;IACZ;EACF,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;;EAER,MAAM,CAACa,UAAU,EAAEC,aAAa,EAAEC,aAAa,CAAC,GAC9C,IAAAC,sCAAmB,EAACV,cAAc,CAAC;EAErC,MAAMW,YAAY,GAAG,IAAAC,kBAAW,EAC7BC,OAAoB,IAAKL,aAAa,CAACK,OAAO,CAAC,EAChD,CAACL,aAAa,CAChB,CAAC;;EAED;AACF;EACE,MAAMM,UAAU,GAAG,IAAAF,kBAAW,EAC3BC,OAAqB,IAAK;IACzB,IAAIf,WAAW,CAACiB,OAAO,EAAE;MACvB;IACF;IACAjB,WAAW,CAACiB,OAAO,GAAG,IAAI;IAC1BpB,QAAQ,CAACkB,OAAO,CAAC;IACjBjB,MAAM,CAAC,CAAC;EACV,CAAC,EACD,CAACD,QAAQ,EAAEC,MAAM,CACnB,CAAC;EAED,MAAMoB,oBAAoB,GAAG,IAAAJ,kBAAW,EACrCC,OAAqB,IAAK;IACzBC,UAAU,CAACD,OAAO,CAAC;EACrB,CAAC,EACD,CAACC,UAAU,CACb,CAAC;EAED,oBACE/C,MAAA,CAAAiB,OAAA,CAAAiC,aAAA,CAAC9C,kBAAA,CAAA+C,iBAAiB;IAChBL,OAAO,EAAEN,UAAW;IACpBY,eAAe,EAAEV,aAAc;IAC/Bd,QAAQ,EAAEgB,YAAa;IACvBS,gBAAgB,EAAEJ,oBAAqB;IACvCK,cAAc;IACdC,SAAS;IAAAC,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAApD,YAAA;MAAAqD,UAAA;MAAAC,YAAA;IAAA;EAAA,CACV,CAAC;AAEN,CAAC;AAACC,OAAA,CAAAnC,oBAAA,GAAAA,oBAAA;AAEFA,oBAAoB,CAACoC,WAAW,GAAG,sBAAsB","ignoreList":[]}
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":";;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGA,IAAAC,QAAA,GAAAD,OAAA;AAEA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,kBAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAA6D,IAAAK,YAAA;AAAA,SAAAN,wBAAAO,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAT,uBAAA,YAAAA,CAAAO,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAU7D;AACA;AACO,MAAMkB,oBAAyD,GAAGA,CAAC;EACxEC,KAAK;EACLC,QAAQ;EACRC,MAAM;EACNC;AACF,CAAC,KAAK;EACJ,MAAMC,WAAW,GAAG,IAAAC,aAAM,EAAC,KAAK,CAAC;;EAEjC;EACA;EACA,MAAMC,cAAc,GAAG,IAAAC,cAAO,EAAC,MAAiC;IAC9D,IAAIJ,eAAe,EAAE;MACnB,MAAMK,YAAY,GAAGR,KAAK,GACtB,IAAAS,wBAAe,EAAC,IAAAC,wBAAW,EAACV,KAAK,CAAC,EAAE;QAAEW,SAAS,EAAE;MAAK,CAAC,CAAC,GACxD,EAAE;MACN,OAAO,IAAAC,sBAAa,EAACJ,YAAY,GAAGL,eAAe,CAAC;IACtD;IACA,OAAOH,KAAK,KAAKa,SAAS,GAAGA,SAAS,GAAG,IAAAH,wBAAW,EAACV,KAAK,CAAC;IAC3D;EACF,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;;EAER,MAAM,CAACc,UAAU,EAAEC,aAAa,EAAEC,aAAa,CAAC,GAC9C,IAAAC,sCAAmB,EAACX,cAAc,CAAC;EAErC,MAAMY,YAAY,GAAG,IAAAC,kBAAW,EAC7BC,OAAsB,IAAKL,aAAa,CAACK,OAAO,CAAC,EAClD,CAACL,aAAa,CAChB,CAAC;;EAED;AACF;EACE,MAAMM,UAAU,GAAG,IAAAF,kBAAW,EAC3BC,OAAuB,IAAK;IAC3B,IAAIhB,WAAW,CAACkB,OAAO,EAAE;MACvB;IACF;IACAlB,WAAW,CAACkB,OAAO,GAAG,IAAI;IAC1BrB,QAAQ,CAACmB,OAAO,CAAC;IACjBlB,MAAM,CAAC,CAAC;EACV,CAAC,EACD,CAACD,QAAQ,EAAEC,MAAM,CACnB,CAAC;EAED,MAAMqB,oBAAoB,GAAG,IAAAJ,kBAAW,EACrCC,OAAuB,IAAK;IAC3BC,UAAU,CAACD,OAAO,CAAC;EACrB,CAAC,EACD,CAACC,UAAU,CACb,CAAC;EAED,oBACEjD,MAAA,CAAAkB,OAAA,CAAAkC,aAAA,CAAChD,kBAAA,CAAAiD,iBAAiB;IAChBL,OAAO,EAAEN,UAAW;IACpBY,eAAe,EAAEV,aAAc;IAC/Bf,QAAQ,EAAEiB,YAAa;IACvBS,gBAAgB,EAAEJ,oBAAqB;IACvCK,cAAc;IACdC,SAAS;IAAAC,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAArD,YAAA;MAAAsD,UAAA;MAAAC,YAAA;IAAA;EAAA,CACV,CAAC;AAEN,CAAC;AAACC,OAAA,CAAApC,oBAAA,GAAAA,oBAAA;AAEFA,oBAAoB,CAACqC,WAAW,GAAG,sBAAsB","ignoreList":[]}
@@ -6,13 +6,14 @@ exports.CellRichContentView = void 0;
6
6
  var _react = _interopRequireDefault(require("react"));
7
7
  var _content = require("@wix/ricos/content");
8
8
  var _text = require("../text");
9
+ var _richContent = require("../../validations/rich-content");
9
10
  var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/fields/dist/cjs/components/rich-content/cell-rich-content-view.tsx";
10
11
  /** Synchronous plain-text view for a Ricos document.
11
12
  * Uses toPlainTextSync — no loading spinner. */
12
13
  const CellRichContentView = ({
13
14
  value
14
15
  }) => {
15
- const plainText = value ? (0, _content.toPlainTextSync)((0, _content.ensureRicosContent)(value), {
16
+ const plainText = value ? (0, _content.toPlainTextSync)((0, _richContent.hardConvert)(value), {
16
17
  delimiter: ' '
17
18
  }) : '';
18
19
  return /*#__PURE__*/_react.default.createElement(_text.TextView, {
@@ -20,7 +21,7 @@ const CellRichContentView = ({
20
21
  __self: void 0,
21
22
  __source: {
22
23
  fileName: _jsxFileName,
23
- lineNumber: 20,
24
+ lineNumber: 19,
24
25
  columnNumber: 10
25
26
  }
26
27
  });
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_content","_text","_jsxFileName","CellRichContentView","value","plainText","toPlainTextSync","ensureRicosContent","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 { ensureRicosContent, toPlainTextSync } from '@wix/ricos/content';\n\nimport { TextView } from '../text';\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\n ? toPlainTextSync(ensureRicosContent(value as any), { delimiter: ' ' })\n : '';\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;AAAmC,IAAAG,YAAA;AAMnC;AACA;AACO,MAAMC,mBAAuD,GAAGA,CAAC;EACtEC;AACF,CAAC,KAAK;EACJ,MAAMC,SAAS,GAAGD,KAAK,GACnB,IAAAE,wBAAe,EAAC,IAAAC,2BAAkB,EAACH,KAAY,CAAC,EAAE;IAAEI,SAAS,EAAE;EAAI,CAAC,CAAC,GACrE,EAAE;EAEN,oBAAOX,MAAA,CAAAY,OAAA,CAAAC,aAAA,CAACT,KAAA,CAAAU,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","_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":[]}
@@ -12,7 +12,7 @@ const usePlainTextRichContent = content => {
12
12
  (0, _react.useEffect)(() => {
13
13
  if (content) {
14
14
  setIsConverting(true);
15
- (0, _content.toPlainText)((0, _content.ensureRicosContent)(content), {
15
+ (0, _content.toPlainText)(content, {
16
16
  delimiter: ' '
17
17
  }).catch(() => (0, _utils.safeStringify)(content)).then(setPlainTextContent).finally(() => setIsConverting(false));
18
18
  } else {
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_content","_utils","_useMountedState","usePlainTextRichContent","content","plainTextContent","setPlainTextContent","useMountedState","isConverting","setIsConverting","useEffect","toPlainText","ensureRicosContent","delimiter","catch","safeStringify","then","finally","exports"],"sources":["../../../../../src/components/rich-content/hooks/use-plain-text-rich-content.ts"],"sourcesContent":["import { useEffect } from 'react';\n\nimport type { RichContent } from '@wix/ricos/content';\nimport { ensureRicosContent, toPlainText } from '@wix/ricos/content';\n\nimport { safeStringify } from '../../../utils';\nimport { useMountedState } from './use-mounted-state';\n\nexport const usePlainTextRichContent = (content?: RichContent) => {\n const [plainTextContent, setPlainTextContent] = useMountedState('');\n const [isConverting, setIsConverting] = useMountedState(false);\n\n useEffect(() => {\n if (content) {\n setIsConverting(true);\n toPlainText(ensureRicosContent(content), { delimiter: ' ' })\n .catch(() => safeStringify(content))\n .then(setPlainTextContent)\n .finally(() => setIsConverting(false));\n } else {\n setIsConverting(false);\n setPlainTextContent('');\n }\n }, [content, setIsConverting, setPlainTextContent]);\n\n return [plainTextContent, isConverting] as const;\n};\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA,IAAAC,QAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AAEO,MAAMI,uBAAuB,GAAIC,OAAqB,IAAK;EAChE,MAAM,CAACC,gBAAgB,EAAEC,mBAAmB,CAAC,GAAG,IAAAC,gCAAe,EAAC,EAAE,CAAC;EACnE,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC,GAAG,IAAAF,gCAAe,EAAC,KAAK,CAAC;EAE9D,IAAAG,gBAAS,EAAC,MAAM;IACd,IAAIN,OAAO,EAAE;MACXK,eAAe,CAAC,IAAI,CAAC;MACrB,IAAAE,oBAAW,EAAC,IAAAC,2BAAkB,EAACR,OAAO,CAAC,EAAE;QAAES,SAAS,EAAE;MAAI,CAAC,CAAC,CACzDC,KAAK,CAAC,MAAM,IAAAC,oBAAa,EAACX,OAAO,CAAC,CAAC,CACnCY,IAAI,CAACV,mBAAmB,CAAC,CACzBW,OAAO,CAAC,MAAMR,eAAe,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC,MAAM;MACLA,eAAe,CAAC,KAAK,CAAC;MACtBH,mBAAmB,CAAC,EAAE,CAAC;IACzB;EACF,CAAC,EAAE,CAACF,OAAO,EAAEK,eAAe,EAAEH,mBAAmB,CAAC,CAAC;EAEnD,OAAO,CAACD,gBAAgB,EAAEG,YAAY,CAAC;AACzC,CAAC;AAACU,OAAA,CAAAf,uBAAA,GAAAA,uBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_content","_utils","_useMountedState","usePlainTextRichContent","content","plainTextContent","setPlainTextContent","useMountedState","isConverting","setIsConverting","useEffect","toPlainText","delimiter","catch","safeStringify","then","finally","exports"],"sources":["../../../../../src/components/rich-content/hooks/use-plain-text-rich-content.ts"],"sourcesContent":["import { useEffect } from 'react';\n\nimport type { RicosDocument } from '@wix/ricos/content';\nimport { toPlainText } from '@wix/ricos/content';\n\nimport { safeStringify } from '../../../utils';\nimport { useMountedState } from './use-mounted-state';\n\nexport const usePlainTextRichContent = (content?: RicosDocument) => {\n const [plainTextContent, setPlainTextContent] = useMountedState('');\n const [isConverting, setIsConverting] = useMountedState(false);\n\n useEffect(() => {\n if (content) {\n setIsConverting(true);\n toPlainText(content, { delimiter: ' ' })\n .catch(() => safeStringify(content))\n .then(setPlainTextContent)\n .finally(() => setIsConverting(false));\n } else {\n setIsConverting(false);\n setPlainTextContent('');\n }\n }, [content, setIsConverting, setPlainTextContent]);\n\n return [plainTextContent, isConverting] as const;\n};\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA,IAAAC,QAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AAEO,MAAMI,uBAAuB,GAAIC,OAAuB,IAAK;EAClE,MAAM,CAACC,gBAAgB,EAAEC,mBAAmB,CAAC,GAAG,IAAAC,gCAAe,EAAC,EAAE,CAAC;EACnE,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC,GAAG,IAAAF,gCAAe,EAAC,KAAK,CAAC;EAE9D,IAAAG,gBAAS,EAAC,MAAM;IACd,IAAIN,OAAO,EAAE;MACXK,eAAe,CAAC,IAAI,CAAC;MACrB,IAAAE,oBAAW,EAACP,OAAO,EAAE;QAAEQ,SAAS,EAAE;MAAI,CAAC,CAAC,CACrCC,KAAK,CAAC,MAAM,IAAAC,oBAAa,EAACV,OAAO,CAAC,CAAC,CACnCW,IAAI,CAACT,mBAAmB,CAAC,CACzBU,OAAO,CAAC,MAAMP,eAAe,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC,MAAM;MACLA,eAAe,CAAC,KAAK,CAAC;MACtBH,mBAAmB,CAAC,EAAE,CAAC;IACzB;EACF,CAAC,EAAE,CAACF,OAAO,EAAEK,eAAe,EAAEH,mBAAmB,CAAC,CAAC;EAEnD,OAAO,CAACD,gBAAgB,EAAEG,YAAY,CAAC;AACzC,CAAC;AAACS,OAAA,CAAAd,uBAAA,GAAAA,uBAAA","ignoreList":[]}
@@ -5,16 +5,16 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
5
5
  var _stylableEsmRuntime = require("../../../../stylable-esm-runtime.js");
6
6
  // @ts-nocheck
7
7
 
8
- var _namespace_ = "richcontentdefaultvalueinput908406586";
8
+ var _namespace_ = "richcontentdefaultvalueinput998980344";
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": "richcontentdefaultvalueinput908406586__root",
16
- "richContentEditorContainer": "richcontentdefaultvalueinput908406586__richContentEditorContainer",
17
- "editor": "richcontentdefaultvalueinput908406586__editor"
15
+ "root": "richcontentdefaultvalueinput998980344__root",
16
+ "richContentEditorContainer": "richcontentdefaultvalueinput998980344__richContentEditorContainer",
17
+ "editor": "richcontentdefaultvalueinput998980344__editor"
18
18
  };
19
19
  var keyframes = exports.keyframes = {};
20
20
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"richcontentdefaultvalueinput908406586\";\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\":\"richcontentdefaultvalueinput908406586__root\",\"richContentEditorContainer\":\"richcontentdefaultvalueinput908406586__richContentEditorContainer\",\"editor\":\"richcontentdefaultvalueinput908406586__editor\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"topToolbarHeight\":\"--topToolbarHeight\",\"bottomToolbarHeight\":\"--bottomToolbarHeight\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,uCAAuC;AACzD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,6CAA6C;EAAC,4BAA4B,EAAC,mEAAmE;EAAC,QAAQ,EAAC;AAA+C,CAAC;AAC9N,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,kBAAkB,EAAC,oBAAoB;EAAC,qBAAqB,EAAC;AAAuB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"richcontentdefaultvalueinput998980344\";\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\":\"richcontentdefaultvalueinput998980344__root\",\"richContentEditorContainer\":\"richcontentdefaultvalueinput998980344__richContentEditorContainer\",\"editor\":\"richcontentdefaultvalueinput998980344__editor\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"topToolbarHeight\":\"--topToolbarHeight\",\"bottomToolbarHeight\":\"--bottomToolbarHeight\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,uCAAuC;AACzD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,6CAA6C;EAAC,4BAA4B,EAAC,mEAAmE;EAAC,QAAQ,EAAC;AAA+C,CAAC;AAC9N,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,kBAAkB,EAAC,oBAAoB;EAAC,qBAAqB,EAAC;AAAuB,CAAC","ignoreList":[]}
@@ -5,15 +5,15 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
5
5
  var _stylableEsmRuntime = require("../../../../stylable-esm-runtime.js");
6
6
  // @ts-nocheck
7
7
 
8
- var _namespace_ = "richcontentforminput4035690";
8
+ var _namespace_ = "richcontentforminput1753039762";
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": "richcontentforminput4035690__root",
16
- "editor": "richcontentforminput4035690__editor"
15
+ "root": "richcontentforminput1753039762__root",
16
+ "editor": "richcontentforminput1753039762__editor"
17
17
  };
18
18
  var keyframes = exports.keyframes = {};
19
19
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"richcontentforminput4035690\";\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\":\"richcontentforminput4035690__root\",\"editor\":\"richcontentforminput4035690__editor\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"topToolbarHeight\":\"--topToolbarHeight\",\"bottomToolbarHeight\":\"--bottomToolbarHeight\",\"wds-color-blue-300\":\"--wds-color-blue-300\",\"wds-border-radius-300\":\"--wds-border-radius-300\",\"wds-color-blue-100\":\"--wds-color-blue-100\",\"wds-input-shadow-focus-standard\":\"--wds-input-shadow-focus-standard\"}; \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,QAAQ,EAAC;AAAqC,CAAC;AACzG,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,kBAAkB,EAAC,oBAAoB;EAAC,qBAAqB,EAAC,uBAAuB;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,oBAAoB,EAAC,sBAAsB;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/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"richcontentforminput1753039762\";\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\":\"richcontentforminput1753039762__root\",\"editor\":\"richcontentforminput1753039762__editor\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"topToolbarHeight\":\"--topToolbarHeight\",\"bottomToolbarHeight\":\"--bottomToolbarHeight\",\"wds-color-blue-300\":\"--wds-color-blue-300\",\"wds-border-radius-300\":\"--wds-border-radius-300\",\"wds-color-blue-100\":\"--wds-color-blue-100\",\"wds-input-shadow-focus-standard\":\"--wds-input-shadow-focus-standard\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,gCAAgC;AAClD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,sCAAsC;EAAC,QAAQ,EAAC;AAAwC,CAAC;AAC/G,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,kBAAkB,EAAC,oBAAoB;EAAC,qBAAqB,EAAC,uBAAuB;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,iCAAiC,EAAC;AAAmC,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_ = "richcontentformreadonlyinput516739647";
8
+ var _namespace_ = "richcontentformreadonlyinput2205100705";
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": "richcontentformreadonlyinput516739647__root"
15
+ "root": "richcontentformreadonlyinput2205100705__root"
16
16
  };
17
17
  var keyframes = exports.keyframes = {};
18
18
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"richcontentformreadonlyinput516739647\";\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\":\"richcontentformreadonlyinput516739647__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-black-600\":\"--wds-color-black-600\",\"wds-border-radius-300\":\"--wds-border-radius-300\",\"wds-color-blue-100\":\"--wds-color-blue-100\",\"wds-input-shadow-focus-standard\":\"--wds-input-shadow-focus-standard\",\"wds-color-blue-300\":\"--wds-color-blue-300\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,uCAAuC;AACzD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAA6C,CAAC;AACpE,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,qBAAqB,EAAC,uBAAuB;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,iCAAiC,EAAC,mCAAmC;EAAC,oBAAoB,EAAC;AAAsB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"richcontentformreadonlyinput2205100705\";\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\":\"richcontentformreadonlyinput2205100705__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-black-600\":\"--wds-color-black-600\",\"wds-border-radius-300\":\"--wds-border-radius-300\",\"wds-color-blue-100\":\"--wds-color-blue-100\",\"wds-input-shadow-focus-standard\":\"--wds-input-shadow-focus-standard\",\"wds-color-blue-300\":\"--wds-color-blue-300\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,wCAAwC;AAC1D,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAA8C,CAAC;AACrE,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,qBAAqB,EAAC,uBAAuB;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,iCAAiC,EAAC,mCAAmC;EAAC,oBAAoB,EAAC;AAAsB,CAAC","ignoreList":[]}
@@ -5,15 +5,15 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
5
5
  var _stylableEsmRuntime = require("../../../../../stylable-esm-runtime.js");
6
6
  // @ts-nocheck
7
7
 
8
- var _namespace_ = "fullscreenmodal4175496484";
8
+ var _namespace_ = "fullscreenmodal13930613";
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": "fullscreenmodal4175496484__root",
16
- "modalContent": "fullscreenmodal4175496484__modalContent"
15
+ "root": "fullscreenmodal13930613__root",
16
+ "modalContent": "fullscreenmodal13930613__modalContent"
17
17
  };
18
18
  var keyframes = exports.keyframes = {};
19
19
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"fullscreenmodal4175496484\";\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\":\"fullscreenmodal4175496484__root\",\"modalContent\":\"fullscreenmodal4175496484__modalContent\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-white\":\"--wds-color-white\",\"wsr-color-D80\":\"--wsr-color-D80\",\"wds-border-radius-300\":\"--wds-border-radius-300\",\"wsr-border-radius-06\":\"--wsr-border-radius-06\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,2BAA2B;AAC7C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,iCAAiC;EAAC,cAAc,EAAC;AAAyC,CAAC;AACjH,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,eAAe,EAAC,iBAAiB;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,sBAAsB,EAAC;AAAwB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"fullscreenmodal13930613\";\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\":\"fullscreenmodal13930613__root\",\"modalContent\":\"fullscreenmodal13930613__modalContent\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-white\":\"--wds-color-white\",\"wsr-color-D80\":\"--wsr-color-D80\",\"wds-border-radius-300\":\"--wds-border-radius-300\",\"wsr-border-radius-06\":\"--wsr-border-radius-06\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,yBAAyB;AAC3C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,+BAA+B;EAAC,cAAc,EAAC;AAAuC,CAAC;AAC7G,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,eAAe,EAAC,iBAAiB;EAAC,uBAAuB,EAAC,yBAAyB;EAAC,sBAAsB,EAAC;AAAwB,CAAC","ignoreList":[]}
@@ -9,7 +9,7 @@ var _ricos = require("@wix/ricos");
9
9
  var _react2 = require("@wix/bex-core/react");
10
10
  var _consts = require("../consts");
11
11
  const INITIAL_INJECTED_RICH_CONTENT = exports.INITIAL_INJECTED_RICH_CONTENT = (0, _ricos.fromPlainText)('');
12
- const ensureRichContent = content => content && (0, _ricos.ensureRicosContent)(content);
12
+ const ensureRichContent = content => content && (0, _ricos.ensureContentId)(content);
13
13
  const useRichContentState = propsContent => {
14
14
  const [content, setContent] = (0, _react.useState)(ensureRichContent(propsContent));
15
15
  const [injectedContent, setInjectedContent] = (0, _react.useState)(INITIAL_INJECTED_RICH_CONTENT);
@@ -1 +1 @@
1
- {"version":3,"names":["_isEqual","_interopRequireDefault","require","_react","_ricos","_react2","_consts","INITIAL_INJECTED_RICH_CONTENT","exports","fromPlainText","ensureRichContent","content","ensureRicosContent","useRichContentState","propsContent","setContent","useState","injectedContent","setInjectedContent","prevContentRef","useRef","useEffect","isEqual","current","richContent","injectedRichContent","useWixRicosProps","patternsContainer","useWixPatternsContainer","locale","environment","language","CMS_RICOS_CONSUMER","CMS_RICOS_PLATFORM","useRicosBISettings","usage","itemId","useMemo","containerId","CMS_RICOS_APP_ID","consumer","platform","postId"],"sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-common/hooks.ts"],"sourcesContent":["import isEqual from 'lodash/isEqual';\nimport { useRef, useMemo, useState, useEffect } from 'react';\n\nimport type { BISettings, RichContent } from '@wix/ricos';\nimport { ensureRicosContent, fromPlainText } from '@wix/ricos';\nimport { useWixPatternsContainer } from '@wix/bex-core/react';\n\nimport { CMS_RICOS_APP_ID } from '../consts';\n\nexport const INITIAL_INJECTED_RICH_CONTENT = fromPlainText('');\n\nconst ensureRichContent = (content?: RichContent) =>\n content && ensureRicosContent(content);\n\nexport const useRichContentState = (propsContent?: RichContent) => {\n const [content, setContent] = useState(ensureRichContent(propsContent));\n const [injectedContent, setInjectedContent] = useState(\n INITIAL_INJECTED_RICH_CONTENT,\n );\n\n const prevContentRef = useRef(propsContent);\n useEffect(() => {\n if (isEqual(propsContent, prevContentRef.current)) {\n return;\n }\n\n const richContent = ensureRichContent(propsContent);\n\n setContent(richContent);\n setInjectedContent((injectedRichContent) => {\n if (!richContent) {\n return INITIAL_INJECTED_RICH_CONTENT;\n }\n\n return !isEqual(richContent, injectedRichContent)\n ? richContent\n : injectedRichContent;\n });\n\n prevContentRef.current = propsContent;\n }, [propsContent]);\n\n return [content, setContent, injectedContent] as const;\n};\n\nexport const useWixRicosProps = () => {\n const patternsContainer = useWixPatternsContainer();\n // console.log('[Rich Content] environment:', patternsContainer.environment);\n const locale = patternsContainer.environment.language || 'en';\n\n return { locale };\n};\n\nconst CMS_RICOS_CONSUMER = 'wix-data-editor';\nconst CMS_RICOS_PLATFORM = 'BM';\n\nexport const useRicosBISettings = (usage?: string, itemId = '$new') =>\n useMemo<BISettings>(\n () => ({\n containerId: CMS_RICOS_APP_ID,\n consumer: CMS_RICOS_CONSUMER,\n platform: CMS_RICOS_PLATFORM,\n postId: itemId,\n usage,\n }),\n [usage, itemId],\n );\n"],"mappings":";;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAEA,IAAAI,OAAA,GAAAJ,OAAA;AAEO,MAAMK,6BAA6B,GAAAC,OAAA,CAAAD,6BAAA,GAAG,IAAAE,oBAAa,EAAC,EAAE,CAAC;AAE9D,MAAMC,iBAAiB,GAAIC,OAAqB,IAC9CA,OAAO,IAAI,IAAAC,yBAAkB,EAACD,OAAO,CAAC;AAEjC,MAAME,mBAAmB,GAAIC,YAA0B,IAAK;EACjE,MAAM,CAACH,OAAO,EAAEI,UAAU,CAAC,GAAG,IAAAC,eAAQ,EAACN,iBAAiB,CAACI,YAAY,CAAC,CAAC;EACvE,MAAM,CAACG,eAAe,EAAEC,kBAAkB,CAAC,GAAG,IAAAF,eAAQ,EACpDT,6BACF,CAAC;EAED,MAAMY,cAAc,GAAG,IAAAC,aAAM,EAACN,YAAY,CAAC;EAC3C,IAAAO,gBAAS,EAAC,MAAM;IACd,IAAI,IAAAC,gBAAO,EAACR,YAAY,EAAEK,cAAc,CAACI,OAAO,CAAC,EAAE;MACjD;IACF;IAEA,MAAMC,WAAW,GAAGd,iBAAiB,CAACI,YAAY,CAAC;IAEnDC,UAAU,CAACS,WAAW,CAAC;IACvBN,kBAAkB,CAAEO,mBAAmB,IAAK;MAC1C,IAAI,CAACD,WAAW,EAAE;QAChB,OAAOjB,6BAA6B;MACtC;MAEA,OAAO,CAAC,IAAAe,gBAAO,EAACE,WAAW,EAAEC,mBAAmB,CAAC,GAC7CD,WAAW,GACXC,mBAAmB;IACzB,CAAC,CAAC;IAEFN,cAAc,CAACI,OAAO,GAAGT,YAAY;EACvC,CAAC,EAAE,CAACA,YAAY,CAAC,CAAC;EAElB,OAAO,CAACH,OAAO,EAAEI,UAAU,EAAEE,eAAe,CAAC;AAC/C,CAAC;AAACT,OAAA,CAAAK,mBAAA,GAAAA,mBAAA;AAEK,MAAMa,gBAAgB,GAAGA,CAAA,KAAM;EACpC,MAAMC,iBAAiB,GAAG,IAAAC,+BAAuB,EAAC,CAAC;EACnD;EACA,MAAMC,MAAM,GAAGF,iBAAiB,CAACG,WAAW,CAACC,QAAQ,IAAI,IAAI;EAE7D,OAAO;IAAEF;EAAO,CAAC;AACnB,CAAC;AAACrB,OAAA,CAAAkB,gBAAA,GAAAA,gBAAA;AAEF,MAAMM,kBAAkB,GAAG,iBAAiB;AAC5C,MAAMC,kBAAkB,GAAG,IAAI;AAExB,MAAMC,kBAAkB,GAAGA,CAACC,KAAc,EAAEC,MAAM,GAAG,MAAM,KAChE,IAAAC,cAAO,EACL,OAAO;EACLC,WAAW,EAAEC,wBAAgB;EAC7BC,QAAQ,EAAER,kBAAkB;EAC5BS,QAAQ,EAAER,kBAAkB;EAC5BS,MAAM,EAAEN,MAAM;EACdD;AACF,CAAC,CAAC,EACF,CAACA,KAAK,EAAEC,MAAM,CAChB,CAAC;AAAC5B,OAAA,CAAA0B,kBAAA,GAAAA,kBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_isEqual","_interopRequireDefault","require","_react","_ricos","_react2","_consts","INITIAL_INJECTED_RICH_CONTENT","exports","fromPlainText","ensureRichContent","content","ensureContentId","useRichContentState","propsContent","setContent","useState","injectedContent","setInjectedContent","prevContentRef","useRef","useEffect","isEqual","current","richContent","injectedRichContent","useWixRicosProps","patternsContainer","useWixPatternsContainer","locale","environment","language","CMS_RICOS_CONSUMER","CMS_RICOS_PLATFORM","useRicosBISettings","usage","itemId","useMemo","containerId","CMS_RICOS_APP_ID","consumer","platform","postId"],"sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-common/hooks.ts"],"sourcesContent":["import isEqual from 'lodash/isEqual';\nimport { useRef, useMemo, useState, useEffect } from 'react';\n\nimport type { BISettings, RicosDocument } from '@wix/ricos';\nimport { ensureContentId, fromPlainText } from '@wix/ricos';\nimport { useWixPatternsContainer } from '@wix/bex-core/react';\n\nimport { CMS_RICOS_APP_ID } from '../consts';\n\nexport const INITIAL_INJECTED_RICH_CONTENT = fromPlainText('');\n\nconst ensureRichContent = (content?: RicosDocument) =>\n content && ensureContentId(content);\n\nexport const useRichContentState = (propsContent?: RicosDocument) => {\n const [content, setContent] = useState(ensureRichContent(propsContent));\n const [injectedContent, setInjectedContent] = useState(\n INITIAL_INJECTED_RICH_CONTENT,\n );\n\n const prevContentRef = useRef(propsContent);\n useEffect(() => {\n if (isEqual(propsContent, prevContentRef.current)) {\n return;\n }\n\n const richContent = ensureRichContent(propsContent);\n\n setContent(richContent);\n setInjectedContent((injectedRichContent) => {\n if (!richContent) {\n return INITIAL_INJECTED_RICH_CONTENT;\n }\n\n return !isEqual(richContent, injectedRichContent)\n ? richContent\n : injectedRichContent;\n });\n\n prevContentRef.current = propsContent;\n }, [propsContent]);\n\n return [content, setContent, injectedContent] as const;\n};\n\nexport const useWixRicosProps = () => {\n const patternsContainer = useWixPatternsContainer();\n // console.log('[Rich Content] environment:', patternsContainer.environment);\n const locale = patternsContainer.environment.language || 'en';\n\n return { locale };\n};\n\nconst CMS_RICOS_CONSUMER = 'wix-data-editor';\nconst CMS_RICOS_PLATFORM = 'BM';\n\nexport const useRicosBISettings = (usage?: string, itemId = '$new') =>\n useMemo<BISettings>(\n () => ({\n containerId: CMS_RICOS_APP_ID,\n consumer: CMS_RICOS_CONSUMER,\n platform: CMS_RICOS_PLATFORM,\n postId: itemId,\n usage,\n }),\n [usage, itemId],\n );\n"],"mappings":";;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAEA,IAAAI,OAAA,GAAAJ,OAAA;AAEO,MAAMK,6BAA6B,GAAAC,OAAA,CAAAD,6BAAA,GAAG,IAAAE,oBAAa,EAAC,EAAE,CAAC;AAE9D,MAAMC,iBAAiB,GAAIC,OAAuB,IAChDA,OAAO,IAAI,IAAAC,sBAAe,EAACD,OAAO,CAAC;AAE9B,MAAME,mBAAmB,GAAIC,YAA4B,IAAK;EACnE,MAAM,CAACH,OAAO,EAAEI,UAAU,CAAC,GAAG,IAAAC,eAAQ,EAACN,iBAAiB,CAACI,YAAY,CAAC,CAAC;EACvE,MAAM,CAACG,eAAe,EAAEC,kBAAkB,CAAC,GAAG,IAAAF,eAAQ,EACpDT,6BACF,CAAC;EAED,MAAMY,cAAc,GAAG,IAAAC,aAAM,EAACN,YAAY,CAAC;EAC3C,IAAAO,gBAAS,EAAC,MAAM;IACd,IAAI,IAAAC,gBAAO,EAACR,YAAY,EAAEK,cAAc,CAACI,OAAO,CAAC,EAAE;MACjD;IACF;IAEA,MAAMC,WAAW,GAAGd,iBAAiB,CAACI,YAAY,CAAC;IAEnDC,UAAU,CAACS,WAAW,CAAC;IACvBN,kBAAkB,CAAEO,mBAAmB,IAAK;MAC1C,IAAI,CAACD,WAAW,EAAE;QAChB,OAAOjB,6BAA6B;MACtC;MAEA,OAAO,CAAC,IAAAe,gBAAO,EAACE,WAAW,EAAEC,mBAAmB,CAAC,GAC7CD,WAAW,GACXC,mBAAmB;IACzB,CAAC,CAAC;IAEFN,cAAc,CAACI,OAAO,GAAGT,YAAY;EACvC,CAAC,EAAE,CAACA,YAAY,CAAC,CAAC;EAElB,OAAO,CAACH,OAAO,EAAEI,UAAU,EAAEE,eAAe,CAAC;AAC/C,CAAC;AAACT,OAAA,CAAAK,mBAAA,GAAAA,mBAAA;AAEK,MAAMa,gBAAgB,GAAGA,CAAA,KAAM;EACpC,MAAMC,iBAAiB,GAAG,IAAAC,+BAAuB,EAAC,CAAC;EACnD;EACA,MAAMC,MAAM,GAAGF,iBAAiB,CAACG,WAAW,CAACC,QAAQ,IAAI,IAAI;EAE7D,OAAO;IAAEF;EAAO,CAAC;AACnB,CAAC;AAACrB,OAAA,CAAAkB,gBAAA,GAAAA,gBAAA;AAEF,MAAMM,kBAAkB,GAAG,iBAAiB;AAC5C,MAAMC,kBAAkB,GAAG,IAAI;AAExB,MAAMC,kBAAkB,GAAGA,CAACC,KAAc,EAAEC,MAAM,GAAG,MAAM,KAChE,IAAAC,cAAO,EACL,OAAO;EACLC,WAAW,EAAEC,wBAAgB;EAC7BC,QAAQ,EAAER,kBAAkB;EAC5BS,QAAQ,EAAER,kBAAkB;EAC5BS,MAAM,EAAEN,MAAM;EACdD;AACF,CAAC,CAAC,EACF,CAACA,KAAK,EAAEC,MAAM,CAChB,CAAC;AAAC5B,OAAA,CAAA0B,kBAAA,GAAAA,kBAAA","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_ = "publishloader2757594344";
8
+ var _namespace_ = "publishloader3858599799";
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": "publishloader2757594344__root",
16
- "publishLoader": "publishloader2757594344__publishLoader"
15
+ "root": "publishloader3858599799__root",
16
+ "publishLoader": "publishloader3858599799__publishLoader"
17
17
  };
18
18
  var keyframes = exports.keyframes = {};
19
19
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"publishloader2757594344\";\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\":\"publishloader2757594344__root\",\"publishLoader\":\"publishloader2757594344__publishLoader\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-white\":\"--wds-color-white\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,yBAAyB;AAC3C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,+BAA+B;EAAC,eAAe,EAAC;AAAwC,CAAC;AAC/G,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,iBAAiB,EAAC;AAAmB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"publishloader3858599799\";\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\":\"publishloader3858599799__root\",\"publishLoader\":\"publishloader3858599799__publishLoader\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-white\":\"--wds-color-white\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,yBAAyB;AAC3C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,+BAA+B;EAAC,eAAe,EAAC;AAAwC,CAAC;AAC/G,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,iBAAiB,EAAC;AAAmB,CAAC","ignoreList":[]}
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
5
5
  var _stylableEsmRuntime = require("../../../../../stylable-esm-runtime.js");
6
6
  // @ts-nocheck
7
7
 
8
- var _namespace_ = "togglefullscreenbutton634800807";
8
+ var _namespace_ = "togglefullscreenbutton4026172310";
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": "togglefullscreenbutton634800807__root"
15
+ "root": "togglefullscreenbutton4026172310__root"
16
16
  };
17
17
  var keyframes = exports.keyframes = {};
18
18
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"togglefullscreenbutton634800807\";\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\":\"togglefullscreenbutton634800807__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,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;AAAuC,CAAC;AAC9D,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/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"togglefullscreenbutton4026172310\";\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\":\"togglefullscreenbutton4026172310__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,kCAAkC;AACpD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAAwC,CAAC;AAC/D,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC","ignoreList":[]}
@@ -5,7 +5,6 @@ exports.usePlugins = void 0;
5
5
  var _react = require("react");
6
6
  var _ricos = require("@wix/ricos");
7
7
  var _utils = require("../../../../utils");
8
- var _richContentCommon = require("../rich-content-common");
9
8
  var _consts = require("../consts");
10
9
  const {
11
10
  Instagram,
@@ -27,13 +26,9 @@ const usePlugins = colorScheme => {
27
26
  inlinePopups: true
28
27
  }), (0, _ricos.pluginTextColor)({
29
28
  inlinePopups: true,
30
- onColorAdded: _richContentCommon.colorsCache.add,
31
- getUserColors: _richContentCommon.colorsCache.get,
32
29
  colorScheme
33
30
  }), (0, _ricos.pluginTextHighlight)({
34
31
  inlinePopups: true,
35
- onColorAdded: _richContentCommon.colorsCache.add,
36
- getUserColors: _richContentCommon.colorsCache.get,
37
32
  colorScheme
38
33
  }), (0, _ricos.pluginLineSpacing)({
39
34
  inlinePopups: true
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_ricos","_utils","_richContentCommon","_consts","Instagram","Twitter","TikTok","LinkPreviewProviders","event","booking","product","verticalEmbedProviders","layoutPlugin","type","showInQuickActions","showInToolbars","usePlugins","colorScheme","useMemo","pluginHeadings","inlinePopups","pluginTextColor","onColorAdded","colorsCache","add","getUserColors","get","pluginTextHighlight","pluginLineSpacing","pluginIndent","pluginLink","pluginImage","pluginVideo","pluginGallery","pluginDivider","pluginTable","toolbar","pluginAi","appDefId","CMS_RICOS_APP_ID","pluginFileUpload","pluginHtml","pluginLinkPreview","exposeEmbedButtons","pluginVerticalEmbed","pluginCodeBlock","pluginEmoji","pluginSpoiler","pluginGiphy","pluginCollapsibleList","pluginLinkButton","filter","isTruthy","exports"],"sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/plugins.ts"],"sourcesContent":["import { useMemo } from 'react';\n\nimport type { EditorPlugin, EditorPluginOptions } from '@wix/ricos';\nimport {\n pluginTextColor,\n pluginTextHighlight,\n pluginHeadings,\n pluginLink,\n pluginLineSpacing,\n pluginImage,\n pluginVideo,\n pluginDivider,\n pluginFileUpload,\n pluginHtml,\n pluginLinkPreview,\n LinkPreviewProviders,\n pluginVerticalEmbed,\n verticalEmbedProviders,\n pluginEmoji,\n pluginSpoiler,\n pluginGiphy,\n pluginCodeBlock,\n pluginGallery,\n pluginCollapsibleList,\n pluginIndent,\n pluginTable,\n pluginLinkButton,\n pluginAi,\n} from '@wix/ricos';\n\nimport { isTruthy } from '../../../../utils';\nimport type { ColorScheme } from '../../types';\n\nimport { colorsCache } from '../rich-content-common';\nimport { CMS_RICOS_APP_ID } from '../consts';\n\nconst { Instagram, Twitter, TikTok } = LinkPreviewProviders;\nconst { event, booking, product } = verticalEmbedProviders;\n\nconst layoutPlugin: EditorPluginOptions = {\n type: 'LAYOUT',\n showInQuickActions: true,\n showInToolbars: true,\n};\n\nexport const usePlugins = (colorScheme?: ColorScheme) => {\n return useMemo<(EditorPlugin | EditorPluginOptions)[]>(\n () =>\n [\n pluginHeadings({ inlinePopups: true }),\n pluginTextColor({\n inlinePopups: true,\n onColorAdded: colorsCache.add,\n getUserColors: colorsCache.get,\n colorScheme,\n }),\n pluginTextHighlight({\n inlinePopups: true,\n onColorAdded: colorsCache.add,\n getUserColors: colorsCache.get,\n colorScheme,\n }),\n pluginLineSpacing({ inlinePopups: true }),\n pluginIndent(),\n pluginLink(),\n pluginImage(),\n pluginVideo(),\n pluginGallery(),\n pluginDivider(),\n pluginTable({ toolbar: {} }),\n pluginAi({\n appDefId: CMS_RICOS_APP_ID,\n }) as unknown as EditorPlugin,\n pluginFileUpload(),\n pluginHtml(),\n pluginLinkPreview({\n exposeEmbedButtons: [Instagram, Twitter, TikTok],\n }),\n pluginVerticalEmbed({\n exposeEmbedButtons: [event, booking, product],\n }),\n pluginCodeBlock(),\n pluginEmoji(),\n pluginSpoiler(),\n pluginGiphy(),\n pluginCollapsibleList(),\n pluginLinkButton(),\n layoutPlugin,\n ].filter(isTruthy),\n [colorScheme],\n );\n};\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AA2BA,IAAAE,MAAA,GAAAF,OAAA;AAGA,IAAAG,kBAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AAEA,MAAM;EAAEK,SAAS;EAAEC,OAAO;EAAEC;AAAO,CAAC,GAAGC,2BAAoB;AAC3D,MAAM;EAAEC,KAAK;EAAEC,OAAO;EAAEC;AAAQ,CAAC,GAAGC,6BAAsB;AAE1D,MAAMC,YAAiC,GAAG;EACxCC,IAAI,EAAE,QAAQ;EACdC,kBAAkB,EAAE,IAAI;EACxBC,cAAc,EAAE;AAClB,CAAC;AAEM,MAAMC,UAAU,GAAIC,WAAyB,IAAK;EACvD,OAAO,IAAAC,cAAO,EACZ,MACE,CACE,IAAAC,qBAAc,EAAC;IAAEC,YAAY,EAAE;EAAK,CAAC,CAAC,EACtC,IAAAC,sBAAe,EAAC;IACdD,YAAY,EAAE,IAAI;IAClBE,YAAY,EAAEC,8BAAW,CAACC,GAAG;IAC7BC,aAAa,EAAEF,8BAAW,CAACG,GAAG;IAC9BT;EACF,CAAC,CAAC,EACF,IAAAU,0BAAmB,EAAC;IAClBP,YAAY,EAAE,IAAI;IAClBE,YAAY,EAAEC,8BAAW,CAACC,GAAG;IAC7BC,aAAa,EAAEF,8BAAW,CAACG,GAAG;IAC9BT;EACF,CAAC,CAAC,EACF,IAAAW,wBAAiB,EAAC;IAAER,YAAY,EAAE;EAAK,CAAC,CAAC,EACzC,IAAAS,mBAAY,EAAC,CAAC,EACd,IAAAC,iBAAU,EAAC,CAAC,EACZ,IAAAC,kBAAW,EAAC,CAAC,EACb,IAAAC,kBAAW,EAAC,CAAC,EACb,IAAAC,oBAAa,EAAC,CAAC,EACf,IAAAC,oBAAa,EAAC,CAAC,EACf,IAAAC,kBAAW,EAAC;IAAEC,OAAO,EAAE,CAAC;EAAE,CAAC,CAAC,EAC5B,IAAAC,eAAQ,EAAC;IACPC,QAAQ,EAAEC;EACZ,CAAC,CAAC,EACF,IAAAC,uBAAgB,EAAC,CAAC,EAClB,IAAAC,iBAAU,EAAC,CAAC,EACZ,IAAAC,wBAAiB,EAAC;IAChBC,kBAAkB,EAAE,CAACvC,SAAS,EAAEC,OAAO,EAAEC,MAAM;EACjD,CAAC,CAAC,EACF,IAAAsC,0BAAmB,EAAC;IAClBD,kBAAkB,EAAE,CAACnC,KAAK,EAAEC,OAAO,EAAEC,OAAO;EAC9C,CAAC,CAAC,EACF,IAAAmC,sBAAe,EAAC,CAAC,EACjB,IAAAC,kBAAW,EAAC,CAAC,EACb,IAAAC,oBAAa,EAAC,CAAC,EACf,IAAAC,kBAAW,EAAC,CAAC,EACb,IAAAC,4BAAqB,EAAC,CAAC,EACvB,IAAAC,uBAAgB,EAAC,CAAC,EAClBtC,YAAY,CACb,CAACuC,MAAM,CAACC,eAAQ,CAAC,EACpB,CAACnC,WAAW,CACd,CAAC;AACH,CAAC;AAACoC,OAAA,CAAArC,UAAA,GAAAA,UAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_ricos","_utils","_consts","Instagram","Twitter","TikTok","LinkPreviewProviders","event","booking","product","verticalEmbedProviders","layoutPlugin","type","showInQuickActions","showInToolbars","usePlugins","colorScheme","useMemo","pluginHeadings","inlinePopups","pluginTextColor","pluginTextHighlight","pluginLineSpacing","pluginIndent","pluginLink","pluginImage","pluginVideo","pluginGallery","pluginDivider","pluginTable","toolbar","pluginAi","appDefId","CMS_RICOS_APP_ID","pluginFileUpload","pluginHtml","pluginLinkPreview","exposeEmbedButtons","pluginVerticalEmbed","pluginCodeBlock","pluginEmoji","pluginSpoiler","pluginGiphy","pluginCollapsibleList","pluginLinkButton","filter","isTruthy","exports"],"sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/plugins.ts"],"sourcesContent":["import { useMemo } from 'react';\n\nimport type { EditorPlugin, EditorPluginOptions } from '@wix/ricos';\nimport {\n pluginTextColor,\n pluginTextHighlight,\n pluginHeadings,\n pluginLink,\n pluginLineSpacing,\n pluginImage,\n pluginVideo,\n pluginDivider,\n pluginFileUpload,\n pluginHtml,\n pluginLinkPreview,\n LinkPreviewProviders,\n pluginVerticalEmbed,\n verticalEmbedProviders,\n pluginEmoji,\n pluginSpoiler,\n pluginGiphy,\n pluginCodeBlock,\n pluginGallery,\n pluginCollapsibleList,\n pluginIndent,\n pluginTable,\n pluginLinkButton,\n pluginAi,\n} from '@wix/ricos';\n\nimport { isTruthy } from '../../../../utils';\nimport type { ColorScheme } from '../../types';\nimport { CMS_RICOS_APP_ID } from '../consts';\n\nconst { Instagram, Twitter, TikTok } = LinkPreviewProviders;\nconst { event, booking, product } = verticalEmbedProviders;\n\nconst layoutPlugin: EditorPluginOptions = {\n type: 'LAYOUT',\n showInQuickActions: true,\n showInToolbars: true,\n};\n\nexport const usePlugins = (colorScheme?: ColorScheme) => {\n return useMemo<(EditorPlugin | EditorPluginOptions)[]>(\n () =>\n [\n pluginHeadings({ inlinePopups: true }),\n pluginTextColor({\n inlinePopups: true,\n colorScheme,\n }),\n pluginTextHighlight({\n inlinePopups: true,\n colorScheme,\n }),\n pluginLineSpacing({ inlinePopups: true }),\n pluginIndent(),\n pluginLink(),\n pluginImage(),\n pluginVideo(),\n pluginGallery(),\n pluginDivider(),\n pluginTable({ toolbar: {} }),\n pluginAi({\n appDefId: CMS_RICOS_APP_ID,\n }) as unknown as EditorPlugin,\n pluginFileUpload(),\n pluginHtml(),\n pluginLinkPreview({\n exposeEmbedButtons: [Instagram, Twitter, TikTok],\n }),\n pluginVerticalEmbed({\n exposeEmbedButtons: [event, booking, product],\n }),\n pluginCodeBlock(),\n pluginEmoji(),\n pluginSpoiler(),\n pluginGiphy(),\n pluginCollapsibleList(),\n pluginLinkButton(),\n layoutPlugin,\n ].filter(isTruthy),\n [colorScheme],\n );\n};\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AA2BA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AAEA,MAAM;EAAEI,SAAS;EAAEC,OAAO;EAAEC;AAAO,CAAC,GAAGC,2BAAoB;AAC3D,MAAM;EAAEC,KAAK;EAAEC,OAAO;EAAEC;AAAQ,CAAC,GAAGC,6BAAsB;AAE1D,MAAMC,YAAiC,GAAG;EACxCC,IAAI,EAAE,QAAQ;EACdC,kBAAkB,EAAE,IAAI;EACxBC,cAAc,EAAE;AAClB,CAAC;AAEM,MAAMC,UAAU,GAAIC,WAAyB,IAAK;EACvD,OAAO,IAAAC,cAAO,EACZ,MACE,CACE,IAAAC,qBAAc,EAAC;IAAEC,YAAY,EAAE;EAAK,CAAC,CAAC,EACtC,IAAAC,sBAAe,EAAC;IACdD,YAAY,EAAE,IAAI;IAClBH;EACF,CAAC,CAAC,EACF,IAAAK,0BAAmB,EAAC;IAClBF,YAAY,EAAE,IAAI;IAClBH;EACF,CAAC,CAAC,EACF,IAAAM,wBAAiB,EAAC;IAAEH,YAAY,EAAE;EAAK,CAAC,CAAC,EACzC,IAAAI,mBAAY,EAAC,CAAC,EACd,IAAAC,iBAAU,EAAC,CAAC,EACZ,IAAAC,kBAAW,EAAC,CAAC,EACb,IAAAC,kBAAW,EAAC,CAAC,EACb,IAAAC,oBAAa,EAAC,CAAC,EACf,IAAAC,oBAAa,EAAC,CAAC,EACf,IAAAC,kBAAW,EAAC;IAAEC,OAAO,EAAE,CAAC;EAAE,CAAC,CAAC,EAC5B,IAAAC,eAAQ,EAAC;IACPC,QAAQ,EAAEC;EACZ,CAAC,CAAC,EACF,IAAAC,uBAAgB,EAAC,CAAC,EAClB,IAAAC,iBAAU,EAAC,CAAC,EACZ,IAAAC,wBAAiB,EAAC;IAChBC,kBAAkB,EAAE,CAAClC,SAAS,EAAEC,OAAO,EAAEC,MAAM;EACjD,CAAC,CAAC,EACF,IAAAiC,0BAAmB,EAAC;IAClBD,kBAAkB,EAAE,CAAC9B,KAAK,EAAEC,OAAO,EAAEC,OAAO;EAC9C,CAAC,CAAC,EACF,IAAA8B,sBAAe,EAAC,CAAC,EACjB,IAAAC,kBAAW,EAAC,CAAC,EACb,IAAAC,oBAAa,EAAC,CAAC,EACf,IAAAC,kBAAW,EAAC,CAAC,EACb,IAAAC,4BAAqB,EAAC,CAAC,EACvB,IAAAC,uBAAgB,EAAC,CAAC,EAClBjC,YAAY,CACb,CAACkC,MAAM,CAACC,eAAQ,CAAC,EACpB,CAAC9B,WAAW,CACd,CAAC;AACH,CAAC;AAAC+B,OAAA,CAAAhC,UAAA,GAAAA,UAAA","ignoreList":[]}