st-comp 0.0.75 → 0.0.77

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 (80) hide show
  1. package/components.d.ts +3 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +25 -223
  4. package/es/Dialog.cjs +1 -1
  5. package/es/Dialog.js +15 -13
  6. package/es/Kline.cjs +1 -1
  7. package/es/Kline.js +105 -102
  8. package/es/KlineNew.cjs +1 -1
  9. package/es/KlineNew.js +45 -42
  10. package/es/MonacoEditor.cjs +1 -1
  11. package/es/MonacoEditor.js +1 -1
  12. package/es/Pagination.cjs +1 -1
  13. package/es/Pagination.js +121 -117
  14. package/es/Table.cjs +3 -3
  15. package/es/Table.js +275 -271
  16. package/es/VarietySearch.cjs +2 -2
  17. package/es/VarietySearch.js +734 -716
  18. package/es/VirtualTable.cjs +13 -1
  19. package/es/VirtualTable.js +2724 -1
  20. package/es/{base-dbd10dcf.cjs → base-4865d432.cjs} +3 -3
  21. package/es/{base-00f6b0ab.js → base-6faccb01.js} +66 -65
  22. package/es/castArray-3341cbb4.cjs +1 -0
  23. package/es/castArray-bdee0d50.js +10 -0
  24. package/es/config-provider-465c8253.cjs +1 -0
  25. package/es/config-provider-be0e9c36.js +46 -0
  26. package/es/{el-button-12e38f0b.js → el-button-1b9c4fd6.js} +31 -31
  27. package/es/el-button-aad5268b.cjs +1 -0
  28. package/es/el-empty-348c46f7.js +204 -0
  29. package/es/el-empty-608948d9.cjs +1 -0
  30. package/es/el-icon-158ddc19.cjs +1 -0
  31. package/es/{el-icon-bacbcecf.js → el-icon-d385d377.js} +58 -57
  32. package/es/{el-overlay-ea0f5492.js → el-overlay-400ac6ce.js} +58 -57
  33. package/es/el-overlay-4713107e.cjs +5 -0
  34. package/es/el-scrollbar-83abe3de.js +248 -0
  35. package/es/el-scrollbar-bc381e35.cjs +1 -0
  36. package/es/el-select-7116533b.cjs +9 -0
  37. package/es/{el-select-f84b87d9.js → el-select-895360ba.js} +282 -280
  38. package/es/el-tag-2c7e5d4a.cjs +1 -0
  39. package/es/el-tag-30cecca3.js +2417 -0
  40. package/es/focus-trap-5ac78614.js +259 -0
  41. package/es/focus-trap-a169f160.cjs +1 -0
  42. package/es/{index-2cc1c02e.cjs → index-a091492d.cjs} +1 -1
  43. package/es/{index-16dfa199.js → index-caa490bf.js} +17 -14
  44. package/es/{python-336a8c96.js → python-0b8dfd75.js} +1 -1
  45. package/es/{python-044eec0c.cjs → python-bd86111b.cjs} +1 -1
  46. package/es/raf-5e5c53db.cjs +1 -0
  47. package/es/raf-92c5ed6d.js +6 -0
  48. package/es/{scroll-c6489061.js → scroll-264c50f3.js} +5 -5
  49. package/es/{scroll-891e3e9f.cjs → scroll-bb8039ba.cjs} +1 -1
  50. package/es/style.css +1 -1
  51. package/es/typescript-7ae59c4c.js +4 -0
  52. package/es/typescript-b63f8e83.cjs +1 -0
  53. package/es/use-form-item-0e9cae13.js +668 -0
  54. package/es/use-form-item-6cef6b15.cjs +3 -0
  55. package/es/use-global-config-17f3d7c7.cjs +1 -0
  56. package/es/use-global-config-8c9c775f.js +110 -0
  57. package/es/{vnode-b44a499a.cjs → vnode-abafec9e.cjs} +1 -1
  58. package/es/{vnode-229e6729.js → vnode-b78096e3.js} +4 -4
  59. package/es/{zh-cn-e0c3b8df.js → zh-cn-8aaa7dd2.js} +2 -2
  60. package/es/{zh-cn-5c01bb26.cjs → zh-cn-e4d38144.cjs} +1 -1
  61. package/lib/bundle.js +1 -1
  62. package/lib/bundle.umd.cjs +2 -2
  63. package/lib/{index-d7f5d65b.js → index-7d3b5736.js} +72 -50
  64. package/lib/{python-31d7356c.js → python-d1c44236.js} +1 -1
  65. package/lib/style.css +1 -1
  66. package/package.json +1 -1
  67. package/packages/MonacoEditor/index.vue +5 -0
  68. package/packages/VarietySearch/config.js +44 -21
  69. package/packages/VarietySearch/index.vue +64 -24
  70. package/src/pages/MonacoEditor/index.vue +5 -0
  71. package/es/config-provider-33068fb6.cjs +0 -1
  72. package/es/config-provider-c98bd563.js +0 -148
  73. package/es/el-button-fc645d0f.cjs +0 -1
  74. package/es/el-icon-99876220.cjs +0 -1
  75. package/es/el-overlay-dcbc4437.cjs +0 -5
  76. package/es/el-scrollbar-6800cb98.js +0 -2653
  77. package/es/el-scrollbar-9da140ab.cjs +0 -1
  78. package/es/el-select-d22b5aa3.cjs +0 -9
  79. package/es/focus-trap-9f4b1039.js +0 -880
  80. package/es/focus-trap-fae33d9d.cjs +0 -3
