@instructure/canvas-rce 5.15.3 → 5.15.5

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 (487) hide show
  1. package/es/bridge/Bridge.d.ts +179 -0
  2. package/es/bridge/index.d.ts +3 -0
  3. package/es/canvasFileBrowser/FileBrowser.d.ts +80 -0
  4. package/es/canvasFileBrowser/en-US.d.ts +0 -0
  5. package/es/common/FlashAlert.d.ts +41 -0
  6. package/es/common/browser.d.ts +5 -0
  7. package/es/common/fileUrl.d.ts +13 -0
  8. package/es/common/getCookie.d.ts +7 -0
  9. package/es/common/incremental-loading/LoadMoreButton.d.ts +12 -0
  10. package/es/common/incremental-loading/LoadingIndicator.d.ts +2 -0
  11. package/es/common/incremental-loading/LoadingStatus.d.ts +6 -0
  12. package/es/common/incremental-loading/index.d.ts +4 -0
  13. package/es/common/incremental-loading/useIncrementalLoading.d.ts +10 -0
  14. package/es/common/indicate.d.ts +1 -0
  15. package/es/common/mimeClass.d.ts +5 -0
  16. package/es/common/natcompare.d.ts +8 -0
  17. package/es/defaultTinymceConfig.d.ts +44 -0
  18. package/es/elementDenylist.d.ts +2 -0
  19. package/es/enhance-user-content/doc_previews.d.ts +10 -0
  20. package/es/enhance-user-content/enhance_user_content.d.ts +1 -0
  21. package/es/enhance-user-content/external_links.d.ts +2 -0
  22. package/es/enhance-user-content/index.d.ts +4 -0
  23. package/es/enhance-user-content/instructure_helper.d.ts +6 -0
  24. package/es/enhance-user-content/jqueryish_funcs.d.ts +9 -0
  25. package/es/enhance-user-content/mathml.d.ts +28 -0
  26. package/es/enhance-user-content/media_comment_thumbnail.d.ts +1 -0
  27. package/es/format-message.d.ts +3 -0
  28. package/es/getThemeVars.d.ts +5 -0
  29. package/es/getTranslations.d.ts +2 -0
  30. package/es/index.d.ts +59 -0
  31. package/es/rce/AlertMessageArea.d.ts +16 -0
  32. package/es/rce/DraggingBlocker.d.ts +8 -0
  33. package/es/rce/KeyboardShortcutModal.d.ts +12 -0
  34. package/es/rce/RCE.d.ts +130 -0
  35. package/es/rce/RCEGlobals.d.ts +21 -0
  36. package/es/rce/RCEVariants.d.ts +17 -0
  37. package/es/rce/RCEWrapper.d.ts +428 -0
  38. package/es/rce/RCEWrapper.utils.d.ts +24 -0
  39. package/es/rce/RCEWrapperProps.d.ts +175 -0
  40. package/es/rce/RceHtmlEditor.d.ts +8 -0
  41. package/es/rce/ResizeHandle.d.ts +15 -0
  42. package/es/rce/RestoreAutoSaveModal.d.ts +15 -0
  43. package/es/rce/ShowOnFocusButton/index.d.ts +22 -0
  44. package/es/rce/StatusBar.d.ts +38 -0
  45. package/es/rce/alertHandler.d.ts +19 -0
  46. package/es/rce/contentInsertion.d.ts +8 -0
  47. package/es/rce/contentInsertionUtils.d.ts +20 -0
  48. package/es/rce/contentRendering.d.ts +9 -0
  49. package/es/rce/customEvents.d.ts +1 -0
  50. package/es/rce/editorLanguage.d.ts +10 -0
  51. package/es/rce/indicatorRegion.d.ts +6 -0
  52. package/es/rce/normalizeLocale.d.ts +1 -0
  53. package/es/rce/normalizeProps.d.ts +3 -0
  54. package/es/rce/plugins/instructure-ui-icons/plugin.d.ts +1 -0
  55. package/es/rce/plugins/instructure_color/clickCallback.d.ts +7 -0
  56. package/es/rce/plugins/instructure_color/components/ColorPicker.d.ts +30 -0
  57. package/es/rce/plugins/instructure_color/components/ColorPopup.d.ts +12 -0
  58. package/es/rce/plugins/instructure_color/components/colorUtils.d.ts +4 -0
  59. package/es/rce/plugins/instructure_color/plugin.d.ts +1 -0
  60. package/es/rce/plugins/instructure_condensed_buttons/core/ListUtils.d.ts +16 -0
  61. package/es/rce/plugins/instructure_condensed_buttons/plugin.d.ts +1 -0
  62. package/es/rce/plugins/instructure_condensed_buttons/ui/alignment-button.d.ts +2 -0
  63. package/es/rce/plugins/instructure_condensed_buttons/ui/directionality-button.d.ts +1 -0
  64. package/es/rce/plugins/instructure_condensed_buttons/ui/indent-outdent-button.d.ts +2 -0
  65. package/es/rce/plugins/instructure_condensed_buttons/ui/list-button.d.ts +8 -0
  66. package/es/rce/plugins/instructure_condensed_buttons/ui/subscript-superscript-button.d.ts +2 -0
  67. package/es/rce/plugins/instructure_documents/clickCallback.d.ts +1 -0
  68. package/es/rce/plugins/instructure_documents/components/DocumentsPanel.d.ts +18 -0
  69. package/es/rce/plugins/instructure_documents/components/Link.d.ts +28 -0
  70. package/es/rce/plugins/instructure_documents/plugin.d.ts +1 -0
  71. package/es/rce/plugins/instructure_equation/EquationEditorModal/advancedOnlySyntax.d.ts +2 -0
  72. package/es/rce/plugins/instructure_equation/EquationEditorModal/advancedPreference.d.ts +4 -0
  73. package/es/rce/plugins/instructure_equation/EquationEditorModal/index.d.ts +51 -0
  74. package/es/rce/plugins/instructure_equation/EquationEditorModal/latexTextareaUtil.d.ts +16 -0
  75. package/es/rce/plugins/instructure_equation/EquationEditorModal/parseLatex.d.ts +12 -0
  76. package/es/rce/plugins/instructure_equation/EquationEditorModal/styles.d.ts +6 -0
  77. package/es/rce/plugins/instructure_equation/EquationEditorToolbar/buttons.d.ts +17 -0
  78. package/es/rce/plugins/instructure_equation/EquationEditorToolbar/index.d.ts +10 -0
  79. package/es/rce/plugins/instructure_equation/MathIcon/index.d.ts +10 -0
  80. package/es/rce/plugins/instructure_equation/MathIcon/svgs.d.ts +216 -0
  81. package/es/rce/plugins/instructure_equation/clickCallback.d.ts +1 -0
  82. package/es/rce/plugins/instructure_equation/mathlive/index.d.ts +1 -0
  83. package/es/rce/plugins/instructure_equation/plugin.d.ts +1 -0
  84. package/es/rce/plugins/instructure_fullscreen/plugin.d.ts +1 -0
  85. package/es/rce/plugins/instructure_html_view/clickCallback.d.ts +1 -0
  86. package/es/rce/plugins/instructure_html_view/plugin.d.ts +1 -0
  87. package/es/rce/plugins/instructure_icon_maker/clickCallback.d.ts +5 -0
  88. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ColorSection.d.ts +6 -0
  89. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/CreateIconMakerForm.d.ts +10 -0
  90. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Footer.d.ts +11 -0
  91. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Group.d.ts +6 -0
  92. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Header.d.ts +8 -0
  93. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/Course.d.ts +29 -0
  94. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ImageOptions.d.ts +56 -0
  95. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ImageSection.d.ts +20 -0
  96. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ModeSelect.d.ts +3 -0
  97. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/MultiColor/index.d.ts +23 -0
  98. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/MultiColor/svg.d.ts +91 -0
  99. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SVGList.d.ts +154 -0
  100. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SVGThumbnail.d.ts +28 -0
  101. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SingleColor/index.d.ts +29 -0
  102. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SingleColor/svg.d.ts +97 -0
  103. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/Upload.d.ts +26 -0
  104. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/index.d.ts +1 -0
  105. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/propTypes.d.ts +21 -0
  106. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/utils.d.ts +5 -0
  107. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Preview.d.ts +4 -0
  108. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ShapeSection.d.ts +5 -0
  109. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/TextSection.d.ts +5 -0
  110. package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/index.d.ts +1 -0
  111. package/es/rce/plugins/instructure_icon_maker/components/IconMakerTray.d.ts +22 -0
  112. package/es/rce/plugins/instructure_icon_maker/components/SavedIconMakerList.d.ts +30 -0
  113. package/es/rce/plugins/instructure_icon_maker/plugin.d.ts +1 -0
  114. package/es/rce/plugins/instructure_icon_maker/reducers/imageSection.d.ts +97 -0
  115. package/es/rce/plugins/instructure_icon_maker/reducers/svgSettings.d.ts +40 -0
  116. package/es/rce/plugins/instructure_icon_maker/registerEditToolbar.d.ts +3 -0
  117. package/es/rce/plugins/instructure_icon_maker/svg/clipPath.d.ts +2 -0
  118. package/es/rce/plugins/instructure_icon_maker/svg/constants.d.ts +66 -0
  119. package/es/rce/plugins/instructure_icon_maker/svg/font.d.ts +2 -0
  120. package/es/rce/plugins/instructure_icon_maker/svg/image.d.ts +44 -0
  121. package/es/rce/plugins/instructure_icon_maker/svg/index.d.ts +9 -0
  122. package/es/rce/plugins/instructure_icon_maker/svg/metadata.d.ts +2 -0
  123. package/es/rce/plugins/instructure_icon_maker/svg/settings.d.ts +6 -0
  124. package/es/rce/plugins/instructure_icon_maker/svg/shape.d.ts +14 -0
  125. package/es/rce/plugins/instructure_icon_maker/svg/text.d.ts +28 -0
  126. package/es/rce/plugins/instructure_icon_maker/svg/utils.d.ts +3 -0
  127. package/es/rce/plugins/instructure_icon_maker/utils/IconMakerClose.d.ts +2 -0
  128. package/es/rce/plugins/instructure_icon_maker/utils/IconMakerFormHasChanges.d.ts +35 -0
  129. package/es/rce/plugins/instructure_icon_maker/utils/addIconMakerAttributes.d.ts +4 -0
  130. package/es/rce/plugins/instructure_icon_maker/utils/iconValidation.d.ts +6 -0
  131. package/es/rce/plugins/instructure_icon_maker/utils/iconsLabels.d.ts +356 -0
  132. package/es/rce/plugins/instructure_icon_maker/utils/useDebouncedValue.d.ts +1 -0
  133. package/es/rce/plugins/instructure_image/ImageEmbedOptions.d.ts +49 -0
  134. package/es/rce/plugins/instructure_image/ImageList/Image.d.ts +33 -0
  135. package/es/rce/plugins/instructure_image/ImageList/index.d.ts +33 -0
  136. package/es/rce/plugins/instructure_image/ImageOptionsTray/TrayController.d.ts +17 -0
  137. package/es/rce/plugins/instructure_image/ImageOptionsTray/index.d.ts +29 -0
  138. package/es/rce/plugins/instructure_image/Images/index.d.ts +24 -0
  139. package/es/rce/plugins/instructure_image/clickCallback.d.ts +1 -0
  140. package/es/rce/plugins/instructure_image/plugin.d.ts +1 -0
  141. package/es/rce/plugins/instructure_links/clickCallback.d.ts +1 -0
  142. package/es/rce/plugins/instructure_links/components/AccordionSection.d.ts +18 -0
  143. package/es/rce/plugins/instructure_links/components/CollectionPanel.d.ts +113 -0
  144. package/es/rce/plugins/instructure_links/components/Link.d.ts +24 -0
  145. package/es/rce/plugins/instructure_links/components/LinkOptionsDialog/LinkOptionsDialogController.d.ts +18 -0
  146. package/es/rce/plugins/instructure_links/components/LinkOptionsDialog/index.d.ts +24 -0
  147. package/es/rce/plugins/instructure_links/components/LinkOptionsTray/LinkOptionsTrayController.d.ts +14 -0
  148. package/es/rce/plugins/instructure_links/components/LinkOptionsTray/index.d.ts +18 -0
  149. package/es/rce/plugins/instructure_links/components/LinkSet.d.ts +46 -0
  150. package/es/rce/plugins/instructure_links/components/LinksPanel.d.ts +107 -0
  151. package/es/rce/plugins/instructure_links/components/NavigationPanel.d.ts +17 -0
  152. package/es/rce/plugins/instructure_links/components/NoResults.d.ts +13 -0
  153. package/es/rce/plugins/instructure_links/components/propTypes.d.ts +102 -0
  154. package/es/rce/plugins/instructure_links/plugin.d.ts +1 -0
  155. package/es/rce/plugins/instructure_links/validateURL.d.ts +6 -0
  156. package/es/rce/plugins/instructure_media_embed/clickCallback.d.ts +1 -0
  157. package/es/rce/plugins/instructure_media_embed/components/Embed.d.ts +11 -0
  158. package/es/rce/plugins/instructure_media_embed/plugin.d.ts +1 -0
  159. package/es/rce/plugins/instructure_paste/pasteMenuCommand.d.ts +1 -0
  160. package/es/rce/plugins/instructure_paste/plugin.d.ts +1 -0
  161. package/es/rce/plugins/instructure_rce_external_tools/ExternalToolsEnv.d.ts +30 -0
  162. package/es/rce/plugins/instructure_rce_external_tools/RceToolWrapper.d.ts +77 -0
  163. package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialog.d.ts +45 -0
  164. package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialogModal.d.ts +8 -0
  165. package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialogTray.d.ts +14 -0
  166. package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolSelectionDialog/ExternalToolSelectionDialog.d.ts +18 -0
  167. package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolSelectionDialog/ExternalToolSelectionItem.d.ts +12 -0
  168. package/es/rce/plugins/instructure_rce_external_tools/components/util/ExpandoText.d.ts +7 -0
  169. package/es/rce/plugins/instructure_rce_external_tools/components/util/ToolLaunchIframe.d.ts +10 -0
  170. package/es/rce/plugins/instructure_rce_external_tools/constants.d.ts +9 -0
  171. package/es/rce/plugins/instructure_rce_external_tools/dialog-helper.d.ts +3 -0
  172. package/es/rce/plugins/instructure_rce_external_tools/helpers/tags.d.ts +18 -0
  173. package/es/rce/plugins/instructure_rce_external_tools/jquery/jquery.dropdownList.d.ts +27 -0
  174. package/es/rce/plugins/instructure_rce_external_tools/lti11-content-items/RceLti11ContentItem.d.ts +72 -0
  175. package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/Lti13ContentItemJson.d.ts +55 -0
  176. package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/RceLti13ContentItem.d.ts +31 -0
  177. package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/BaseLinkContentItem.d.ts +19 -0
  178. package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/HtmlFragmentContentItem.d.ts +11 -0
  179. package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/ImageContentItem.d.ts +17 -0
  180. package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/LinkContentItem.d.ts +7 -0
  181. package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/ResourceLinkContentItem.d.ts +9 -0
  182. package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/processEditorContentItems.d.ts +13 -0
  183. package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/rceLti13ContentItemFromJson.d.ts +12 -0
  184. package/es/rce/plugins/instructure_rce_external_tools/plugin.d.ts +9 -0
  185. package/es/rce/plugins/instructure_rce_external_tools/util/addParentFrameContextToUrl.d.ts +1 -0
  186. package/es/rce/plugins/instructure_rce_external_tools/util/externalToolsForToolbar.d.ts +2 -0
  187. package/es/rce/plugins/instructure_record/AudioOptionsTray/TrayController.d.ts +17 -0
  188. package/es/rce/plugins/instructure_record/AudioOptionsTray/index.d.ts +41 -0
  189. package/es/rce/plugins/instructure_record/MediaPanel/index.d.ts +18 -0
  190. package/es/rce/plugins/instructure_record/VideoOptionsTray/TrayController.d.ts +27 -0
  191. package/es/rce/plugins/instructure_record/VideoOptionsTray/index.d.ts +45 -0
  192. package/es/rce/plugins/instructure_record/clickCallback.d.ts +2 -0
  193. package/es/rce/plugins/instructure_record/mediaTranslations.d.ts +69 -0
  194. package/es/rce/plugins/instructure_record/plugin.d.ts +1 -0
  195. package/es/rce/plugins/instructure_search_and_replace/clickCallback.d.ts +2 -0
  196. package/es/rce/plugins/instructure_search_and_replace/components/FindReplaceTray.d.ts +14 -0
  197. package/es/rce/plugins/instructure_search_and_replace/components/FindReplaceTrayController.d.ts +12 -0
  198. package/es/rce/plugins/instructure_search_and_replace/getSelectionContext.d.ts +1 -0
  199. package/es/rce/plugins/instructure_search_and_replace/plugin.d.ts +1 -0
  200. package/es/rce/plugins/instructure_studio_media_options/plugin.d.ts +1 -0
  201. package/es/rce/plugins/instructure_wordcount/clickCallback.d.ts +6 -0
  202. package/es/rce/plugins/instructure_wordcount/components/WordCountModal.d.ts +8 -0
  203. package/es/rce/plugins/instructure_wordcount/plugin.d.ts +1 -0
  204. package/es/rce/plugins/instructure_wordcount/utils/countContent.d.ts +11 -0
  205. package/es/rce/plugins/instructure_wordcount/utils/tableContent.d.ts +12 -0
  206. package/es/rce/plugins/shared/CanvasContentTray.d.ts +66 -0
  207. package/es/rce/plugins/shared/CheckerboardStyling.d.ts +5 -0
  208. package/es/rce/plugins/shared/ColorInput.d.ts +11 -0
  209. package/es/rce/plugins/shared/ConditionalTooltip.d.ts +12 -0
  210. package/es/rce/plugins/shared/ContentSelection.d.ts +75 -0
  211. package/es/rce/plugins/shared/DimensionUtils.d.ts +14 -0
  212. package/es/rce/plugins/shared/DimensionsInput/DimensionInput.d.ts +13 -0
  213. package/es/rce/plugins/shared/DimensionsInput/index.d.ts +36 -0
  214. package/es/rce/plugins/shared/DimensionsInput/useDimensionsState.d.ts +25 -0
  215. package/es/rce/plugins/shared/ErrorBoundary.d.ts +16 -0
  216. package/es/rce/plugins/shared/EventUtils.d.ts +8 -0
  217. package/es/rce/plugins/shared/Filter.d.ts +18 -0
  218. package/es/rce/plugins/shared/FixedContentTray.d.ts +46 -0
  219. package/es/rce/plugins/shared/ImageCropper/DirectionRegion.d.ts +13 -0
  220. package/es/rce/plugins/shared/ImageCropper/Modal.d.ts +40 -0
  221. package/es/rce/plugins/shared/ImageCropper/Preview.d.ts +21 -0
  222. package/es/rce/plugins/shared/ImageCropper/constants.d.ts +22 -0
  223. package/es/rce/plugins/shared/ImageCropper/controls/CustomNumberInput.d.ts +30 -0
  224. package/es/rce/plugins/shared/ImageCropper/controls/ResetControls.d.ts +14 -0
  225. package/es/rce/plugins/shared/ImageCropper/controls/RotationControls.d.ts +18 -0
  226. package/es/rce/plugins/shared/ImageCropper/controls/ShapeControls.d.ts +12 -0
  227. package/es/rce/plugins/shared/ImageCropper/controls/ZoomControls.d.ts +18 -0
  228. package/es/rce/plugins/shared/ImageCropper/controls/index.d.ts +5 -0
  229. package/es/rce/plugins/shared/ImageCropper/controls/useDebouncedNumericValue.d.ts +7 -0
  230. package/es/rce/plugins/shared/ImageCropper/controls/utils.d.ts +4 -0
  231. package/es/rce/plugins/shared/ImageCropper/imageCropUtils.d.ts +8 -0
  232. package/es/rce/plugins/shared/ImageCropper/index.d.ts +1 -0
  233. package/es/rce/plugins/shared/ImageCropper/propTypes.d.ts +9 -0
  234. package/es/rce/plugins/shared/ImageCropper/reducers/imageCropper.d.ts +18 -0
  235. package/es/rce/plugins/shared/ImageCropper/shape.d.ts +10 -0
  236. package/es/rce/plugins/shared/ImageCropper/svg/index.d.ts +1 -0
  237. package/es/rce/plugins/shared/ImageCropper/svg/shape.d.ts +4 -0
  238. package/es/rce/plugins/shared/ImageCropper/svg/utils.d.ts +1 -0
  239. package/es/rce/plugins/shared/ImageCropper/useKeyMouseEvents.d.ts +1 -0
  240. package/es/rce/plugins/shared/ImageCropper/useMouseWheel.d.ts +1 -0
  241. package/es/rce/plugins/shared/ImageOptionsForm.d.ts +19 -0
  242. package/es/rce/plugins/shared/LinkDisplay.d.ts +9 -0
  243. package/es/rce/plugins/shared/PreviewIcon.d.ts +50 -0
  244. package/es/rce/plugins/shared/Previewable.d.ts +2 -0
  245. package/es/rce/plugins/shared/RceFileBrowser.d.ts +19 -0
  246. package/es/rce/plugins/shared/StoreContext.d.ts +15 -0
  247. package/es/rce/plugins/shared/StudioLtiSupportUtils.d.ts +37 -0
  248. package/es/rce/plugins/shared/UnknownFileTypePanel.d.ts +2 -0
  249. package/es/rce/plugins/shared/Upload/CanvasContentPanel.d.ts +29 -0
  250. package/es/rce/plugins/shared/Upload/CategoryProcessor.d.ts +3 -0
  251. package/es/rce/plugins/shared/Upload/ComputerPanel.d.ts +32 -0
  252. package/es/rce/plugins/shared/Upload/PanelFilter.d.ts +10 -0
  253. package/es/rce/plugins/shared/Upload/SvgCategoryProcessor.d.ts +4 -0
  254. package/es/rce/plugins/shared/Upload/UploadFile.d.ts +24 -0
  255. package/es/rce/plugins/shared/Upload/UploadFileModal.d.ts +3 -0
  256. package/es/rce/plugins/shared/Upload/UrlPanel.d.ts +12 -0
  257. package/es/rce/plugins/shared/Upload/UsageRightsSelectBox.d.ts +23 -0
  258. package/es/rce/plugins/shared/Upload/doFileUpload.d.ts +17 -0
  259. package/es/rce/plugins/shared/Upload/index.d.ts +2 -0
  260. package/es/rce/plugins/shared/ai_tools/AIResponseModal.d.ts +10 -0
  261. package/es/rce/plugins/shared/ai_tools/AIToolsTray.d.ts +18 -0
  262. package/es/rce/plugins/shared/ai_tools/aiicons.d.ts +7 -0
  263. package/es/rce/plugins/shared/ai_tools/index.d.ts +3 -0
  264. package/es/rce/plugins/shared/buildDownloadUrl.d.ts +1 -0
  265. package/es/rce/plugins/shared/canvasContentUtils.d.ts +138 -0
  266. package/es/rce/plugins/shared/compressionUtils.d.ts +11 -0
  267. package/es/rce/plugins/shared/dateUtils.d.ts +1 -0
  268. package/es/rce/plugins/shared/do-fetch-api-effect/defaultFetchOptions.d.ts +4 -0
  269. package/es/rce/plugins/shared/do-fetch-api-effect/doFetchApi.d.ts +22 -0
  270. package/es/rce/plugins/shared/do-fetch-api-effect/get-cookie.d.ts +7 -0
  271. package/es/rce/plugins/shared/do-fetch-api-effect/index.d.ts +7 -0
  272. package/es/rce/plugins/shared/do-fetch-api-effect/parse-link-header.d.ts +12 -0
  273. package/es/rce/plugins/shared/do-fetch-api-effect/query-string-encoding.d.ts +6 -0
  274. package/es/rce/plugins/shared/fileShape.d.ts +116 -0
  275. package/es/rce/plugins/shared/fileTypeUtils.d.ts +28 -0
  276. package/es/rce/plugins/shared/fileUtils.d.ts +1 -0
  277. package/es/rce/plugins/shared/linkUtils.d.ts +5 -0
  278. package/es/rce/plugins/shared/round.d.ts +1 -0
  279. package/es/rce/plugins/shared/trayUtils.d.ts +3 -0
  280. package/es/rce/plugins/shared/useDataUrl.d.ts +8 -0
  281. package/es/rce/plugins/shared/useFilterSettings.d.ts +10 -0
  282. package/es/rce/plugins/tinymce-a11y-checker/components/ColorField.d.ts +33 -0
  283. package/es/rce/plugins/tinymce-a11y-checker/components/checker.d.ts +53 -0
  284. package/es/rce/plugins/tinymce-a11y-checker/components/color-picker.d.ts +2 -0
  285. package/es/rce/plugins/tinymce-a11y-checker/components/placeholder-svg.d.ts +2 -0
  286. package/es/rce/plugins/tinymce-a11y-checker/components/pointer.d.ts +2 -0
  287. package/es/rce/plugins/tinymce-a11y-checker/node-checker.d.ts +1 -0
  288. package/es/rce/plugins/tinymce-a11y-checker/plugin.d.ts +2 -0
  289. package/es/rce/plugins/tinymce-a11y-checker/rules/adjacent-links.d.ts +19 -0
  290. package/es/rce/plugins/tinymce-a11y-checker/rules/headings-sequence.d.ts +18 -0
  291. package/es/rce/plugins/tinymce-a11y-checker/rules/headings-start-at-h2.d.ts +28 -0
  292. package/es/rce/plugins/tinymce-a11y-checker/rules/img-alt-filename.d.ts +25 -0
  293. package/es/rce/plugins/tinymce-a11y-checker/rules/img-alt-length.d.ts +18 -0
  294. package/es/rce/plugins/tinymce-a11y-checker/rules/img-alt.d.ts +25 -0
  295. package/es/rce/plugins/tinymce-a11y-checker/rules/index.d.ts +198 -0
  296. package/es/rce/plugins/tinymce-a11y-checker/rules/large-text-contrast.d.ts +19 -0
  297. package/es/rce/plugins/tinymce-a11y-checker/rules/list-structure.d.ts +20 -0
  298. package/es/rce/plugins/tinymce-a11y-checker/rules/paragraphs-for-headings.d.ts +18 -0
  299. package/es/rce/plugins/tinymce-a11y-checker/rules/small-text-contrast.d.ts +19 -0
  300. package/es/rce/plugins/tinymce-a11y-checker/rules/table-caption.d.ts +17 -0
  301. package/es/rce/plugins/tinymce-a11y-checker/rules/table-header-scope.d.ts +18 -0
  302. package/es/rce/plugins/tinymce-a11y-checker/rules/table-header.d.ts +18 -0
  303. package/es/rce/plugins/tinymce-a11y-checker/utils/colors.d.ts +10 -0
  304. package/es/rce/plugins/tinymce-a11y-checker/utils/describe.d.ts +1 -0
  305. package/es/rce/plugins/tinymce-a11y-checker/utils/dom.d.ts +11 -0
  306. package/es/rce/plugins/tinymce-a11y-checker/utils/indicate.d.ts +7 -0
  307. package/es/rce/plugins/tinymce-a11y-checker/utils/rgb-hex.d.ts +2 -0
  308. package/es/rce/plugins/tinymce-a11y-checker/utils/strings.d.ts +2 -0
  309. package/es/rce/root.d.ts +3 -0
  310. package/es/rce/sanitizePlugins.d.ts +1 -0
  311. package/es/rce/style.d.ts +64 -0
  312. package/es/rce/tinyRCE.d.ts +2 -0
  313. package/es/rce/tinymce.oxide.content.min.css.d.ts +2 -0
  314. package/es/rce/tinymce.oxide.skin.min.css.d.ts +2 -0
  315. package/es/rce/transformContent.d.ts +13 -0
  316. package/es/rce/types.d.ts +96 -0
  317. package/es/rce/userOS.d.ts +4 -0
  318. package/es/rce/wrapInitCb.d.ts +2 -0
  319. package/es/rcs/api.d.ts +117 -0
  320. package/es/rcs/buildError.d.ts +4 -0
  321. package/es/rcs/fake.d.ts +111 -0
  322. package/es/sidebar/actions/all_files.d.ts +5 -0
  323. package/es/sidebar/actions/data.d.ts +29 -0
  324. package/es/sidebar/actions/documents.d.ts +42 -0
  325. package/es/sidebar/actions/files.d.ts +66 -0
  326. package/es/sidebar/actions/filter.d.ts +25 -0
  327. package/es/sidebar/actions/flickr.d.ts +20 -0
  328. package/es/sidebar/actions/images.d.ts +63 -0
  329. package/es/sidebar/actions/links.d.ts +4 -0
  330. package/es/sidebar/actions/media.d.ts +46 -0
  331. package/es/sidebar/actions/session.d.ts +2 -0
  332. package/es/sidebar/actions/ui.d.ts +22 -0
  333. package/es/sidebar/actions/upload.d.ts +114 -0
  334. package/es/sidebar/containers/Sidebar.d.ts +1 -0
  335. package/es/sidebar/containers/sidebarHandlers.d.ts +33 -0
  336. package/es/sidebar/dragHtml.d.ts +1 -0
  337. package/es/sidebar/reducers/all_files.d.ts +1 -0
  338. package/es/sidebar/reducers/collection.d.ts +1 -0
  339. package/es/sidebar/reducers/collections.d.ts +9 -0
  340. package/es/sidebar/reducers/documents.d.ts +1 -0
  341. package/es/sidebar/reducers/files.d.ts +1 -0
  342. package/es/sidebar/reducers/filter.d.ts +7 -0
  343. package/es/sidebar/reducers/flickr.d.ts +1 -0
  344. package/es/sidebar/reducers/folder.d.ts +25 -0
  345. package/es/sidebar/reducers/folders.d.ts +1 -0
  346. package/es/sidebar/reducers/images.d.ts +1 -0
  347. package/es/sidebar/reducers/index.d.ts +44 -0
  348. package/es/sidebar/reducers/media.d.ts +1 -0
  349. package/es/sidebar/reducers/newPageLinkExpanded.d.ts +1 -0
  350. package/es/sidebar/reducers/noop.d.ts +1 -0
  351. package/es/sidebar/reducers/rootFolderId.d.ts +1 -0
  352. package/es/sidebar/reducers/session.d.ts +1 -0
  353. package/es/sidebar/reducers/ui.d.ts +6 -0
  354. package/es/sidebar/reducers/upload.d.ts +11 -0
  355. package/es/sidebar/store/configureStore.d.ts +3 -0
  356. package/es/sidebar/store/initialState.d.ts +22 -0
  357. package/es/translations/locales/ab.d.ts +1 -0
  358. package/es/translations/locales/ar.d.ts +1 -0
  359. package/es/translations/locales/ca.d.ts +1 -0
  360. package/es/translations/locales/cs.d.ts +1 -0
  361. package/es/translations/locales/cs_CZ.d.ts +1 -0
  362. package/es/translations/locales/cy.d.ts +1 -0
  363. package/es/translations/locales/da-x-k12.d.ts +1 -0
  364. package/es/translations/locales/da.d.ts +1 -0
  365. package/es/translations/locales/da_DK.d.ts +1 -0
  366. package/es/translations/locales/de.d.ts +1 -0
  367. package/es/translations/locales/el.d.ts +1 -0
  368. package/es/translations/locales/en-AU-x-unimelb.d.ts +1 -0
  369. package/es/translations/locales/en-GB-x-ukhe.d.ts +1 -0
  370. package/es/translations/locales/en.d.ts +1 -0
  371. package/es/translations/locales/en_AU.d.ts +1 -0
  372. package/es/translations/locales/en_CA.d.ts +1 -0
  373. package/es/translations/locales/en_CY.d.ts +1 -0
  374. package/es/translations/locales/en_GB.d.ts +1 -0
  375. package/es/translations/locales/en_NZ.d.ts +1 -0
  376. package/es/translations/locales/en_SE.d.ts +1 -0
  377. package/es/translations/locales/en_US.d.ts +1 -0
  378. package/es/translations/locales/es.d.ts +1 -0
  379. package/es/translations/locales/es_ES.d.ts +1 -0
  380. package/es/translations/locales/es_GT.d.ts +1 -0
  381. package/es/translations/locales/fa_IR.d.ts +1 -0
  382. package/es/translations/locales/fi.d.ts +1 -0
  383. package/es/translations/locales/fr.d.ts +1 -0
  384. package/es/translations/locales/fr_CA.d.ts +1 -0
  385. package/es/translations/locales/ga.d.ts +1 -0
  386. package/es/translations/locales/he.d.ts +1 -0
  387. package/es/translations/locales/hi.d.ts +1 -0
  388. package/es/translations/locales/ht.d.ts +1 -0
  389. package/es/translations/locales/hu.d.ts +1 -0
  390. package/es/translations/locales/hu_HU.d.ts +1 -0
  391. package/es/translations/locales/hy.d.ts +1 -0
  392. package/es/translations/locales/id.d.ts +1 -0
  393. package/es/translations/locales/id_ID.d.ts +1 -0
  394. package/es/translations/locales/is.d.ts +1 -0
  395. package/es/translations/locales/it.d.ts +1 -0
  396. package/es/translations/locales/ja.d.ts +1 -0
  397. package/es/translations/locales/ko.d.ts +1 -0
  398. package/es/translations/locales/ko_KR.d.ts +1 -0
  399. package/es/translations/locales/lt.d.ts +1 -0
  400. package/es/translations/locales/lt_LT.d.ts +1 -0
  401. package/es/translations/locales/mi.d.ts +1 -0
  402. package/es/translations/locales/mn_MN.d.ts +1 -0
  403. package/es/translations/locales/ms.d.ts +1 -0
  404. package/es/translations/locales/nb-x-k12.d.ts +1 -0
  405. package/es/translations/locales/nb.d.ts +1 -0
  406. package/es/translations/locales/nl.d.ts +1 -0
  407. package/es/translations/locales/nl_NL.d.ts +1 -0
  408. package/es/translations/locales/nn.d.ts +1 -0
  409. package/es/translations/locales/pl.d.ts +1 -0
  410. package/es/translations/locales/pt.d.ts +1 -0
  411. package/es/translations/locales/pt_BR.d.ts +1 -0
  412. package/es/translations/locales/ro.d.ts +1 -0
  413. package/es/translations/locales/ru.d.ts +1 -0
  414. package/es/translations/locales/se.d.ts +1 -0
  415. package/es/translations/locales/sl.d.ts +1 -0
  416. package/es/translations/locales/sv-x-k12.d.ts +1 -0
  417. package/es/translations/locales/sv.d.ts +1 -0
  418. package/es/translations/locales/sv_SE.d.ts +1 -0
  419. package/es/translations/locales/tg.d.ts +1 -0
  420. package/es/translations/locales/th.d.ts +1 -0
  421. package/es/translations/locales/th_TH.d.ts +1 -0
  422. package/es/translations/locales/tl_PH.d.ts +1 -0
  423. package/es/translations/locales/tr.d.ts +1 -0
  424. package/es/translations/locales/uk_UA.d.ts +1 -0
  425. package/es/translations/locales/vi.d.ts +1 -0
  426. package/es/translations/locales/vi_VN.d.ts +1 -0
  427. package/es/translations/locales/zh-Hans.d.ts +1 -0
  428. package/es/translations/locales/zh-Hant.d.ts +1 -0
  429. package/es/translations/locales/zh.d.ts +1 -0
  430. package/es/translations/locales/zh_HK.d.ts +1 -0
  431. package/es/translations/locales/zh_TW.Big5.d.ts +1 -0
  432. package/es/translations/locales/zh_TW.d.ts +1 -0
  433. package/es/translations/tinymce/ar_SA.d.ts +0 -0
  434. package/es/translations/tinymce/bg_BG.d.ts +0 -0
  435. package/es/translations/tinymce/ca.d.ts +0 -0
  436. package/es/translations/tinymce/cs.d.ts +0 -0
  437. package/es/translations/tinymce/cy.d.ts +0 -0
  438. package/es/translations/tinymce/da.d.ts +0 -0
  439. package/es/translations/tinymce/de.d.ts +0 -0
  440. package/es/translations/tinymce/el.d.ts +0 -0
  441. package/es/translations/tinymce/en_GB.d.ts +0 -0
  442. package/es/translations/tinymce/es.d.ts +0 -0
  443. package/es/translations/tinymce/fa_IR.d.ts +0 -0
  444. package/es/translations/tinymce/fi.d.ts +0 -0
  445. package/es/translations/tinymce/fr_FR.d.ts +0 -0
  446. package/es/translations/tinymce/ga.d.ts +0 -0
  447. package/es/translations/tinymce/he_IL.d.ts +0 -0
  448. package/es/translations/tinymce/hu_HU.d.ts +0 -0
  449. package/es/translations/tinymce/hy.d.ts +0 -0
  450. package/es/translations/tinymce/id.d.ts +0 -0
  451. package/es/translations/tinymce/it.d.ts +0 -0
  452. package/es/translations/tinymce/ja.d.ts +0 -0
  453. package/es/translations/tinymce/ko_KR.d.ts +0 -0
  454. package/es/translations/tinymce/nb_NO.d.ts +0 -0
  455. package/es/translations/tinymce/nl.d.ts +0 -0
  456. package/es/translations/tinymce/pl.d.ts +0 -0
  457. package/es/translations/tinymce/pt_BR.d.ts +0 -0
  458. package/es/translations/tinymce/pt_PT.d.ts +0 -0
  459. package/es/translations/tinymce/ro.d.ts +0 -0
  460. package/es/translations/tinymce/ru.d.ts +0 -0
  461. package/es/translations/tinymce/ru_RU.d.ts +0 -0
  462. package/es/translations/tinymce/sl.d.ts +0 -0
  463. package/es/translations/tinymce/sr.d.ts +0 -0
  464. package/es/translations/tinymce/sv_SE.d.ts +0 -0
  465. package/es/translations/tinymce/th.d.ts +0 -0
  466. package/es/translations/tinymce/tr_TR.d.ts +0 -0
  467. package/es/translations/tinymce/uk_UA.d.ts +0 -0
  468. package/es/translations/tinymce/vi_VN.d.ts +0 -0
  469. package/es/translations/tinymce/zh_CN.d.ts +0 -0
  470. package/es/translations/tinymce/zh_TW.d.ts +0 -0
  471. package/es/util/DeepPartialNullable.d.ts +15 -0
  472. package/es/util/ExtractRequired.d.ts +42 -0
  473. package/es/util/TypedDict.d.ts +99 -0
  474. package/es/util/assertNever.d.ts +24 -0
  475. package/es/util/elem-util.d.ts +6 -0
  476. package/es/util/encrypted-storage.d.ts +9 -0
  477. package/es/util/file-url-util.d.ts +1 -0
  478. package/es/util/fullscreenHelpers.d.ts +6 -0
  479. package/es/util/instui-icon-helper.d.ts +19 -0
  480. package/es/util/loadingPlaceholder.d.ts +39 -0
  481. package/es/util/simpleCache.d.ts +11 -0
  482. package/es/util/string-util.d.ts +20 -0
  483. package/es/util/textarea-editing-util.d.ts +35 -0
  484. package/es/util/tinymce-plugin-util.d.ts +16 -0
  485. package/es/util/url-util.d.ts +32 -0
  486. package/package.json +2 -3
  487. package/scripts/build.js +0 -40
