($.$hd_canary_app_monitor) = class $hd_canary_app_monitor extends ($.$mol_page) { Theme(){ const obj = new this.$.$mol_theme_auto(); return obj; } status_total(){ return ""; } Status_total(){ const obj = new this.$.$mol_chip(); (obj.title) = () => ((this.status_total())); return obj; } add_url(next){ if(next !== undefined) return next; return ""; } add_submit(next){ if(next !== undefined) return next; return null; } Add_url(){ const obj = new this.$.$mol_string(); (obj.hint) = () => ((this.$.$mol_locale.text("$hd_canary_app_monitor_Add_url_hint"))); (obj.value) = (next) => ((this.add_url(next))); (obj.submit) = (next) => ((this.add_submit(next))); return obj; } add_title(next){ if(next !== undefined) return next; return ""; } Add_title(){ const obj = new this.$.$mol_string(); (obj.hint) = () => ((this.$.$mol_locale.text("$hd_canary_app_monitor_Add_title_hint"))); (obj.value) = (next) => ((this.add_title(next))); (obj.submit) = (next) => ((this.add_submit(next))); return obj; } Add_submit_icon(){ const obj = new this.$.$mol_icon_plus(); return obj; } Add_submit(){ const obj = new this.$.$mol_button_minor(); (obj.hint) = () => ((this.$.$mol_locale.text("$hd_canary_app_monitor_Add_submit_hint"))); (obj.click) = (next) => ((this.add_submit(next))); (obj.sub) = () => ([(this.Add_submit_icon())]); return obj; } Add(){ const obj = new this.$.$mol_view(); (obj.sub) = () => ([ (this.Add_url()), (this.Add_title()), (this.Add_submit()) ]); return obj; } Lights(){ const obj = new this.$.$mol_lights_toggle(); return obj; } target_status(id){ return ""; } Target_status(id){ const obj = new this.$.$mol_view(); (obj.sub) = () => ([(this.target_status(id))]); return obj; } target_title(id){ return ""; } target_url(id){ return ""; } Target_url(id){ const obj = new this.$.$mol_link(); (obj.title) = () => ((this.target_title(id))); (obj.uri) = () => ((this.target_url(id))); return obj; } target_remove(id){ return null; } Target_remove_icon(id){ const obj = new this.$.$mol_icon_close(); return obj; } Target_remove(id){ const obj = new this.$.$mol_button_minor(); (obj.click) = () => ((this.target_remove(id))); (obj.sub) = () => ([(this.Target_remove_icon(id))]); return obj; } Target_main(id){ const obj = new this.$.$mol_view(); (obj.sub) = () => ([ (this.Target_status(id)), (this.Target_url(id)), (this.Target_remove(id)) ]); return obj; } target_message(id, next){ if(next !== undefined) return next; return ""; } Target_message(id){ const obj = new this.$.$mol_view(); (obj.sub) = () => ([(this.target_message(id))]); return obj; } waiting_hint(){ return (this.$.$mol_locale.text("$hd_canary_app_monitor_waiting_hint")); } target_moment(id, next){ if(next !== undefined) return next; return (this.waiting_hint()); } Target_moment(id){ const obj = new this.$.$mol_view(); (obj.sub) = () => ([(this.target_moment(id))]); return obj; } target_rows(id){ return [ (this.Target_main(id)), (this.Target_message(id)), (this.Target_moment(id)) ]; } Target(id){ const obj = new this.$.$mol_list(); (obj.rows) = () => ((this.target_rows(id))); return obj; } target_list(){ return [(this.Target("0"))]; } Target_list(){ const obj = new this.$.$mol_gallery(); (obj.items) = () => ((this.target_list())); return obj; } title(){ return (this.$.$mol_locale.text("$hd_canary_app_monitor_title")); } targets(next){ if(next !== undefined) return next; return {}; } target_result(id, next){ if(next !== undefined) return next; return 1; } plugins(){ return [(this.Theme())]; } head(){ return [ (this.Status_total()), (this.Title()), (this.Add()), (this.Tools()) ]; } tools(){ return [(this.Lights())]; } body(){ return [(this.Target_list())]; } }; ($mol_mem(($.$hd_canary_app_monitor.prototype), "Theme")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "Status_total")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "add_url")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "add_submit")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "Add_url")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "add_title")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "Add_title")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "Add_submit_icon")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "Add_submit")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "Add")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "Lights")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "Target_status")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "Target_url")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "Target_remove_icon")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "Target_remove")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "Target_main")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "target_message")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "Target_message")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "target_moment")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "Target_moment")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "Target")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "Target_list")); ($mol_mem(($.$hd_canary_app_monitor.prototype), "targets")); ($mol_mem_key(($.$hd_canary_app_monitor.prototype), "target_result")); //# sourceMappingURL=monitor.view.tree.js.map