mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 07:33:36 +08:00
45927f1068
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
26 lines
744 B
TypeScript
26 lines
744 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<any> {
|
|
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;
|
|
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";
|