st-comp 0.0.166 → 0.0.167
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/es/VarSelectDialog.cjs +3 -3
- package/es/VarSelectDialog.js +2906 -163
- package/es/VarietySearch.cjs +1 -3
- package/es/VarietySearch.js +895 -1152
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +186 -188
- package/lib/{index-80531492.js → index-6c539dc9.js} +21774 -22028
- package/lib/{python-20a1a5fc.js → python-b2c12764.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietySearch/components/FactorScreen/index.vue +4 -5
- package/es/el-autocomplete-5064d466.js +0 -2759
- package/es/el-autocomplete-814993af.cjs +0 -1
- package/packages/VarietySearch/components/FactorScreen/ScriptSelect.vue +0 -303
- package/packages/VarietySearch/components/FactorScreen/VarietySelect.vue +0 -78
package/package.json
CHANGED
|
@@ -4,7 +4,6 @@ import { nextTick, ref, watch } from "vue";
|
|
|
4
4
|
import { Plus, CircleCloseFilled, InfoFilled } from "@element-plus/icons-vue";
|
|
5
5
|
import { handleVerifyScore, extractConditionDetails } from "./tools.js";
|
|
6
6
|
import FactorDescription from "./FactorDescription.vue";
|
|
7
|
-
import ScriptSelect from "./ScriptSelect.vue";
|
|
8
7
|
import MonacoEditor from "../../../MonacoEditor/index.vue"
|
|
9
8
|
|
|
10
9
|
const props = defineProps({
|
|
@@ -29,7 +28,7 @@ const data = defineModel("data", {
|
|
|
29
28
|
});
|
|
30
29
|
|
|
31
30
|
const monacoEditorRef = ref();
|
|
32
|
-
const
|
|
31
|
+
const stVarSelectDialogRef = ref();
|
|
33
32
|
// 弹窗开关
|
|
34
33
|
const visible = ref(false);
|
|
35
34
|
const visibleDescriptions = ref(false);
|
|
@@ -55,7 +54,7 @@ const dialogForm = ref({
|
|
|
55
54
|
|
|
56
55
|
watch(() => [factorType.value, visible.value], () => {
|
|
57
56
|
if (factorType.value === '模版' || visible.value === false) {
|
|
58
|
-
|
|
57
|
+
stVarSelectDialogRef.value.close();
|
|
59
58
|
}
|
|
60
59
|
}, { deep: true })
|
|
61
60
|
|
|
@@ -236,7 +235,7 @@ const handleDeleteTag = (aciton, index) => {
|
|
|
236
235
|
const open = () => {
|
|
237
236
|
const zIndex = document.getElementsByClassName('factor-dialog')?.[0]?.style?.zIndex;
|
|
238
237
|
console.log(zIndex)
|
|
239
|
-
|
|
238
|
+
stVarSelectDialogRef.value.open(monacoEditorRef.value, zIndex);
|
|
240
239
|
}
|
|
241
240
|
</script>
|
|
242
241
|
|
|
@@ -605,7 +604,7 @@ const open = () => {
|
|
|
605
604
|
:data="config.factorDescriptions?.filter((item) => [1, 3].includes(item.type))"
|
|
606
605
|
/>
|
|
607
606
|
<!-- 变量选择器 -->
|
|
608
|
-
<
|
|
607
|
+
<st-varSelectDialog ref="stVarSelectDialogRef" />
|
|
609
608
|
</template>
|
|
610
609
|
|
|
611
610
|
<style lang="scss" scoped>
|