st-comp 0.0.201 → 0.0.202

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.js CHANGED
@@ -1,20 +1,21 @@
1
- import { b as ne, m as fe, n as ie, u as re, _ as ue, w as de, e as be, o as X, c as G, p as Q, q as oe } from "./base-a5af3db3.js";
2
- import { d as ge, a as ye, u as he, E as _e } from "./el-overlay-09ad71cd.js";
1
+ import { b as ne, m as fe, n as ie, u as re, _ as ue, w as de, e as be, o as G, c as Z, p as x, q as oe } from "./base-a5af3db3.js";
2
+ import { d as ye, a as ge, u as he, E as _e } from "./el-overlay-09ad71cd.js";
3
3
  import { E as Ce } from "./el-button-c95adb85.js";
4
4
  import "./el-scrollbar-323542e7.js";
5
- import { E as we } from "./el-segmented-b868d074.js";
5
+ import { E as ke } from "./el-segmented-b868d074.js";
6
+ import { E as we } from "./el-checkbox-7421ccd3.js";
6
7
  import "./el-tag-66cab138.js";
7
- import { E as ke, a as Ve } from "./el-select-95627997.js";
8
- import { c as Se, e as Ie, u as Ee, U as x, C as ee, I as le, d as Te, b as ze } from "./el-popper-b4f97157.js";
9
- import { E as Be } from "./el-divider-4e059794.js";
10
- import { computed as T, ref as z, watch as ae, onBeforeUnmount as Ne, defineComponent as Y, useSlots as Ae, openBlock as s, createBlock as k, unref as e, withCtx as m, createVNode as p, Transition as Pe, withDirectives as Le, createElementVNode as n, mergeProps as Oe, withModifiers as ce, normalizeClass as b, createElementBlock as g, renderSlot as $, toDisplayString as M, createCommentVNode as _, normalizeStyle as pe, vShow as Ue, onMounted as me, withKeys as Re, resolveDynamicComponent as K, nextTick as De, inject as Fe, reactive as $e, createTextVNode as q, Fragment as j, renderList as H, pushScopeId as Me, popScopeId as Ke } from "vue";
11
- import { _ as qe } from "./_plugin-vue_export-helper-dad06003.js";
12
- import { E as F, c as je, l as He } from "./index-a871c3eb.js";
13
- import { i as Je } from "./validator-764a9db0.js";
14
- import { b as We, c as Z, i as J, d as Xe, e as Ye, f as Ge, g as Qe } from "./use-form-common-props-815d48a6.js";
15
- import { E as Ze } from "./index-844bdd85.js";
16
- import { u as xe } from "./index-2e331d74.js";
17
- import { u as el } from "./index-d77a7336.js";
8
+ import { E as Ve, a as Se } from "./el-select-95627997.js";
9
+ import { c as Ee, e as Ie, u as Te, U as le, C as te, I as ae, d as Be, b as ze } from "./el-popper-b4f97157.js";
10
+ import { E as Ne } from "./el-divider-4e059794.js";
11
+ import { computed as I, ref as T, watch as se, onBeforeUnmount as Pe, defineComponent as Q, useSlots as Ae, openBlock as o, createBlock as k, unref as e, withCtx as m, createVNode as p, Transition as Le, withDirectives as Oe, createElementVNode as n, mergeProps as Ue, withModifiers as ce, normalizeClass as b, createElementBlock as y, renderSlot as $, toDisplayString as M, createCommentVNode as _, normalizeStyle as pe, vShow as Re, onMounted as me, withKeys as De, resolveDynamicComponent as q, nextTick as Fe, inject as $e, reactive as Me, createTextVNode as j, Fragment as H, renderList as J, pushScopeId as Ke, popScopeId as qe } from "vue";
12
+ import { _ as je } from "./_plugin-vue_export-helper-dad06003.js";
13
+ import { E as D, c as He, l as Je } from "./index-a871c3eb.js";
14
+ import { i as We } from "./validator-764a9db0.js";
15
+ import { b as Xe, c as ee, i as X, d as Ye, e as Ge, f as Qe, g as Ze } from "./use-form-common-props-815d48a6.js";
16
+ import { E as xe } from "./index-844bdd85.js";
17
+ import { u as el } from "./index-2e331d74.js";
18
+ import { u as ll } from "./index-d77a7336.js";
18
19
  import "./vnode-5ddb7ed1.js";
19
20
  import "./scroll-679bd6bf.js";
20
21
  import "./index-960806da.js";
@@ -25,8 +26,8 @@ import "./index-57672682.js";
25
26
  import "./castArray-7741a212.js";
26
27
  import "./index-d91dc23f.js";
27
28
  import "./debounce-8d53f4dd.js";
