st-comp 0.0.180 → 0.0.182

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 (102) hide show
  1. package/es/CustomFunction.cjs +1 -0
  2. package/es/CustomFunction.js +267 -0
  3. package/es/FactorWarning.cjs +1 -1
  4. package/es/FactorWarning.js +24 -23
  5. package/es/Kline.cjs +1 -1
  6. package/es/Kline.js +8 -8
  7. package/es/KlineBasic.cjs +1 -1
  8. package/es/KlineBasic.js +16 -16
  9. package/es/KlineConfig.cjs +1 -1
  10. package/es/KlineConfig.js +12 -12
  11. package/es/KlineNew.cjs +1 -1
  12. package/es/KlineNew.js +7 -7
  13. package/es/KlinePlus.cjs +1 -1
  14. package/es/KlinePlus.js +9 -9
  15. package/es/Pagination.cjs +1 -1
  16. package/es/Pagination.js +30 -30
  17. package/es/PasswordPrompt.cjs +1 -1
  18. package/es/PasswordPrompt.js +2 -2
  19. package/es/Table.cjs +1 -1
  20. package/es/Table.js +17 -16
  21. package/es/User.cjs +1 -1
  22. package/es/User.js +15 -15
  23. package/es/VarSelectDialog.cjs +2 -2
  24. package/es/VarSelectDialog.js +35 -36
  25. package/es/VarietySearch.cjs +15 -13
  26. package/es/VarietySearch.js +1577 -1555
  27. package/es/VirtualTable.cjs +1 -1
  28. package/es/VirtualTable.js +4 -4
  29. package/es/{_initCloneObject-346b7ee2.js → _initCloneObject-00cee14a.js} +1 -1
  30. package/es/{_initCloneObject-e2f0deb9.cjs → _initCloneObject-4dd3c9a4.cjs} +1 -1
  31. package/es/{config-provider-2e733cae.js → config-provider-89aba243.js} +2 -2
  32. package/es/{config-provider-178bb43c.cjs → config-provider-d82ea78c.cjs} +1 -1
  33. package/es/{dropdown-d06edf54.js → dropdown-0fd8bdbd.js} +2 -2
  34. package/es/{dropdown-f2fec683.cjs → dropdown-babf55db.cjs} +1 -1
  35. package/es/{el-button-fc46a173.cjs → el-button-338a49b7.cjs} +1 -1
  36. package/es/{el-button-5b08c08a.js → el-button-f44cb2cf.js} +3 -3
  37. package/es/{el-dialog-0b7166c9.cjs → el-dialog-45250561.cjs} +1 -1
  38. package/es/{el-dialog-d8d0da7a.js → el-dialog-c2451c86.js} +4 -4
  39. package/es/{el-form-item-ff9c7d98.js → el-form-item-64c14a64.js} +4 -4
  40. package/es/{el-form-item-caffd133.cjs → el-form-item-b5f6081b.cjs} +1 -1
  41. package/es/{el-input-9c912678.cjs → el-input-c663697a.cjs} +1 -1
  42. package/es/{el-input-6db30c8c.js → el-input-ef6edbf3.js} +4 -4
  43. package/es/{el-input-number-6fe73563.cjs → el-input-number-5fda0890.cjs} +1 -1
  44. package/es/{el-input-number-05f150e5.js → el-input-number-cda5c4e1.js} +12 -12
  45. package/es/{el-loading-93842445.js → el-loading-1be77e7c.js} +1 -1
  46. package/es/{el-loading-8514feaa.cjs → el-loading-8c3379d5.cjs} +1 -1
  47. package/es/{el-menu-item-a886fbdd.js → el-menu-item-84a4b594.js} +5 -5
  48. package/es/{el-menu-item-7a57c1be.cjs → el-menu-item-cf9e0e36.cjs} +1 -1
  49. package/es/{el-message-8aa674f2.js → el-message-ba131b90.js} +5 -5
  50. package/es/{el-message-box-2b6b2b68.js → el-message-box-38779ab9.js} +9 -9
  51. package/es/{el-message-box-53f355d7.cjs → el-message-box-743c461a.cjs} +1 -1
  52. package/es/{el-message-aad5b42b.cjs → el-message-c500161d.cjs} +1 -1
  53. package/es/{el-overlay-96630a2e.cjs → el-overlay-39e2e96f.cjs} +1 -1
  54. package/es/{el-overlay-540b2a02.js → el-overlay-a6f43919.js} +4 -4
  55. package/es/{el-popconfirm-2afdf6fb.cjs → el-popconfirm-08b4221f.cjs} +1 -1
  56. package/es/{el-popconfirm-c18d8035.js → el-popconfirm-16597a41.js} +4 -4
  57. package/es/el-popover-0ea8fbf8.cjs +1 -0
  58. package/es/el-popover-4ed993c7.js +1 -0
  59. package/es/{el-popper-544fd77e.js → el-popper-05a8f271.js} +1 -1
  60. package/es/{el-popper-73466d7a.cjs → el-popper-dca2de0d.cjs} +1 -1
  61. package/es/{el-scrollbar-fae984e3.js → el-scrollbar-31d72626.js} +120 -120
  62. package/es/{el-scrollbar-691cfc11.cjs → el-scrollbar-802d874d.cjs} +1 -1
  63. package/es/{el-segmented-b6bd3c0e.cjs → el-segmented-c2952e4c.cjs} +1 -1
  64. package/es/{el-segmented-a7493831.js → el-segmented-d68dfe31.js} +2 -2
  65. package/es/{el-select-ea8feecf.js → el-select-7846f331.js} +6 -6
  66. package/es/{el-select-5959e837.cjs → el-select-8337856d.cjs} +1 -1
  67. package/es/{el-table-column-b824ac5c.cjs → el-table-column-34f080b5.cjs} +2 -2
  68. package/es/{el-table-column-9ef52443.js → el-table-column-cd63e722.js} +107 -107
  69. package/es/{el-tag-2fc9b9eb.js → el-tag-914c96a9.js} +2 -2
  70. package/es/{el-tag-ecad6d02.cjs → el-tag-a2e99294.cjs} +1 -1
  71. package/es/{index-8d7ae5dc.js → index-14c322b1.js} +1 -1
  72. package/es/{index-ebd2fd7e.cjs → index-1c409d46.cjs} +1 -1
  73. package/es/{index-a9095b4a.js → index-20749652.js} +2 -2
  74. package/es/{index-694bb944.cjs → index-2bf6214c.cjs} +1 -1
  75. package/es/{index-74fb90c7.js → index-35129268.js} +144 -110
  76. package/es/index-8feed26f.cjs +1 -0
  77. package/es/{index-5d4e5c51.js → index-b132c1b1.js} +2 -2
  78. package/es/{index-a93dd9c4.cjs → index-e6deec5d.cjs} +1 -1
  79. package/es/style.css +1 -1
  80. package/es/{use-global-config-4b185eb5.js → use-global-config-53be2b7d.js} +1 -1
  81. package/es/{use-global-config-03735617.cjs → use-global-config-f3664595.cjs} +1 -1
  82. package/es/{validator-d12a8f8c.js → validator-90d3e848.js} +1 -1
  83. package/es/{validator-0e688e4e.cjs → validator-f66b0f34.cjs} +1 -1
  84. package/es/{vnode-4db20540.cjs → vnode-6d51e502.cjs} +1 -1
  85. package/es/{vnode-a0795a4b.js → vnode-8ddc4f78.js} +2 -2
  86. package/es/{zh-cn-0ff32188.js → zh-cn-530f1ed1.js} +1 -1
  87. package/es/{zh-cn-adf19c4b.cjs → zh-cn-de7ae601.cjs} +1 -1
  88. package/lib/bundle.js +1 -1
  89. package/lib/bundle.umd.cjs +184 -182
  90. package/lib/{index-9341884f.js → index-9b7ac366.js} +17932 -17643
  91. package/lib/{python-5c9b3e4e.js → python-46b66228.js} +1 -1
  92. package/lib/style.css +1 -1
  93. package/package.json +1 -1
  94. package/packages/CustomFunction/index.ts +8 -0
  95. package/packages/CustomFunction/index.vue +294 -0
  96. package/packages/VarSelectDialog/index.vue +9 -5
  97. package/packages/VarietySearch/components/FactorScreen/FactorDescription.vue +5 -8
  98. package/packages/VarietySearch/components/FactorScreen/index.vue +35 -0
  99. package/packages/index.ts +2 -0
  100. package/src/pages/CustomFunction/index.vue +13 -0
  101. package/src/router/routes.ts +5 -0
  102. package/es/index-f6afafaa.cjs +0 -1
