st-comp 0.0.173 → 0.0.175

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.
Files changed (76) hide show
  1. package/es/ChartLayout.js +3 -3
  2. package/es/Dialog.js +14 -14
  3. package/es/FactorWarning.cjs +1 -1
  4. package/es/FactorWarning.js +337 -817
  5. package/es/Kline.js +16 -16
  6. package/es/KlineBasic.js +26 -26
  7. package/es/KlineConfig.cjs +1 -1
  8. package/es/KlineConfig.js +41 -40
  9. package/es/KlineNew.js +14 -14
  10. package/es/KlinePlus.js +17 -17
  11. package/es/Pagination.js +19 -19
  12. package/es/PasswordPrompt.js +3 -3
  13. package/es/Table.js +21 -21
  14. package/es/User.js +39 -39
  15. package/es/VarSelectDialog.cjs +2 -2
  16. package/es/VarSelectDialog.js +173 -169
  17. package/es/VarietySearch.cjs +6 -6
  18. package/es/VarietySearch.js +1055 -1033
  19. package/es/VirtualTable.js +494 -494
  20. package/es/{_initCloneObject-a9305c1e.js → _initCloneObject-da90eef0.js} +3 -3
  21. package/es/{base-4bcd2756.js → base-d9284bf0.js} +23 -23
  22. package/es/{castArray-681d750b.js → castArray-b0ab0165.js} +1 -1
  23. package/es/{config-provider-93846ae3.js → config-provider-f0151e9f.js} +10 -10
  24. package/es/{debounce-51046b06.js → debounce-3cec4646.js} +1 -1
  25. package/es/{dropdown-65e74de8.js → dropdown-82b80e8b.js} +6 -6
  26. package/es/{el-button-d39472d3.js → el-button-34665425.js} +9 -9
  27. package/es/{el-dialog-f45ec2a1.js → el-dialog-a412484e.js} +17 -17
  28. package/es/{el-divider-7cf13678.js → el-divider-fd2b4e2e.js} +4 -4
  29. package/es/{el-empty-64b2ea8a.js → el-empty-412fc297.js} +2 -2
  30. package/es/{el-form-item-b31e7a98.js → el-form-item-668ba024.js} +65 -65
  31. package/es/{el-input-42315ac4.js → el-input-22e66e37.js} +22 -22
  32. package/es/{el-input-number-ebd64e22.js → el-input-number-481e21c5.js} +26 -26
  33. package/es/{el-loading-5d29f26d.js → el-loading-d4e403ab.js} +5 -5
  34. package/es/{el-menu-item-d62e0a3f.js → el-menu-item-404c10e5.js} +8 -8
  35. package/es/el-message-box-41f39f6d.js +558 -0
  36. package/es/el-message-box-6694f827.cjs +1 -0
  37. package/es/{el-message-bd1d2c82.js → el-message-ef506caa.js} +24 -24
  38. package/es/{el-overlay-690b50aa.js → el-overlay-4a9fa4e1.js} +30 -30
  39. package/es/{el-popconfirm-88bbd066.js → el-popconfirm-7b9183aa.js} +6 -6
  40. package/es/{el-popper-85365d5b.js → el-popper-e73466eb.js} +5 -5
  41. package/es/{el-scrollbar-bcf29780.js → el-scrollbar-45318df0.js} +8 -8
  42. package/es/el-segmented-3ba6d664.cjs +1 -0
  43. package/es/el-segmented-41820018.js +135 -0
  44. package/es/{el-select-d3bce4d1.js → el-select-d7a00294.js} +13 -13
  45. package/es/{el-table-column-9691b26d.js → el-table-column-a2d0c635.js} +122 -122
  46. package/es/{el-tag-6036f51c.js → el-tag-7f391090.js} +32 -32
  47. package/es/{index-d3c37134.js → index-1c41bd56.js} +3 -3
  48. package/es/index-3120be08.js +14 -0
  49. package/es/{index-fbe85773.js → index-85a32a00.js} +15 -15
  50. package/es/{index-21fb27eb.js → index-94f38460.js} +19 -19
  51. package/es/{index-ef7c4392.js → index-a8e9ec0f.js} +23 -23
  52. package/es/{index-cb8157f2.js → index-d577b81b.js} +2 -2
  53. package/es/{index-8ee89b40.js → index-d99fdc6d.js} +8 -8
  54. package/es/{index-3425f2f0.js → index-ee1cebbc.js} +5 -5
  55. package/es/{raf-36faa519.js → raf-bfbf42e4.js} +1 -1
  56. package/es/{scroll-0277d145.js → scroll-e3cb691f.js} +2 -2
  57. package/es/style.css +1 -1
  58. package/es/{use-form-common-props-54c31983.js → use-form-common-props-cc347a83.js} +36 -36
  59. package/es/{use-global-config-946f61a4.js → use-global-config-c7f0a7e3.js} +3 -3
  60. package/es/validator-10fa54fe.js +5 -0
  61. package/es/validator-af488a9a.cjs +1 -0
  62. package/es/{vnode-dfc92f20.js → vnode-6be33bb1.js} +1 -1
  63. package/es/{zh-cn-5066f5e9.js → zh-cn-d883afa8.js} +2 -2
  64. package/lib/bundle.js +1 -1
  65. package/lib/bundle.umd.cjs +172 -172
  66. package/lib/{index-c35886c2.js → index-d3f4c395.js} +11045 -11020
  67. package/lib/{python-37ee7d62.js → python-0128b724.js} +1 -1
  68. package/lib/style.css +1 -1
  69. package/package.json +1 -1
  70. package/packages/VarSelectDialog/index.vue +5 -1
  71. package/packages/VarietySearch/components/FactorScreen/index.vue +271 -254
  72. package/es/el-checkbox-group-020b49f5.cjs +0 -1
  73. package/es/el-checkbox-group-779f353a.js +0 -67
  74. package/es/el-segmented-84707138.js +0 -136
  75. package/es/el-segmented-bccd9f2a.cjs +0 -1
  76. package/es/index-c45ac024.js +0 -14