@@ -217280,7 +217280,7 @@ tft({
217280
217280
  extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
217281
217281
  aliases: ["Python", "py"],
217282
217282
  firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
217283
- loader: () => import("./python-31d7356c.js")
217283
+ loader: () => import("./python-d1c44236.js")
217284
217284
  });
217285
217285
  const nft = /* @__PURE__ */ Ht({
217286
217286
  __name: "index",
@@ -217298,25 +217298,28 @@ const nft = /* @__PURE__ */ Ht({
217298
217298
  default: "vs-dark"
217299
217299
  }
217300
217300
  },
217301
- setup(i, { expose: e }) {
217302
- let t;
217303
- const n = i, r = ze(null);
217301
+ emits: ["change"],
217302
+ setup(i, { expose: e, emit: t }) {
217303
+ let n;
217304
+ const r = t, s = i, o = ze(null);
217304
217305
  return Hi(() => {
217305
- t = $ne.create(r.value, {
217306
- value: n.defaultValue,
217307
- language: n.language,
217308
- theme: n.theme
217306
+ n = $ne.create(o.value, {
217307
+ value: s.defaultValue,
217308
+ language: s.language,
217309
+ theme: s.theme
217310
+ }), n.onDidChangeModelContent((a) => {
217311
+ r("change", n.getValue());
217309
217312
  });
217310
217313
  }), tl(() => {
217311
- t && t.dispose();
217314
+ n && n.dispose();
217312
217315
  }), e({
217313
- setValue: (s) => {
217314
- t.setValue(s);
217316
+ setValue: (a) => {
217317
+ n.setValue(a);
217315
217318
  },
217316
- getValue: () => t.getValue()
217317
- }), (s, o) => (Ae(), Ze("div", {
217319
+ getValue: () => n.getValue()
217320
+ }), (a, l) => (Ae(), Ze("div", {
217318
217321
  ref_key: "editorContainer",
217319
- ref: r,
217322
+ ref: o,
217320
217323
  style: { width: "100%", height: "100%" }
217321
217324
  }, null, 512));
217322
217325
  }
@@ -217910,11 +217913,11 @@ const OU = {
217910
217913
  show: !0,
217911
217914
  options: [
217912
217915
  { label: "ETF", value: 2, memo: [] },
217913
- { label: "A股", value: 3, memo: [4, 6, 12] },
217916
+ { label: "A股", value: 3, memo: [4, 6, 12, 13, 14, 15] },
217914
217917
  { label: "期货", value: 4, memo: [1, 2, 3, 5, 7, 8, 9, 10] },
217915
- { label: "港股", value: 5, memo: [4, 6] },
217918
+ { label: "港股", value: 5, memo: [4, 6, 14] },
217916
217919
  { label: "外盘", value: 6, memo: [1, 2, 3, 5, 7, 8, 9, 10] },
217917
- { label: "美股", value: 7, memo: [4, 6] },
217920
+ { label: "美股", value: 7, memo: [4, 6, 14] },
217918
217921
  { label: "期权", value: 8, memo: [11] }
217919
217922
  ]
217920
217923
  },
@@ -217922,18 +217925,21 @@ const OU = {
217922
217925
  commonOption: {
217923
217926
  show: !0,
217924
217927
  options: [
217928
+ { label: "期权", value: 11 },
217929
+ { label: "个股", value: 14 },
217925
217930
  { label: "期货主连", value: 1 },
217926
217931
  { label: "期货主力", value: 2 },
217927
217932
  { label: "期货加权", value: 3 },
217928
- { label: "常用股票指数", value: 4 },
217929
- { label: "期货收益率指数", value: 5 },
217930
- { label: "股票板块指数", value: 6 },
217931
217933
  { label: "次主力合约", value: 7 },
217932
217934
  { label: "期货次主连", value: 8 },
217933
- { label: "期货板块收益率指数", value: 9 },
217935
+ { label: "常用股票指数", value: 4 },
217936
+ { label: "股票板块指数", value: 6 },
217937
+ { label: "板块价差指数", value: 12 },
217938
+ { label: "行业板块指数", value: 13 },
217939
+ { label: "概念板块指数", value: 15 },
217940
+ { label: "期货收益率指数", value: 5 },
217934
217941
  { label: "期货板块加权指数", value: 10 },
217935
- { label: "期权", value: 11 },
217936
- { label: "板块价差指数", value: 12 }
217942
+ { label: "期货板块收益率指数", value: 9 }
217937
217943
  ]
217938
217944
  },
217939
217945
  // 自定义标签
@@ -217959,7 +217965,7 @@ const OU = {
217959
217965
  label: "总市值",
217960
217966
  parent: {
217961
217967
  varietyMarketIds: [3, 5, 7],
217962
- commonOptionIds: [4, 6, 12]
217968
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
217963
217969
  },
217964
217970
  // 便捷选项
217965
217971
  convenientOptions: [
@@ -217983,7 +217989,7 @@ const OU = {
217983
217989
  label: "流通市值",
217984
217990
  parent: {
217985
217991
  varietyMarketIds: [3, 5, 7],
217986
- commonOptionIds: [4, 6, 12]
217992
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
217987
217993
  },
217988
217994
  // 便捷选项
217989
217995
  convenientOptions: [
@@ -218007,7 +218013,7 @@ const OU = {
218007
218013
  label: "总股本",
218008
218014
  parent: {
218009
218015
  varietyMarketIds: [3, 5, 7],
218010
- commonOptionIds: [4, 6, 12]
218016
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218011
218017
  },
218012
218018
  // 便捷选项
218013
218019
  convenientOptions: [
@@ -218028,7 +218034,7 @@ const OU = {
218028
218034
  label: "流通股本",
218029
218035
  parent: {
218030
218036
  varietyMarketIds: [3, 5, 7],
218031
- commonOptionIds: [4, 6, 12]
218037
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218032
218038
  },
218033
218039
  // 便捷选项
218034
218040
  convenientOptions: [
@@ -218050,7 +218056,7 @@ const OU = {
218050
218056
  label: "换手率(实)",
218051
218057
  parent: {
218052
218058
  varietyMarketIds: [3, 5, 7],
218053
- commonOptionIds: [4, 6, 12]
218059
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218054
218060
  },
218055
218061
  // 便捷选项
218056
218062
  convenientOptions: [
@@ -218070,7 +218076,7 @@ const OU = {
218070
218076
  label: "市盈率",
218071
218077
  parent: {
218072
218078
  varietyMarketIds: [3, 5, 7],
218073
- commonOptionIds: [4, 6, 12]
218079
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218074
218080
  },
218075
218081
  // 便捷选项
218076
218082
  convenientOptions: [
@@ -218092,7 +218098,7 @@ const OU = {
218092
218098
  label: "每股净收益",
218093
218099
  parent: {
218094
218100
  varietyMarketIds: [3, 5, 7],
218095
- commonOptionIds: [4, 6, 12]
218101
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218096
218102
  },
218097
218103
  // 便捷选项
218098
218104
  convenientOptions: [
@@ -218114,7 +218120,7 @@ const OU = {
218114
218120
  label: "是否ST",
218115
218121
  parent: {
218116
218122
  varietyMarketIds: [3, 5, 7],
218117
- commonOptionIds: [4, 6, 12]
218123
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218118
218124
  },
218119
218125
  type: "custom"
218120
218126
  },
@@ -218124,7 +218130,7 @@ const OU = {
218124
218130
  label: "市净率",
218125
218131
  parent: {
218126
218132
  varietyMarketIds: [3, 5, 7],
218127
- commonOptionIds: [4, 6, 12]
218133
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218128
218134
  },
218129
218135
  // 便捷选项
218130
218136
  convenientOptions: [
@@ -218145,7 +218151,7 @@ const OU = {
218145
218151
  label: "成交额",
218146
218152
  parent: {
218147
218153
  varietyMarketIds: [3, 5, 7],
218148
- commonOptionIds: [4, 6, 12]
218154
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218149
218155
  },
218150
218156
  // 便捷选项
218151
218157
  convenientOptions: [
@@ -218167,7 +218173,7 @@ const OU = {
218167
218173
  label: "净资产收益率roe",
218168
218174
  parent: {
218169
218175
  varietyMarketIds: [3, 5, 7],
218170
- commonOptionIds: [4, 6, 12]
218176
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218171
218177
  },
218172
218178
  // 便捷选项
218173
218179
  convenientOptions: [
@@ -218189,10 +218195,30 @@ const OU = {
218189
218195
  label: "净利润",
218190
218196
  parent: {
218191
218197
  varietyMarketIds: [3, 5, 7],
218192
- commonOptionIds: [4, 6, 12]
218198
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218193
218199
  },
218194
218200
  type: "custom"
218195
218201
  },
218202
+ // 股息率
218203
+ {
218204
+ key: "dividendYield",
218205
+ label: "股息率",
218206
+ parent: {
218207
+ varietyMarketIds: [3, 5, 7],
218208
+ commonOptionIds: [4, 6, 12, 13, 14, 15]
218209
+ },
218210
+ // 便捷选项
218211
+ convenientOptions: [
218212
+ { range: [null, 1], unit: ["%", "%"], text: "≤1%" },
218213
+ { range: [1, 5], unit: ["%", "%"], text: "1%~5%" },
218214
+ { range: [5, 10], unit: ["%", "%"], text: "5%~10%" },
218215
+ { range: [10, null], unit: ["%", "%"], text: "≥10%" }
218216
+ ],
218217
+ // 默认选中单位
218218
+ defaultUnit: ["%", "%"],
218219
+ // 单位下拉框选项
218220
+ unitOptions: ["%"]
218221
+ },
218196
218222
  // ----------期权-----------
218197
218223
  // 过期天数
218198
218224
  {
@@ -218904,7 +218930,7 @@ const rM = (i) => (HN("data-v-0a691a79"), i = i(), VN(), i), xft = {
218904
218930
  };
218905
218931
  }
218906
218932
  }, $ft = /* @__PURE__ */ Gs(jft, [["__scopeId", "data-v-0a691a79"]]);
218907
- const X_ = (i) => (HN("data-v-931c484e"), i = i(), VN(), i), Uft = { class: "variety-search" }, qft = {
218933
+ const X_ = (i) => (HN("data-v-43da1a75"), i = i(), VN(), i), Uft = { class: "variety-search" }, qft = {
218908
218934
  key: 0,
218909
218935
  class: "variety-search-row"
218910
218936
  }, Kft = { class: "title" }, Gft = /* @__PURE__ */ X_(() => /* @__PURE__ */ Ct("span", null, "品种市场: ", -1)), Yft = {
@@ -218971,20 +218997,16 @@ const X_ = (i) => (HN("data-v-931c484e"), i = i(), VN(), i), Uft = { class: "var
218971
218997
  startScore: T.score[0],
218972
218998
  endScore: T.score[1]
218973
218999
  })));
218974
- const g = [
218975
- "expireDays",
218976
- "virtualRealDegree",
218977
- "yearProfitRate",
218978
- "impliedVolatility",
218979
- "levelMultiplier",
218980
- "turnover",
218981
- "volume",
218982
- "openInterest",
218983
- "optionsCpType",
218984
- "optionGear"
218985
- ], b = c.commonIndicator.reduce((T, k) => {
219000
+ const g = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], b = c.commonIndicator.reduce((T, k) => {
218986
219001
  const { key: I, type: R, range: z, unit: W } = k;
218987
- if (R === void 0 && !g.includes(I)) {
219002
+ if (I === "dividendYield") {
219003
+ let [q, K] = z;
219004
+ ["", null].includes(q) || (q = q / 100), ["", null].includes(K) || (K = K / 100), T.push({
219005
+ column: k.key,
219006
+ start: q,
219007
+ end: K
219008
+ });
219009
+ } else if (R === void 0 && !g.includes(I)) {
218988
219010
  let [q, K] = z;
218989
219011
  if (!["", null].includes(q))
218990
219012
  switch (W[0]) {
@@ -219164,7 +219186,7 @@ const X_ = (i) => (HN("data-v-931c484e"), i = i(), VN(), i), Uft = { class: "var
219164
219186
  ]);
219165
219187
  };
219166
219188
  }
219167
- }, s3t = /* @__PURE__ */ Gs(r3t, [["__scopeId", "data-v-931c484e"]]), o3t = {
219189
+ }, s3t = /* @__PURE__ */ Gs(r3t, [["__scopeId", "data-v-43da1a75"]]), o3t = {
219168
219190
  install(i) {
219169
219191
  i.component("st-varietySearch", s3t);
219170
219192
  }
@@ -1,4 +1,4 @@
1
- import { m as a } from "./index-d7f5d65b.js";
1
+ import { m as a } from "./index-7d3b5736.js";
2
2
  import "vue";
3
3
  import "echarts";
4
4
  /*!-----------------------------------------------------------------------------