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

141 lines
No EOL
4.1 KiB
JavaScript

($.$hd_canary_app_profile) = class $hd_canary_app_profile extends ($.$mol_page) {
Expot_bid(){
const obj = new this.$.$mol_text();
(obj.text) = () => ((this.$.$mol_locale.text("$hd_canary_app_profile_Expot_bid_text")));
return obj;
}
password_bid(){
return "";
}
password(next){
if(next !== undefined) return next;
return "";
}
Password(){
const obj = new this.$.$mol_password();
(obj.value) = (next) => ((this.password(next)));
return obj;
}
Password_field(){
const obj = new this.$.$mol_form_field();
(obj.name) = () => ((this.$.$mol_locale.text("$hd_canary_app_profile_Password_field_name")));
(obj.bids) = () => ([(this.password_bid())]);
(obj.Content) = () => ((this.Password()));
return obj;
}
Export_pass(){
const obj = new this.$.$mol_list();
(obj.rows) = () => ([(this.Password_field())]);
return obj;
}
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_profile_Export_link_title")));
return obj;
}
export_rows(){
return [
(this.Expot_bid()),
(this.Export_pass()),
(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_profile_Iport_descr_text")));
return obj;
}
Import_pass(){
const obj = new this.$.$mol_list();
(obj.rows) = () => ([(this.Password_field())]);
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_profile_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_pass()),
(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;
}
Auth_block(){
const obj = new this.$.$mol_labeler();
(obj.title) = () => ("Авторизация");
(obj.content) = () => ([(this.Content())]);
return obj;
}
title(){
return (this.$.$mol_locale.text("$hd_canary_app_profile_title"));
}
key_size(){
return 144;
}
bid_pass_long(){
return (this.$.$mol_locale.text("$hd_canary_app_profile_bid_pass_long"));
}
attr(){
return {...(super.attr()), "mol_theme": "$mol_theme_special"};
}
body(){
return [(this.Auth_block())];
}
};
($mol_mem(($.$hd_canary_app_profile.prototype), "Expot_bid"));
($mol_mem(($.$hd_canary_app_profile.prototype), "password"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Password"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Password_field"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Export_pass"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Export_link"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Export_block"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Iport_descr"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Import_pass"));
($mol_mem(($.$hd_canary_app_profile.prototype), "import_switch"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Peer_new"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Import_switch"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Import_block"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Content"));
($mol_mem(($.$hd_canary_app_profile.prototype), "Auth_block"));
//# sourceMappingURL=profile.view.tree.js.map