canary/app/profile/-view.tree/auth.view.tree.js
2025-08-17 18:20:07 +03:00

83 lines
No EOL
2.3 KiB
JavaScript

($.$hd_canary_app_auth) = class $hd_canary_app_auth extends ($.$mol_page) {
export_link(){
return "";
}
Export_link(){
const obj = new this.$.$mol_link();
(obj.uri) = () => ((this.export_link()));
(obj.title) = () => ((this.$.$mol_locale.text("$hd_canary_app_auth_Export_link_title")));
return obj;
}
export_rows(){
return [(this.Export_link())];
}
Export_block(){
const obj = new this.$.$mol_list();
(obj.rows) = () => ((this.export_rows()));
return obj;
}
Iport_descr(){
const obj = new this.$.$mol_text();
(obj.text) = () => ((this.$.$mol_locale.text("$hd_canary_app_auth_Iport_descr_text")));
return obj;
}
import_switch(next){
if(next !== undefined) return next;
return null;
}
peer_new(){
return "";
}
Peer_new(){
const obj = new this.$.$mol_avatar();
(obj.id) = () => ((this.peer_new()));
return obj;
}
impot_switch_title(){
return (this.$.$mol_locale.text("$hd_canary_app_auth_impot_switch_title"));
}
Import_switch(){
const obj = new this.$.$mol_button_minor();
(obj.click) = (next) => ((this.import_switch(next)));
(obj.sub) = () => ([(this.Peer_new()), (this.impot_switch_title())]);
return obj;
}
import_rows(){
return [(this.Iport_descr()), (this.Import_switch())];
}
Import_block(){
const obj = new this.$.$mol_list();
(obj.rows) = () => ((this.import_rows()));
return obj;
}
content(){
return [(this.Export_block()), (this.Import_block())];
}
Content(){
const obj = new this.$.$mol_list();
(obj.rows) = () => ((this.content()));
return obj;
}
title(){
return (this.$.$mol_locale.text("$hd_canary_app_auth_title"));
}
key_size(){
return 144;
}
attr(){
return {...(super.attr()), "mol_theme": "$mol_theme_special"};
}
body(){
return [(this.Content())];
}
};
($mol_mem(($.$hd_canary_app_auth.prototype), "Export_link"));
($mol_mem(($.$hd_canary_app_auth.prototype), "Export_block"));
($mol_mem(($.$hd_canary_app_auth.prototype), "Iport_descr"));
($mol_mem(($.$hd_canary_app_auth.prototype), "import_switch"));
($mol_mem(($.$hd_canary_app_auth.prototype), "Peer_new"));
($mol_mem(($.$hd_canary_app_auth.prototype), "Import_switch"));
($mol_mem(($.$hd_canary_app_auth.prototype), "Import_block"));
($mol_mem(($.$hd_canary_app_auth.prototype), "Content"));
//# sourceMappingURL=auth.view.tree.js.map