2021-05-13 07:29:46 +08:00
|
|
|
/**
|
|
|
|
* The `EditGroupModal` component shows a modal dialog which allows the user
|
|
|
|
* to create or edit a group.
|
|
|
|
*/
|
2021-10-31 06:31:34 +08:00
|
|
|
export default class EditGroupModal extends Modal<any> {
|
|
|
|
constructor();
|
2021-05-13 07:29:46 +08:00
|
|
|
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";
|