@wix/patterns-fields 1.111.0 → 1.113.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 (237) hide show
  1. package/dist/cjs/components/address/input/address-input.st.css.js +3 -3
  2. package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
  3. package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
  4. package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
  5. package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
  6. package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
  7. package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
  8. package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
  9. package/dist/cjs/components/color-view/cell-color-view.st.css.js +3 -3
  10. package/dist/cjs/components/color-view/cell-color-view.st.css.js.map +1 -1
  11. package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
  12. package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
  13. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
  14. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
  15. package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
  16. package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
  17. package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
  18. package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
  19. package/dist/cjs/components/field-validation-settings/field-validation-settings-input.js +80 -132
  20. package/dist/cjs/components/field-validation-settings/field-validation-settings-input.js.map +1 -1
  21. package/dist/cjs/components/field-validation-settings/field-validation-settings-input.st.css +10 -0
  22. package/dist/cjs/components/field-validation-settings/field-validation-settings-input.st.css.js +23 -0
  23. package/dist/cjs/components/field-validation-settings/field-validation-settings-input.st.css.js.map +1 -0
  24. package/dist/cjs/components/field-validation-settings/field-validation-settings.uni.driver.js +21 -3
  25. package/dist/cjs/components/field-validation-settings/field-validation-settings.uni.driver.js.map +1 -1
  26. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
  27. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
  28. package/dist/cjs/components/image/cell-image-edit.js +1 -0
  29. package/dist/cjs/components/image/cell-image-edit.js.map +1 -1
  30. package/dist/cjs/components/image/image-thumbnail.js +14 -11
  31. package/dist/cjs/components/image/image-thumbnail.js.map +1 -1
  32. package/dist/cjs/components/image/image-view.js +13 -10
  33. package/dist/cjs/components/image/image-view.js.map +1 -1
  34. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
  35. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
  36. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  37. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
  38. package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
  39. package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
  40. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
  41. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
  42. package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
  43. package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
  44. package/dist/cjs/components/media-image/overlays/overlay.st.css +5 -1
  45. package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
  46. package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
  47. package/dist/cjs/components/media-image/overlays/types.js.map +1 -1
  48. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  49. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
  50. package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js +3 -3
  51. package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
  52. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
  53. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  54. package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js +2 -2
  55. package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js.map +1 -1
  56. package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
  57. package/dist/cjs/components/reference/cell-reference-input.st.css.js.map +1 -1
  58. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +4 -4
  59. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
  60. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +3 -3
  61. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
  62. package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  63. 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
  64. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +3 -3
  65. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
  66. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +3 -3
  67. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
  68. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  69. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
  70. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +7 -7
  71. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
  72. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +5 -5
  73. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  74. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
  75. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
  76. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
  77. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
  78. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
  79. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
  80. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
  81. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
  82. package/dist/cjs/components/text/text-view.st.css.js +3 -3
  83. package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
  84. package/dist/cjs/components/video/cell-video-edit.js +20 -19
  85. package/dist/cjs/components/video/cell-video-edit.js.map +1 -1
  86. package/dist/cjs/styles.global.css +1 -1
  87. package/dist/cjs/types/validation.js.map +1 -1
  88. package/dist/cjs/validations/field-validation-settings.js +6 -0
  89. package/dist/cjs/validations/field-validation-settings.js.map +1 -1
  90. package/dist/cjs/validations/field-validation-settings.spec.js +16 -1
  91. package/dist/cjs/validations/field-validation-settings.spec.js.map +1 -1
  92. package/dist/esm/components/address/input/address-input.st.css.js +2 -2
  93. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
  94. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
  95. package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
  96. package/dist/esm/components/color-view/cell-color-view.st.css.js +2 -2
  97. package/dist/esm/components/color-view/cell-color-view.st.css.js.map +1 -1
  98. package/dist/esm/components/color-view/color-view.st.css.js +2 -2
  99. package/dist/esm/components/color-view/color-view.st.css.js.map +1 -1
  100. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
  101. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
  102. package/dist/esm/components/document/form-document-field.st.css.js +2 -2
  103. package/dist/esm/components/document/form-document-field.st.css.js.map +1 -1
  104. package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
  105. package/dist/esm/components/field-validation-settings/field-validation-settings-input.js +45 -37
  106. package/dist/esm/components/field-validation-settings/field-validation-settings-input.js.map +1 -1
  107. package/dist/esm/components/field-validation-settings/field-validation-settings-input.st.css +10 -0
  108. package/dist/esm/components/field-validation-settings/field-validation-settings-input.st.css.js +15 -0
  109. package/dist/esm/components/field-validation-settings/field-validation-settings-input.st.css.js.map +1 -0
  110. package/dist/esm/components/field-validation-settings/field-validation-settings.uni.driver.js +18 -4
  111. package/dist/esm/components/field-validation-settings/field-validation-settings.uni.driver.js.map +1 -1
  112. package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
  113. package/dist/esm/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
  114. package/dist/esm/components/image/cell-image-edit.js +1 -1
  115. package/dist/esm/components/image/cell-image-edit.js.map +1 -1
  116. package/dist/esm/components/image/image-thumbnail.js +6 -4
  117. package/dist/esm/components/image/image-thumbnail.js.map +1 -1
  118. package/dist/esm/components/image/image-view.js +3 -3
  119. package/dist/esm/components/image/image-view.js.map +1 -1
  120. package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
  121. package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  122. package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
  123. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
  124. package/dist/esm/components/media-image/media-image.st.css.js +3 -3
  125. package/dist/esm/components/media-image/overlays/overlay.st.css +5 -1
  126. package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
  127. package/dist/esm/components/media-image/overlays/overlay.st.css.js.map +1 -1
  128. package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  129. package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
  130. package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js +2 -2
  131. package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
  132. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
  133. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  134. package/dist/esm/components/reference/cell-multi-reference-input.st.css.js +2 -2
  135. package/dist/esm/components/reference/cell-multi-reference-input.st.css.js.map +1 -1
  136. package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
  137. package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
  138. package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
  139. package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
  140. package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
  141. package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  142. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
  143. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
  144. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  145. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
  146. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
  147. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  148. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
  149. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
  150. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
  151. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
  152. package/dist/esm/components/text/text-view.st.css.js +2 -2
  153. package/dist/esm/components/video/cell-video-edit.js +1 -1
  154. package/dist/esm/components/video/cell-video-edit.js.map +1 -1
  155. package/dist/esm/styles.global.css +1 -1
  156. package/dist/esm/validations/field-validation-settings.js +3 -0
  157. package/dist/esm/validations/field-validation-settings.js.map +1 -1
  158. package/dist/esm/validations/field-validation-settings.spec.js +9 -1
  159. package/dist/esm/validations/field-validation-settings.spec.js.map +1 -1
  160. package/dist/types/components/color-view/cell-color-view.st.css.d.ts.map +1 -1
  161. package/dist/types/components/color-view/color-view.st.css.d.ts.map +1 -1
  162. package/dist/types/components/delete-dialog/delete-dialog.st.css.d.ts.map +1 -1
  163. package/dist/types/components/document/form-document-field.st.css.d.ts.map +1 -1
  164. package/dist/types/components/field-validation-settings/field-validation-settings-input.d.ts.map +1 -1
  165. package/dist/types/components/field-validation-settings/field-validation-settings-input.st.css.d.ts +14 -0
  166. package/dist/types/components/field-validation-settings/field-validation-settings-input.st.css.d.ts.map +1 -0
  167. package/dist/types/components/field-validation-settings/field-validation-settings.uni.driver.d.ts +18 -69
  168. package/dist/types/components/field-validation-settings/field-validation-settings.uni.driver.d.ts.map +1 -1
  169. package/dist/types/components/highlighted-text/highlighted-text.st.css.d.ts.map +1 -1
  170. package/dist/types/components/image/image-thumbnail.d.ts +1 -0
  171. package/dist/types/components/image/image-thumbnail.d.ts.map +1 -1
  172. package/dist/types/components/image/image-view.d.ts +1 -0
  173. package/dist/types/components/image/image-view.d.ts.map +1 -1
  174. package/dist/types/components/media-image/overlays/overlay.st.css.d.ts.map +1 -1
  175. package/dist/types/components/media-image/overlays/types.d.ts +1 -1
  176. package/dist/types/components/media-image/overlays/types.d.ts.map +1 -1
  177. package/dist/types/components/media-tag/web-media-tag/media-tag.st.css.d.ts.map +1 -1
  178. package/dist/types/components/multi-document/cell-multi-document-edit.st.css.d.ts.map +1 -1
  179. package/dist/types/components/multi-document/multi-document-input/form-multi-document.st.css.d.ts.map +1 -1
  180. package/dist/types/components/reference/cell-multi-reference-input.st.css.d.ts.map +1 -1
  181. package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.d.ts.map +1 -1
  182. package/dist/types/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.d.ts.map +1 -1
  183. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
  184. package/dist/types/components/video/cell-video-edit.d.ts.map +1 -1
  185. package/dist/types/types/validation.d.ts +14 -4
  186. package/dist/types/types/validation.d.ts.map +1 -1
  187. package/dist/types/validations/field-validation-settings.d.ts.map +1 -1
  188. package/package.json +4 -4
  189. package/src/__tests__/components/field-validation-settings/field-validation-settings-input.spec.tsx +106 -35
  190. package/src/components/address/input/address-input.st.css.ts +2 -2
  191. package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
  192. package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
  193. package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
  194. package/src/components/color-view/cell-color-view.st.css.ts +2 -2
  195. package/src/components/color-view/color-view.st.css.ts +2 -2
  196. package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
  197. package/src/components/document/form-document-field.st.css.ts +2 -2
  198. package/src/components/exclamation/exclamation.st.css.ts +2 -2
  199. package/src/components/field-validation-settings/field-validation-settings-input.st.css +10 -0
  200. package/src/components/field-validation-settings/field-validation-settings-input.st.css.ts +25 -0
  201. package/src/components/field-validation-settings/field-validation-settings-input.tsx +88 -103
  202. package/src/components/field-validation-settings/field-validation-settings.uni.driver.ts +29 -15
  203. package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
  204. package/src/components/image/cell-image-edit.tsx +1 -1
  205. package/src/components/image/image-thumbnail.tsx +10 -6
  206. package/src/components/image/image-view.tsx +4 -1
  207. package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
  208. package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
  209. package/src/components/media-control/paste-url-button.st.css.ts +2 -2
  210. package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
  211. package/src/components/media-image/media-image.st.css.ts +3 -3
  212. package/src/components/media-image/overlays/overlay.st.css +5 -1
  213. package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
  214. package/src/components/media-image/overlays/types.ts +1 -1
  215. package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
  216. package/src/components/multi-document/cell-multi-document-edit.st.css.ts +2 -2
  217. package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
  218. package/src/components/reference/cell-multi-reference-input.st.css.ts +2 -2
  219. package/src/components/reference/cell-reference-input.st.css.ts +2 -2
  220. package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
  221. package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
  222. package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
  223. package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
  224. package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
  225. package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
  226. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
  227. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
  228. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
  229. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
  230. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
  231. package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
  232. package/src/components/text/text-view.st.css.ts +2 -2
  233. package/src/components/video/cell-video-edit.tsx +5 -1
  234. package/src/styles.global.css +1 -1
  235. package/src/types/validation.ts +12 -4
  236. package/src/validations/field-validation-settings.spec.ts +12 -1
  237. package/src/validations/field-validation-settings.ts +4 -0
