st-comp 0.0.90 → 0.0.92

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 (57) hide show
  1. package/components.d.ts +1 -0
  2. package/es/ChartLayout.js +2 -2
  3. package/es/Dialog.js +10 -10
  4. package/es/FactorWarning.cjs +1 -0
  5. package/es/FactorWarning.js +461 -0
  6. package/es/Kline.cjs +1 -1
  7. package/es/Kline.js +11 -10
  8. package/es/KlineNew.cjs +1 -1
  9. package/es/KlineNew.js +10 -9
  10. package/es/Pagination.cjs +1 -1
  11. package/es/Pagination.js +106 -105
  12. package/es/Table.cjs +1 -1
  13. package/es/Table.js +309 -431
  14. package/es/VarietySearch.cjs +1 -12
  15. package/es/VarietySearch.js +788 -2512
  16. package/es/VirtualTable.js +89 -89
  17. package/es/{base-e85dae08.js → base-1bc9f12c.js} +19 -19
  18. package/es/{castArray-b93d1330.js → castArray-f42865a2.js} +1 -1
  19. package/es/{config-provider-cb918d0f.js → config-provider-c8d3957d.js} +3 -3
  20. package/es/{el-button-aab1dbd4.js → el-button-93e0ac7c.js} +33 -33
  21. package/es/{el-empty-ab3ce002.js → el-empty-0c85d9b7.js} +13 -13
  22. package/es/el-icon-0ea8fbf8.cjs +1 -0
  23. package/es/el-icon-4ed993c7.js +1 -0
  24. package/es/el-input-29806e42.js +543 -0
  25. package/es/el-input-a8791103.cjs +9 -0
  26. package/es/{el-overlay-98d7f866.js → el-overlay-53eb27a5.js} +6 -6
  27. package/es/el-popover-1d087574.cjs +1 -0
  28. package/es/el-popover-dd66e2c8.js +133 -0
  29. package/es/el-radio-group-46e8f574.cjs +12 -0
  30. package/es/el-radio-group-caebab9d.js +1743 -0
  31. package/es/{el-scrollbar-7b9d83d5.js → el-scrollbar-e17fad47.js} +14 -14
  32. package/es/el-select-64511731.cjs +1 -0
  33. package/es/el-select-ac302f3c.js +1360 -0
  34. package/es/{el-icon-2d22f211.js → el-table-column-b8e2141b.js} +750 -750
  35. package/es/{el-tag-87576c55.js → el-tag-9493bdff.js} +66 -66
  36. package/es/{focus-trap-067be6d2.js → focus-trap-1b2aef75.js} +1 -1
  37. package/es/{raf-b091dc88.js → raf-6d7e80f4.js} +1 -1
  38. package/es/{scroll-510cef88.js → scroll-a928a93e.js} +1 -1
  39. package/es/style.css +1 -1
  40. package/es/{use-form-item-439ac27c.js → use-form-item-aeec8499.js} +38 -38
  41. package/es/{use-global-config-857b51f5.js → use-global-config-b07c467a.js} +12 -12
  42. package/es/{vnode-8c7963dc.js → vnode-aa872900.js} +1 -1
  43. package/es/{zh-cn-c2b42b5f.js → zh-cn-d29347f8.js} +2 -2
  44. package/lib/bundle.js +1 -1
  45. package/lib/bundle.umd.cjs +181 -181
  46. package/lib/{index-4512909d.js → index-74cdff5f.js} +23623 -23192
  47. package/lib/{python-7403caa0.js → python-ed84da20.js} +1 -1
  48. package/lib/style.css +1 -1
  49. package/package.json +1 -1
  50. package/packages/FactorWarning/index.ts +8 -0
  51. package/packages/FactorWarning/index.vue +383 -0
  52. package/packages/index.ts +2 -0
  53. package/src/pages/FactorWarning/index.vue +72 -0
  54. package/src/router/routes.ts +5 -0
  55. package/es/el-select-d3f15536.cjs +0 -9
  56. package/es/el-select-fd76b16b.js +0 -1894
  57. /package/es/{el-icon-773986c7.cjs → el-table-column-773986c7.cjs} +0 -0
