@instructure/canvas-rce 5.15.4 → 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,154 @@
|
|
|
1
|
+
export function svgSourceFor(type: any): {
|
|
2
|
+
art: {
|
|
3
|
+
source: () => string;
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
6
|
+
engineering: {
|
|
7
|
+
source: () => string;
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
english: {
|
|
11
|
+
source: () => string;
|
|
12
|
+
label: string;
|
|
13
|
+
};
|
|
14
|
+
health: {
|
|
15
|
+
source: () => string;
|
|
16
|
+
label: string;
|
|
17
|
+
};
|
|
18
|
+
languageArts: {
|
|
19
|
+
source: () => string;
|
|
20
|
+
label: string;
|
|
21
|
+
};
|
|
22
|
+
languages: {
|
|
23
|
+
source: () => string;
|
|
24
|
+
label: string;
|
|
25
|
+
};
|
|
26
|
+
library: {
|
|
27
|
+
source: () => string;
|
|
28
|
+
label: string;
|
|
29
|
+
};
|
|
30
|
+
math: {
|
|
31
|
+
source: () => string;
|
|
32
|
+
label: string;
|
|
33
|
+
};
|
|
34
|
+
music: {
|
|
35
|
+
source: () => string;
|
|
36
|
+
label: string;
|
|
37
|
+
};
|
|
38
|
+
performingArts: {
|
|
39
|
+
source: () => string;
|
|
40
|
+
label: string;
|
|
41
|
+
};
|
|
42
|
+
physicalEducation: {
|
|
43
|
+
source: () => string;
|
|
44
|
+
label: string;
|
|
45
|
+
};
|
|
46
|
+
religion: {
|
|
47
|
+
source: () => string;
|
|
48
|
+
label: string;
|
|
49
|
+
};
|
|
50
|
+
science: {
|
|
51
|
+
source: () => string;
|
|
52
|
+
label: string;
|
|
53
|
+
};
|
|
54
|
+
socialStudies: {
|
|
55
|
+
source: () => string;
|
|
56
|
+
label: string;
|
|
57
|
+
};
|
|
58
|
+
technology: {
|
|
59
|
+
source: () => string;
|
|
60
|
+
label: string;
|
|
61
|
+
};
|
|
62
|
+
} | {
|
|
63
|
+
art: {
|
|
64
|
+
source: (color?: string) => string;
|
|
65
|
+
label: string;
|
|
66
|
+
};
|
|
67
|
+
engineering: {
|
|
68
|
+
source: (color?: string) => string;
|
|
69
|
+
label: string;
|
|
70
|
+
};
|
|
71
|
+
english: {
|
|
72
|
+
source: (color?: string) => string;
|
|
73
|
+
label: string;
|
|
74
|
+
};
|
|
75
|
+
extracurricular: {
|
|
76
|
+
source: (color?: string) => string;
|
|
77
|
+
label: string;
|
|
78
|
+
};
|
|
79
|
+
health: {
|
|
80
|
+
source: (color?: string) => string;
|
|
81
|
+
label: string;
|
|
82
|
+
};
|
|
83
|
+
languageArts: {
|
|
84
|
+
source: (color?: string) => string;
|
|
85
|
+
label: string;
|
|
86
|
+
};
|
|
87
|
+
languages: {
|
|
88
|
+
source: (color?: string) => string;
|
|
89
|
+
label: string;
|
|
90
|
+
};
|
|
91
|
+
library: {
|
|
92
|
+
source: (color?: string) => string;
|
|
93
|
+
label: string;
|
|
94
|
+
};
|
|
95
|
+
math: {
|
|
96
|
+
source: (color?: string) => string;
|
|
97
|
+
label: string;
|
|
98
|
+
};
|
|
99
|
+
music: {
|
|
100
|
+
source: (color?: string) => string;
|
|
101
|
+
label: string;
|
|
102
|
+
};
|
|
103
|
+
performingArts: {
|
|
104
|
+
source: (color?: string) => string;
|
|
105
|
+
label: string;
|
|
106
|
+
};
|
|
107
|
+
physicalEducation: {
|
|
108
|
+
source: (color?: string) => string;
|
|
109
|
+
label: string;
|
|
110
|
+
};
|
|
111
|
+
religion: {
|
|
112
|
+
source: (color?: string) => string;
|
|
113
|
+
label: string;
|
|
114
|
+
};
|
|
115
|
+
science: {
|
|
116
|
+
source: (color?: string) => string;
|
|
117
|
+
label: string;
|
|
118
|
+
};
|
|
119
|
+
socialStudies: {
|
|
120
|
+
source: (color?: string) => string;
|
|
121
|
+
label: string;
|
|
122
|
+
};
|
|
123
|
+
technology: {
|
|
124
|
+
source: (color?: string) => string;
|
|
125
|
+
label: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export namespace TYPE {
|
|
129
|
+
let Singlecolor: string;
|
|
130
|
+
let Multicolor: string;
|
|
131
|
+
}
|
|
132
|
+
export default SVGList;
|
|
133
|
+
declare function SVGList({ type, onSelect, fillColor, onMount }: {
|
|
134
|
+
type: any;
|
|
135
|
+
onSelect: any;
|
|
136
|
+
fillColor: any;
|
|
137
|
+
onMount: any;
|
|
138
|
+
}): React.JSX.Element;
|
|
139
|
+
declare namespace SVGList {
|
|
140
|
+
namespace propTypes {
|
|
141
|
+
let fillColor: PropTypes.Requireable<string>;
|
|
142
|
+
let type: PropTypes.Validator<string>;
|
|
143
|
+
let onSelect: PropTypes.Validator<(...args: any[]) => any>;
|
|
144
|
+
let onMount: PropTypes.Requireable<(...args: any[]) => any>;
|
|
145
|
+
}
|
|
146
|
+
namespace defaultProps {
|
|
147
|
+
let fillColor_1: string;
|
|
148
|
+
export { fillColor_1 as fillColor };
|
|
149
|
+
export function onMount_1(): void;
|
|
150
|
+
export { onMount_1 as onMount };
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
import React from 'react';
|
|
154
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default SVGThumbnail;
|
|
2
|
+
declare function SVGThumbnail({ name, source, size, fillColor }: {
|
|
3
|
+
name: any;
|
|
4
|
+
source: any;
|
|
5
|
+
size: any;
|
|
6
|
+
fillColor: any;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
declare namespace SVGThumbnail {
|
|
9
|
+
namespace propTypes {
|
|
10
|
+
let size: PropTypes.Requireable<string>;
|
|
11
|
+
let fillColor: PropTypes.Requireable<string>;
|
|
12
|
+
let name: PropTypes.Validator<string>;
|
|
13
|
+
let source: PropTypes.Validator<{
|
|
14
|
+
[x: string]: NonNullable<PropTypes.InferProps<{
|
|
15
|
+
source: PropTypes.Validator<(...args: any[]) => any>;
|
|
16
|
+
label: PropTypes.Validator<string>;
|
|
17
|
+
}>>;
|
|
18
|
+
}>;
|
|
19
|
+
}
|
|
20
|
+
namespace defaultProps {
|
|
21
|
+
let size_1: string;
|
|
22
|
+
export { size_1 as size };
|
|
23
|
+
let fillColor_1: string;
|
|
24
|
+
export { fillColor_1 as fillColor };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
import React from 'react';
|
|
28
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export default SingleColor;
|
|
2
|
+
declare function SingleColor({ data, dispatch, onLoaded }: {
|
|
3
|
+
data: any;
|
|
4
|
+
dispatch: any;
|
|
5
|
+
onLoaded: any;
|
|
6
|
+
}): React.JSX.Element;
|
|
7
|
+
declare namespace SingleColor {
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
let dispatch: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
+
let data: PropTypes.Requireable<PropTypes.InferProps<{
|
|
11
|
+
icon: PropTypes.Requireable<string>;
|
|
12
|
+
iconFillColor: PropTypes.Requireable<string>;
|
|
13
|
+
}>>;
|
|
14
|
+
let onLoaded: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
+
}
|
|
16
|
+
namespace defaultProps {
|
|
17
|
+
export function dispatch_1(): void;
|
|
18
|
+
export { dispatch_1 as dispatch };
|
|
19
|
+
export namespace data_1 {
|
|
20
|
+
let icon: null;
|
|
21
|
+
let iconFillColor: string;
|
|
22
|
+
}
|
|
23
|
+
export { data_1 as data };
|
|
24
|
+
export function onLoaded_1(): void;
|
|
25
|
+
export { onLoaded_1 as onLoaded };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
import React from 'react';
|
|
29
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace art {
|
|
3
|
+
function source(color?: string): string;
|
|
4
|
+
let label: string;
|
|
5
|
+
}
|
|
6
|
+
namespace engineering {
|
|
7
|
+
export function source_1(color?: string): string;
|
|
8
|
+
export { source_1 as source };
|
|
9
|
+
let label_1: string;
|
|
10
|
+
export { label_1 as label };
|
|
11
|
+
}
|
|
12
|
+
namespace english {
|
|
13
|
+
export function source_2(color?: string): string;
|
|
14
|
+
export { source_2 as source };
|
|
15
|
+
let label_2: string;
|
|
16
|
+
export { label_2 as label };
|
|
17
|
+
}
|
|
18
|
+
namespace extracurricular {
|
|
19
|
+
export function source_3(color?: string): string;
|
|
20
|
+
export { source_3 as source };
|
|
21
|
+
let label_3: string;
|
|
22
|
+
export { label_3 as label };
|
|
23
|
+
}
|
|
24
|
+
namespace health {
|
|
25
|
+
export function source_4(color?: string): string;
|
|
26
|
+
export { source_4 as source };
|
|
27
|
+
let label_4: string;
|
|
28
|
+
export { label_4 as label };
|
|
29
|
+
}
|
|
30
|
+
namespace languageArts {
|
|
31
|
+
export function source_5(color?: string): string;
|
|
32
|
+
export { source_5 as source };
|
|
33
|
+
let label_5: string;
|
|
34
|
+
export { label_5 as label };
|
|
35
|
+
}
|
|
36
|
+
namespace languages {
|
|
37
|
+
export function source_6(color?: string): string;
|
|
38
|
+
export { source_6 as source };
|
|
39
|
+
let label_6: string;
|
|
40
|
+
export { label_6 as label };
|
|
41
|
+
}
|
|
42
|
+
namespace library {
|
|
43
|
+
export function source_7(color?: string): string;
|
|
44
|
+
export { source_7 as source };
|
|
45
|
+
let label_7: string;
|
|
46
|
+
export { label_7 as label };
|
|
47
|
+
}
|
|
48
|
+
namespace math {
|
|
49
|
+
export function source_8(color?: string): string;
|
|
50
|
+
export { source_8 as source };
|
|
51
|
+
let label_8: string;
|
|
52
|
+
export { label_8 as label };
|
|
53
|
+
}
|
|
54
|
+
namespace music {
|
|
55
|
+
export function source_9(color?: string): string;
|
|
56
|
+
export { source_9 as source };
|
|
57
|
+
let label_9: string;
|
|
58
|
+
export { label_9 as label };
|
|
59
|
+
}
|
|
60
|
+
namespace performingArts {
|
|
61
|
+
export function source_10(color?: string): string;
|
|
62
|
+
export { source_10 as source };
|
|
63
|
+
let label_10: string;
|
|
64
|
+
export { label_10 as label };
|
|
65
|
+
}
|
|
66
|
+
namespace physicalEducation {
|
|
67
|
+
export function source_11(color?: string): string;
|
|
68
|
+
export { source_11 as source };
|
|
69
|
+
let label_11: string;
|
|
70
|
+
export { label_11 as label };
|
|
71
|
+
}
|
|
72
|
+
namespace religion {
|
|
73
|
+
export function source_12(color?: string): string;
|
|
74
|
+
export { source_12 as source };
|
|
75
|
+
let label_12: string;
|
|
76
|
+
export { label_12 as label };
|
|
77
|
+
}
|
|
78
|
+
namespace science {
|
|
79
|
+
export function source_13(color?: string): string;
|
|
80
|
+
export { source_13 as source };
|
|
81
|
+
let label_13: string;
|
|
82
|
+
export { label_13 as label };
|
|
83
|
+
}
|
|
84
|
+
namespace socialStudies {
|
|
85
|
+
export function source_14(color?: string): string;
|
|
86
|
+
export { source_14 as source };
|
|
87
|
+
let label_14: string;
|
|
88
|
+
export { label_14 as label };
|
|
89
|
+
}
|
|
90
|
+
namespace technology {
|
|
91
|
+
export function source_15(color?: string): string;
|
|
92
|
+
export { source_15 as source };
|
|
93
|
+
let label_15: string;
|
|
94
|
+
export { label_15 as label };
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export function onSubmit(dispatch: any, onChange: any): (_editor: any, _accept: any, _selectedPanel: any, uploadData: any) => any;
|
|
2
|
+
export default Upload;
|
|
3
|
+
declare function Upload({ editor, dispatch, mountNode, onChange, canvasOrigin }: {
|
|
4
|
+
editor: any;
|
|
5
|
+
dispatch: any;
|
|
6
|
+
mountNode: any;
|
|
7
|
+
onChange: any;
|
|
8
|
+
canvasOrigin: any;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
declare namespace Upload {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
let editor: PropTypes.Validator<object>;
|
|
13
|
+
let dispatch: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
|
+
let onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
+
let mountNode: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.ReactElementLike | null | undefined>>;
|
|
16
|
+
let canvasOrigin: PropTypes.Validator<string>;
|
|
17
|
+
}
|
|
18
|
+
namespace defaultProps {
|
|
19
|
+
export function dispatch_1(): void;
|
|
20
|
+
export { dispatch_1 as dispatch };
|
|
21
|
+
export function onChange_1(): void;
|
|
22
|
+
export { onChange_1 as onChange };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
import React from 'react';
|
|
26
|
+
import PropTypes from 'prop-types';
|
package/es/rce/plugins/instructure_icon_maker/components/CreateIconMakerForm/ImageSection/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ImageSection } from "./ImageSection";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const ImageSettingsPropTypes: PropTypes.Requireable<PropTypes.InferProps<{
|
|
2
|
+
mode: PropTypes.Requireable<string>;
|
|
3
|
+
image: PropTypes.Requireable<string>;
|
|
4
|
+
imageName: PropTypes.Requireable<string>;
|
|
5
|
+
icon: PropTypes.Requireable<string>;
|
|
6
|
+
iconFillColor: PropTypes.Requireable<string>;
|
|
7
|
+
collectionOpen: PropTypes.Requireable<boolean>;
|
|
8
|
+
loading: PropTypes.Requireable<boolean>;
|
|
9
|
+
error: PropTypes.Requireable<string>;
|
|
10
|
+
cropperOpen: PropTypes.Requireable<boolean>;
|
|
11
|
+
cropperSettings: PropTypes.Requireable<PropTypes.InferProps<{
|
|
12
|
+
shape: PropTypes.Requireable<string>;
|
|
13
|
+
rotation: PropTypes.Requireable<number>;
|
|
14
|
+
scaleRatio: PropTypes.Requireable<number>;
|
|
15
|
+
translateX: PropTypes.Requireable<number>;
|
|
16
|
+
translateY: PropTypes.Requireable<number>;
|
|
17
|
+
direction: PropTypes.Requireable<number>;
|
|
18
|
+
}>>;
|
|
19
|
+
compressed: PropTypes.Requireable<boolean>;
|
|
20
|
+
}>>;
|
|
21
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CreateIconMakerForm } from "./CreateIconMakerForm";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export function IconMakerTray({ editor, onUnmount, editing, canvasOrigin }: {
|
|
2
|
+
editor: any;
|
|
3
|
+
onUnmount: any;
|
|
4
|
+
editing: any;
|
|
5
|
+
canvasOrigin: any;
|
|
6
|
+
}): React.JSX.Element;
|
|
7
|
+
export namespace IconMakerTray {
|
|
8
|
+
namespace propTypes {
|
|
9
|
+
let editor: PropTypes.Validator<object>;
|
|
10
|
+
let onUnmount: PropTypes.Requireable<(...args: any[]) => any>;
|
|
11
|
+
let editing: PropTypes.Requireable<boolean>;
|
|
12
|
+
let canvasOrigin: PropTypes.Validator<string>;
|
|
13
|
+
}
|
|
14
|
+
namespace defaultProps {
|
|
15
|
+
export function onUnmount_1(): void;
|
|
16
|
+
export { onUnmount_1 as onUnmount };
|
|
17
|
+
let editing_1: boolean;
|
|
18
|
+
export { editing_1 as editing };
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
import React from 'react';
|
|
22
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export default SavedIconMakerList;
|
|
2
|
+
declare function SavedIconMakerList(props: any): React.JSX.Element;
|
|
3
|
+
declare namespace SavedIconMakerList {
|
|
4
|
+
namespace propTypes {
|
|
5
|
+
let sortBy: PropTypes.Requireable<PropTypes.InferProps<{
|
|
6
|
+
sort: PropTypes.Validator<string>;
|
|
7
|
+
order: PropTypes.Validator<string>;
|
|
8
|
+
}>>;
|
|
9
|
+
let images: any;
|
|
10
|
+
let contextType: PropTypes.Validator<string>;
|
|
11
|
+
let searchString: PropTypes.Requireable<string>;
|
|
12
|
+
let onImageEmbed: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
+
let canvasOrigin: PropTypes.Requireable<string>;
|
|
14
|
+
let fetchInitialImages: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
+
let fetchNextImages: PropTypes.Requireable<(...args: any[]) => any>;
|
|
16
|
+
}
|
|
17
|
+
namespace defaultProps {
|
|
18
|
+
export namespace sortBy_1 {
|
|
19
|
+
let sort: string;
|
|
20
|
+
let order: string;
|
|
21
|
+
}
|
|
22
|
+
export { sortBy_1 as sortBy };
|
|
23
|
+
let searchString_1: string;
|
|
24
|
+
export { searchString_1 as searchString };
|
|
25
|
+
export function onImageEmbed_1(): void;
|
|
26
|
+
export { onImageEmbed_1 as onImageEmbed };
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
import React from 'react';
|
|
30
|
+
import PropTypes from 'prop-types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export namespace initialState {
|
|
2
|
+
let mode: string;
|
|
3
|
+
let image: string;
|
|
4
|
+
let imageName: string;
|
|
5
|
+
let icon: string;
|
|
6
|
+
let iconFillColor: string;
|
|
7
|
+
let collectionOpen: boolean;
|
|
8
|
+
let loading: boolean;
|
|
9
|
+
let error: undefined;
|
|
10
|
+
let cropperOpen: boolean;
|
|
11
|
+
let cropperSettings: null;
|
|
12
|
+
let compressed: boolean;
|
|
13
|
+
}
|
|
14
|
+
export namespace actions {
|
|
15
|
+
namespace RESET_ALL {
|
|
16
|
+
let type: string;
|
|
17
|
+
}
|
|
18
|
+
namespace SET_IMAGE {
|
|
19
|
+
let type_1: string;
|
|
20
|
+
export { type_1 as type };
|
|
21
|
+
}
|
|
22
|
+
namespace SET_IMAGE_NAME {
|
|
23
|
+
let type_2: string;
|
|
24
|
+
export { type_2 as type };
|
|
25
|
+
}
|
|
26
|
+
namespace SET_COMPRESSION_STATUS {
|
|
27
|
+
let type_3: string;
|
|
28
|
+
export { type_3 as type };
|
|
29
|
+
}
|
|
30
|
+
namespace CLEAR_IMAGE {
|
|
31
|
+
let type_4: string;
|
|
32
|
+
export { type_4 as type };
|
|
33
|
+
}
|
|
34
|
+
namespace SET_ICON {
|
|
35
|
+
let type_5: string;
|
|
36
|
+
export { type_5 as type };
|
|
37
|
+
}
|
|
38
|
+
namespace SET_ICON_FILL_COLOR {
|
|
39
|
+
let type_6: string;
|
|
40
|
+
export { type_6 as type };
|
|
41
|
+
}
|
|
42
|
+
namespace SET_IMAGE_COLLECTION_OPEN {
|
|
43
|
+
let type_7: string;
|
|
44
|
+
export { type_7 as type };
|
|
45
|
+
}
|
|
46
|
+
namespace START_LOADING {
|
|
47
|
+
let type_8: string;
|
|
48
|
+
export { type_8 as type };
|
|
49
|
+
}
|
|
50
|
+
namespace STOP_LOADING {
|
|
51
|
+
let type_9: string;
|
|
52
|
+
export { type_9 as type };
|
|
53
|
+
}
|
|
54
|
+
namespace CLEAR_MODE {
|
|
55
|
+
let type_10: string;
|
|
56
|
+
export { type_10 as type };
|
|
57
|
+
}
|
|
58
|
+
namespace UPDATE_SETTINGS {
|
|
59
|
+
let type_11: string;
|
|
60
|
+
export { type_11 as type };
|
|
61
|
+
}
|
|
62
|
+
namespace SET_CROPPER_OPEN {
|
|
63
|
+
let type_12: string;
|
|
64
|
+
export { type_12 as type };
|
|
65
|
+
}
|
|
66
|
+
namespace SET_CROPPER_SETTINGS {
|
|
67
|
+
let type_13: string;
|
|
68
|
+
export { type_13 as type };
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
export namespace modes {
|
|
72
|
+
namespace courseImages {
|
|
73
|
+
let type_14: string;
|
|
74
|
+
export { type_14 as type };
|
|
75
|
+
export let label: string;
|
|
76
|
+
}
|
|
77
|
+
namespace uploadImages {
|
|
78
|
+
let type_15: string;
|
|
79
|
+
export { type_15 as type };
|
|
80
|
+
let label_1: string;
|
|
81
|
+
export { label_1 as label };
|
|
82
|
+
}
|
|
83
|
+
namespace singleColorImages {
|
|
84
|
+
let type_16: string;
|
|
85
|
+
export { type_16 as type };
|
|
86
|
+
let label_2: string;
|
|
87
|
+
export { label_2 as label };
|
|
88
|
+
}
|
|
89
|
+
namespace multiColorImages {
|
|
90
|
+
let type_17: string;
|
|
91
|
+
export { type_17 as type };
|
|
92
|
+
let label_3: string;
|
|
93
|
+
export { label_3 as label };
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export default imageSection;
|
|
97
|
+
declare function imageSection(state: any, action: any): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export const defaultState: {
|
|
2
|
+
type: string;
|
|
3
|
+
alt: string;
|
|
4
|
+
isDecorative: boolean;
|
|
5
|
+
shape: string;
|
|
6
|
+
size: string;
|
|
7
|
+
color: null;
|
|
8
|
+
outlineColor: string;
|
|
9
|
+
outlineSize: string;
|
|
10
|
+
text: string;
|
|
11
|
+
textSize: string;
|
|
12
|
+
textColor: string;
|
|
13
|
+
textBackgroundColor: null;
|
|
14
|
+
textPosition: string;
|
|
15
|
+
externalStyle: null;
|
|
16
|
+
externalWidth: null;
|
|
17
|
+
externalHeight: null;
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
translateX: number;
|
|
21
|
+
translateY: number;
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
transform: string;
|
|
25
|
+
imageSettings: null;
|
|
26
|
+
embedImage: null;
|
|
27
|
+
error: null;
|
|
28
|
+
};
|
|
29
|
+
export namespace actions {
|
|
30
|
+
let SET_IMAGE_SETTINGS: string;
|
|
31
|
+
let SET_EMBED_IMAGE: string;
|
|
32
|
+
let SET_X: string;
|
|
33
|
+
let SET_Y: string;
|
|
34
|
+
let SET_TRANSLATE_X: string;
|
|
35
|
+
let SET_TRANSLATE_Y: string;
|
|
36
|
+
let SET_WIDTH: string;
|
|
37
|
+
let SET_HEIGHT: string;
|
|
38
|
+
let SET_ERROR: string;
|
|
39
|
+
}
|
|
40
|
+
export function svgSettings(state: any, action: any): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export const TYPE: "image/svg+xml-icon-maker-icons";
|
|
2
|
+
export const BUTTON_ID: "inst-icon-maker-edit";
|
|
3
|
+
export const TOOLBAR_ID: "inst-icon-maker-edit-toolbar";
|
|
4
|
+
export const ICON_MAKER_ATTRIBUTE: "data-inst-icon-maker-icon";
|
|
5
|
+
export const ICON_MAKER_DOWNLOAD_URL_ATTR: "data-download-url";
|
|
6
|
+
export const ICON_MAKER_ICONS: "icon_maker_icons";
|
|
7
|
+
export const ICON_MAKER_PARAM: "icon_maker_icon";
|
|
8
|
+
export const SVG_XML_TYPE: "image/svg+xml";
|
|
9
|
+
export const SVG_TYPE: "image/svg";
|
|
10
|
+
export namespace Size {
|
|
11
|
+
let None: string;
|
|
12
|
+
let ExtraSmall: string;
|
|
13
|
+
let Small: string;
|
|
14
|
+
let Medium: string;
|
|
15
|
+
let Large: string;
|
|
16
|
+
let ExtraLarge: string;
|
|
17
|
+
}
|
|
18
|
+
export namespace DEFAULT_SETTINGS {
|
|
19
|
+
export { TYPE as type };
|
|
20
|
+
export let alt: string;
|
|
21
|
+
export let isDecorative: boolean;
|
|
22
|
+
export let shape: string;
|
|
23
|
+
import size = Size.Small;
|
|
24
|
+
export { size };
|
|
25
|
+
export let color: null;
|
|
26
|
+
export let outlineColor: string;
|
|
27
|
+
import outlineSize = Size.None;
|
|
28
|
+
export { outlineSize };
|
|
29
|
+
export let text: string;
|
|
30
|
+
import textSize = Size.Small;
|
|
31
|
+
export { textSize };
|
|
32
|
+
export let textColor: string;
|
|
33
|
+
export let textBackgroundColor: null;
|
|
34
|
+
export let textPosition: string;
|
|
35
|
+
export let externalStyle: null;
|
|
36
|
+
export let externalWidth: null;
|
|
37
|
+
export let externalHeight: null;
|
|
38
|
+
export let x: number;
|
|
39
|
+
export let y: number;
|
|
40
|
+
export let translateX: number;
|
|
41
|
+
export let translateY: number;
|
|
42
|
+
export let width: number;
|
|
43
|
+
export let height: number;
|
|
44
|
+
export let transform: string;
|
|
45
|
+
export let imageSettings: null;
|
|
46
|
+
export let embedImage: null;
|
|
47
|
+
export let error: null;
|
|
48
|
+
}
|
|
49
|
+
export const BASE_SIZE: {
|
|
50
|
+
[x: string]: number;
|
|
51
|
+
};
|
|
52
|
+
export const STROKE_WIDTH: {
|
|
53
|
+
[x: string]: number;
|
|
54
|
+
};
|
|
55
|
+
export const TEXT_SIZE: {
|
|
56
|
+
[x: string]: number;
|
|
57
|
+
};
|
|
58
|
+
export const TEXT_SIZE_FONT_DIFF: {
|
|
59
|
+
[x: string]: number;
|
|
60
|
+
};
|
|
61
|
+
export const MAX_CHAR_COUNT: {
|
|
62
|
+
[x: string]: number;
|
|
63
|
+
};
|
|
64
|
+
export const MAX_TOTAL_TEXT_CHARS: 32;
|
|
65
|
+
export const TEXT_BACKGROUND_PADDING: 4;
|
|
66
|
+
export const ICON_PADDING: 4;
|