@brightspot/ui 3.0.1-cms-ui-migration.2 → 3.0.1-cms-ui-migration.4

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 (320) hide show
  1. package/README.md +56 -37
  2. package/dist/custom-elements.json +1807 -1807
  3. package/dist/storybook/assets/{ActionBar.stories-hJ_5cm-P.js → ActionBar.stories-BZAVK1QG.js} +1 -1
  4. package/dist/storybook/assets/{ActionItem.stories-Bjx2803w.js → ActionItem.stories-BqiWvlWi.js} +1 -1
  5. package/dist/storybook/assets/{Avatar.stories-Cj0YgZ6f.js → Avatar.stories-DkdB6hd_.js} +1 -1
  6. package/dist/storybook/assets/{AvatarGroup.stories-Lh_sQFCU.js → AvatarGroup.stories-DODqaIix.js} +1 -1
  7. package/dist/storybook/assets/{Badge.stories-BL7RUibx.js → Badge.stories-DZoum08S.js} +1 -1
  8. package/dist/storybook/assets/{Button-BPHNcxqK.js → Button-BkmBgNO-.js} +1 -1
  9. package/dist/storybook/assets/{Button.stories-CAYO4gdU.js → Button.stories-BFhCL2dp.js} +1 -1
  10. package/dist/storybook/assets/{ButtonGroup.stories-Cd13Us5K.js → ButtonGroup.stories-DlTGTvkq.js} +1 -1
  11. package/dist/storybook/assets/{Celebrate.stories-D_KE3Qze.js → Celebrate.stories-m4d4zTEz.js} +1 -1
  12. package/dist/storybook/assets/{Checkbox.stories-Aj1xgZVn.js → Checkbox.stories-Y253YeU7.js} +1 -1
  13. package/dist/storybook/assets/{CircularProgress.stories-BecV_v6d.js → CircularProgress.stories-6BD8uV5G.js} +1 -1
  14. package/dist/storybook/assets/{ClipboardMixin.stories-DU-WiZ2f.js → ClipboardMixin.stories-BkH66rIU.js} +1 -1
  15. package/dist/storybook/assets/{Color-6BZIO3FS-BYl4KZZn.js → Color-6BZIO3FS-iG0OjPBU.js} +1 -1
  16. package/dist/storybook/assets/{Colors.stories-BMUVUy2q.js → Colors.stories-BxiyQnEg.js} +1 -1
  17. package/dist/storybook/assets/{CombinedEffects.stories-FHcPKFm6.js → CombinedEffects.stories-Bs3U7qRl.js} +1 -1
  18. package/dist/storybook/assets/{ComponentStatesMixin-EMUnfT5y.js → ComponentStatesMixin-DampYb5c.js} +1 -1
  19. package/dist/storybook/assets/{ComponentStatesMixin.stories-SXq0kzS9.js → ComponentStatesMixin.stories-CZ2OW7as.js} +1 -1
  20. package/dist/storybook/assets/{CopyToClipboard.stories-u43lhvcI.js → CopyToClipboard.stories-CdlghjaE.js} +1 -1
  21. package/dist/storybook/assets/{Debounce.stories-BdCn5qgO.js → Debounce.stories-CymT8PnT.js} +1 -1
  22. package/dist/storybook/assets/{DocsRenderer-LL677BLK-DxiEJ_jx.js → DocsRenderer-LL677BLK-dqHCo-GE.js} +3 -3
  23. package/dist/storybook/assets/{Dropdown.stories-BWSRwjIF.js → Dropdown.stories-B6JwKg-I.js} +1 -1
  24. package/dist/storybook/assets/{EmptyState.stories-BpobeZL5.js → EmptyState.stories-Bk229lPH.js} +1 -1
  25. package/dist/storybook/assets/{Events.stories-CP5kMzpr.js → Events.stories-C8-k9cx8.js} +1 -1
  26. package/dist/storybook/assets/{Heading.stories-CbJD-oTB.js → Heading.stories-DIdnAQRG.js} +1 -1
  27. package/dist/storybook/assets/{HueRipple.stories-BOABJ7zw.js → HueRipple.stories-B1gXAEaH.js} +1 -1
  28. package/dist/storybook/assets/{Icon.stories-CWlUHL4j.js → Icon.stories--1VJ0_yt.js} +1 -1
  29. package/dist/storybook/assets/{IconButton.stories-BWBs-OLT.js → IconButton.stories-CS2rEIir.js} +1 -1
  30. package/dist/storybook/assets/{LinearProgress.stories-LZ0GZoxF.js → LinearProgress.stories-Bx0CQQls.js} +1 -1
  31. package/dist/storybook/assets/{Pagination.stories-CbLaR3P9.js → Pagination.stories-B4AogTXB.js} +1 -1
  32. package/dist/storybook/assets/{Popover.stories-JHrWqYZw.js → Popover.stories-BR88DPgU.js} +1 -1
  33. package/dist/storybook/assets/{ReadyMixin-B1H2a9x8.js → ReadyMixin-n6qZO39Y.js} +1 -1
  34. package/dist/storybook/assets/{RovingTabindexMixin.stories-UMHpYG73.js → RovingTabindexMixin.stories-1xTJSMSv.js} +1 -1
  35. package/dist/storybook/assets/{Rtc.stories-VQtNSlls.js → Rtc.stories-Rt0A_rUZ.js} +1 -1
  36. package/dist/storybook/assets/{ScrollShadow.stories-CYdi8Tgp.js → ScrollShadow.stories-CjLdJyYu.js} +1 -1
  37. package/dist/storybook/assets/{Switch.stories-D8F2hZCf.js → Switch.stories-CF8wO4v2.js} +1 -1
  38. package/dist/storybook/assets/{Tab.stories-wgBP0lTj.js → Tab.stories-C8XNshog.js} +1 -1
  39. package/dist/storybook/assets/{Tabs.stories-C00rr5sf.js → Tabs.stories-B01l4rQx.js} +1 -1
  40. package/dist/storybook/assets/{Throttle.stories-BhQEfJbS.js → Throttle.stories-Bpi0K5j9.js} +1 -1
  41. package/dist/storybook/assets/{Tooltip.stories-CGoZ5qTn.js → Tooltip.stories-BC4zMiZ1.js} +1 -1
  42. package/dist/storybook/assets/{Upload.stories-B3K-HAXw.js → Upload.stories-2pWv_fZ1.js} +1 -1
  43. package/dist/storybook/assets/{UploadItem.stories-71ArSoUh.js → UploadItem.stories-aLeAUM7y.js} +1 -1
  44. package/dist/storybook/assets/{Welcome.stories-CihlfFXS.js → Welcome.stories-DJV83eb7.js} +1 -1
  45. package/dist/storybook/assets/{Widget.stories-1u4KbiJM.js → Widget.stories-Cz0i2o6L.js} +1 -1
  46. package/dist/storybook/assets/{WithTooltip-65CFNBJE-B3Jitxw9.js → WithTooltip-65CFNBJE-D8QwVYG8.js} +1 -1
  47. package/dist/storybook/assets/{blocks-C1HaXuQB.js → blocks-BFmpEZRy.js} +5 -5
  48. package/dist/storybook/assets/{formatter-EIJCOSYU-Dy9Lt9fs.js → formatter-EIJCOSYU-CdwdJOPy.js} +1 -1
  49. package/dist/storybook/assets/if-defined-gbJXriW-.js +1 -0
  50. package/dist/storybook/assets/{iframe-Dx6IxWXF.js → iframe-CyssRDCd.js} +4 -4
  51. package/dist/storybook/assets/{index-OrjedSVh.js → index-B82i8dhg.js} +1 -1
  52. package/dist/storybook/assets/{onFind-YTqjw6W0.js → onFind-BFI1uIxr.js} +1 -1
  53. package/dist/storybook/assets/{onFind.stories-DEvwTrmx.js → onFind.stories-zZjQs_Gn.js} +1 -1
  54. package/dist/storybook/assets/{onRemove.stories-D5mO-Lin.js → onRemove.stories-pFBwAIex.js} +1 -1
  55. package/dist/storybook/assets/{onVisible.stories-C3Rcz0Eb.js → onVisible.stories-5dErOVRq.js} +1 -1
  56. package/dist/storybook/assets/{style-map-CiMHry7H.js → style-map-D0EcLEWO.js} +1 -1
  57. package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-DIZnuhb2.js → syntaxhighlighter-ED5Y7EFY--2h_dVga.js} +1 -1
  58. package/dist/storybook/iframe.html +1 -1
  59. package/dist/storybook/project.json +1 -1
  60. package/package.json +16 -2
  61. package/src/legacy/tool-ui/src/AnalyticsWidget.css +1 -1
  62. package/src/legacy/tool-ui/src/Board.css +1 -1
  63. package/src/legacy/tool-ui/src/BulkUpload.css +1 -1
  64. package/src/legacy/tool-ui/src/ComboInput.css +1 -1
  65. package/src/legacy/tool-ui/src/Compat.css +5 -5
  66. package/src/legacy/tool-ui/src/ContentEditDrawer.css +1 -1
  67. package/src/legacy/tool-ui/src/Dialog.css +1 -1
  68. package/src/legacy/tool-ui/src/FormFilter.css +1 -1
  69. package/src/legacy/tool-ui/src/Icon/index.css +1 -1
  70. package/src/legacy/tool-ui/src/ImageEditor.css +1 -1
  71. package/src/legacy/tool-ui/src/Incompatible.css +2 -2
  72. package/src/legacy/tool-ui/src/LinkCarousel.css +1 -1
  73. package/src/legacy/tool-ui/src/Page.css +1 -1
  74. package/src/legacy/tool-ui/src/RepeatableContentInputGroup.css +1 -1
  75. package/src/legacy/tool-ui/src/RichText.css +1 -1
  76. package/src/legacy/tool-ui/src/SearchWidget.css +2 -2
  77. package/src/legacy/tool-ui/src/SearchWidgetAdvanced.css +1 -1
  78. package/src/legacy/tool-ui/src/Widget.css +1 -1
  79. package/src/legacy/tool-ui/src/main/webapp/dist/v5.5e5d7f655e174ddd85f5.css +5 -0
  80. package/dist/storybook/assets/if-defined-CA2KmTqA.js +0 -1
  81. package/docs/adr/0001-retire-cms-ui-package-fold-under-src-legacy.md +0 -78
  82. package/docs/adr/0002-yarn-workspaces-preserve-cms-ui-deps.md +0 -130
  83. package/docs/adr/0003-bundle-equivalence-as-fold-acceptance-criterion.md +0 -286
  84. package/src/legacy/tool-ui/src/main/resources/settings.properties +0 -1
  85. package/src/legacy/tool-ui/src/main/webapp/WEB-INF/web.xml +0 -81
  86. package/src/legacy/tool-ui/src/main/webapp/dist/v5.5e3fdf0f0b20b4e3c170.css +0 -5
  87. package/src/legacy/tool-ui/src/main/webapp/script/bsp-uploader.js +0 -170
  88. package/src/legacy/tool-ui/src/main/webapp/script/bsp-utils.js +0 -393
  89. package/src/legacy/tool-ui/src/main/webapp/script/content/layout-element.js +0 -141
  90. package/src/legacy/tool-ui/src/main/webapp/script/input/query.js +0 -78
  91. package/src/legacy/tool-ui/src/main/webapp/script/input/workflow.js +0 -718
  92. package/src/legacy/tool-ui/src/main/webapp/script/jquery.extra.js +0 -633
  93. package/src/legacy/tool-ui/src/main/webapp/script/v3/Dropbox.js +0 -18
  94. package/src/legacy/tool-ui/src/main/webapp/script/v3/EditFieldUpdate.js +0 -406
  95. package/src/legacy/tool-ui/src/main/webapp/script/v3/EditFieldUpdateCache.js +0 -1
  96. package/src/legacy/tool-ui/src/main/webapp/script/v3/Notification.js +0 -151
  97. package/src/legacy/tool-ui/src/main/webapp/script/v3/content/edit.js +0 -194
  98. package/src/legacy/tool-ui/src/main/webapp/script/v3/content/state.js +0 -785
  99. package/src/legacy/tool-ui/src/main/webapp/script/v3/csrf.js +0 -35
  100. package/src/legacy/tool-ui/src/main/webapp/script/v3/dashboard.js +0 -65
  101. package/src/legacy/tool-ui/src/main/webapp/script/v3/input/dataTransfer.js +0 -129
  102. package/src/legacy/tool-ui/src/main/webapp/script/v3/input/file.js +0 -433
  103. package/src/legacy/tool-ui/src/main/webapp/script/v3/input/object.js +0 -743
  104. package/src/legacy/tool-ui/src/main/webapp/script/v3/input/read-only.js +0 -17
  105. package/src/legacy/tool-ui/src/main/webapp/script/v3/jquery.frame.js +0 -478
  106. package/src/legacy/tool-ui/src/main/webapp/script/v3/jquery.repeatable.js +0 -2406
  107. package/src/legacy/tool-ui/src/main/webapp/script/v3/plugin/popup.d.ts +0 -2
  108. package/src/legacy/tool-ui/src/main/webapp/script/v3/plugin/popup.js +0 -446
  109. package/src/legacy/tool-ui/src/main/webapp/script/v3/search-filters.js +0 -62
  110. package/src/legacy/tool-ui/src/main/webapp/script/v3/search.js +0 -53
  111. package/src/legacy/tool-ui/src/main/webapp/script/v3.js +0 -1049
  112. package/src/legacy/tool-ui/src/main/webapp/v4/Admin.js +0 -16
  113. package/src/legacy/tool-ui/src/main/webapp/v4/AutoExpand.js +0 -84
  114. package/src/legacy/tool-ui/src/main/webapp/v4/AutoSubmit.js +0 -68
  115. package/src/legacy/tool-ui/src/main/webapp/v4/Bridge.js +0 -536
  116. package/src/legacy/tool-ui/src/main/webapp/v4/CheckboxInput.js +0 -22
  117. package/src/legacy/tool-ui/src/main/webapp/v4/ColorInput.js +0 -5
  118. package/src/legacy/tool-ui/src/main/webapp/v4/ColorInputSpectrum.js +0 -107
  119. package/src/legacy/tool-ui/src/main/webapp/v4/ComboInput.js +0 -1491
  120. package/src/legacy/tool-ui/src/main/webapp/v4/CommunityWidget.js +0 -29
  121. package/src/legacy/tool-ui/src/main/webapp/v4/ContentEdit.js +0 -2427
  122. package/src/legacy/tool-ui/src/main/webapp/v4/ContentLock.js +0 -470
  123. package/src/legacy/tool-ui/src/main/webapp/v4/ContentReporting.js +0 -32
  124. package/src/legacy/tool-ui/src/main/webapp/v4/DataTable.js +0 -31
  125. package/src/legacy/tool-ui/src/main/webapp/v4/DateStringField.js +0 -485
  126. package/src/legacy/tool-ui/src/main/webapp/v4/Entry.js +0 -264
  127. package/src/legacy/tool-ui/src/main/webapp/v4/ExternalItemAuth.js +0 -16
  128. package/src/legacy/tool-ui/src/main/webapp/v4/Form.js +0 -31
  129. package/src/legacy/tool-ui/src/main/webapp/v4/Hierarchy.js +0 -100
  130. package/src/legacy/tool-ui/src/main/webapp/v4/Icon.ts +0 -49
  131. package/src/legacy/tool-ui/src/main/webapp/v4/ImageEditor.js +0 -2403
  132. package/src/legacy/tool-ui/src/main/webapp/v4/ImageEditorBundle.js +0 -5
  133. package/src/legacy/tool-ui/src/main/webapp/v4/LinkCarousel.js +0 -40
  134. package/src/legacy/tool-ui/src/main/webapp/v4/LinkList.js +0 -14
  135. package/src/legacy/tool-ui/src/main/webapp/v4/LinkTable.js +0 -123
  136. package/src/legacy/tool-ui/src/main/webapp/v4/Location.js +0 -19
  137. package/src/legacy/tool-ui/src/main/webapp/v4/LocationMap.js +0 -148
  138. package/src/legacy/tool-ui/src/main/webapp/v4/LookingGlass.js +0 -24
  139. package/src/legacy/tool-ui/src/main/webapp/v4/Message.js +0 -14
  140. package/src/legacy/tool-ui/src/main/webapp/v4/NumberBar.js +0 -32
  141. package/src/legacy/tool-ui/src/main/webapp/v4/Page.js +0 -890
  142. package/src/legacy/tool-ui/src/main/webapp/v4/Preview.js +0 -758
  143. package/src/legacy/tool-ui/src/main/webapp/v4/PreviewEditor.js +0 -86
  144. package/src/legacy/tool-ui/src/main/webapp/v4/PreviewOverlay.js +0 -1005
  145. package/src/legacy/tool-ui/src/main/webapp/v4/PubSub.js +0 -47
  146. package/src/legacy/tool-ui/src/main/webapp/v4/QueryField.js +0 -211
  147. package/src/legacy/tool-ui/src/main/webapp/v4/RegionMap.js +0 -215
  148. package/src/legacy/tool-ui/src/main/webapp/v4/RepeatableContentInputGroup.js +0 -160
  149. package/src/legacy/tool-ui/src/main/webapp/v4/RichTextEditor.js +0 -154
  150. package/src/legacy/tool-ui/src/main/webapp/v4/SearchFields.js +0 -281
  151. package/src/legacy/tool-ui/src/main/webapp/v4/SearchResult.js +0 -255
  152. package/src/legacy/tool-ui/src/main/webapp/v4/SharePreview.js +0 -56
  153. package/src/legacy/tool-ui/src/main/webapp/v4/Sortable.js +0 -874
  154. package/src/legacy/tool-ui/src/main/webapp/v4/StyleEmbeddedContent.js +0 -100
  155. package/src/legacy/tool-ui/src/main/webapp/v4/StyleguidePresets.js +0 -357
  156. package/src/legacy/tool-ui/src/main/webapp/v4/TabContainer.js +0 -360
  157. package/src/legacy/tool-ui/src/main/webapp/v4/Taxonomy.js +0 -27
  158. package/src/legacy/tool-ui/src/main/webapp/v4/ThemeBundleEditor.js +0 -224
  159. package/src/legacy/tool-ui/src/main/webapp/v4/TimedContent.js +0 -147
  160. package/src/legacy/tool-ui/src/main/webapp/v4/TimedContentBundle.js +0 -8
  161. package/src/legacy/tool-ui/src/main/webapp/v4/VideoEditor.js +0 -2417
  162. package/src/legacy/tool-ui/src/main/webapp/v4/VideoEditorBundle.js +0 -8
  163. package/src/legacy/tool-ui/src/main/webapp/v4/ViewMirror.js +0 -52
  164. package/src/legacy/tool-ui/src/main/webapp/v4/ViewPreview.d.ts +0 -13
  165. package/src/legacy/tool-ui/src/main/webapp/v4/ViewPreview.js +0 -177
  166. package/src/legacy/tool-ui/src/main/webapp/v4/Widget.js +0 -90
  167. package/src/legacy/tool-ui/src/main/webapp/v4/__mocks__/fileMock.js +0 -1
  168. package/src/legacy/tool-ui/src/main/webapp/v4/__mocks__/styleMock.js +0 -1
  169. package/src/legacy/tool-ui/src/main/webapp/v4/__mocks__/textArea.mock.js +0 -20
  170. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/globals.js +0 -770
  171. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/ProseMirror.test.js +0 -16
  172. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/index.html +0 -54
  173. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/comment_manager/CommentManager.test.js +0 -29
  174. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/comment_manager/index.html +0 -35
  175. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/custom_keyboard/CustomKeyboard.js +0 -42
  176. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/custom_keyboard/index.html +0 -37
  177. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/enhancement_manager/EnhancementManager.test.js +0 -288
  178. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/enhancement_manager/block.html +0 -38
  179. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/enhancement_manager/inline.html +0 -38
  180. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/enhancement_manager/no-popups.html +0 -38
  181. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/list_manager/ListManager.js +0 -257
  182. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/list_manager/index.html +0 -38
  183. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/menubar/hierarchal.html +0 -33
  184. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/menubar/index.html +0 -33
  185. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/menubar/menubar.test.js +0 -195
  186. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/menubar/small.html +0 -34
  187. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/menubar/tags.html +0 -34
  188. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/placeholder_manager/PlaceholderManager.test.js +0 -134
  189. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/placeholder_manager/has-editable-placeholder.html +0 -32
  190. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/placeholder_manager/has-text.html +0 -34
  191. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/placeholder_manager/index.html +0 -31
  192. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/table_manager/TableManager.test.js +0 -63
  193. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/table_manager/existing.html +0 -48
  194. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/track_manager/TrackManager.test.js +0 -291
  195. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/track_manager/existing.html +0 -39
  196. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/integration/rte/plugins/track_manager/insert.html +0 -37
  197. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/Sortable.test.js +0 -105
  198. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/rte/ProseMirror.test.js +0 -41
  199. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/rte/codemirror-shim.test.js +0 -72
  200. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/rte/plugins/collab_manager/CollabManager.test.js +0 -46
  201. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/rte/plugins/enhancement_manager/EnhancementManager.test.js +0 -84
  202. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/rte/plugins/list_manager/ListManager.test.js +0 -54
  203. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/rte/plugins/menubar/menubar.test.js +0 -183
  204. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/rte/plugins/spellcheck/SpellCheck.test.js +0 -45
  205. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/rte/settings/BSSerializer.test.js +0 -346
  206. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/rte/settings/menuItemsBuilder.test.js +0 -226
  207. package/src/legacy/tool-ui/src/main/webapp/v4/__tests__/unit/rte/utilities.test.js +0 -118
  208. package/src/legacy/tool-ui/src/main/webapp/v4/appetizeio/Appetizeio.js +0 -5
  209. package/src/legacy/tool-ui/src/main/webapp/v4/appetizeio/AppetizeioEmbedded.js +0 -113
  210. package/src/legacy/tool-ui/src/main/webapp/v4/compat/Fetch.js +0 -16
  211. package/src/legacy/tool-ui/src/main/webapp/v4/compat/jquery.js +0 -32
  212. package/src/legacy/tool-ui/src/main/webapp/v4/compat/requirejs.js +0 -13
  213. package/src/legacy/tool-ui/src/main/webapp/v4/dom/Tether.js +0 -1
  214. package/src/legacy/tool-ui/src/main/webapp/v4/dom/TetherLayout.js +0 -1
  215. package/src/legacy/tool-ui/src/main/webapp/v4/dom/closest.js +0 -1
  216. package/src/legacy/tool-ui/src/main/webapp/v4/dom/create.js +0 -1
  217. package/src/legacy/tool-ui/src/main/webapp/v4/dom/find.js +0 -1
  218. package/src/legacy/tool-ui/src/main/webapp/v4/dom/findAll.js +0 -1
  219. package/src/legacy/tool-ui/src/main/webapp/v4/dom/ifClick.js +0 -1
  220. package/src/legacy/tool-ui/src/main/webapp/v4/dom/ifMatches.js +0 -1
  221. package/src/legacy/tool-ui/src/main/webapp/v4/dom/ifUnmodified.js +0 -1
  222. package/src/legacy/tool-ui/src/main/webapp/v4/dom/index.js +0 -5
  223. package/src/legacy/tool-ui/src/main/webapp/v4/dom/insertBefore.js +0 -1
  224. package/src/legacy/tool-ui/src/main/webapp/v4/dom/insertFirst.js +0 -1
  225. package/src/legacy/tool-ui/src/main/webapp/v4/dom/insertLast.js +0 -1
  226. package/src/legacy/tool-ui/src/main/webapp/v4/dom/onFind.js +0 -1
  227. package/src/legacy/tool-ui/src/main/webapp/v4/dom/onFindOnce.js +0 -1
  228. package/src/legacy/tool-ui/src/main/webapp/v4/dom/onRTEReady.js +0 -1
  229. package/src/legacy/tool-ui/src/main/webapp/v4/dom/onRemove.js +0 -1
  230. package/src/legacy/tool-ui/src/main/webapp/v4/dom/onVisible.js +0 -1
  231. package/src/legacy/tool-ui/src/main/webapp/v4/dom/previousUntil.js +0 -1
  232. package/src/legacy/tool-ui/src/main/webapp/v4/dom/resolveIconCompat.js +0 -40
  233. package/src/legacy/tool-ui/src/main/webapp/v4/rtc/Socket.js +0 -1
  234. package/src/legacy/tool-ui/src/main/webapp/v4/rtc/index.js +0 -1
  235. package/src/legacy/tool-ui/src/main/webapp/v4/rte/ProseMirror.js +0 -909
  236. package/src/legacy/tool-ui/src/main/webapp/v4/rte/README.md +0 -68
  237. package/src/legacy/tool-ui/src/main/webapp/v4/rte/codemirror-shim.d.ts +0 -8
  238. package/src/legacy/tool-ui/src/main/webapp/v4/rte/codemirror-shim.js +0 -274
  239. package/src/legacy/tool-ui/src/main/webapp/v4/rte/collab-workflow.jpeg +0 -0
  240. package/src/legacy/tool-ui/src/main/webapp/v4/rte/interchangeable.ts +0 -250
  241. package/src/legacy/tool-ui/src/main/webapp/v4/rte/mention.js +0 -90
  242. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/PluginProvider.js +0 -124
  243. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/README.md +0 -46
  244. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/ai_inline_manager/AIInlineManager.ts +0 -124
  245. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/ai_inline_manager/views/AIInlineView.ts +0 -1019
  246. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/ai_manager/AiManager.ts +0 -199
  247. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/collab_manager/CollabManager.js +0 -339
  248. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/collab_manager/views/AvatarView.js +0 -96
  249. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/comment_manager/CommentManager.js +0 -348
  250. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/custom_keyboard/CustomKeyboard.js +0 -110
  251. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/custom_keyboard/README.md +0 -29
  252. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/EnhancementManager.js +0 -428
  253. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/README.md +0 -63
  254. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/commands.js +0 -690
  255. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/constants.js +0 -12
  256. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/enhancement-creation.jpeg +0 -0
  257. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/index.js +0 -15
  258. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/rte-flow.jpeg +0 -0
  259. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/views/ActionButtonView.js +0 -86
  260. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/views/BlockSubmenuView.js +0 -60
  261. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/views/EnhancementView.js +0 -208
  262. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/views/PreviewView.js +0 -102
  263. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/enhancement_manager/views/SubmenuView.js +0 -365
  264. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/find_replace_manager/FindReplaceManager.js +0 -239
  265. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/find_replace_manager/views/FindView.js +0 -604
  266. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/fullscreen_manager/FullscreenManager.js +0 -57
  267. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/fullscreen_manager/README.md +0 -26
  268. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/fullscreen_manager/commands.js +0 -16
  269. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/fullscreen_manager/index.js +0 -4
  270. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/fullscreen_manager/views/FullscreenView.js +0 -474
  271. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/html_editor_manager/htmlEditorManager.js +0 -66
  272. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/html_editor_manager/views/HtmlEditorView.js +0 -97
  273. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/list_manager/ListManager.js +0 -342
  274. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/list_manager/README.md +0 -50
  275. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/list_manager/commands.js +0 -207
  276. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/list_manager/constants.js +0 -26
  277. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/list_manager/index.js +0 -4
  278. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/menubar/Menubar.js +0 -485
  279. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/menubar/README.md +0 -40
  280. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/menubar/views/MenuView.js +0 -842
  281. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/paste_manager/PasteManager.js +0 -368
  282. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/placeholder_manager/PlaceHolderManager.js +0 -128
  283. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/raw_text_manager/README.md +0 -13
  284. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/raw_text_manager/RawTextManager.js +0 -96
  285. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/spellcheck/index.js +0 -3
  286. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/spellcheck/spellcheck-plugin.js +0 -280
  287. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/spellcheck/spellcheck-service.js +0 -94
  288. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/table_manager/TableManager.js +0 -57
  289. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/table_manager/commands.js +0 -97
  290. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/table_manager/views/TableSizerView.js +0 -88
  291. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/table_manager/views/TableView.js +0 -613
  292. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/track_manager/README.md +0 -13
  293. package/src/legacy/tool-ui/src/main/webapp/v4/rte/plugins/track_manager/TrackManager.js +0 -905
  294. package/src/legacy/tool-ui/src/main/webapp/v4/rte/settings/BSSerializer.js +0 -819
  295. package/src/legacy/tool-ui/src/main/webapp/v4/rte/settings/README.md +0 -80
  296. package/src/legacy/tool-ui/src/main/webapp/v4/rte/settings/commands.js +0 -98
  297. package/src/legacy/tool-ui/src/main/webapp/v4/rte/settings/constants.d.ts +0 -84
  298. package/src/legacy/tool-ui/src/main/webapp/v4/rte/settings/constants.js +0 -87
  299. package/src/legacy/tool-ui/src/main/webapp/v4/rte/settings/index.js +0 -13
  300. package/src/legacy/tool-ui/src/main/webapp/v4/rte/settings/keymapBuilder.js +0 -223
  301. package/src/legacy/tool-ui/src/main/webapp/v4/rte/settings/menuItemsBuilder.js +0 -559
  302. package/src/legacy/tool-ui/src/main/webapp/v4/rte/settings/schemaBuilder.js +0 -1281
  303. package/src/legacy/tool-ui/src/main/webapp/v4/rte/utilities.d.ts +0 -4
  304. package/src/legacy/tool-ui/src/main/webapp/v4/rte/utilities.js +0 -359
  305. package/src/legacy/tool-ui/src/main/webapp/v4/theme/ColorRotator.js +0 -1
  306. package/src/legacy/tool-ui/src/main/webapp/v4/util/debounce.js +0 -1
  307. package/src/legacy/tool-ui/src/main/webapp/v4/util/getComponentKey.js +0 -1
  308. package/src/legacy/tool-ui/src/main/webapp/v4/util/noise.js +0 -1
  309. package/src/legacy/tool-ui/src/main/webapp/v4/util/repaint.js +0 -1
  310. package/src/legacy/tool-ui/src/main/webapp/v4/util/storage.js +0 -1
  311. package/src/legacy/tool-ui/src/main/webapp/v4/util/throttle.js +0 -1
  312. package/src/legacy/tool-ui/src/main/webapp/v4/widget/AssignmentContent.js +0 -33
  313. package/src/legacy/tool-ui/src/main/webapp/v4/widget/AssignmentDeskDashboard.js +0 -217
  314. package/src/legacy/tool-ui/src/main/webapp/v4/widget/AssociatedContentWidget.js +0 -7
  315. package/src/legacy/tool-ui/src/main/webapp/v4/widget/BulkUpload.js +0 -19
  316. package/src/legacy/tool-ui/src/main/webapp/v4/widget/Calendar.js +0 -7
  317. package/src/legacy/tool-ui/src/main/webapp/v4/widget/ClosableWindow.js +0 -13
  318. package/src/legacy/tool-ui/src/main/webapp/v4/widget/PitchAssignments.js +0 -25
  319. package/src/legacy/tool-ui/src/main/webapp/v4/widget/PitchContent.js +0 -33
  320. package/src/legacy/tool-ui/src/main/webapp/v4/widget/Revisions.js +0 -61
