($.$hd_canary_app_profile) = class $hd_canary_app_profile extends ($.$mol_page) { current_peer(){ return ""; } Current_peer_avatar(){ const obj = new this.$.$mol_avatar(); (obj.id) = () => ((this.current_peer())); return obj; } Current_profile_avatar_labeler(){ const obj = new this.$.$mol_labeler(); (obj.title) = () => ("Ваш аватар:"); (obj.content) = () => ([(this.Current_peer_avatar())]); return obj; } Current_peer_string(){ const obj = new this.$.$mol_string(); (obj.value) = () => ((this.current_peer())); (obj.enabled) = () => (false); return obj; } Current_profile_peer_labeler(){ const obj = new this.$.$mol_labeler(); (obj.title) = () => ("Ваш id:"); (obj.content) = () => ([(this.Current_peer_string())]); return obj; } Current_profile(){ const obj = new this.$.$mol_labeler(); (obj.title) = () => ("Текущий профиль"); (obj.content) = () => ([(this.Current_profile_avatar_labeler()), (this.Current_profile_peer_labeler())]); return obj; } auth_title(){ return "Авторизация"; } 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) = () => ((this.auth_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.Current_profile()), (this.Auth_block())]; } }; ($mol_mem(($.$hd_canary_app_profile.prototype), "Current_peer_avatar")); ($mol_mem(($.$hd_canary_app_profile.prototype), "Current_profile_avatar_labeler")); ($mol_mem(($.$hd_canary_app_profile.prototype), "Current_peer_string")); ($mol_mem(($.$hd_canary_app_profile.prototype), "Current_profile_peer_labeler")); ($mol_mem(($.$hd_canary_app_profile.prototype), "Current_profile")); ($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