@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.
- 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/scripts/build.js +0 -40
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare function ImageOptionsTray(props: any): React.JSX.Element;
|
|
2
|
+
declare namespace ImageOptionsTray {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
export let imageOptions: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
5
|
+
altText: import("prop-types").Validator<string>;
|
|
6
|
+
appliedHeight: import("prop-types").Requireable<number>;
|
|
7
|
+
appliedWidth: import("prop-types").Requireable<number>;
|
|
8
|
+
isDecorativeImage: import("prop-types").Validator<boolean>;
|
|
9
|
+
isLinked: import("prop-types").Requireable<boolean>;
|
|
10
|
+
naturalHeight: import("prop-types").Validator<number>;
|
|
11
|
+
naturalWidth: import("prop-types").Validator<number>;
|
|
12
|
+
}>>>;
|
|
13
|
+
export { func as onEntered };
|
|
14
|
+
export { func as onExited };
|
|
15
|
+
export let onRequestClose: import("prop-types").Validator<(...args: any[]) => any>;
|
|
16
|
+
export let onSave: import("prop-types").Validator<(...args: any[]) => any>;
|
|
17
|
+
export let open: import("prop-types").Validator<boolean>;
|
|
18
|
+
export { bool as isIconMaker };
|
|
19
|
+
}
|
|
20
|
+
namespace defaultProps {
|
|
21
|
+
let onEntered: null;
|
|
22
|
+
let onExited: null;
|
|
23
|
+
let isIconMaker: boolean;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export default ImageOptionsTray;
|
|
27
|
+
import React from 'react';
|
|
28
|
+
import { func } from 'prop-types';
|
|
29
|
+
import { bool } from 'prop-types';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare function Images(props: any): React.JSX.Element;
|
|
2
|
+
declare namespace Images {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
export let fetchInitialImages: import("prop-types").Validator<(...args: any[]) => any>;
|
|
5
|
+
export let fetchNextImages: import("prop-types").Validator<(...args: any[]) => any>;
|
|
6
|
+
export let contextType: import("prop-types").Validator<string>;
|
|
7
|
+
export let images: any;
|
|
8
|
+
export let sortBy: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
9
|
+
sort: import("prop-types").Validator<string>;
|
|
10
|
+
order: import("prop-types").Validator<string>;
|
|
11
|
+
}>>;
|
|
12
|
+
export { string as searchString };
|
|
13
|
+
export let onImageEmbed: import("prop-types").Validator<(...args: any[]) => any>;
|
|
14
|
+
export { bool as isIconMaker };
|
|
15
|
+
export let canvasOrigin: import("prop-types").Validator<string>;
|
|
16
|
+
}
|
|
17
|
+
namespace defaultProps {
|
|
18
|
+
let isIconMaker: boolean;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export default Images;
|
|
22
|
+
import React from 'react';
|
|
23
|
+
import { string } from 'prop-types';
|
|
24
|
+
import { bool } from 'prop-types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(ed: any, document: any): Promise<unknown>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(ed: any, op: any): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare function AccordionSection({ collection, children, onToggle, expanded, label }: {
|
|
2
|
+
collection: any;
|
|
3
|
+
children: any;
|
|
4
|
+
onToggle: any;
|
|
5
|
+
expanded: any;
|
|
6
|
+
label: any;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
declare namespace AccordionSection {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
let collection: import("prop-types").Validator<string>;
|
|
11
|
+
let children: import("prop-types").Validator<NonNullable<import("prop-types").ReactNodeLike>>;
|
|
12
|
+
let onToggle: import("prop-types").Validator<(...args: any[]) => any>;
|
|
13
|
+
let expanded: import("prop-types").Validator<boolean>;
|
|
14
|
+
let label: import("prop-types").Validator<string>;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export default AccordionSection;
|
|
18
|
+
import React from 'react';
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
declare function CollectionPanel(props: any): React.JSX.Element;
|
|
2
|
+
declare namespace CollectionPanel {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
export let contextId: import("prop-types").Validator<string>;
|
|
5
|
+
export let contextType: import("prop-types").Validator<string>;
|
|
6
|
+
export { string as searchString };
|
|
7
|
+
export let collections: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
8
|
+
announcements: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
9
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
10
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
11
|
+
lastError: import("prop-types").Requireable<object>;
|
|
12
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
13
|
+
href: import("prop-types").Validator<string>;
|
|
14
|
+
title: import("prop-types").Validator<string>;
|
|
15
|
+
published: import("prop-types").Requireable<boolean>;
|
|
16
|
+
date: import("prop-types").Requireable<string>;
|
|
17
|
+
date_type: import("prop-types").Requireable<string>;
|
|
18
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
19
|
+
}> | null | undefined)[]>;
|
|
20
|
+
}>>;
|
|
21
|
+
assignments: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
22
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
23
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
24
|
+
lastError: import("prop-types").Requireable<object>;
|
|
25
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
26
|
+
href: import("prop-types").Validator<string>;
|
|
27
|
+
title: import("prop-types").Validator<string>;
|
|
28
|
+
published: import("prop-types").Requireable<boolean>;
|
|
29
|
+
date: import("prop-types").Requireable<string>;
|
|
30
|
+
date_type: import("prop-types").Requireable<string>;
|
|
31
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
32
|
+
}> | null | undefined)[]>;
|
|
33
|
+
}>>;
|
|
34
|
+
discussions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
35
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
36
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
37
|
+
lastError: import("prop-types").Requireable<object>;
|
|
38
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
39
|
+
href: import("prop-types").Validator<string>;
|
|
40
|
+
title: import("prop-types").Validator<string>;
|
|
41
|
+
published: import("prop-types").Requireable<boolean>;
|
|
42
|
+
date: import("prop-types").Requireable<string>;
|
|
43
|
+
date_type: import("prop-types").Requireable<string>;
|
|
44
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
45
|
+
}> | null | undefined)[]>;
|
|
46
|
+
}>>;
|
|
47
|
+
modules: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
48
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
49
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
50
|
+
lastError: import("prop-types").Requireable<object>;
|
|
51
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
52
|
+
href: import("prop-types").Validator<string>;
|
|
53
|
+
title: import("prop-types").Validator<string>;
|
|
54
|
+
published: import("prop-types").Requireable<boolean>;
|
|
55
|
+
date: import("prop-types").Requireable<string>;
|
|
56
|
+
date_type: import("prop-types").Requireable<string>;
|
|
57
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
58
|
+
}> | null | undefined)[]>;
|
|
59
|
+
}>>;
|
|
60
|
+
quizzes: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
61
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
62
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
63
|
+
lastError: import("prop-types").Requireable<object>;
|
|
64
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
65
|
+
href: import("prop-types").Validator<string>;
|
|
66
|
+
title: import("prop-types").Validator<string>;
|
|
67
|
+
published: import("prop-types").Requireable<boolean>;
|
|
68
|
+
date: import("prop-types").Requireable<string>;
|
|
69
|
+
date_type: import("prop-types").Requireable<string>;
|
|
70
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
71
|
+
}> | null | undefined)[]>;
|
|
72
|
+
}>>;
|
|
73
|
+
wikiPages: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
74
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
75
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
76
|
+
lastError: import("prop-types").Requireable<object>;
|
|
77
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
78
|
+
href: import("prop-types").Validator<string>;
|
|
79
|
+
title: import("prop-types").Validator<string>;
|
|
80
|
+
published: import("prop-types").Requireable<boolean>;
|
|
81
|
+
date: import("prop-types").Requireable<string>;
|
|
82
|
+
date_type: import("prop-types").Requireable<string>;
|
|
83
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
84
|
+
}> | null | undefined)[]>;
|
|
85
|
+
}>>;
|
|
86
|
+
}>>>;
|
|
87
|
+
export let collection: import("prop-types").Validator<string>;
|
|
88
|
+
export let label: import("prop-types").Validator<string>;
|
|
89
|
+
export { bool as renderNewPageLink };
|
|
90
|
+
export { bool as suppressRenderEmpty };
|
|
91
|
+
export { func as fetchInitialPage };
|
|
92
|
+
export { func as fetchNextPage };
|
|
93
|
+
export { func as onLinkClick };
|
|
94
|
+
export { bool as newPageLinkExpanded };
|
|
95
|
+
export { func as toggleNewPageForm };
|
|
96
|
+
export let onChangeAccordion: import("prop-types").Validator<(...args: any[]) => any>;
|
|
97
|
+
export { string as selectedAccordionIndex };
|
|
98
|
+
export { bool as editing };
|
|
99
|
+
export { func as onEditClick };
|
|
100
|
+
export { linkShape as selectedLink };
|
|
101
|
+
}
|
|
102
|
+
namespace defaultProps {
|
|
103
|
+
let renderNewPageLink: boolean;
|
|
104
|
+
let suppressRenderEmpty: boolean;
|
|
105
|
+
let editing: boolean;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export default CollectionPanel;
|
|
109
|
+
import React from 'react';
|
|
110
|
+
import { string } from 'prop-types';
|
|
111
|
+
import { bool } from 'prop-types';
|
|
112
|
+
import { func } from 'prop-types';
|
|
113
|
+
import { linkShape } from './propTypes';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare function Link(props: any): React.JSX.Element;
|
|
2
|
+
declare namespace Link {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
export let link: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
5
|
+
href: import("prop-types").Validator<string>;
|
|
6
|
+
title: import("prop-types").Validator<string>;
|
|
7
|
+
published: import("prop-types").Requireable<boolean>;
|
|
8
|
+
date: import("prop-types").Requireable<string>;
|
|
9
|
+
date_type: import("prop-types").Requireable<string>;
|
|
10
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
11
|
+
}>>>;
|
|
12
|
+
export let type: import("prop-types").Validator<string>;
|
|
13
|
+
export let onClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
14
|
+
export let describedByID: import("prop-types").Validator<string>;
|
|
15
|
+
export { func as elementRef };
|
|
16
|
+
export { bool as editing };
|
|
17
|
+
export { func as onEditClick };
|
|
18
|
+
export { bool as isSelected };
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export default Link;
|
|
22
|
+
import React from 'react';
|
|
23
|
+
import { func } from 'prop-types';
|
|
24
|
+
import { bool } from 'prop-types';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export const CONTAINER_ID: "instructure-link-options-tray-container";
|
|
2
|
+
export const CREATE_LINK: "create";
|
|
3
|
+
export const EDIT_LINK: "edit";
|
|
4
|
+
export default class LinkOptionsDialogController {
|
|
5
|
+
_editor: any;
|
|
6
|
+
_isOpen: boolean;
|
|
7
|
+
_shouldOpen: boolean;
|
|
8
|
+
_renderId: number;
|
|
9
|
+
get $container(): HTMLElement;
|
|
10
|
+
get isOpen(): boolean;
|
|
11
|
+
showDialogForEditor(editor: any, op: any): void;
|
|
12
|
+
_op: any;
|
|
13
|
+
hideDialog(): void;
|
|
14
|
+
_applyLinkOptions(linkOptions: any): void;
|
|
15
|
+
_dismissDialog: () => void;
|
|
16
|
+
_hasClosed: () => void;
|
|
17
|
+
_renderDialog(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare function LinkOptionsDialog(props: any): React.JSX.Element;
|
|
2
|
+
declare namespace LinkOptionsDialog {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
export { string as text };
|
|
5
|
+
export { string as url };
|
|
6
|
+
export let operation: import("prop-types").Requireable<string>;
|
|
7
|
+
export { func as onEntered };
|
|
8
|
+
export { func as onExited };
|
|
9
|
+
export let onRequestClose: import("prop-types").Validator<(...args: any[]) => any>;
|
|
10
|
+
export let onSave: import("prop-types").Validator<(...args: any[]) => any>;
|
|
11
|
+
export let open: import("prop-types").Validator<boolean>;
|
|
12
|
+
export { bool as showText };
|
|
13
|
+
}
|
|
14
|
+
namespace defaultProps {
|
|
15
|
+
let onEntered: null;
|
|
16
|
+
let onExited: null;
|
|
17
|
+
let showText: boolean;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export default LinkOptionsDialog;
|
|
21
|
+
import React from 'react';
|
|
22
|
+
import { string } from 'prop-types';
|
|
23
|
+
import { func } from 'prop-types';
|
|
24
|
+
import { bool } from 'prop-types';
|
package/es/rce/plugins/instructure_links/components/LinkOptionsTray/LinkOptionsTrayController.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const CONTAINER_ID: "instructure-link-options-tray-container";
|
|
2
|
+
export default class LinkOptionsTrayController {
|
|
3
|
+
_editor: any;
|
|
4
|
+
_isOpen: boolean;
|
|
5
|
+
_shouldOpen: boolean;
|
|
6
|
+
_renderId: number;
|
|
7
|
+
get $container(): HTMLElement;
|
|
8
|
+
get isOpen(): boolean;
|
|
9
|
+
showTrayForEditor(editor: any): void;
|
|
10
|
+
hideTrayForEditor(editor: any): void;
|
|
11
|
+
_applyLinkOptions(linkOptions: any): void;
|
|
12
|
+
_dismissTray(): void;
|
|
13
|
+
_renderTray(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare function LinkOptionsTray(props: any): React.JSX.Element;
|
|
2
|
+
declare namespace LinkOptionsTray {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
export function content(props: any, _propName: any, _componentName: any): void;
|
|
5
|
+
export { func as onEntered };
|
|
6
|
+
export { func as onExited };
|
|
7
|
+
export let onRequestClose: import("prop-types").Validator<(...args: any[]) => any>;
|
|
8
|
+
export let onSave: import("prop-types").Validator<(...args: any[]) => any>;
|
|
9
|
+
export let open: import("prop-types").Validator<boolean>;
|
|
10
|
+
}
|
|
11
|
+
namespace defaultProps {
|
|
12
|
+
let onEntered: null;
|
|
13
|
+
let onExited: null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export default LinkOptionsTray;
|
|
17
|
+
import React from 'react';
|
|
18
|
+
import { func } from 'prop-types';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export default LinkSet;
|
|
2
|
+
declare class LinkSet extends React.Component<any, any, any> {
|
|
3
|
+
constructor(props: any);
|
|
4
|
+
describedByID: string;
|
|
5
|
+
loadMoreButtonRef: any;
|
|
6
|
+
hasLinks(props: any): boolean;
|
|
7
|
+
isEmpty(props: any): boolean;
|
|
8
|
+
compareURLs(url1?: string, url2?: string): boolean;
|
|
9
|
+
renderLinks(lastItemRef: any): React.JSX.Element;
|
|
10
|
+
renderEmptyIndicator(): React.JSX.Element;
|
|
11
|
+
renderLoadingError(): React.JSX.Element | null;
|
|
12
|
+
render(): React.JSX.Element;
|
|
13
|
+
}
|
|
14
|
+
declare namespace LinkSet {
|
|
15
|
+
namespace propTypes {
|
|
16
|
+
export let type: import("prop-types").Validator<string>;
|
|
17
|
+
export let collection: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
18
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
19
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
20
|
+
lastError: import("prop-types").Requireable<object>;
|
|
21
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
22
|
+
href: import("prop-types").Validator<string>;
|
|
23
|
+
title: import("prop-types").Validator<string>;
|
|
24
|
+
published: import("prop-types").Requireable<boolean>;
|
|
25
|
+
date: import("prop-types").Requireable<string>;
|
|
26
|
+
date_type: import("prop-types").Requireable<string>;
|
|
27
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
28
|
+
}> | null | undefined)[]>;
|
|
29
|
+
}>>>;
|
|
30
|
+
export let onLinkClick: import("prop-types").Validator<(...args: any[]) => any>;
|
|
31
|
+
export let contextType: import("prop-types").Validator<string>;
|
|
32
|
+
export let contextId: import("prop-types").Validator<string>;
|
|
33
|
+
export { func as fetchInitialPage };
|
|
34
|
+
export { func as fetchNextPage };
|
|
35
|
+
export { bool as suppressRenderEmpty };
|
|
36
|
+
export { string as searchString };
|
|
37
|
+
export { bool as editing };
|
|
38
|
+
export { func as onEditClick };
|
|
39
|
+
export { linkShape as selectedLink };
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
import React from 'react';
|
|
43
|
+
import { func } from 'prop-types';
|
|
44
|
+
import { bool } from 'prop-types';
|
|
45
|
+
import { string } from 'prop-types';
|
|
46
|
+
import { linkShape } from './propTypes';
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export default LinksPanel;
|
|
2
|
+
declare function LinksPanel(props: any): React.JSX.Element;
|
|
3
|
+
declare namespace LinksPanel {
|
|
4
|
+
namespace propTypes {
|
|
5
|
+
export { string as selectedAccordionIndex };
|
|
6
|
+
export { func as onChangeAccordion };
|
|
7
|
+
export let contextType: import("prop-types").Validator<string>;
|
|
8
|
+
export let contextId: import("prop-types").Validator<string>;
|
|
9
|
+
export { string as searchString };
|
|
10
|
+
export let collections: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
11
|
+
announcements: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
12
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
13
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
14
|
+
lastError: import("prop-types").Requireable<object>;
|
|
15
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
16
|
+
href: import("prop-types").Validator<string>;
|
|
17
|
+
title: import("prop-types").Validator<string>;
|
|
18
|
+
published: import("prop-types").Requireable<boolean>;
|
|
19
|
+
date: import("prop-types").Requireable<string>;
|
|
20
|
+
date_type: import("prop-types").Requireable<string>;
|
|
21
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
22
|
+
}> | null | undefined)[]>;
|
|
23
|
+
}>>;
|
|
24
|
+
assignments: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
25
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
26
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
27
|
+
lastError: import("prop-types").Requireable<object>;
|
|
28
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
29
|
+
href: import("prop-types").Validator<string>;
|
|
30
|
+
title: import("prop-types").Validator<string>;
|
|
31
|
+
published: import("prop-types").Requireable<boolean>;
|
|
32
|
+
date: import("prop-types").Requireable<string>;
|
|
33
|
+
date_type: import("prop-types").Requireable<string>;
|
|
34
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
35
|
+
}> | null | undefined)[]>;
|
|
36
|
+
}>>;
|
|
37
|
+
discussions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
38
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
39
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
40
|
+
lastError: import("prop-types").Requireable<object>;
|
|
41
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
42
|
+
href: import("prop-types").Validator<string>;
|
|
43
|
+
title: import("prop-types").Validator<string>;
|
|
44
|
+
published: import("prop-types").Requireable<boolean>;
|
|
45
|
+
date: import("prop-types").Requireable<string>;
|
|
46
|
+
date_type: import("prop-types").Requireable<string>;
|
|
47
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
48
|
+
}> | null | undefined)[]>;
|
|
49
|
+
}>>;
|
|
50
|
+
modules: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
51
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
52
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
53
|
+
lastError: import("prop-types").Requireable<object>;
|
|
54
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
55
|
+
href: import("prop-types").Validator<string>;
|
|
56
|
+
title: import("prop-types").Validator<string>;
|
|
57
|
+
published: import("prop-types").Requireable<boolean>;
|
|
58
|
+
date: import("prop-types").Requireable<string>;
|
|
59
|
+
date_type: import("prop-types").Requireable<string>;
|
|
60
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
61
|
+
}> | null | undefined)[]>;
|
|
62
|
+
}>>;
|
|
63
|
+
quizzes: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
64
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
65
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
66
|
+
lastError: import("prop-types").Requireable<object>;
|
|
67
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
68
|
+
href: import("prop-types").Validator<string>;
|
|
69
|
+
title: import("prop-types").Validator<string>;
|
|
70
|
+
published: import("prop-types").Requireable<boolean>;
|
|
71
|
+
date: import("prop-types").Requireable<string>;
|
|
72
|
+
date_type: import("prop-types").Requireable<string>;
|
|
73
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
74
|
+
}> | null | undefined)[]>;
|
|
75
|
+
}>>;
|
|
76
|
+
wikiPages: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
77
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
78
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
79
|
+
lastError: import("prop-types").Requireable<object>;
|
|
80
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
81
|
+
href: import("prop-types").Validator<string>;
|
|
82
|
+
title: import("prop-types").Validator<string>;
|
|
83
|
+
published: import("prop-types").Requireable<boolean>;
|
|
84
|
+
date: import("prop-types").Requireable<string>;
|
|
85
|
+
date_type: import("prop-types").Requireable<string>;
|
|
86
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
87
|
+
}> | null | undefined)[]>;
|
|
88
|
+
}>>;
|
|
89
|
+
}>>>;
|
|
90
|
+
export { func as fetchInitialPage };
|
|
91
|
+
export { func as fetchNextPage };
|
|
92
|
+
export { func as onLinkClick };
|
|
93
|
+
export { bool as canCreatePages };
|
|
94
|
+
export { bool as editing };
|
|
95
|
+
export { func as onEditClick };
|
|
96
|
+
export { linkShape as selectedLink };
|
|
97
|
+
}
|
|
98
|
+
namespace defaultProps {
|
|
99
|
+
let selectedAccordionIndex: string;
|
|
100
|
+
let editing: boolean;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
import React from 'react';
|
|
104
|
+
import { string } from 'prop-types';
|
|
105
|
+
import { func } from 'prop-types';
|
|
106
|
+
import { bool } from 'prop-types';
|
|
107
|
+
import { linkShape } from './propTypes';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function NavigationPanel(props: any): React.JSX.Element | null;
|
|
2
|
+
declare namespace NavigationPanel {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
export let contextType: import("prop-types").Validator<string>;
|
|
5
|
+
export let contextId: import("prop-types").Validator<string>;
|
|
6
|
+
export let onChangeAccordion: import("prop-types").Validator<(...args: any[]) => any>;
|
|
7
|
+
export { string as selectedAccordionIndex };
|
|
8
|
+
export { func as onLinkClick };
|
|
9
|
+
export { bool as editing };
|
|
10
|
+
export { func as onEditClick };
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export default NavigationPanel;
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { string } from 'prop-types';
|
|
16
|
+
import { func } from 'prop-types';
|
|
17
|
+
import { bool } from 'prop-types';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ContextType = 'course' | 'group';
|
|
3
|
+
export type CollectionType = 'wikiPages' | 'assignments' | 'quizzes' | 'announcements' | 'discussions' | 'modules';
|
|
4
|
+
type NoResultsProps = {
|
|
5
|
+
contextType: ContextType;
|
|
6
|
+
contextId: string;
|
|
7
|
+
collectionType: CollectionType;
|
|
8
|
+
isSearchResult: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare function buildUrl(contextType: ContextType, contextId: string, collectionType: CollectionType): string;
|
|
11
|
+
export declare function getMessage(collectionType: CollectionType, isSearchResult: boolean): string;
|
|
12
|
+
export declare const NoResults: ({ contextType, contextId, collectionType, isSearchResult, }: NoResultsProps) => React.JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
export const linkShape: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
2
|
+
href: import("prop-types").Validator<string>;
|
|
3
|
+
title: import("prop-types").Validator<string>;
|
|
4
|
+
published: import("prop-types").Requireable<boolean>;
|
|
5
|
+
date: import("prop-types").Requireable<string>;
|
|
6
|
+
date_type: import("prop-types").Requireable<string>;
|
|
7
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
8
|
+
}>>;
|
|
9
|
+
export const linksShape: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
10
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
11
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
12
|
+
lastError: import("prop-types").Requireable<object>;
|
|
13
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
14
|
+
href: import("prop-types").Validator<string>;
|
|
15
|
+
title: import("prop-types").Validator<string>;
|
|
16
|
+
published: import("prop-types").Requireable<boolean>;
|
|
17
|
+
date: import("prop-types").Requireable<string>;
|
|
18
|
+
date_type: import("prop-types").Requireable<string>;
|
|
19
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
20
|
+
}> | null | undefined)[]>;
|
|
21
|
+
}>>;
|
|
22
|
+
export const linkType: import("prop-types").Requireable<string>;
|
|
23
|
+
export const collectionsShape: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
24
|
+
announcements: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
25
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
26
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
27
|
+
lastError: import("prop-types").Requireable<object>;
|
|
28
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
29
|
+
href: import("prop-types").Validator<string>;
|
|
30
|
+
title: import("prop-types").Validator<string>;
|
|
31
|
+
published: import("prop-types").Requireable<boolean>;
|
|
32
|
+
date: import("prop-types").Requireable<string>;
|
|
33
|
+
date_type: import("prop-types").Requireable<string>;
|
|
34
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
35
|
+
}> | null | undefined)[]>;
|
|
36
|
+
}>>;
|
|
37
|
+
assignments: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
38
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
39
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
40
|
+
lastError: import("prop-types").Requireable<object>;
|
|
41
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
42
|
+
href: import("prop-types").Validator<string>;
|
|
43
|
+
title: import("prop-types").Validator<string>;
|
|
44
|
+
published: import("prop-types").Requireable<boolean>;
|
|
45
|
+
date: import("prop-types").Requireable<string>;
|
|
46
|
+
date_type: import("prop-types").Requireable<string>;
|
|
47
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
48
|
+
}> | null | undefined)[]>;
|
|
49
|
+
}>>;
|
|
50
|
+
discussions: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
51
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
52
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
53
|
+
lastError: import("prop-types").Requireable<object>;
|
|
54
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
55
|
+
href: import("prop-types").Validator<string>;
|
|
56
|
+
title: import("prop-types").Validator<string>;
|
|
57
|
+
published: import("prop-types").Requireable<boolean>;
|
|
58
|
+
date: import("prop-types").Requireable<string>;
|
|
59
|
+
date_type: import("prop-types").Requireable<string>;
|
|
60
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
61
|
+
}> | null | undefined)[]>;
|
|
62
|
+
}>>;
|
|
63
|
+
modules: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
64
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
65
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
66
|
+
lastError: import("prop-types").Requireable<object>;
|
|
67
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
68
|
+
href: import("prop-types").Validator<string>;
|
|
69
|
+
title: import("prop-types").Validator<string>;
|
|
70
|
+
published: import("prop-types").Requireable<boolean>;
|
|
71
|
+
date: import("prop-types").Requireable<string>;
|
|
72
|
+
date_type: import("prop-types").Requireable<string>;
|
|
73
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
74
|
+
}> | null | undefined)[]>;
|
|
75
|
+
}>>;
|
|
76
|
+
quizzes: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
77
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
78
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
79
|
+
lastError: import("prop-types").Requireable<object>;
|
|
80
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
81
|
+
href: import("prop-types").Validator<string>;
|
|
82
|
+
title: import("prop-types").Validator<string>;
|
|
83
|
+
published: import("prop-types").Requireable<boolean>;
|
|
84
|
+
date: import("prop-types").Requireable<string>;
|
|
85
|
+
date_type: import("prop-types").Requireable<string>;
|
|
86
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
87
|
+
}> | null | undefined)[]>;
|
|
88
|
+
}>>;
|
|
89
|
+
wikiPages: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
90
|
+
hasMore: import("prop-types").Requireable<boolean>;
|
|
91
|
+
isLoading: import("prop-types").Requireable<boolean>;
|
|
92
|
+
lastError: import("prop-types").Requireable<object>;
|
|
93
|
+
links: import("prop-types").Validator<(import("prop-types").InferProps<{
|
|
94
|
+
href: import("prop-types").Validator<string>;
|
|
95
|
+
title: import("prop-types").Validator<string>;
|
|
96
|
+
published: import("prop-types").Requireable<boolean>;
|
|
97
|
+
date: import("prop-types").Requireable<string>;
|
|
98
|
+
date_type: import("prop-types").Requireable<string>;
|
|
99
|
+
has_overrides: import("prop-types").Requireable<boolean>;
|
|
100
|
+
}> | null | undefined)[]>;
|
|
101
|
+
}>>;
|
|
102
|
+
}>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function _default(ed: any, document: any): Promise<void>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function Embed({ onSubmit, onDismiss }: {
|
|
2
|
+
onSubmit: any;
|
|
3
|
+
onDismiss: any;
|
|
4
|
+
}): React.JSX.Element;
|
|
5
|
+
export namespace Embed {
|
|
6
|
+
namespace propTypes {
|
|
7
|
+
let onSubmit: import("prop-types").Validator<(...args: any[]) => any>;
|
|
8
|
+
let onDismiss: import("prop-types").Validator<(...args: any[]) => any>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
import React from 'react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function initPasteMenuCommand(ed: any, handlePasteOrDrop: any): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|