@@ -1,770 +0,0 @@
1
- var ROOT_PATH = ''
2
- var CONTEXT_PATH = '/cms/'
3
- var UPLOAD_PATH = '/_dari/upload'
4
- var STANDARD_IMAGE_SIZES = []
5
- var RTE_LEGACY_HTML = false
6
- var RTE_ENABLE_ANNOTATIONS = false
7
- var DISABLE_TOOL_CHECKS = false
8
- var COMMON_TIMES = []
9
- var RICH_TEXT_TOOLBARS = {
10
- DefaultRichTextToolbar: [],
11
- 'brightspot.core.tool.SmallRichTextToolbar': [
12
- {
13
- inline: true,
14
- text: 'B',
15
- className: 'rte2-toolbar-bold',
16
- tooltip: 'Bold',
17
- style: 'bold',
18
- activeIfUnset: null,
19
- },
20
- {
21
- inline: true,
22
- text: 'I',
23
- className: 'rte2-toolbar-italic',
24
- tooltip: 'Italic',
25
- style: 'italic',
26
- activeIfUnset: null,
27
- },
28
- {
29
- inline: true,
30
- text: 'U',
31
- className: 'rte2-toolbar-underline',
32
- tooltip: 'Underline',
33
- style: 'underline',
34
- activeIfUnset: null,
35
- },
36
- {
37
- inline: true,
38
- text: 'S',
39
- className: 'rte2-toolbar-strikethrough',
40
- tooltip: 'Strikethrough',
41
- style: 'strikethrough',
42
- activeIfUnset: null,
43
- },
44
- {
45
- inline: true,
46
- text: 'Super',
47
- className: 'rte2-toolbar-superscript',
48
- tooltip: 'Superscript',
49
- style: 'superscript',
50
- activeIfUnset: null,
51
- },
52
- {
53
- inline: true,
54
- text: 'Sub',
55
- className: 'rte2-toolbar-subscript',
56
- tooltip: 'Subscript',
57
- style: 'subscript',
58
- activeIfUnset: null,
59
- },
60
- {
61
- inline: true,
62
- text: 'Clear',
63
- className: 'rte2-toolbar-clear',
64
- tooltip: 'Clear Formatting',
65
- action: 'clear',
66
- },
67
- {
68
- inline: true,
69
- separator: true,
70
- },
71
- {
72
- inline: true,
73
- text: 'Link',
74
- className: 'rte2-toolbar-link',
75
- tooltip: 'Link',
76
- style: 'link',
77
- activeIfUnset: null,
78
- },
79
- {
80
- richTextElements: false,
81
- },
82
- {
83
- custom: false,
84
- },
85
- {
86
- inline: true,
87
- text: 'HTML',
88
- className: 'rte2-toolbar-html',
89
- tooltip: 'Raw HTML',
90
- style: 'html',
91
- activeIfUnset: null,
92
- },
93
- ],
94
- 'com.psddev.cms.rte.DefaultRichTextToolbar': [],
95
- 'brightspot.core.tool.LargeRichTextToolbar': [
96
- {
97
- inline: true,
98
- text: 'B',
99
- className: 'rte2-toolbar-bold',
100
- tooltip: 'Bold',
101
- style: 'bold',
102
- activeIfUnset: null,
103
- },
104
- {
105
- inline: true,
106
- text: 'I',
107
- className: 'rte2-toolbar-italic',
108
- tooltip: 'Italic',
109
- style: 'italic',
110
- activeIfUnset: null,
111
- },
112
- {
113
- inline: true,
114
- text: 'U',
115
- className: 'rte2-toolbar-underline',
116
- tooltip: 'Underline',
117
- style: 'underline',
118
- activeIfUnset: null,
119
- },
120
- {
121
- inline: true,
122
- text: 'S',
123
- className: 'rte2-toolbar-strikethrough',
124
- tooltip: 'Strikethrough',
125
- style: 'strikethrough',
126
- activeIfUnset: null,
127
- },
128
- {
129
- inline: true,
130
- text: 'Super',
131
- className: 'rte2-toolbar-superscript',
132
- tooltip: 'Superscript',
133
- style: 'superscript',
134
- activeIfUnset: null,
135
- },
136
- {
137
- inline: true,
138
- text: 'Sub',
139
- className: 'rte2-toolbar-subscript',
140
- tooltip: 'Subscript',
141
- style: 'subscript',
142
- activeIfUnset: null,
143
- },
144
- {
145
- inline: true,
146
- text: 'Clear',
147
- className: 'rte2-toolbar-clear',
148
- tooltip: 'Clear Formatting',
149
- action: 'clear',
150
- },
151
- {
152
- inline: false,
153
- separator: true,
154
- },
155
- {
156
- inline: false,
157
- text: 'Left',
158
- className: 'rte2-toolbar-align-left',
159
- tooltip: 'Left Align Text',
160
- style: 'alignLeft',
161
- inactiveIfSet: ['ul', 'ol'],
162
- },
163
- {
164
- inline: false,
165
- text: 'Center',
166
- className: 'rte2-toolbar-align-center',
167
- tooltip: 'Center Align Text',
168
- style: 'alignCenter',
169
- inactiveIfSet: ['ul', 'ol'],
170
- },
171
- {
172
- inline: false,
173
- text: 'Right',
174
- className: 'rte2-toolbar-align-right',
175
- tooltip: 'Right Align Text',
176
- style: 'alignRight',
177
- inactiveIfSet: ['ul', 'ol'],
178
- },
179
- {
180
- inline: false,
181
- separator: true,
182
- },
183
- {
184
- inline: false,
185
- text: '•',
186
- className: 'rte2-toolbar-ul',
187
- tooltip: 'Bulleted List',
188
- style: 'ul',
189
- activeIfUnset: null,
190
- inactiveIfSet: ['alignCenter', 'alignLeft', 'alignRight'],
191
- },
192
- {
193
- inline: false,
194
- text: '1.',
195
- className: 'rte2-toolbar-ol',
196
- tooltip: 'Numbered List',
197
- style: 'ol',
198
- activeIfUnset: null,
199
- inactiveIfSet: ['alignCenter', 'alignLeft', 'alignRight'],
200
- },
201
- {
202
- inline: false,
203
- text: 'Indent',
204
- icon: 'format_indent_increase',
205
- className: 'rte2-toolbar-indent',
206
- tooltip: 'Indent (Ctrl-])',
207
- submenu: null,
208
- action: 'indent',
209
- },
210
- {
211
- inline: false,
212
- text: 'Outdent',
213
- icon: 'format_indent_decrease',
214
- className: 'rte2-toolbar-outdent',
215
- tooltip: 'Outdent (Ctrl-[)',
216
- submenu: null,
217
- action: 'outdent',
218
- },
219
- {
220
- inline: true,
221
- separator: true,
222
- },
223
- {
224
- inline: true,
225
- text: 'Link',
226
- className: 'rte2-toolbar-link',
227
- tooltip: 'Link',
228
- style: 'link',
229
- activeIfUnset: null,
230
- },
231
- {
232
- inline: false,
233
- text: 'Table',
234
- className: 'rte2-toolbar-noicon',
235
- tooltip: 'Add Table',
236
- action: 'table',
237
- },
238
- {
239
- richTextElements: true,
240
- },
241
- {
242
- custom: true,
243
- },
244
- {
245
- inline: true,
246
- text: 'Unicode Keyboard',
247
- icon: 'keyboard',
248
- className: 'rte2-toolbar-custom-keyboard',
249
- tooltip: 'Insert Unicode Character with Virtual Keyboard',
250
- submenu: null,
251
- action: 'unicodeKeyboard',
252
- },
253
- {
254
- inline: true,
255
- text: 'HTML',
256
- className: 'rte2-toolbar-html',
257
- tooltip: 'Raw HTML',
258
- style: 'html',
259
- activeIfUnset: null,
260
- },
261
- {
262
- inline: false,
263
- separator: true,
264
- },
265
- {
266
- inline: true,
267
- text: 'Highlight AI Content',
268
- className: 'rte2-toolbar-track-ai',
269
- tooltip: 'Highlight AI Content',
270
- action: 'highlightAiContentToggle',
271
- },
272
- {
273
- inline: true,
274
- text: 'Track Changes',
275
- icon: 'toggle_off',
276
- className: 'rte2-toolbar-track-changes',
277
- tooltip: 'Toggle Track Changes',
278
- onIcon: 'toggle_on',
279
- action: 'trackChangesToggle',
280
- },
281
- {
282
- inline: true,
283
- text: 'Accept',
284
- className: 'rte2-toolbar-track-changes-accept',
285
- tooltip: 'Accept Change',
286
- action: 'trackChangesAccept',
287
- submenu: 'Track',
288
- },
289
- {
290
- inline: true,
291
- text: 'Reject',
292
- className: 'rte2-toolbar-track-changes-reject',
293
- tooltip: 'Reject Change',
294
- action: 'trackChangesReject',
295
- submenu: 'Track',
296
- },
297
- {
298
- inline: true,
299
- text: 'Show Final',
300
- className: 'rte2-toolbar-track-changes-show-final',
301
- tooltip: 'Toggle Preview',
302
- action: 'trackChangesShowFinalToggle',
303
- submenu: 'Track',
304
- },
305
- {
306
- inline: false,
307
- separator: true,
308
- },
309
- {
310
- inline: true,
311
- text: 'Add Comment',
312
- className: 'rte2-toolbar-comment',
313
- tooltip: 'Add Comment',
314
- style: 'comment',
315
- activeIfUnset: null,
316
- },
317
- {
318
- inline: true,
319
- text: 'Toggle comment collapse',
320
- className: 'rte2-toolbar-comment-collapse',
321
- tooltip: 'Toggle comment collapse',
322
- action: 'collapse',
323
- collapseStyle: 'comment',
324
- },
325
- {
326
- inline: true,
327
- text: 'Remove Comment',
328
- className: 'rte2-toolbar-comment-remove',
329
- tooltip: 'Remove Comment',
330
- action: 'cleartext',
331
- cleartextStyle: 'comment',
332
- },
333
- {
334
- inline: true,
335
- separator: true,
336
- },
337
- {
338
- inline: true,
339
- text: 'Fullscreen',
340
- className: 'rte2-toolbar-fullscreen',
341
- tooltip: 'Toggle Fullscreen Editing',
342
- action: 'fullscreen',
343
- },
344
- {
345
- inline: true,
346
- text: 'Undo',
347
- icon: 'undo',
348
- className: 'rte2-toolbar-undo',
349
- tooltip: 'Undo',
350
- submenu: null,
351
- action: 'undo',
352
- },
353
- {
354
- inline: true,
355
- text: 'Redo',
356
- icon: 'redo',
357
- className: 'rte2-toolbar-redo',
358
- tooltip: 'Redo',
359
- submenu: null,
360
- action: 'redo',
361
- },
362
- ],
363
- 'brightspot.core.tool.MediumRichTextToolbar': [
364
- {
365
- inline: true,
366
- text: 'B',
367
- className: 'rte2-toolbar-bold',
368
- tooltip: 'Bold',
369
- style: 'bold',
370
- activeIfUnset: null,
371
- },
372
- {
373
- inline: true,
374
- text: 'I',
375
- className: 'rte2-toolbar-italic',
376
- tooltip: 'Italic',
377
- style: 'italic',
378
- activeIfUnset: null,
379
- },
380
- {
381
- inline: true,
382
- text: 'U',
383
- className: 'rte2-toolbar-underline',
384
- tooltip: 'Underline',
385
- style: 'underline',
386
- activeIfUnset: null,
387
- },
388
- {
389
- inline: true,
390
- text: 'S',
391
- className: 'rte2-toolbar-strikethrough',
392
- tooltip: 'Strikethrough',
393
- style: 'strikethrough',
394
- activeIfUnset: null,
395
- },
396
- {
397
- inline: true,
398
- text: 'Super',
399
- className: 'rte2-toolbar-superscript',
400
- tooltip: 'Superscript',
401
- style: 'superscript',
402
- activeIfUnset: null,
403
- },
404
- {
405
- inline: true,
406
- text: 'Sub',
407
- className: 'rte2-toolbar-subscript',
408
- tooltip: 'Subscript',
409
- style: 'subscript',
410
- activeIfUnset: null,
411
- },
412
- {
413
- inline: true,
414
- text: 'Clear',
415
- className: 'rte2-toolbar-clear',
416
- tooltip: 'Clear Formatting',
417
- action: 'clear',
418
- },
419
- {
420
- inline: false,
421
- separator: true,
422
- },
423
- {
424
- inline: false,
425
- text: 'Left',
426
- className: 'rte2-toolbar-align-left',
427
- tooltip: 'Left Align Text',
428
- style: 'alignLeft',
429
- inactiveIfSet: ['ul', 'ol'],
430
- },
431
- {
432
- inline: false,
433
- text: 'Center',
434
- className: 'rte2-toolbar-align-center',
435
- tooltip: 'Center Align Text',
436
- style: 'alignCenter',
437
- inactiveIfSet: ['ul', 'ol'],
438
- },
439
- {
440
- inline: false,
441
- text: 'Right',
442
- className: 'rte2-toolbar-align-right',
443
- tooltip: 'Right Align Text',
444
- style: 'alignRight',
445
- inactiveIfSet: ['ul', 'ol'],
446
- },
447
- {
448
- inline: false,
449
- separator: true,
450
- },
451
- {
452
- inline: false,
453
- text: '•',
454
- className: 'rte2-toolbar-ul',
455
- tooltip: 'Bulleted List',
456
- style: 'ul',
457
- activeIfUnset: ['alignCenter', 'alignLeft', 'alignRight'],
458
- },
459
- {
460
- inline: false,
461
- text: '1.',
462
- className: 'rte2-toolbar-ol',
463
- tooltip: 'Numbered List',
464
- style: 'ol',
465
- activeIfUnset: ['alignCenter', 'alignLeft', 'alignRight'],
466
- },
467
- {
468
- inline: true,
469
- separator: true,
470
- },
471
- {
472
- inline: true,
473
- text: 'Link',
474
- className: 'rte2-toolbar-link',
475
- tooltip: 'Link',
476
- style: 'link',
477
- activeIfUnset: null,
478
- },
479
- {
480
- inline: false,
481
- text: 'Table',
482
- className: 'rte2-toolbar-noicon',
483
- tooltip: 'Add Table',
484
- action: 'table',
485
- },
486
- {
487
- richTextElements: true,
488
- },
489
- {
490
- custom: true,
491
- },
492
- {
493
- inline: true,
494
- text: 'HTML',
495
- className: 'rte2-toolbar-html',
496
- tooltip: 'Raw HTML',
497
- style: 'html',
498
- activeIfUnset: null,
499
- },
500
- {
501
- inline: true,
502
- separator: true,
503
- },
504
- {
505
- inline: true,
506
- text: 'Fullscreen',
507
- className: 'rte2-toolbar-fullscreen',
508
- tooltip: 'Toggle Fullscreen Editing',
509
- action: 'fullscreen',
510
- },
511
- ],
512
- }
513
- var RICH_TEXT_ELEMENTS = [
514
- {
515
- tag: 'aws-transcribe-item',
516
- icon: null,
517
- iconMode: null,
518
- line: false,
519
- previewable: false,
520
- readOnly: false,
521
- position: 0.0,
522
- popup: true,
523
- toggle: false,
524
- internalName:
525
- 'brightspot.tutorial.article.AwsTranscribeItemRichTextElement',
526
- styleName: 'brightspot-tutorial-article-AwsTranscribeItemRichTextElement',
527
- typeId: '9ac37493-8bc9-3c71-9bae-dc8be4d949d4',
528
- displayName: 'AWS Transcribe Item',
529
- tooltipText: '',
530
- },
531
- {
532
- tag: 'bsp-image',
533
- initialBody: 'Image',
534
- line: true,
535
- previewable: true,
536
- readOnly: true,
537
- position: -6.0,
538
- popup: true,
539
- toggle: false,
540
- internalName: 'brightspot.core.image.ImageRichTextElement',
541
- styleName: 'brightspot-core-image-ImageRichTextElement',
542
- typeId: '23ac712d-8839-31ed-81b0-4bf6cfff37a2',
543
- displayName: 'Image',
544
- tooltipText: 'Add Image (Shift-Ctrl-I)',
545
- keymap: ['Shift-Ctrl-I'],
546
- context: [null],
547
- },
548
- {
549
- tag: 'bsp-carousel',
550
- initialBody: 'Gallery',
551
- line: true,
552
- previewable: true,
553
- readOnly: true,
554
- position: -5.0,
555
- popup: true,
556
- toggle: false,
557
- internalName: 'brightspot.core.carousel.CarouselRichTextElement',
558
- styleName: 'brightspot-core-carousel-CarouselRichTextElement',
559
- typeId: 'aea2154e-dc6e-3368-92ef-d9ef5d933eed',
560
- displayName: 'Gallery',
561
- tooltipText: 'Add Gallery (Shift-Ctrl-G)',
562
- keymap: ['Shift-Ctrl-G'],
563
- context: [null],
564
- },
565
- {
566
- tag: 'bsp-video',
567
- initialBody: 'Video',
568
- line: true,
569
- previewable: true,
570
- readOnly: true,
571
- position: -4.0,
572
- popup: true,
573
- toggle: false,
574
- internalName: 'brightspot.core.video.VideoRichTextElement',
575
- styleName: 'brightspot-core-video-VideoRichTextElement',
576
- typeId: 'eeff2150-54b6-38cb-84d9-5ffe45c70685',
577
- displayName: 'Video',
578
- tooltipText: 'Add Video (Shift-Ctrl-V)',
579
- keymap: ['Shift-Ctrl-V'],
580
- context: [null],
581
- },
582
- {
583
- tag: 'bsp-quote',
584
- initialBody: 'Quote',
585
- line: true,
586
- previewable: true,
587
- readOnly: true,
588
- position: -3.0,
589
- popup: true,
590
- toggle: false,
591
- internalName: 'brightspot.core.quote.QuoteRichTextElement',
592
- styleName: 'brightspot-core-quote-QuoteRichTextElement',
593
- typeId: 'c9242dcb-f580-3542-9f0d-c199afa594b1',
594
- displayName: 'Quote',
595
- tooltipText: "Add Quote (Shift-Ctrl-')",
596
- keymap: ["Shift-Ctrl-'"],
597
- context: [null],
598
- },
599
- {
600
- tag: 'bsp-facebook',
601
- initialBody: 'Facebook',
602
- line: true,
603
- previewable: true,
604
- readOnly: true,
605
- position: -2.5,
606
- popup: true,
607
- toggle: false,
608
- internalName: 'brightspot.facebook.rte.FacebookRichTextElement',
609
- styleName: 'brightspot-facebook-rte-FacebookRichTextElement',
610
- typeId: '8451931e-5cb4-3df1-8e45-58f81ecc4bcf',
611
- displayName: 'Facebook',
612
- tooltipText: 'Add Facebook Post (Shift-Ctrl-F)',
613
- keymap: ['Shift-Ctrl-F'],
614
- context: [null],
615
- },
616
- {
617
- tag: 'bsp-instagram',
618
- initialBody: 'Instagram',
619
- line: true,
620
- previewable: true,
621
- readOnly: true,
622
- position: -2.0,
623
- popup: true,
624
- toggle: false,
625
- internalName: 'brightspot.instagram.rte.InstagramRichTextElement',
626
- styleName: 'brightspot-instagram-rte-InstagramRichTextElement',
627
- typeId: '69ae772c-f630-36ad-bb99-dc2da6040b79',
628
- displayName: 'Instagram',
629
- tooltipText: 'Add Instagram Post (Shift-Ctrl-G)',
630
- keymap: ['Shift-Ctrl-G'],
631
- context: [null],
632
- },
633
- {
634
- tag: 'bsp-tweet',
635
- initialBody: 'Tweet',
636
- line: true,
637
- previewable: true,
638
- readOnly: true,
639
- position: -1.0,
640
- popup: true,
641
- toggle: false,
642
- internalName: 'brightspot.twitter.rte.TweetRichTextElement',
643
- styleName: 'brightspot-twitter-rte-TweetRichTextElement',
644
- typeId: '9918e257-2b01-3dd3-b583-6cb3ac6e7397',
645
- displayName: 'Tweet',
646
- tooltipText: 'Add Tweet (Shift-Ctrl-T)',
647
- keymap: ['Shift-Ctrl-T'],
648
- },
649
- {
650
- tag: 'a',
651
- line: false,
652
- previewable: false,
653
- readOnly: false,
654
- position: 0.0,
655
- popup: true,
656
- toggle: false,
657
- internalName: 'brightspot.core.link.LinkRichTextElement',
658
- styleName: 'brightspot-core-link-LinkRichTextElement',
659
- typeId: '809caec9-30e2-3666-8b71-b32ddbffc288',
660
- displayName: 'Link',
661
- tooltipText: 'Link',
662
- keymap: ['Ctrl-K', 'Cmd-K'],
663
- },
664
- {
665
- tag: 'brightspot-cms-external-content',
666
- initialBody: '...',
667
- line: true,
668
- previewable: true,
669
- readOnly: true,
670
- position: 0.0,
671
- popup: true,
672
- toggle: false,
673
- internalName: 'com.psddev.cms.rte.ExternalContentRichTextElement',
674
- styleName: 'com-psddev-cms-rte-ExternalContentRichTextElement',
675
- typeId: '035d81d3-5be2-3ed2-bc8a-6da208e0d9e2',
676
- displayName: 'External Content',
677
- tooltipText: '',
678
- },
679
- {
680
- tag: 'bsp-module',
681
- initialBody: 'Module',
682
- line: true,
683
- previewable: true,
684
- readOnly: true,
685
- position: 1.0,
686
- popup: true,
687
- toggle: false,
688
- submenu: 'Module',
689
- internalName: 'brightspot.core.module.ModuleRichTextElement',
690
- styleName: 'brightspot-core-module-ModuleRichTextElement',
691
- typeId: 'c5b60bfe-fc18-3e1d-bd70-75608e803f66',
692
- displayName: 'Module',
693
- tooltipText: '',
694
- context: [null],
695
- },
696
- {
697
- tag: 'blue',
698
- icon: null,
699
- iconMode: null,
700
- line: false,
701
- previewable: false,
702
- readOnly: false,
703
- position: 0.0,
704
- popup: false,
705
- toggle: true,
706
- submenu: 'Highlight',
707
- internalName: 'core.rte.highlight.BlueHighlightRichTextElement',
708
- styleName: 'core-rte-highlight-BlueHighlightRichTextElement',
709
- typeId: 'bd0115b4-be02-30c7-bdd7-4084c1dcf894',
710
- displayName: 'Blue',
711
- tooltipText: '',
712
- },
713
- {
714
- tag: 'plum',
715
- icon: null,
716
- iconMode: null,
717
- line: true,
718
- previewable: false,
719
- readOnly: false,
720
- position: 0.0,
721
- popup: false,
722
- toggle: true,
723
- submenu: 'Highlight',
724
- internalName: 'core.rte.highlight.PlumHighlightRichTextElement',
725
- styleName: 'core-rte-highlight-PlumHighlightRichTextElement',
726
- typeId: '3a761b49-70f1-3a69-ba74-8f72d5ab824f',
727
- displayName: 'Plum',
728
- tooltipText: '',
729
- },
730
- {
731
- tag: 'h1',
732
- icon: null,
733
- iconMode: null,
734
- line: true,
735
- previewable: false,
736
- readOnly: false,
737
- position: 0.0,
738
- popup: false,
739
- toggle: true,
740
- submenu: 'Heading',
741
- internalName: 'core.rte.heading.HeadingOne',
742
- styleName: 'core-rte-heading-HeadingOne',
743
- typeId: '5ee10c9f-5f3a-324d-a756-ba8f261c0ef6',
744
- displayName: 'H1',
745
- tooltipText: '',
746
- },
747
- ]
748
- var ENABLE_PADDED_CROPS = false
749
- var ENABLE_CODE_MIRROR_RICH_TEXT_EDITOR = false
750
- var DISABLE_RTC = true
751
- var DISABLE_EDIT_FIELD_UPDATE_CACHE = false
752
- var DISABLE_AJAX_SAVES = true
753
- var ENABLE_PROSE_MIRROR_SPELL_CHECK = false
754
- var RTE_REWRITE_PROMPT = 'Rewrite this text based on the prompt:'
755
- var RTE_NEW_TEXT_PROMPT = 'Write new text based on the prompt:'
756
- var RTE_PROMPT_PLACEHOLDER = 'Type your prompt...'
757
- var RTE_WORKING_ON_IT = 'Working on it'
758
- var RTE_ACCEPT = 'Accept'
759
- var RTE_REJECT_ALL = 'Reject All'
760
- var RTE_FIND_IN_ARTICLE = 'Find in Article'
761
- var RTE_REPLACE_WITH = 'Replace With'
762
- var RTE_MATCH_CASE = 'Match case'
763
- var RTE_MATCH_WHOLE_WORD = 'Replace'
764
- var RTE_REPLACE = 'Match Whole Word'
765
- var RTE_REPLACE_ALL = 'Replace'
766
- var RTE_PAGINATION_TEXT = 'Replace All'
767
-
768
- window.fetch = () => {
769
- console.log('paste')
770
- }