forked from extern/egroupware
Preferences app working with rollup
This commit is contained in:
parent
608ab0eb53
commit
56e8d6aeff
44
preferences/js/app.ts
Normal file
44
preferences/js/app.ts
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
/**
|
||||||
|
* EGroupware Preferences
|
||||||
|
*
|
||||||
|
* @link https://www.egroupware.org
|
||||||
|
* @author Ralf Becker <rb-At-egroupware.org>
|
||||||
|
* @package preferences
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {EgwApp} from '../../api/js/jsapi/egw_app';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* JavaScript for Preferences
|
||||||
|
*
|
||||||
|
* @augments AppJS
|
||||||
|
*/
|
||||||
|
export class PreferencesApp extends EgwApp
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
constructor()
|
||||||
|
{
|
||||||
|
// call parent
|
||||||
|
super("preferences");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is called when the etemplate2 object is loaded
|
||||||
|
* and ready. If you must store a reference to the et2 object,
|
||||||
|
* make sure to clean it up in destroy().
|
||||||
|
*
|
||||||
|
* @param et2 etemplate2 Newly ready object
|
||||||
|
* @param name
|
||||||
|
*/
|
||||||
|
et2_ready(et2, name)
|
||||||
|
{
|
||||||
|
// call parent
|
||||||
|
super.et2_ready(et2, name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// @ts-ignore
|
||||||
|
app.classes.preferences = PreferencesApp;
|
@ -38,7 +38,7 @@ export default {
|
|||||||
"addressbook/js/app": "addressbook/js/app.ts",
|
"addressbook/js/app": "addressbook/js/app.ts",
|
||||||
"admin/js/app": "admin/js/app.ts",
|
"admin/js/app": "admin/js/app.ts",
|
||||||
"bookmarks/js/app": "bookmarks/js/app.ts",
|
"bookmarks/js/app": "bookmarks/js/app.ts",
|
||||||
"calendar/js/app.min" : "calendar/js/app.ts",
|
"calendar/js/app" : "calendar/js/app.ts",
|
||||||
"collabora/js/app": "collabora/js/app.ts",
|
"collabora/js/app": "collabora/js/app.ts",
|
||||||
"filemanager/js/app": "filemanager/js/app.ts",
|
"filemanager/js/app": "filemanager/js/app.ts",
|
||||||
//"home/js/app": "home/js/app.js",
|
//"home/js/app": "home/js/app.js",
|
||||||
@ -47,7 +47,7 @@ export default {
|
|||||||
"mail/js/app.min": "mail/js/app.js",
|
"mail/js/app.min": "mail/js/app.js",
|
||||||
//"news_admin/js/app.min": "news_admin/js/app.js",
|
//"news_admin/js/app.min": "news_admin/js/app.js",
|
||||||
"notifications/js/notificationajaxpopup.min": "notifications/js/notificationajaxpopup.js",
|
"notifications/js/notificationajaxpopup.min": "notifications/js/notificationajaxpopup.js",
|
||||||
//"preferences/js/app": "preferences/js/app.js",
|
"preferences/js/app": "preferences/js/app.ts",
|
||||||
"projectmanager/js/app.min": "projectmanager/js/app.ts",
|
"projectmanager/js/app.min": "projectmanager/js/app.ts",
|
||||||
"resources/js/app": "resources/js/app.ts",
|
"resources/js/app": "resources/js/app.ts",
|
||||||
"rocketchat/js/app.min": "rocketchat/js/app.js",
|
"rocketchat/js/app.min": "rocketchat/js/app.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user