mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 09:03:36 +08:00
c96fa49853
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
26 lines
805 B
TypeScript
26 lines
805 B
TypeScript
/**
|
|
* The `EditGroupModal` component shows a modal dialog which allows the user
|
|
* to create or edit a group.
|
|
*/
|
|
export default class EditGroupModal extends Modal<import("../../common/components/Modal").IInternalModalAttrs> {
|
|
constructor();
|
|
group: any;
|
|
nameSingular: Stream<any> | undefined;
|
|
namePlural: Stream<any> | undefined;
|
|
icon: Stream<any> | undefined;
|
|
color: Stream<any> | undefined;
|
|
isHidden: Stream<any> | undefined;
|
|
fields(): ItemList<any>;
|
|
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";
|