@@ -1,28 +1,28 @@
1
1
  import { b as De, e as ue, N as Ue, c as Y, p as Z, f as Le, u as Oe, _ as ze, j as ee, w as Ke } from "./base-62a70f61.js";
2
- import { E as Re } from "./el-dialog-d8d0da7a.js";
3
- import "./el-overlay-540b2a02.js";
2
+ import { E as Re } from "./el-dialog-c2451c86.js";
3
+ import "./el-overlay-a6f43919.js";
4
4
  import "./el-tooltip-4ed993c7.js";
5
- import { h as ie, U as H, I as te, C as fe, p as qe, E as me, g as Me, b as We } from "./el-popper-544fd77e.js";
6
- import { E as je } from "./el-button-5b08c08a.js";
7
- import { i as ve, E as ge } from "./el-input-6db30c8c.js";
8
- import "./el-tag-2fc9b9eb.js";
9
- import { E as He, a as Ge } from "./el-select-ea8feecf.js";
10
- import { g as Je, L as Qe } from "./el-scrollbar-fae984e3.js";
11
- import { defineComponent as he, computed as O, useAttrs as Xe, ref as y, onBeforeUnmount as Ye, onMounted as _e, openBlock as n, createBlock as z, unref as a, withCtx as h, createElementVNode as k, normalizeClass as L, normalizeStyle as ce, createElementBlock as g, withModifiers as j, renderSlot as F, createCommentVNode as T, createVNode as $, Fragment as D, renderList as M, createTextVNode as be, toDisplayString as U, mergeProps as pe, withKeys as q, createSlots as Ze, inject as ye, pushScopeId as et, popScopeId as tt } from "vue";
12
- import { E as Ve, l as lt, c as ot, i as at } from "./index-74fb90c7.js";
5
+ import { h as ie, U as H, I as te, C as fe, p as qe, E as me, g as Me, b as We } from "./el-popper-05a8f271.js";
6
+ import { E as je } from "./el-button-f44cb2cf.js";
7
+ import { i as ve, E as ge } from "./el-input-ef6edbf3.js";
8
+ import "./el-tag-914c96a9.js";
9
+ import { E as He, a as Ge } from "./el-select-7846f331.js";
10
+ import { g as Je, L as Qe } from "./el-scrollbar-31d72626.js";
11
+ import { defineComponent as he, computed as O, useAttrs as Xe, ref as b, onBeforeUnmount as Ye, onMounted as _e, openBlock as n, createBlock as z, unref as a, withCtx as h, createElementVNode as k, normalizeClass as L, normalizeStyle as ce, createElementBlock as g, withModifiers as j, renderSlot as F, createCommentVNode as T, createVNode as $, Fragment as D, renderList as M, createTextVNode as ye, toDisplayString as U, mergeProps as pe, withKeys as q, createSlots as Ze, inject as be, pushScopeId as et, popScopeId as tt } from "vue";
12
+ import { E as Ve, l as lt, c as ot, i as at } from "./index-35129268.js";
13
13
  import { V as st } from "./index-7ed0999e.js";