@@ -0,0 +1,18 @@
1
+ declare function MediaPanel(props: any): React.JSX.Element;
2
+ declare namespace MediaPanel {
3
+ namespace propTypes {
4
+ export let contextType: import("prop-types").Validator<string>;
5
+ export let fetchInitialMedia: import("prop-types").Validator<(...args: any[]) => any>;
6
+ export let fetchNextMedia: import("prop-types").Validator<(...args: any[]) => any>;
7
+ export let onMediaEmbed: import("prop-types").Validator<(...args: any[]) => any>;
8
+ export let media: any;
9
+ export let sortBy: import("prop-types").Requireable<import("prop-types").InferProps<{
10
+ sort: import("prop-types").Validator<string>;
11
+ order: import("prop-types").Validator<string>;
12
+ }>>;
13
+ export { string as searchString };
14
+ }
15
+ }
16
+ export default MediaPanel;
17
+ import React from 'react';
18
+ import { string } from 'prop-types';
@@ -0,0 +1,27 @@
1
+ export const CONTAINER_ID: "instructure-video-options-tray-container";
2
+ export namespace VIDEO_SIZE_DEFAULT {
3
+ let height: string;
4
+ let width: string;
5
+ }
6
+ export namespace AUDIO_PLAYER_SIZE {
7
+ let width_1: string;
8
+ export { width_1 as width };
9
+ let height_1: string;
10
+ export { height_1 as height };
11
+ }
12
+ export default class TrayController {
13
+ _editor: any;
14
+ _isOpen: boolean;
15
+ _shouldOpen: boolean;
16
+ _renderId: number;
17
+ get $container(): HTMLElement;
18
+ get isOpen(): boolean;
19
+ showTrayForEditor(editor: any): void;
20
+ $videoContainer: any;
21
+ hideTrayForEditor(editor: any): void;
22
+ _applyVideoOptions(videoOptions: any): void;
23
+ _dismissTray(): void;
24
+ requestSubtitlesFromIframe(cb: any): void;
25
+ _subtitleListener: AbortController | undefined;
26
+ _renderTray(trayProps: any): void;
27
+ }
@@ -0,0 +1,45 @@
1
+ declare function VideoOptionsTray({ videoOptions, onRequestClose, onSave, open, trayProps, requestSubtitlesFromIframe, onEntered, onExited, id, studioOptions, forBlockEditorUse, }: {
2
+ videoOptions: any;
3
+ onRequestClose: any;
4
+ onSave: any;
5
+ open: any;
6
+ trayProps: any;
7
+ requestSubtitlesFromIframe?: (() => void) | undefined;
8
+ onEntered?: null | undefined;
9
+ onExited?: null | undefined;
10
+ id?: string | undefined;
11
+ studioOptions?: null | undefined;
12
+ forBlockEditorUse?: boolean | undefined;
13
+ }): React.JSX.Element;
14
+ declare namespace VideoOptionsTray {
15
+ namespace propTypes {
16
+ export let videoOptions: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
17
+ titleText: import("prop-types").Requireable<string>;
18
+ appliedHeight: import("prop-types").Requireable<number>;
19
+ appliedWidth: import("prop-types").Requireable<number>;
20
+ naturalHeight: import("prop-types").Validator<number>;
21
+ naturalWidth: import("prop-types").Validator<number>;
22
+ tracks: import("prop-types").Requireable<(import("prop-types").InferProps<{
23
+ locale: import("prop-types").Validator<string>;
24
+ inherited: import("prop-types").Requireable<boolean>;
25
+ }> | null | undefined)[]>;
26
+ }>>>;
27
+ export { func as onEntered };
28
+ export { func as onExited };
29
+ export let onRequestClose: import("prop-types").Validator<(...args: any[]) => any>;
30
+ export let onSave: import("prop-types").Validator<(...args: any[]) => any>;
31
+ export let open: import("prop-types").Validator<boolean>;
32
+ export let trayProps: import("prop-types").Requireable<import("prop-types").InferProps<{
33
+ host: import("prop-types").Validator<string>;
34
+ jwt: import("prop-types").Validator<string>;
35
+ }>>;
36
+ export { string as id };
37
+ export { parsedStudioOptionsPropType as studioOptions };
38
+ export { func as requestSubtitlesFromIframe };
39
+ }
40
+ }
41
+ export default VideoOptionsTray;
42
+ import React from 'react';
43
+ import { func } from 'prop-types';
44
+ import { string } from 'prop-types';
45
+ import { parsedStudioOptionsPropType } from '../../shared/StudioLtiSupportUtils';
@@ -0,0 +1,2 @@
1
+ export default function _default(ed: any, document: any): Promise<void>;
2
+ export function handleUpload(error: any, uploadData: any, onUploadComplete: any, uploadBookmark: any): void;
@@ -0,0 +1,69 @@
1
+ export default uploadMediaTranslations;
2
+ declare namespace uploadMediaTranslations {
3
+ namespace UploadMediaStrings {
4
+ let ADD_CLOSED_CAPTIONS_OR_SUBTITLES: string;
5
+ let CLEAR_FILE_TEXT: string;
6
+ let CLOSE_TEXT: string;
7
+ let CLOSED_CAPTIONS_CHOOSE_FILE: string;
8
+ let CLOSED_CAPTIONS_SELECT_LANGUAGE: string;
9
+ let COMPUTER_PANEL_TITLE: string;
10
+ let DRAG_DROP_CLICK_TO_BROWSE: string;
11
+ let DRAG_FILE_TEXT: string;
12
+ let EMBED_PANEL_TITLE: string;
13
+ let EMBED_VIDEO_CODE_TEXT: string;
14
+ let INVALID_FILE_TEXT: string;
15
+ let LOADING_MEDIA: string;
16
+ let RECORD_PANEL_TITLE: string;
17
+ let SUBMIT_TEXT: string;
18
+ let UPLOADING_ERROR: string;
19
+ let UPLOAD_MEDIA_LABEL: string;
20
+ let MEDIA_RECORD_NOT_AVAILABLE: string;
21
+ let SUPPORTED_FILE_TYPES: string;
22
+ let NO_FILE_CHOSEN: string;
23
+ let REMOVE_FILE: string;
24
+ let ADD_NEW_CAPTION_OR_SUBTITLE: string;
25
+ let ADDED_CAPTION: string;
26
+ let DELETED_CAPTION: string;
27
+ let PROGRESS_LABEL: string;
28
+ }
29
+ namespace SelectStrings {
30
+ let USE_ARROWS: string;
31
+ let LIST_COLLAPSED: string;
32
+ let LIST_EXPANDED: string;
33
+ let OPTION_SELECTED: string;
34
+ }
35
+ namespace MediaCaptureStrings {
36
+ let ARIA_TIMEBAR_LABEL: string;
37
+ let ARIA_VIDEO_LABEL: string;
38
+ let ARIA_VOLUME: string;
39
+ let ARIA_RECORDING: string;
40
+ let DEFAULT_ERROR: string;
41
+ let DEVICE_AUDIO: string;
42
+ let DEVICE_VIDEO: string;
43
+ let FILE_PLACEHOLDER: string;
44
+ let FINISH: string;
45
+ let WEBCAM_VIDEO_SELECTION_LABEL: string;
46
+ let WEBCAM_AUDIO_SELECTION_LABEL: string;
47
+ let NO_WEBCAM: string;
48
+ let NOT_ALLOWED_ERROR: string;
49
+ let NOT_READABLE_ERROR: string;
50
+ let PLAYBACK_PAUSE: string;
51
+ let PLAYBACK_PLAY: string;
52
+ let PREVIEW: string;
53
+ let SAVE_MEDIA: string;
54
+ let SR_FILE_INPUT: string;
55
+ let START: string;
56
+ let START_OVER: string;
57
+ let SCREEN_DEFAULT_ERROR: string;
58
+ let MIC_BLOCKED: string;
59
+ let WEBCAM_BLOCKED: string;
60
+ let MIC_AND_WEBCAM_BLOCKED: string;
61
+ let NO_MIC_EXIST: string;
62
+ let NO_WEBCAM_EXIST: string;
63
+ let NO_MIC_AND_WEBCAM_EXIST: string;
64
+ let WEBCAM_DISABLED: string;
65
+ let MICROPHONE_DISABLED: string;
66
+ let SYSTEM_AUDIO_ALLOWED: string;
67
+ let SYSTEM_AUDIO_DISABLED: string;
68
+ }
69
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Editor } from 'tinymce';
2
+ export default function (editor: Editor, document: Document): void;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ type FindReplaceTrayProps = {
3
+ onNext: () => void;
4
+ onPrevious: () => void;
5
+ onFind: (text: string) => void;
6
+ onRequestClose: () => void;
7
+ onReplace: (newText: string, forward?: boolean, all?: boolean) => void;
8
+ index: number;
9
+ max: number;
10
+ initialText?: string;
11
+ selectionContext?: string[];
12
+ };
13
+ export default function FindReplaceTray({ onNext, onPrevious, onFind, onRequestClose, onReplace, index, max, initialText, selectionContext, }: FindReplaceTrayProps): React.JSX.Element;
14
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { SearchReplacePlugin } from '../types';
3
+ import { UndoManager } from 'tinymce';
4
+ type FindReplaceTrayControllerProps = {
5
+ plugin: SearchReplacePlugin;
6
+ onDismiss: () => void;
7
+ initialText?: string;
8
+ undoManager?: UndoManager;
9
+ getSelectionContext: () => string[];
10
+ };
11
+ export default function FindReplaceTrayController({ plugin, onDismiss, initialText, undoManager, getSelectionContext, }: FindReplaceTrayControllerProps): React.JSX.Element;
12
+ export {};
@@ -0,0 +1 @@
1
+ export declare const getSelectionContext: (elements: HTMLCollectionOf<Element>) => string[];
@@ -0,0 +1,6 @@
1
+ import { Editor } from 'tinymce';
2
+ interface WordCountOptions {
3
+ readonly skipEditorFocus: boolean;
4
+ }
5
+ export default function (ed: Editor, document: Document, options: WordCountOptions): Promise<void>;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Header, CountRow } from '../utils/tableContent';
3
+ export type WordCountModalProps = {
4
+ readonly headers: Header[];
5
+ readonly rows: CountRow[];
6
+ readonly onDismiss: () => void;
7
+ };
8
+ export declare const WordCountModal: ({ headers, rows, onDismiss }: WordCountModalProps) => React.JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ import { Editor } from 'tinymce';
2
+ export declare const IGNORE_WORDCOUNT_ATTRIBUTE = "data-ignore-wordcount";
3
+ export type Scope = 'body' | 'selection';
4
+ export type Category = 'words' | 'chars-no-spaces' | 'chars';
5
+ export declare const countWords: (node: Element) => number;
6
+ export declare const countCharsNoSpaces: (node: Element) => number;
7
+ export declare const countChars: (node: Element) => number;
8
+ export declare const callbackForCategory: (category: Category) => ((node: Element) => number);
9
+ export declare const countShouldIgnore: (ed: Editor, scope: Scope, category: Category) => number;
10
+ export declare const getTinymceCount: (ed: Editor, scope: Scope, category: Category) => number;
11
+ export declare const countContent: (ed: Editor, scope: Scope, category: Category) => number;
@@ -0,0 +1,12 @@
1
+ import { Editor } from 'tinymce';
2
+ export interface Header {
3
+ readonly id: string;
4
+ readonly getLabel: () => string;
5
+ }
6
+ export interface CountRow {
7
+ readonly label: string;
8
+ readonly documentCount: number;
9
+ readonly selectionCount: number;
10
+ }
11
+ export declare const HEADERS: Header[];
12
+ export declare const generateRows: (ed: Editor) => CountRow[];
@@ -0,0 +1,66 @@
1
+ /**
2
+ * This component is used within various plugins to handle loading in content
3
+ * from Canvas. It is essentially the main component.
4
+ */
5
+ declare function CanvasContentTray(props: any): React.JSX.Element;
6
+ declare namespace CanvasContentTray {
7
+ let globalOpenCount: number;
8
+ namespace propTypes {
9
+ export let canUploadFiles: import("prop-types").Validator<boolean>;
10
+ export let contextId: import("prop-types").Validator<string>;
11
+ export let contextType: import("prop-types").Validator<string>;
12
+ export let containingContext: import("prop-types").Requireable<import("prop-types").InferProps<{
13
+ contextType: import("prop-types").Validator<string>;
14
+ contextId: import("prop-types").Validator<string>;
15
+ userId: import("prop-types").Validator<string>;
16
+ }>>;
17
+ export { bool as filesTabDisabled };
18
+ export { string as host };
19
+ export { string as jwt };
20
+ export { func as refreshToken };
21
+ export let source: import("prop-types").Requireable<import("prop-types").InferProps<{
22
+ fetchImages: import("prop-types").Validator<(...args: any[]) => any>;
23
+ }>>;
24
+ export { string as themeUrl };
25
+ export let bridge: import("prop-types").Validator<Bridge>;
26
+ export let editor: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
27
+ id: import("prop-types").Requireable<string>;
28
+ }>>>;
29
+ export let mountNode: import("prop-types").Requireable<NonNullable<((...args: any[]) => any) | import("prop-types").ReactElementLike | null | undefined>>;
30
+ export { func as onTrayClosing };
31
+ export { func as onEditClick };
32
+ }
33
+ namespace defaultProps {
34
+ let canUploadFiles_1: boolean;
35
+ export { canUploadFiles_1 as canUploadFiles };
36
+ export let filesTabDisabled: boolean;
37
+ export let refreshToken: null;
38
+ let source_1: null;
39
+ export { source_1 as source };
40
+ export let themeUrl: null;
41
+ }
42
+ }
43
+ export default CanvasContentTray;
44
+ export const trayPropTypes: import("prop-types").Requireable<import("prop-types").InferProps<{
45
+ canUploadFiles: import("prop-types").Validator<boolean>;
46
+ contextId: import("prop-types").Validator<string>;
47
+ contextType: import("prop-types").Validator<string>;
48
+ containingContext: import("prop-types").Requireable<import("prop-types").InferProps<{
49
+ contextType: import("prop-types").Validator<string>;
50
+ contextId: import("prop-types").Validator<string>;
51
+ userId: import("prop-types").Validator<string>;
52
+ }>>;
53
+ filesTabDisabled: import("prop-types").Requireable<boolean>;
54
+ host: import("prop-types").Requireable<string>;
55
+ jwt: import("prop-types").Requireable<string>;
56
+ refreshToken: import("prop-types").Requireable<(...args: any[]) => any>;
57
+ source: import("prop-types").Requireable<import("prop-types").InferProps<{
58
+ fetchImages: import("prop-types").Validator<(...args: any[]) => any>;
59
+ }>>;
60
+ themeUrl: import("prop-types").Requireable<string>;
61
+ }>>;
62
+ import React from 'react';
63
+ import { bool } from 'prop-types';
64
+ import { string } from 'prop-types';
65
+ import { func } from 'prop-types';
66
+ import Bridge from '../../../bridge/Bridge';
@@ -0,0 +1,5 @@
1
+ export default checkerboardStyle;
2
+ declare function checkerboardStyle(squareSize: any): {
3
+ backgroundImage: string;
4
+ backgroundSize: string;
5
+ };
@@ -0,0 +1,11 @@
1
+ export function ColorInput({ color, label, name, onChange, popoverMountNode, width, readonly, requireColor, }: {
2
+ color: any;
3
+ label: any;
4
+ name: any;
5
+ onChange: any;
6
+ popoverMountNode: any;
7
+ width?: string | undefined;
8
+ readonly?: boolean | undefined;
9
+ requireColor?: boolean | undefined;
10
+ }): React.JSX.Element;
11
+ import React from 'react';
@@ -0,0 +1,12 @@
1
+ export function ConditionalTooltip({ condition, children, ...tooltipProps }: {
2
+ [x: string]: any;
3
+ condition: any;
4
+ children: any;
5
+ }): React.JSX.Element;
6
+ export namespace ConditionalTooltip {
7
+ namespace propTypes {
8
+ let condition: import("prop-types").Validator<boolean>;
9
+ let children: import("prop-types").Validator<NonNullable<NonNullable<import("prop-types").ReactElementLike | (import("prop-types").ReactElementLike | null | undefined)[] | null | undefined>>>;
10
+ }
11
+ }
12
+ import React from 'react';
@@ -0,0 +1,75 @@
1
+ export function asImageEmbed($element: any): {
2
+ $element: any;
3
+ type: string;
4
+ appliedWidth: number | null;
5
+ appliedHeight: number | null;
6
+ naturalWidth: any;
7
+ naturalHeight: any;
8
+ appliedPercentage: number;
9
+ usePercentageUnits: boolean;
10
+ altText: any;
11
+ isDecorativeImage: boolean;
12
+ url: any;
13
+ } | null;
14
+ export function asLink($element: any, editor: any): {
15
+ $element: any;
16
+ displayAs: string;
17
+ text: any;
18
+ onlyTextSelected: boolean;
19
+ type: string;
20
+ isPreviewable: any;
21
+ url: any;
22
+ contentType: any;
23
+ fileName: any;
24
+ published: boolean;
25
+ } | null;
26
+ export function asVideoElement($element: any): {
27
+ $element: any;
28
+ type: string;
29
+ id: any;
30
+ titleText: any;
31
+ appliedHeight: any;
32
+ appliedWidth: any;
33
+ naturalHeight: any;
34
+ naturalWidth: any;
35
+ source: any;
36
+ } | null;
37
+ export function asAudioElement($element: any): {
38
+ titleText: any;
39
+ id: any;
40
+ } | null;
41
+ export function getContentFromElement($element: any, editor: any): {
42
+ $element: any;
43
+ type: string;
44
+ };
45
+ export function getContentFromEditor(editor: any, expandSelection?: boolean): {
46
+ $element: any;
47
+ type: string;
48
+ };
49
+ export function getLinkContentFromEditor(editor: any): {
50
+ $element: any;
51
+ displayAs: string;
52
+ text: any;
53
+ onlyTextSelected: boolean;
54
+ type: string;
55
+ isPreviewable: any;
56
+ url: any;
57
+ contentType: any;
58
+ fileName: any;
59
+ published: boolean;
60
+ } | null;
61
+ export function isFileLink($element: any, editor: any): boolean;
62
+ export function isImageEmbed($element: any): boolean;
63
+ export function isVideoElement($element: any): boolean;
64
+ export function isAudioElement($element: any): boolean;
65
+ export function findMediaPlayerIframe(elem: any): any;
66
+ export const LINK_TYPE: "link";
67
+ export const FILE_LINK_TYPE: "file-link";
68
+ export const IMAGE_EMBED_TYPE: "image-embed";
69
+ export const VIDEO_EMBED_TYPE: "video-embed";
70
+ export const TEXT_TYPE: "text";
71
+ export const NONE_TYPE: "none";
72
+ export const DISPLAY_AS_LINK: "link";
73
+ export const DISPLAY_AS_EMBED: "embed";
74
+ export const DISPLAY_AS_EMBED_DISABLED: "embed-disabled";
75
+ export const DISPLAY_AS_DOWNLOAD_LINK: "download-link";
@@ -0,0 +1,14 @@
1
+ export function scaleForHeight(width: any, height: any, targetHeight: any, constraints?: {}): {
2
+ height: number;
3
+ width: number;
4
+ } | {
5
+ height: null;
6
+ width: null;
7
+ };
8
+ export function scaleForWidth(width: any, height: any, targetWidth: any, constraints?: {}): {
9
+ height: number;
10
+ width: number;
11
+ } | {
12
+ height: null;
13
+ width: null;
14
+ };
@@ -0,0 +1,13 @@
1
+ declare function DimensionInput(props: any): React.JSX.Element;
2
+ declare namespace DimensionInput {
3
+ namespace propTypes {
4
+ let dimensionState: import("prop-types").Requireable<import("prop-types").InferProps<{
5
+ addOffset: import("prop-types").Validator<(...args: any[]) => any>;
6
+ inputValue: import("prop-types").Validator<string>;
7
+ setInputValue: import("prop-types").Validator<(...args: any[]) => any>;
8
+ }>>;
9
+ let label: import("prop-types").Validator<string>;
10
+ }
11
+ }
12
+ export default DimensionInput;
13
+ import React from 'react';
@@ -0,0 +1,36 @@
1
+ declare function DimensionsInput(props: any): React.JSX.Element;
2
+ declare namespace DimensionsInput {
3
+ namespace propTypes {
4
+ export let dimensionsState: import("prop-types").Requireable<import("prop-types").InferProps<{
5
+ heightState: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
6
+ addOffset: import("prop-types").Validator<(...args: any[]) => any>;
7
+ inputValue: import("prop-types").Validator<string>;
8
+ setInputValue: import("prop-types").Validator<(...args: any[]) => any>;
9
+ }>>>;
10
+ isNumeric: import("prop-types").Validator<boolean>;
11
+ usePercentageUnits: import("prop-types").Validator<boolean>;
12
+ setUsePercentageUnits: import("prop-types").Validator<(...args: any[]) => any>;
13
+ widthState: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
14
+ addOffset: import("prop-types").Validator<(...args: any[]) => any>;
15
+ inputValue: import("prop-types").Validator<string>;
16
+ setInputValue: import("prop-types").Validator<(...args: any[]) => any>;
17
+ }>>>;
18
+ percentageState: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
19
+ addOffset: import("prop-types").Validator<(...args: any[]) => any>;
20
+ inputValue: import("prop-types").Validator<string>;
21
+ setInputValue: import("prop-types").Validator<(...args: any[]) => any>;
22
+ }>>>;
23
+ }>>;
24
+ export let minHeight: import("prop-types").Validator<number>;
25
+ export let minWidth: import("prop-types").Validator<number>;
26
+ export let minPercentage: import("prop-types").Validator<number>;
27
+ export { bool as hidePercentage };
28
+ }
29
+ namespace defaultProps {
30
+ let hidePercentage: boolean;
31
+ }
32
+ }
33
+ export default DimensionsInput;
34
+ export { default as useDimensionsState } from "./useDimensionsState";
35
+ import React from 'react';
36
+ import { bool } from 'prop-types';
@@ -0,0 +1,25 @@
1
+ export default function useDimensionsState(initialDimensions: any, constraints: any): {
2
+ widthState: {
3
+ inputValue: string;
4
+ addOffset(offset: any): void;
5
+ setInputValue(value: any): void;
6
+ };
7
+ heightState: {
8
+ inputValue: string;
9
+ addOffset(offset: any): void;
10
+ setInputValue(value: any): void;
11
+ };
12
+ percentageState: {
13
+ inputValue: string;
14
+ addOffset(offset: any): void;
15
+ setInputValue(value: any): void;
16
+ };
17
+ isAtLeastMinimums: boolean;
18
+ isNumeric: boolean;
19
+ width: any;
20
+ height: any;
21
+ percentage: any;
22
+ usePercentageUnits: any;
23
+ setUsePercentageUnits: (value: any) => void;
24
+ isValid: boolean;
25
+ };
@@ -0,0 +1,16 @@
1
+ export default class ErrorBoundary extends React.Component<any, any, any> {
2
+ static propTypes: {
3
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
4
+ };
5
+ static getDerivedStateFromError(error: any): {
6
+ hasError: boolean;
7
+ error: any;
8
+ };
9
+ constructor(props: any);
10
+ state: {
11
+ hasError: boolean;
12
+ };
13
+ render(): any;
14
+ }
15
+ import React from 'react';
16
+ import PropTypes from 'prop-types';
@@ -0,0 +1,8 @@
1
+ import { EditorEvent } from 'tinymce';
2
+ export type TinyClipboardEvent = EditorEvent<ClipboardEvent>;
3
+ export type TinyDragEvent = EditorEvent<DragEvent>;
4
+ export type RCEClipOrDragEvent = (TinyClipboardEvent | TinyDragEvent) & {
5
+ instructure_handled_already?: boolean;
6
+ };
7
+ export declare function isMicrosoftWordContentInEvent(event: RCEClipOrDragEvent): boolean;
8
+ export declare function isMicrosoftWordContent(html: string): boolean;
@@ -0,0 +1,18 @@
1
+ declare function Filter(props: any): React.JSX.Element;
2
+ declare namespace Filter {
3
+ namespace propTypes {
4
+ export let contentSubtype: import("prop-types").Validator<string>;
5
+ export let contentType: import("prop-types").Validator<string>;
6
+ export let mountNode: import("prop-types").Requireable<NonNullable<((...args: any[]) => any) | import("prop-types").ReactElementLike | null | undefined>>;
7
+ export let onChange: import("prop-types").Validator<(...args: any[]) => any>;
8
+ export let sortValue: import("prop-types").Validator<string>;
9
+ export let searchString: import("prop-types").Validator<string>;
10
+ export let userContextType: import("prop-types").Requireable<string>;
11
+ export { bool as isContentLoading };
12
+ export let containingContextType: import("prop-types").Requireable<string>;
13
+ export { bool as use_rce_icon_maker };
14
+ }
15
+ }
16
+ export default Filter;
17
+ import React from 'react';
18
+ import { bool } from 'prop-types';
@@ -0,0 +1,46 @@
1
+ export function FixedContentTray({ title, isOpen, onDismiss, onUnmount, mountNode, renderHeader, renderBody, renderFooter, bodyAs, shouldJoinBodyAndFooter, shouldCloseOnDocumentClick, }: {
2
+ title: any;
3
+ isOpen: any;
4
+ onDismiss: any;
5
+ onUnmount: any;
6
+ mountNode: any;
7
+ renderHeader: any;
8
+ renderBody: any;
9
+ renderFooter: any;
10
+ bodyAs: any;
11
+ shouldJoinBodyAndFooter: any;
12
+ shouldCloseOnDocumentClick: any;
13
+ }): React.JSX.Element;
14
+ export namespace FixedContentTray {
15
+ namespace propTypes {
16
+ let renderHeader: PropTypes.Validator<(...args: any[]) => any>;
17
+ let renderBody: PropTypes.Validator<(...args: any[]) => any>;
18
+ let renderFooter: PropTypes.Validator<(...args: any[]) => any>;
19
+ let title: PropTypes.Requireable<string>;
20
+ let isOpen: PropTypes.Requireable<boolean>;
21
+ let onDismiss: PropTypes.Requireable<(...args: any[]) => any>;
22
+ let onUnmount: PropTypes.Requireable<(...args: any[]) => any>;
23
+ let mountNode: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.ReactElementLike | null | undefined>>;
24
+ let bodyAs: PropTypes.Requireable<string>;
25
+ let shouldJoinBodyAndFooter: PropTypes.Requireable<boolean>;
26
+ let shouldCloseOnDocumentClick: PropTypes.Requireable<boolean>;
27
+ }
28
+ namespace defaultProps {
29
+ let title_1: null;
30
+ export { title_1 as title };
31
+ let isOpen_1: boolean;
32
+ export { isOpen_1 as isOpen };
33
+ export function onDismiss_1(): void;
34
+ export { onDismiss_1 as onDismiss };
35
+ export function onUnmount_1(): void;
36
+ export { onUnmount_1 as onUnmount };
37
+ let bodyAs_1: string;
38
+ export { bodyAs_1 as bodyAs };
39
+ let shouldJoinBodyAndFooter_1: boolean;
40
+ export { shouldJoinBodyAndFooter_1 as shouldJoinBodyAndFooter };
41
+ let shouldCloseOnDocumentClick_1: boolean;
42
+ export { shouldCloseOnDocumentClick_1 as shouldCloseOnDocumentClick };
43
+ }
44
+ }
45
+ import React from 'react';
46
+ import PropTypes from 'prop-types';
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export declare enum Direction {
3
+ LEFT = 37,
4
+ UP = 38,
5
+ RIGHT = 39,
6
+ DOWN = 40,
7
+ NONE = 0
8
+ }
9
+ type ComponentProps = {
10
+ readonly direction: Direction;
11
+ };
12
+ export declare const DirectionRegion: ({ direction }: ComponentProps) => React.JSX.Element;
13
+ export {};