mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-05 07:18:29 +08:00
1 line
1.1 KiB
JavaScript
1 line
1.1 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{Utg3:function(e,t,s){"use strict";s.r(t),s.d(t,"CharacterClassOptionsView",(function(){return i}));var l=s("zsIO"),n=s("FXpb"),a=s("sv1z"),c=(s("ePAx"),s("nsCy"));class i extends l.a{constructor(e){var t,s;super();const l=this.add(new a.a({class:"viewer_model_CharacterClassOptionsView_section_id",label:"Section ID:",items:c.f,selected:e.current_section_id,to_label:e=>null==e?"":c.e[e],enabled:e.enabled})),i=this.add(new a.a({class:"viewer_model_CharacterClassOptionsView_body",label:"Body:",items:e.current_body_options,selected:e.current_body,enabled:e.enabled}));this.element=Object(n.h)({className:"viewer_model_CharacterClassOptionsView"},Object(n.t)(Object(n.A)(Object(n.v)(null===(t=l.label)||void 0===t?void 0:t.element),Object(n.v)(l.element)),Object(n.A)(Object(n.v)(null===(s=i.label)||void 0===s?void 0:s.element),Object(n.v)(i.element)))),this.disposables(l.selected.observe(({value:t})=>e.set_current_section_id(t)),i.selected.observe(({value:t})=>e.set_current_body(t))),this.finalize_construction()}}}}]); |