import * as UiDropdownReusable from "../Dropdown/Reusable";
import * as UiNotification from "../Notification";
import * as UiScroll from "../Scroll";
-
-import { ElementVisibility, ItemData, MessageInlineEditorOptions } from "./InlineEditor/Data";
+import {
+ AjaxResponseEditor,
+ AjaxResponseMessage,
+ ElementVisibility,
+ ItemData,
+ MessageInlineEditorOptions,
+} from "./InlineEditor/Data";
interface ElementData {
button: HTMLAnchorElement;
promises: Promise<void>[];
}
-interface AjaxResponseEditor extends ResponseData {
- returnValues: {
- template: string;
- };
-}
-
-interface AjaxResponseMessage extends ResponseData {
- returnValues: {
- attachmentList?: string;
- message: string;
- poll?: string;
- };
-}
-
class UiMessageInlineEditor implements AjaxCallbackObject {
protected _activeDropdownElement: HTMLElement | null;
protected _activeElement: HTMLElement | null;
+import { ResponseData } from "../../../Ajax/Data";
+
export interface MessageInlineEditorOptions {
canEditInline: boolean;
export interface ElementVisibility {
[key: string]: boolean;
}
+
+export interface AjaxResponseEditor extends ResponseData {
+ returnValues: {
+ template: string;
+ };
+}
+
+export interface AjaxResponseMessage extends ResponseData {
+ returnValues: {
+ attachmentList?: string;
+ message: string;
+ poll?: string;
+ };
+}