@atlaskit/editor-presets 0.1.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 (317) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE.md +11 -0
  3. package/README.md +101 -0
  4. package/dist/cjs/confluence-full-page-base/index.js +320 -0
  5. package/dist/cjs/confluence-full-page-base/pluginOptions/analyticsPluginOptions.js +12 -0
  6. package/dist/cjs/confluence-full-page-base/pluginOptions/annotationPluginOptions.js +31 -0
  7. package/dist/cjs/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.js +19 -0
  8. package/dist/cjs/confluence-full-page-base/pluginOptions/basePluginOptions.js +19 -0
  9. package/dist/cjs/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +28 -0
  10. package/dist/cjs/confluence-full-page-base/pluginOptions/blockTypePluginOptions.js +19 -0
  11. package/dist/cjs/confluence-full-page-base/pluginOptions/breakoutPluginOptions.js +13 -0
  12. package/dist/cjs/confluence-full-page-base/pluginOptions/cardPluginOptions.js +48 -0
  13. package/dist/cjs/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.js +12 -0
  14. package/dist/cjs/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.js +15 -0
  15. package/dist/cjs/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.js +16 -0
  16. package/dist/cjs/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +27 -0
  17. package/dist/cjs/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.js +13 -0
  18. package/dist/cjs/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.js +12 -0
  19. package/dist/cjs/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +22 -0
  20. package/dist/cjs/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.js +12 -0
  21. package/dist/cjs/confluence-full-page-base/pluginOptions/datePluginOptions.js +14 -0
  22. package/dist/cjs/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.js +12 -0
  23. package/dist/cjs/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.js +12 -0
  24. package/dist/cjs/confluence-full-page-base/pluginOptions/emojiPluginOptions.js +13 -0
  25. package/dist/cjs/confluence-full-page-base/pluginOptions/expandPluginOptions.js +16 -0
  26. package/dist/cjs/confluence-full-page-base/pluginOptions/extensionPluginOptions.js +18 -0
  27. package/dist/cjs/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.js +47 -0
  28. package/dist/cjs/confluence-full-page-base/pluginOptions/findReplacePluginOptions.js +16 -0
  29. package/dist/cjs/confluence-full-page-base/pluginOptions/gridPluginOptions.js +14 -0
  30. package/dist/cjs/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.js +16 -0
  31. package/dist/cjs/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.js +18 -0
  32. package/dist/cjs/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +20 -0
  33. package/dist/cjs/confluence-full-page-base/pluginOptions/layoutPluginOptions.js +16 -0
  34. package/dist/cjs/confluence-full-page-base/pluginOptions/limitedModePluginOptions.js +14 -0
  35. package/dist/cjs/confluence-full-page-base/pluginOptions/loomPluginOptions.js +16 -0
  36. package/dist/cjs/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.js +18 -0
  37. package/dist/cjs/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +62 -0
  38. package/dist/cjs/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +19 -0
  39. package/dist/cjs/confluence-full-page-base/pluginOptions/metricsPluginOptions.js +10 -0
  40. package/dist/cjs/confluence-full-page-base/pluginOptions/panelPluginOptions.js +16 -0
  41. package/dist/cjs/confluence-full-page-base/pluginOptions/pastePluginOptions.js +30 -0
  42. package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.js +66 -0
  43. package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +75 -0
  44. package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.js +12 -0
  45. package/dist/cjs/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.js +12 -0
  46. package/dist/cjs/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.js +21 -0
  47. package/dist/cjs/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.js +10 -0
  48. package/dist/cjs/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +15 -0
  49. package/dist/cjs/confluence-full-page-base/pluginOptions/selectionPluginOptions.js +14 -0
  50. package/dist/cjs/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.js +16 -0
  51. package/dist/cjs/confluence-full-page-base/pluginOptions/showDiffPluginOptions.js +17 -0
  52. package/dist/cjs/confluence-full-page-base/pluginOptions/statusPluginOptions.js +15 -0
  53. package/dist/cjs/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.js +12 -0
  54. package/dist/cjs/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.js +40 -0
  55. package/dist/cjs/confluence-full-page-base/pluginOptions/tablePluginOptions.js +52 -0
  56. package/dist/cjs/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.js +20 -0
  57. package/dist/cjs/confluence-full-page-base/pluginOptions/textColorPluginOptions.js +12 -0
  58. package/dist/cjs/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.js +14 -0
  59. package/dist/cjs/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.js +15 -0
  60. package/dist/cjs/confluence-full-page-base/pluginOptions/toolbarPluginOptions.js +12 -0
  61. package/dist/cjs/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.js +14 -0
  62. package/dist/cjs/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.js +14 -0
  63. package/dist/cjs/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.js +17 -0
  64. package/dist/cjs/confluence-full-page-base/types.js +5 -0
  65. package/dist/cjs/index.js +2 -0
  66. package/dist/es2019/confluence-full-page-base/index.js +316 -0
  67. package/dist/es2019/confluence-full-page-base/pluginOptions/analyticsPluginOptions.js +3 -0
  68. package/dist/es2019/confluence-full-page-base/pluginOptions/annotationPluginOptions.js +26 -0
  69. package/dist/es2019/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.js +14 -0
  70. package/dist/es2019/confluence-full-page-base/pluginOptions/basePluginOptions.js +12 -0
  71. package/dist/es2019/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +23 -0
  72. package/dist/es2019/confluence-full-page-base/pluginOptions/blockTypePluginOptions.js +10 -0
  73. package/dist/es2019/confluence-full-page-base/pluginOptions/breakoutPluginOptions.js +8 -0
  74. package/dist/es2019/confluence-full-page-base/pluginOptions/cardPluginOptions.js +43 -0
  75. package/dist/es2019/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.js +7 -0
  76. package/dist/es2019/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.js +6 -0
  77. package/dist/es2019/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.js +7 -0
  78. package/dist/es2019/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +22 -0
  79. package/dist/es2019/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.js +8 -0
  80. package/dist/es2019/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.js +7 -0
  81. package/dist/es2019/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +17 -0
  82. package/dist/es2019/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.js +7 -0
  83. package/dist/es2019/confluence-full-page-base/pluginOptions/datePluginOptions.js +5 -0
  84. package/dist/es2019/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.js +7 -0
  85. package/dist/es2019/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.js +7 -0
  86. package/dist/es2019/confluence-full-page-base/pluginOptions/emojiPluginOptions.js +8 -0
  87. package/dist/es2019/confluence-full-page-base/pluginOptions/expandPluginOptions.js +11 -0
  88. package/dist/es2019/confluence-full-page-base/pluginOptions/extensionPluginOptions.js +13 -0
  89. package/dist/es2019/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.js +38 -0
  90. package/dist/es2019/confluence-full-page-base/pluginOptions/findReplacePluginOptions.js +7 -0
  91. package/dist/es2019/confluence-full-page-base/pluginOptions/gridPluginOptions.js +5 -0
  92. package/dist/es2019/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.js +12 -0
  93. package/dist/es2019/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.js +13 -0
  94. package/dist/es2019/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +15 -0
  95. package/dist/es2019/confluence-full-page-base/pluginOptions/layoutPluginOptions.js +11 -0
  96. package/dist/es2019/confluence-full-page-base/pluginOptions/limitedModePluginOptions.js +9 -0
  97. package/dist/es2019/confluence-full-page-base/pluginOptions/loomPluginOptions.js +11 -0
  98. package/dist/es2019/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.js +11 -0
  99. package/dist/es2019/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +57 -0
  100. package/dist/es2019/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +14 -0
  101. package/dist/es2019/confluence-full-page-base/pluginOptions/metricsPluginOptions.js +5 -0
  102. package/dist/es2019/confluence-full-page-base/pluginOptions/panelPluginOptions.js +7 -0
  103. package/dist/es2019/confluence-full-page-base/pluginOptions/pastePluginOptions.js +25 -0
  104. package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.js +59 -0
  105. package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +67 -0
  106. package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.js +3 -0
  107. package/dist/es2019/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.js +7 -0
  108. package/dist/es2019/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.js +14 -0
  109. package/dist/es2019/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.js +5 -0
  110. package/dist/es2019/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +10 -0
  111. package/dist/es2019/confluence-full-page-base/pluginOptions/selectionPluginOptions.js +9 -0
  112. package/dist/es2019/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.js +11 -0
  113. package/dist/es2019/confluence-full-page-base/pluginOptions/showDiffPluginOptions.js +12 -0
  114. package/dist/es2019/confluence-full-page-base/pluginOptions/statusPluginOptions.js +6 -0
  115. package/dist/es2019/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.js +3 -0
  116. package/dist/es2019/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.js +37 -0
  117. package/dist/es2019/confluence-full-page-base/pluginOptions/tablePluginOptions.js +45 -0
  118. package/dist/es2019/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.js +15 -0
  119. package/dist/es2019/confluence-full-page-base/pluginOptions/textColorPluginOptions.js +3 -0
  120. package/dist/es2019/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.js +5 -0
  121. package/dist/es2019/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.js +6 -0
  122. package/dist/es2019/confluence-full-page-base/pluginOptions/toolbarPluginOptions.js +7 -0
  123. package/dist/es2019/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.js +9 -0
  124. package/dist/es2019/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.js +5 -0
  125. package/dist/es2019/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.js +12 -0
  126. package/dist/es2019/confluence-full-page-base/types.js +1 -0
  127. package/dist/es2019/index.js +1 -0
  128. package/dist/esm/confluence-full-page-base/index.js +314 -0
  129. package/dist/esm/confluence-full-page-base/pluginOptions/analyticsPluginOptions.js +5 -0
  130. package/dist/esm/confluence-full-page-base/pluginOptions/annotationPluginOptions.js +25 -0
  131. package/dist/esm/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.js +13 -0
  132. package/dist/esm/confluence-full-page-base/pluginOptions/basePluginOptions.js +13 -0
  133. package/dist/esm/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.js +22 -0
  134. package/dist/esm/confluence-full-page-base/pluginOptions/blockTypePluginOptions.js +12 -0
  135. package/dist/esm/confluence-full-page-base/pluginOptions/breakoutPluginOptions.js +7 -0
  136. package/dist/esm/confluence-full-page-base/pluginOptions/cardPluginOptions.js +42 -0
  137. package/dist/esm/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.js +6 -0
  138. package/dist/esm/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.js +8 -0
  139. package/dist/esm/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.js +9 -0
  140. package/dist/esm/confluence-full-page-base/pluginOptions/collabEditPluginOptions.js +21 -0
  141. package/dist/esm/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.js +7 -0
  142. package/dist/esm/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.js +6 -0
  143. package/dist/esm/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +16 -0
  144. package/dist/esm/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.js +6 -0
  145. package/dist/esm/confluence-full-page-base/pluginOptions/datePluginOptions.js +7 -0
  146. package/dist/esm/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.js +6 -0
  147. package/dist/esm/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.js +6 -0
  148. package/dist/esm/confluence-full-page-base/pluginOptions/emojiPluginOptions.js +7 -0
  149. package/dist/esm/confluence-full-page-base/pluginOptions/expandPluginOptions.js +10 -0
  150. package/dist/esm/confluence-full-page-base/pluginOptions/extensionPluginOptions.js +12 -0
  151. package/dist/esm/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.js +40 -0
  152. package/dist/esm/confluence-full-page-base/pluginOptions/findReplacePluginOptions.js +9 -0
  153. package/dist/esm/confluence-full-page-base/pluginOptions/gridPluginOptions.js +7 -0
  154. package/dist/esm/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.js +11 -0
  155. package/dist/esm/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.js +12 -0
  156. package/dist/esm/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.js +14 -0
  157. package/dist/esm/confluence-full-page-base/pluginOptions/layoutPluginOptions.js +10 -0
  158. package/dist/esm/confluence-full-page-base/pluginOptions/limitedModePluginOptions.js +8 -0
  159. package/dist/esm/confluence-full-page-base/pluginOptions/loomPluginOptions.js +10 -0
  160. package/dist/esm/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.js +11 -0
  161. package/dist/esm/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.js +56 -0
  162. package/dist/esm/confluence-full-page-base/pluginOptions/mentionsPluginOptions.js +13 -0
  163. package/dist/esm/confluence-full-page-base/pluginOptions/metricsPluginOptions.js +4 -0
  164. package/dist/esm/confluence-full-page-base/pluginOptions/panelPluginOptions.js +9 -0
  165. package/dist/esm/confluence-full-page-base/pluginOptions/pastePluginOptions.js +24 -0
  166. package/dist/esm/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.js +59 -0
  167. package/dist/esm/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +69 -0
  168. package/dist/esm/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.js +5 -0
  169. package/dist/esm/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.js +6 -0
  170. package/dist/esm/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.js +14 -0
  171. package/dist/esm/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.js +4 -0
  172. package/dist/esm/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.js +9 -0
  173. package/dist/esm/confluence-full-page-base/pluginOptions/selectionPluginOptions.js +8 -0
  174. package/dist/esm/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.js +10 -0
  175. package/dist/esm/confluence-full-page-base/pluginOptions/showDiffPluginOptions.js +11 -0
  176. package/dist/esm/confluence-full-page-base/pluginOptions/statusPluginOptions.js +8 -0
  177. package/dist/esm/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.js +5 -0
  178. package/dist/esm/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.js +34 -0
  179. package/dist/esm/confluence-full-page-base/pluginOptions/tablePluginOptions.js +46 -0
  180. package/dist/esm/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.js +14 -0
  181. package/dist/esm/confluence-full-page-base/pluginOptions/textColorPluginOptions.js +5 -0
  182. package/dist/esm/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.js +7 -0
  183. package/dist/esm/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.js +8 -0
  184. package/dist/esm/confluence-full-page-base/pluginOptions/toolbarPluginOptions.js +6 -0
  185. package/dist/esm/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.js +8 -0
  186. package/dist/esm/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.js +7 -0
  187. package/dist/esm/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.js +11 -0
  188. package/dist/esm/confluence-full-page-base/types.js +1 -0
  189. package/dist/esm/index.js +1 -0
  190. package/dist/types/confluence-full-page-base/index.d.ts +16 -0
  191. package/dist/types/confluence-full-page-base/pluginOptions/analyticsPluginOptions.d.ts +6 -0
  192. package/dist/types/confluence-full-page-base/pluginOptions/annotationPluginOptions.d.ts +23 -0
  193. package/dist/types/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.d.ts +9 -0
  194. package/dist/types/confluence-full-page-base/pluginOptions/basePluginOptions.d.ts +8 -0
  195. package/dist/types/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.d.ts +24 -0
  196. package/dist/types/confluence-full-page-base/pluginOptions/blockTypePluginOptions.d.ts +6 -0
  197. package/dist/types/confluence-full-page-base/pluginOptions/breakoutPluginOptions.d.ts +9 -0
  198. package/dist/types/confluence-full-page-base/pluginOptions/cardPluginOptions.d.ts +34 -0
  199. package/dist/types/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.d.ts +9 -0
  200. package/dist/types/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.d.ts +6 -0
  201. package/dist/types/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.d.ts +6 -0
  202. package/dist/types/confluence-full-page-base/pluginOptions/collabEditPluginOptions.d.ts +13 -0
  203. package/dist/types/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.d.ts +9 -0
  204. package/dist/types/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.d.ts +10 -0
  205. package/dist/types/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.d.ts +8 -0
  206. package/dist/types/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.d.ts +10 -0
  207. package/dist/types/confluence-full-page-base/pluginOptions/datePluginOptions.d.ts +6 -0
  208. package/dist/types/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.d.ts +8 -0
  209. package/dist/types/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.d.ts +8 -0
  210. package/dist/types/confluence-full-page-base/pluginOptions/emojiPluginOptions.d.ts +11 -0
  211. package/dist/types/confluence-full-page-base/pluginOptions/expandPluginOptions.d.ts +10 -0
  212. package/dist/types/confluence-full-page-base/pluginOptions/extensionPluginOptions.d.ts +15 -0
  213. package/dist/types/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.d.ts +6 -0
  214. package/dist/types/confluence-full-page-base/pluginOptions/findReplacePluginOptions.d.ts +6 -0
  215. package/dist/types/confluence-full-page-base/pluginOptions/gridPluginOptions.d.ts +6 -0
  216. package/dist/types/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.d.ts +9 -0
  217. package/dist/types/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.d.ts +13 -0
  218. package/dist/types/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.d.ts +10 -0
  219. package/dist/types/confluence-full-page-base/pluginOptions/layoutPluginOptions.d.ts +9 -0
  220. package/dist/types/confluence-full-page-base/pluginOptions/limitedModePluginOptions.d.ts +15 -0
  221. package/dist/types/confluence-full-page-base/pluginOptions/loomPluginOptions.d.ts +8 -0
  222. package/dist/types/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.d.ts +7 -0
  223. package/dist/types/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.d.ts +19 -0
  224. package/dist/types/confluence-full-page-base/pluginOptions/mentionsPluginOptions.d.ts +15 -0
  225. package/dist/types/confluence-full-page-base/pluginOptions/metricsPluginOptions.d.ts +6 -0
  226. package/dist/types/confluence-full-page-base/pluginOptions/panelPluginOptions.d.ts +6 -0
  227. package/dist/types/confluence-full-page-base/pluginOptions/pastePluginOptions.d.ts +10 -0
  228. package/dist/types/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.d.ts +57 -0
  229. package/dist/types/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.d.ts +15 -0
  230. package/dist/types/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.d.ts +6 -0
  231. package/dist/types/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.d.ts +8 -0
  232. package/dist/types/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.d.ts +10 -0
  233. package/dist/types/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.d.ts +6 -0
  234. package/dist/types/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.d.ts +8 -0
  235. package/dist/types/confluence-full-page-base/pluginOptions/selectionPluginOptions.d.ts +8 -0
  236. package/dist/types/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.d.ts +13 -0
  237. package/dist/types/confluence-full-page-base/pluginOptions/showDiffPluginOptions.d.ts +6 -0
  238. package/dist/types/confluence-full-page-base/pluginOptions/statusPluginOptions.d.ts +6 -0
  239. package/dist/types/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.d.ts +6 -0
  240. package/dist/types/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.d.ts +44 -0
  241. package/dist/types/confluence-full-page-base/pluginOptions/tablePluginOptions.d.ts +10 -0
  242. package/dist/types/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.d.ts +14 -0
  243. package/dist/types/confluence-full-page-base/pluginOptions/textColorPluginOptions.d.ts +6 -0
  244. package/dist/types/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.d.ts +6 -0
  245. package/dist/types/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.d.ts +6 -0
  246. package/dist/types/confluence-full-page-base/pluginOptions/toolbarPluginOptions.d.ts +9 -0
  247. package/dist/types/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.d.ts +6 -0
  248. package/dist/types/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.d.ts +6 -0
  249. package/dist/types/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.d.ts +12 -0
  250. package/dist/types/confluence-full-page-base/types.d.ts +447 -0
  251. package/dist/types/index.d.ts +0 -0
  252. package/dist/types-ts4.5/confluence-full-page-base/index.d.ts +16 -0
  253. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/analyticsPluginOptions.d.ts +6 -0
  254. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/annotationPluginOptions.d.ts +23 -0
  255. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/avatarGroupPluginOptions.d.ts +9 -0
  256. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/basePluginOptions.d.ts +8 -0
  257. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/blockMenuPluginOptions.d.ts +24 -0
  258. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/blockTypePluginOptions.d.ts +6 -0
  259. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/breakoutPluginOptions.d.ts +9 -0
  260. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/cardPluginOptions.d.ts +34 -0
  261. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBidiWarningPluginOptions.d.ts +9 -0
  262. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBlockAdvancedPluginOptions.d.ts +6 -0
  263. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/codeBlockPluginOptions.d.ts +6 -0
  264. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/collabEditPluginOptions.d.ts +13 -0
  265. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contentFormatPluginOptions.d.ts +9 -0
  266. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contextIdentifierPluginOptions.d.ts +10 -0
  267. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.d.ts +8 -0
  268. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/customAutoformatPluginOptions.d.ts +10 -0
  269. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/datePluginOptions.d.ts +6 -0
  270. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/editorDisabledPluginOptions.d.ts +8 -0
  271. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/editorViewModePluginOptions.d.ts +8 -0
  272. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/emojiPluginOptions.d.ts +11 -0
  273. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/expandPluginOptions.d.ts +10 -0
  274. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/extensionPluginOptions.d.ts +15 -0
  275. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/featureFlagsPluginOptions.d.ts +6 -0
  276. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/findReplacePluginOptions.d.ts +6 -0
  277. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/gridPluginOptions.d.ts +6 -0
  278. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/helpDialogPluginOptions.d.ts +9 -0
  279. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/hyperlinkPluginOptions.d.ts +13 -0
  280. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/insertBlockPluginOptions.d.ts +10 -0
  281. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/layoutPluginOptions.d.ts +9 -0
  282. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/limitedModePluginOptions.d.ts +15 -0
  283. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/loomPluginOptions.d.ts +8 -0
  284. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mediaPluginOptions/i18n.d.ts +7 -0
  285. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mediaPluginOptions/mediaPluginOptions.d.ts +19 -0
  286. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/mentionsPluginOptions.d.ts +15 -0
  287. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/metricsPluginOptions.d.ts +6 -0
  288. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/panelPluginOptions.d.ts +6 -0
  289. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/pastePluginOptions.d.ts +10 -0
  290. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderPluginOptions/i18n.d.ts +57 -0
  291. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.d.ts +15 -0
  292. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/placeholderTextPluginOptions.d.ts +6 -0
  293. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/primaryToolbarPluginOptions.d.ts +8 -0
  294. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/quickInsertPluginOptions.d.ts +10 -0
  295. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionExtensionPluginOptions.d.ts +6 -0
  296. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionMarkerPluginOptions.d.ts +8 -0
  297. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionPluginOptions.d.ts +8 -0
  298. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/selectionToolbarPluginOptions.d.ts +13 -0
  299. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/showDiffPluginOptions.d.ts +6 -0
  300. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/statusPluginOptions.d.ts +6 -0
  301. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/submitEditorPluginOptions.d.ts +6 -0
  302. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/syncedBlockPluginOptions.d.ts +44 -0
  303. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/tablePluginOptions.d.ts +10 -0
  304. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/tasksAndDecisionsPluginOptions.d.ts +14 -0
  305. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/textColorPluginOptions.d.ts +6 -0
  306. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/textFormattingPluginOptions.d.ts +6 -0
  307. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/toolbarListsIndentationPluginOptions.d.ts +6 -0
  308. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/toolbarPluginOptions.d.ts +9 -0
  309. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/trackChangesPluginOptions.d.ts +6 -0
  310. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/typeAheadPluginOptions.d.ts +6 -0
  311. package/dist/types-ts4.5/confluence-full-page-base/pluginOptions/userPreferencesPluginOptions.d.ts +12 -0
  312. package/dist/types-ts4.5/confluence-full-page-base/types.d.ts +453 -0
  313. package/dist/types-ts4.5/index.d.ts +0 -0
  314. package/full-page/package.json +15 -0
  315. package/full-page/types/package.json +15 -0
  316. package/package.json +199 -0
  317. package/tsconfig.json +8 -0
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.i18n = void 0;
7
+ var _reactIntlNext = require("react-intl-next");
8
+ // oxlint-disable-next-line @atlassian/no-restricted-imports
9
+
10
+ var i18n = exports.i18n = (0, _reactIntlNext.defineMessages)({
11
+ easyMentionsPlaceholder: {
12
+ id: 'editor-presets-confluence.placeholder.easy-mentions-placeholder',
13
+ defaultMessage: 'Type / for all elements or @ to mention someone.',
14
+ description: 'The placeholder for the editor to help discover the slash and mention commands'
15
+ },
16
+ aiPlaceholder: {
17
+ id: 'editor-presets-confluence.placeholder.ai-placeholder',
18
+ defaultMessage: "Type /ai for Atlassian Intelligence, / to add elements, or @ to mention someone (we'll let them know).",
19
+ description: 'The placeholder for the editor to help discover our text generative AI, Atlassian Intelligence.'
20
+ },
21
+ defaultPlaceholder: {
22
+ id: 'editor-presets-confluence.placeholder.default-placeholder',
23
+ defaultMessage: 'Type / to insert elements',
24
+ description: 'The placeholder shown in empty document to help discover slash command'
25
+ },
26
+ editorEmptyDocumentPlaceholderAI: {
27
+ id: 'editor-presets-confluence.placeholder.default-placeholder-ai',
28
+ defaultMessage: "Use {key}+' to ask AI, or type / to insert elements",
29
+ description: 'The placeholder shown in empty document to help discover ai and slash command'
30
+ },
31
+ editorEmptyDocumentSpaceShortcutPlaceholder: {
32
+ id: 'editor-presets-confluence.placeholder.space-shortcut-placeholder',
33
+ defaultMessage: 'Press space to Ask Rovo or / to insert elements',
34
+ description: 'The placeholder shown in empty document to help discover space shortcut to trigger Rovo, and slash shortcut to insert elements'
35
+ },
36
+ editorEmptyDocumentSpaceShortcutPlaceholderADFPrefix: {
37
+ id: 'editor-presets-confluence.placeholder.space-shortcut-adf-prefix',
38
+ defaultMessage: 'Press',
39
+ description: 'Text before keyboard shortcut in space shortcut ADF placeholder'
40
+ },
41
+ editorEmptyDocumentSpaceShortcutPlaceholderADFSpaceShortcut: {
42
+ id: 'editor-presets-confluence.placeholder.space-shortcut-adf-space-key',
43
+ defaultMessage: 'space',
44
+ description: 'Space key shortcut for triggering Rovo in ADF placeholder'
45
+ },
46
+ editorEmptyDocumentSpaceShortcutPlaceholderADFMiddle: {
47
+ id: 'editor-presets-confluence.placeholder.space-shortcut-adf-middle',
48
+ defaultMessage: 'to Ask Rovo or',
49
+ description: 'Text between space and slash shortcuts in ADF placeholder'
50
+ },
51
+ editorEmptyDocumentSpaceShortcutPlaceholderADFSlashShortcut: {
52
+ id: 'editor-presets-confluence.placeholder.space-shortcut-adf-slash-key',
53
+ defaultMessage: '/',
54
+ description: 'Slash key shortcut for inserting elements in space shortcut ADF placeholder'
55
+ },
56
+ editorEmptyDocumentSpaceShortcutPlaceholderADFSuffix: {
57
+ id: 'editor-presets-confluence.placeholder.space-shortcut-adf-suffix',
58
+ defaultMessage: 'to insert elements',
59
+ description: 'Text after slash shortcut in space shortcut ADF placeholder'
60
+ },
61
+ placeholderADF: {
62
+ id: 'editor-presets-confluence.placeholderADF',
63
+ defaultMessage: 'Press <code>space</code> to Ask Rovo or <code>/</code> to insert elements',
64
+ description: 'The ADF placeholder for the editor which contains formatting.'
65
+ }
66
+ });
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.placeholderPluginOptions = placeholderPluginOptions;
7
+ var _builders = require("@atlaskit/adf-utils/builders");
8
+ var _createAdfFromHtml = require("@atlaskit/editor-common/utils/create-adf-from-html");
9
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
10
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
11
+ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
12
+ var _i18n = require("./i18n");
13
+ var createSpaceShortcutPlaceholderADF = function createSpaceShortcutPlaceholderADF(_ref) {
14
+ var formatMessage = _ref.formatMessage;
15
+ return {
16
+ version: 1,
17
+ type: 'doc',
18
+ content: [{
19
+ type: 'paragraph',
20
+ content: [(0, _builders.text)(formatMessage(_i18n.i18n.editorEmptyDocumentSpaceShortcutPlaceholderADFPrefix)), (0, _builders.text)(' '), (0, _builders.code)(formatMessage(_i18n.i18n.editorEmptyDocumentSpaceShortcutPlaceholderADFSpaceShortcut)), (0, _builders.text)(' '), (0, _builders.text)(formatMessage(_i18n.i18n.editorEmptyDocumentSpaceShortcutPlaceholderADFMiddle)), (0, _builders.text)(' '), (0, _builders.code)(formatMessage(_i18n.i18n.editorEmptyDocumentSpaceShortcutPlaceholderADFSlashShortcut)), (0, _builders.text)(' '), (0, _builders.text)(formatMessage(_i18n.i18n.editorEmptyDocumentSpaceShortcutPlaceholderADFSuffix))]
21
+ }]
22
+ };
23
+ };
24
+ function placeholderPluginOptions(_ref2) {
25
+ var _options$enableLoadin;
26
+ var intl = _ref2.intl,
27
+ options = _ref2.options;
28
+ var shouldShowSpaceShortcut = options.isAIEnabled && (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_streaming');
29
+ var placeholder = function () {
30
+ // SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx `const placeholderText = `
31
+ if (options.viewMode === 'view') {
32
+ return undefined;
33
+ }
34
+ // END SECTION
35
+
36
+ // We disable the placeholder here becuase we want to use the new ADF placeholder, see below.
37
+ if (shouldShowSpaceShortcut) {
38
+ return undefined;
39
+ }
40
+
41
+ // SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx `_getPlaceholderText()`
42
+ if (!options.isAIEnabled && (0, _experiments.editorExperiment)('platform_editor_ai_quickstart_command', true)) {
43
+ return intl.formatMessage(_i18n.i18n.editorEmptyDocumentPlaceholderAI);
44
+ }
45
+ if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1')) {
46
+ return intl.formatMessage(_i18n.i18n.defaultPlaceholder);
47
+ }
48
+ if (!options.isAIEnabled) {
49
+ return intl.formatMessage(_i18n.i18n.aiPlaceholder);
50
+ }
51
+ return intl.formatMessage(_i18n.i18n.easyMentionsPlaceholder);
52
+ // END SECTION
53
+ }();
54
+ var placeholderADF = function () {
55
+ if (options.viewMode === 'view') {
56
+ return undefined;
57
+ }
58
+ if (shouldShowSpaceShortcut && (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_space_shortcut')) {
59
+ return (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_adf_placeholder') ? (0, _createAdfFromHtml.createADFFromHTML)(intl.formatMessage(_i18n.i18n.placeholderADF, {
60
+ code: function code(parts) {
61
+ return "<code>".concat(parts, "</code>");
62
+ }
63
+ })) : createSpaceShortcutPlaceholderADF(intl);
64
+ }
65
+ return undefined;
66
+ }();
67
+ return {
68
+ placeholder: placeholder,
69
+ placeholderADF: placeholderADF,
70
+ isPlaceholderHidden: options.isPlaceholderHidden,
71
+ withEmptyParagraph: (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_streaming'),
72
+ isRovoLLMEnabled: options.isRovoLLMEnabled,
73
+ enableLoadingSpinner: (_options$enableLoadin = options.enableLoadingSpinner) !== null && _options$enableLoadin !== void 0 ? _options$enableLoadin : (0, _expValEquals.expValEquals)('confluence_load_editor_title_on_transition', 'contentPlaceholder', true)
74
+ };
75
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.placeholderTextPluginOptions = placeholderTextPluginOptions;
8
+ var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
9
+ function placeholderTextPluginOptions(_ref) {
10
+ (0, _objectDestructuringEmpty2.default)(_ref);
11
+ return {};
12
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.primaryToolbarPluginOptions = primaryToolbarPluginOptions;
7
+ function primaryToolbarPluginOptions(_ref) {
8
+ var options = _ref.options;
9
+ return {
10
+ contextualFormattingEnabled: options.contextualFormattingEnabled
11
+ };
12
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.quickInsertPluginOptions = quickInsertPluginOptions;
8
+ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
9
+ function quickInsertPluginOptions(_ref) {
10
+ var options = _ref.options;
11
+ return {
12
+ enableElementBrowser: true,
13
+ elementBrowserHelpUrl: '',
14
+ // Value never set in full-page editor.
15
+ disableDefaultItems: false,
16
+ headless: false,
17
+ emptyStateHandler: options === null || options === void 0 ? void 0 : options.emptyStateHandler,
18
+ prioritySortingFn: (0, _typeof2.default)(options.quickInsert) === 'object' ? options.quickInsert.prioritySortingFn : undefined,
19
+ onInsert: (0, _typeof2.default)(options.quickInsert) === 'object' ? options.quickInsert.onInsert : undefined
20
+ };
21
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.selectionExtensionPluginOptions = selectionExtensionPluginOptions;
7
+ function selectionExtensionPluginOptions(_ref) {
8
+ var options = _ref.options;
9
+ return options;
10
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.selectionMarkerPluginOptions = selectionMarkerPluginOptions;
7
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
8
+ function selectionMarkerPluginOptions(_ref) {
9
+ var options = _ref.options;
10
+ // SECTION: From confluence/next/packages/editor-presets/src/full-page/createFullPageEditorPreset.ts `.add(['selectionMarkerPlugin', ...])`
11
+ return {
12
+ hideCursorOnInit: options.__livePage || (0, _expValEquals.expValEquals)('platform_editor_no_cursor_on_edit_page_init', 'isEnabled', true)
13
+ };
14
+ // END SECTION
15
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.selectionPluginOptions = selectionPluginOptions;
7
+ function selectionPluginOptions(_ref) {
8
+ var options = _ref.options;
9
+ return {
10
+ useLongPressSelection: false,
11
+ // @ts-ignore Temporary solution to check for Live Page editor.
12
+ __livePage: options.__livePage
13
+ };
14
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.selectionToolbarPluginOptions = selectionToolbarPluginOptions;
7
+ function selectionToolbarPluginOptions(_ref) {
8
+ var options = _ref.options,
9
+ providers = _ref.providers;
10
+ return {
11
+ preferenceToolbarAboveSelection: false,
12
+ contextualFormattingEnabled: options.contextualFormattingEnabled,
13
+ userPreferencesProvider: providers.userPreferencesProvider,
14
+ disablePin: options.disablePin
15
+ };
16
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.showDiffPluginOptions = showDiffPluginOptions;
7
+ function showDiffPluginOptions(_ref) {
8
+ var options = _ref.options;
9
+ if (!(options !== null && options !== void 0 && options.originalDoc) || !(options !== null && options !== void 0 && options.steps)) {
10
+ return undefined;
11
+ }
12
+ return {
13
+ originalDoc: options.originalDoc,
14
+ steps: options.steps,
15
+ colorScheme: options.colorScheme
16
+ };
17
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.statusPluginOptions = statusPluginOptions;
8
+ var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
9
+ function statusPluginOptions(_ref) {
10
+ (0, _objectDestructuringEmpty2.default)(_ref);
11
+ return {
12
+ menuDisabled: false,
13
+ allowZeroWidthSpaceAfter: true
14
+ };
15
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.submitEditorPluginOptions = submitEditorPluginOptions;
8
+ var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
9
+ function submitEditorPluginOptions(_ref) {
10
+ (0, _objectDestructuringEmpty2.default)(_ref);
11
+ return undefined;
12
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.syncedBlockPluginOptions = syncedBlockPluginOptions;
7
+ /**
8
+ * Options for configuring the synced block plugin.
9
+ */
10
+
11
+ /**
12
+ * Props for configuring the synced block plugin options.
13
+ */
14
+
15
+ /**
16
+ * Creates configuration options for the synced block plugin.
17
+ *
18
+ * This function transforms the input options into the format expected by the
19
+ * synced block plugin, including the renderer function, data provider, and
20
+ * renderer data providers.
21
+ *
22
+ * @param props - The configuration props containing synced block options.
23
+ * @param props.options.syncBlockDataProvider - The function that returns the React component to render synced block reference (nested renderer).
24
+ * @param props.options.syncBlockDataProvider - The data provider responsible for fetching, writing, and managing synced block data.
25
+ * @returns The plugin options configured for the synced block plugin.
26
+ */
27
+ function syncedBlockPluginOptions(_ref) {
28
+ var options = _ref.options;
29
+ if (!options) {
30
+ return undefined;
31
+ }
32
+ var enableSourceCreation = options.enableSourceCreation,
33
+ syncedBlockRenderer = options.syncedBlockRenderer,
34
+ syncBlockDataProvider = options.syncBlockDataProvider;
35
+ return {
36
+ enableSourceCreation: enableSourceCreation,
37
+ syncedBlockRenderer: syncedBlockRenderer,
38
+ syncBlockDataProvider: syncBlockDataProvider
39
+ };
40
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.tablePluginOptions = tablePluginOptions;
7
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
8
+ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
9
+ function tablePluginOptions(_ref) {
10
+ var options = _ref.options;
11
+ return {
12
+ // value from next/packages/editor-features/src/hooks/useTableOptions.ts
13
+ tableOptions: {
14
+ allowTableResizing: true,
15
+ allowTableAlignment: true,
16
+ allowBackgroundColor: true,
17
+ allowColumnResizing: true,
18
+ allowColumnSorting: true,
19
+ allowDistributeColumns: true,
20
+ allowHeaderColumn: true,
21
+ allowHeaderRow: true,
22
+ allowMergeCells: true,
23
+ allowNumberColumn: true,
24
+ allowNestedTables: true,
25
+ allowControls: true,
26
+ stickyHeaders: true,
27
+ allowAddColumnWithCustomStep: false
28
+ },
29
+ // SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
30
+ dragAndDropEnabled: true,
31
+ // END SECTION
32
+ isTableScalingEnabled: true,
33
+ allowContextualMenu: true,
34
+ fullWidthEnabled: options.editorAppearance === 'full-width',
35
+ maxWidthEnabled: options.editorAppearance === 'max',
36
+ wasFullWidthEnabled: options.prevEditorAppearance && options.prevEditorAppearance === 'full-width',
37
+ getEditorFeatureFlags: function getEditorFeatureFlags() {
38
+ return {
39
+ // SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
40
+ tableWithFixedColumnWidthsOption: (0, _platformFeatureFlags.fg)('platform_editor_table_fixed_column_width_prop') ? undefined : true,
41
+ // END SECTION
42
+
43
+ // SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
44
+ tableSelector: (0, _experiments.editorExperiment)('platform_editor_tables_table_selector', true)
45
+ // END SECTION
46
+ };
47
+ },
48
+ isCommentEditor: false,
49
+ isChromelessEditor: false,
50
+ allowFixedColumnWidthOption: (0, _platformFeatureFlags.fg)('platform_editor_table_fixed_column_width_prop') ? true : undefined
51
+ };
52
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.tasksAndDecisionsPluginOptions = tasksAndDecisionsPluginOptions;
7
+ function tasksAndDecisionsPluginOptions(_ref) {
8
+ var options = _ref.options,
9
+ providers = _ref.providers;
10
+ return {
11
+ allowNestedTasks: true,
12
+ consumeTabs: true,
13
+ useLongPressSelection: false,
14
+ taskDecisionProvider: providers.taskDecisionProvider,
15
+ hasEditPermission: options.hasEditPermission,
16
+ requestToEditContent: options.requestToEditContent,
17
+ hasRequestedEditPermission: options.hasRequestedEditPermission,
18
+ allowBlockTaskItem: true
19
+ };
20
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.textColorPluginOptions = textColorPluginOptions;
8
+ var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
9
+ function textColorPluginOptions(_ref) {
10
+ (0, _objectDestructuringEmpty2.default)(_ref);
11
+ return true;
12
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.textFormattingPluginOptions = textFormattingPluginOptions;
8
+ var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
9
+ function textFormattingPluginOptions(_ref) {
10
+ (0, _objectDestructuringEmpty2.default)(_ref);
11
+ return {
12
+ responsiveToolbarMenu: true
13
+ };
14
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.toolbarListsIndentationPluginOptions = toolbarListsIndentationPluginOptions;
8
+ var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
9
+ function toolbarListsIndentationPluginOptions(_ref) {
10
+ (0, _objectDestructuringEmpty2.default)(_ref);
11
+ return {
12
+ showIndentationButtons: true,
13
+ allowHeadingAndParagraphIndentation: true
14
+ };
15
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.toolbarPluginOptions = toolbarPluginOptions;
7
+ function toolbarPluginOptions(_ref) {
8
+ var options = _ref.options;
9
+ return {
10
+ contextualFormattingEnabled: options.contextualFormattingEnabled
11
+ };
12
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.trackChangesPluginOptions = trackChangesPluginOptions;
7
+ // eslint-disable-next-line jsdoc/require-jsdoc
8
+ function trackChangesPluginOptions(_ref) {
9
+ var options = _ref.options;
10
+ return {
11
+ ButtonWrapper: options === null || options === void 0 ? void 0 : options.ButtonWrapper,
12
+ showOnToolbar: true
13
+ };
14
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.typeAheadPluginOptions = typeAheadPluginOptions;
8
+ var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
9
+ function typeAheadPluginOptions(_ref) {
10
+ (0, _objectDestructuringEmpty2.default)(_ref);
11
+ return {
12
+ isMobile: false
13
+ };
14
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.userPreferencesPluginOptions = userPreferencesPluginOptions;
7
+ function userPreferencesPluginOptions(_ref) {
8
+ var providers = _ref.providers,
9
+ options = _ref.options;
10
+ return {
11
+ userPreferencesProvider: providers.userPreferencesProviderNext,
12
+ // If initialToolbarDockingPosition is set, use it to override any saved user preference
13
+ initialUserPreferences: options.initialToolbarDockingPosition ? {
14
+ toolbarDockingPosition: options.initialToolbarDockingPosition
15
+ } : undefined
16
+ };
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,2 @@
1
+ // Do not export anything from this file
2
+ "use strict";