st-comp 0.0.64 → 0.0.66

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/lib/bundle.js CHANGED
@@ -38606,7 +38606,7 @@ const Rue = { class: "kline-tips" }, Fue = {
38606
38606
  { label: "低", value: t(M[2]) },
38607
38607
  { label: "收", value: t(M[1]) }
38608
38608
  ];
38609
- M[4] !== void 0 && C.push({ label: "额", value: n(M[4]) });
38609
+ M[4] !== null && C.push({ label: "额", value: n(M[4]) });
38610
38610
  let L;
38611
38611
  return M[6] > 0 ? L = "red" : M[6] < 0 && (L = "green"), C.push({ label: "涨跌", value: `${t(M[6])}%`, color: L }), C;
38612
38612
  }
@@ -38621,7 +38621,7 @@ const Rue = { class: "kline-tips" }, Fue = {
38621
38621
  Ke(q8, { data: y.value }, null, 8, ["data"])
38622
38622
  ]));
38623
38623
  }
38624
- }, zue = /* @__PURE__ */ Rn(Fue, [["__scopeId", "data-v-2e8a1081"]]), Pue = {
38624
+ }, zue = /* @__PURE__ */ Rn(Fue, [["__scopeId", "data-v-a12855fe"]]), Pue = {
38625
38625
  __name: "index",
38626
38626
  setup(e, { expose: t }) {
38627
38627
  return t({
@@ -143378,6 +143378,21 @@ const xh = {
143378
143378
  commonOptionIds: [11]
143379
143379
  },
143380
143380
  type: "custom"
143381
+ },
143382
+ // 持仓量
143383
+ {
143384
+ key: "optionGear",
143385
+ label: "期权档位",
143386
+ parent: {
143387
+ varietyMarketIds: [8],
143388
+ commonOptionIds: [11]
143389
+ },
143390
+ // 便捷选项
143391
+ convenientOptions: [],
143392
+ // 默认选中单位
143393
+ defaultUnit: [],
143394
+ // 单位下拉框选项
143395
+ unitOptions: []
143381
143396
  }
143382
143397
  ]
143383
143398
  }
@@ -143942,7 +143957,7 @@ const Z6 = (e) => (G8("data-v-0a691a79"), e = e(), K8(), e), Fce = {
143942
143957
  };
143943
143958
  }
143944
143959
  }, tde = /* @__PURE__ */ Rn(ede, [["__scopeId", "data-v-0a691a79"]]);
143945
- const h9 = (e) => (G8("data-v-7f9d045e"), e = e(), K8(), e), nde = { class: "variety-search" }, rde = {
143960
+ const h9 = (e) => (G8("data-v-931c484e"), e = e(), K8(), e), nde = { class: "variety-search" }, rde = {
143946
143961
  key: 0,
143947
143962
  class: "variety-search-row"
143948
143963
  }, ade = { class: "title" }, ode = /* @__PURE__ */ h9(() => /* @__PURE__ */ We("span", null, "品种市场: ", -1)), ide = {
@@ -144018,7 +144033,8 @@ const h9 = (e) => (G8("data-v-7f9d045e"), e = e(), K8(), e), nde = { class: "var
144018
144033
  "turnover",
144019
144034
  "volume",
144020
144035
  "openInterest",
144021
- "optionsCpType"
144036
+ "optionsCpType",
144037
+ "optionGear"
144022
144038
  ], k = L.commonIndicator.reduce((H, X) => {
144023
144039
  const { key: ie, type: G, range: oe, unit: ee } = X;
144024
144040
  if (G === void 0 && !B.includes(ie)) {
@@ -144091,6 +144107,9 @@ const h9 = (e) => (G8("data-v-7f9d045e"), e = e(), K8(), e), nde = { class: "var
144091
144107
  case "optionsCpType":
144092
144108
  U.optionsCpType = H.optionsCpType;
144093
144109
  break;
144110
+ case "optionGear":
144111
+ ["", null].includes(H.range[0]) || (U.minOptionGear = H.range[0]), ["", null].includes(H.range[1]) || (U.maxOptionGear = H.range[1]);
144112
+ break;
144094
144113
  }
144095
144114
  }), Object.keys(U).length && (R.searchOptionDto = U), R;
144096
144115
  } }), (L, R) => {
@@ -144198,7 +144217,7 @@ const h9 = (e) => (G8("data-v-7f9d045e"), e = e(), K8(), e), nde = { class: "var
144198
144217
  ]);
144199
144218
  };
144200
144219
  }
144201
- }, gde = /* @__PURE__ */ Rn(hde, [["__scopeId", "data-v-7f9d045e"]]), vde = {
144220
+ }, gde = /* @__PURE__ */ Rn(hde, [["__scopeId", "data-v-931c484e"]]), vde = {
144202
144221
  install(e) {
144203
144222
  e.component("st-varietySearch", gde);
144204
144223
  }