Newer
Older
alert / js / node_modules / flarum / admin / components / EditGroupModal.d.ts
@Réz István Réz István on 18 Nov 2021 660 bytes first commit
/**
 * The `EditGroupModal` component shows a modal dialog which allows the user
 * to create or edit a group.
 */
export default class EditGroupModal extends Modal {
    group: any;
    nameSingular: Stream<any>;
    namePlural: Stream<any>;
    icon: Stream<any>;
    color: Stream<any>;
    isHidden: Stream<any>;
    fields(): ItemList;
    submitData(): {
        nameSingular: any;
        namePlural: any;
        color: any;
        icon: any;
        isHidden: any;
    };
    deleteGroup(): void;
}
import Modal from "../../common/components/Modal";
import Stream from "../../common/utils/Stream";
import ItemList from "../../common/utils/ItemList";