Preferences app working with rollup

This commit is contained in:
nathangray 2021-06-30 13:30:27 -06:00
parent 608ab0eb53
commit 56e8d6aeff
2 changed files with 46 additions and 2 deletions

44
preferences/js/app.ts Normal file
View 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;

View File

@ -38,7 +38,7 @@ export default {
"addressbook/js/app": "addressbook/js/app.ts",
"admin/js/app": "admin/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",
"filemanager/js/app": "filemanager/js/app.ts",
//"home/js/app": "home/js/app.js",
@ -47,7 +47,7 @@ export default {
"mail/js/app.min": "mail/js/app.js",
//"news_admin/js/app.min": "news_admin/js/app.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",
"resources/js/app": "resources/js/app.ts",
"rocketchat/js/app.min": "rocketchat/js/app.js",