@instructure/canvas-rce 5.15.4 → 5.15.6
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.
- package/coverage/canvas-rce-jest.xml +7028 -0
- package/es/bridge/Bridge.d.ts +179 -0
- package/es/bridge/index.d.ts +3 -0
- package/es/canvasFileBrowser/FileBrowser.d.ts +80 -0
- package/es/canvasFileBrowser/en-US.d.ts +0 -0
- package/es/common/FlashAlert.d.ts +41 -0
- package/es/common/browser.d.ts +5 -0
- package/es/common/fileUrl.d.ts +13 -0
- package/es/common/getCookie.d.ts +7 -0
- package/es/common/incremental-loading/LoadMoreButton.d.ts +12 -0
- package/es/common/incremental-loading/LoadingIndicator.d.ts +2 -0
- package/es/common/incremental-loading/LoadingStatus.d.ts +6 -0
- package/es/common/incremental-loading/index.d.ts +4 -0
- package/es/common/incremental-loading/useIncrementalLoading.d.ts +10 -0
- package/es/common/indicate.d.ts +1 -0
- package/es/common/mimeClass.d.ts +5 -0
- package/es/common/natcompare.d.ts +8 -0
- package/es/defaultTinymceConfig.d.ts +44 -0
- package/es/elementDenylist.d.ts +2 -0
- package/es/enhance-user-content/doc_previews.d.ts +10 -0
- package/es/enhance-user-content/enhance_user_content.d.ts +1 -0
- package/es/enhance-user-content/external_links.d.ts +2 -0
- package/es/enhance-user-content/index.d.ts +4 -0
- package/es/enhance-user-content/instructure_helper.d.ts +6 -0
- package/es/enhance-user-content/jqueryish_funcs.d.ts +9 -0
- package/es/enhance-user-content/mathml.d.ts +28 -0
- package/es/enhance-user-content/media_comment_thumbnail.d.ts +1 -0
- package/es/format-message.d.ts +3 -0
- package/es/getThemeVars.d.ts +5 -0
- package/es/getTranslations.d.ts +2 -0
- package/es/index.d.ts +59 -0
- package/es/rce/AlertMessageArea.d.ts +16 -0
- package/es/rce/DraggingBlocker.d.ts +8 -0
- package/es/rce/KeyboardShortcutModal.d.ts +12 -0
- package/es/rce/RCE.d.ts +130 -0
- package/es/rce/RCEGlobals.d.ts +21 -0
- package/es/rce/RCEVariants.d.ts +17 -0
- package/es/rce/RCEWrapper.d.ts +428 -0
- package/es/rce/RCEWrapper.utils.d.ts +24 -0
- package/es/rce/RCEWrapperProps.d.ts +175 -0
- package/es/rce/RceHtmlEditor.d.ts +8 -0
- package/es/rce/ResizeHandle.d.ts +15 -0
- package/es/rce/RestoreAutoSaveModal.d.ts +15 -0
- package/es/rce/ShowOnFocusButton/index.d.ts +22 -0
- package/es/rce/StatusBar.d.ts +38 -0
- package/es/rce/alertHandler.d.ts +19 -0
- package/es/rce/contentInsertion.d.ts +8 -0
- package/es/rce/contentInsertionUtils.d.ts +20 -0
- package/es/rce/contentRendering.d.ts +9 -0
- package/es/rce/customEvents.d.ts +1 -0
- package/es/rce/editorLanguage.d.ts +10 -0
- package/es/rce/indicatorRegion.d.ts +6 -0
- package/es/rce/normalizeLocale.d.ts +1 -0
- package/es/rce/normalizeProps.d.ts +3 -0
- package/es/rce/plugins/instructure-ui-icons/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_color/clickCallback.d.ts +7 -0
- package/es/rce/plugins/instructure_color/components/ColorPicker.d.ts +30 -0
- package/es/rce/plugins/instructure_color/components/ColorPopup.d.ts +12 -0
- package/es/rce/plugins/instructure_color/components/colorUtils.d.ts +4 -0
- package/es/rce/plugins/instructure_color/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_condensed_buttons/core/ListUtils.d.ts +16 -0
- package/es/rce/plugins/instructure_condensed_buttons/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_condensed_buttons/ui/alignment-button.d.ts +2 -0
- package/es/rce/plugins/instructure_condensed_buttons/ui/directionality-button.d.ts +1 -0
- package/es/rce/plugins/instructure_condensed_buttons/ui/indent-outdent-button.d.ts +2 -0
- package/es/rce/plugins/instructure_condensed_buttons/ui/list-button.d.ts +8 -0
- package/es/rce/plugins/instructure_condensed_buttons/ui/subscript-superscript-button.d.ts +2 -0
- package/es/rce/plugins/instructure_documents/clickCallback.d.ts +1 -0
- package/es/rce/plugins/instructure_documents/components/DocumentsPanel.d.ts +18 -0
- package/es/rce/plugins/instructure_documents/components/Link.d.ts +28 -0
- package/es/rce/plugins/instructure_documents/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_equation/EquationEditorModal/advancedOnlySyntax.d.ts +2 -0
- package/es/rce/plugins/instructure_equation/EquationEditorModal/advancedPreference.d.ts +4 -0
- package/es/rce/plugins/instructure_equation/EquationEditorModal/index.d.ts +51 -0
- package/es/rce/plugins/instructure_equation/EquationEditorModal/latexTextareaUtil.d.ts +16 -0
- package/es/rce/plugins/instructure_equation/EquationEditorModal/parseLatex.d.ts +12 -0
- package/es/rce/plugins/instructure_equation/EquationEditorModal/styles.d.ts +6 -0
- package/es/rce/plugins/instructure_equation/EquationEditorToolbar/buttons.d.ts +17 -0
- package/es/rce/plugins/instructure_equation/EquationEditorToolbar/index.d.ts +10 -0
- package/es/rce/plugins/instructure_equation/MathIcon/index.d.ts +10 -0
- package/es/rce/plugins/instructure_equation/MathIcon/svgs.d.ts +216 -0
- package/es/rce/plugins/instructure_equation/clickCallback.d.ts +1 -0
- package/es/rce/plugins/instructure_equation/mathlive/index.d.ts +1 -0
- package/es/rce/plugins/instructure_equation/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_fullscreen/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_html_view/clickCallback.d.ts +1 -0
- package/es/rce/plugins/instructure_html_view/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_icon_maker/clickCallback.d.ts +5 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ColorSection.d.ts +6 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/CreateIconMakerForm.d.ts +10 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Footer.d.ts +11 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Group.d.ts +6 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Header.d.ts +8 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/Course.d.ts +29 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ImageOptions.d.ts +56 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ImageSection.d.ts +20 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/ModeSelect.d.ts +3 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/MultiColor/index.d.ts +23 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/MultiColor/svg.d.ts +91 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SVGList.d.ts +154 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SVGThumbnail.d.ts +28 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SingleColor/index.d.ts +29 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/SingleColor/svg.d.ts +97 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/Upload.d.ts +26 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/index.d.ts +1 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/propTypes.d.ts +21 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/utils.d.ts +5 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/Preview.d.ts +4 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ShapeSection.d.ts +5 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/TextSection.d.ts +5 -0
- package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/index.d.ts +1 -0
- package/es/rce/plugins/instructure_icon_maker/components/IconMakerTray.d.ts +22 -0
- package/es/rce/plugins/instructure_icon_maker/components/SavedIconMakerList.d.ts +30 -0
- package/es/rce/plugins/instructure_icon_maker/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_icon_maker/reducers/imageSection.d.ts +97 -0
- package/es/rce/plugins/instructure_icon_maker/reducers/svgSettings.d.ts +40 -0
- package/es/rce/plugins/instructure_icon_maker/registerEditToolbar.d.ts +3 -0
- package/es/rce/plugins/instructure_icon_maker/svg/clipPath.d.ts +2 -0
- package/es/rce/plugins/instructure_icon_maker/svg/constants.d.ts +66 -0
- package/es/rce/plugins/instructure_icon_maker/svg/font.d.ts +2 -0
- package/es/rce/plugins/instructure_icon_maker/svg/image.d.ts +44 -0
- package/es/rce/plugins/instructure_icon_maker/svg/index.d.ts +9 -0
- package/es/rce/plugins/instructure_icon_maker/svg/metadata.d.ts +2 -0
- package/es/rce/plugins/instructure_icon_maker/svg/settings.d.ts +6 -0
- package/es/rce/plugins/instructure_icon_maker/svg/shape.d.ts +14 -0
- package/es/rce/plugins/instructure_icon_maker/svg/text.d.ts +28 -0
- package/es/rce/plugins/instructure_icon_maker/svg/utils.d.ts +3 -0
- package/es/rce/plugins/instructure_icon_maker/utils/IconMakerClose.d.ts +2 -0
- package/es/rce/plugins/instructure_icon_maker/utils/IconMakerFormHasChanges.d.ts +35 -0
- package/es/rce/plugins/instructure_icon_maker/utils/addIconMakerAttributes.d.ts +4 -0
- package/es/rce/plugins/instructure_icon_maker/utils/iconValidation.d.ts +6 -0
- package/es/rce/plugins/instructure_icon_maker/utils/iconsLabels.d.ts +356 -0
- package/es/rce/plugins/instructure_icon_maker/utils/useDebouncedValue.d.ts +1 -0
- package/es/rce/plugins/instructure_image/ImageEmbedOptions.d.ts +49 -0
- package/es/rce/plugins/instructure_image/ImageList/Image.d.ts +33 -0
- package/es/rce/plugins/instructure_image/ImageList/index.d.ts +33 -0
- package/es/rce/plugins/instructure_image/ImageOptionsTray/TrayController.d.ts +17 -0
- package/es/rce/plugins/instructure_image/ImageOptionsTray/index.d.ts +29 -0
- package/es/rce/plugins/instructure_image/Images/index.d.ts +24 -0
- package/es/rce/plugins/instructure_image/clickCallback.d.ts +1 -0
- package/es/rce/plugins/instructure_image/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_links/clickCallback.d.ts +1 -0
- package/es/rce/plugins/instructure_links/components/AccordionSection.d.ts +18 -0
- package/es/rce/plugins/instructure_links/components/CollectionPanel.d.ts +113 -0
- package/es/rce/plugins/instructure_links/components/Link.d.ts +24 -0
- package/es/rce/plugins/instructure_links/components/LinkOptionsDialog/LinkOptionsDialogController.d.ts +18 -0
- package/es/rce/plugins/instructure_links/components/LinkOptionsDialog/index.d.ts +24 -0
- package/es/rce/plugins/instructure_links/components/LinkOptionsTray/LinkOptionsTrayController.d.ts +14 -0
- package/es/rce/plugins/instructure_links/components/LinkOptionsTray/index.d.ts +18 -0
- package/es/rce/plugins/instructure_links/components/LinkSet.d.ts +46 -0
- package/es/rce/plugins/instructure_links/components/LinksPanel.d.ts +107 -0
- package/es/rce/plugins/instructure_links/components/NavigationPanel.d.ts +17 -0
- package/es/rce/plugins/instructure_links/components/NoResults.d.ts +13 -0
- package/es/rce/plugins/instructure_links/components/propTypes.d.ts +102 -0
- package/es/rce/plugins/instructure_links/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_links/validateURL.d.ts +6 -0
- package/es/rce/plugins/instructure_media_embed/clickCallback.d.ts +1 -0
- package/es/rce/plugins/instructure_media_embed/components/Embed.d.ts +11 -0
- package/es/rce/plugins/instructure_media_embed/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_paste/pasteMenuCommand.d.ts +1 -0
- package/es/rce/plugins/instructure_paste/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_rce_external_tools/ExternalToolsEnv.d.ts +30 -0
- package/es/rce/plugins/instructure_rce_external_tools/RceToolWrapper.d.ts +77 -0
- package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialog.d.ts +45 -0
- package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialogModal.d.ts +8 -0
- package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolDialog/ExternalToolDialogTray.d.ts +14 -0
- package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolSelectionDialog/ExternalToolSelectionDialog.d.ts +18 -0
- package/es/rce/plugins/instructure_rce_external_tools/components/ExternalToolSelectionDialog/ExternalToolSelectionItem.d.ts +12 -0
- package/es/rce/plugins/instructure_rce_external_tools/components/util/ExpandoText.d.ts +7 -0
- package/es/rce/plugins/instructure_rce_external_tools/components/util/ToolLaunchIframe.d.ts +10 -0
- package/es/rce/plugins/instructure_rce_external_tools/constants.d.ts +9 -0
- package/es/rce/plugins/instructure_rce_external_tools/dialog-helper.d.ts +3 -0
- package/es/rce/plugins/instructure_rce_external_tools/helpers/tags.d.ts +18 -0
- package/es/rce/plugins/instructure_rce_external_tools/jquery/jquery.dropdownList.d.ts +27 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti11-content-items/RceLti11ContentItem.d.ts +72 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/Lti13ContentItemJson.d.ts +55 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/RceLti13ContentItem.d.ts +31 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/BaseLinkContentItem.d.ts +19 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/HtmlFragmentContentItem.d.ts +11 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/ImageContentItem.d.ts +17 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/LinkContentItem.d.ts +7 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/models/ResourceLinkContentItem.d.ts +9 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/processEditorContentItems.d.ts +13 -0
- package/es/rce/plugins/instructure_rce_external_tools/lti13-content-items/rceLti13ContentItemFromJson.d.ts +12 -0
- package/es/rce/plugins/instructure_rce_external_tools/plugin.d.ts +9 -0
- package/es/rce/plugins/instructure_rce_external_tools/util/addParentFrameContextToUrl.d.ts +1 -0
- package/es/rce/plugins/instructure_rce_external_tools/util/externalToolsForToolbar.d.ts +2 -0
- package/es/rce/plugins/instructure_record/AudioOptionsTray/TrayController.d.ts +17 -0
- package/es/rce/plugins/instructure_record/AudioOptionsTray/index.d.ts +41 -0
- package/es/rce/plugins/instructure_record/MediaPanel/index.d.ts +18 -0
- package/es/rce/plugins/instructure_record/VideoOptionsTray/TrayController.d.ts +27 -0
- package/es/rce/plugins/instructure_record/VideoOptionsTray/index.d.ts +45 -0
- package/es/rce/plugins/instructure_record/clickCallback.d.ts +2 -0
- package/es/rce/plugins/instructure_record/mediaTranslations.d.ts +69 -0
- package/es/rce/plugins/instructure_record/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_search_and_replace/clickCallback.d.ts +2 -0
- package/es/rce/plugins/instructure_search_and_replace/components/FindReplaceTray.d.ts +14 -0
- package/es/rce/plugins/instructure_search_and_replace/components/FindReplaceTrayController.d.ts +12 -0
- package/es/rce/plugins/instructure_search_and_replace/getSelectionContext.d.ts +1 -0
- package/es/rce/plugins/instructure_search_and_replace/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_studio_media_options/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_wordcount/clickCallback.d.ts +6 -0
- package/es/rce/plugins/instructure_wordcount/components/WordCountModal.d.ts +8 -0
- package/es/rce/plugins/instructure_wordcount/plugin.d.ts +1 -0
- package/es/rce/plugins/instructure_wordcount/utils/countContent.d.ts +11 -0
- package/es/rce/plugins/instructure_wordcount/utils/tableContent.d.ts +12 -0
- package/es/rce/plugins/shared/CanvasContentTray.d.ts +66 -0
- package/es/rce/plugins/shared/CheckerboardStyling.d.ts +5 -0
- package/es/rce/plugins/shared/ColorInput.d.ts +11 -0
- package/es/rce/plugins/shared/ConditionalTooltip.d.ts +12 -0
- package/es/rce/plugins/shared/ContentSelection.d.ts +75 -0
- package/es/rce/plugins/shared/DimensionUtils.d.ts +14 -0
- package/es/rce/plugins/shared/DimensionsInput/DimensionInput.d.ts +13 -0
- package/es/rce/plugins/shared/DimensionsInput/index.d.ts +36 -0
- package/es/rce/plugins/shared/DimensionsInput/useDimensionsState.d.ts +25 -0
- package/es/rce/plugins/shared/ErrorBoundary.d.ts +16 -0
- package/es/rce/plugins/shared/EventUtils.d.ts +8 -0
- package/es/rce/plugins/shared/Filter.d.ts +18 -0
- package/es/rce/plugins/shared/FixedContentTray.d.ts +46 -0
- package/es/rce/plugins/shared/ImageCropper/DirectionRegion.d.ts +13 -0
- package/es/rce/plugins/shared/ImageCropper/Modal.d.ts +40 -0
- package/es/rce/plugins/shared/ImageCropper/Preview.d.ts +21 -0
- package/es/rce/plugins/shared/ImageCropper/constants.d.ts +22 -0
- package/es/rce/plugins/shared/ImageCropper/controls/CustomNumberInput.d.ts +30 -0
- package/es/rce/plugins/shared/ImageCropper/controls/ResetControls.d.ts +14 -0
- package/es/rce/plugins/shared/ImageCropper/controls/RotationControls.d.ts +18 -0
- package/es/rce/plugins/shared/ImageCropper/controls/ShapeControls.d.ts +12 -0
- package/es/rce/plugins/shared/ImageCropper/controls/ZoomControls.d.ts +18 -0
- package/es/rce/plugins/shared/ImageCropper/controls/index.d.ts +5 -0
- package/es/rce/plugins/shared/ImageCropper/controls/useDebouncedNumericValue.d.ts +7 -0
- package/es/rce/plugins/shared/ImageCropper/controls/utils.d.ts +4 -0
- package/es/rce/plugins/shared/ImageCropper/imageCropUtils.d.ts +8 -0
- package/es/rce/plugins/shared/ImageCropper/index.d.ts +1 -0
- package/es/rce/plugins/shared/ImageCropper/propTypes.d.ts +9 -0
- package/es/rce/plugins/shared/ImageCropper/reducers/imageCropper.d.ts +18 -0
- package/es/rce/plugins/shared/ImageCropper/shape.d.ts +10 -0
- package/es/rce/plugins/shared/ImageCropper/svg/index.d.ts +1 -0
- package/es/rce/plugins/shared/ImageCropper/svg/shape.d.ts +4 -0
- package/es/rce/plugins/shared/ImageCropper/svg/utils.d.ts +1 -0
- package/es/rce/plugins/shared/ImageCropper/useKeyMouseEvents.d.ts +1 -0
- package/es/rce/plugins/shared/ImageCropper/useMouseWheel.d.ts +1 -0
- package/es/rce/plugins/shared/ImageOptionsForm.d.ts +19 -0
- package/es/rce/plugins/shared/LinkDisplay.d.ts +9 -0
- package/es/rce/plugins/shared/PreviewIcon.d.ts +50 -0
- package/es/rce/plugins/shared/Previewable.d.ts +2 -0
- package/es/rce/plugins/shared/RceFileBrowser.d.ts +19 -0
- package/es/rce/plugins/shared/StoreContext.d.ts +15 -0
- package/es/rce/plugins/shared/StudioLtiSupportUtils.d.ts +37 -0
- package/es/rce/plugins/shared/UnknownFileTypePanel.d.ts +2 -0
- package/es/rce/plugins/shared/Upload/CanvasContentPanel.d.ts +29 -0
- package/es/rce/plugins/shared/Upload/CategoryProcessor.d.ts +3 -0
- package/es/rce/plugins/shared/Upload/ComputerPanel.d.ts +32 -0
- package/es/rce/plugins/shared/Upload/PanelFilter.d.ts +10 -0
- package/es/rce/plugins/shared/Upload/SvgCategoryProcessor.d.ts +4 -0
- package/es/rce/plugins/shared/Upload/UploadFile.d.ts +24 -0
- package/es/rce/plugins/shared/Upload/UploadFileModal.d.ts +3 -0
- package/es/rce/plugins/shared/Upload/UrlPanel.d.ts +12 -0
- package/es/rce/plugins/shared/Upload/UsageRightsSelectBox.d.ts +23 -0
- package/es/rce/plugins/shared/Upload/doFileUpload.d.ts +17 -0
- package/es/rce/plugins/shared/Upload/index.d.ts +2 -0
- package/es/rce/plugins/shared/ai_tools/AIResponseModal.d.ts +10 -0
- package/es/rce/plugins/shared/ai_tools/AIToolsTray.d.ts +18 -0
- package/es/rce/plugins/shared/ai_tools/aiicons.d.ts +7 -0
- package/es/rce/plugins/shared/ai_tools/index.d.ts +3 -0
- package/es/rce/plugins/shared/buildDownloadUrl.d.ts +1 -0
- package/es/rce/plugins/shared/canvasContentUtils.d.ts +138 -0
- package/es/rce/plugins/shared/compressionUtils.d.ts +11 -0
- package/es/rce/plugins/shared/dateUtils.d.ts +1 -0
- package/es/rce/plugins/shared/do-fetch-api-effect/defaultFetchOptions.d.ts +4 -0
- package/es/rce/plugins/shared/do-fetch-api-effect/doFetchApi.d.ts +22 -0
- package/es/rce/plugins/shared/do-fetch-api-effect/get-cookie.d.ts +7 -0
- package/es/rce/plugins/shared/do-fetch-api-effect/index.d.ts +7 -0
- package/es/rce/plugins/shared/do-fetch-api-effect/parse-link-header.d.ts +12 -0
- package/es/rce/plugins/shared/do-fetch-api-effect/query-string-encoding.d.ts +6 -0
- package/es/rce/plugins/shared/fileShape.d.ts +116 -0
- package/es/rce/plugins/shared/fileTypeUtils.d.ts +28 -0
- package/es/rce/plugins/shared/fileUtils.d.ts +1 -0
- package/es/rce/plugins/shared/linkUtils.d.ts +5 -0
- package/es/rce/plugins/shared/round.d.ts +1 -0
- package/es/rce/plugins/shared/trayUtils.d.ts +3 -0
- package/es/rce/plugins/shared/useDataUrl.d.ts +8 -0
- package/es/rce/plugins/shared/useFilterSettings.d.ts +10 -0
- package/es/rce/plugins/tinymce-a11y-checker/components/ColorField.d.ts +33 -0
- package/es/rce/plugins/tinymce-a11y-checker/components/checker.d.ts +53 -0
- package/es/rce/plugins/tinymce-a11y-checker/components/color-picker.d.ts +2 -0
- package/es/rce/plugins/tinymce-a11y-checker/components/placeholder-svg.d.ts +2 -0
- package/es/rce/plugins/tinymce-a11y-checker/components/pointer.d.ts +2 -0
- package/es/rce/plugins/tinymce-a11y-checker/node-checker.d.ts +1 -0
- package/es/rce/plugins/tinymce-a11y-checker/plugin.d.ts +2 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/adjacent-links.d.ts +19 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/headings-sequence.d.ts +18 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/headings-start-at-h2.d.ts +28 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/img-alt-filename.d.ts +25 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/img-alt-length.d.ts +18 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/img-alt.d.ts +25 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/index.d.ts +198 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/large-text-contrast.d.ts +19 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/list-structure.d.ts +20 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/paragraphs-for-headings.d.ts +18 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/small-text-contrast.d.ts +19 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/table-caption.d.ts +17 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/table-header-scope.d.ts +18 -0
- package/es/rce/plugins/tinymce-a11y-checker/rules/table-header.d.ts +18 -0
- package/es/rce/plugins/tinymce-a11y-checker/utils/colors.d.ts +10 -0
- package/es/rce/plugins/tinymce-a11y-checker/utils/describe.d.ts +1 -0
- package/es/rce/plugins/tinymce-a11y-checker/utils/dom.d.ts +11 -0
- package/es/rce/plugins/tinymce-a11y-checker/utils/indicate.d.ts +7 -0
- package/es/rce/plugins/tinymce-a11y-checker/utils/rgb-hex.d.ts +2 -0
- package/es/rce/plugins/tinymce-a11y-checker/utils/strings.d.ts +2 -0
- package/es/rce/root.d.ts +3 -0
- package/es/rce/sanitizePlugins.d.ts +1 -0
- package/es/rce/style.d.ts +64 -0
- package/es/rce/tinyRCE.d.ts +2 -0
- package/es/rce/tinymce.oxide.content.min.css.d.ts +2 -0
- package/es/rce/tinymce.oxide.skin.min.css.d.ts +2 -0
- package/es/rce/transformContent.d.ts +13 -0
- package/es/rce/types.d.ts +96 -0
- package/es/rce/userOS.d.ts +4 -0
- package/es/rce/wrapInitCb.d.ts +2 -0
- package/es/rcs/api.d.ts +117 -0
- package/es/rcs/buildError.d.ts +4 -0
- package/es/rcs/fake.d.ts +111 -0
- package/es/sidebar/actions/all_files.d.ts +5 -0
- package/es/sidebar/actions/data.d.ts +29 -0
- package/es/sidebar/actions/documents.d.ts +42 -0
- package/es/sidebar/actions/files.d.ts +66 -0
- package/es/sidebar/actions/filter.d.ts +25 -0
- package/es/sidebar/actions/flickr.d.ts +20 -0
- package/es/sidebar/actions/images.d.ts +63 -0
- package/es/sidebar/actions/links.d.ts +4 -0
- package/es/sidebar/actions/media.d.ts +46 -0
- package/es/sidebar/actions/session.d.ts +2 -0
- package/es/sidebar/actions/ui.d.ts +22 -0
- package/es/sidebar/actions/upload.d.ts +114 -0
- package/es/sidebar/containers/Sidebar.d.ts +1 -0
- package/es/sidebar/containers/sidebarHandlers.d.ts +33 -0
- package/es/sidebar/dragHtml.d.ts +1 -0
- package/es/sidebar/reducers/all_files.d.ts +1 -0
- package/es/sidebar/reducers/collection.d.ts +1 -0
- package/es/sidebar/reducers/collections.d.ts +9 -0
- package/es/sidebar/reducers/documents.d.ts +1 -0
- package/es/sidebar/reducers/files.d.ts +1 -0
- package/es/sidebar/reducers/filter.d.ts +7 -0
- package/es/sidebar/reducers/flickr.d.ts +1 -0
- package/es/sidebar/reducers/folder.d.ts +25 -0
- package/es/sidebar/reducers/folders.d.ts +1 -0
- package/es/sidebar/reducers/images.d.ts +1 -0
- package/es/sidebar/reducers/index.d.ts +44 -0
- package/es/sidebar/reducers/media.d.ts +1 -0
- package/es/sidebar/reducers/newPageLinkExpanded.d.ts +1 -0
- package/es/sidebar/reducers/noop.d.ts +1 -0
- package/es/sidebar/reducers/rootFolderId.d.ts +1 -0
- package/es/sidebar/reducers/session.d.ts +1 -0
- package/es/sidebar/reducers/ui.d.ts +6 -0
- package/es/sidebar/reducers/upload.d.ts +11 -0
- package/es/sidebar/store/configureStore.d.ts +3 -0
- package/es/sidebar/store/initialState.d.ts +22 -0
- package/es/translations/locales/ab.d.ts +1 -0
- package/es/translations/locales/ar.d.ts +1 -0
- package/es/translations/locales/ca.d.ts +1 -0
- package/es/translations/locales/cs.d.ts +1 -0
- package/es/translations/locales/cs_CZ.d.ts +1 -0
- package/es/translations/locales/cy.d.ts +1 -0
- package/es/translations/locales/da-x-k12.d.ts +1 -0
- package/es/translations/locales/da.d.ts +1 -0
- package/es/translations/locales/da_DK.d.ts +1 -0
- package/es/translations/locales/de.d.ts +1 -0
- package/es/translations/locales/el.d.ts +1 -0
- package/es/translations/locales/en-AU-x-unimelb.d.ts +1 -0
- package/es/translations/locales/en-GB-x-ukhe.d.ts +1 -0
- package/es/translations/locales/en.d.ts +1 -0
- package/es/translations/locales/en_AU.d.ts +1 -0
- package/es/translations/locales/en_CA.d.ts +1 -0
- package/es/translations/locales/en_CY.d.ts +1 -0
- package/es/translations/locales/en_GB.d.ts +1 -0
- package/es/translations/locales/en_NZ.d.ts +1 -0
- package/es/translations/locales/en_SE.d.ts +1 -0
- package/es/translations/locales/en_US.d.ts +1 -0
- package/es/translations/locales/es.d.ts +1 -0
- package/es/translations/locales/es_ES.d.ts +1 -0
- package/es/translations/locales/es_GT.d.ts +1 -0
- package/es/translations/locales/fa_IR.d.ts +1 -0
- package/es/translations/locales/fi.d.ts +1 -0
- package/es/translations/locales/fr.d.ts +1 -0
- package/es/translations/locales/fr_CA.d.ts +1 -0
- package/es/translations/locales/ga.d.ts +1 -0
- package/es/translations/locales/he.d.ts +1 -0
- package/es/translations/locales/hi.d.ts +1 -0
- package/es/translations/locales/ht.d.ts +1 -0
- package/es/translations/locales/hu.d.ts +1 -0
- package/es/translations/locales/hu_HU.d.ts +1 -0
- package/es/translations/locales/hy.d.ts +1 -0
- package/es/translations/locales/id.d.ts +1 -0
- package/es/translations/locales/id_ID.d.ts +1 -0
- package/es/translations/locales/is.d.ts +1 -0
- package/es/translations/locales/it.d.ts +1 -0
- package/es/translations/locales/ja.d.ts +1 -0
- package/es/translations/locales/ko.d.ts +1 -0
- package/es/translations/locales/ko_KR.d.ts +1 -0
- package/es/translations/locales/lt.d.ts +1 -0
- package/es/translations/locales/lt_LT.d.ts +1 -0
- package/es/translations/locales/mi.d.ts +1 -0
- package/es/translations/locales/mn_MN.d.ts +1 -0
- package/es/translations/locales/ms.d.ts +1 -0
- package/es/translations/locales/nb-x-k12.d.ts +1 -0
- package/es/translations/locales/nb.d.ts +1 -0
- package/es/translations/locales/nl.d.ts +1 -0
- package/es/translations/locales/nl_NL.d.ts +1 -0
- package/es/translations/locales/nn.d.ts +1 -0
- package/es/translations/locales/pl.d.ts +1 -0
- package/es/translations/locales/pt.d.ts +1 -0
- package/es/translations/locales/pt_BR.d.ts +1 -0
- package/es/translations/locales/ro.d.ts +1 -0
- package/es/translations/locales/ru.d.ts +1 -0
- package/es/translations/locales/se.d.ts +1 -0
- package/es/translations/locales/sl.d.ts +1 -0
- package/es/translations/locales/sv-x-k12.d.ts +1 -0
- package/es/translations/locales/sv.d.ts +1 -0
- package/es/translations/locales/sv_SE.d.ts +1 -0
- package/es/translations/locales/tg.d.ts +1 -0
- package/es/translations/locales/th.d.ts +1 -0
- package/es/translations/locales/th_TH.d.ts +1 -0
- package/es/translations/locales/tl_PH.d.ts +1 -0
- package/es/translations/locales/tr.d.ts +1 -0
- package/es/translations/locales/uk_UA.d.ts +1 -0
- package/es/translations/locales/vi.d.ts +1 -0
- package/es/translations/locales/vi_VN.d.ts +1 -0
- package/es/translations/locales/zh-Hans.d.ts +1 -0
- package/es/translations/locales/zh-Hant.d.ts +1 -0
- package/es/translations/locales/zh.d.ts +1 -0
- package/es/translations/locales/zh_HK.d.ts +1 -0
- package/es/translations/locales/zh_TW.Big5.d.ts +1 -0
- package/es/translations/locales/zh_TW.d.ts +1 -0
- package/es/translations/tinymce/ar_SA.d.ts +0 -0
- package/es/translations/tinymce/bg_BG.d.ts +0 -0
- package/es/translations/tinymce/ca.d.ts +0 -0
- package/es/translations/tinymce/cs.d.ts +0 -0
- package/es/translations/tinymce/cy.d.ts +0 -0
- package/es/translations/tinymce/da.d.ts +0 -0
- package/es/translations/tinymce/de.d.ts +0 -0
- package/es/translations/tinymce/el.d.ts +0 -0
- package/es/translations/tinymce/en_GB.d.ts +0 -0
- package/es/translations/tinymce/es.d.ts +0 -0
- package/es/translations/tinymce/fa_IR.d.ts +0 -0
- package/es/translations/tinymce/fi.d.ts +0 -0
- package/es/translations/tinymce/fr_FR.d.ts +0 -0
- package/es/translations/tinymce/ga.d.ts +0 -0
- package/es/translations/tinymce/he_IL.d.ts +0 -0
- package/es/translations/tinymce/hu_HU.d.ts +0 -0
- package/es/translations/tinymce/hy.d.ts +0 -0
- package/es/translations/tinymce/id.d.ts +0 -0
- package/es/translations/tinymce/it.d.ts +0 -0
- package/es/translations/tinymce/ja.d.ts +0 -0
- package/es/translations/tinymce/ko_KR.d.ts +0 -0
- package/es/translations/tinymce/nb_NO.d.ts +0 -0
- package/es/translations/tinymce/nl.d.ts +0 -0
- package/es/translations/tinymce/pl.d.ts +0 -0
- package/es/translations/tinymce/pt_BR.d.ts +0 -0
- package/es/translations/tinymce/pt_PT.d.ts +0 -0
- package/es/translations/tinymce/ro.d.ts +0 -0
- package/es/translations/tinymce/ru.d.ts +0 -0
- package/es/translations/tinymce/ru_RU.d.ts +0 -0
- package/es/translations/tinymce/sl.d.ts +0 -0
- package/es/translations/tinymce/sr.d.ts +0 -0
- package/es/translations/tinymce/sv_SE.d.ts +0 -0
- package/es/translations/tinymce/th.d.ts +0 -0
- package/es/translations/tinymce/tr_TR.d.ts +0 -0
- package/es/translations/tinymce/uk_UA.d.ts +0 -0
- package/es/translations/tinymce/vi_VN.d.ts +0 -0
- package/es/translations/tinymce/zh_CN.d.ts +0 -0
- package/es/translations/tinymce/zh_TW.d.ts +0 -0
- package/es/util/DeepPartialNullable.d.ts +15 -0
- package/es/util/ExtractRequired.d.ts +42 -0
- package/es/util/TypedDict.d.ts +99 -0
- package/es/util/assertNever.d.ts +24 -0
- package/es/util/elem-util.d.ts +6 -0
- package/es/util/encrypted-storage.d.ts +9 -0
- package/es/util/file-url-util.d.ts +1 -0
- package/es/util/fullscreenHelpers.d.ts +6 -0
- package/es/util/instui-icon-helper.d.ts +19 -0
- package/es/util/loadingPlaceholder.d.ts +39 -0
- package/es/util/simpleCache.d.ts +11 -0
- package/es/util/string-util.d.ts +20 -0
- package/es/util/textarea-editing-util.d.ts +35 -0
- package/es/util/tinymce-plugin-util.d.ts +16 -0
- package/es/util/url-util.d.ts +32 -0
- package/package.json +2 -3
- package/tsconfig.tsbuildinfo +1 -0
- package/scripts/build.js +0 -40
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
export default class Bridge {
|
|
2
|
+
focusedEditor: any;
|
|
3
|
+
resolveEditorRendered: ((value: any) => void) | null;
|
|
4
|
+
_editorRendered: Promise<any>;
|
|
5
|
+
trayProps: WeakMap<WeakKey, any>;
|
|
6
|
+
userLocale: string;
|
|
7
|
+
_controller: {};
|
|
8
|
+
_uploadMediaTranslations: {
|
|
9
|
+
UploadMediaStrings: {
|
|
10
|
+
ADD_CLOSED_CAPTIONS_OR_SUBTITLES: string;
|
|
11
|
+
CLEAR_FILE_TEXT: string;
|
|
12
|
+
CLOSE_TEXT: string;
|
|
13
|
+
CLOSED_CAPTIONS_CHOOSE_FILE: string;
|
|
14
|
+
CLOSED_CAPTIONS_SELECT_LANGUAGE: string;
|
|
15
|
+
COMPUTER_PANEL_TITLE: string;
|
|
16
|
+
DRAG_DROP_CLICK_TO_BROWSE: string;
|
|
17
|
+
DRAG_FILE_TEXT: string;
|
|
18
|
+
EMBED_PANEL_TITLE: string;
|
|
19
|
+
EMBED_VIDEO_CODE_TEXT: string;
|
|
20
|
+
INVALID_FILE_TEXT: string;
|
|
21
|
+
LOADING_MEDIA: string;
|
|
22
|
+
RECORD_PANEL_TITLE: string;
|
|
23
|
+
SUBMIT_TEXT: string;
|
|
24
|
+
UPLOADING_ERROR: string;
|
|
25
|
+
UPLOAD_MEDIA_LABEL: string;
|
|
26
|
+
MEDIA_RECORD_NOT_AVAILABLE: string;
|
|
27
|
+
SUPPORTED_FILE_TYPES: string;
|
|
28
|
+
NO_FILE_CHOSEN: string;
|
|
29
|
+
REMOVE_FILE: string;
|
|
30
|
+
ADD_NEW_CAPTION_OR_SUBTITLE: string;
|
|
31
|
+
ADDED_CAPTION: string;
|
|
32
|
+
DELETED_CAPTION: string;
|
|
33
|
+
PROGRESS_LABEL: string;
|
|
34
|
+
};
|
|
35
|
+
SelectStrings: {
|
|
36
|
+
USE_ARROWS: string;
|
|
37
|
+
LIST_COLLAPSED: string;
|
|
38
|
+
LIST_EXPANDED: string;
|
|
39
|
+
OPTION_SELECTED: string;
|
|
40
|
+
};
|
|
41
|
+
MediaCaptureStrings: {
|
|
42
|
+
ARIA_TIMEBAR_LABEL: string;
|
|
43
|
+
ARIA_VIDEO_LABEL: string;
|
|
44
|
+
ARIA_VOLUME: string;
|
|
45
|
+
ARIA_RECORDING: string;
|
|
46
|
+
DEFAULT_ERROR: string;
|
|
47
|
+
DEVICE_AUDIO: string;
|
|
48
|
+
DEVICE_VIDEO: string;
|
|
49
|
+
FILE_PLACEHOLDER: string;
|
|
50
|
+
FINISH: string;
|
|
51
|
+
WEBCAM_VIDEO_SELECTION_LABEL: string;
|
|
52
|
+
WEBCAM_AUDIO_SELECTION_LABEL: string;
|
|
53
|
+
NO_WEBCAM: string;
|
|
54
|
+
NOT_ALLOWED_ERROR: string;
|
|
55
|
+
NOT_READABLE_ERROR: string;
|
|
56
|
+
PLAYBACK_PAUSE: string;
|
|
57
|
+
PLAYBACK_PLAY: string;
|
|
58
|
+
PREVIEW: string;
|
|
59
|
+
SAVE_MEDIA: string;
|
|
60
|
+
SR_FILE_INPUT: string;
|
|
61
|
+
START: string;
|
|
62
|
+
START_OVER: string;
|
|
63
|
+
SCREEN_DEFAULT_ERROR: string;
|
|
64
|
+
MIC_BLOCKED: string;
|
|
65
|
+
WEBCAM_BLOCKED: string;
|
|
66
|
+
MIC_AND_WEBCAM_BLOCKED: string;
|
|
67
|
+
NO_MIC_EXIST: string;
|
|
68
|
+
NO_WEBCAM_EXIST: string;
|
|
69
|
+
NO_MIC_AND_WEBCAM_EXIST: string;
|
|
70
|
+
WEBCAM_DISABLED: string;
|
|
71
|
+
MICROPHONE_DISABLED: string;
|
|
72
|
+
SYSTEM_AUDIO_ALLOWED: string;
|
|
73
|
+
SYSTEM_AUDIO_DISABLED: string;
|
|
74
|
+
};
|
|
75
|
+
} | null;
|
|
76
|
+
_canvasOrigin: string;
|
|
77
|
+
get editorRendered(): Promise<any>;
|
|
78
|
+
controller(editorId: any): any;
|
|
79
|
+
activeEditor(): any;
|
|
80
|
+
focusEditor(editor: any): void;
|
|
81
|
+
blurEditor(editor: any): void;
|
|
82
|
+
focusActiveEditor(skipFocus?: boolean): void;
|
|
83
|
+
get mediaServerSession(): any;
|
|
84
|
+
get mediaServerUploader(): K5Uploader | null | undefined;
|
|
85
|
+
setMediaServerSession(session: any): void;
|
|
86
|
+
_mediaServerSession: any;
|
|
87
|
+
_mediaServerUploader: K5Uploader | null | undefined;
|
|
88
|
+
set canvasOrigin(origin: string);
|
|
89
|
+
get canvasOrigin(): string;
|
|
90
|
+
get uploadMediaTranslations(): {
|
|
91
|
+
UploadMediaStrings: {
|
|
92
|
+
ADD_CLOSED_CAPTIONS_OR_SUBTITLES: string;
|
|
93
|
+
CLEAR_FILE_TEXT: string;
|
|
94
|
+
CLOSE_TEXT: string;
|
|
95
|
+
CLOSED_CAPTIONS_CHOOSE_FILE: string;
|
|
96
|
+
CLOSED_CAPTIONS_SELECT_LANGUAGE: string;
|
|
97
|
+
COMPUTER_PANEL_TITLE: string;
|
|
98
|
+
DRAG_DROP_CLICK_TO_BROWSE: string;
|
|
99
|
+
DRAG_FILE_TEXT: string;
|
|
100
|
+
EMBED_PANEL_TITLE: string;
|
|
101
|
+
EMBED_VIDEO_CODE_TEXT: string;
|
|
102
|
+
INVALID_FILE_TEXT: string;
|
|
103
|
+
LOADING_MEDIA: string;
|
|
104
|
+
RECORD_PANEL_TITLE: string;
|
|
105
|
+
SUBMIT_TEXT: string;
|
|
106
|
+
UPLOADING_ERROR: string;
|
|
107
|
+
UPLOAD_MEDIA_LABEL: string;
|
|
108
|
+
MEDIA_RECORD_NOT_AVAILABLE: string;
|
|
109
|
+
SUPPORTED_FILE_TYPES: string;
|
|
110
|
+
NO_FILE_CHOSEN: string;
|
|
111
|
+
REMOVE_FILE: string;
|
|
112
|
+
ADD_NEW_CAPTION_OR_SUBTITLE: string;
|
|
113
|
+
ADDED_CAPTION: string;
|
|
114
|
+
DELETED_CAPTION: string;
|
|
115
|
+
PROGRESS_LABEL: string;
|
|
116
|
+
};
|
|
117
|
+
SelectStrings: {
|
|
118
|
+
USE_ARROWS: string;
|
|
119
|
+
LIST_COLLAPSED: string;
|
|
120
|
+
LIST_EXPANDED: string;
|
|
121
|
+
OPTION_SELECTED: string;
|
|
122
|
+
};
|
|
123
|
+
MediaCaptureStrings: {
|
|
124
|
+
ARIA_TIMEBAR_LABEL: string;
|
|
125
|
+
ARIA_VIDEO_LABEL: string;
|
|
126
|
+
ARIA_VOLUME: string;
|
|
127
|
+
ARIA_RECORDING: string;
|
|
128
|
+
DEFAULT_ERROR: string;
|
|
129
|
+
DEVICE_AUDIO: string;
|
|
130
|
+
DEVICE_VIDEO: string;
|
|
131
|
+
FILE_PLACEHOLDER: string;
|
|
132
|
+
FINISH: string;
|
|
133
|
+
WEBCAM_VIDEO_SELECTION_LABEL: string;
|
|
134
|
+
WEBCAM_AUDIO_SELECTION_LABEL: string;
|
|
135
|
+
NO_WEBCAM: string;
|
|
136
|
+
NOT_ALLOWED_ERROR: string;
|
|
137
|
+
NOT_READABLE_ERROR: string;
|
|
138
|
+
PLAYBACK_PAUSE: string;
|
|
139
|
+
PLAYBACK_PLAY: string;
|
|
140
|
+
PREVIEW: string;
|
|
141
|
+
SAVE_MEDIA: string;
|
|
142
|
+
SR_FILE_INPUT: string;
|
|
143
|
+
START: string;
|
|
144
|
+
START_OVER: string;
|
|
145
|
+
SCREEN_DEFAULT_ERROR: string;
|
|
146
|
+
MIC_BLOCKED: string;
|
|
147
|
+
WEBCAM_BLOCKED: string;
|
|
148
|
+
MIC_AND_WEBCAM_BLOCKED: string;
|
|
149
|
+
NO_MIC_EXIST: string;
|
|
150
|
+
NO_WEBCAM_EXIST: string;
|
|
151
|
+
NO_MIC_AND_WEBCAM_EXIST: string;
|
|
152
|
+
WEBCAM_DISABLED: string;
|
|
153
|
+
MICROPHONE_DISABLED: string;
|
|
154
|
+
SYSTEM_AUDIO_ALLOWED: string;
|
|
155
|
+
SYSTEM_AUDIO_DISABLED: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
detachEditor(editor: any): void;
|
|
159
|
+
getEditor(): any;
|
|
160
|
+
renderEditor(editor: any): void;
|
|
161
|
+
attachController(controller: any, editorId: any): void;
|
|
162
|
+
detachController(editorId: any): void;
|
|
163
|
+
showTrayForPlugin(plugin: any, editorId: any): void;
|
|
164
|
+
hideTrays(): void;
|
|
165
|
+
existingContentToLink(): any;
|
|
166
|
+
existingContentToLinkIsImg(): any;
|
|
167
|
+
insertLink: (link: any) => void;
|
|
168
|
+
insertFileLink: (link: any) => any;
|
|
169
|
+
insertImage(image: any): any;
|
|
170
|
+
insertImagePlaceholder(fileMetaProps: any): void;
|
|
171
|
+
removePlaceholders(name: any): void;
|
|
172
|
+
showError(err: any): void;
|
|
173
|
+
embedImage: (image: any) => void;
|
|
174
|
+
embedMedia: (media: any) => void;
|
|
175
|
+
insertEmbedCode: (embedCode: any) => void;
|
|
176
|
+
insertVideo: (video: any) => void;
|
|
177
|
+
insertAudio: (audio: any) => void;
|
|
178
|
+
}
|
|
179
|
+
import { K5Uploader } from '@instructure/k5uploader';
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export const PENDING_MEDIA_ENTRY_ID: "maybe";
|
|
2
|
+
export default FileBrowser;
|
|
3
|
+
declare class FileBrowser extends React.Component<any, any, any> {
|
|
4
|
+
static propTypes: {
|
|
5
|
+
allowUpload: PropTypes.Requireable<boolean>;
|
|
6
|
+
selectFile: PropTypes.Validator<(...args: any[]) => any>;
|
|
7
|
+
contentTypes: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
8
|
+
useContextAssets: PropTypes.Requireable<boolean>;
|
|
9
|
+
searchString: PropTypes.Requireable<string>;
|
|
10
|
+
onLoading: PropTypes.Validator<(...args: any[]) => any>;
|
|
11
|
+
context: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
12
|
+
type: PropTypes.Validator<string>;
|
|
13
|
+
id: PropTypes.Validator<string>;
|
|
14
|
+
}>>>;
|
|
15
|
+
};
|
|
16
|
+
static defaultProps: {
|
|
17
|
+
allowUpload: boolean;
|
|
18
|
+
contentTypes: string[];
|
|
19
|
+
useContextAssets: boolean;
|
|
20
|
+
};
|
|
21
|
+
constructor(props: any);
|
|
22
|
+
state: {
|
|
23
|
+
collections: {
|
|
24
|
+
0: {
|
|
25
|
+
id: number;
|
|
26
|
+
collections: never[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
items: {};
|
|
30
|
+
openFolders: never[];
|
|
31
|
+
loadingCount: number;
|
|
32
|
+
};
|
|
33
|
+
source: any;
|
|
34
|
+
updatePropsWithThumbnailOrIcon(props: any): any;
|
|
35
|
+
componentDidMount(): void;
|
|
36
|
+
componentDidUpdate(): void;
|
|
37
|
+
getContextName(contextType: any): string;
|
|
38
|
+
getRootFolders(): void;
|
|
39
|
+
getUserFolders(): void;
|
|
40
|
+
getContextFolders(): void;
|
|
41
|
+
increaseLoadingCount(): void;
|
|
42
|
+
decreaseLoadingCount(): void;
|
|
43
|
+
getRootFolderData(context: any, contextId: any, opts?: {}): void;
|
|
44
|
+
populateRootFolder(data: any, opts?: {}): void;
|
|
45
|
+
fetchSubFolders: ((id: any) => void) & _.MemoizedFunction;
|
|
46
|
+
fetchFiles(id: any): void;
|
|
47
|
+
getFolderData(id: any): void;
|
|
48
|
+
populateCollectionsList: (folderList: any, opts?: {}) => void;
|
|
49
|
+
contentTypeIsAllowed(contentType: any): boolean;
|
|
50
|
+
populateItemsList: (fileList: any) => void;
|
|
51
|
+
formatFolderInfo(apiFolder: any, opts?: {}): {
|
|
52
|
+
api: any;
|
|
53
|
+
id: any;
|
|
54
|
+
collections: never[];
|
|
55
|
+
items: never[];
|
|
56
|
+
name: any;
|
|
57
|
+
context: string;
|
|
58
|
+
canUpload: any;
|
|
59
|
+
locked: any;
|
|
60
|
+
descriptor: string | null;
|
|
61
|
+
};
|
|
62
|
+
formatFileInfo(apiFile: any, opts?: {}): {
|
|
63
|
+
api: any;
|
|
64
|
+
id: any;
|
|
65
|
+
name: any;
|
|
66
|
+
isDisabled: boolean;
|
|
67
|
+
src: string;
|
|
68
|
+
alt: any;
|
|
69
|
+
};
|
|
70
|
+
orderedIdsFromList(list: any, ids: any): any;
|
|
71
|
+
onFolderToggle: (folder: any) => void;
|
|
72
|
+
onFileClick: (file: any) => void;
|
|
73
|
+
findFolderForFile(file: any): any;
|
|
74
|
+
setFailureMessage: (message: any) => void;
|
|
75
|
+
renderLoading(): React.JSX.Element | null;
|
|
76
|
+
render(): React.JSX.Element;
|
|
77
|
+
}
|
|
78
|
+
import React from 'react';
|
|
79
|
+
import _ from 'lodash';
|
|
80
|
+
import PropTypes from 'prop-types';
|
|
File without changes
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export function showFlashAlert({ message, err, type, srOnly }: {
|
|
2
|
+
message: any;
|
|
3
|
+
err: any;
|
|
4
|
+
type?: string | undefined;
|
|
5
|
+
srOnly?: boolean | undefined;
|
|
6
|
+
}): void;
|
|
7
|
+
export function destroyContainer(): void;
|
|
8
|
+
export function showFlashError(message?: string): (err: any) => void;
|
|
9
|
+
export function showFlashSuccess(message: any): () => void;
|
|
10
|
+
export default class FlashAlert extends React.Component<any, any, any> {
|
|
11
|
+
static propTypes: {
|
|
12
|
+
onClose: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
|
+
message: PropTypes.Validator<string>;
|
|
14
|
+
error: PropTypes.Requireable<Error>;
|
|
15
|
+
variant: PropTypes.Requireable<string>;
|
|
16
|
+
timeout: PropTypes.Requireable<number>;
|
|
17
|
+
screenReaderOnly: PropTypes.Requireable<boolean>;
|
|
18
|
+
};
|
|
19
|
+
static defaultProps: {
|
|
20
|
+
error: null;
|
|
21
|
+
variant: string;
|
|
22
|
+
timeout: number;
|
|
23
|
+
screenReaderOnly: boolean;
|
|
24
|
+
};
|
|
25
|
+
constructor(props: any);
|
|
26
|
+
state: {
|
|
27
|
+
showDetails: boolean;
|
|
28
|
+
isOpen: boolean;
|
|
29
|
+
};
|
|
30
|
+
timerId: number;
|
|
31
|
+
showDetails: () => void;
|
|
32
|
+
closeAlert: () => void;
|
|
33
|
+
findDetailMessage(): {
|
|
34
|
+
a: any;
|
|
35
|
+
b: any;
|
|
36
|
+
};
|
|
37
|
+
renderDetailMessage(): React.JSX.Element;
|
|
38
|
+
render(): React.JSX.Element;
|
|
39
|
+
}
|
|
40
|
+
import React from 'react';
|
|
41
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function absoluteToRelativeUrl(url: string, canvasOrigin?: string): string;
|
|
2
|
+
export declare function downloadToWrap(url: string): string;
|
|
3
|
+
export declare function fixupFileUrl(contextType: string, contextId: string | number, fileInfo: {
|
|
4
|
+
href?: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
uuid?: string;
|
|
7
|
+
}, canvasOrigin?: string): {
|
|
8
|
+
href?: string;
|
|
9
|
+
url?: string;
|
|
10
|
+
uuid?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function prepEmbedSrc(url: string, canvasOrigin?: string): string;
|
|
13
|
+
export declare function prepLinkedSrc(url: string): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A faster alternative to $.cookie for getting a cookie from document.cookie by name
|
|
3
|
+
* see: https://stackoverflow.com/a/25490531/7159335
|
|
4
|
+
* @param {string} cookieName
|
|
5
|
+
* @returns {string} cookie value
|
|
6
|
+
*/
|
|
7
|
+
export default function getCookie(cookieName: string): string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare function LoadMoreButton({ loader }: {
|
|
2
|
+
loader: any;
|
|
3
|
+
}): React.JSX.Element;
|
|
4
|
+
declare namespace LoadMoreButton {
|
|
5
|
+
namespace propTypes {
|
|
6
|
+
let loader: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
7
|
+
onLoadMore: import("prop-types").Validator<(...args: any[]) => any>;
|
|
8
|
+
}>>>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export default LoadMoreButton;
|
|
12
|
+
import React from 'react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function indicate(region: any, margin?: number): HTMLDivElement;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function setLocale(locale: any): void;
|
|
2
|
+
declare namespace _default {
|
|
3
|
+
function strings(x: any, y: any): any;
|
|
4
|
+
function by(f: any): (x: any, y: any) => any;
|
|
5
|
+
function byKey(key: any): (x: any, y: any) => any;
|
|
6
|
+
function byGet(key: any): (x: any, y: any) => any;
|
|
7
|
+
}
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare const defaultTinymceConfig: {
|
|
2
|
+
auto_focus: boolean;
|
|
3
|
+
block_formats: undefined;
|
|
4
|
+
body_class: string;
|
|
5
|
+
content_css: never[];
|
|
6
|
+
directionality: string;
|
|
7
|
+
height: undefined;
|
|
8
|
+
language: string;
|
|
9
|
+
menubar: undefined;
|
|
10
|
+
menu: undefined;
|
|
11
|
+
toolbar: undefined;
|
|
12
|
+
plugins: undefined;
|
|
13
|
+
branding: boolean;
|
|
14
|
+
browser_spellcheck: boolean;
|
|
15
|
+
content_style: string;
|
|
16
|
+
convert_urls: boolean;
|
|
17
|
+
font_formats: string;
|
|
18
|
+
language_load: boolean;
|
|
19
|
+
language_url: string;
|
|
20
|
+
toolbar_mode: string;
|
|
21
|
+
toolbar_ticky: boolean;
|
|
22
|
+
mobile: {
|
|
23
|
+
theme: string;
|
|
24
|
+
};
|
|
25
|
+
preview_styles: string;
|
|
26
|
+
remove_script_host: boolean;
|
|
27
|
+
resize: boolean;
|
|
28
|
+
skin: boolean;
|
|
29
|
+
statusbar: boolean;
|
|
30
|
+
valid_elements: string;
|
|
31
|
+
extended_valid_elements: string;
|
|
32
|
+
non_empty_elements: string;
|
|
33
|
+
target_list: boolean;
|
|
34
|
+
link_title: boolean;
|
|
35
|
+
default_link_target: string;
|
|
36
|
+
style_formats: {
|
|
37
|
+
title: string;
|
|
38
|
+
items: {
|
|
39
|
+
title: string;
|
|
40
|
+
format: string;
|
|
41
|
+
}[];
|
|
42
|
+
}[];
|
|
43
|
+
};
|
|
44
|
+
export default defaultTinymceConfig;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function isPreviewable(mimeType: any): boolean;
|
|
2
|
+
export function showLoadingImage($link: any, position?: string): any;
|
|
3
|
+
export function removeLoadingImage($link: any): any;
|
|
4
|
+
export function loadDocPreview($container: any, options: any): void;
|
|
5
|
+
/**
|
|
6
|
+
* Replaces bad urls with harmless urls in cases where bad urls might cause harm
|
|
7
|
+
* @param {string} url
|
|
8
|
+
*/
|
|
9
|
+
export function sanitizeUrl(url: string): string;
|
|
10
|
+
export const previewableMimeTypes: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function enhanceUserContent(container?: Document, opts?: {}): void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export function youTubeID(path: any): any;
|
|
2
|
+
export function getTld(hostname: any): any;
|
|
3
|
+
export function isExternalLink(element: any, canvasOrigin?: string): boolean;
|
|
4
|
+
export function showFilePreview(event: any, opts?: {}): void;
|
|
5
|
+
export function showFilePreviewInOverlay(event: any, canvasOrigin: any): void;
|
|
6
|
+
export function showFilePreviewInline(event: any, canvasOrigin: any, disableGooglePreviews: any): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function hidden(elem: any): boolean;
|
|
2
|
+
export function visible(elem: any): boolean;
|
|
3
|
+
export function closest(start: any, selector: any, context: any): any;
|
|
4
|
+
export function hide(elem: any): void;
|
|
5
|
+
export function show(elem: any): void;
|
|
6
|
+
export function capitalize(word: any): any;
|
|
7
|
+
export function setData(elem: any, key: any, value: any): void;
|
|
8
|
+
export function getData(elem: any, key: any): any;
|
|
9
|
+
export function insertAfter(new_elem: any, reference_element: any): void;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export class Mathml {
|
|
2
|
+
static get processNewMathEventName(): string;
|
|
3
|
+
constructor(features?: {}, config?: {});
|
|
4
|
+
_features: {};
|
|
5
|
+
_config: {};
|
|
6
|
+
loadMathJax(configFile?: string, cb?: null): void;
|
|
7
|
+
preventMathJax(): boolean;
|
|
8
|
+
isMathOnPage(): boolean;
|
|
9
|
+
isMathInElement(elem: any): boolean;
|
|
10
|
+
get mathJaxGenerated(): RegExp;
|
|
11
|
+
get ignore_list(): string;
|
|
12
|
+
isMathJaxIgnored(elem: any): boolean;
|
|
13
|
+
isMathMLOnPage(): boolean;
|
|
14
|
+
isMathJaxLoaded(): boolean;
|
|
15
|
+
shouldProcess(elem: any): boolean;
|
|
16
|
+
processNewMathInElem(elem: any): void;
|
|
17
|
+
reloadElement(elem: any): void;
|
|
18
|
+
}
|
|
19
|
+
export namespace mathImageHelper {
|
|
20
|
+
function getImageEquationText(img: any): string | undefined;
|
|
21
|
+
function catchEquationImages(refnode: any): true | undefined;
|
|
22
|
+
function removeStrayEquationImages(refnode: any): void;
|
|
23
|
+
function nearlyInfiniteStyleFix(elem: any): void;
|
|
24
|
+
}
|
|
25
|
+
export const MathJaxDirective: Readonly<{
|
|
26
|
+
Ignore: "mathjax_ignore";
|
|
27
|
+
Process: "mathjax_process";
|
|
28
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function mediaCommentThumbnail(comment_element: any, size: string | undefined, keepOriginalText: any, kalturaSettings: any, jqueryData?: undefined): Promise<any>;
|
package/es/index.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Mathml } from './enhance-user-content/mathml';
|
|
2
|
+
import type { EditorOptions } from './rce/RCEWrapperProps';
|
|
3
|
+
import RCEWrapper from './rce/RCEWrapper';
|
|
4
|
+
export type { Editor } from 'tinymce';
|
|
5
|
+
export { getContrastStatus, getDefaultColors, isTransparent, } from './rce/plugins/instructure_color/components/colorUtils';
|
|
6
|
+
export { ColorPicker, type ColorTab, type ColorSpec, type TabsSpec, type ColorsInUse, } from './rce/plugins/instructure_color/components/ColorPicker';
|
|
7
|
+
export * from './enhance-user-content/index';
|
|
8
|
+
export declare const defaultConfiguration: {
|
|
9
|
+
auto_focus: boolean;
|
|
10
|
+
block_formats: undefined;
|
|
11
|
+
body_class: string;
|
|
12
|
+
content_css: never[];
|
|
13
|
+
directionality: string;
|
|
14
|
+
height: undefined;
|
|
15
|
+
language: string;
|
|
16
|
+
menubar: undefined;
|
|
17
|
+
menu: undefined;
|
|
18
|
+
toolbar: undefined;
|
|
19
|
+
plugins: undefined;
|
|
20
|
+
branding: boolean;
|
|
21
|
+
browser_spellcheck: boolean;
|
|
22
|
+
content_style: string;
|
|
23
|
+
convert_urls: boolean;
|
|
24
|
+
font_formats: string;
|
|
25
|
+
language_load: boolean;
|
|
26
|
+
language_url: string;
|
|
27
|
+
toolbar_mode: string;
|
|
28
|
+
toolbar_ticky: boolean;
|
|
29
|
+
mobile: {
|
|
30
|
+
theme: string;
|
|
31
|
+
};
|
|
32
|
+
preview_styles: string;
|
|
33
|
+
remove_script_host: boolean;
|
|
34
|
+
resize: boolean;
|
|
35
|
+
skin: boolean;
|
|
36
|
+
statusbar: boolean;
|
|
37
|
+
valid_elements: string;
|
|
38
|
+
extended_valid_elements: string;
|
|
39
|
+
non_empty_elements: string;
|
|
40
|
+
target_list: boolean;
|
|
41
|
+
link_title: boolean;
|
|
42
|
+
default_link_target: string;
|
|
43
|
+
style_formats: {
|
|
44
|
+
title: string;
|
|
45
|
+
items: {
|
|
46
|
+
title: string;
|
|
47
|
+
format: string;
|
|
48
|
+
}[];
|
|
49
|
+
}[];
|
|
50
|
+
};
|
|
51
|
+
export { instuiPopupMountNodeFn } from './util/fullscreenHelpers';
|
|
52
|
+
export { Mathml };
|
|
53
|
+
export { RCEVariantValues } from './rce/RCEVariants';
|
|
54
|
+
export { UploadFilePanelIds, handleSubmit, UploadFile, type UploadFileProps, } from './rce/plugins/shared/Upload';
|
|
55
|
+
export declare function renderIntoDiv(editorEl: HTMLElement, props: EditorOptions, cb?: (ref: RCEWrapper) => void): void;
|
|
56
|
+
export declare function getRCSAuthenticationHeaders(jwt: string): {
|
|
57
|
+
Authorization: string;
|
|
58
|
+
};
|
|
59
|
+
export declare function getRCSOriginFromHost(host: string): any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AlertVariant } from './types';
|
|
3
|
+
interface AlertMessageAreaProps {
|
|
4
|
+
messages: {
|
|
5
|
+
id: number;
|
|
6
|
+
variant: AlertVariant;
|
|
7
|
+
text: string;
|
|
8
|
+
}[];
|
|
9
|
+
afterDismiss: (messageId: number) => void;
|
|
10
|
+
liveRegion?: () => HTMLElement | null | undefined;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Shows messages that have been provided to it in the RCE
|
|
14
|
+
*/
|
|
15
|
+
export default function AlertMessageArea({ messages, afterDismiss, liveRegion, }: AlertMessageAreaProps): React.JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare function KeyboardShortcutModal(props: any): React.JSX.Element;
|
|
2
|
+
declare namespace KeyboardShortcutModal {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
export let open: import("prop-types").Validator<boolean>;
|
|
5
|
+
export { func as onClose };
|
|
6
|
+
export let onDismiss: import("prop-types").Validator<(...args: any[]) => any>;
|
|
7
|
+
export { func as onExited };
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export default KeyboardShortcutModal;
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import { func } from 'prop-types';
|