File modules/cms/ui/themes/default/script/openrat/components.min.js

Last commit: Wed Mar 9 13:28:52 2022 +0100	dankert	Refactoring: Checkbox values are always sent to the server. In the actions we must test the value with 'isTrue()'
1 import editor from '../../../../../../template_engine/components/html/component_editor/editor.min.js'; 2 import group from '../../../../../../template_engine/components/html/component_group/group.min.js'; 3 import link from '../../../../../../template_engine/components/html/component_link/link.min.js'; 4 import qrcode from '../../../../../../template_engine/components/html/component_qrcode/qrcode.min.js'; 5 import table from '../../../../../../template_engine/components/html/component_table/table.min.js'; 6 import upload from '../../../../../../template_engine/components/html/component_upload/upload.min.js'; 7 import form from '../../../../../../template_engine/components/html/component_checkbox/checkbox.min.js'; 8 import Callback from "./callback.min.js"; 9 export default class Components { 10 registerComponents() { 11 console.debug('registering component scripts'); 12 Callback.afterViewLoadedHandler.add(editor); 13 Callback.afterViewLoadedHandler.add(group ); 14 Callback.afterViewLoadedHandler.add(link ); 15 Callback.afterViewLoadedHandler.add(qrcode); 16 Callback.afterViewLoadedHandler.add(table ); 17 Callback.afterViewLoadedHandler.add(upload); 18 Callback.afterViewLoadedHandler.add(form ); 19 } 20 }
Download modules/cms/ui/themes/default/script/openrat/components.min.js
History Wed, 9 Mar 2022 13:28:52 +0100 dankert Refactoring: Checkbox values are always sent to the server. In the actions we must test the value with 'isTrue()' Sat, 18 Dec 2021 03:47:23 +0100 dankert New: Every ES6-Module should have a minified version for performance reasons. Bad: The Minifier "Jsqueeze" is unable to minify ES6-modules, so we had to implement a simple JS-Minifier which strips out all comments.