Newer
Older
alert / js / node_modules / flarum / forum / components / EditUserModal.d.ts
@Réz István Réz István on 18 Nov 2021 676 bytes first commit
/**
 * The `EditUserModal` component displays a modal dialog with a login form.
 */
export default class EditUserModal extends Modal {
    username: Stream<any>;
    email: Stream<any>;
    isEmailConfirmed: Stream<any>;
    setPassword: Stream<boolean>;
    password: Stream<any>;
    groups: {};
    fields(): ItemList;
    activate(): void;
    data(): {
        relationships: {};
    };
    nonAdminEditingAdmin(): boolean;
    /**
     * @internal
     * @protected
     */
    protected userIsAdmin(user: any): any;
}
import Modal from "../../common/components/Modal";
import Stream from "../../common/utils/Stream";
import ItemList from "../../common/utils/ItemList";