converse.js
Version:
Browser based XMPP chat client
79 lines • 2.25 kB
TypeScript
export default class ModeratorTools extends CustomElement {
static get properties(): {
affiliation: {
type: StringConstructor;
};
affiliations_filter: {
type: StringConstructor;
attribute: boolean;
};
alert_message: {
type: StringConstructor;
attribute: boolean;
};
alert_type: {
type: StringConstructor;
attribute: boolean;
};
jid: {
type: StringConstructor;
};
muc: {
type: ObjectConstructor;
attribute: boolean;
};
role: {
type: StringConstructor;
};
roles_filter: {
type: StringConstructor;
attribute: boolean;
};
tab: {
type: StringConstructor;
};
users_with_affiliation: {
type: ArrayConstructor;
attribute: boolean;
};
users_with_role: {
type: ArrayConstructor;
attribute: boolean;
};
};
jid: any;
tab: string;
affiliation: any;
affiliations_filter: string;
roles_filter: string;
updated(changed: any): void;
initialize(): Promise<void>;
initialized: Promise<any> & {
isResolved: boolean;
isPending: boolean;
isRejected: boolean;
resolve: (value: any) => void;
reject: (reason?: any) => void;
};
muc: any;
render(): import("lit-html").TemplateResult<1> | "";
switchTab(ev: any): void;
onSearchAffiliationChange(): Promise<void>;
loading_users_with_affiliation: boolean;
users_with_affiliation: any;
onSearchRoleChange(): Promise<void>;
users_with_role: any;
shouldFetchAffiliationsList(): boolean;
toggleForm(ev: any): void;
filterRoleResults(ev: any): void;
filterAffiliationResults(ev: any): void;
queryRole(ev: any): void;
queryAffiliation(ev: any): void;
alert(message: any, type: any): void;
alert_message: any;
alert_type: any;
clearAlert(): void;
}
export type NonOutcastAffiliation = any;
import { CustomElement } from 'shared/components/element.js';
//# sourceMappingURL=modtools.d.ts.map