You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
25 KiB

{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/ComposerContext.ts","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/utils/selection.ts","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/utils/editing.ts","webpack:///./node_modules/matrix-react-sdk/src/components/views/settings/KeyboardShortcut.tsx","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/hooks/utils.ts","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/hooks/useSetCursorPosition.ts","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/hooks/useIsFocused.ts","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/bold.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/italic.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/underline.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/strikethrough.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/quote.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/inline_code.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/link.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/bulleted_list.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/numbered_list.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/code_block.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/indent_increase.svg","webpack:///./node_modules/matrix-react-sdk/res/img/element-icons/room/composer/indent_decrease.svg","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/components/LinkModal.tsx","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/components/FormattingButtons.tsx","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/hooks/useInputEventProcessor.ts","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/utils/event.ts","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/components/WysiwygComposer.tsx","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/hooks/useSelection.ts","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/components/Editor.tsx","webpack:///./node_modules/matrix-react-sdk/src/components/views/rooms/wysiwyg_composer/hooks/useIsExpanded.ts"],"names":["getDefaultContextValue","defaultValue","_objectSpread","selection","anchorNode","anchorOffset","focusNode","focusOffset","isForward","ComposerContext","createContext","useComposerContext","useContext","displayName","setSelection","_document$getSelectio","_document$getSelectio2","range","Range","setStart","setEnd","document","getSelection","removeAllRanges","addRange","Promise","resolve","setTimeout","isSelectionEmpty","Boolean","isCollapsed","isCaretAtStart","editor","child","firstChild","_child","isCaretAtEnd","_editor$childNodes","childNodes","length","item","_child$textContent","textContent","lastChild","endEditing","roomContext","dis","dispatch","action","Action","EditEvent","event","timelineRenderingType","FocusSendMessageComposer","context","cancelPreviousPendingEdit","mxClient","editorStateTransfer","previousEdit","getEvent","replacingEvent","status","EventStatus","QUEUED","NOT_SENT","cancelPendingEvent","KeyboardKey","_ref","name","last","icon","KEY_ICON","alternateName","ALTERNATE_KEY_NAME","React","createElement","Fragment","_t","KeyboardShortcut","_ref2","value","className","modifiersElement","ctrlOrCmdKey","push","key","IS_MAC","Key","META","CONTROL","ctrlKey","metaKey","altKey","ALT","shiftKey","SHIFT","focusCo