package/es/Kline.js CHANGED
@@ -1,27 +1,27 @@
1
- import "./base-4bcd2756.js";
2
- import { E as he, a as Ce } from "./el-menu-item-d62e0a3f.js";
1
+ import "./base-d9284bf0.js";
2
+ import { E as he, a as Ce } from "./el-menu-item-404c10e5.js";
3
3
  import "./el-tooltip-4ed993c7.js";
4
- import "./el-popper-85365d5b.js";
4
+ import "./el-popper-e73466eb.js";
5
5
  import { defineComponent as Me, openBlock as C, createElementBlock as v, createElementVNode as K, Fragment as ae, renderList as le, normalizeStyle as ye, toDisplayString as q, ref as S, renderSlot as De, createCommentVNode as xe, nextTick as Ye, computed as W, watch as H, onMounted as de, onUnmounted as ge, createVNode as V, withCtx as X, createBlock as Ae, createTextVNode as Oe, normalizeClass as ke } from "vue";
6
6
  import * as oe from "echarts";
7
7
  import { _ as $ } from "./_plugin-vue_export-helper-dad06003.js";
8
8
  import { x as re } from "./index-7ed0999e.js";
9
9
  import { i as ve, t as be } from "./index.esm-8d9a2abe.js";
10
- import "./el-tag-6036f51c.js";
11
- import { E as Ee, a as Se } from "./el-select-d3bce4d1.js";
12
- import "./el-scrollbar-bcf29780.js";
13
- import "./index-3425f2f0.js";
14
- import "./index-21fb27eb.js";
10
+ import "./el-tag-7f391090.js";
11
+ import { E as Ee, a as Se } from "./el-select-d7a00294.js";
12
+ import "./el-scrollbar-45318df0.js";
13
+ import "./index-ee1cebbc.js";
14
+ import "./index-94f38460.js";
15
15
  import "./index-657047bb.js";
16
- import "./use-form-common-props-54c31983.js";
17
- import "./index-ef7c4392.js";
16
+ import "./use-form-common-props-cc347a83.js";
17
+ import "./index-a8e9ec0f.js";
18
18
  import "./typescript-7ae59c4c.js";