14
14
  import { _ as Se } from "./_plugin-vue_export-helper-dad06003.js";
15
15
  import { a as nt } from "./index-34592e82.js";
16
16
  import { d as rt } from "./debounce-5f2ec4be.js";
17
- import { E as de } from "./el-message-8aa674f2.js";
17
+ import { E as de } from "./el-message-ba131b90.js";
18
18
  import "./index-2e331d74.js";
19
- import "./vnode-a0795a4b.js";
19
+ import "./vnode-8ddc4f78.js";
20
20
  import "./scroll-7d352c1f.js";
21
- import "./use-global-config-4b185eb5.js";
21
+ import "./use-global-config-53be2b7d.js";
22
22
  import "./index-657047bb.js";
23
23
  import "./typescript-7ae59c4c.js";
24
- import "./index-5d4e5c51.js";
25
- import "./config-provider-2e733cae.js";
24
+ import "./index-b132c1b1.js";
25
+ import "./config-provider-89aba243.js";
26
26
  const ut = De({
27
27
  ...ve,
28
28
  valueKey: {
@@ -83,10 +83,10 @@ const ut = De({
83
83
  props: ut,
84
84
  emits: it,
85
85
  setup(o, { expose: K, emit: _ }) {
86
- const d = o, I = O(() => qe(d, Object.keys(ve))), x = Xe(), A = Je(), f = Oe("autocomplete"), b = y(), S = y(), V = y(), c = y();
86
+ const d = o, I = O(() => qe(d, Object.keys(ve))), x = Xe(), A = Je(), f = Oe("autocomplete"), y = b(), S = b(), V = b(), c = b();
87
87
  let r = !1, C = !1;
88
- const u = y([]), t = y(-1), P = y(""), m = y(!1), E = y(!1), p = y(!1), s = nt(), B = O(() => x.style), l = O(() => (u.value.length > 0 || p.value) && m.value), W = O(() => !d.hideLoading && p.value), w = O(() => b.value ? Array.from(b.value.$el.querySelectorAll("input")) : []), G = () => {
89
- l.value && (P.value = `${b.value.$el.offsetWidth}px`);
88
+ const u = b([]), t = b(-1), P = b(""), m = b(!1), E = b(!1), p = b(!1), s = nt(), B = O(() => x.style), l = O(() => (u.value.length > 0 || p.value) && m.value), W = O(() => !d.hideLoading && p.value), w = O(() => y.value ? Array.from(y.value.$el.querySelectorAll("input")) : []), G = () => {
89
+ l.value && (P.value = `${y.value.$el.offsetWidth}px`);
90
90
  }, ke = () => {
91
91
  t.value = -1;
92
92
  }, le = async (e) => {
@@ -135,17 +135,17 @@ const ut = De({
135
135
  m.value = !1, _(H, ""), _("clear");
136
136
  }, ae = async () => {
137
137
  var e;
138
- (e = b.value) != null && e.isComposing || (l.value && t.value >= 0 && t.value < u.value.length ? J(u.value[t.value]) : d.selectWhenUnmatched && (_("select", { value: d.modelValue }), u.value = [], t.value = -1));
138
+ (e = y.value) != null && e.isComposing || (l.value && t.value >= 0 && t.value < u.value.length ? J(u.value[t.value]) : d.selectWhenUnmatched && (_("select", { value: d.modelValue }), u.value = [], t.value = -1));
139
139
  }, Te = (e) => {
140
140
  l.value && (e.preventDefault(), e.stopPropagation(), R());
141
141
  }, R = () => {
142
142
  m.value = !1;
143
143
  }, Ae = () => {
144
144
  var e;
145
- (e = b.value) == null || e.focus();
145
+ (e = y.value) == null || e.focus();
146
146
  }, Be = () => {
147
147
  var e;
148
- (e = b.value) == null || e.blur();
148
+ (e = y.value) == null || e.blur();
149
149
  }, J = async (e) => {
150
150
  _(te, e[d.valueKey]), _(H, e[d.valueKey]), _("select", e), u.value = [], t.value = -1;
151
151
  }, Q = (e) => {
@@ -158,7 +158,7 @@ const ut = De({
158
158
  }
159
159
  e >= u.value.length && (e = u.value.length - 1);
160
160
  const N = S.value.querySelector(`.${f.be("suggestion", "wrap")}`), Pe = N.querySelectorAll(`.${f.be("suggestion", "list")} li`)[e], ne = N.scrollTop, { offsetTop: re, scrollHeight: X } = Pe;
161
- re + X > ne + N.clientHeight && (N.scrollTop += X), re < ne && (N.scrollTop -= X), t.value = e, (v = (i = b.value) == null ? void 0 : i.ref) == null || v.setAttribute("aria-activedescendant", `${s.value}-item-${t.value}`);
161
+ re + X > ne + N.clientHeight && (N.scrollTop += X), re < ne && (N.scrollTop -= X), t.value = e, (v = (i = y.value) == null ? void 0 : i.ref) == null || v.setAttribute("aria-activedescendant", `${s.value}-item-${t.value}`);
162
162
  }, se = Qe(c, () => {
163
163
  var e;
164
164
  (e = V.value) != null && e.isFocusInsideContent() || l.value && R();
@@ -167,7 +167,7 @@ const ut = De({
167
167
  se == null || se();
168
168
  }), _e(() => {
169
169
  var e;
170
- const i = (e = b.value) == null ? void 0 : e.ref;
170
+ const i = (e = y.value) == null ? void 0 : e.ref;
171
171
  i && ([
172
172
  { key: "role", value: "textbox" },
173
173
  { key: "aria-autocomplete", value: "list" },
@@ -181,7 +181,7 @@ const ut = De({
181
181
  highlightedIndex: t,
182
182
  activated: m,
183
183
  loading: p,
184
- inputRef: b,
184
+ inputRef: y,
185
185
  popperRef: V,
186
186
  suggestions: u,
187
187
  handleSelect: J,
@@ -258,7 +258,7 @@ const ut = De({
258
258
  onClick: (Fe) => J(v)
259
259
  }, [
260
260
  F(e.$slots, "default", { item: v }, () => [
261
- be(U(v[e.valueKey]), 1)
261
+ ye(U(v[e.valueKey]), 1)
262
262
  ])
263
263
  ], 10, ["id", "aria-selected", "onClick"]))), 128))
264
264
  ]),
@@ -287,7 +287,7 @@ const ut = De({
287
287
  }, [
288
288
  $(a(ge), pe({
289
289
  ref_key: "inputRef",
290
- ref: b
290
+ ref: y
291
291
  }, pe(a(I), e.$attrs), {
292
292
  "model-value": e.modelValue,
293
293
  disabled: a(A),
@@ -352,7 +352,7 @@ const mt = { class: "variety-auto-complete" }, vt = { key: 0 }, gt = { class: "l
352
352
  },
353
353
  emits: ["select", "change"],
354
354
  setup(o, { emit: K }) {
355
- const _ = ye("stConfig"), d = K, I = o, x = y(""), A = async (S, V) => {
355
+ const _ = be("stConfig"), d = K, I = o, x = b(""), A = async (S, V) => {
356
356
  if (S === "" || S === "null")
357
357
  V([]);
358
358
  else {
@@ -371,7 +371,7 @@ const mt = { class: "variety-auto-complete" }, vt = { key: 0 }, gt = { class: "l
371
371
  }, f = ({ label: S, value: V }) => {
372
372
  const c = S.split(" ").at(-1);
373
373
  d("select", { name: c, code: V }), I.selectClearEnable && (x.value = "");
374
- }, b = (S) => {
374
+ }, y = (S) => {
375
375
  d("change", S);
376
376
  };
377
377
  return (S, V) => {
@@ -386,7 +386,7 @@ const mt = { class: "variety-auto-complete" }, vt = { key: 0 }, gt = { class: "l
386
386
  placeholder: I.placeholder,
387
387
  "fetch-suggestions": A,
388
388
  onSelect: f,
389
- onChange: b
389
+ onChange: y
390
390
  }, {
391
391
  default: h(({ item: r }) => [
392
392
  k("div", gt, U(r.label), 1)
@@ -397,7 +397,7 @@ const mt = { class: "variety-auto-complete" }, vt = { key: 0 }, gt = { class: "l
397
397
  };
398
398
  }
399
399
  }, _t = /* @__PURE__ */ Se(ht, [["__scopeId", "data-v-d433c4b8"]]);
400
- const bt = (o) => (et("data-v-338eb1cd"), o = o(), tt(), o), yt = { class: "custom-header" }, Vt = { class: "left" }, St = /* @__PURE__ */ bt(() => /* @__PURE__ */ k("span", null, " 选择变量 ", -1)), Et = { class: "right" }, kt = { class: "custom-body" }, $t = { class: "config-list" }, Ct = { class: "config-item" }, wt = { key: 0 }, Nt = { key: 0 }, It = { key: 1 }, xt = { key: 0 }, Tt = { style: { "max-width": "820px" } }, At = { style: { "white-space": "pre-line" } }, Bt = {
400
+ const yt = (o) => (et("data-v-2494641a"), o = o(), tt(), o), bt = { class: "custom-header" }, Vt = { class: "left" }, St = /* @__PURE__ */ yt(() => /* @__PURE__ */ k("span", null, " 选择变量 ", -1)), Et = { class: "right" }, kt = { class: "custom-body" }, $t = { class: "config-list" }, Ct = { class: "config-item" }, wt = { key: 0 }, Nt = { key: 0 }, It = { key: 1 }, xt = { key: 0 }, Tt = { style: { "max-width": "820px" } }, At = { style: { "white-space": "pre-line" } }, Bt = {
401
401
  __name: "index",
402
402
  props: {
403
403
  useCase: {
@@ -407,7 +407,7 @@ const bt = (o) => (et("data-v-338eb1cd"), o = o(), tt(), o), yt = { class: "cust
407
407
  }
408
408
  },
409
409
  setup(o, { expose: K }) {
410
- const _ = ye("stConfig"), d = o, I = y(null), x = y(!1), A = y(null), f = y([]), b = O(() => {
410
+ const _ = be("stConfig"), d = o, I = b(null), x = b(!1), A = b(null), f = b([]), y = O(() => {
411
411
  var c;
412
412
  return ((c = f.value.find((r) => r.varName === A.value)) == null ? void 0 : c.formatList) ?? [];
413
413
  }), S = (c) => c.replace(/^\[|\]$/g, "").split("],[").map((u) => {
@@ -472,7 +472,6 @@ const bt = (o) => (et("data-v-338eb1cd"), o = o(), tt(), o), yt = { class: "cust
472
472
  "modal-class": "var-select-dialog",
473
473
  modelValue: x.value,
474
474
  "onUpdate:modelValue": r[2] || (r[2] = (s) => x.value = s),
475
- width: "660px",
476
475
  "align-center": "",
477
476
  "destroy-on-close": "",
478
477
  draggable: "",
@@ -482,7 +481,7 @@ const bt = (o) => (et("data-v-338eb1cd"), o = o(), tt(), o), yt = { class: "cust
482
481
  "show-close": !1
483
482
  }, {
484
483
  header: h(() => [
485
- k("div", yt, [
484
+ k("div", bt, [
486
485
  k("div", Vt, [
487
486
  St,
488
487
  $(u, {
@@ -517,7 +516,7 @@ const bt = (o) => (et("data-v-338eb1cd"), o = o(), tt(), o), yt = { class: "cust
517
516
  ]),
518
517
  default: h(() => [
519
518
  k("div", kt, [
520
- b.value.length ? (n(!0), g(D, { key: 0 }, M(b.value, (s, B) => (n(), g("div", {
519
+ y.value.length ? (n(!0), g(D, { key: 0 }, M(y.value, (s, B) => (n(), g("div", {
521
520
  class: "format-item",
522
521
  key: B
523
522
  }, [
@@ -574,7 +573,7 @@ const bt = (o) => (et("data-v-338eb1cd"), o = o(), tt(), o), yt = { class: "cust
574
573
  onClick: (l) => V(s.configList)
575
574
  }, {
576
575
  default: h(() => [
577
- be(" 插入变量 ")
576
+ ye(" 插入变量 ")
578
577
  ]),
579
578
  _: 2
580
579
  }, 1032, ["onClick"]),
@@ -604,7 +603,7 @@ const bt = (o) => (et("data-v-338eb1cd"), o = o(), tt(), o), yt = { class: "cust
604
603
  }, 8, ["modelValue"]);
605
604
  };
606
605
  }
607
- }, Ft = /* @__PURE__ */ Se(Bt, [["__scopeId", "data-v-338eb1cd"]]), nl = {
606
+ }, Ft = /* @__PURE__ */ Se(Bt, [["__scopeId", "data-v-2494641a"]]), nl = {
608
607
  install(o) {
609
608
  o.component("st-varSelectDialog", Ft);
610
609
  }