st-comp 0.0.244 → 0.0.246

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 (49) hide show
  1. package/es/ConfigProvider.cjs +1 -1
  2. package/es/ConfigProvider.js +1 -1
  3. package/es/CustomFunction.cjs +2 -2
  4. package/es/CustomFunction.js +262 -263
  5. package/es/FactorWarning.cjs +1 -1
  6. package/es/FactorWarning.js +1 -1
  7. package/es/Kline.cjs +1 -1
  8. package/es/Kline.js +1 -1
  9. package/es/KlineBasic.cjs +1 -1
  10. package/es/KlineBasic.js +574 -606
  11. package/es/KlineNew.cjs +1 -1
  12. package/es/KlineNew.js +1 -1
  13. package/es/KlinePlus.cjs +1 -1
  14. package/es/KlinePlus.js +1 -1
  15. package/es/MonacoEditor.cjs +1 -1
  16. package/es/MonacoEditor.js +3 -3
  17. package/es/Pie.cjs +1 -1
  18. package/es/Pie.js +1 -1
  19. package/es/User.cjs +1 -1
  20. package/es/User.js +1 -1
  21. package/es/VarSelectDialog.cjs +1 -1
  22. package/es/VarSelectDialog.js +2 -2
  23. package/es/VarietyAutoComplete.cjs +1 -1
  24. package/es/VarietyAutoComplete.js +1 -1
  25. package/es/VarietySearch.cjs +20 -20
  26. package/es/VarietySearch.js +2995 -3000
  27. package/es/{VarietySelect-031bf077.cjs → VarietySelect-2fd501da.cjs} +1 -1
  28. package/es/{VarietySelect-ae0c48b2.js → VarietySelect-5a9dd50b.js} +1 -1
  29. package/es/{index-1f939868.cjs → index-2375023e.cjs} +2 -2
  30. package/es/{index-edabe380.js → index-7ed0999e.js} +5487 -5574
  31. package/es/{index-2c456130.cjs → index-8901a38c.cjs} +40 -40
  32. package/es/{index-4b01552e.js → index-ac98a4d8.js} +3 -3
  33. package/es/{python-7ce6f0b1.js → python-a914569a.js} +3 -3
  34. package/es/{python-c8abd4f5.cjs → python-c67c8901.cjs} +1 -1
  35. package/es/style.css +1 -1
  36. package/lib/bundle.js +1 -1
  37. package/lib/bundle.umd.cjs +223 -223
  38. package/lib/{index-200db55b.js → index-2a325d42.js} +34655 -34779
  39. package/lib/{python-9540022d.js → python-eb65d93b.js} +1 -1
  40. package/lib/style.css +1 -1
  41. package/package.json +1 -1
  42. package/packages/CustomFunction/index.vue +2 -4
  43. package/packages/KlineBasic/index.vue +518 -497
  44. package/packages/VarietySearch/components/CompositeOrder/index.vue +2 -4
  45. package/packages/VarietySearch/components/FactorScreen/index.vue +5 -7
  46. package/packages/VarietySearch/index.vue +4 -6
  47. package/src/pages/KlineBasic/api.js +7 -4
  48. package/src/pages/KlineBasic/index.vue +346 -56
  49. package/src/pages/VarietySearch/index.vue +7 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "st-comp",
3
3
  "public": true,
4
- "version": "0.0.244",
4
+ "version": "0.0.246",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -1,5 +1,4 @@
1
1
  <script setup>
2
- import { actionStat } from "st-func";
3
2
  import { ref, inject, onMounted } from "vue";
4
3
  import { Edit, DocumentCopy, Delete } from "@element-plus/icons-vue";
5
4
  import ManageDialog from "./components/ManageDialog.vue";
@@ -7,11 +6,10 @@ import ManageDialog from "./components/ManageDialog.vue";
7
6
  const { request } = inject("stConfig"); // 组件库全局配置
8
7
  const ManageDialogRef = ref(null);
9
8
 
10
- const emit = defineEmits(["insert"]);
9
+ const emit = defineEmits(["insert", "actionState"]);
11
10
  const props = defineProps({
12
11
  size: { type: String, default: "small" },
13
12
  selectWidth: { type: String, default: "200px" },
14
- pageName: { type: String, default: "" },
15
13
  });
16
14
 
17
15
  const customFunctionId = ref(null);
@@ -51,7 +49,7 @@ const handleCustomFuncManage = async (action, item) => {
51
49
  switch (action) {
52
50
  case "open": {
53
51
  ManageDialogRef.value.open();
54
- props.pageName && actionStat(props.pageName, "因子筛选", "函数管理");
52
+ emit("actionState", "因子筛选", "函数管理");
55
53
  break;
56
54
  }
57
55
  case "copy": {