st-comp 0.0.170 → 0.0.171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +112 -103
- package/es/KlinePlus.cjs +3 -3
- package/es/KlinePlus.js +455 -423
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +165 -165
- package/lib/{index-ce5ad56d.js → index-42745784.js} +8151 -8110
- package/lib/{python-9ba1e842.js → python-bea23b43.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineConfig/config.js +9 -5
- package/packages/KlineConfig/index.vue +22 -15
- package/packages/KlinePlus/index.vue +34 -5
- package/packages/KlinePlus/utils.js +18 -1
package/es/KlineConfig.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./base-bdc10baa.cjs"),q=require("./el-overlay-e5d318c3.cjs"),$=require("./el-button-960edd49.cjs");require("./el-scrollbar-8bf765f2.cjs");const O=require("./el-segmented-bccd9f2a.cjs");require("./el-tag-8d49d4d2.cjs");const A=require("./el-select-1d2309a1.cjs"),U=require("./el-popper-14a9d493.cjs"),R=require("./el-divider-40c50ce7.cjs"),e=require("vue"),K=require("./_plugin-vue_export-helper-f246444f.cjs"),g=require("./index-19fa1fcf.cjs"),E=require("./use-form-common-props-592797e2.cjs"),b=require("./index-d94bae37.cjs"),M=require("./index-8d3c5e96.cjs"),x=require("./index-02ca0096.cjs");require("./vnode-1b827c99.cjs");require("./scroll-4769a65d.cjs");require("./use-global-config-584b62f1.cjs");require("./index-eea0bcb3.cjs");require("./index-a99a5307.cjs");require("./castArray-37eb9980.cjs");require("./index-5b81f4da.cjs");require("./debounce-9e323221.cjs");const H=r.buildProps({...q.dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),j=q.dialogEmits,G=e.defineComponent({name:"ElDrawer",inheritAttrs:!1}),J=e.defineComponent({...G,props:H,emits:j,setup(s,{expose:B}){const m=s,i=e.useSlots();M.useDeprecated({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},e.computed(()=>!!i.title));const V=e.ref(),k=e.ref(),n=r.useNamespace("drawer"),{t:o}=x.useLocale(),{afterEnter:p,afterLeave:N,beforeLeave:C,visible:_,rendered:P,titleId:w,bodyId:d,zIndex:a,onModalClick:S,onOpenAutoFocus:c,onCloseAutoFocus:f,onFocusoutPrevented:I,onCloseRequested:h,handleClose:l}=q.useDialog(m,V),u=e.computed(()=>m.direction==="rtl"||m.direction==="ltr"),T=e.computed(()=>r.addUnit(m.size));return B({handleClose:l,afterEnter:p,afterLeave:N}),(t,v)=>(e.openBlock(),e.createBlock(e.unref(b.ElTeleport),{to:t.appendTo,disabled:t.appendTo!=="body"?!1:!t.appendToBody},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:e.unref(n).b("fade"),onAfterEnter:e.unref(p),onAfterLeave:e.unref(N),onBeforeLeave:e.unref(C),persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(q.ElOverlay),{mask:t.modal,"overlay-class":t.modalClass,"z-index":e.unref(a),onClick:e.unref(S)},{default:e.withCtx(()=>[e.createVNode(e.unref(b.ElFocusTrap),{loop:"",trapped:e.unref(_),"focus-trap-el":V.value,"focus-start-el":k.value,onFocusAfterTrapped:e.unref(c),onFocusAfterReleased:e.unref(f),onFocusoutPrevented:e.unref(I),onReleaseRequested:e.unref(h)},{default:e.withCtx(()=>[e.createElementVNode("div",e.mergeProps({ref_key:"drawerRef",ref:V,"aria-modal":"true","aria-label":t.title||void 0,"aria-labelledby":t.title?void 0:e.unref(w),"aria-describedby":e.unref(d)},t.$attrs,{class:[e.unref(n).b(),t.direction,e.unref(_)&&"open"],style:e.unref(u)?"width: "+e.unref(T):"height: "+e.unref(T),role:"dialog",onClick:e.withModifiers(()=>{},["stop"])}),[e.createElementVNode("span",{ref_key:"focusStartRef",ref:k,class:e.normalizeClass(e.unref(n).e("sr-focus")),tabindex:"-1"},null,2),t.withHeader?(e.openBlock(),e.createElementBlock("header",{key:0,class:e.normalizeClass([e.unref(n).e("header"),t.headerClass])},[t.$slots.title?e.renderSlot(t.$slots,"title",{key:1},()=>[e.createCommentVNode(" DEPRECATED SLOT ")]):e.renderSlot(t.$slots,"header",{key:0,close:e.unref(l),titleId:e.unref(w),titleClass:e.unref(n).e("title")},()=>[t.$slots.title?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",{key:0,id:e.unref(w),role:"heading","aria-level":t.headerAriaLevel,class:e.normalizeClass(e.unref(n).e("title"))},e.toDisplayString(t.title),11,["id","aria-level"]))]),t.showClose?(e.openBlock(),e.createElementBlock("button",{key:2,"aria-label":e.unref(o)("el.drawer.close"),class:e.normalizeClass(e.unref(n).e("close-btn")),type:"button",onClick:e.unref(l)},[e.createVNode(e.unref(g.ElIcon),{class:e.normalizeClass(e.unref(n).e("close"))},{default:e.withCtx(()=>[e.createVNode(e.unref(g.close_default))]),_:1},8,["class"])],10,["aria-label","onClick"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.unref(P)?(e.openBlock(),e.createElementBlock("div",{key:1,id:e.unref(d),class:e.normalizeClass([e.unref(n).e("body"),t.bodyClass])},[e.renderSlot(t.$slots,"default")],10,["id"])):e.createCommentVNode("v-if",!0),t.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass([e.unref(n).e("footer"),t.footerClass])},[e.renderSlot(t.$slots,"footer")],2)):e.createCommentVNode("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[e.vShow,e.unref(_)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var W=r._export_sfc(J,[["__file","drawer.vue"]]);const Q=r.withInstall(W),X=r.buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:O.isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:E.iconPropType},activeActionIcon:{type:E.iconPropType},activeIcon:{type:E.iconPropType},inactiveIcon:{type:E.iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:r.definePropType(Function)},id:String,tabindex:{type:[String,Number]},...U.useAriaProps(["ariaLabel"])}),Y={[b.UPDATE_MODEL_EVENT]:s=>r.isBoolean(s)||r.isString(s)||r.isNumber(s),[b.CHANGE_EVENT]:s=>r.isBoolean(s)||r.isString(s)||r.isNumber(s),[b.INPUT_EVENT]:s=>r.isBoolean(s)||r.isString(s)||r.isNumber(s)},L="ElSwitch",Z=e.defineComponent({name:L}),ee=e.defineComponent({...Z,props:X,emits:Y,setup(s,{expose:B,emit:m}){const i=s,{formItem:V}=E.useFormItem(),k=E.useFormSize(),n=r.useNamespace("switch"),{inputId:o}=E.useFormItemInputId(i,{formItemContext:V}),p=E.useFormDisabled(e.computed(()=>i.loading)),N=e.ref(i.modelValue!==!1),C=e.ref(),_=e.ref(),P=e.computed(()=>[n.b(),n.m(k.value),n.is("disabled",p.value),n.is("checked",c.value)]),w=e.computed(()=>[n.e("label"),n.em("label","left"),n.is("active",!c.value)]),d=e.computed(()=>[n.e("label"),n.em("label","right"),n.is("active",c.value)]),a=e.computed(()=>({width:r.addUnit(i.width)}));e.watch(()=>i.modelValue,()=>{N.value=!0});const S=e.computed(()=>N.value?i.modelValue:!1),c=e.computed(()=>S.value===i.activeValue);[i.activeValue,i.inactiveValue].includes(S.value)||(m(b.UPDATE_MODEL_EVENT,i.inactiveValue),m(b.CHANGE_EVENT,i.inactiveValue),m(b.INPUT_EVENT,i.inactiveValue)),e.watch(c,l=>{var u;C.value.checked=l,i.validateEvent&&((u=V==null?void 0:V.validate)==null||u.call(V,"change").catch(T=>r.debugWarn(T)))});const f=()=>{const l=c.value?i.inactiveValue:i.activeValue;m(b.UPDATE_MODEL_EVENT,l),m(b.CHANGE_EVENT,l),m(b.INPUT_EVENT,l),e.nextTick(()=>{C.value.checked=c.value})},I=()=>{if(p.value)return;const{beforeChange:l}=i;if(!l){f();return}const u=l();[r.isPromise(u),r.isBoolean(u)].includes(!0)||r.throwError(L,"beforeChange must return type `Promise<boolean>` or `boolean`"),r.isPromise(u)?u.then(t=>{t&&f()}).catch(t=>{r.debugWarn(L,`some error occurred: ${t}`)}):u&&f()},h=()=>{var l,u;(u=(l=C.value)==null?void 0:l.focus)==null||u.call(l)};return e.onMounted(()=>{C.value.checked=c.value}),B({focus:h,checked:c}),(l,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(P)),onClick:e.withModifiers(I,["prevent"])},[e.createElementVNode("input",{id:e.unref(o),ref_key:"input",ref:C,class:e.normalizeClass(e.unref(n).e("input")),type:"checkbox",role:"switch","aria-checked":e.unref(c),"aria-disabled":e.unref(p),"aria-label":l.ariaLabel,name:l.name,"true-value":l.activeValue,"false-value":l.inactiveValue,disabled:e.unref(p),tabindex:l.tabindex,onChange:f,onKeydown:e.withKeys(I,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!l.inlinePrompt&&(l.inactiveIcon||l.inactiveText)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(w))},[l.inactiveIcon?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.inactiveIcon)))]),_:1})):e.createCommentVNode("v-if",!0),!l.inactiveIcon&&l.inactiveText?(e.openBlock(),e.createElementBlock("span",{key:1,"aria-hidden":e.unref(c)},e.toDisplayString(l.inactiveText),9,["aria-hidden"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("span",{ref_key:"core",ref:_,class:e.normalizeClass(e.unref(n).e("core")),style:e.normalizeStyle(e.unref(a))},[l.inlinePrompt?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(n).e("inner"))},[l.activeIcon||l.inactiveIcon?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0,class:e.normalizeClass(e.unref(n).is("icon"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(c)?l.activeIcon:l.inactiveIcon)))]),_:1},8,["class"])):l.activeText||l.inactiveText?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(n).is("text")),"aria-hidden":!e.unref(c)},e.toDisplayString(e.unref(c)?l.activeText:l.inactiveText),11,["aria-hidden"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).e("action"))},[l.loading?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0,class:e.normalizeClass(e.unref(n).is("loading"))},{default:e.withCtx(()=>[e.createVNode(e.unref(g.loading_default))]),_:1},8,["class"])):e.unref(c)?e.renderSlot(l.$slots,"active-action",{key:1},()=>[l.activeActionIcon?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.activeActionIcon)))]),_:1})):e.createCommentVNode("v-if",!0)]):e.unref(c)?e.createCommentVNode("v-if",!0):e.renderSlot(l.$slots,"inactive-action",{key:2},()=>[l.inactiveActionIcon?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.inactiveActionIcon)))]),_:1})):e.createCommentVNode("v-if",!0)])],2)],6),!l.inlinePrompt&&(l.activeIcon||l.activeText)?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(d))},[l.activeIcon?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.activeIcon)))]),_:1})):e.createCommentVNode("v-if",!0),!l.activeIcon&&l.activeText?(e.openBlock(),e.createElementBlock("span",{key:1,"aria-hidden":!e.unref(c)},e.toDisplayString(l.activeText),9,["aria-hidden"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0)],10,["onClick"]))}});var te=r._export_sfc(ee,[["__file","switch.vue"]]);const le=r.withInstall(te);const oe=[{label:"买卖",value:0},{label:"开平",value:1}],D=()=>({mainIndicator:"MA",sellBuy:1,singelCycle:"6",multiCycleNum:6,multiCycleList:["1","2","3","4","5","6"],pageType:1,enable_subChart:!0,enable_sliderChart:!0,enable_tradeLogBrush:!0,enable_dbClickOpenSingel:!0,enable_showScreenTimeRange:!0}),ne=(s,B)=>{var m;return((m=B.find(i=>i.value===s))==null?void 0:m.label)??"-"};const y=s=>(e.pushScopeId("data-v-db5abf51"),s=s(),e.popScopeId(),s),ae={class:"kline-config element-dark"},re={class:"setting-item"},se=y(()=>e.createElementVNode("span",{class:"label"},"默认主图指标: ",-1)),ie={class:"setting-item"},ce=y(()=>e.createElementVNode("span",{class:"label"},"成交点显示模式: ",-1)),de={class:"setting-item"},ue=y(()=>e.createElementVNode("span",{class:"label"},"单周期默认展示: ",-1)),me={class:"setting-item"},pe=y(()=>e.createElementVNode("span",{class:"label"},"多周期默认展示: ",-1)),fe={class:"mode"},ve={class:"cycleName"},be={class:"content"},Ve={class:"setting-item"},ke=y(()=>e.createElementVNode("span",{class:"label"},"默认展示模块: ",-1)),ye={class:"setting-item"},Ce=y(()=>e.createElementVNode("span",{class:"label"},"启用副图: ",-1)),he={class:"setting-item"},ge=y(()=>e.createElementVNode("span",{class:"label"},"启用拖拽轴: ",-1)),Ne={class:"setting-item"},Ee=y(()=>e.createElementVNode("span",{class:"label"},"交易范围高亮: ",-1)),Be={class:"setting-item"},_e=y(()=>e.createElementVNode("span",{class:"label"},"双击跳转单周期: ",-1)),we={class:"setting-item"},Se=y(()=>e.createElementVNode("span",{class:"label"},"显示K线当屏时间范围: ",-1)),Ie={class:"setting-footer"},Te={__name:"index",props:{indicatorStore:{type:Object,default:()=>({})},origin:{type:String,default:"server"},cycleOptions:{type:Array,default:()=>[]}},emits:"callBack",setup(s,{expose:B,emit:m}){const{request:i}=e.inject("stConfig"),V=m,k=s,n=e.ref(!1),o=e.reactive({}),p=e.ref([]),N=e.ref([]),C=()=>{Object.assign(o,D())},_=async()=>{const d=JSON.stringify(o);k.origin==="server"?await i.post("/common/qt/updateUserConfig",{appId:1,json:d}):localStorage.setItem("userKlineConfig",d),V("callBack",d),n.value=!1},P=async()=>{if(k.origin==="server"){const{body:d}=await i.post("/common/qt/getUserConfig",{appId:1});Object.assign(o,D(),d?JSON.parse(d):{})}else{const d=localStorage.getItem("userKlineConfig");Object.assign(o,D(),d?JSON.parse(d):{})}},w=async()=>{if(k.origin==="server"){const{body:d}=await i.post("/common/qt/getDict",{dictIds:[1002]});p.value=d[1002].map(a=>({label:a.dictName,value:a.dictCode}))}else p.value=k.cycleOptions};return e.onMounted(()=>{w(),N.value=k.indicatorStore.mainIndicatorList??[]}),B({open:async()=>{await P(),n.value=!0},getDefaultUserKlineConfig:D}),(d,a)=>{const S=R.ElDivider,c=A.ElOption,f=A.ElSelect,I=O.ElSegmented,h=le,l=U.ElScrollbar,u=$.ElButton,T=Q;return e.openBlock(),e.createElementBlock("div",ae,[e.createVNode(T,{modelValue:n.value,"onUpdate:modelValue":a[10]||(a[10]=t=>n.value=t),title:"K线自定义配置",size:320},{default:e.withCtx(()=>[e.createVNode(l,{class:"setting-main"},{default:e.withCtx(()=>[e.createVNode(S,{style:{"margin-top":"8px"}},{default:e.withCtx(()=>[e.createTextVNode("偏好设置")]),_:1}),e.createElementVNode("div",re,[se,e.createVNode(f,{modelValue:o.mainIndicator,"onUpdate:modelValue":a[0]||(a[0]=t=>o.mainIndicator=t),"popper-class":"element-dark"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(t,v)=>(e.openBlock(),e.createBlock(c,{key:v,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",ie,[ce,e.createVNode(f,{modelValue:o.sellBuy,"onUpdate:modelValue":a[1]||(a[1]=t=>o.sellBuy=t),"popper-class":"element-dark"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(oe),(t,v)=>(e.openBlock(),e.createBlock(c,{key:v,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",de,[ue,e.createVNode(f,{modelValue:o.singelCycle,"onUpdate:modelValue":a[2]||(a[2]=t=>o.singelCycle=t),"popper-class":"element-dark"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(t,v)=>(e.openBlock(),e.createBlock(c,{key:v,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",me,[pe,e.createVNode(I,{size:"small",modelValue:o.multiCycleNum,"onUpdate:modelValue":a[3]||(a[3]=t=>o.multiCycleNum=t),options:[{label:"二图",value:2},{label:"四图",value:4},{label:"六图",value:6}],style:{height:"26px"}},null,8,["modelValue"])]),e.createElementVNode("div",{class:e.normalizeClass(`setting-multi-box grid-${o.multiCycleNum}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.multiCycleList.slice(0,o.multiCycleNum),(t,v)=>(e.openBlock(),e.createElementBlock("div",fe,[e.createElementVNode("div",ve,[e.createElementVNode("span",null,e.toDisplayString(e.unref(ne)(o.multiCycleList[v],p.value)),1),e.createVNode(f,{modelValue:o.multiCycleList[v],"onUpdate:modelValue":z=>o.multiCycleList[v]=z,"popper-class":"element-dark"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(z,F)=>(e.openBlock(),e.createBlock(c,{key:F,label:z.label,value:z.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("span",be,e.toDisplayString(v+1)+"号位K线",1)]))),256))],2),e.createElementVNode("div",Ve,[ke,e.createVNode(I,{size:"small",modelValue:o.pageType,"onUpdate:modelValue":a[4]||(a[4]=t=>o.pageType=t),options:[{label:"单周期",value:1},{label:"多周期",value:2}],style:{height:"26px"}},null,8,["modelValue"])]),e.createVNode(S,{style:{"margin-top":"44px"}},{default:e.withCtx(()=>[e.createTextVNode("功能配置")]),_:1}),e.createElementVNode("div",ye,[Ce,e.createVNode(h,{modelValue:o.enable_subChart,"onUpdate:modelValue":a[5]||(a[5]=t=>o.enable_subChart=t)},null,8,["modelValue"])]),e.createElementVNode("div",he,[ge,e.createVNode(h,{modelValue:o.enable_sliderChart,"onUpdate:modelValue":a[6]||(a[6]=t=>o.enable_sliderChart=t)},null,8,["modelValue"])]),e.createElementVNode("div",Ne,[Ee,e.createVNode(h,{modelValue:o.enable_tradeLogBrush,"onUpdate:modelValue":a[7]||(a[7]=t=>o.enable_tradeLogBrush=t)},null,8,["modelValue"])]),e.createElementVNode("div",Be,[_e,e.createVNode(h,{modelValue:o.enable_dbClickOpenSingel,"onUpdate:modelValue":a[8]||(a[8]=t=>o.enable_dbClickOpenSingel=t)},null,8,["modelValue"])]),e.createElementVNode("div",we,[Se,e.createVNode(h,{modelValue:o.enable_showScreenTimeRange,"onUpdate:modelValue":a[9]||(a[9]=t=>o.enable_showScreenTimeRange=t)},null,8,["modelValue"])])]),_:1}),e.createElementVNode("div",Ie,[e.createVNode(u,{onClick:C},{default:e.withCtx(()=>[e.createTextVNode(" 恢复默认 ")]),_:1}),e.createVNode(u,{type:"primary",onClick:_},{default:e.withCtx(()=>[e.createTextVNode(" 保存配置 ")]),_:1})])]),_:1},8,["modelValue"])])}}},Pe=K._export_sfc(Te,[["__scopeId","data-v-db5abf51"]]),ze={install(s){s.component("st-klineConfig",Pe)}};module.exports=ze;
|
|
1
|
+
"use strict";const r=require("./base-bdc10baa.cjs"),q=require("./el-overlay-e5d318c3.cjs"),$=require("./el-button-960edd49.cjs");require("./el-scrollbar-8bf765f2.cjs");const O=require("./el-segmented-bccd9f2a.cjs");require("./el-tag-8d49d4d2.cjs");const A=require("./el-select-1d2309a1.cjs"),U=require("./el-popper-14a9d493.cjs"),R=require("./el-divider-40c50ce7.cjs"),e=require("vue"),K=require("./_plugin-vue_export-helper-f246444f.cjs"),g=require("./index-19fa1fcf.cjs"),B=require("./use-form-common-props-592797e2.cjs"),V=require("./index-d94bae37.cjs"),x=require("./index-8d3c5e96.cjs"),M=require("./index-02ca0096.cjs");require("./vnode-1b827c99.cjs");require("./scroll-4769a65d.cjs");require("./use-global-config-584b62f1.cjs");require("./index-eea0bcb3.cjs");require("./index-a99a5307.cjs");require("./castArray-37eb9980.cjs");require("./index-5b81f4da.cjs");require("./debounce-9e323221.cjs");const H=r.buildProps({...q.dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),j=q.dialogEmits,G=e.defineComponent({name:"ElDrawer",inheritAttrs:!1}),J=e.defineComponent({...G,props:H,emits:j,setup(s,{expose:_}){const m=s,i=e.useSlots();x.useDeprecated({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},e.computed(()=>!!i.title));const b=e.ref(),y=e.ref(),n=r.useNamespace("drawer"),{t:o}=M.useLocale(),{afterEnter:p,afterLeave:N,beforeLeave:k,visible:w,rendered:P,titleId:S,bodyId:d,zIndex:a,onModalClick:E,onOpenAutoFocus:c,onCloseAutoFocus:f,onFocusoutPrevented:I,onCloseRequested:h,handleClose:l}=q.useDialog(m,b),u=e.computed(()=>m.direction==="rtl"||m.direction==="ltr"),T=e.computed(()=>r.addUnit(m.size));return _({handleClose:l,afterEnter:p,afterLeave:N}),(t,v)=>(e.openBlock(),e.createBlock(e.unref(V.ElTeleport),{to:t.appendTo,disabled:t.appendTo!=="body"?!1:!t.appendToBody},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:e.unref(n).b("fade"),onAfterEnter:e.unref(p),onAfterLeave:e.unref(N),onBeforeLeave:e.unref(k),persisted:""},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(q.ElOverlay),{mask:t.modal,"overlay-class":t.modalClass,"z-index":e.unref(a),onClick:e.unref(E)},{default:e.withCtx(()=>[e.createVNode(e.unref(V.ElFocusTrap),{loop:"",trapped:e.unref(w),"focus-trap-el":b.value,"focus-start-el":y.value,onFocusAfterTrapped:e.unref(c),onFocusAfterReleased:e.unref(f),onFocusoutPrevented:e.unref(I),onReleaseRequested:e.unref(h)},{default:e.withCtx(()=>[e.createElementVNode("div",e.mergeProps({ref_key:"drawerRef",ref:b,"aria-modal":"true","aria-label":t.title||void 0,"aria-labelledby":t.title?void 0:e.unref(S),"aria-describedby":e.unref(d)},t.$attrs,{class:[e.unref(n).b(),t.direction,e.unref(w)&&"open"],style:e.unref(u)?"width: "+e.unref(T):"height: "+e.unref(T),role:"dialog",onClick:e.withModifiers(()=>{},["stop"])}),[e.createElementVNode("span",{ref_key:"focusStartRef",ref:y,class:e.normalizeClass(e.unref(n).e("sr-focus")),tabindex:"-1"},null,2),t.withHeader?(e.openBlock(),e.createElementBlock("header",{key:0,class:e.normalizeClass([e.unref(n).e("header"),t.headerClass])},[t.$slots.title?e.renderSlot(t.$slots,"title",{key:1},()=>[e.createCommentVNode(" DEPRECATED SLOT ")]):e.renderSlot(t.$slots,"header",{key:0,close:e.unref(l),titleId:e.unref(S),titleClass:e.unref(n).e("title")},()=>[t.$slots.title?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",{key:0,id:e.unref(S),role:"heading","aria-level":t.headerAriaLevel,class:e.normalizeClass(e.unref(n).e("title"))},e.toDisplayString(t.title),11,["id","aria-level"]))]),t.showClose?(e.openBlock(),e.createElementBlock("button",{key:2,"aria-label":e.unref(o)("el.drawer.close"),class:e.normalizeClass(e.unref(n).e("close-btn")),type:"button",onClick:e.unref(l)},[e.createVNode(e.unref(g.ElIcon),{class:e.normalizeClass(e.unref(n).e("close"))},{default:e.withCtx(()=>[e.createVNode(e.unref(g.close_default))]),_:1},8,["class"])],10,["aria-label","onClick"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.unref(P)?(e.openBlock(),e.createElementBlock("div",{key:1,id:e.unref(d),class:e.normalizeClass([e.unref(n).e("body"),t.bodyClass])},[e.renderSlot(t.$slots,"default")],10,["id"])):e.createCommentVNode("v-if",!0),t.$slots.footer?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass([e.unref(n).e("footer"),t.footerClass])},[e.renderSlot(t.$slots,"footer")],2)):e.createCommentVNode("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[e.vShow,e.unref(w)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var W=r._export_sfc(J,[["__file","drawer.vue"]]);const Q=r.withInstall(W),X=r.buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:O.isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:B.iconPropType},activeActionIcon:{type:B.iconPropType},activeIcon:{type:B.iconPropType},inactiveIcon:{type:B.iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:r.definePropType(Function)},id:String,tabindex:{type:[String,Number]},...U.useAriaProps(["ariaLabel"])}),Y={[V.UPDATE_MODEL_EVENT]:s=>r.isBoolean(s)||r.isString(s)||r.isNumber(s),[V.CHANGE_EVENT]:s=>r.isBoolean(s)||r.isString(s)||r.isNumber(s),[V.INPUT_EVENT]:s=>r.isBoolean(s)||r.isString(s)||r.isNumber(s)},L="ElSwitch",Z=e.defineComponent({name:L}),ee=e.defineComponent({...Z,props:X,emits:Y,setup(s,{expose:_,emit:m}){const i=s,{formItem:b}=B.useFormItem(),y=B.useFormSize(),n=r.useNamespace("switch"),{inputId:o}=B.useFormItemInputId(i,{formItemContext:b}),p=B.useFormDisabled(e.computed(()=>i.loading)),N=e.ref(i.modelValue!==!1),k=e.ref(),w=e.ref(),P=e.computed(()=>[n.b(),n.m(y.value),n.is("disabled",p.value),n.is("checked",c.value)]),S=e.computed(()=>[n.e("label"),n.em("label","left"),n.is("active",!c.value)]),d=e.computed(()=>[n.e("label"),n.em("label","right"),n.is("active",c.value)]),a=e.computed(()=>({width:r.addUnit(i.width)}));e.watch(()=>i.modelValue,()=>{N.value=!0});const E=e.computed(()=>N.value?i.modelValue:!1),c=e.computed(()=>E.value===i.activeValue);[i.activeValue,i.inactiveValue].includes(E.value)||(m(V.UPDATE_MODEL_EVENT,i.inactiveValue),m(V.CHANGE_EVENT,i.inactiveValue),m(V.INPUT_EVENT,i.inactiveValue)),e.watch(c,l=>{var u;k.value.checked=l,i.validateEvent&&((u=b==null?void 0:b.validate)==null||u.call(b,"change").catch(T=>r.debugWarn(T)))});const f=()=>{const l=c.value?i.inactiveValue:i.activeValue;m(V.UPDATE_MODEL_EVENT,l),m(V.CHANGE_EVENT,l),m(V.INPUT_EVENT,l),e.nextTick(()=>{k.value.checked=c.value})},I=()=>{if(p.value)return;const{beforeChange:l}=i;if(!l){f();return}const u=l();[r.isPromise(u),r.isBoolean(u)].includes(!0)||r.throwError(L,"beforeChange must return type `Promise<boolean>` or `boolean`"),r.isPromise(u)?u.then(t=>{t&&f()}).catch(t=>{r.debugWarn(L,`some error occurred: ${t}`)}):u&&f()},h=()=>{var l,u;(u=(l=k.value)==null?void 0:l.focus)==null||u.call(l)};return e.onMounted(()=>{k.value.checked=c.value}),_({focus:h,checked:c}),(l,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(P)),onClick:e.withModifiers(I,["prevent"])},[e.createElementVNode("input",{id:e.unref(o),ref_key:"input",ref:k,class:e.normalizeClass(e.unref(n).e("input")),type:"checkbox",role:"switch","aria-checked":e.unref(c),"aria-disabled":e.unref(p),"aria-label":l.ariaLabel,name:l.name,"true-value":l.activeValue,"false-value":l.inactiveValue,disabled:e.unref(p),tabindex:l.tabindex,onChange:f,onKeydown:e.withKeys(I,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!l.inlinePrompt&&(l.inactiveIcon||l.inactiveText)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(S))},[l.inactiveIcon?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.inactiveIcon)))]),_:1})):e.createCommentVNode("v-if",!0),!l.inactiveIcon&&l.inactiveText?(e.openBlock(),e.createElementBlock("span",{key:1,"aria-hidden":e.unref(c)},e.toDisplayString(l.inactiveText),9,["aria-hidden"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("span",{ref_key:"core",ref:w,class:e.normalizeClass(e.unref(n).e("core")),style:e.normalizeStyle(e.unref(a))},[l.inlinePrompt?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(n).e("inner"))},[l.activeIcon||l.inactiveIcon?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0,class:e.normalizeClass(e.unref(n).is("icon"))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(c)?l.activeIcon:l.inactiveIcon)))]),_:1},8,["class"])):l.activeText||l.inactiveText?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(n).is("text")),"aria-hidden":!e.unref(c)},e.toDisplayString(e.unref(c)?l.activeText:l.inactiveText),11,["aria-hidden"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(n).e("action"))},[l.loading?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0,class:e.normalizeClass(e.unref(n).is("loading"))},{default:e.withCtx(()=>[e.createVNode(e.unref(g.loading_default))]),_:1},8,["class"])):e.unref(c)?e.renderSlot(l.$slots,"active-action",{key:1},()=>[l.activeActionIcon?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.activeActionIcon)))]),_:1})):e.createCommentVNode("v-if",!0)]):e.unref(c)?e.createCommentVNode("v-if",!0):e.renderSlot(l.$slots,"inactive-action",{key:2},()=>[l.inactiveActionIcon?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.inactiveActionIcon)))]),_:1})):e.createCommentVNode("v-if",!0)])],2)],6),!l.inlinePrompt&&(l.activeIcon||l.activeText)?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(d))},[l.activeIcon?(e.openBlock(),e.createBlock(e.unref(g.ElIcon),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.activeIcon)))]),_:1})):e.createCommentVNode("v-if",!0),!l.activeIcon&&l.activeText?(e.openBlock(),e.createElementBlock("span",{key:1,"aria-hidden":!e.unref(c)},e.toDisplayString(l.activeText),9,["aria-hidden"])):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0)],10,["onClick"]))}});var te=r._export_sfc(ee,[["__file","switch.vue"]]);const le=r.withInstall(te);const oe=[{label:"买卖",value:0},{label:"开平",value:1}],D=()=>({mainIndicator:"MA",sellBuy:1,singelCycle:"6",multiCycleNum:6,multiCycleList:["1","2","3","4","5","6"],pageType:1,enable_tradeLogBrush:!0,enable_showScreenTimeRange:!0,enable_dbClickOpenSingel:!0,enable_subChart:!0,enable_sliderChart:!0}),ne=(s,_)=>{var m;return((m=_.find(i=>i.value===s))==null?void 0:m.label)??"-"};const C=s=>(e.pushScopeId("data-v-0cecb8f3"),s=s(),e.popScopeId(),s),ae={class:"kline-config element-dark"},re={class:"setting-item"},se=C(()=>e.createElementVNode("span",{class:"label"},"主图指标: ",-1)),ie={class:"setting-item"},ce=C(()=>e.createElementVNode("span",{class:"label"},"交易点位: ",-1)),de={class:"setting-item"},ue=C(()=>e.createElementVNode("span",{class:"label"},"单周期: ",-1)),me={class:"setting-item"},pe=C(()=>e.createElementVNode("span",{class:"label"},"多周期: ",-1)),fe={class:"mode"},ve={class:"cycleName"},Ve={class:"content"},be={class:"setting-item"},ye=C(()=>e.createElementVNode("span",{class:"label"},"默认展示: ",-1)),Ce={class:"setting-item"},ke=C(()=>e.createElementVNode("span",{class:"label"},"高亮交易范围: ",-1)),he={class:"setting-item"},ge=C(()=>e.createElementVNode("span",{class:"label"},"展示当屏时间: ",-1)),Ne={class:"setting-item"},Ee=C(()=>e.createElementVNode("span",{class:"label"},"多周期双击图表切换至单周期: ",-1)),Be={class:"setting-item"},_e=C(()=>e.createElementVNode("span",{class:"label"},"开启副图: ",-1)),we={class:"setting-item"},Se=C(()=>e.createElementVNode("span",{class:"label"},"开启拖拽轴: ",-1)),Ie={class:"setting-footer"},Te={__name:"index",props:{indicatorStore:{type:Object,default:()=>({})},origin:{type:String,default:"server"},cycleOptions:{type:Array,default:()=>[]}},emits:"callBack",setup(s,{expose:_,emit:m}){const{request:i}=e.inject("stConfig"),b=m,y=s,n=e.ref(!1),o=e.reactive({}),p=e.ref([]),N=e.ref([]),k=()=>{Object.assign(o,D())},w=async()=>{const d=JSON.stringify(o);y.origin==="server"?await i.post("/common/qt/updateUserConfig",{appId:1,json:d}):localStorage.setItem("userKlineConfig",d),b("callBack",d),n.value=!1},P=async()=>{if(y.origin==="server"){const{body:d}=await i.post("/common/qt/getUserConfig",{appId:1});Object.assign(o,D(),d?JSON.parse(d):{})}else{const d=localStorage.getItem("userKlineConfig");Object.assign(o,D(),d?JSON.parse(d):{})}},S=async()=>{if(y.origin==="server"){const{body:d}=await i.post("/common/qt/getDict",{dictIds:[1002]});p.value=d[1002].map(a=>({label:a.dictName,value:a.dictCode}))}else p.value=y.cycleOptions};return e.onMounted(()=>{S(),N.value=y.indicatorStore.mainIndicatorList??[]}),_({open:async()=>{await P(),n.value=!0},getDefaultUserKlineConfig:D}),(d,a)=>{const E=R.ElDivider,c=A.ElOption,f=A.ElSelect,I=O.ElSegmented,h=le,l=U.ElScrollbar,u=$.ElButton,T=Q;return e.openBlock(),e.createElementBlock("div",ae,[e.createVNode(T,{modelValue:n.value,"onUpdate:modelValue":a[10]||(a[10]=t=>n.value=t),title:"K线自定义配置",size:320},{default:e.withCtx(()=>[e.createVNode(l,{class:"setting-main"},{default:e.withCtx(()=>[e.createVNode(E,{style:{"margin-top":"8px"}},{default:e.withCtx(()=>[e.createTextVNode("偏好设置")]),_:1}),e.createElementVNode("div",re,[se,e.createVNode(f,{modelValue:o.mainIndicator,"onUpdate:modelValue":a[0]||(a[0]=t=>o.mainIndicator=t),"popper-class":"element-dark"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(t,v)=>(e.openBlock(),e.createBlock(c,{key:v,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",ie,[ce,e.createVNode(f,{modelValue:o.sellBuy,"onUpdate:modelValue":a[1]||(a[1]=t=>o.sellBuy=t),"popper-class":"element-dark"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(oe),(t,v)=>(e.openBlock(),e.createBlock(c,{key:v,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",de,[ue,e.createVNode(f,{modelValue:o.singelCycle,"onUpdate:modelValue":a[2]||(a[2]=t=>o.singelCycle=t),"popper-class":"element-dark"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(t,v)=>(e.openBlock(),e.createBlock(c,{key:v,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",me,[pe,e.createVNode(I,{size:"small",modelValue:o.multiCycleNum,"onUpdate:modelValue":a[3]||(a[3]=t=>o.multiCycleNum=t),options:[{label:"二图",value:2},{label:"四图",value:4},{label:"六图",value:6}],style:{height:"26px"}},null,8,["modelValue"])]),e.createElementVNode("div",{class:e.normalizeClass(`setting-multi-box grid-${o.multiCycleNum}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.multiCycleList.slice(0,o.multiCycleNum),(t,v)=>(e.openBlock(),e.createElementBlock("div",fe,[e.createElementVNode("div",ve,[e.createElementVNode("span",null,e.toDisplayString(e.unref(ne)(o.multiCycleList[v],p.value)),1),e.createVNode(f,{modelValue:o.multiCycleList[v],"onUpdate:modelValue":z=>o.multiCycleList[v]=z,"popper-class":"element-dark"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(z,F)=>(e.openBlock(),e.createBlock(c,{key:F,label:z.label,value:z.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),e.createElementVNode("span",Ve,e.toDisplayString(v+1)+"号位K线",1)]))),256))],2),e.createElementVNode("div",be,[ye,e.createVNode(I,{size:"small",modelValue:o.pageType,"onUpdate:modelValue":a[4]||(a[4]=t=>o.pageType=t),options:[{label:"单周期",value:1},{label:"多周期",value:2}],style:{height:"26px"}},null,8,["modelValue"])]),e.createVNode(E,{style:{"margin-top":"44px"}},{default:e.withCtx(()=>[e.createTextVNode("功能配置")]),_:1}),e.createElementVNode("div",Ce,[ke,e.createVNode(h,{modelValue:o.enable_tradeLogBrush,"onUpdate:modelValue":a[5]||(a[5]=t=>o.enable_tradeLogBrush=t)},null,8,["modelValue"])]),e.createElementVNode("div",he,[ge,e.createVNode(h,{modelValue:o.enable_showScreenTimeRange,"onUpdate:modelValue":a[6]||(a[6]=t=>o.enable_showScreenTimeRange=t)},null,8,["modelValue"])]),e.createElementVNode("div",Ne,[Ee,e.createVNode(h,{modelValue:o.enable_dbClickOpenSingel,"onUpdate:modelValue":a[7]||(a[7]=t=>o.enable_dbClickOpenSingel=t)},null,8,["modelValue"])]),e.createVNode(E,{style:{"margin-top":"44px"}},{default:e.withCtx(()=>[e.createTextVNode("组件开关")]),_:1}),e.createElementVNode("div",Be,[_e,e.createVNode(h,{modelValue:o.enable_subChart,"onUpdate:modelValue":a[8]||(a[8]=t=>o.enable_subChart=t)},null,8,["modelValue"])]),e.createElementVNode("div",we,[Se,e.createVNode(h,{modelValue:o.enable_sliderChart,"onUpdate:modelValue":a[9]||(a[9]=t=>o.enable_sliderChart=t)},null,8,["modelValue"])])]),_:1}),e.createElementVNode("div",Ie,[e.createVNode(u,{onClick:k},{default:e.withCtx(()=>[e.createTextVNode(" 恢复默认 ")]),_:1}),e.createVNode(u,{type:"primary",onClick:w},{default:e.withCtx(()=>[e.createTextVNode(" 保存配置 ")]),_:1})])]),_:1},8,["modelValue"])])}}},Pe=K._export_sfc(Te,[["__scopeId","data-v-0cecb8f3"]]),ze={install(s){s.component("st-klineConfig",Pe)}};module.exports=ze;
|