@@ -1 +1 @@
1
- .addressinput3691315630__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput3691315630__tableAddressInput>div{padding:0!important;width:100%}.addressinput3691315630__tableAddressInput:focus-within{margin-left:2px}.actionsmenu2109694853__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield2900170836__addItem{height:120px!important;box-sizing:border-box}.formaudiofield2900170836__addItem:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, 8px)}.formaudiofield2900170836__addItem.formaudiofield2900170836--disabled{pointer-events:auto!important}.formaudiofield2900170836__addItem.formaudiofield2900170836--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield2900170836__mediaTitle{line-height:18px!important}.audioplayer3665590476__root{width:fit-content;z-index:1000;position:fixed!important;bottom:42px;right:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.cellcolorview156572190__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview943355800__view{width:100%}.colorview943355800__fillPreview{flex-shrink:0}.colorview943355800__view .colorview943355800__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog3470481623__layout{max-width:510px!important}.formdocumentfield2013326977__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield2013326977__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield2013326977__textWidth{max-width:calc(100% - 196px)}.formdocumentfield2013326977__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield2013326977__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield2013326977__addDocument.formdocumentfield2013326977--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield2013326977__addItemWrapper:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, calc(2px * 4))}.exclamation132058364__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation132058364__exclamation.exclamation132058364---type-7-warning:not(.exclamation132058364--customSize),.exclamation132058364__exclamation.exclamation132058364---type-5-error:not(.exclamation132058364--customSize){width:24px;height:24px}.exclamation132058364__exclamation.exclamation132058364---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation132058364__exclamation.exclamation132058364---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation132058364__actions{display:flex;flex-direction:column}.exclamation132058364__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation132058364__action+.exclamation132058364__action{margin-top:6px}.exclamation132058364__action.exclamation132058364--accented{color:var(--wds-color-blue-100)}.exclamation132058364__action.exclamation132058364--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext2597848259__root.highlightedtext2597848259--highlightedBackground{animation:highlightedtext2597848259__highlighted 150ms ease-out 1 forwards}.highlightedtext2597848259__substring.highlightedtext2597848259--isHighlighted{animation:highlightedtext2597848259__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext2597848259__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext2597848259__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay2287490407__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay2287490407__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell1493028595__root{width:100%;height:100%}.pasteurlbutton4200227506__root{margin-top:6px}.pasteurlbutton4200227506__iconButtonTooltip{height:max-content}.pasteurlbutton4200227506__iconButton{width:24px;height:24px}.formmediagalleryfield430290838__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield430290838__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield430290838__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield430290838__addItem{box-sizing:border-box}.formmediagalleryfield430290838__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield430290838__image.formmediagalleryfield430290838--withMarginRight{margin-right:3px}.formmediagalleryfield430290838__image.formmediagalleryfield430290838--withMarginTop{margin-top:3px}.formmediagalleryfield430290838__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield430290838__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage1101490151__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage1101490151__root.mediaimage1101490151--error{--mediaimage1101490151-from:calc(50% - 0.5px);--mediaimage1101490151-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage1101490151-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1101490151-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1101490151-to),transparent var(--mediaimage1101490151-to))}.mediaimage1101490151__root.mediaimage1101490151--error>*{opacity:0}.overlay533257831__iconOverlay{position:absolute;color:var(--wds-color-white, var(--wsr-color-D80, #FFFFFF));background-color:transparent;filter:drop-shadow(0 1px 1px rgba(22,45,61,.6));-webkit-filter:drop-shadow(0 1px 1px rgba(22,45,61,.6))}.overlay533257831__iconOverlay.overlay533257831---size-5-small{width:20px;height:20px}.overlay533257831__iconOverlay.overlay533257831---size-6-medium{width:24px;height:24px}.overlay533257831__iconOverlay.overlay533257831---size-5-large{width:28px;height:28px}.overlay533257831__iconOverlay.overlay533257831---placement-7-topLeft{top:2px;left:2px}.overlay533257831__iconOverlay.overlay533257831---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag1607856957__root{box-sizing:border-box;padding:3px 6px 3px 3px;border-radius:3px;max-height:24px;min-width:54px;max-width:100%;background-color:var(--wds-color-blue-400, var(--wsr-color-B40))}.cellmultidocumentedit290778729__chipTrigger{display:flex;align-items:center;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:0 0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}.formmultidocument232573991__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument232573991__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument232573991__viewRoot>div:first-child .formmultidocument232573991__singleViewWrapper{border-top-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-top-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument232573991__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument232573991__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument232573991__addDocumentButton{border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument232573991__addDocumentButton:focus-within{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.cellmultireferenceinput70067226__root{width:100%;box-sizing:border-box;--wds-input-border-color:transparent;--wds-input-border-color-hover:transparent;--wds-input-border-color-focus:transparent;--wds-input-background-fill-default:transparent;--wds-input-background-fill-hover:transparent;--wds-input-shadow-focus-standard:0 0 0 0 transparent}.cellreferenceinput1608182147__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput1608182147__autocomplete{width:100%}.richcontentdefaultvalueinput3835248619__richContentEditorContainer .richcontentdefaultvalueinput3835248619__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput727263717__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richcontentforminput727263717__root:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richcontentforminput727263717__root .richcontentforminput727263717__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput3423908973__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput3423908973__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal3389559131__modalContent{display:flex;flex-direction:column;position:relative;height:100%;width:782px;background-color:var(--wds-color-white, var(--wsr-color-D80, #ffffff));border-radius:var(--wds-border-radius-300, var(--wsr-border-radius-06, 6px));margin-top:24px}.publishloader134882398__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton2944895381__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton2944895381__root button{border-radius:6px!important}.richcontenteditor1716567060__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor1716567060__root,.richcontenteditor1716567060__toolbarContainer,.richcontenteditor1716567060__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor1716567060__toolbarContainer div{box-sizing:border-box}.richcontenteditor1716567060__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor1716567060__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor1716567060__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor1716567060__modalEditor .richcontenteditor1716567060__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor1716567060__modalEditor .richcontenteditor1716567060__footerToolbarContainer{margin-top:9px}.richcontenteditor1716567060__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor1716567060__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar934747531__toolbar{border-top:1px solid rgba(51,51,51,.1);z-index:2;margin-right:auto;padding-left:6px;margin-left:auto;position:relative;height:40px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box}.richcontenttoolbar934747531__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar934747531__toolbarButton:disabled{color:graytext}.richcontenttoolbar934747531__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar934747531__toolbar label{padding:0 8px}.richcontentviewer173357374__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer173357374__root.richcontentviewer173357374--isFullScreen{padding:12px 24px}.richcontentviewer173357374__root:not(.richcontentviewer173357374--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer173357374__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer173357374__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer173357374__modalViewer{min-width:592px;overflow:auto}.richtexteditor916086795__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor916086795__root.richtexteditor916086795---border-4-none{border:0}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard{border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard:focus,.richtexteditor916086795__root.richtexteditor916086795---border-8-standard:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---status-5-error:focus,.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---status-5-error:focus-within{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214));box-shadow:var(--wds-input-shadow-focus-destructive, 0 0 0 3px var(--wsr-color-R40, #FBD0CD))}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---status-7-warning:focus,.richtexteditor916086795__root.richtexteditor916086795---border-8-standard.richtexteditor916086795---status-7-warning:focus-within{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700));box-shadow:var(--wds-input-shadow-focus-warning, 0 0 0 3px var(--wsr-color-Y40, #FFE2A5))}.richtexteditor916086795__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor916086795__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor916086795__editor.richtexteditor916086795--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor916086795__editor:not(.richtexteditor916086795--isFullScreen){max-height:80vh}.richtexteditor916086795__editor>div{flex:1;max-width:100%}.toolbar3132967933__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar3132967933__item{display:flex;margin-right:12px}.toolbar3132967933__item svg,.toolbar3132967933__item svg path,.toolbar3132967933__item svg text{color:inherit;fill:currentColor}.toolbar3132967933__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar3132967933__clearFormatting{margin-left:auto}.toolbar3132967933__fullScreen{margin-right:0}.toolbar3132967933__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3132967933__dropdownItemContent.toolbar3132967933--selected .toolbar3132967933__dropdownItemTitle,.toolbar3132967933__dropdownItemContent.toolbar3132967933--selected .toolbar3132967933__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3132967933__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3132967933__dropdownHeaderOne{font-weight:var(--wds-font-weight-bold)!important;font-size:36px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))!important}.toolbar3132967933__dropdownHeaderTwo{font-weight:var(--wds-font-weight-bold)!important;font-size:32px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3132967933__dropdownHeaderThree{font-weight:var(--wds-font-weight-medium)!important;font-size:28px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3132967933__dropdownHeaderFour{font-weight:var(--wds-font-weight-bold)!important;font-size:24px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3132967933__dropdownHeaderFive{font-weight:var(--wds-font-weight-bold)!important;font-size:22px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3132967933__dropdownHeaderSix{font-weight:var(--wds-font-weight-medium)!important;font-size:20px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3132967933__dropdownParagraphOne{font-weight:var(--wds-font-weight-medium)!important;font-size:18px!important;line-height:1.33!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3132967933__dropdownNormalText{font-weight:var(--wds-font-weight-medium)!important;font-size:var(--wds-font-size-500)!important;line-height:var(--wds-font-line-height-300)!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3132967933__dropdownParagraphThree{font-weight:var(--wds-font-weight-medium)!important;font-size:14px!important;line-height:1.29!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.textview4056341587__textView::after{content:"";display:block}.richeditor1028886106__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium, 500);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))}.richeditor1028886106__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100, var(--wsr-color-D10, #131720));background:var(--wds-color-black-700, var(--wsr-color-D70, #edeef2))}.richeditor1028886106__editor .DraftEditor-root{width:100%;height:100%}.richeditor1028886106__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor1028886106__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richeditor1028886106__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor1028886106__editor .public-DraftEditor-content ol,.richeditor1028886106__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor1028886106__editor .public-DraftEditor-content a,.richeditor1028886106__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor1028886106__header-one:not(li),.richeditor1028886106__header-two:not(li),.richeditor1028886106__header-three:not(li),.richeditor1028886106__header-four:not(li),.richeditor1028886106__header-five:not(li),.richeditor1028886106__header-six:not(li){margin-block:0;margin:0}.richeditor1028886106__header-one,.richeditor1028886106__editor li.richeditor1028886106__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__header-two,.richeditor1028886106__editor li.richeditor1028886106__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__header-three,.richeditor1028886106__editor li.richeditor1028886106__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__header-four,.richeditor1028886106__editor li.richeditor1028886106__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__header-five,.richeditor1028886106__editor li.richeditor1028886106__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__header-six,.richeditor1028886106__editor li.richeditor1028886106__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__paragraph-one,.richeditor1028886106__editor li.richeditor1028886106__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__unstyled,.richeditor1028886106__editor li.richeditor1028886106__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__paragraph-three,.richeditor1028886106__editor li.richeditor1028886106__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__editor li.richeditor1028886106__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__editor li.richeditor1028886106__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor1028886106__editor li.richeditor1028886106__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__editor li.richeditor1028886106__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor1028886106__editor li.richeditor1028886106__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__editor li.richeditor1028886106__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor1028886106__editor li.richeditor1028886106__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__editor li.richeditor1028886106__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor1028886106__editor li.richeditor1028886106__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__editor li.richeditor1028886106__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor1028886106__editor li.richeditor1028886106__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__editor li.richeditor1028886106__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor1028886106__editor li.richeditor1028886106__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__editor li.richeditor1028886106__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1028886106__editor li.richeditor1028886106__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth0:first-child{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+10){margin-inline-start:3ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+100){margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+1000){margin-inline-start:5ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth1:first-child{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+10){margin-inline-start:5ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+100){margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+1000){margin-inline-start:7ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth2:first-child{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+10){margin-inline-start:7ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+100){margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+1000){margin-inline-start:9ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth3:first-child{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+10){margin-inline-start:9ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+100){margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+1000){margin-inline-start:11ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth4:first-child{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+10){margin-inline-start:11ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+100){margin-inline-start:12ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+1000){margin-inline-start:13ch}.richeditor1028886106__align-left{text-align:left;align-self:flex-start}.richeditor1028886106__align-right{text-align:right;align-self:flex-end}.richeditor1028886106__align-center{text-align:center;align-self:center}.richeditor1028886106__align-justify{text-align:justify;align-self:stretch}.richeditor1028886106__withMargin{display:inline-block}.richeditor1028886106__dir-rtl,.richeditor1028886106__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor1028886106__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
1
+ .addressinput3163898159__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput3163898159__tableAddressInput>div{padding:0!important;width:100%}.addressinput3163898159__tableAddressInput:focus-within{margin-left:2px}.actionsmenu2213481724__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield1924360089__addItem{height:120px!important;box-sizing:border-box}.formaudiofield1924360089__addItem:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, 8px)}.formaudiofield1924360089__addItem.formaudiofield1924360089--disabled{pointer-events:auto!important}.formaudiofield1924360089__addItem.formaudiofield1924360089--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield1924360089__mediaTitle{line-height:18px!important}.audioplayer3411372592__root{width:fit-content;z-index:1000;position:fixed!important;bottom:42px;right:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.cellcolorview3913512114__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview3138484826__view{width:100%}.colorview3138484826__fillPreview{flex-shrink:0}.colorview3138484826__view .colorview3138484826__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog644217855__layout{max-width:510px!important}.formdocumentfield600942549__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield600942549__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield600942549__textWidth{max-width:calc(100% - 196px)}.formdocumentfield600942549__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield600942549__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield600942549__addDocument.formdocumentfield600942549--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield600942549__addItemWrapper:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, calc(2px * 4))}.exclamation297875390__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation297875390__exclamation.exclamation297875390---type-7-warning:not(.exclamation297875390--customSize),.exclamation297875390__exclamation.exclamation297875390---type-5-error:not(.exclamation297875390--customSize){width:24px;height:24px}.exclamation297875390__exclamation.exclamation297875390---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation297875390__exclamation.exclamation297875390---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation297875390__actions{display:flex;flex-direction:column}.exclamation297875390__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation297875390__action+.exclamation297875390__action{margin-top:6px}.exclamation297875390__action.exclamation297875390--accented{color:var(--wds-color-blue-100)}.exclamation297875390__action.exclamation297875390--accented:hover{color:var(--wds-color-blue-200)}.fieldvalidationsettingsinput3420616655__specificValuesInput .wds-input-with-tags__input::after{inset:0}.fieldvalidationsettingsinput3420616655__specificValuesInput .wds-input-with-tags__hidden-div{overflow:hidden}.highlightedtext956603166__root.highlightedtext956603166--highlightedBackground{animation:highlightedtext956603166__highlighted 150ms ease-out 1 forwards}.highlightedtext956603166__substring.highlightedtext956603166--isHighlighted{animation:highlightedtext956603166__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext956603166__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext956603166__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay3606587190__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay3606587190__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell1208112184__root{width:100%;height:100%}.pasteurlbutton3361801639__root{margin-top:6px}.pasteurlbutton3361801639__iconButtonTooltip{height:max-content}.pasteurlbutton3361801639__iconButton{width:24px;height:24px}.formmediagalleryfield167056594__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield167056594__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield167056594__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield167056594__addItem{box-sizing:border-box}.formmediagalleryfield167056594__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield167056594__image.formmediagalleryfield167056594--withMarginRight{margin-right:3px}.formmediagalleryfield167056594__image.formmediagalleryfield167056594--withMarginTop{margin-top:3px}.formmediagalleryfield167056594__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield167056594__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage3684956147__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage3684956147__root.mediaimage3684956147--error{--mediaimage3684956147-from:calc(50% - 0.5px);--mediaimage3684956147-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage3684956147-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3684956147-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3684956147-to),transparent var(--mediaimage3684956147-to))}.mediaimage3684956147__root.mediaimage3684956147--error>*{opacity:0}.overlay2682897818__iconOverlay{position:absolute;color:var(--wds-color-white, var(--wsr-color-D80, #FFFFFF));background-color:transparent;filter:drop-shadow(0 1px 1px rgba(22,45,61,.6));-webkit-filter:drop-shadow(0 1px 1px rgba(22,45,61,.6))}.overlay2682897818__iconOverlay.overlay2682897818---size-4-tiny{width:12px;height:12px}.overlay2682897818__iconOverlay.overlay2682897818---size-5-small{width:20px;height:20px}.overlay2682897818__iconOverlay.overlay2682897818---size-6-medium{width:24px;height:24px}.overlay2682897818__iconOverlay.overlay2682897818---size-5-large{width:28px;height:28px}.overlay2682897818__iconOverlay.overlay2682897818---placement-7-topLeft{top:2px;left:2px}.overlay2682897818__iconOverlay.overlay2682897818---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag175843951__root{box-sizing:border-box;padding:3px 6px 3px 3px;border-radius:3px;max-height:24px;min-width:54px;max-width:100%;background-color:var(--wds-color-blue-400, var(--wsr-color-B40))}.cellmultidocumentedit2956366936__chipTrigger{display:flex;align-items:center;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:0 0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}.formmultidocument3508158227__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument3508158227__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument3508158227__viewRoot>div:first-child .formmultidocument3508158227__singleViewWrapper{border-top-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-top-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument3508158227__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument3508158227__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument3508158227__addDocumentButton{border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument3508158227__addDocumentButton:focus-within{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.cellmultireferenceinput1231369098__root{width:100%;box-sizing:border-box;--wds-input-border-color:transparent;--wds-input-border-color-hover:transparent;--wds-input-border-color-focus:transparent;--wds-input-background-fill-default:transparent;--wds-input-background-fill-hover:transparent;--wds-input-shadow-focus-standard:0 0 0 0 transparent}.cellreferenceinput3745983882__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput3745983882__autocomplete{width:100%}.richcontentdefaultvalueinput235055491__richContentEditorContainer .richcontentdefaultvalueinput235055491__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput2080328703__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richcontentforminput2080328703__root:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richcontentforminput2080328703__root .richcontentforminput2080328703__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput2764620063__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput2764620063__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal2520154404__modalContent{display:flex;flex-direction:column;position:relative;height:100%;width:782px;background-color:var(--wds-color-white, var(--wsr-color-D80, #ffffff));border-radius:var(--wds-border-radius-300, var(--wsr-border-radius-06, 6px));margin-top:24px}.publishloader101836242__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton1200396578__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton1200396578__root button{border-radius:6px!important}.richcontenteditor2848990366__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor2848990366__root,.richcontenteditor2848990366__toolbarContainer,.richcontenteditor2848990366__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor2848990366__toolbarContainer div{box-sizing:border-box}.richcontenteditor2848990366__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor2848990366__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor2848990366__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor2848990366__modalEditor .richcontenteditor2848990366__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor2848990366__modalEditor .richcontenteditor2848990366__footerToolbarContainer{margin-top:9px}.richcontenteditor2848990366__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor2848990366__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar1754261476__toolbar{border-top:1px solid rgba(51,51,51,.1);z-index:2;margin-right:auto;padding-left:6px;margin-left:auto;position:relative;height:40px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box}.richcontenttoolbar1754261476__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar1754261476__toolbarButton:disabled{color:graytext}.richcontenttoolbar1754261476__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar1754261476__toolbar label{padding:0 8px}.richcontentviewer557136884__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer557136884__root.richcontentviewer557136884--isFullScreen{padding:12px 24px}.richcontentviewer557136884__root:not(.richcontentviewer557136884--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer557136884__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer557136884__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer557136884__modalViewer{min-width:592px;overflow:auto}.richtexteditor170303648__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor170303648__root.richtexteditor170303648---border-4-none{border:0}.richtexteditor170303648__root.richtexteditor170303648---border-8-standard{border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richtexteditor170303648__root.richtexteditor170303648---border-8-standard:focus,.richtexteditor170303648__root.richtexteditor170303648---border-8-standard:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richtexteditor170303648__root.richtexteditor170303648---border-8-standard.richtexteditor170303648---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor170303648__root.richtexteditor170303648---border-8-standard.richtexteditor170303648---status-5-error:focus,.richtexteditor170303648__root.richtexteditor170303648---border-8-standard.richtexteditor170303648---status-5-error:focus-within{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214));box-shadow:var(--wds-input-shadow-focus-destructive, 0 0 0 3px var(--wsr-color-R40, #FBD0CD))}.richtexteditor170303648__root.richtexteditor170303648---border-8-standard.richtexteditor170303648---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor170303648__root.richtexteditor170303648---border-8-standard.richtexteditor170303648---status-7-warning:focus,.richtexteditor170303648__root.richtexteditor170303648---border-8-standard.richtexteditor170303648---status-7-warning:focus-within{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700));box-shadow:var(--wds-input-shadow-focus-warning, 0 0 0 3px var(--wsr-color-Y40, #FFE2A5))}.richtexteditor170303648__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor170303648__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor170303648__editor.richtexteditor170303648--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor170303648__editor:not(.richtexteditor170303648--isFullScreen){max-height:80vh}.richtexteditor170303648__editor>div{flex:1;max-width:100%}.toolbar2427989604__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar2427989604__item{display:flex;margin-right:12px}.toolbar2427989604__item svg,.toolbar2427989604__item svg path,.toolbar2427989604__item svg text{color:inherit;fill:currentColor}.toolbar2427989604__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar2427989604__clearFormatting{margin-left:auto}.toolbar2427989604__fullScreen{margin-right:0}.toolbar2427989604__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar2427989604__dropdownItemContent.toolbar2427989604--selected .toolbar2427989604__dropdownItemTitle,.toolbar2427989604__dropdownItemContent.toolbar2427989604--selected .toolbar2427989604__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar2427989604__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar2427989604__dropdownHeaderOne{font-weight:var(--wds-font-weight-bold)!important;font-size:36px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))!important}.toolbar2427989604__dropdownHeaderTwo{font-weight:var(--wds-font-weight-bold)!important;font-size:32px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2427989604__dropdownHeaderThree{font-weight:var(--wds-font-weight-medium)!important;font-size:28px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2427989604__dropdownHeaderFour{font-weight:var(--wds-font-weight-bold)!important;font-size:24px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2427989604__dropdownHeaderFive{font-weight:var(--wds-font-weight-bold)!important;font-size:22px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2427989604__dropdownHeaderSix{font-weight:var(--wds-font-weight-medium)!important;font-size:20px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2427989604__dropdownParagraphOne{font-weight:var(--wds-font-weight-medium)!important;font-size:18px!important;line-height:1.33!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2427989604__dropdownNormalText{font-weight:var(--wds-font-weight-medium)!important;font-size:var(--wds-font-size-500)!important;line-height:var(--wds-font-line-height-300)!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2427989604__dropdownParagraphThree{font-weight:var(--wds-font-weight-medium)!important;font-size:14px!important;line-height:1.29!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.textview1239472612__textView::after{content:"";display:block}.richeditor1640050632__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium, 500);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))}.richeditor1640050632__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100, var(--wsr-color-D10, #131720));background:var(--wds-color-black-700, var(--wsr-color-D70, #edeef2))}.richeditor1640050632__editor .DraftEditor-root{width:100%;height:100%}.richeditor1640050632__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor1640050632__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richeditor1640050632__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor1640050632__editor .public-DraftEditor-content ol,.richeditor1640050632__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor1640050632__editor .public-DraftEditor-content a,.richeditor1640050632__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor1640050632__header-one:not(li),.richeditor1640050632__header-two:not(li),.richeditor1640050632__header-three:not(li),.richeditor1640050632__header-four:not(li),.richeditor1640050632__header-five:not(li),.richeditor1640050632__header-six:not(li){margin-block:0;margin:0}.richeditor1640050632__header-one,.richeditor1640050632__editor li.richeditor1640050632__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__header-two,.richeditor1640050632__editor li.richeditor1640050632__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__header-three,.richeditor1640050632__editor li.richeditor1640050632__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__header-four,.richeditor1640050632__editor li.richeditor1640050632__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__header-five,.richeditor1640050632__editor li.richeditor1640050632__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__header-six,.richeditor1640050632__editor li.richeditor1640050632__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__paragraph-one,.richeditor1640050632__editor li.richeditor1640050632__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__unstyled,.richeditor1640050632__editor li.richeditor1640050632__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__paragraph-three,.richeditor1640050632__editor li.richeditor1640050632__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__editor li.richeditor1640050632__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__editor li.richeditor1640050632__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor1640050632__editor li.richeditor1640050632__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__editor li.richeditor1640050632__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor1640050632__editor li.richeditor1640050632__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__editor li.richeditor1640050632__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor1640050632__editor li.richeditor1640050632__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__editor li.richeditor1640050632__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor1640050632__editor li.richeditor1640050632__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__editor li.richeditor1640050632__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor1640050632__editor li.richeditor1640050632__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__editor li.richeditor1640050632__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor1640050632__editor li.richeditor1640050632__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__editor li.richeditor1640050632__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1640050632__editor li.richeditor1640050632__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth0:first-child{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+10){margin-inline-start:3ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+100){margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+1000){margin-inline-start:5ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth1:first-child{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+10){margin-inline-start:5ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+100){margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+1000){margin-inline-start:7ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth2:first-child{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+10){margin-inline-start:7ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+100){margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+1000){margin-inline-start:9ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth3:first-child{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+10){margin-inline-start:9ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+100){margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+1000){margin-inline-start:11ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth4:first-child{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+10){margin-inline-start:11ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+100){margin-inline-start:12ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+1000){margin-inline-start:13ch}.richeditor1640050632__align-left{text-align:left;align-self:flex-start}.richeditor1640050632__align-right{text-align:right;align-self:flex-end}.richeditor1640050632__align-center{text-align:center;align-self:center}.richeditor1640050632__align-justify{text-align:justify;align-self:stretch}.richeditor1640050632__withMargin{display:inline-block}.richeditor1640050632__dir-rtl,.richeditor1640050632__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor1640050632__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../src/types/validation.ts"],"sourcesContent":["import type { SpecificValue } from '@wix/bex-core';\n\nexport type RequiredValidationRule = {\n required: boolean;\n};\n\nexport type CharactersLimitValidationRule = {\n charactersLimit: { min?: number; max?: number };\n};\n\nexport type SpecificValuesValidationRule = {\n specificValues: SpecificValue[];\n};\n\nexport type PatternValidationRule = {\n pattern: string;\n};\n\nexport interface RequiredFieldValidationRuleConfig {\n type: 'required';\n label: string;\n tooltip: string;\n}\n\nexport interface CharactersLimitFieldValidationRuleConfig {\n type: 'charactersLimit';\n label: string;\n tooltip: string;\n minLabel: string;\n maxLabel: string;\n separator: string;\n outOfBoundsError(min: number, max: number): string;\n maxBelowMinError: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport interface SpecificValuesFieldValidationRuleConfig {\n type: 'specificValues';\n label: string;\n tooltip: string;\n blankError: string;\n duplicateError: string;\n addButton: string;\n removeButton: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport interface PatternFieldValidationRuleConfig {\n type: 'pattern';\n label: string;\n tooltip: string;\n inputLabel: string;\n invalidError: string;\n /** Shown for a pattern that compiles but is refused because matching it\n * could hang the page. Falls back to `invalidError`. */\n unsafeError?: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport type FieldValidationRuleConfig =\n | RequiredFieldValidationRuleConfig\n | CharactersLimitFieldValidationRuleConfig\n | SpecificValuesFieldValidationRuleConfig\n | PatternFieldValidationRuleConfig;\n\nexport type FieldValidationRule = FieldValidationRuleConfig['type'];\n\nexport interface FieldValidationSettingsValue {\n required?: boolean;\n charactersLimit?: { min?: number; max?: number };\n specificValues?: SpecificValue[];\n pattern?: string;\n}\n\nexport type FieldValidationViolation =\n | {\n rule: 'charactersLimit';\n type: 'outOfBounds';\n bound: 'min' | 'max';\n min: number;\n max: number;\n }\n | { rule: 'charactersLimit'; type: 'maxBelowMin' }\n | {\n rule: 'specificValues';\n type: 'blank' | 'duplicate';\n optionId: string;\n }\n | {\n rule: 'specificValues' | 'charactersLimit' | 'pattern';\n type: 'exclusiveRules';\n }\n | { rule: 'pattern'; type: 'invalidPattern' | 'unsafePattern' };\n\nexport type DataValidationRules = Partial<\n RequiredValidationRule &\n CharactersLimitValidationRule &\n SpecificValuesValidationRule &\n PatternValidationRule\n>;\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["../../../src/types/validation.ts"],"sourcesContent":["import type { SpecificValue } from '@wix/bex-core';\n\nexport type RequiredValidationRule = {\n required: boolean;\n};\n\nexport type CharactersLimitValidationRule = {\n charactersLimit: { min?: number; max?: number };\n};\n\nexport type SpecificValuesValidationRule = {\n specificValues: SpecificValue[];\n};\n\nexport type PatternValidationRule = {\n pattern: string;\n};\n\nexport interface RequiredFieldValidationRuleConfig {\n type: 'required';\n label: string;\n tooltip: string;\n}\n\nexport interface CharactersLimitFieldValidationRuleConfig {\n type: 'charactersLimit';\n label: string;\n tooltip: string;\n minLabel: string;\n maxLabel: string;\n separator: string;\n outOfBoundsError(min: number, max: number): string;\n maxBelowMinError: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport interface SpecificValuesFieldValidationRuleConfig {\n type: 'specificValues';\n label: string;\n tooltip: string;\n optionsLabel?: string;\n /** Replaced by the error while one shows. */\n optionsHint?: string;\n emptyError?: string;\n /** For drafts that arrive with a blank or repeated value; the input never adds one. */\n blankError?: string;\n duplicateError?: string;\n /** @deprecated No longer rendered. */\n addButton?: string;\n /** @deprecated No longer rendered. */\n removeButton?: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport interface PatternFieldValidationRuleConfig {\n type: 'pattern';\n label: string;\n tooltip: string;\n inputLabel: string;\n invalidError: string;\n /** Shown for a pattern that compiles but is refused because matching it\n * could hang the page. Falls back to `invalidError`. */\n unsafeError?: string;\n /** Shown under this rule while another rule blocks it. */\n exclusiveRulesExplanation?: string;\n}\n\nexport type FieldValidationRuleConfig =\n | RequiredFieldValidationRuleConfig\n | CharactersLimitFieldValidationRuleConfig\n | SpecificValuesFieldValidationRuleConfig\n | PatternFieldValidationRuleConfig;\n\nexport type FieldValidationRule = FieldValidationRuleConfig['type'];\n\nexport interface FieldValidationSettingsValue {\n required?: boolean;\n charactersLimit?: { min?: number; max?: number };\n specificValues?: SpecificValue[];\n pattern?: string;\n}\n\nexport type FieldValidationViolation =\n | {\n rule: 'charactersLimit';\n type: 'outOfBounds';\n bound: 'min' | 'max';\n min: number;\n max: number;\n }\n | { rule: 'charactersLimit'; type: 'maxBelowMin' }\n | {\n rule: 'specificValues';\n type: 'blank' | 'duplicate';\n optionId: string;\n }\n | { rule: 'specificValues'; type: 'empty' }\n | {\n rule: 'specificValues' | 'charactersLimit' | 'pattern';\n type: 'exclusiveRules';\n }\n | { rule: 'pattern'; type: 'invalidPattern' | 'unsafePattern' };\n\nexport type DataValidationRules = Partial<\n RequiredValidationRule &\n CharactersLimitValidationRule &\n SpecificValuesValidationRule &\n PatternValidationRule\n>;\n"],"mappings":"","ignoreList":[]}
@@ -64,6 +64,12 @@ const getFieldValidationSettingsViolations = (value, supportedRules, {
64
64
  type: 'maxBelowMin'
65
65
  });
66
66
  }
67
+ if ((specificValues == null ? void 0 : specificValues.length) === 0) {
68
+ violations.push({
69
+ rule: 'specificValues',
70
+ type: 'empty'
71
+ });
72
+ }
67
73
  if (specificValues !== undefined) {
68
74
  const normalizedValues = specificValues.map(({
69
75
  value: optionValue
@@ -1 +1 @@
1
- {"version":3,"names":["_regexSafety","require","CHARACTERS_CEILING","MIN_CHARACTERS_FLOOR","MIN_CHARACTERS_FLOOR_WHEN_REQUIRED","MAX_CHARACTERS_FLOOR","MAX_PATTERN_LENGTH","isOutOfBounds","value","min","max","Number","isFinite","patternProblem","pattern","length","undefined","RegExp","hasNestedQuantifier","compilePattern","exports","matchesPattern","_compilePattern","test","getFieldValidationSettingsViolations","supportedRules","exclusiveSpecificValues","violations","supports","rule","includes","charactersLimit","specificValues","minCharactersFloor","required","push","type","bound","normalizedValues","map","optionValue","trim","forEach","option","index","optionId","id","indexOf","hasSpecificValues","hasCharactersLimit","hasPattern","problem","hasFieldValidationSettingsError","options"],"sources":["../../../src/validations/field-validation-settings.ts"],"sourcesContent":["import type {\n FieldValidationRule,\n FieldValidationSettingsValue,\n FieldValidationViolation,\n} from '../types/validation';\nimport { hasNestedQuantifier } from './regex-safety';\n\nconst CHARACTERS_CEILING = 256_000;\nconst MIN_CHARACTERS_FLOOR = 0;\nconst MIN_CHARACTERS_FLOOR_WHEN_REQUIRED = 1;\nconst MAX_CHARACTERS_FLOOR = 1;\nconst MAX_PATTERN_LENGTH = 500;\n\nconst isOutOfBounds = (value: number, min: number, max: number) =>\n !Number.isFinite(value) || value < min || value > max;\n\nconst patternProblem = (\n pattern: string | undefined,\n): 'invalidPattern' | 'unsafePattern' | undefined => {\n if (!pattern || pattern.length > MAX_PATTERN_LENGTH) {\n return pattern ? 'invalidPattern' : undefined;\n }\n\n try {\n new RegExp(pattern);\n } catch {\n return 'invalidPattern';\n }\n\n return hasNestedQuantifier(pattern) ? 'unsafePattern' : undefined;\n};\n\nexport const compilePattern = (\n pattern: string | undefined,\n): RegExp | undefined =>\n pattern && !patternProblem(pattern) ? new RegExp(pattern) : undefined;\n\n// An unusable pattern enforces nothing rather than rejecting every value: the\n// settings editor already surfaces `invalidPattern` to whoever authored it, and\n// blocking data entry over it would strand the person typing.\nexport const matchesPattern = (\n value: string,\n pattern: string | undefined,\n): boolean => compilePattern(pattern)?.test(value) ?? true;\n\nexport interface FieldValidationSettingsOptions {\n /** Whether `specificValues` rejects `charactersLimit`/`pattern` on the same\n * field. Callers that let a field carry both (e.g. a stored\n * `stringLengthRange` alongside `specificValues`) should pass `false`. */\n exclusiveSpecificValues?: boolean;\n}\n\nexport const getFieldValidationSettingsViolations = (\n value: FieldValidationSettingsValue,\n supportedRules?: readonly FieldValidationRule[],\n { exclusiveSpecificValues = true }: FieldValidationSettingsOptions = {},\n): FieldValidationViolation[] => {\n const violations: FieldValidationViolation[] = [];\n const supports = (rule: FieldValidationRule) =>\n supportedRules === undefined || supportedRules.includes(rule);\n const charactersLimit = supports('charactersLimit')\n ? value.charactersLimit\n : undefined;\n const specificValues = supports('specificValues')\n ? value.specificValues\n : undefined;\n const pattern = supports('pattern') ? value.pattern : undefined;\n\n const minCharactersFloor =\n supports('required') && value.required\n ? MIN_CHARACTERS_FLOOR_WHEN_REQUIRED\n : MIN_CHARACTERS_FLOOR;\n\n if (\n charactersLimit?.min != null &&\n isOutOfBounds(charactersLimit.min, minCharactersFloor, CHARACTERS_CEILING)\n ) {\n violations.push({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'min',\n min: minCharactersFloor,\n max: CHARACTERS_CEILING,\n });\n }\n\n if (\n charactersLimit?.max != null &&\n isOutOfBounds(charactersLimit.max, MAX_CHARACTERS_FLOOR, CHARACTERS_CEILING)\n ) {\n violations.push({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'max',\n min: MAX_CHARACTERS_FLOOR,\n max: CHARACTERS_CEILING,\n });\n }\n\n if (\n charactersLimit?.min != null &&\n charactersLimit.max != null &&\n charactersLimit.max < charactersLimit.min\n ) {\n violations.push({ rule: 'charactersLimit', type: 'maxBelowMin' });\n }\n\n if (specificValues !== undefined) {\n const normalizedValues = specificValues.map(({ value: optionValue }) =>\n optionValue.trim(),\n );\n\n specificValues.forEach((option, index) => {\n if (!normalizedValues[index]) {\n violations.push({\n rule: 'specificValues',\n type: 'blank',\n optionId: option.id,\n });\n } else if (normalizedValues.indexOf(normalizedValues[index]) !== index) {\n violations.push({\n rule: 'specificValues',\n type: 'duplicate',\n optionId: option.id,\n });\n }\n });\n }\n\n const hasSpecificValues = specificValues !== undefined;\n const hasCharactersLimit = charactersLimit !== undefined;\n const hasPattern = pattern !== undefined;\n\n if (\n exclusiveSpecificValues &&\n hasSpecificValues &&\n (hasCharactersLimit || hasPattern)\n ) {\n violations.push({ rule: 'specificValues', type: 'exclusiveRules' });\n if (hasCharactersLimit) {\n violations.push({ rule: 'charactersLimit', type: 'exclusiveRules' });\n }\n if (hasPattern) {\n violations.push({ rule: 'pattern', type: 'exclusiveRules' });\n }\n }\n\n const problem = patternProblem(pattern);\n if (problem) {\n violations.push({ rule: 'pattern', type: problem });\n }\n\n return violations;\n};\n\nexport const hasFieldValidationSettingsError = (\n value: FieldValidationSettingsValue,\n supportedRules?: readonly FieldValidationRule[],\n options?: FieldValidationSettingsOptions,\n) =>\n getFieldValidationSettingsViolations(value, supportedRules, options).length >\n 0;\n"],"mappings":";;;;AAKA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,kBAAkB,GAAG,OAAO;AAClC,MAAMC,oBAAoB,GAAG,CAAC;AAC9B,MAAMC,kCAAkC,GAAG,CAAC;AAC5C,MAAMC,oBAAoB,GAAG,CAAC;AAC9B,MAAMC,kBAAkB,GAAG,GAAG;AAE9B,MAAMC,aAAa,GAAGA,CAACC,KAAa,EAAEC,GAAW,EAAEC,GAAW,KAC5D,CAACC,MAAM,CAACC,QAAQ,CAACJ,KAAK,CAAC,IAAIA,KAAK,GAAGC,GAAG,IAAID,KAAK,GAAGE,GAAG;AAEvD,MAAMG,cAAc,GAClBC,OAA2B,IACwB;EACnD,IAAI,CAACA,OAAO,IAAIA,OAAO,CAACC,MAAM,GAAGT,kBAAkB,EAAE;IACnD,OAAOQ,OAAO,GAAG,gBAAgB,GAAGE,SAAS;EAC/C;EAEA,IAAI;IACF,IAAIC,MAAM,CAACH,OAAO,CAAC;EACrB,CAAC,CAAC,MAAM;IACN,OAAO,gBAAgB;EACzB;EAEA,OAAO,IAAAI,gCAAmB,EAACJ,OAAO,CAAC,GAAG,eAAe,GAAGE,SAAS;AACnE,CAAC;AAEM,MAAMG,cAAc,GACzBL,OAA2B,IAE3BA,OAAO,IAAI,CAACD,cAAc,CAACC,OAAO,CAAC,GAAG,IAAIG,MAAM,CAACH,OAAO,CAAC,GAAGE,SAAS;;AAEvE;AACA;AACA;AAAAI,OAAA,CAAAD,cAAA,GAAAA,cAAA;AACO,MAAME,cAAc,GAAGA,CAC5Bb,KAAa,EACbM,OAA2B;EAAA,IAAAQ,eAAA;EAAA,OACf,EAAAA,eAAA,GAAAH,cAAc,CAACL,OAAO,CAAC,qBAAvBQ,eAAA,CAAyBC,IAAI,CAACf,KAAK,CAAC,KAAI,IAAI;AAAA;AAACY,OAAA,CAAAC,cAAA,GAAAA,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SAAS;EAExC,IACEU,uBAAuB,IACvBsB,iBAAiB,KAChBC,kBAAkB,IAAIC,UAAU,CAAC,EAClC;IACAvB,UAAU,CAACQ,IAAI,CAAC;MAAEN,IAAI,EAAE,gBAAgB;MAAEO,IAAI,EAAE;IAAiB,CAAC,CAAC;IACnE,IAAIa,kBAAkB,EAAE;MACtBtB,UAAU,CAACQ,IAAI,CAAC;QAAEN,IAAI,EAAE,iBAAiB;QAAEO,IAAI,EAAE;MAAiB,CAAC,CAAC;IACtE;IACA,IAAIc,UAAU,EAAE;MACdvB,UAAU,CAACQ,IAAI,CAAC;QAAEN,IAAI,EAAE,SAAS;QAAEO,IAAI,EAAE;MAAiB,CAAC,CAAC;IAC9D;EACF;EAEA,MAAMe,OAAO,GAAGtC,cAAc,CAACC,OAAO,CAAC;EACvC,IAAIqC,OAAO,EAAE;IACXxB,UAAU,CAACQ,IAAI,CAAC;MAAEN,IAAI,EAAE,SAAS;MAAEO,IAAI,EAAEe;IAAQ,CAAC,CAAC;EACrD;EAEA,OAAOxB,UAAU;AACnB,CAAC;AAACP,OAAA,CAAAI,oCAAA,GAAAA,oCAAA;AAEK,MAAM4B,+BAA+B,GAAGA,CAC7C5C,KAAmC,EACnCiB,cAA+C,EAC/C4B,OAAwC,KAExC7B,oCAAoC,CAAChB,KAAK,EAAEiB,cAAc,EAAE4B,OAAO,CAAC,CAACtC,MAAM,GAC3E,CAAC;AAACK,OAAA,CAAAgC,+BAAA,GAAAA,+BAAA","ignoreList":[]}
1
+ {"version":3,"names":["_regexSafety","require","CHARACTERS_CEILING","MIN_CHARACTERS_FLOOR","MIN_CHARACTERS_FLOOR_WHEN_REQUIRED","MAX_CHARACTERS_FLOOR","MAX_PATTERN_LENGTH","isOutOfBounds","value","min","max","Number","isFinite","patternProblem","pattern","length","undefined","RegExp","hasNestedQuantifier","compilePattern","exports","matchesPattern","_compilePattern","test","getFieldValidationSettingsViolations","supportedRules","exclusiveSpecificValues","violations","supports","rule","includes","charactersLimit","specificValues","minCharactersFloor","required","push","type","bound","normalizedValues","map","optionValue","trim","forEach","option","index","optionId","id","indexOf","hasSpecificValues","hasCharactersLimit","hasPattern","problem","hasFieldValidationSettingsError","options"],"sources":["../../../src/validations/field-validation-settings.ts"],"sourcesContent":["import type {\n FieldValidationRule,\n FieldValidationSettingsValue,\n FieldValidationViolation,\n} from '../types/validation';\nimport { hasNestedQuantifier } from './regex-safety';\n\nconst CHARACTERS_CEILING = 256_000;\nconst MIN_CHARACTERS_FLOOR = 0;\nconst MIN_CHARACTERS_FLOOR_WHEN_REQUIRED = 1;\nconst MAX_CHARACTERS_FLOOR = 1;\nconst MAX_PATTERN_LENGTH = 500;\n\nconst isOutOfBounds = (value: number, min: number, max: number) =>\n !Number.isFinite(value) || value < min || value > max;\n\nconst patternProblem = (\n pattern: string | undefined,\n): 'invalidPattern' | 'unsafePattern' | undefined => {\n if (!pattern || pattern.length > MAX_PATTERN_LENGTH) {\n return pattern ? 'invalidPattern' : undefined;\n }\n\n try {\n new RegExp(pattern);\n } catch {\n return 'invalidPattern';\n }\n\n return hasNestedQuantifier(pattern) ? 'unsafePattern' : undefined;\n};\n\nexport const compilePattern = (\n pattern: string | undefined,\n): RegExp | undefined =>\n pattern && !patternProblem(pattern) ? new RegExp(pattern) : undefined;\n\n// An unusable pattern enforces nothing rather than rejecting every value: the\n// settings editor already surfaces `invalidPattern` to whoever authored it, and\n// blocking data entry over it would strand the person typing.\nexport const matchesPattern = (\n value: string,\n pattern: string | undefined,\n): boolean => compilePattern(pattern)?.test(value) ?? true;\n\nexport interface FieldValidationSettingsOptions {\n /** Whether `specificValues` rejects `charactersLimit`/`pattern` on the same\n * field. Callers that let a field carry both (e.g. a stored\n * `stringLengthRange` alongside `specificValues`) should pass `false`. */\n exclusiveSpecificValues?: boolean;\n}\n\nexport const getFieldValidationSettingsViolations = (\n value: FieldValidationSettingsValue,\n supportedRules?: readonly FieldValidationRule[],\n { exclusiveSpecificValues = true }: FieldValidationSettingsOptions = {},\n): FieldValidationViolation[] => {\n const violations: FieldValidationViolation[] = [];\n const supports = (rule: FieldValidationRule) =>\n supportedRules === undefined || supportedRules.includes(rule);\n const charactersLimit = supports('charactersLimit')\n ? value.charactersLimit\n : undefined;\n const specificValues = supports('specificValues')\n ? value.specificValues\n : undefined;\n const pattern = supports('pattern') ? value.pattern : undefined;\n\n const minCharactersFloor =\n supports('required') && value.required\n ? MIN_CHARACTERS_FLOOR_WHEN_REQUIRED\n : MIN_CHARACTERS_FLOOR;\n\n if (\n charactersLimit?.min != null &&\n isOutOfBounds(charactersLimit.min, minCharactersFloor, CHARACTERS_CEILING)\n ) {\n violations.push({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'min',\n min: minCharactersFloor,\n max: CHARACTERS_CEILING,\n });\n }\n\n if (\n charactersLimit?.max != null &&\n isOutOfBounds(charactersLimit.max, MAX_CHARACTERS_FLOOR, CHARACTERS_CEILING)\n ) {\n violations.push({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'max',\n min: MAX_CHARACTERS_FLOOR,\n max: CHARACTERS_CEILING,\n });\n }\n\n if (\n charactersLimit?.min != null &&\n charactersLimit.max != null &&\n charactersLimit.max < charactersLimit.min\n ) {\n violations.push({ rule: 'charactersLimit', type: 'maxBelowMin' });\n }\n\n if (specificValues?.length === 0) {\n violations.push({ rule: 'specificValues', type: 'empty' });\n }\n\n if (specificValues !== undefined) {\n const normalizedValues = specificValues.map(({ value: optionValue }) =>\n optionValue.trim(),\n );\n\n specificValues.forEach((option, index) => {\n if (!normalizedValues[index]) {\n violations.push({\n rule: 'specificValues',\n type: 'blank',\n optionId: option.id,\n });\n } else if (normalizedValues.indexOf(normalizedValues[index]) !== index) {\n violations.push({\n rule: 'specificValues',\n type: 'duplicate',\n optionId: option.id,\n });\n }\n });\n }\n\n const hasSpecificValues = specificValues !== undefined;\n const hasCharactersLimit = charactersLimit !== undefined;\n const hasPattern = pattern !== undefined;\n\n if (\n exclusiveSpecificValues &&\n hasSpecificValues &&\n (hasCharactersLimit || hasPattern)\n ) {\n violations.push({ rule: 'specificValues', type: 'exclusiveRules' });\n if (hasCharactersLimit) {\n violations.push({ rule: 'charactersLimit', type: 'exclusiveRules' });\n }\n if (hasPattern) {\n violations.push({ rule: 'pattern', type: 'exclusiveRules' });\n }\n }\n\n const problem = patternProblem(pattern);\n if (problem) {\n violations.push({ rule: 'pattern', type: problem });\n }\n\n return violations;\n};\n\nexport const hasFieldValidationSettingsError = (\n value: FieldValidationSettingsValue,\n supportedRules?: readonly FieldValidationRule[],\n options?: FieldValidationSettingsOptions,\n) =>\n getFieldValidationSettingsViolations(value, supportedRules, options).length >\n 0;\n"],"mappings":";;;;AAKA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,kBAAkB,GAAG,OAAO;AAClC,MAAMC,oBAAoB,GAAG,CAAC;AAC9B,MAAMC,kCAAkC,GAAG,CAAC;AAC5C,MAAMC,oBAAoB,GAAG,CAAC;AAC9B,MAAMC,kBAAkB,GAAG,GAAG;AAE9B,MAAMC,aAAa,GAAGA,CAACC,KAAa,EAAEC,GAAW,EAAEC,GAAW,KAC5D,CAACC,MAAM,CAACC,QAAQ,CAACJ,KAAK,CAAC,IAAIA,KAAK,GAAGC,GAAG,IAAID,KAAK,GAAGE,GAAG;AAEvD,MAAMG,cAAc,GAClBC,OAA2B,IACwB;EACnD,IAAI,CAACA,OAAO,IAAIA,OAAO,CAACC,MAAM,GAAGT,kBAAkB,EAAE;IACnD,OAAOQ,OAAO,GAAG,gBAAgB,GAAGE,SAAS;EAC/C;EAEA,IAAI;IACF,IAAIC,MAAM,CAACH,OAAO,CAAC;EACrB,CAAC,CAAC,MAAM;IACN,OAAO,gBAAgB;EACzB;EAEA,OAAO,IAAAI,gCAAmB,EAACJ,OAAO,CAAC,GAAG,eAAe,GAAGE,SAAS;AACnE,CAAC;AAEM,MAAMG,cAAc,GACzBL,OAA2B,IAE3BA,OAAO,IAAI,CAACD,cAAc,CAACC,OAAO,CAAC,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B,+BAA+B,GAAGA,CAC7C5C,KAAmC,EACnCiB,cAA+C,EAC/C4B,OAAwC,KAExC7B,oCAAoC,CAAChB,KAAK,EAAEiB,cAAc,EAAE4B,OAAO,CAAC,CAACtC,MAAM,GAC3E,CAAC;AAACK,OAAA,CAAAgC,+BAAA,GAAAA,+BAAA","ignoreList":[]}
@@ -142,6 +142,18 @@ describe('field validation settings', () => {
142
142
  optionId: 'duplicate'
143
143
  }]);
144
144
  });
145
+ it('reports an enabled specific values rule with no values as empty', () => {
146
+ expect((0, _fieldValidationSettings.getFieldValidationSettingsViolations)({
147
+ specificValues: []
148
+ })).toEqual([{
149
+ rule: 'specificValues',
150
+ type: 'empty'
151
+ }]);
152
+ expect((0, _fieldValidationSettings.hasFieldValidationSettingsError)({
153
+ specificValues: []
154
+ })).toBe(true);
155
+ expect((0, _fieldValidationSettings.hasFieldValidationSettingsError)({})).toBe(false);
156
+ });
145
157
  it('reports every side of an exclusive-rules conflict', () => {
146
158
  expect((0, _fieldValidationSettings.getFieldValidationSettingsViolations)({
147
159
  charactersLimit: {},
@@ -175,7 +187,10 @@ describe('field validation settings', () => {
175
187
  it('allows specificValues alongside charactersLimit when the caller opts out of exclusivity', () => {
176
188
  const value = {
177
189
  charactersLimit: {},
178
- specificValues: []
190
+ specificValues: [{
191
+ id: 'one',
192
+ value: 'One'
193
+ }]
179
194
  };
180
195
  expect((0, _fieldValidationSettings.getFieldValidationSettingsViolations)(value, undefined, {
181
196
  exclusiveSpecificValues: false
@@ -1 +1 @@
1
- {"version":3,"names":["_fieldValidationSettings","require","describe","it","expect","getFieldValidationSettingsViolations","charactersLimit","toEqual","each","name","value","min","bound","required","max","snapshot","JSON","parse","stringify","toContainEqual","rule","type","Number","NaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","hasFieldValidationSettingsError","toBe","specificValues","id","optionId","pattern","arrayContaining","undefined","exclusiveSpecificValues","repeat"],"sources":["../../../src/validations/field-validation-settings.spec.ts"],"sourcesContent":["import {\n getFieldValidationSettingsViolations,\n hasFieldValidationSettingsError,\n} from './field-validation-settings';\n\ndescribe('field validation settings', () => {\n it('allows absent character bounds', () => {\n expect(\n getFieldValidationSettingsViolations({ charactersLimit: {} }),\n ).toEqual([]);\n });\n\n it.each([\n {\n name: 'a negative optional minimum',\n value: { charactersLimit: { min: -1 } },\n bound: 'min',\n min: 0,\n },\n {\n name: 'a required minimum below one',\n value: { required: true, charactersLimit: { min: 0 } },\n bound: 'min',\n min: 1,\n },\n {\n name: 'a maximum below one',\n value: { charactersLimit: { max: 0 } },\n bound: 'max',\n min: 1,\n },\n {\n name: 'a minimum above the ceiling',\n value: { charactersLimit: { min: 256_001 } },\n bound: 'min',\n min: 0,\n },\n {\n name: 'a maximum above the ceiling',\n value: { charactersLimit: { max: 256_001 } },\n bound: 'max',\n min: 1,\n },\n ])('reports $name without changing it', ({ value, bound, min }) => {\n const snapshot = JSON.parse(JSON.stringify(value));\n\n expect(getFieldValidationSettingsViolations(value)).toContainEqual({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound,\n min,\n max: 256_000,\n });\n expect(value).toEqual(snapshot);\n });\n\n it('reports a maximum below the minimum without changing the draft', () => {\n const value = { charactersLimit: { min: 10, max: 5 } };\n\n expect(getFieldValidationSettingsViolations(value)).toContainEqual({\n rule: 'charactersLimit',\n type: 'maxBelowMin',\n });\n expect(value.charactersLimit).toEqual({ min: 10, max: 5 });\n });\n\n it.each([Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY])(\n 'reports a non-finite character bound: %s',\n (min) => {\n expect(\n getFieldValidationSettingsViolations({ charactersLimit: { min } }),\n ).toContainEqual({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'min',\n min: 0,\n max: 256_000,\n });\n },\n );\n\n it('makes a minimum of zero invalid only while required is enabled', () => {\n const charactersLimit = { min: 0 };\n\n expect(\n hasFieldValidationSettingsError({ required: false, charactersLimit }),\n ).toBe(false);\n expect(\n hasFieldValidationSettingsError({ required: true, charactersLimit }),\n ).toBe(true);\n expect(\n hasFieldValidationSettingsError({ required: false, charactersLimit }),\n ).toBe(false);\n expect(charactersLimit).toEqual({ min: 0 });\n });\n\n it('reports blank and duplicate specific values after trimming', () => {\n expect(\n getFieldValidationSettingsViolations({\n specificValues: [\n { id: 'blank', value: ' ' },\n { id: 'first', value: 'One' },\n { id: 'duplicate', value: ' One ' },\n { id: 'different-case', value: 'one' },\n ],\n }),\n ).toEqual([\n { rule: 'specificValues', type: 'blank', optionId: 'blank' },\n {\n rule: 'specificValues',\n type: 'duplicate',\n optionId: 'duplicate',\n },\n ]);\n });\n\n it('reports every side of an exclusive-rules conflict', () => {\n expect(\n getFieldValidationSettingsViolations({\n charactersLimit: {},\n specificValues: [],\n pattern: '^value$',\n }),\n ).toEqual(\n expect.arrayContaining([\n { rule: 'specificValues', type: 'exclusiveRules' },\n { rule: 'charactersLimit', type: 'exclusiveRules' },\n { rule: 'pattern', type: 'exclusiveRules' },\n ]),\n );\n });\n\n it('reports invalid regular expressions without throwing', () => {\n expect(\n getFieldValidationSettingsViolations({ pattern: '[' }),\n ).toContainEqual({ rule: 'pattern', type: 'invalidPattern' });\n expect(hasFieldValidationSettingsError({ pattern: '' })).toBe(false);\n expect(hasFieldValidationSettingsError({ pattern: '^valid$' })).toBe(false);\n });\n\n it('allows specificValues alongside charactersLimit when the caller opts out of exclusivity', () => {\n const value = { charactersLimit: {}, specificValues: [] };\n\n expect(\n getFieldValidationSettingsViolations(value, undefined, {\n exclusiveSpecificValues: false,\n }),\n ).toEqual([]);\n expect(\n hasFieldValidationSettingsError(value, undefined, {\n exclusiveSpecificValues: false,\n }),\n ).toBe(false);\n });\n\n it('reports an overlong pattern as invalid without constructing a RegExp', () => {\n const pattern = '^'.repeat(501);\n\n expect(getFieldValidationSettingsViolations({ pattern })).toContainEqual({\n rule: 'pattern',\n type: 'invalidPattern',\n });\n });\n\n it('ignores values outside the caller supported rule set', () => {\n const value = {\n required: true,\n charactersLimit: { min: 0 },\n specificValues: [],\n pattern: '[',\n };\n\n expect(\n getFieldValidationSettingsViolations(value, ['charactersLimit']),\n ).toEqual([]);\n expect(hasFieldValidationSettingsError(value, ['charactersLimit'])).toBe(\n false,\n );\n });\n});\n"],"mappings":";;AAAA,IAAAA,wBAAA,GAAAC,OAAA;AAKAC,QAAQ,CAAC,2BAA2B,EAAE,MAAM;EAC1CC,EAAE,CAAC,gCAAgC,EAAE,MAAM;IACzCC,MAAM,CACJ,IAAAC,6DAAoC,EAAC;MAAEC,eAAe,EAAE,CAAC;IAAE,CAAC,CAC9D,CAAC,CAACC,OAAO,CAAC,EAAE,CAAC;EACf,CAAC,CAAC;EAEFJ,EAAE,CAACK,IAAI,CAAC,CACN;IACEC,IAAI,EAAE,6BAA6B;IACnCC,KAAK,EAAE;MAAEJ,eAAe,EAAE;QAAEK,GAAG,EAAE,CAAC;MAAE;IAAE,CAAC;IACvCC,KAAK,EAAE,KAAK;IACZD,GAAG,EAAE;EACP,CAAC,EACD;IACEF,IAAI,EAAE,8BAA8B;IACpCC,KAAK,EAAE;MAAEG,QAAQ,EAAE,IAAI;MAAEP,eAAe,EAAE;QAAEK,GAAG,EAAE;MAAE;IAAE,CAAC;IACtDC,KAAK,EAAE,KAAK;IACZD,GAAG,EAAE;EACP,CAAC,EACD;IACEF,IAAI,EAAE,qBAAqB;IAC3BC,KAAK,EAAE;MAAEJ,eAAe,EAAE;QAAEQ,GAAG,EAAE;MAAE;IAAE,CAAC;IACtCF,KAAK,EAAE,KAAK;IACZD,GAAG,EAAE;EACP,CAAC,EACD;IACEF,IAAI,EAAE,6BAA6B;IACnCC,KAAK,EAAE;MAAEJ,eAAe,EAAE;QAAEK,GAAG,EAAE;MAAQ;IAAE,CAAC;IAC5CC,KAAK,EAAE,KAAK;IACZD,GAAG,EAAE;EACP,CAAC,EACD;IACEF,IAAI,EAAE,6BAA6B;IACnCC,KAAK,EAAE;MAAEJ,eAAe,EAAE;QAAEQ,GAAG,EAAE;MAAQ;IAAE,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EuB,SAAS,EAAE;MACrDC,uBAAuB,EAAE;IAC3B,CAAC,CACH,CAAC,CAAC3B,OAAO,CAAC,EAAE,CAAC;IACbH,MAAM,CACJ,IAAAsB,wDAA+B,EAAChB,KAAK,EAAEuB,SAAS,EAAE;MAChDC,uBAAuB,EAAE;IAC3B,CAAC,CACH,CAAC,CAACP,IAAI,CAAC,KAAK,CAAC;EACf,CAAC,CAAC;EAEFxB,EAAE,CAAC,sEAAsE,EAAE,MAAM;IAC/E,MAAM4B,OAAO,GAAG,GAAG,CAACI,MAAM,CAAC,GAAG,CAAC;IAE/B/B,MAAM,CAAC,IAAAC,6DAAoC,EAAC;MAAE0B;IAAQ,CAAC,CAAC,CAAC,CAACZ,cAAc,CAAC;MACvEC,IAAI,EAAE,SAAS;MACfC,IAAI,EAAE;IACR,CAAC,CAAC;EACJ,CAAC,CAAC;EAEFlB,EAAE,CAAC,sDAAsD,EAAE,MAAM;IAC/D,MAAMO,KAAK,GAAG;MACZG,QAAQ,EAAE,IAAI;MACdP,eAAe,EAAE;QAAEK,GAAG,EAAE;MAAE,CAAC;MAC3BiB,cAAc,EAAE,EAAE;MAClBG,OAAO,EAAE;IACX,CAAC;IAED3B,MAAM,CACJ,IAAAC,6DAAoC,EAACK,KAAK,EAAE,CAAC,iBAAiB,CAAC,CACjE,CAAC,CAACH,OAAO,CAAC,EAAE,CAAC;IACbH,MAAM,CAAC,IAAAsB,wDAA+B,EAAChB,KAAK,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAACiB,IAAI,CACtE,KACF,CAAC;EACH,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_fieldValidationSettings","require","describe","it","expect","getFieldValidationSettingsViolations","charactersLimit","toEqual","each","name","value","min","bound","required","max","snapshot","JSON","parse","stringify","toContainEqual","rule","type","Number","NaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","hasFieldValidationSettingsError","toBe","specificValues","id","optionId","pattern","arrayContaining","undefined","exclusiveSpecificValues","repeat"],"sources":["../../../src/validations/field-validation-settings.spec.ts"],"sourcesContent":["import {\n getFieldValidationSettingsViolations,\n hasFieldValidationSettingsError,\n} from './field-validation-settings';\n\ndescribe('field validation settings', () => {\n it('allows absent character bounds', () => {\n expect(\n getFieldValidationSettingsViolations({ charactersLimit: {} }),\n ).toEqual([]);\n });\n\n it.each([\n {\n name: 'a negative optional minimum',\n value: { charactersLimit: { min: -1 } },\n bound: 'min',\n min: 0,\n },\n {\n name: 'a required minimum below one',\n value: { required: true, charactersLimit: { min: 0 } },\n bound: 'min',\n min: 1,\n },\n {\n name: 'a maximum below one',\n value: { charactersLimit: { max: 0 } },\n bound: 'max',\n min: 1,\n },\n {\n name: 'a minimum above the ceiling',\n value: { charactersLimit: { min: 256_001 } },\n bound: 'min',\n min: 0,\n },\n {\n name: 'a maximum above the ceiling',\n value: { charactersLimit: { max: 256_001 } },\n bound: 'max',\n min: 1,\n },\n ])('reports $name without changing it', ({ value, bound, min }) => {\n const snapshot = JSON.parse(JSON.stringify(value));\n\n expect(getFieldValidationSettingsViolations(value)).toContainEqual({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound,\n min,\n max: 256_000,\n });\n expect(value).toEqual(snapshot);\n });\n\n it('reports a maximum below the minimum without changing the draft', () => {\n const value = { charactersLimit: { min: 10, max: 5 } };\n\n expect(getFieldValidationSettingsViolations(value)).toContainEqual({\n rule: 'charactersLimit',\n type: 'maxBelowMin',\n });\n expect(value.charactersLimit).toEqual({ min: 10, max: 5 });\n });\n\n it.each([Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY])(\n 'reports a non-finite character bound: %s',\n (min) => {\n expect(\n getFieldValidationSettingsViolations({ charactersLimit: { min } }),\n ).toContainEqual({\n rule: 'charactersLimit',\n type: 'outOfBounds',\n bound: 'min',\n min: 0,\n max: 256_000,\n });\n },\n );\n\n it('makes a minimum of zero invalid only while required is enabled', () => {\n const charactersLimit = { min: 0 };\n\n expect(\n hasFieldValidationSettingsError({ required: false, charactersLimit }),\n ).toBe(false);\n expect(\n hasFieldValidationSettingsError({ required: true, charactersLimit }),\n ).toBe(true);\n expect(\n hasFieldValidationSettingsError({ required: false, charactersLimit }),\n ).toBe(false);\n expect(charactersLimit).toEqual({ min: 0 });\n });\n\n it('reports blank and duplicate specific values after trimming', () => {\n expect(\n getFieldValidationSettingsViolations({\n specificValues: [\n { id: 'blank', value: ' ' },\n { id: 'first', value: 'One' },\n { id: 'duplicate', value: ' One ' },\n { id: 'different-case', value: 'one' },\n ],\n }),\n ).toEqual([\n { rule: 'specificValues', type: 'blank', optionId: 'blank' },\n {\n rule: 'specificValues',\n type: 'duplicate',\n optionId: 'duplicate',\n },\n ]);\n });\n\n it('reports an enabled specific values rule with no values as empty', () => {\n expect(\n getFieldValidationSettingsViolations({ specificValues: [] }),\n ).toEqual([{ rule: 'specificValues', type: 'empty' }]);\n expect(hasFieldValidationSettingsError({ specificValues: [] })).toBe(true);\n expect(hasFieldValidationSettingsError({})).toBe(false);\n });\n\n it('reports every side of an exclusive-rules conflict', () => {\n expect(\n getFieldValidationSettingsViolations({\n charactersLimit: {},\n specificValues: [],\n pattern: '^value$',\n }),\n ).toEqual(\n expect.arrayContaining([\n { rule: 'specificValues', type: 'exclusiveRules' },\n { rule: 'charactersLimit', type: 'exclusiveRules' },\n { rule: 'pattern', type: 'exclusiveRules' },\n ]),\n );\n });\n\n it('reports invalid regular expressions without throwing', () => {\n expect(\n getFieldValidationSettingsViolations({ pattern: '[' }),\n ).toContainEqual({ rule: 'pattern', type: 'invalidPattern' });\n expect(hasFieldValidationSettingsError({ pattern: '' })).toBe(false);\n expect(hasFieldValidationSettingsError({ pattern: '^valid$' })).toBe(false);\n });\n\n it('allows specificValues alongside charactersLimit when the caller opts out of exclusivity', () => {\n const value = {\n charactersLimit: {},\n specificValues: [{ id: 'one', value: 'One' }],\n };\n\n expect(\n getFieldValidationSettingsViolations(value, undefined, {\n exclusiveSpecificValues: false,\n }),\n ).toEqual([]);\n expect(\n hasFieldValidationSettingsError(value, undefined, {\n exclusiveSpecificValues: false,\n }),\n ).toBe(false);\n });\n\n it('reports an overlong pattern as invalid without constructing a RegExp', () => {\n const pattern = '^'.repeat(501);\n\n expect(getFieldValidationSettingsViolations({ pattern })).toContainEqual({\n rule: 'pattern',\n type: 'invalidPattern',\n });\n });\n\n it('ignores values outside the caller supported rule set', () => {\n const value = {\n required: true,\n charactersLimit: { min: 0 },\n specificValues: [],\n pattern: '[',\n };\n\n expect(\n getFieldValidationSettingsViolations(value, ['charactersLimit']),\n ).toEqual([]);\n expect(hasFieldValidationSettingsError(value, ['charactersLimit'])).toBe(\n false,\n );\n });\n});\n"],"mappings":";;AAAA,IAAAA,wBAAA,GAAAC,OAAA;AAKAC,QAAQ,CAAC,2BAA2B,EAAE,MAAM;EAC1CC,EAAE,CAAC,gCAAgC,EAAE,MAAM;IACzCC,MAAM,CACJ,IAAAC,6DAAoC,EAAC;MAAEC,eAAe,EAAE,CAAC;IAAE,CAAC,CAC9D,CAAC,CAACC,OAAO,CAAC,EAAE,CAAC;EACf,CAAC,CAAC;EAEFJ,EAAE,CAACK,IAAI,CAAC,CACN;IACEC,IAAI,EAAE,6BAA6B;IACnCC,KAAK,EAAE;MAAEJ,eAAe,EAAE;QAAEK,GAAG,EAAE,CAAC;MAAE;IAAE,CAAC;IACvCC,KAAK,EAAE,KAAK;IACZD,GAAG,EAAE;EACP,CAAC,EACD;IACEF,IAAI,EAAE,8BAA8B;IACpCC,KAAK,EAAE;MAAEG,QAAQ,EAAE,IAAI;MAAEP,eAAe,EAAE;QAAEK,GAAG,EAAE;MAAE;IAAE,CAAC;IACtDC,KAAK,EAAE,KAAK;IACZD,GAAG,EAAE;EACP,CAAC,EACD;IACEF,IAAI,EAAE,qBAAqB;IAC3BC,KAAK,EAAE;MAAEJ,eAAe,EAAE;QAAEQ,GAAG,EAAE;MAAE;IAAE,CAAC;IACtCF,KAAK,EAAE,KAAK;IACZD,GAAG,E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CAAC,CAAC,CAACZ,cAAc,CAAC;MACvEC,IAAI,EAAE,SAAS;MACfC,IAAI,EAAE;IACR,CAAC,CAAC;EACJ,CAAC,CAAC;EAEFlB,EAAE,CAAC,sDAAsD,EAAE,MAAM;IAC/D,MAAMO,KAAK,GAAG;MACZG,QAAQ,EAAE,IAAI;MACdP,eAAe,EAAE;QAAEK,GAAG,EAAE;MAAE,CAAC;MAC3BiB,cAAc,EAAE,EAAE;MAClBG,OAAO,EAAE;IACX,CAAC;IAED3B,MAAM,CACJ,IAAAC,6DAAoC,EAACK,KAAK,EAAE,CAAC,iBAAiB,CAAC,CACjE,CAAC,CAACH,OAAO,CAAC,EAAE,CAAC;IACbH,MAAM,CAAC,IAAAsB,wDAA+B,EAAChB,KAAK,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAACiB,IAAI,CACtE,KACF,CAAC;EACH,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
3
- var _namespace_ = "addressinput3691315630";
3
+ var _namespace_ = "addressinput3163898159";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "addressinput3691315630__root", "tableAddressInput": "addressinput3691315630__tableAddressInput" };
9
+ export var classes = { "root": "addressinput3163898159__root", "tableAddressInput": "addressinput3163898159__tableAddressInput" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.js";
3
- var _namespace_ = "actionsmenu2109694853";
3
+ var _namespace_ = "actionsmenu2213481724";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "actionsmenu2109694853__root", "action": "actionsmenu2109694853__action" };
9
+ export var classes = { "root": "actionsmenu2213481724__root", "action": "actionsmenu2213481724__action" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
3
- var _namespace_ = "formaudiofield2900170836";
3
+ var _namespace_ = "formaudiofield1924360089";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "formaudiofield2900170836__root", "addItem": "formaudiofield2900170836__addItem", "mediaTitle": "formaudiofield2900170836__mediaTitle" };
9
+ export var classes = { "root": "formaudiofield1924360089__root", "addItem": "formaudiofield1924360089__addItem", "mediaTitle": "formaudiofield1924360089__mediaTitle" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
3
- var _namespace_ = "audioplayer3665590476";
3
+ var _namespace_ = "audioplayer3411372592";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "audioplayer3665590476__root" };
9
+ export var classes = { "root": "audioplayer3411372592__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "cellcolorview156572190";
3
+ var _namespace_ = "cellcolorview3913512114";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "cellcolorview156572190__root", "hashPrefix": "cellcolorview156572190__hashPrefix" };
9
+ export var classes = { "root": "cellcolorview3913512114__root", "hashPrefix": "cellcolorview3913512114__hashPrefix" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1 +1 @@
1
- {"version":3,"file":"cell-color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/cell-color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,wBAAwB,CAAC;AAC3C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,8BAA8B,EAAC,YAAY,EAAC,oCAAoC,EAAC,CAAC;AAC/G,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,eAAe,EAAC,iBAAiB,EAAC,CAAC"}
1
+ {"version":3,"file":"cell-color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/cell-color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,yBAAyB,CAAC;AAC5C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,+BAA+B,EAAC,YAAY,EAAC,qCAAqC,EAAC,CAAC;AACjH,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,eAAe,EAAC,iBAAiB,EAAC,CAAC"}
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "colorview943355800";
3
+ var _namespace_ = "colorview3138484826";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "colorview943355800__root", "view": "colorview943355800__view", "fillPreview": "colorview943355800__fillPreview" };
9
+ export var classes = { "root": "colorview3138484826__root", "view": "colorview3138484826__view", "fillPreview": "colorview3138484826__fillPreview" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1 +1 @@
1
- {"version":3,"file":"color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,oBAAoB,CAAC;AACvC,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,0BAA0B,EAAC,MAAM,EAAC,0BAA0B,EAAC,aAAa,EAAC,iCAAiC,EAAC,CAAC;AAC3I,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"color-view.st.css.js","sourceRoot":"","sources":["../../../../src/components/color-view/color-view.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,qBAAqB,CAAC;AACxC,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,2BAA2B,EAAC,MAAM,EAAC,2BAA2B,EAAC,aAAa,EAAC,kCAAkC,EAAC,CAAC;AAC9I,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "deletedialog3470481623";
3
+ var _namespace_ = "deletedialog644217855";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "deletedialog3470481623__root", "layout": "deletedialog3470481623__layout" };
9
+ export var classes = { "root": "deletedialog644217855__root", "layout": "deletedialog644217855__layout" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1 +1 @@
1
- {"version":3,"file":"delete-dialog.st.css.js","sourceRoot":"","sources":["../../../../src/components/delete-dialog/delete-dialog.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,wBAAwB,CAAC;AAC3C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,8BAA8B,EAAC,QAAQ,EAAC,gCAAgC,EAAC,CAAC;AACvG,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"delete-dialog.st.css.js","sourceRoot":"","sources":["../../../../src/components/delete-dialog/delete-dialog.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,uBAAuB,CAAC;AAC1C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,6BAA6B,EAAC,QAAQ,EAAC,+BAA+B,EAAC,CAAC;AACrG,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "formdocumentfield2013326977";
3
+ var _namespace_ = "formdocumentfield600942549";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "formdocumentfield2013326977__root", "viewWrapper": "formdocumentfield2013326977__viewWrapper", "textWidth": "formdocumentfield2013326977__textWidth", "documentLoader": "formdocumentfield2013326977__documentLoader", "addDocument": "formdocumentfield2013326977__addDocument", "addItemWrapper": "formdocumentfield2013326977__addItemWrapper" };
9
+ export var classes = { "root": "formdocumentfield600942549__root", "viewWrapper": "formdocumentfield600942549__viewWrapper", "textWidth": "formdocumentfield600942549__textWidth", "documentLoader": "formdocumentfield600942549__documentLoader", "addDocument": "formdocumentfield600942549__addDocument", "addItemWrapper": "formdocumentfield600942549__addItemWrapper" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1 +1 @@
1
- {"version":3,"file":"form-document-field.st.css.js","sourceRoot":"","sources":["../../../../src/components/document/form-document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AAC,iCAAiC,EAAC,mCAAmC,EAAC,eAAe,EAAC,iBAAiB,EAAC,mBAAmB,EAAC,qBAAqB,EAAC,CAAC"}
1
+ {"version":3,"file":"form-document-field.st.css.js","sourceRoot":"","sources":["../../../../src/components/document/form-document-field.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,4BAA4B,CAAC;AAC/C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,kCAAkC,EAAC,aAAa,EAAC,yCAAyC,EAAC,WAAW,EAAC,uCAAuC,EAAC,gBAAgB,EAAC,4CAA4C,EAAC,aAAa,EAAC,yCAAyC,EAAC,gBAAgB,EAAC,4CAA4C,EAAC,CAAC;AACjW,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAC,cAAc,EAAC,KAAK,EAAC,0BAA0B,EAAC,6CAA6C,EAAC,sBAAsB,EAAC,OAAO,EAAC,wBAAwB,EAAC,6CAA6C,EAAC,uBAAuB,EAAC,MAAM,EAAC,oBAAoB,EAAC,MAAM,EAAC,CAAC;AACrR,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,uBAAuB,EAAC,yBAAyB,EAAC,uBAAuB,EAAC,yBAAyB,EAAC,oBAAoB,EAAC,sBAAsB,EAAC,oBAAoB,EAAC,sBAAsB,EAAC,eAAe,EAAC,iBAAiB,EAAC,eAAe,EAAC,iBAAiB,EAAC,iCAAiC,EAAC,mCAAmC,EAAC,eAAe,EAAC,iBAAiB,EAAC,mBAAmB,EAAC,qBAAqB,EAAC,CAAC"}
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "exclamation132058364";
3
+ var _namespace_ = "exclamation297875390";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "exclamation132058364__root", "exclamation": "exclamation132058364__exclamation", "actions": "exclamation132058364__actions", "action": "exclamation132058364__action" };
9
+ export var classes = { "root": "exclamation297875390__root", "exclamation": "exclamation297875390__exclamation", "actions": "exclamation297875390__actions", "action": "exclamation297875390__action" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};