@@ -1,9 +1,9 @@
1
1
  import { computed as f, inject as A, ref as K, useSlots as U, Text as H, defineComponent as h, openBlock as b, createBlock as k, resolveDynamicComponent as C, mergeProps as M, unref as e, withCtx as $, createElementBlock as N, Fragment as O, renderSlot as B, normalizeClass as V, createCommentVNode as I, provide as R, reactive as q, toRef as T } from "vue";
2
- import { u as J, o as L, h as Q, n as G, l as W, i as E, H as X, E as x } from "./use-form-item-439ac27c.js";
3
- import { b as Y } from "./use-global-config-857b51f5.js";
4
- import { b as Z, d as oo, u as z, _ as P, w as to, f as eo } from "./base-e85dae08.js";
2
+ import { u as J, t as L, h as Q, s as G, r as W, i as E, H as X, E as x } from "./use-form-item-aeec8499.js";
3
+ import { b as Y } from "./use-global-config-b07c467a.js";
4
+ import { b as Z, d as oo, u as z, _ as P, w as to, f as eo } from "./base-1bc9f12c.js";
5
5
  import { T as no } from "./index-657047bb.js";
6
- const D = Symbol("buttonGroupContextKey"), lo = (t, a) => {
6
+ const D = Symbol("buttonGroupContextKey"), so = (t, a) => {
7
7
  J({
8
8
  from: "type.text",
9
9
  replacement: "link",
@@ -11,9 +11,9 @@ const D = Symbol("buttonGroupContextKey"), lo = (t, a) => {
11
11
  scope: "props",
12
12
  ref: "https://element-plus.org/en-US/component/button.html#button-attributes"
13
13
  }, f(() => t.type === "text"));
14
- const n = A(D, void 0), s = Y("button"), { form: r } = L(), o = Q(f(() => n == null ? void 0 : n.size)), i = G(), m = K(), c = U(), p = f(() => t.type || (n == null ? void 0 : n.type) || ""), S = f(() => {
14
+ const n = A(D, void 0), l = Y("button"), { form: r } = L(), o = Q(f(() => n == null ? void 0 : n.size)), i = G(), m = K(), c = U(), p = f(() => t.type || (n == null ? void 0 : n.type) || ""), S = f(() => {
15
15
  var u, g, v;
16
- return (v = (g = t.autoInsertSpace) != null ? g : (u = s.value) == null ? void 0 : u.autoInsertSpace) != null ? v : !1;
16
+ return (v = (g = t.autoInsertSpace) != null ? g : (u = l.value) == null ? void 0 : u.autoInsertSpace) != null ? v : !1;
17
17
  }), y = f(() => t.tag === "button" ? {
18
18
  ariaDisabled: i.value || t.loading,
19
19
  disabled: i.value || t.loading,
@@ -42,7 +42,7 @@ const D = Symbol("buttonGroupContextKey"), lo = (t, a) => {
42
42
  t.nativeType === "reset" && (r == null || r.resetFields()), a("click", u);
43
43
  }
44
44
  };
45
- }, so = [
45
+ }, lo = [
46
46
  "default",
47
47
  "primary",
48
48
  "success",
@@ -56,7 +56,7 @@ const D = Symbol("buttonGroupContextKey"), lo = (t, a) => {
56
56
  disabled: Boolean,
57
57
  type: {
58
58
  type: String,
59
- values: so,
59
+ values: lo,
60
60
  default: ""
61
61
  },
62
62
  icon: {
@@ -98,12 +98,12 @@ function d(t, a = 20) {
98
98
  function io(t) {
99
99
  const a = G(), n = z("button");
100
100
  return f(() => {
101
- let s = {};
101
+ let l = {};
102
102
  const r = t.color;
103
103
  if (r) {
104
104
  const o = new no(r), i = t.dark ? o.tint(20).toString() : d(o, 20);
105
105
  if (t.plain)
106
- s = n.cssVarBlock({
106
+ l = n.cssVarBlock({
107
107
  "bg-color": t.dark ? d(o, 90) : o.tint(90).toString(),
108
108
  "text-color": r,
109
109
  "border-color": t.dark ? d(o, 50) : o.tint(50).toString(),
@@ -113,10 +113,10 @@ function io(t) {
113
113
  "active-bg-color": i,
114
114
  "active-text-color": `var(${n.cssVarName("color-white")})`,
115
115
  "active-border-color": i
116
- }), a.value && (s[n.cssVarBlockName("disabled-bg-color")] = t.dark ? d(o, 90) : o.tint(90).toString(), s[n.cssVarBlockName("disabled-text-color")] = t.dark ? d(o, 50) : o.tint(50).toString(), s[n.cssVarBlockName("disabled-border-color")] = t.dark ? d(o, 80) : o.tint(80).toString());
116
+ }), a.value && (l[n.cssVarBlockName("disabled-bg-color")] = t.dark ? d(o, 90) : o.tint(90).toString(), l[n.cssVarBlockName("disabled-text-color")] = t.dark ? d(o, 50) : o.tint(50).toString(), l[n.cssVarBlockName("disabled-border-color")] = t.dark ? d(o, 80) : o.tint(80).toString());
117
117
  else {
118
118
  const m = t.dark ? d(o, 30) : o.tint(30).toString(), c = o.isDark() ? `var(${n.cssVarName("color-white")})` : `var(${n.cssVarName("color-black")})`;
119
- if (s = n.cssVarBlock({
119
+ if (l = n.cssVarBlock({
120
120
  "bg-color": r,
121
121
  "text-color": c,
122
122
  "border-color": r,
@@ -127,11 +127,11 @@ function io(t) {
127
127
  "active-border-color": i
128
128
  }), a.value) {
129
129
  const p = t.dark ? d(o, 50) : o.tint(50).toString();
130
- s[n.cssVarBlockName("disabled-bg-color")] = p, s[n.cssVarBlockName("disabled-text-color")] = t.dark ? "rgba(255, 255, 255, 0.5)" : `var(${n.cssVarName("color-white")})`, s[n.cssVarBlockName("disabled-border-color")] = p;
130
+ l[n.cssVarBlockName("disabled-bg-color")] = p, l[n.cssVarBlockName("disabled-text-color")] = t.dark ? "rgba(255, 255, 255, 0.5)" : `var(${n.cssVarName("color-white")})`, l[n.cssVarBlockName("disabled-border-color")] = p;
131
131
  }
132
132
  }
133
133
  }
134
- return s;
134
+ return l;
135
135
  });
136
136
  }
137
137
  const co = h({
@@ -141,14 +141,14 @@ const co = h({
141
141
  props: w,
142
142
  emits: ao,
143
143
  setup(t, { expose: a, emit: n }) {
144
- const s = t, r = io(s), o = z("button"), { _ref: i, _size: m, _type: c, _disabled: p, _props: S, shouldAddSpace: y, handleClick: _ } = lo(s, n);
144
+ const l = t, r = io(l), o = z("button"), { _ref: i, _size: m, _type: c, _disabled: p, _props: S, shouldAddSpace: y, handleClick: _ } = so(l, n);
145
145
  return a({
146
146
  ref: i,
147
147
  size: m,
148
148
  type: c,
149
149
  disabled: p,
150
150
  shouldAddSpace: y
151
- }), (l, u) => (b(), k(C(l.tag), M({
151
+ }), (s, u) => (b(), k(C(s.tag), M({
152
152
  ref_key: "_ref",
153
153
  ref: i
154
154
  }, e(S), {
@@ -157,39 +157,39 @@ const co = h({
157
157
  e(o).m(e(c)),
158
158
  e(o).m(e(m)),
159
159
  e(o).is("disabled", e(p)),
160
- e(o).is("loading", l.loading),
161
- e(o).is("plain", l.plain),
162
- e(o).is("round", l.round),
163
- e(o).is("circle", l.circle),
164
- e(o).is("text", l.text),
165
- e(o).is("link", l.link),
166
- e(o).is("has-bg", l.bg)
160
+ e(o).is("loading", s.loading),
161
+ e(o).is("plain", s.plain),
162
+ e(o).is("round", s.round),
163
+ e(o).is("circle", s.circle),
164
+ e(o).is("text", s.text),
165
+ e(o).is("link", s.link),
166
+ e(o).is("has-bg", s.bg)
167
167
  ],
168
168
  style: e(r),
169
169
  onClick: e(_)
170
170
  }), {
171
171
  default: $(() => [
172
- l.loading ? (b(), N(O, { key: 0 }, [
173
- l.$slots.loading ? B(l.$slots, "loading", { key: 0 }) : (b(), k(e(x), {
172
+ s.loading ? (b(), N(O, { key: 0 }, [
173
+ s.$slots.loading ? B(s.$slots, "loading", { key: 0 }) : (b(), k(e(x), {
174
174
  key: 1,
175
175
  class: V(e(o).is("loading"))
176
176
  }, {
177
177
  default: $(() => [
178
- (b(), k(C(l.loadingIcon)))
178
+ (b(), k(C(s.loadingIcon)))
179
179
  ]),
180
180
  _: 1
181
181
  }, 8, ["class"]))
182
- ], 64)) : l.icon || l.$slots.icon ? (b(), k(e(x), { key: 1 }, {
182
+ ], 64)) : s.icon || s.$slots.icon ? (b(), k(e(x), { key: 1 }, {
183
183
  default: $(() => [
184
- l.icon ? (b(), k(C(l.icon), { key: 0 })) : B(l.$slots, "icon", { key: 1 })
184
+ s.icon ? (b(), k(C(s.icon), { key: 0 })) : B(s.$slots, "icon", { key: 1 })
185
185
  ]),
186
186
  _: 3
187
187
  })) : I("v-if", !0),
188
- l.$slots.default ? (b(), N("span", {
188
+ s.$slots.default ? (b(), N("span", {
189
189
  key: 2,
190
190
  class: V({ [e(o).em("text", "expand")]: e(y) })
191
191
  }, [
192
- B(l.$slots, "default")
192
+ B(s.$slots, "default")
193
193
  ], 2)) : I("v-if", !0)
194
194
  ]),
195
195
  _: 3
@@ -212,10 +212,10 @@ const mo = {
212
212
  type: T(a, "type")
213
213
  }));
214
214
  const n = z("button");
215
- return (s, r) => (b(), N("div", {
215
+ return (l, r) => (b(), N("div", {
216
216
  class: V(`${e(n).b("group")}`)
217
217
  }, [
218
- B(s.$slots, "default")
218
+ B(l.$slots, "default")
219
219
  ], 2));
220
220
  }
221
221
  });
@@ -226,5 +226,5 @@ const ho = to(bo, {
226
226
  eo(F);
227
227
  export {
228
228
  ho as E,
229
- so as b
229
+ lo as b
230
230
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, openBlock as n, createElementBlock as r, createElementVNode as t, unref as e, computed as f, normalizeClass as i, normalizeStyle as h, renderSlot as p, createVNode as g, toDisplayString as k, createCommentVNode as $ } from "vue";
2
- import { u as _, A as v, _ as u, b as w, g as C, l as N, w as B } from "./base-e85dae08.js";
2
+ import { u as _, C as v, _ as u, b as C, g as w, m as N, w as B } from "./base-1bc9f12c.js";
3
3
  const V = {
4
4
  viewBox: "0 0 79 86",
5
5
  version: "1.1",
@@ -17,10 +17,10 @@ const V = {
17
17
  }, M = {
18
18
  id: "Group-2",
19
19
  transform: "translate(1268.000000, 535.000000)"
20
- }, P = ["fill"], A = ["fill"], L = {
20
+ }, P = ["fill"], L = ["fill"], O = {
21
21
  id: "Group-Copy",
22
22
  transform: "translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"
23
- }, O = ["fill"], T = ["fill"], U = ["fill"], Z = ["fill"], j = ["fill"], q = {
23
+ }, T = ["fill"], U = ["fill"], Z = ["fill"], j = ["fill"], q = ["fill"], A = {
24
24
  id: "Rectangle-Copy-17",
25
25
  transform: "translate(53.000000, 45.000000)"
26
26
  }, F = ["fill", "xlink:href"], H = ["fill", "mask"], J = ["fill"], K = c({
@@ -84,19 +84,19 @@ const V = {
84
84
  fill: `var(${e(l).cssVarBlockName("fill-color-7")})`,
85
85
  transform: "translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",
86
86
  points: "13 58 53 58 42 45 2 45"
87
- }, null, 8, A),
88
- t("g", L, [
87
+ }, null, 8, L),
88
+ t("g", O, [
89
89
  t("polygon", {
90
90
  id: "Rectangle-Copy-10",
91
91
  fill: `var(${e(l).cssVarBlockName("fill-color-7")})`,
92
92
  transform: "translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",
93
93
  points: "2.84078316e-14 3 18 3 23 7 5 7"
94
- }, null, 8, O),
94
+ }, null, 8, T),
95
95
  t("polygon", {
96
96
  id: "Rectangle-Copy-11",
97
97
  fill: `var(${e(l).cssVarBlockName("fill-color-5")})`,
98
98
  points: "-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"
99
- }, null, 8, T),
99
+ }, null, 8, U),
100
100
  t("rect", {
101
101
  id: "Rectangle-Copy-12",
102
102
  fill: `url(#linearGradient-1-${e(o)})`,
@@ -105,13 +105,13 @@ const V = {
105
105
  y: "7",
106
106
  width: "17",
107
107
  height: "36"
108
- }, null, 8, U),
108
+ }, null, 8, Z),
109
109
  t("polygon", {
110
110
  id: "Rectangle-Copy-13",
111
111
  fill: `var(${e(l).cssVarBlockName("fill-color-2")})`,
112
112
  transform: "translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",
113
113
  points: "24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"
114
- }, null, 8, Z)
114
+ }, null, 8, j)
115
115
  ]),
116
116
  t("rect", {
117
117
  id: "Rectangle-Copy-15",
@@ -120,8 +120,8 @@ const V = {
120
120
  y: "45",
121
121
  width: "40",
122
122
  height: "36"
123
- }, null, 8, j),
124
- t("g", q, [
123
+ }, null, 8, q),
124
+ t("g", A, [
125
125
  t("use", {
126
126
  id: "Mask",
127
127
  fill: `var(${e(l).cssVarBlockName("fill-color-8")})`,
@@ -149,7 +149,7 @@ const V = {
149
149
  }
150
150
  });
151
151
  var W = /* @__PURE__ */ u(Q, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);
152
- const X = w({
152
+ const X = C({
153
153
  image: {
154
154
  type: String,
155
155
  default: ""
@@ -165,7 +165,7 @@ const X = w({
165
165
  ...e0,
166
166
  props: X,
167
167
  setup(d) {
168
- const l = d, { t: o } = C(), a = _("empty"), m = f(() => l.description || o("el.table.emptyText")), y = f(() => ({
168
+ const l = d, { t: o } = w(), a = _("empty"), m = f(() => l.description || o("el.table.emptyText")), y = f(() => ({
169
169
  width: N(l.imageSize)
170
170
  }));
171
171
  return (s, s0) => (n(), r("div", {
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1 @@
1
+