28
- const ll = ne({
29
- ...ge,
29
+ const tl = ne({
30
+ ...ye,
30
31
  direction: {
31
32
  type: String,
32
33
  default: "rtl",
@@ -49,118 +50,118 @@ const ll = ne({
49
50
  type: String,
50
51
  default: "2"
51
52
  }
52
- }), al = ye;
53
- function tl(i, O) {
54
- const { width: C, height: c } = We(), V = T(() => ["ltr", "rtl"].includes(i.direction)), B = T(() => ["ltr", "ttb"].includes(i.direction) ? 1 : -1), u = T(() => V.value ? C.value : c.value), a = T(() => fe(h.value + B.value * I.value, 4, u.value)), h = z(0), I = z(0), S = z(!1), U = z(!1);
55
- let N = [], R = [];
56
- const f = () => {
57
- var y;
58
- const w = (y = O.value) == null ? void 0 : y.closest('[aria-modal="true"]');
59
- return w ? V.value ? w.offsetWidth : w.offsetHeight : 100;
53
+ }), al = ge;
54
+ function sl(r, L) {
55
+ const { width: C, height: c } = Xe(), w = I(() => ["ltr", "rtl"].includes(r.direction)), B = I(() => ["ltr", "ttb"].includes(r.direction) ? 1 : -1), u = I(() => w.value ? C.value : c.value), t = I(() => fe(g.value + B.value * S.value, 4, u.value)), g = T(0), S = T(0), V = T(!1), O = T(!1);
56
+ let z = [], U = [];
57
+ const v = () => {
58
+ var h;
59
+ const N = (h = L.value) == null ? void 0 : h.closest('[aria-modal="true"]');
60
+ return N ? w.value ? N.offsetWidth : N.offsetHeight : 100;
60
61
  };
61
- ae(() => [i.size, i.resizable], () => {
62
- U.value = !1, h.value = 0, I.value = 0, d();
62
+ se(() => [r.size, r.resizable], () => {
63
+ O.value = !1, g.value = 0, S.value = 0, d();
63
64
  });
64
- const o = (y) => {
65
- i.resizable && (U.value || (h.value = f(), U.value = !0), N = [y.pageX, y.pageY], S.value = !0, R.push(Z(window, "mouseup", d), Z(window, "mousemove", P)));
66
- }, P = (y) => {
67
- const { pageX: w, pageY: l } = y, v = w - N[0], D = l - N[1];
68
- I.value = V.value ? v : D;
65
+ const s = (h) => {
66
+ r.resizable && (O.value || (g.value = v(), O.value = !0), z = [h.pageX, h.pageY], V.value = !0, U.push(ee(window, "mouseup", d), ee(window, "mousemove", A)));
67
+ }, A = (h) => {
68
+ const { pageX: N, pageY: l } = h, f = N - z[0], R = l - z[1];
69
+ S.value = w.value ? f : R;
69
70
  }, d = () => {
70
- N = [], h.value = a.value, I.value = 0, S.value = !1, R.forEach((y) => y == null ? void 0 : y()), R = [];
71
- }, E = Z(O, "mousedown", o);
72
- return Ne(() => {
71
+ z = [], g.value = t.value, S.value = 0, V.value = !1, U.forEach((h) => h == null ? void 0 : h()), U = [];
72
+ }, E = ee(L, "mousedown", s);
73
+ return Pe(() => {
73
74
  E(), d();
74
75
  }), {
75
- size: T(() => U.value ? `${a.value}px` : ie(i.size)),
76
- isResizing: S,
77
- isHorizontal: V
76
+ size: I(() => O.value ? `${t.value}px` : ie(r.size)),
77
+ isResizing: V,
78
+ isHorizontal: w
78
79
  };
79
80
  }
80
- const sl = Y({
81
+ const ol = Q({
81
82
  name: "ElDrawer",
82
83
  inheritAttrs: !1
83
- }), ol = /* @__PURE__ */ Y({
84
- ...sl,
85
- props: ll,
84
+ }), nl = /* @__PURE__ */ Q({
85
+ ...ol,
86
+ props: tl,
86
87
  emits: al,
87
- setup(i, { expose: O }) {
88
- const C = i, c = Ae();
89
- xe({
88
+ setup(r, { expose: L }) {
89
+ const C = r, c = Ae();
90
+ el({
90
91
  scope: "el-drawer",
91
92
  from: "the title slot",
92
93
  replacement: "the header slot",
93
94
  version: "3.0.0",
94
95
  ref: "https://element-plus.org/en-US/component/drawer.html#slots"
95
- }, T(() => !!c.title));
96
- const V = z(), B = z(), u = z(), a = re("drawer"), { t: h } = el(), {
97
- afterEnter: I,
98
- afterLeave: S,
99
- beforeLeave: U,
100
- visible: N,
101
- rendered: R,
102
- titleId: f,
103
- bodyId: o,
104
- zIndex: P,
96
+ }, I(() => !!c.title));
97
+ const w = T(), B = T(), u = T(), t = re("drawer"), { t: g } = ll(), {
98
+ afterEnter: S,
99
+ afterLeave: V,
100
+ beforeLeave: O,
101
+ visible: z,
102
+ rendered: U,
103
+ titleId: v,
104
+ bodyId: s,
105
+ zIndex: A,
105
106
  onModalClick: d,
106
107
  onOpenAutoFocus: E,
107
- onCloseAutoFocus: y,
108
- onFocusoutPrevented: w,
108
+ onCloseAutoFocus: h,
109
+ onFocusoutPrevented: N,
109
110
  onCloseRequested: l,
110
- handleClose: v
111
- } = he(C, V), { isHorizontal: D, size: t, isResizing: A } = tl(C, u);
112
- return O({
113
- handleClose: v,
114
- afterEnter: I,
115
- afterLeave: S
116
- }), (r, te) => (s(), k(e(Se), {
117
- to: r.appendTo,
118
- disabled: r.appendTo !== "body" ? !1 : !r.appendToBody
111
+ handleClose: f
112
+ } = he(C, w), { isHorizontal: R, size: F, isResizing: a } = sl(C, u);
113
+ return L({
114
+ handleClose: f,
115
+ afterEnter: S,
116
+ afterLeave: V
117
+ }), (i, K) => (o(), k(e(Ee), {
118
+ to: i.appendTo,
119
+ disabled: i.appendTo !== "body" ? !1 : !i.appendToBody
119
120
  }, {
120
121
  default: m(() => [
121
- p(Pe, {
122
- name: e(a).b("fade"),
123
- onAfterEnter: e(I),
124
- onAfterLeave: e(S),
125
- onBeforeLeave: e(U),
122
+ p(Le, {
123
+ name: e(t).b("fade"),
124
+ onAfterEnter: e(S),
125
+ onAfterLeave: e(V),
126
+ onBeforeLeave: e(O),
126
127
  persisted: ""
127
128
  }, {
128
129
  default: m(() => {
129
- var se;
130
+ var W;
130
131
  return [
131
- Le(p(e(_e), {
132
- mask: r.modal,
133
- "overlay-class": [e(a).is("drawer"), (se = r.modalClass) != null ? se : ""],
134
- "z-index": e(P),
132
+ Oe(p(e(_e), {
133
+ mask: i.modal,
134
+ "overlay-class": [e(t).is("drawer"), (W = i.modalClass) != null ? W : ""],
135
+ "z-index": e(A),
135
136
  onClick: e(d)
136
137
  }, {
137
138
  default: m(() => [
138
139
  p(e(Ie), {
139
140
  loop: "",
140
- trapped: e(N),
141
- "focus-trap-el": V.value,
141
+ trapped: e(z),
142
+ "focus-trap-el": w.value,
142
143
  "focus-start-el": B.value,
143
144
  onFocusAfterTrapped: e(E),
144
- onFocusAfterReleased: e(y),
145
- onFocusoutPrevented: e(w),
145
+ onFocusAfterReleased: e(h),
146
+ onFocusoutPrevented: e(N),
146
147
  onReleaseRequested: e(l)
147
148
  }, {
148
149
  default: m(() => [
149
- n("div", Oe({
150
+ n("div", Ue({
150
151
  ref_key: "drawerRef",
151
- ref: V,
152
+ ref: w,
152
153
  "aria-modal": "true",
153
- "aria-label": r.title || void 0,
154
- "aria-labelledby": r.title ? void 0 : e(f),
155
- "aria-describedby": e(o)
156
- }, r.$attrs, {
154
+ "aria-label": i.title || void 0,
155
+ "aria-labelledby": i.title ? void 0 : e(v),
156
+ "aria-describedby": e(s)
157
+ }, i.$attrs, {
157
158
  class: [
158
- e(a).b(),
159
- r.direction,
160
- e(N) && "open",
161
- e(a).is("dragging", e(A))
159
+ e(t).b(),
160
+ i.direction,
161
+ e(z) && "open",
162
+ e(t).is("dragging", e(a))
162
163
  ],
163
- style: { [e(D) ? "width" : "height"]: e(t) },
164
+ style: { [e(R) ? "width" : "height"]: e(F) },
164
165
  role: "dialog",
165
166
  onClick: ce(() => {
166
167
  }, ["stop"])
@@ -168,64 +169,64 @@ const sl = Y({
168
169
  n("span", {
169
170
  ref_key: "focusStartRef",
170
171
  ref: B,
171
- class: b(e(a).e("sr-focus")),
172
+ class: b(e(t).e("sr-focus")),
172
173
  tabindex: "-1"
173
174
  }, null, 2),
174
- r.withHeader ? (s(), g("header", {
175
+ i.withHeader ? (o(), y("header", {
175
176
  key: 0,
176
- class: b([e(a).e("header"), r.headerClass])
177
+ class: b([e(t).e("header"), i.headerClass])
177
178
  }, [
178
- r.$slots.title ? $(r.$slots, "title", { key: 1 }, () => [
179
+ i.$slots.title ? $(i.$slots, "title", { key: 1 }, () => [
179
180
  _(" DEPRECATED SLOT ")
180
- ]) : $(r.$slots, "header", {
181
+ ]) : $(i.$slots, "header", {
181
182
  key: 0,
182
- close: e(v),
183
- titleId: e(f),
184
- titleClass: e(a).e("title")
183
+ close: e(f),
184
+ titleId: e(v),
185
+ titleClass: e(t).e("title")
185
186
  }, () => [
186
187
  n("span", {
187
- id: e(f),
188
+ id: e(v),
188
189
  role: "heading",
189
- "aria-level": r.headerAriaLevel,
190
- class: b(e(a).e("title"))
191
- }, M(r.title), 11, ["id", "aria-level"])
190
+ "aria-level": i.headerAriaLevel,
191
+ class: b(e(t).e("title"))
192
+ }, M(i.title), 11, ["id", "aria-level"])
192
193
  ]),
193
- r.showClose ? (s(), g("button", {
194
+ i.showClose ? (o(), y("button", {
194
195
  key: 2,
195
- "aria-label": e(h)("el.drawer.close"),
196
- class: b(e(a).e("close-btn")),
196
+ "aria-label": e(g)("el.drawer.close"),
197
+ class: b(e(t).e("close-btn")),
197
198
  type: "button",
198
- onClick: e(v)
199
+ onClick: e(f)
199
200
  }, [
200
- p(e(F), {
201
- class: b(e(a).e("close"))
201
+ p(e(D), {
202
+ class: b(e(t).e("close"))
202
203
  }, {
203
204
  default: m(() => [
204
- p(e(je))
205
+ p(e(He))
205
206
  ]),
206
207
  _: 1
207
208
  }, 8, ["class"])
208
209
  ], 10, ["aria-label", "onClick"])) : _("v-if", !0)
209
210
  ], 2)) : _("v-if", !0),
210
- e(R) ? (s(), g("div", {
211
+ e(U) ? (o(), y("div", {
211
212
  key: 1,
212
- id: e(o),
213
- class: b([e(a).e("body"), r.bodyClass])
213
+ id: e(s),
214
+ class: b([e(t).e("body"), i.bodyClass])
214
215
  }, [
215
- $(r.$slots, "default")
216
+ $(i.$slots, "default")
216
217
  ], 10, ["id"])) : _("v-if", !0),
217
- r.$slots.footer ? (s(), g("div", {
218
+ i.$slots.footer ? (o(), y("div", {
218
219
  key: 2,
219
- class: b([e(a).e("footer"), r.footerClass])
220
+ class: b([e(t).e("footer"), i.footerClass])
220
221
  }, [
221
- $(r.$slots, "footer")
222
+ $(i.$slots, "footer")
222
223
  ], 2)) : _("v-if", !0),
223
- r.resizable ? (s(), g("div", {
224
+ i.resizable ? (o(), y("div", {
224
225
  key: 3,
225
226
  ref_key: "draggerRef",
226
227
  ref: u,
227
- style: pe({ zIndex: e(P) }),
228
- class: b(e(a).e("dragger"))
228
+ style: pe({ zIndex: e(A) }),
229
+ class: b(e(t).e("dragger"))
229
230
  }, null, 6)) : _("v-if", !0)
230
231
  ], 16, ["aria-label", "aria-labelledby", "aria-describedby", "onClick"])
231
232
  ]),
@@ -234,7 +235,7 @@ const sl = Y({
234
235
  ]),
235
236
  _: 3
236
237
  }, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
237
- [Ue, e(N)]
238
+ [Re, e(z)]
238
239
  ])
239
240
  ];
240
241
  }),
@@ -245,8 +246,8 @@ const sl = Y({
245
246
  }, 8, ["to", "disabled"]));
246
247
  }
247
248
  });
248
- var nl = /* @__PURE__ */ ue(ol, [["__file", "drawer.vue"]]);
249
- const il = de(nl), rl = ne({
249
+ var il = /* @__PURE__ */ ue(nl, [["__file", "drawer.vue"]]);
250
+ const rl = de(il), ul = ne({
250
251
  modelValue: {
251
252
  type: [Boolean, String, Number],
252
253
  default: !1
@@ -255,7 +256,7 @@ const il = de(nl), rl = ne({
255
256
  loading: Boolean,
256
257
  size: {
257
258
  type: String,
258
- validator: Je
259
+ validator: We
259
260
  },
260
261
  width: {
261
262
  type: [String, Number],
@@ -263,16 +264,16 @@ const il = de(nl), rl = ne({
263
264
  },
264
265
  inlinePrompt: Boolean,
265
266
  inactiveActionIcon: {
266
- type: J
267
+ type: X
267
268
  },
268
269
  activeActionIcon: {
269
- type: J
270
+ type: X
270
271
  },
271
272
  activeIcon: {
272
- type: J
273
+ type: X
273
274
  },
274
275
  inactiveIcon: {
275
- type: J
276
+ type: X
276
277
  },
277
278
  activeText: {
278
279
  type: String,
@@ -305,130 +306,130 @@ const il = de(nl), rl = ne({
305
306
  tabindex: {
306
307
  type: [String, Number]
307
308
  },
308
- ...Ee(["ariaLabel"])
309
- }), ul = {
310
- [x]: (i) => X(i) || G(i) || Q(i),
311
- [ee]: (i) => X(i) || G(i) || Q(i),
312
- [le]: (i) => X(i) || G(i) || Q(i)
313
- }, ve = "ElSwitch", dl = Y({
309
+ ...Te(["ariaLabel"])
310
+ }), dl = {
311
+ [le]: (r) => G(r) || Z(r) || x(r),
312
+ [te]: (r) => G(r) || Z(r) || x(r),
313
+ [ae]: (r) => G(r) || Z(r) || x(r)
314
+ }, ve = "ElSwitch", cl = Q({
314
315
  name: ve
315
- }), cl = /* @__PURE__ */ Y({
316
- ...dl,
317
- props: rl,
318
- emits: ul,
319
- setup(i, { expose: O, emit: C }) {
320
- const c = i, { formItem: V } = Xe(), B = Ye(), u = re("switch"), { inputId: a } = Ge(c, {
321
- formItemContext: V
322
- }), h = Qe(T(() => c.loading)), I = z(c.modelValue !== !1), S = z(), U = z(), N = T(() => [
316
+ }), pl = /* @__PURE__ */ Q({
317
+ ...cl,
318
+ props: ul,
319
+ emits: dl,
320
+ setup(r, { expose: L, emit: C }) {
321
+ const c = r, { formItem: w } = Ye(), B = Ge(), u = re("switch"), { inputId: t } = Qe(c, {
322
+ formItemContext: w
323
+ }), g = Ze(I(() => c.loading)), S = T(c.modelValue !== !1), V = T(), O = T(), z = I(() => [
323
324
  u.b(),
324
325
  u.m(B.value),
325
- u.is("disabled", h.value),
326
+ u.is("disabled", g.value),
326
327
  u.is("checked", d.value)
327
- ]), R = T(() => [
328
+ ]), U = I(() => [
328
329
  u.e("label"),
329
330
  u.em("label", "left"),
330
331
  u.is("active", !d.value)
331
- ]), f = T(() => [
332
+ ]), v = I(() => [
332
333
  u.e("label"),
333
334
  u.em("label", "right"),
334
335
  u.is("active", d.value)
335
- ]), o = T(() => ({
336
+ ]), s = I(() => ({
336
337
  width: ie(c.width)
337
338
  }));
338
- ae(() => c.modelValue, () => {
339
- I.value = !0;
339
+ se(() => c.modelValue, () => {
340
+ S.value = !0;
340
341
  });
341
- const P = T(() => I.value ? c.modelValue : !1), d = T(() => P.value === c.activeValue);
342
- [c.activeValue, c.inactiveValue].includes(P.value) || (C(x, c.inactiveValue), C(ee, c.inactiveValue), C(le, c.inactiveValue)), ae(d, (l) => {
343
- var v;
344
- S.value.checked = l, c.validateEvent && ((v = V == null ? void 0 : V.validate) == null || v.call(V, "change").catch((D) => Te()));
342
+ const A = I(() => S.value ? c.modelValue : !1), d = I(() => A.value === c.activeValue);
343
+ [c.activeValue, c.inactiveValue].includes(A.value) || (C(le, c.inactiveValue), C(te, c.inactiveValue), C(ae, c.inactiveValue)), se(d, (l) => {
344
+ var f;
345
+ V.value.checked = l, c.validateEvent && ((f = w == null ? void 0 : w.validate) == null || f.call(w, "change").catch((R) => Be()));
345
346
  });
346
347
  const E = () => {
347
348
  const l = d.value ? c.inactiveValue : c.activeValue;
348
- C(x, l), C(ee, l), C(le, l), De(() => {
349
- S.value.checked = d.value;
349
+ C(le, l), C(te, l), C(ae, l), Fe(() => {
350
+ V.value.checked = d.value;
350
351
  });
351
- }, y = () => {
352
- if (h.value)
352
+ }, h = () => {
353
+ if (g.value)
353
354
  return;
354
355
  const { beforeChange: l } = c;
355
356
  if (!l) {
356
357
  E();
357
358
  return;
358
359
  }
359
- const v = l();
360
+ const f = l();
360
361
  [
361
- oe(v),
362
- X(v)
363
- ].includes(!0) || ze(ve, "beforeChange must return type `Promise<boolean>` or `boolean`"), oe(v) ? v.then((t) => {
364
- t && E();
365
- }).catch((t) => {
366
- }) : v && E();
367
- }, w = () => {
368
- var l, v;
369
- (v = (l = S.value) == null ? void 0 : l.focus) == null || v.call(l);
362
+ oe(f),
363
+ G(f)
364
+ ].includes(!0) || ze(ve, "beforeChange must return type `Promise<boolean>` or `boolean`"), oe(f) ? f.then((F) => {
365
+ F && E();
366
+ }).catch((F) => {
367
+ }) : f && E();
368
+ }, N = () => {
369
+ var l, f;
370
+ (f = (l = V.value) == null ? void 0 : l.focus) == null || f.call(l);
370
371
  };
371
372
  return me(() => {
372
- S.value.checked = d.value;
373
- }), O({
374
- focus: w,
373
+ V.value.checked = d.value;
374
+ }), L({
375
+ focus: N,
375
376
  checked: d
376
- }), (l, v) => (s(), g("div", {
377
- class: b(e(N)),
378
- onClick: ce(y, ["prevent"])
377
+ }), (l, f) => (o(), y("div", {
378
+ class: b(e(z)),
379
+ onClick: ce(h, ["prevent"])
379
380
  }, [
380
381
  n("input", {
381
- id: e(a),
382
+ id: e(t),
382
383
  ref_key: "input",
383
- ref: S,
384
+ ref: V,
384
385
  class: b(e(u).e("input")),
385
386
  type: "checkbox",
386
387
  role: "switch",
387
388
  "aria-checked": e(d),
388
- "aria-disabled": e(h),
389
+ "aria-disabled": e(g),
389
390
  "aria-label": l.ariaLabel,
390
391
  name: l.name,
391
392
  "true-value": l.activeValue,
392
393
  "false-value": l.inactiveValue,
393
- disabled: e(h),
394
+ disabled: e(g),
394
395
  tabindex: l.tabindex,
395
396
  onChange: E,
396
- onKeydown: Re(y, ["enter"])
397
+ onKeydown: De(h, ["enter"])
397
398
  }, null, 42, ["id", "aria-checked", "aria-disabled", "aria-label", "name", "true-value", "false-value", "disabled", "tabindex", "onKeydown"]),
398
- !l.inlinePrompt && (l.inactiveIcon || l.inactiveText) ? (s(), g("span", {
399
+ !l.inlinePrompt && (l.inactiveIcon || l.inactiveText) ? (o(), y("span", {
399
400
  key: 0,
400
- class: b(e(R))
401
+ class: b(e(U))
401
402
  }, [
402
- l.inactiveIcon ? (s(), k(e(F), { key: 0 }, {
403
+ l.inactiveIcon ? (o(), k(e(D), { key: 0 }, {
403
404
  default: m(() => [
404
- (s(), k(K(l.inactiveIcon)))
405
+ (o(), k(q(l.inactiveIcon)))
405
406
  ]),
406
407
  _: 1
407
408
  })) : _("v-if", !0),
408
- !l.inactiveIcon && l.inactiveText ? (s(), g("span", {
409
+ !l.inactiveIcon && l.inactiveText ? (o(), y("span", {
409
410
  key: 1,
410
411
  "aria-hidden": e(d)
411
412
  }, M(l.inactiveText), 9, ["aria-hidden"])) : _("v-if", !0)
412
413
  ], 2)) : _("v-if", !0),
413
414
  n("span", {
414
415
  ref_key: "core",
415
- ref: U,
416
+ ref: O,
416
417
  class: b(e(u).e("core")),
417
- style: pe(e(o))
418
+ style: pe(e(s))
418
419
  }, [
419
- l.inlinePrompt ? (s(), g("div", {
420
+ l.inlinePrompt ? (o(), y("div", {
420
421
  key: 0,
421
422
  class: b(e(u).e("inner"))
422
423
  }, [
423
- l.activeIcon || l.inactiveIcon ? (s(), k(e(F), {
424
+ l.activeIcon || l.inactiveIcon ? (o(), k(e(D), {
424
425
  key: 0,
425
426
  class: b(e(u).is("icon"))
426
427
  }, {
427
428
  default: m(() => [
428
- (s(), k(K(e(d) ? l.activeIcon : l.inactiveIcon)))
429
+ (o(), k(q(e(d) ? l.activeIcon : l.inactiveIcon)))
429
430
  ]),
430
431
  _: 1
431
- }, 8, ["class"])) : l.activeText || l.inactiveText ? (s(), g("span", {
432
+ }, 8, ["class"])) : l.activeText || l.inactiveText ? (o(), y("span", {
432
433
  key: 1,
433
434
  class: b(e(u).is("text")),
434
435
  "aria-hidden": !e(d)
@@ -437,42 +438,42 @@ const il = de(nl), rl = ne({
437
438
  n("div", {
438
439
  class: b(e(u).e("action"))
439
440
  }, [
440
- l.loading ? (s(), k(e(F), {
441
+ l.loading ? (o(), k(e(D), {
441
442
  key: 0,
442
443
  class: b(e(u).is("loading"))
443
444
  }, {
444
445
  default: m(() => [
445
- p(e(He))
446
+ p(e(Je))
446
447
  ]),
447
448
  _: 1
448
449
  }, 8, ["class"])) : e(d) ? $(l.$slots, "active-action", { key: 1 }, () => [
449
- l.activeActionIcon ? (s(), k(e(F), { key: 0 }, {
450
+ l.activeActionIcon ? (o(), k(e(D), { key: 0 }, {
450
451
  default: m(() => [
451
- (s(), k(K(l.activeActionIcon)))
452
+ (o(), k(q(l.activeActionIcon)))
452
453
  ]),
453
454
  _: 1
454
455
  })) : _("v-if", !0)
455
456
  ]) : e(d) ? _("v-if", !0) : $(l.$slots, "inactive-action", { key: 2 }, () => [
456
- l.inactiveActionIcon ? (s(), k(e(F), { key: 0 }, {
457
+ l.inactiveActionIcon ? (o(), k(e(D), { key: 0 }, {
457
458
  default: m(() => [
458
- (s(), k(K(l.inactiveActionIcon)))
459
+ (o(), k(q(l.inactiveActionIcon)))
459
460
  ]),
460
461
  _: 1
461
462
  })) : _("v-if", !0)
462
463
  ])
463
464
  ], 2)
464
465
  ], 6),
465
- !l.inlinePrompt && (l.activeIcon || l.activeText) ? (s(), g("span", {
466
+ !l.inlinePrompt && (l.activeIcon || l.activeText) ? (o(), y("span", {
466
467
  key: 1,
467
- class: b(e(f))
468
+ class: b(e(v))
468
469
  }, [
469
- l.activeIcon ? (s(), k(e(F), { key: 0 }, {
470
+ l.activeIcon ? (o(), k(e(D), { key: 0 }, {
470
471
  default: m(() => [
471
- (s(), k(K(l.activeIcon)))
472
+ (o(), k(q(l.activeIcon)))
472
473
  ]),
473
474
  _: 1
474
475
  })) : _("v-if", !0),
475
- !l.activeIcon && l.activeText ? (s(), g("span", {
476
+ !l.activeIcon && l.activeText ? (o(), y("span", {
476
477
  key: 1,
477
478
  "aria-hidden": !e(d)
478
479
  }, M(l.activeText), 9, ["aria-hidden"])) : _("v-if", !0)
@@ -480,12 +481,12 @@ const il = de(nl), rl = ne({
480
481
  ], 10, ["onClick"]));
481
482
  }
482
483
  });
483
- var pl = /* @__PURE__ */ ue(cl, [["__file", "switch.vue"]]);
484
- const ml = de(pl);
485
- const vl = [
484
+ var ml = /* @__PURE__ */ ue(pl, [["__file", "switch.vue"]]);
485
+ const vl = de(ml);
486
+ const fl = [
486
487
  { label: "买卖", value: 0 },
487
488
  { label: "开平", value: 1 }
488
- ], W = () => ({
489
+ ], Y = () => ({
489
490
  /**
490
491
  * @description: 偏好设置
491
492
  */
@@ -493,6 +494,8 @@ const vl = [
493
494
  mainIndicator: "MA",
494
495
  // 成交点默认展示
495
496
  sellBuy: 1,
497
+ // 成交点默认按照实际价格标记
498
+ sellBuyByPrice: 1,
496
499
  // 单周期默认展示
497
500
  singelCycle: "6",
498
501
  // 多周期布局 2 4 6
@@ -520,11 +523,11 @@ const vl = [
520
523
  // 是否启用副图
521
524
  enable_sliderChart: !0
522
525
  // 是否启用拖拽轴
523
- }), fl = (i, O) => {
526
+ }), bl = (r, L) => {
524
527
  var C;
525
- return ((C = O.find((c) => c.value === i)) == null ? void 0 : C.label) ?? "-";
528
+ return ((C = L.find((c) => c.value === r)) == null ? void 0 : C.label) ?? "-";
526
529
  };
527
- const L = (i) => (Me("data-v-da9cf1c8"), i = i(), Ke(), i), bl = { class: "kline-config element-dark" }, gl = { class: "setting-item" }, yl = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "主图指标: ", -1)), hl = { class: "setting-item" }, _l = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "交易点位: ", -1)), Cl = { class: "setting-item" }, wl = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "单周期: ", -1)), kl = { class: "setting-item" }, Vl = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "多周期: ", -1)), Sl = { class: "mode" }, Il = { class: "cycleName" }, El = { class: "content" }, Tl = { class: "setting-item" }, zl = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "默认展示: ", -1)), Bl = { class: "setting-item" }, Nl = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "高亮交易范围: ", -1)), Al = { class: "setting-item" }, Pl = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "展示当屏时间: ", -1)), Ll = { class: "setting-item" }, Ol = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "展示当屏最高价: ", -1)), Ul = { class: "setting-item" }, Rl = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "多周期双击图表切换至单周期: ", -1)), Dl = { class: "setting-item" }, Fl = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "开启副图: ", -1)), $l = { class: "setting-item" }, Ml = /* @__PURE__ */ L(() => /* @__PURE__ */ n("span", { class: "label" }, "开启拖拽轴: ", -1)), Kl = { class: "setting-footer" }, ql = {
530
+ const P = (r) => (Ke("data-v-009e01e7"), r = r(), qe(), r), yl = { class: "kline-config element-dark" }, gl = { class: "setting-item" }, hl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "主图指标: ", -1)), _l = { class: "setting-item" }, Cl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "交易点位: ", -1)), kl = { class: "setting-item" }, wl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "开平点按价格标: ", -1)), Vl = { class: "setting-item" }, Sl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "单周期: ", -1)), El = { class: "setting-item" }, Il = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "多周期: ", -1)), Tl = { class: "mode" }, Bl = { class: "cycleName" }, zl = { class: "content" }, Nl = { class: "setting-item" }, Pl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "默认展示: ", -1)), Al = { class: "setting-item" }, Ll = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "高亮交易范围: ", -1)), Ol = { class: "setting-item" }, Ul = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "展示当屏时间: ", -1)), Rl = { class: "setting-item" }, Dl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "展示当屏最高价: ", -1)), Fl = { class: "setting-item" }, $l = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "多周期双击图表切换至单周期: ", -1)), Ml = { class: "setting-item" }, Kl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "开启副图: ", -1)), ql = { class: "setting-item" }, jl = /* @__PURE__ */ P(() => /* @__PURE__ */ n("span", { class: "label" }, "开启拖拽轴: ", -1)), Hl = { class: "setting-footer" }, Jl = {
528
531
  __name: "index",
529
532
  props: {
530
533
  indicatorStore: { type: Object, default: () => ({}) },
@@ -535,114 +538,123 @@ const L = (i) => (Me("data-v-da9cf1c8"), i = i(), Ke(), i), bl = { class: "kline
535
538
  cycleOptions: { type: Array, default: () => [] }
536
539
  },
537
540
  emits: "callBack",
538
- setup(i, { expose: O, emit: C }) {
539
- const { request: c } = Fe("stConfig"), V = C, B = i, u = z(!1), a = $e({}), h = z([]), I = z([]), S = () => {
540
- Object.assign(a, W());
541
- }, U = async () => {
542
- const f = JSON.stringify(a);
543
- B.origin === "server" ? await c.post("/common/qt/updateUserConfig", { appId: 1, json: f }) : localStorage.setItem("userKlineConfig", f), V("callBack", f), u.value = !1;
544
- }, N = async () => {
541
+ setup(r, { expose: L, emit: C }) {
542
+ const { request: c } = $e("stConfig"), w = C, B = r, u = T(!1), t = Me({}), g = T([]), S = T([]), V = () => {
543
+ Object.assign(t, Y());
544
+ }, O = async () => {
545
+ const v = JSON.stringify(t);
546
+ B.origin === "server" ? await c.post("/common/qt/updateUserConfig", { appId: 1, json: v }) : localStorage.setItem("userKlineConfig", v), w("callBack", v), u.value = !1;
547
+ }, z = async () => {
545
548
  if (B.origin === "server") {
546
- const { body: f } = await c.post("/common/qt/getUserConfig", { appId: 1 });
547
- Object.assign(a, W(), f ? JSON.parse(f) : {});
549
+ const { body: v } = await c.post("/common/qt/getUserConfig", { appId: 1 });
550
+ Object.assign(t, Y(), v ? JSON.parse(v) : {});
548
551
  } else {
549
- const f = localStorage.getItem("userKlineConfig");
550
- Object.assign(a, W(), f ? JSON.parse(f) : {});
552
+ const v = localStorage.getItem("userKlineConfig");
553
+ Object.assign(t, Y(), v ? JSON.parse(v) : {});
551
554
  }
552
- }, R = async () => {
555
+ }, U = async () => {
553
556
  if (B.origin === "server") {
554
- const { body: f } = await c.post("/common/qt/getDict", { dictIds: [1002] });
555
- h.value = f[1002].map((o) => ({
556
- label: o.dictName,
557
- value: o.dictCode
557
+ const { body: v } = await c.post("/common/qt/getDict", { dictIds: [1002] });
558
+ g.value = v[1002].map((s) => ({
559
+ label: s.dictName,
560
+ value: s.dictCode
558
561
  }));
559
562
  } else
560
- h.value = B.cycleOptions;
563
+ g.value = B.cycleOptions;
561
564
  };
562
565
  return me(() => {
563
- R(), I.value = B.indicatorStore.mainIndicatorList ?? [];
564
- }), O({
566
+ U(), S.value = B.indicatorStore.mainIndicatorList ?? [];
567
+ }), L({
565
568
  // 打开
566
569
  open: async () => {
567
- await N(), u.value = !0;
570
+ await z(), u.value = !0;
568
571
  },
569
572
  // 获取默认配置
570
- getDefaultUserKlineConfig: W
571
- }), (f, o) => {
572
- const P = Be, d = ke, E = Ve, y = we, w = ml, l = Ze, v = Ce, D = il;
573
- return s(), g("div", bl, [
574
- p(D, {
573
+ getDefaultUserKlineConfig: Y
574
+ }), (v, s) => {
575
+ const A = Ne, d = Ve, E = Se, h = we, N = ke, l = vl, f = xe, R = Ce, F = rl;
576
+ return o(), y("div", yl, [
577
+ p(F, {
575
578
  modelValue: u.value,
576
- "onUpdate:modelValue": o[11] || (o[11] = (t) => u.value = t),
579
+ "onUpdate:modelValue": s[12] || (s[12] = (a) => u.value = a),
577
580
  title: "K线自定义配置",
578
581
  size: 320
579
582
  }, {
580
583
  default: m(() => [
581
- p(l, { class: "setting-main" }, {
584
+ p(f, { class: "setting-main" }, {
582
585
  default: m(() => [
583
- p(P, { style: { "margin-top": "8px" } }, {
586
+ p(A, { style: { "margin-top": "8px" } }, {
584
587
  default: m(() => [
585
- q("偏好设置")
588
+ j("偏好设置")
586
589
  ]),
587
590
  _: 1
588
591
  }),
589
592
  n("div", gl, [
590
- yl,
593
+ hl,
591
594
  p(E, {
592
- modelValue: a.mainIndicator,
593
- "onUpdate:modelValue": o[0] || (o[0] = (t) => a.mainIndicator = t),
595
+ modelValue: t.mainIndicator,
596
+ "onUpdate:modelValue": s[0] || (s[0] = (a) => t.mainIndicator = a),
594
597
  "popper-class": "element-dark"
595
598
  }, {
596
599
  default: m(() => [
597
- (s(!0), g(j, null, H(I.value, (t, A) => (s(), k(d, {
598
- key: A,
599
- label: t.label,
600
- value: t.value
600
+ (o(!0), y(H, null, J(S.value, (a, i) => (o(), k(d, {
601
+ key: i,
602
+ label: a.label,
603
+ value: a.value
601
604
  }, null, 8, ["label", "value"]))), 128))
602
605
  ]),
603
606
  _: 1
604
607
  }, 8, ["modelValue"])
605
608
  ]),
606
- n("div", hl, [
607
- _l,
609
+ n("div", _l, [
610
+ Cl,
608
611
  p(E, {
609
- modelValue: a.sellBuy,
610
- "onUpdate:modelValue": o[1] || (o[1] = (t) => a.sellBuy = t),
612
+ modelValue: t.sellBuy,
613
+ "onUpdate:modelValue": s[1] || (s[1] = (a) => t.sellBuy = a),
611
614
  "popper-class": "element-dark"
612
615
  }, {
613
616
  default: m(() => [
614
- (s(!0), g(j, null, H(e(vl), (t, A) => (s(), k(d, {
615
- key: A,
616
- label: t.label,
617
- value: t.value
617
+ (o(!0), y(H, null, J(e(fl), (a, i) => (o(), k(d, {
618
+ key: i,
619
+ label: a.label,
620
+ value: a.value
618
621
  }, null, 8, ["label", "value"]))), 128))
619
622
  ]),
620
623
  _: 1
621
624
  }, 8, ["modelValue"])
622
625
  ]),
623
- n("div", Cl, [
626
+ n("div", kl, [
624
627
  wl,
628
+ p(h, {
629
+ modelValue: t.sellBuyByPrice,
630
+ "onUpdate:modelValue": s[2] || (s[2] = (a) => t.sellBuyByPrice = a),
631
+ "true-value": 1,
632
+ "false-value": 0
633
+ }, null, 8, ["modelValue"])
634
+ ]),
635
+ n("div", Vl, [
636
+ Sl,
625
637
  p(E, {
626
- modelValue: a.singelCycle,
627
- "onUpdate:modelValue": o[2] || (o[2] = (t) => a.singelCycle = t),
638
+ modelValue: t.singelCycle,
639
+ "onUpdate:modelValue": s[3] || (s[3] = (a) => t.singelCycle = a),
628
640
  "popper-class": "element-dark"
629
641
  }, {
630
642
  default: m(() => [
631
- (s(!0), g(j, null, H(h.value, (t, A) => (s(), k(d, {
632
- key: A,
633
- label: t.label,
634
- value: t.value
643
+ (o(!0), y(H, null, J(g.value, (a, i) => (o(), k(d, {
644
+ key: i,
645
+ label: a.label,
646
+ value: a.value
635
647
  }, null, 8, ["label", "value"]))), 128))
636
648
  ]),
637
649
  _: 1
638
650
  }, 8, ["modelValue"])
639
651
  ]),
640
- n("div", kl, [
641
- Vl,
642
- p(y, {
652
+ n("div", El, [
653
+ Il,
654
+ p(N, {
643
655
  size: "small",
644
- modelValue: a.multiCycleNum,
645
- "onUpdate:modelValue": o[3] || (o[3] = (t) => a.multiCycleNum = t),
656
+ modelValue: t.multiCycleNum,
657
+ "onUpdate:modelValue": s[4] || (s[4] = (a) => t.multiCycleNum = a),
646
658
  options: [
647
659
  { label: "二图", value: 2 },
648
660
  { label: "四图", value: 4 },
@@ -652,35 +664,35 @@ const L = (i) => (Me("data-v-da9cf1c8"), i = i(), Ke(), i), bl = { class: "kline
652
664
  }, null, 8, ["modelValue"])
653
665
  ]),
654
666
  n("div", {
655
- class: b(`setting-multi-box grid-${a.multiCycleNum}`)
667
+ class: b(`setting-multi-box grid-${t.multiCycleNum}`)
656
668
  }, [
657
- (s(!0), g(j, null, H(a.multiCycleList.slice(0, a.multiCycleNum), (t, A) => (s(), g("div", Sl, [
658
- n("div", Il, [
659
- n("span", null, M(e(fl)(a.multiCycleList[A], h.value)), 1),
669
+ (o(!0), y(H, null, J(t.multiCycleList.slice(0, t.multiCycleNum), (a, i) => (o(), y("div", Tl, [
670
+ n("div", Bl, [
671
+ n("span", null, M(e(bl)(t.multiCycleList[i], g.value)), 1),
660
672
  p(E, {
661
- modelValue: a.multiCycleList[A],
662
- "onUpdate:modelValue": (r) => a.multiCycleList[A] = r,
673
+ modelValue: t.multiCycleList[i],
674
+ "onUpdate:modelValue": (K) => t.multiCycleList[i] = K,
663
675
  "popper-class": "element-dark"
664
676
  }, {
665
677
  default: m(() => [
666
- (s(!0), g(j, null, H(h.value, (r, te) => (s(), k(d, {
667
- key: te,
668
- label: r.label,
669
- value: r.value
678
+ (o(!0), y(H, null, J(g.value, (K, W) => (o(), k(d, {
679
+ key: W,
680
+ label: K.label,
681
+ value: K.value
670
682
  }, null, 8, ["label", "value"]))), 128))
671
683
  ]),
672
684
  _: 2
673
685
  }, 1032, ["modelValue", "onUpdate:modelValue"])
674
686
  ]),
675
- n("span", El, M(A + 1) + "号位K线", 1)
687
+ n("span", zl, M(i + 1) + "号位K线", 1)
676
688
  ]))), 256))
677
689
  ], 2),
678
- n("div", Tl, [
679
- zl,
680
- p(y, {
690
+ n("div", Nl, [
691
+ Pl,
692
+ p(N, {
681
693
  size: "small",
682
- modelValue: a.pageType,
683
- "onUpdate:modelValue": o[4] || (o[4] = (t) => a.pageType = t),
694
+ modelValue: t.pageType,
695
+ "onUpdate:modelValue": s[5] || (s[5] = (a) => t.pageType = a),
684
696
  options: [
685
697
  { label: "单周期", value: 1 },
686
698
  { label: "多周期", value: 2 }
@@ -688,76 +700,76 @@ const L = (i) => (Me("data-v-da9cf1c8"), i = i(), Ke(), i), bl = { class: "kline
688
700
  style: { height: "26px" }
689
701
  }, null, 8, ["modelValue"])
690
702
  ]),
691
- p(P, { style: { "margin-top": "44px" } }, {
703
+ p(A, { style: { "margin-top": "44px" } }, {
692
704
  default: m(() => [
693
- q("功能配置")
705
+ j("功能配置")
694
706
  ]),
695
707
  _: 1
696
708
  }),
697
- n("div", Bl, [
698
- Nl,
699
- p(w, {
700
- modelValue: a.enable_tradeLogBrush,
701
- "onUpdate:modelValue": o[5] || (o[5] = (t) => a.enable_tradeLogBrush = t)
709
+ n("div", Al, [
710
+ Ll,
711
+ p(l, {
712
+ modelValue: t.enable_tradeLogBrush,
713
+ "onUpdate:modelValue": s[6] || (s[6] = (a) => t.enable_tradeLogBrush = a)
702
714
  }, null, 8, ["modelValue"])
703
715
  ]),
704
- n("div", Al, [
705
- Pl,
706
- p(w, {
707
- modelValue: a.enable_showScreenTimeRange,
708
- "onUpdate:modelValue": o[6] || (o[6] = (t) => a.enable_showScreenTimeRange = t)
716
+ n("div", Ol, [
717
+ Ul,
718
+ p(l, {
719
+ modelValue: t.enable_showScreenTimeRange,
720
+ "onUpdate:modelValue": s[7] || (s[7] = (a) => t.enable_showScreenTimeRange = a)
709
721
  }, null, 8, ["modelValue"])
710
722
  ]),
711
- n("div", Ll, [
712
- Ol,
713
- p(w, {
714
- modelValue: a.enable_showScreenMaxPrice,
715
- "onUpdate:modelValue": o[7] || (o[7] = (t) => a.enable_showScreenMaxPrice = t)
723
+ n("div", Rl, [
724
+ Dl,
725
+ p(l, {
726
+ modelValue: t.enable_showScreenMaxPrice,
727
+ "onUpdate:modelValue": s[8] || (s[8] = (a) => t.enable_showScreenMaxPrice = a)
716
728
  }, null, 8, ["modelValue"])
717
729
  ]),
718
- n("div", Ul, [
719
- Rl,
720
- p(w, {
721
- modelValue: a.enable_dbClickOpenSingel,
722
- "onUpdate:modelValue": o[8] || (o[8] = (t) => a.enable_dbClickOpenSingel = t)
730
+ n("div", Fl, [
731
+ $l,
732
+ p(l, {
733
+ modelValue: t.enable_dbClickOpenSingel,
734
+ "onUpdate:modelValue": s[9] || (s[9] = (a) => t.enable_dbClickOpenSingel = a)
723
735
  }, null, 8, ["modelValue"])
724
736
  ]),
725
- p(P, { style: { "margin-top": "44px" } }, {
737
+ p(A, { style: { "margin-top": "44px" } }, {
726
738
  default: m(() => [
727
- q("组件开关")
739
+ j("组件开关")
728
740
  ]),
729
741
  _: 1
730
742
  }),
731
- n("div", Dl, [
732
- Fl,
733
- p(w, {
734
- modelValue: a.enable_subChart,
735
- "onUpdate:modelValue": o[9] || (o[9] = (t) => a.enable_subChart = t)
743
+ n("div", Ml, [
744
+ Kl,
745
+ p(l, {
746
+ modelValue: t.enable_subChart,
747
+ "onUpdate:modelValue": s[10] || (s[10] = (a) => t.enable_subChart = a)
736
748
  }, null, 8, ["modelValue"])
737
749
  ]),
738
- n("div", $l, [
739
- Ml,
740
- p(w, {
741
- modelValue: a.enable_sliderChart,
742
- "onUpdate:modelValue": o[10] || (o[10] = (t) => a.enable_sliderChart = t)
750
+ n("div", ql, [
751
+ jl,
752
+ p(l, {
753
+ modelValue: t.enable_sliderChart,
754
+ "onUpdate:modelValue": s[11] || (s[11] = (a) => t.enable_sliderChart = a)
743
755
  }, null, 8, ["modelValue"])
744
756
  ])
745
757
  ]),
746
758
  _: 1
747
759
  }),
748
- n("div", Kl, [
749
- p(v, { onClick: S }, {
760
+ n("div", Hl, [
761
+ p(R, { onClick: V }, {
750
762
  default: m(() => [
751
- q(" 恢复默认 ")
763
+ j(" 恢复默认 ")
752
764
  ]),
753
765
  _: 1
754
766
  }),
755
- p(v, {
767
+ p(R, {
756
768
  type: "primary",
757
- onClick: U
769
+ onClick: O
758
770
  }, {
759
771
  default: m(() => [
760
- q(" 保存配置 ")
772
+ j(" 保存配置 ")
761
773
  ]),
762
774
  _: 1
763
775
  })
@@ -768,11 +780,11 @@ const L = (i) => (Me("data-v-da9cf1c8"), i = i(), Ke(), i), bl = { class: "kline
768
780
  ]);
769
781
  };
770
782
  }
771
- }, jl = /* @__PURE__ */ qe(ql, [["__scopeId", "data-v-da9cf1c8"]]), ya = {
772
- install(i) {
773
- i.component("st-klineConfig", jl);
783
+ }, Wl = /* @__PURE__ */ je(Jl, [["__scopeId", "data-v-009e01e7"]]), kt = {
784
+ install(r) {
785
+ r.component("st-klineConfig", Wl);
774
786
  }
775
787
  };
776
788
  export {
777
- ya as default
789
+ kt as default
778
790
  };