PageSourceSearch

https://alphasquare.co.kr/assets/IndicatorListLayout-e1fee311.js

js alphasquare.co.kr collected 2026-09-25 02:39:30 UTC 4,255 bytes, 2 lines download raw bytes

1import{i as b,o as i,c as r,d as l,q as m,a as v,t as E,s as f,ah as T,u as s,w as V,j as B,_ as w,l as S,k as D,U as L,F as _,e as g,cv as y,p as O,g as q}from"./index-1d80ddef.js";import{u as $}from"./use-break-points-73cbd094.js";import{P as N}from"./PageHeader-f48bf082.js";import{A as P,a as W}from"./ATabGroup-7b6bdf65.js";import{_ as z}from"./SettingIcon.vue_vue_type_script_setup_true_lang-b2490eb3.js";import{A as F}from"./ACheckbox-96dec2a7.js";import{A as G}from"./AListItem-598955d3.js";import{_ as U}from"./NewSlideLayout.vue_vue_type_style_index_0_lang-823b8acb.js";import"./ArrowLeftIcon.vue_vue_type_script_setup_true_lang-21d98747.js";import"./ADivider-4814eea1.js";import"./use-warp-transition-ab5f70dd.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[o]="cf261a91-7c75-4632-9b03-658303c7c1cb",n._sentryDebugIdIdentifier="sentry-dbid-cf261a91-7c75-4632-9b03-658303c7c1cb")}catch{}})();const j={class:"indicator-item"},H={class:"indicator-label"},M=b({__name:"IndicatorListItem",props:{item:{}},emits:["item-clicked","setting-clicked"],setup(n,{emit:o}){const e=n;return(k,c)=>(i(),r("div",j,[l(G,{clickable:"",class:"indicator-item__click-target",onClick:c[1]||(c[1]=d=>o("item-clicked"))},{leading:m(()=>[l(F,{checked:e.item.checked,size:"md"},null,8,["checked"])]),content:m(()=>[v("span",H,E(e.item.label),1)]),trailing:m(()=>[e.item.checked?(i(),f(T,{key:0,"left-icon":s(z),class:"btn-setting","data-role":"toggle-indicator-setting",onClick:c[0]||(c[0]=V(d=>o("setting-clicked"),["stop"]))},null,8,["left-icon"])):B("",!0)]),_:1})]))}});const I=w(M,[["__scopeId","data-v-3c121e2a"]]),A=n=>(O("data-v-0247e772"),n=n(),q(),n),R={class:"indicator-list"},J={key:1,class:"list-item-wrap"},K=A(()=>v("h3",{class:"title"},"차트지표",-1)),Q=A(()=>v("h3",{class:"title"},"보조지표",-1)),X=b({__name:"IndicatorList",props:{onchartIndicators:{},offchartIndicators:{},containerStyle:{}},emits:["indicator-clicked","setting-clicked"],setup(n,{emit:o}){const e=n,k=[{key:"onchart",label:"차트지표"},{key:"offchart",label:"보조지표"}],{greaterOrEqual:c}=$(),d=S(()=>a.value==="onchart"?e.onchartIndicators:a.value==="offchart"?e.offchartIndicators:[]),h=c("md"),a=D("onchart"),u=L();function x(){u.hide(y.EmbedChartIndicatorList)}return(Z,C)=>(i(),r("div",R,[l(N,{title:"보조지표","border-bottom":!!s(h),"has-close-btn":!0,onClose:x},null,8,["border-bottom"]),s(h)?(i(),r("div",J,[K,(i(!0),r(_,null,g(e.onchartIndicators,t=>(i(),f(I,{key:t.name,item:t,onClick:p=>o("indicator-clicked",t),onSettingClicked:p=>o("setting-clicked",t)},null,8,["item","onClick","onSettingClicked"]))),128)),Q,(i(!0),r(_,null,g(e.offchartIndicators,t=>(i(),f(I,{key:t.name,item:t,onClick:p=>o("indicator-clicked",t),onSettingClicked:p=>o("setting-clicked",t)},null,8,["item","onClick","onSettingClicked"]))),128))])):(i(),r(_,{key:0},[l(W,{modelValue:a.value,"onUpdate:modelValue":C[0]||(C[0]=t=>a.value=t),width:"fill",height:"md","font-size":"md",gap:"none"},{default:m(()=>[(i(),r(_,null,g(k,t=>l(P,{key:t.key,value:t.key,text:t.label},null,8,["value","text"])),64))]),_:1},8,["modelValue"]),(i(!0),r(_,null,g(d.value,t=>(i(),f(I,{key:t.name,item:t,onClick:p=>o("indicator-clicked",t),onSettingClicked:p=>o("setting-clicked",t)},null,8,["item","onClick","onSettingClicked"]))),128))],64))]))}});const Y=w(X,[["__scopeId","data-v-0247e772"]]),ut=b({__name:"IndicatorListLayout",setup(n){const e=L().useArgs(y.EmbedChartIndicatorList),{greaterOrEqual:k}=$(),c=k("md"),d=S(()=>c.value?{width:"24.8rem",marginTop:"0",top:"4.4rem"}:{width:"100%",maxWidth:"unset",marginTop:"0",height:"auto",top:"0",bottom:"0"});return(h,a)=>(i(),f(U,{name:s(y).EmbedChartIndicatorList,"container-style":d.value,direction:"left"},{default:m(()=>[l(Y,{"onchart-indicators":s(e).onchartIndicators,"offchart-indicators":s(e).offchartIndicators,onIndicatorClicked:a[0]||(a[0]=u=>s(e).onIndicatorClicked(u)),onSettingClicked:a[1]||(a[1]=u=>s(e).onSettingClicked(u))},null,8,["onchart-indicators","offchart-indicators"])]),_:1},8,["name","container-style"]))}});
1export{ut as default};
2//# sourceMappingURL=IndicatorListLayout-e1fee311.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.