19
- import "./vnode-dfc92f20.js";
20
- import "./index-d3c37134.js";
21
- import "./castArray-681d750b.js";
22
- import "./index-fbe85773.js";
23
- import "./scroll-0277d145.js";
24
- import "./debounce-51046b06.js";
19
+ import "./vnode-6be33bb1.js";
20
+ import "./index-1c41bd56.js";
21
+ import "./castArray-b0ab0165.js";
22
+ import "./index-85a32a00.js";
23
+ import "./scroll-e3cb691f.js";
24
+ import "./debounce-3cec4646.js";
25
25
  const Fe = { class: "st-kline-tips" }, Qe = { class: "st-kline-tips-row" }, _e = /* @__PURE__ */ Me({
26
26
  __name: "index",
27
27
  props: {
package/es/KlineBasic.js CHANGED
@@ -1,38 +1,38 @@
1
- import "./base-4bcd2756.js";
2
- import { E as Ee } from "./el-dialog-f45ec2a1.js";
3
- import "./el-overlay-690b50aa.js";
4
- import "./el-input-42315ac4.js";
5
- import { E as Be } from "./el-input-number-ebd64e22.js";
6
- import { E as Oe } from "./el-button-d39472d3.js";
7
- import { E as Ie } from "./el-empty-64b2ea8a.js";
8
- import { E as $e, a as Pe } from "./el-menu-item-d62e0a3f.js";
1
+ import "./base-d9284bf0.js";
2
+ import { E as Ee } from "./el-dialog-a412484e.js";
3
+ import "./el-overlay-4a9fa4e1.js";
4
+ import "./el-input-22e66e37.js";
5
+ import { E as Be } from "./el-input-number-481e21c5.js";
6
+ import { E as Oe } from "./el-button-34665425.js";
7
+ import { E as Ie } from "./el-empty-412fc297.js";
8
+ import { E as $e, a as Pe } from "./el-menu-item-404c10e5.js";
9
9
  import "./el-tooltip-4ed993c7.js";
10
- import "./el-popper-85365d5b.js";
10
+ import "./el-popper-e73466eb.js";
11
11
  import { defineComponent as he, openBlock as E, createElementBlock as O, Fragment as le, renderList as me, normalizeStyle as ye, toDisplayString as ce, computed as G, createVNode as B, ref as R, onMounted as _e, onUnmounted as we, nextTick as De, createElementVNode as K, withCtx as z, createBlock as ke, createCommentVNode as Z, renderSlot as Ye, watch as We, createTextVNode as re, pushScopeId as Ne, popScopeId as qe } from "vue";
12
12
  import * as fe from "echarts";
13
13
  import { d as u } from "./dayjs.min-54a4e095.js";
14
14
  import { y as Ce, v as ze, U as Ke, K as Ue, V as J, x as ge, D as He } from "./index-7ed0999e.js";
15
- import { E as ie } from "./el-message-bd1d2c82.js";
15
+ import { E as ie } from "./el-message-ef506caa.js";
16
16
  import { _ as Q } from "./_plugin-vue_export-helper-dad06003.js";
17
- import "./el-tag-6036f51c.js";
18
- import { E as je, a as Ze } from "./el-select-d3bce4d1.js";
19
- import "./el-scrollbar-bcf29780.js";
20
- import "./index-21fb27eb.js";
21
- import "./index-3425f2f0.js";
22
- import "./use-form-common-props-54c31983.js";
23
- import "./index-ef7c4392.js";
24
- import "./index-c45ac024.js";
25
- import "./vnode-dfc92f20.js";
26
- import "./scroll-0277d145.js";
27
- import "./use-global-config-946f61a4.js";
17
+ import "./el-tag-7f391090.js";
18
+ import { E as je, a as Ze } from "./el-select-d7a00294.js";
19
+ import "./el-scrollbar-45318df0.js";
20
+ import "./index-94f38460.js";
21
+ import "./index-ee1cebbc.js";
22
+ import "./use-form-common-props-cc347a83.js";
23
+ import "./index-a8e9ec0f.js";
24
+ import "./index-3120be08.js";
25
+ import "./vnode-6be33bb1.js";
26
+ import "./scroll-e3cb691f.js";
27
+ import "./use-global-config-c7f0a7e3.js";
28
28
  import "./typescript-7ae59c4c.js";
29
- import "./index-fbe85773.js";
29
+ import "./index-85a32a00.js";
30
30
  import "./index-657047bb.js";
31
31
  import "./_commonjsHelpers-10dfc225.js";
32
- import "./config-provider-93846ae3.js";
33
- import "./index-d3c37134.js";
34
- import "./castArray-681d750b.js";
35
- import "./debounce-51046b06.js";
32
+ import "./config-provider-f0151e9f.js";
33
+ import "./index-1c41bd56.js";
34
+ import "./castArray-b0ab0165.js";
35
+ import "./debounce-3cec4646.js";
36
36
  let j = null;
37
37
  const Xe = (n) => {
38
38
  const k = Ce(n, {
@@ -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"),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;
1
+ "use strict";const r=require("./base-bdc10baa.cjs"),D=require("./el-overlay-e5d318c3.cjs"),F=require("./el-button-960edd49.cjs");require("./el-scrollbar-8bf765f2.cjs");const $=require("./el-segmented-3ba6d664.cjs");require("./el-tag-8d49d4d2.cjs");const A=require("./el-select-1d2309a1.cjs"),O=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"),x=require("./validator-af488a9a.cjs"),B=require("./use-form-common-props-592797e2.cjs"),V=require("./index-d94bae37.cjs"),M=require("./index-8d3c5e96.cjs"),H=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 j=r.buildProps({...D.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"}}),G=D.dialogEmits,J=e.defineComponent({name:"ElDrawer",inheritAttrs:!1}),W=e.defineComponent({...J,props:j,emits:G,setup(i,{expose:_}){const m=i,s=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(()=>!!s.title));const b=e.ref(),y=e.ref(),n=r.useNamespace("drawer"),{t:o}=H.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}=D.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(D.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 Q=r._export_sfc(W,[["__file","drawer.vue"]]);const X=r.withInstall(Q),Y=r.buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:x.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]},...O.useAriaProps(["ariaLabel"])}),Z={[V.UPDATE_MODEL_EVENT]:i=>r.isBoolean(i)||r.isString(i)||r.isNumber(i),[V.CHANGE_EVENT]:i=>r.isBoolean(i)||r.isString(i)||r.isNumber(i),[V.INPUT_EVENT]:i=>r.isBoolean(i)||r.isString(i)||r.isNumber(i)},L="ElSwitch",ee=e.defineComponent({name:L}),te=e.defineComponent({...ee,props:Y,emits:Z,setup(i,{expose:_,emit:m}){const s=i,{formItem:b}=B.useFormItem(),y=B.useFormSize(),n=r.useNamespace("switch"),{inputId:o}=B.useFormItemInputId(s,{formItemContext:b}),p=B.useFormDisabled(e.computed(()=>s.loading)),N=e.ref(s.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(s.width)}));e.watch(()=>s.modelValue,()=>{N.value=!0});const E=e.computed(()=>N.value?s.modelValue:!1),c=e.computed(()=>E.value===s.activeValue);[s.activeValue,s.inactiveValue].includes(E.value)||(m(V.UPDATE_MODEL_EVENT,s.inactiveValue),m(V.CHANGE_EVENT,s.inactiveValue),m(V.INPUT_EVENT,s.inactiveValue)),e.watch(c,l=>{var u;k.value.checked=l,s.validateEvent&&((u=b==null?void 0:b.validate)==null||u.call(b,"change").catch(T=>r.debugWarn(T)))});const f=()=>{const l=c.value?s.inactiveValue:s.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}=s;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 le=r._export_sfc(te,[["__file","switch.vue"]]);const oe=r.withInstall(le);const ne=[{label:"买卖",value:0},{label:"开平",value:1}],q=()=>({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}),ae=(i,_)=>{var m;return((m=_.find(s=>s.value===i))==null?void 0:m.label)??"-"};const C=i=>(e.pushScopeId("data-v-0cecb8f3"),i=i(),e.popScopeId(),i),re={class:"kline-config element-dark"},ie={class:"setting-item"},se=C(()=>e.createElementVNode("span",{class:"label"},"主图指标: ",-1)),ce={class:"setting-item"},de=C(()=>e.createElementVNode("span",{class:"label"},"交易点位: ",-1)),ue={class:"setting-item"},me=C(()=>e.createElementVNode("span",{class:"label"},"单周期: ",-1)),pe={class:"setting-item"},fe=C(()=>e.createElementVNode("span",{class:"label"},"多周期: ",-1)),ve={class:"mode"},Ve={class:"cycleName"},be={class:"content"},ye={class:"setting-item"},Ce=C(()=>e.createElementVNode("span",{class:"label"},"默认展示: ",-1)),ke={class:"setting-item"},he=C(()=>e.createElementVNode("span",{class:"label"},"高亮交易范围: ",-1)),ge={class:"setting-item"},Ne=C(()=>e.createElementVNode("span",{class:"label"},"展示当屏时间: ",-1)),Ee={class:"setting-item"},Be=C(()=>e.createElementVNode("span",{class:"label"},"多周期双击图表切换至单周期: ",-1)),_e={class:"setting-item"},we=C(()=>e.createElementVNode("span",{class:"label"},"开启副图: ",-1)),Se={class:"setting-item"},Ie=C(()=>e.createElementVNode("span",{class:"label"},"开启拖拽轴: ",-1)),Te={class:"setting-footer"},Pe={__name:"index",props:{indicatorStore:{type:Object,default:()=>({})},origin:{type:String,default:"server"},cycleOptions:{type:Array,default:()=>[]}},emits:"callBack",setup(i,{expose:_,emit:m}){const{request:s}=e.inject("stConfig"),b=m,y=i,n=e.ref(!1),o=e.reactive({}),p=e.ref([]),N=e.ref([]),k=()=>{Object.assign(o,q())},w=async()=>{const d=JSON.stringify(o);y.origin==="server"?await s.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 s.post("/common/qt/getUserConfig",{appId:1});Object.assign(o,q(),d?JSON.parse(d):{})}else{const d=localStorage.getItem("userKlineConfig");Object.assign(o,q(),d?JSON.parse(d):{})}},S=async()=>{if(y.origin==="server"){const{body:d}=await s.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:q}),(d,a)=>{const E=R.ElDivider,c=A.ElOption,f=A.ElSelect,I=$.ElSegmented,h=oe,l=O.ElScrollbar,u=F.ElButton,T=X;return e.openBlock(),e.createElementBlock("div",re,[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",ie,[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",ce,[de,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(ne),(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",ue,[me,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",pe,[fe,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",ve,[e.createElementVNode("div",Ve,[e.createElementVNode("span",null,e.toDisplayString(e.unref(ae)(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,U)=>(e.openBlock(),e.createBlock(c,{key:U,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",ye,[Ce,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",ke,[he,e.createVNode(h,{modelValue:o.enable_tradeLogBrush,"onUpdate:modelValue":a[5]||(a[5]=t=>o.enable_tradeLogBrush=t)},null,8,["modelValue"])]),e.createElementVNode("div",ge,[Ne,e.createVNode(h,{modelValue:o.enable_showScreenTimeRange,"onUpdate:modelValue":a[6]||(a[6]=t=>o.enable_showScreenTimeRange=t)},null,8,["modelValue"])]),e.createElementVNode("div",Ee,[Be,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",_e,[we,e.createVNode(h,{modelValue:o.enable_subChart,"onUpdate:modelValue":a[8]||(a[8]=t=>o.enable_subChart=t)},null,8,["modelValue"])]),e.createElementVNode("div",Se,[Ie,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",Te,[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"])])}}},ze=K._export_sfc(Pe,[["__scopeId","data-v-0cecb8f3"]]),qe={install(i){i.component("st-klineConfig",ze)}};module.exports=qe;
package/es/KlineConfig.js CHANGED
@@ -1,27 +1,28 @@
1
- import { k as se, u as ie, q as ne, _ as re, w as de, m as me, s as W, a as X, v as Y, f as te, x as ae, t as ve } from "./base-4bcd2756.js";
2
- import { d as fe, b as be, c as ye, E as ge } from "./el-overlay-690b50aa.js";
3
- import { E as he } from "./el-button-d39472d3.js";
4
- import "./el-scrollbar-bcf29780.js";
5
- import { i as _e, E as Ce } from "./el-segmented-84707138.js";
6
- import "./el-tag-6036f51c.js";
7
- import { E as ke, a as Ve } from "./el-select-d3bce4d1.js";
8
- import { u as we, a as Se } from "./el-popper-85365d5b.js";
9
- import { E as Ie } from "./el-divider-7cf13678.js";
10
- import { defineComponent as Q, useSlots as Ee, computed as S, ref as A, openBlock as a, createBlock as h, unref as e, withCtx as p, createVNode as u, Transition as Te, withDirectives as Ne, createElementVNode as i, mergeProps as Be, withModifiers as ue, normalizeClass as v, createElementBlock as m, renderSlot as R, toDisplayString as z, createCommentVNode as y, vShow as Ae, watch as oe, onMounted as ce, withKeys as Le, resolveDynamicComponent as K, normalizeStyle as Oe, nextTick as Pe, inject as Ue, reactive as De, createTextVNode as q, Fragment as M, renderList as j, pushScopeId as Fe, popScopeId as Re } from "vue";
11
- import { _ as ze } from "./_plugin-vue_export-helper-dad06003.js";
12
- import { E as F, c as $e, l as Ke } from "./index-3425f2f0.js";
13
- import { i as J, u as qe, b as Me, c as je, d as He } from "./use-form-common-props-54c31983.js";
14
- import { b as Je, a as Ge, U as Z, C as x, I as ee } from "./index-21fb27eb.js";
15
- import { u as We } from "./index-c45ac024.js";
16
- import { a as Qe } from "./index-ef7c4392.js";
17
- import "./vnode-dfc92f20.js";
18
- import "./scroll-0277d145.js";
19
- import "./use-global-config-946f61a4.js";
1
+ import { b as se, u as ie, k as ne, _ as re, w as de, d as me, l as W, i as X, m as Y, n as te, o as ae, t as ve } from "./base-d9284bf0.js";
2
+ import { d as fe, a as be, u as ye, E as ge } from "./el-overlay-4a9fa4e1.js";
3
+ import { E as he } from "./el-button-34665425.js";
4
+ import "./el-scrollbar-45318df0.js";
5
+ import { E as _e } from "./el-segmented-41820018.js";
6
+ import "./el-tag-7f391090.js";
7
+ import { E as Ce, a as ke } from "./el-select-d7a00294.js";
8
+ import { u as Ve, a as we } from "./el-popper-e73466eb.js";
9
+ import { E as Se } from "./el-divider-fd2b4e2e.js";
10
+ import { defineComponent as Q, useSlots as Ie, computed as S, ref as A, openBlock as a, createBlock as h, unref as e, withCtx as p, createVNode as u, Transition as Ee, withDirectives as Te, createElementVNode as i, mergeProps as Ne, withModifiers as ue, normalizeClass as v, createElementBlock as m, renderSlot as R, toDisplayString as z, createCommentVNode as y, vShow as Be, watch as oe, onMounted as ce, withKeys as Ae, resolveDynamicComponent as K, normalizeStyle as Le, nextTick as Oe, inject as Pe, reactive as Ue, createTextVNode as q, Fragment as M, renderList as j, pushScopeId as De, popScopeId as Fe } from "vue";
11
+ import { _ as Re } from "./_plugin-vue_export-helper-dad06003.js";
12
+ import { E as F, c as ze, l as $e } from "./index-ee1cebbc.js";
13
+ import { i as Ke } from "./validator-10fa54fe.js";
14
+ import { i as J, u as qe, a as Me, b as je, c as He } from "./use-form-common-props-cc347a83.js";
15
+ import { a as Je, b as Ge, U as Z, C as x, I as ee } from "./index-94f38460.js";
16
+ import { u as We } from "./index-3120be08.js";
17
+ import { u as Qe } from "./index-a8e9ec0f.js";
18
+ import "./vnode-6be33bb1.js";
19
+ import "./scroll-e3cb691f.js";
20
+ import "./use-global-config-c7f0a7e3.js";
20
21
  import "./index-657047bb.js";
21
- import "./index-d3c37134.js";
22
- import "./castArray-681d750b.js";
23
- import "./index-fbe85773.js";
24
- import "./debounce-51046b06.js";
22
+ import "./index-1c41bd56.js";
23
+ import "./castArray-b0ab0165.js";
24
+ import "./index-85a32a00.js";
25
+ import "./debounce-3cec4646.js";
25
26
  const Xe = se({
26
27
  ...fe,
27
28
  direction: {
@@ -53,7 +54,7 @@ const Xe = se({
53
54
  props: Xe,
54
55
  emits: Ye,
55
56
  setup(r, { expose: L }) {
56
- const g = r, d = Ee();
57
+ const g = r, d = Ie();
57
58
  We({
58
59
  scope: "el-drawer",
59
60
  from: "the title slot",
@@ -86,7 +87,7 @@ const Xe = se({
86
87
  disabled: l.appendTo !== "body" ? !1 : !l.appendToBody
87
88
  }, {
88
89
  default: p(() => [
89
- u(Te, {
90
+ u(Ee, {
90
91
  name: e(s).b("fade"),
91
92
  onAfterEnter: e(_),
92
93
  onAfterLeave: e(N),
@@ -94,7 +95,7 @@ const Xe = se({
94
95
  persisted: ""
95
96
  }, {
96
97
  default: p(() => [
97
- Ne(u(e(ge), {
98
+ Te(u(e(ge), {
98
99
  mask: l.modal,
99
100
  "overlay-class": l.modalClass,
100
101
  "z-index": e(n),
@@ -112,7 +113,7 @@ const Xe = se({
112
113
  onReleaseRequested: e(T)
113
114
  }, {
114
115
  default: p(() => [
115
- i("div", Be({
116
+ i("div", Ne({
116
117
  ref_key: "drawerRef",
117
118
  ref: V,
118
119
  "aria-modal": "true",
@@ -163,7 +164,7 @@ const Xe = se({
163
164
  class: v(e(s).e("close"))
164
165
  }, {
165
166
  default: p(() => [
166
- u(e($e))
167
+ u(e(ze))
167
168
  ]),
168
169
  _: 1
169
170
  }, 8, ["class"])
@@ -189,7 +190,7 @@ const Xe = se({
189
190
  ]),
190
191
  _: 3
191
192
  }, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
192
- [Ae, e(O)]
193
+ [Be, e(O)]
193
194
  ])
194
195
  ]),
195
196
  _: 3
@@ -209,7 +210,7 @@ const ll = de(el), tl = se({
209
210
  loading: Boolean,
210
211
  size: {
211
212
  type: String,
212
- validator: _e
213
+ validator: Ke
213
214
  },
214
215
  width: {
215
216
  type: [String, Number],
@@ -259,7 +260,7 @@ const ll = de(el), tl = se({
259
260
  tabindex: {
260
261
  type: [String, Number]
261
262
  },
262
- ...we(["ariaLabel"])
263
+ ...Ve(["ariaLabel"])
263
264
  }), al = {
264
265
  [Z]: (r) => W(r) || X(r) || Y(r),
265
266
  [x]: (r) => W(r) || X(r) || Y(r),
@@ -299,7 +300,7 @@ const ll = de(el), tl = se({
299
300
  });
300
301
  const C = () => {
301
302
  const t = c.value ? d.inactiveValue : d.activeValue;
302
- g(Z, t), g(x, t), g(ee, t), Pe(() => {
303
+ g(Z, t), g(x, t), g(ee, t), Oe(() => {
303
304
  E.value.checked = c.value;
304
305
  });
305
306
  }, U = () => {
@@ -348,7 +349,7 @@ const ll = de(el), tl = se({
348
349
  disabled: e(_),
349
350
  tabindex: t.tabindex,
350
351
  onChange: C,
351
- onKeydown: Le(U, ["enter"])
352
+ onKeydown: Ae(U, ["enter"])
352
353
  }, null, 42, ["id", "aria-checked", "aria-disabled", "aria-label", "name", "true-value", "false-value", "disabled", "tabindex", "onKeydown"]),
353
354
  !t.inlinePrompt && (t.inactiveIcon || t.inactiveText) ? (a(), m("span", {
354
355
  key: 0,
@@ -369,7 +370,7 @@ const ll = de(el), tl = se({
369
370
  ref_key: "core",
370
371
  ref: O,
371
372
  class: v(e(s).e("core")),
372
- style: Oe(e(n))
373
+ style: Le(e(n))
373
374
  }, [
374
375
  t.inlinePrompt ? (a(), m("div", {
375
376
  key: 0,
@@ -397,7 +398,7 @@ const ll = de(el), tl = se({
397
398
  class: v(e(s).is("loading"))
398
399
  }, {
399
400
  default: p(() => [
400
- u(e(Ke))
401
+ u(e($e))
401
402
  ]),
402
403
  _: 1
403
404
  }, 8, ["class"])) : e(c) ? R(t.$slots, "active-action", { key: 1 }, () => [
@@ -477,7 +478,7 @@ const rl = [
477
478
  var g;
478
479
  return ((g = L.find((d) => d.value === r)) == null ? void 0 : g.label) ?? "-";
479
480
  };
480
- const I = (r) => (Fe("data-v-0cecb8f3"), r = r(), Re(), r), ul = { class: "kline-config element-dark" }, cl = { class: "setting-item" }, pl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "主图指标: ", -1)), ml = { class: "setting-item" }, vl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "交易点位: ", -1)), fl = { class: "setting-item" }, bl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "单周期: ", -1)), yl = { class: "setting-item" }, gl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "多周期: ", -1)), hl = { class: "mode" }, _l = { class: "cycleName" }, Cl = { class: "content" }, kl = { class: "setting-item" }, Vl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "默认展示: ", -1)), wl = { class: "setting-item" }, Sl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "高亮交易范围: ", -1)), Il = { class: "setting-item" }, El = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "展示当屏时间: ", -1)), Tl = { class: "setting-item" }, Nl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "多周期双击图表切换至单周期: ", -1)), Bl = { class: "setting-item" }, Al = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "开启副图: ", -1)), Ll = { class: "setting-item" }, Ol = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "开启拖拽轴: ", -1)), Pl = { class: "setting-footer" }, Ul = {
481
+ const I = (r) => (De("data-v-0cecb8f3"), r = r(), Fe(), r), ul = { class: "kline-config element-dark" }, cl = { class: "setting-item" }, pl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "主图指标: ", -1)), ml = { class: "setting-item" }, vl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "交易点位: ", -1)), fl = { class: "setting-item" }, bl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "单周期: ", -1)), yl = { class: "setting-item" }, gl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "多周期: ", -1)), hl = { class: "mode" }, _l = { class: "cycleName" }, Cl = { class: "content" }, kl = { class: "setting-item" }, Vl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "默认展示: ", -1)), wl = { class: "setting-item" }, Sl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "高亮交易范围: ", -1)), Il = { class: "setting-item" }, El = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "展示当屏时间: ", -1)), Tl = { class: "setting-item" }, Nl = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "多周期双击图表切换至单周期: ", -1)), Bl = { class: "setting-item" }, Al = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "开启副图: ", -1)), Ll = { class: "setting-item" }, Ol = /* @__PURE__ */ I(() => /* @__PURE__ */ i("span", { class: "label" }, "开启拖拽轴: ", -1)), Pl = { class: "setting-footer" }, Ul = {
481
482
  __name: "index",
482
483
  props: {
483
484
  indicatorStore: { type: Object, default: () => ({}) },
@@ -489,7 +490,7 @@ const I = (r) => (Fe("data-v-0cecb8f3"), r = r(), Re(), r), ul = { class: "kline
489
490
  },
490
491
  emits: "callBack",
491
492
  setup(r, { expose: L, emit: g }) {
492
- const { request: d } = Ue("stConfig"), V = g, w = r, s = A(!1), o = De({}), _ = A([]), N = A([]), E = () => {
493
+ const { request: d } = Pe("stConfig"), V = g, w = r, s = A(!1), o = Ue({}), _ = A([]), N = A([]), E = () => {
493
494
  Object.assign(o, G());
494
495
  }, O = async () => {
495
496
  const f = JSON.stringify(o);
@@ -522,7 +523,7 @@ const I = (r) => (Fe("data-v-0cecb8f3"), r = r(), Re(), r), ul = { class: "kline
522
523
  // 获取默认配置
523
524
  getDefaultUserKlineConfig: G
524
525
  }), (f, n) => {
525
- const B = Ie, c = ke, C = Ve, U = Ce, T = nl, t = Se, b = he, D = ll;
526
+ const B = Se, c = Ce, C = ke, U = _e, T = nl, t = we, b = he, D = ll;
526
527
  return a(), m("div", ul, [
527
528
  u(D, {
528
529
  modelValue: s.value,
@@ -714,11 +715,11 @@ const I = (r) => (Fe("data-v-0cecb8f3"), r = r(), Re(), r), ul = { class: "kline
714
715
  ]);
715
716
  };
716
717
  }
717
- }, Dl = /* @__PURE__ */ ze(Ul, [["__scopeId", "data-v-0cecb8f3"]]), nt = {
718
+ }, Dl = /* @__PURE__ */ Re(Ul, [["__scopeId", "data-v-0cecb8f3"]]), rt = {
718
719
  install(r) {
719
720
  r.component("st-klineConfig", Dl);
720
721
  }
721
722
  };
722
723
  export {
723
- nt as default
724
+ rt as default
724
725
  };
package/es/KlineNew.js CHANGED
@@ -2,21 +2,21 @@ import { defineComponent as R, openBlock as T, createElementBlock as L, Fragment
2
2
  import { i as te, t as z } from "./index.esm-8d9a2abe.js";
3
3
  import { _ as q } from "./_plugin-vue_export-helper-dad06003.js";
4
4
  import { x as G } from "./index-7ed0999e.js";
5
- import "./base-4bcd2756.js";
6
- import "./el-tag-6036f51c.js";
7
- import { E as ae, a as ne } from "./el-select-d3bce4d1.js";
8
- import "./el-scrollbar-bcf29780.js";
9
- import "./el-popper-85365d5b.js";
5
+ import "./base-d9284bf0.js";
6
+ import "./el-tag-7f391090.js";
7
+ import { E as ae, a as ne } from "./el-select-d7a00294.js";
8
+ import "./el-scrollbar-45318df0.js";
9
+ import "./el-popper-e73466eb.js";
10
10
  import * as B from "echarts";
11
- import "./index-ef7c4392.js";
12
- import "./index-d3c37134.js";
13
- import "./index-3425f2f0.js";
14
- import "./use-form-common-props-54c31983.js";
15
- import "./castArray-681d750b.js";
16
- import "./index-fbe85773.js";
17
- import "./index-21fb27eb.js";
18
- import "./scroll-0277d145.js";
19
- import "./debounce-51046b06.js";
11
+ import "./index-a8e9ec0f.js";
12
+ import "./index-1c41bd56.js";
13
+ import "./index-ee1cebbc.js";
14
+ import "./use-form-common-props-cc347a83.js";
15
+ import "./castArray-b0ab0165.js";
16
+ import "./index-85a32a00.js";
17
+ import "./index-94f38460.js";
18
+ import "./scroll-e3cb691f.js";
19
+ import "./debounce-3cec4646.js";
20
20
  const oe = /* @__PURE__ */ R({
21
21
  __name: "index",
22
22
  setup(k, { expose: D }) {
package/es/KlinePlus.js CHANGED
@@ -1,25 +1,25 @@
1
- import "./base-4bcd2756.js";
2
- import { v as he } from "./el-loading-5d29f26d.js";
3
- import { E as be } from "./el-empty-64b2ea8a.js";
4
- import "./el-tag-6036f51c.js";
5
- import { E as ke, a as ve } from "./el-select-d3bce4d1.js";
6
- import "./el-scrollbar-bcf29780.js";
7
- import "./el-popper-85365d5b.js";
1
+ import "./base-d9284bf0.js";
2
+ import { v as he } from "./el-loading-d4e403ab.js";
3
+ import { E as be } from "./el-empty-412fc297.js";
4
+ import "./el-tag-7f391090.js";
5
+ import { E as ke, a as ve } from "./el-select-d7a00294.js";
6
+ import "./el-scrollbar-45318df0.js";
7
+ import "./el-popper-e73466eb.js";
8
8
  import { openBlock as F, createElementBlock as H, Fragment as Le, renderList as me, normalizeStyle as Ee, toDisplayString as te, inject as Ae, ref as R, onMounted as we, nextTick as Se, watch as ee, onUnmounted as pe, computed as se, withDirectives as Qe, createElementVNode as $, createVNode as X, createCommentVNode as Ne, withCtx as Pe, createBlock as ge } from "vue";
9
9
  import { d as g } from "./dayjs.min-54a4e095.js";
10
10
  import * as re from "echarts";
11
11
  import { x as xe, G as Me, D as Re } from "./index-7ed0999e.js";
12
12
  import { _ as je } from "./_plugin-vue_export-helper-dad06003.js";
13
- import "./use-global-config-946f61a4.js";
14
- import "./use-form-common-props-54c31983.js";
15
- import "./index-ef7c4392.js";
16
- import "./index-3425f2f0.js";
17
- import "./index-d3c37134.js";
18
- import "./castArray-681d750b.js";
19
- import "./index-fbe85773.js";
20
- import "./index-21fb27eb.js";
21
- import "./scroll-0277d145.js";
22
- import "./debounce-51046b06.js";
13
+ import "./use-global-config-c7f0a7e3.js";
14
+ import "./use-form-common-props-cc347a83.js";
15
+ import "./index-a8e9ec0f.js";
16
+ import "./index-ee1cebbc.js";
17
+ import "./index-1c41bd56.js";
18
+ import "./castArray-b0ab0165.js";
19
+ import "./index-85a32a00.js";
20
+ import "./index-94f38460.js";
21
+ import "./scroll-e3cb691f.js";
22
+ import "./debounce-3cec4646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AxMy4yNjkzMzQgMzYuNTY1MzMzIDM2LjU2NTMzMyAwIDAgMC0xMi41MDEzMzQgMjEuNTA0bC0wLjQyNjY2NiA0LjY5MzMzM3oiIGZpbGw9IiNBRTQ0RkYiIHAtaWQ9IjMwODAiPjwvcGF0aD48cGF0aCBkPSJNNDc1LjMwNjY2NyA2NTguMjE4NjY3aDczLjQ3MlYzMDYuMzg5MzMzaDExNi40OFYyNDguNDQ4aC0zMDcuNjI2NjY3djU3Ljk0MTMzM2gxMTcuNjc0NjY3eiIgZmlsbD0iI0ZGRkZGRiIgcC1pZD0iMzA4MSI+PC9wYXRoPjwvc3ZnPg==", { round: He } = xe, W = {
25
25
  // 单屏展示条目上限
package/es/Pagination.js CHANGED
@@ -1,25 +1,25 @@
1
- import { k as D, _ as A, m as ae, u as j, o as ue, f as ce, v as $, w as ge } from "./base-4bcd2756.js";
2
- import { z as pe, E as de } from "./zh-cn-5066f5e9.js";
3
- import { i as fe } from "./el-tag-6036f51c.js";
4
- import { a as ve, E as be } from "./el-select-d3bce4d1.js";
5
- import "./el-scrollbar-bcf29780.js";
6
- import "./el-popper-85365d5b.js";
7
- import { E as me } from "./el-input-42315ac4.js";
1
+ import { b as D, _ as A, d as ae, u as j, g as ue, n as ce, m as $, w as ge } from "./base-d9284bf0.js";
2
+ import { z as pe, E as de } from "./zh-cn-d883afa8.js";
3
+ import { i as fe } from "./el-tag-7f391090.js";
4
+ import { a as ve, E as be } from "./el-select-d7a00294.js";
5
+ import "./el-scrollbar-45318df0.js";
6
+ import "./el-popper-e73466eb.js";
7
+ import { E as me } from "./el-input-22e66e37.js";
8
8
  import { defineComponent as _, computed as b, openBlock as g, createElementBlock as y, unref as a, toDisplayString as I, createBlock as T, withCtx as R, resolveDynamicComponent as te, inject as Pe, ref as E, watch as J, normalizeClass as k, createVNode as Q, Fragment as ne, renderList as ie, createElementVNode as Y, watchEffect as Ce, withKeys as ze, createCommentVNode as V, getCurrentInstance as he, provide as ye, h as B, withDirectives as Se, mergeProps as _e, vShow as ke } from "vue";
9
- import { E as re, d as Ne, e as Z, f as xe, g as Ee, b as Te } from "./index-3425f2f0.js";
10
- import { i as H, e as le, g as Me, f as $e } from "./use-form-common-props-54c31983.js";
11
- import { a as q } from "./index-ef7c4392.js";
9
+ import { E as re, d as Ne, e as Z, f as xe, g as Ee, b as Te } from "./index-ee1cebbc.js";
10
+ import { i as H, e as le, f as Me, d as $e } from "./use-form-common-props-cc347a83.js";
11
+ import { u as q } from "./index-a8e9ec0f.js";
12
12
  import { m as oe } from "./typescript-7ae59c4c.js";
13
- import { u as we } from "./index-c45ac024.js";
13
+ import { u as we } from "./index-3120be08.js";
14
14
  import { _ as Be } from "./_plugin-vue_export-helper-dad06003.js";
15
- import "./config-provider-93846ae3.js";
16
- import "./use-global-config-946f61a4.js";
17
- import "./index-d3c37134.js";
18
- import "./castArray-681d750b.js";
19
- import "./index-fbe85773.js";
20
- import "./index-21fb27eb.js";
21
- import "./scroll-0277d145.js";
22
- import "./debounce-51046b06.js";
15
+ import "./config-provider-f0151e9f.js";
16
+ import "./use-global-config-c7f0a7e3.js";
17
+ import "./index-1c41bd56.js";
18
+ import "./castArray-b0ab0165.js";
19
+ import "./index-85a32a00.js";
20
+ import "./index-94f38460.js";
21
+ import "./scroll-e3cb691f.js";
22
+ import "./debounce-3cec4646.js";
23
23
  const se = Symbol("elPaginationKey"), Ie = D({
24
24
  disabled: Boolean,
25
25
  currentPage: {
@@ -1,7 +1,7 @@
1
- import { P as t } from "./index-cb8157f2.js";
2
- import "./base-4bcd2756.js";
1
+ import { P as t } from "./index-d577b81b.js";
2
+ import "./base-d9284bf0.js";
3
3
  import "vue";
4
- import "./index-3425f2f0.js";
4
+ import "./index-ee1cebbc.js";
5
5
  import "./_plugin-vue_export-helper-dad06003.js";
6
6
  const a = {
7
7
  install(o) {