st-comp 0.0.276 → 0.0.278
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/.argus/backups/.argus/20260727_072225.525_patch_klinebasic.py +339 -0
- package/.argus/backups/.argus/20260727_072458.864_fix_klinebasic.py +42 -0
- package/.argus/backups/.argus/20260727_072554.676_fix_klinebasic.py +45 -0
- package/.argus/backups/20260727_020847.846_package.json +48 -0
- package/.argus/backups/20260727_021018.627_vitest.config.ts +37 -0
- package/.argus/backups/20260727_021033.462_vitest.config.ts +37 -0
- package/.argus/backups/20260727_021041.704_vitest.config.ts +37 -0
- package/.argus/backups/20260727_021122.389_vitest.config.ts +36 -0
- package/.argus/backups/20260727_021159.250_vitest.config.ts +36 -0
- package/.argus/backups/20260727_065913.421_vitest.config.ts +38 -0
- package/.argus/backups/20260727_071318.099_vitest.config.ts +42 -0
- package/.argus/backups/20260728_005238.495_vitest.config.ts +53 -0
- package/.argus/backups/20260728_005424.767_vitest.config.ts +58 -0
- package/.argus/backups/20260728_005444.216_vitest.config.ts +58 -0
- package/.argus/backups/20260728_005613.603_vitest.config.ts +57 -0
- package/.argus/backups/docs/20260727_012301.521_tasks.md +22 -0
- package/.argus/backups/docs/20260727_013404.413_requirements.md +61 -0
- package/.argus/backups/docs/20260727_013916.866_tasks.md +22 -0
- package/.argus/backups/docs/20260727_015657.696_tasks.md +22 -0
- package/.argus/backups/docs/20260727_015737.998_tasks.md +22 -0
- package/.argus/backups/docs/20260727_021309.668_tasks.md +88 -0
- package/.argus/backups/docs/20260727_023430.573_tasks.md +88 -0
- package/.argus/backups/docs/20260727_031705.498_tasks.md +88 -0
- package/.argus/backups/docs/20260727_033858.862_tasks.md +88 -0
- package/.argus/backups/docs/20260727_033909.221_tasks.md +88 -0
- package/.argus/backups/docs/20260727_065645.168_tasks.md +90 -0
- package/.argus/backups/docs/20260728_005711.090_tasks.md +90 -0
- package/.argus/backups/docs/20260728_093519.026_tasks.md +96 -0
- package/.argus/backups/docs/20260728_093845.838_tasks.md +95 -0
- package/.argus/backups/docs/20260728_093956.037_tasks.md +95 -0
- package/.argus/backups/docs/20260728_094111.219_tasks.md +95 -0
- package/.argus/backups/docs/20260802_082651.083_tasks.md +95 -0
- package/.argus/backups/docs/20260802_082659.919_tasks.md +95 -0
- package/.argus/backups/docs/20260802_082817.843_test-plan.md +119 -0
- package/.argus/backups/docs/20260802_082825.291_test-plan.md +119 -0
- package/.argus/backups/tests/20260727_020937.620_smoke.spec.ts +12 -0
- package/.argus/backups/tests/20260727_021105.040_smoke.spec.ts +12 -0
- package/.argus/backups/tests/20260727_021129.257_smoke.spec.ts +12 -0
- package/.argus/backups/tests/components/20260727_021655.533_Pagination.spec.ts +59 -0
- package/.argus/backups/tests/components/20260727_021718.547_Pagination.spec.ts +59 -0
- package/.argus/backups/tests/components/20260727_021858.422_Table.spec.ts +71 -0
- package/.argus/backups/tests/components/20260727_022144.098_VirtualTable.spec.ts +90 -0
- package/.argus/backups/tests/components/20260727_022154.585_VirtualTable.spec.ts +88 -0
- package/.argus/backups/tests/components/20260727_022225.501_VirtualTable.spec.ts +89 -0
- package/.argus/backups/tests/components/20260727_022502.366_PasswordPrompt.spec.ts +72 -0
- package/.argus/backups/tests/components/20260727_022512.945_PasswordPrompt.spec.ts +72 -0
- package/.argus/backups/tests/components/20260727_023011.481_VarietyTextCopy.spec.ts +86 -0
- package/.argus/backups/tests/components/20260727_023108.189_VarietyTextCopy.spec.ts +89 -0
- package/.argus/backups/tests/components/20260727_024356.151_ConfigProvider.spec.ts +101 -0
- package/.argus/backups/tests/components/20260727_024430.348_ConfigProvider.spec.ts +100 -0
- package/.argus/backups/tests/components/20260727_024635.923_User.spec.ts +82 -0
- package/.argus/backups/tests/components/20260727_024836.707_VarSelectDialog.spec.ts +131 -0
- package/.argus/backups/tests/components/20260727_024852.191_VarSelectDialog.spec.ts +111 -0
- package/.argus/backups/tests/components/20260727_024858.884_VarSelectDialog.spec.ts +130 -0
- package/.argus/backups/tests/components/20260727_024905.552_VarSelectDialog.spec.ts +130 -0
- package/.argus/backups/tests/components/20260727_024935.877_VarSelectDialog.spec.ts +130 -0
- package/.argus/backups/tests/components/20260727_025017.207_VarSelectDialog.spec.ts +131 -0
- package/.argus/backups/tests/components/20260727_025222.178_CustomFunction.spec.ts +107 -0
- package/.argus/backups/tests/components/20260727_025533.944_VarietySearch.spec.ts +238 -0
- package/.argus/backups/tests/components/20260727_025738.354_VarietySearch.spec.ts +233 -0
- package/.argus/backups/tests/components/20260727_025853.506_VarietySearch.spec.ts +242 -0
- package/.argus/backups/tests/components/20260727_030036.628_VarietySearch.spec.ts +242 -0
- package/.argus/backups/tests/components/20260727_030236.640_VarietySearch.spec.ts +244 -0
- package/.argus/backups/tests/components/20260727_030355.487_VarietySearch.spec.ts +253 -0
- package/.argus/backups/tests/components/20260727_031231.694_VarietySearch.spec.ts +258 -0
- package/.argus/backups/tests/components/20260727_031334.734_VarietySearch.spec.ts +260 -0
- package/.argus/backups/tests/components/20260727_031351.660_VarietySearch.spec.ts +259 -0
- package/.argus/backups/tests/components/20260727_031410.450_VarietySearch.spec.ts +260 -0
- package/.argus/backups/tests/components/20260727_031425.598_VarietySearch.spec.ts +259 -0
- package/.argus/backups/tests/components/20260727_031456.187_VarietySearch.spec.ts +258 -0
- package/.argus/backups/tests/components/20260727_031508.243_VarietySearch.spec.ts +257 -0
- package/.argus/backups/tests/components/20260727_035911.421_FactorWarning.spec.ts +45 -0
- package/.argus/backups/tests/components/20260727_040217.402_FactorWarning.spec.ts +44 -0
- package/.argus/backups/tests/components/20260727_040313.577_FactorWarning.spec.ts +115 -0
- package/.argus/backups/tests/components/20260727_040443.842_FactorWarning.spec.ts +116 -0
- package/.argus/backups/tests/components/20260727_040543.676_FactorWarning.spec.ts +119 -0
- package/.argus/backups/tests/components/20260727_040552.567_FactorWarning.spec.ts +120 -0
- package/.argus/backups/tests/components/20260727_040615.706_FactorWarning.spec.ts +122 -0
- package/.argus/backups/tests/components/20260727_040626.121_FactorWarning.spec.ts +123 -0
- package/.argus/backups/tests/components/20260727_040717.265_MonacoEditor.spec.ts +83 -0
- package/.argus/backups/tests/components/20260727_040828.121_MonacoEditor.spec.ts +76 -0
- package/.argus/backups/tests/components/20260727_040904.972_MonacoEditor.spec.ts +78 -0
- package/.argus/backups/tests/components/20260727_041018.032_MonacoEditor.spec.ts +81 -0
- package/.argus/backups/tests/components/20260727_041314.621_VarietyAiHelper.spec.ts +163 -0
- package/.argus/backups/tests/components/20260727_041325.276_VarietyAiHelper.spec.ts +163 -0
- package/.argus/backups/tests/components/20260727_041334.762_VarietyAiHelper.spec.ts +165 -0
- package/.argus/backups/tests/components/20260727_041343.202_VarietyAiHelper.spec.ts +166 -0
- package/.argus/backups/tests/components/20260727_044733.056_KlineBasic.spec.ts +143 -0
- package/.argus/backups/tests/components/20260727_045002.981_KlineBasic.spec.ts +143 -0
- package/.argus/backups/tests/components/20260727_045140.574_KlineBasic.spec.ts +144 -0
- package/.argus/backups/tests/components/20260727_045425.611_KlineBasic.spec.ts +145 -0
- package/.argus/backups/tests/components/20260727_045715.412_Kline.spec.ts +113 -0
- package/.argus/backups/tests/components/20260727_045724.184_Kline.spec.ts +125 -0
- package/.argus/backups/tests/components/20260727_045825.069_Kline.spec.ts +126 -0
- package/.argus/backups/tests/components/20260727_045834.378_Kline.spec.ts +136 -0
- package/.argus/backups/tests/components/20260727_045841.348_Kline.spec.ts +137 -0
- package/.argus/backups/tests/components/20260727_045940.821_Kline.spec.ts +136 -0
- package/.argus/backups/tests/components/20260727_045949.967_Kline.spec.ts +137 -0
- package/.argus/backups/tests/components/20260727_050143.995_Kline.spec.ts +138 -0
- package/.argus/backups/tests/components/20260727_050209.308_Kline.spec.ts +142 -0
- package/.argus/backups/tests/components/20260727_050232.575_Kline.spec.ts +145 -0
- package/.argus/backups/tests/components/20260727_050520.150_Kline.spec.ts +149 -0
- package/.argus/backups/tests/components/20260727_050528.961_Kline.spec.ts +144 -0
- package/.argus/backups/tests/components/20260727_050539.132_Kline.spec.ts +140 -0
- package/.argus/backups/tests/components/20260727_050600.606_Kline.spec.ts +141 -0
- package/.argus/backups/tests/components/20260727_051012.712_Kline.spec.ts +145 -0
- package/.argus/backups/tests/components/20260727_051030.112_Kline.spec.ts +140 -0
- package/.argus/backups/tests/components/20260727_051039.759_Kline.spec.ts +140 -0
- package/.argus/backups/tests/components/20260727_064959.298_KlineNew.spec.ts +265 -0
- package/.argus/backups/tests/components/20260727_065038.479_KlineNew.spec.ts +278 -0
- package/.argus/backups/tests/components/20260727_065213.245_KlinePlus.spec.ts +151 -0
- package/.argus/backups/tests/components/20260727_065245.945_KlinePlus.spec.ts +151 -0
- package/.argus/backups/tests/components/20260727_070847.720_MonacoEditor.spec.ts +105 -0
- package/.argus/backups/tests/components/20260727_070916.945_MonacoEditor.spec.ts +473 -0
- package/.argus/backups/tests/components/20260727_070928.260_MonacoEditor.spec.ts +516 -0
- package/.argus/backups/tests/components/20260727_071228.326_MonacoEditor.spec.ts +517 -0
- package/.argus/backups/tests/components/20260727_071243.734_MonacoEditor.spec.ts +521 -0
- package/.argus/backups/tests/components/20260727_071305.582_MonacoEditor.spec.ts +521 -0
- package/.argus/backups/tests/components/20260727_071350.809_MonacoEditor.spec.ts +525 -0
- package/.argus/backups/tests/components/20260727_071407.272_MonacoEditor.spec.ts +525 -0
- package/.argus/backups/tests/components/20260727_071425.763_MonacoEditor.spec.ts +525 -0
- package/.argus/backups/tests/components/20260727_071444.203_MonacoEditor.spec.ts +525 -0
- package/.argus/backups/tests/components/20260727_071813.277_Kline2.spec.ts +269 -0
- package/.argus/backups/tests/components/20260727_071825.633_Kline2.spec.ts +275 -0
- package/.argus/backups/tests/components/20260727_071836.063_Kline2.spec.ts +275 -0
- package/.argus/backups/tests/components/20260727_071926.767_Kline2.spec.ts +275 -0
- package/.argus/backups/tests/components/20260727_072027.172_Kline2.spec.ts +285 -0
- package/.argus/backups/tests/components/20260727_123101.129_Kline2.spec.ts +292 -0
- package/.argus/backups/tests/components/20260727_135819.231_Kline2.spec.ts +293 -0
- package/.argus/backups/tests/components/20260727_135858.777_Kline2.spec.ts +304 -0
- package/.argus/backups/tests/components/20260727_141205.699_KlineBasic.spec.ts +429 -0
- package/.argus/backups/tests/components/20260727_141254.206_Kline2.spec.ts +304 -0
- package/.argus/backups/tests/components/20260727_141349.322_KlineBasic.spec.ts +437 -0
- package/.argus/backups/tests/components/20260727_141447.163_KlineBasic.spec.ts +439 -0
- package/.argus/backups/tests/components/20260727_141505.454_KlineBasic.spec.ts +427 -0
- package/.argus/backups/tests/components/20260728_010148.792_User.spec.ts +126 -0
- package/.argus/backups/tests/components/20260728_010436.092_TreeMap.spec.ts +100 -0
- package/.argus/backups/tests/components/20260728_010546.696_CustomFunction.spec.ts +185 -0
- package/.argus/backups/tests/components/20260728_010606.217_CustomFunction.spec.ts +185 -0
- package/.argus/backups/tests/components/20260728_010739.144_FactorWarning.spec.ts +285 -0
- package/.argus/backups/tests/components/20260728_050815.875_VirtualTable.spec.ts +234 -0
- package/.argus/backups/tests/components/20260728_092436.589_KlinePlus.spec.ts +151 -0
- package/.argus/backups/tests/components/20260728_092516.096_KlinePlus.spec.ts +273 -0
- package/.argus/backups/tests/components/20260728_092531.745_KlinePlus.spec.ts +274 -0
- package/.argus/backups/tests/components/20260728_092545.921_KlinePlus.spec.ts +275 -0
- package/.argus/backups/tests/components/20260728_092605.498_KlinePlus.spec.ts +276 -0
- package/.argus/backups/tests/components/20260728_092659.872_KlinePlus.spec.ts +277 -0
- package/.argus/backups/tests/components/20260728_092713.040_KlinePlus.spec.ts +278 -0
- package/.argus/backups/tests/components/20260728_092726.343_KlinePlus.spec.ts +279 -0
- package/.argus/backups/tests/components/20260728_092750.935_KlinePlus.spec.ts +281 -0
- package/.argus/backups/tests/components/20260728_092800.572_KlinePlus.spec.ts +283 -0
- package/.argus/backups/tests/components/20260728_092837.797_KlinePlus.spec.ts +284 -0
- package/.argus/backups/tests/mocks/20260727_023418.231_st-func.mock.ts +29 -0
- package/.argus/backups/tests/mocks/20260727_024337.409_st-func.mock.ts +37 -0
- package/.argus/backups/tests/mocks/20260727_024344.807_st-func.mock.ts +40 -0
- package/.argus/backups/tests/mocks/20260727_041047.900_monaco.mock.ts +27 -0
- package/.argus/backups/tests/mocks/20260727_041129.076_monaco.mock.ts +31 -0
- package/.argus/backups/tests/mocks/20260727_044924.603_st-func.mock.ts +44 -0
- package/.argus/backups/tests/mocks/20260727_045612.059_echarts.kline.mock.ts +33 -0
- package/.argus/backups/tests/mocks/20260727_050955.894_echarts.kline.mock.ts +35 -0
- package/.argus/backups/tests/mocks/20260727_065402.557_st-func.mock.ts +52 -0
- package/.argus/backups/tests/mocks/20260727_065525.410_st-func.mock.ts +52 -0
- package/.argus/backups/tests/mocks/20260727_140844.233_echarts.kline.mock.ts +40 -0
- package/.argus/backups/tests/mocks/20260727_140913.119_echarts.kline.mock.ts +42 -0
- package/.argus/backups/tests/mocks/20260727_140921.846_echarts.kline.mock.ts +42 -0
- package/.argus/backups/tests/mocks/20260727_140939.427_echarts.kline.mock.ts +41 -0
- package/.argus/bgtasks.json +229 -0
- package/.argus/coldstore/013c3c794e7b7c29.jsonl +2 -0
- package/.argus/coldstore/0e331b8a3b0d8880.jsonl +16 -0
- package/.argus/coldstore/5d9a9409cc3f63f2.jsonl +7 -0
- package/.argus/coldstore/5f928dc976ac6d8a.jsonl +1 -0
- package/.argus/coldstore/60094b3c17412a84.jsonl +3 -0
- package/.argus/coldstore/76b2ec805ca5837c.jsonl +1 -0
- package/.argus/coldstore/859e7008fa48fc1b.jsonl +1 -0
- package/.argus/coldstore/85f91d3daeab41ca.jsonl +1595 -0
- package/.argus/coldstore/9278244bf4eaf9c6.jsonl +2 -0
- package/.argus/coldstore/9bb5e3ec04a11742.jsonl +1 -0
- package/.argus/coldstore/9c00baba2fa5f259.jsonl +3 -0
- package/.argus/coldstore/b72af6a1286c4ff8.jsonl +3 -0
- package/.argus/coldstore/cf0c7a7843dd408d.jsonl +1 -0
- package/.argus/coldstore/d1638960d5dc3db4.jsonl +4 -0
- package/.argus/coldstore/e6432235b17215cb.jsonl +6 -0
- package/.argus/coldstore/fae1501de047b46f.jsonl +1 -0
- package/.argus/compress_context/20260727T013726.528Z_classifier_9c00baba2fa5f259.txt +16 -0
- package/.argus/compress_context/20260727T020603.082Z_classifier_85f91d3daeab41ca.txt +2339 -0
- package/.argus/compress_context/20260727T023245.640Z_classifier_fae1501de047b46f.txt +16 -0
- package/.argus/compress_context/20260727T030908.737Z_classifier_e6432235b17215cb.txt +16 -0
- package/.argus/compress_context/20260727T032428.553Z_classifier_cf0c7a7843dd408d.txt +16 -0
- package/.argus/compress_context/20260727T032636.912Z_classifier_85f91d3daeab41ca.txt +7419 -0
- package/.argus/compress_context/20260727T041443.286Z_classifier_5d9a9409cc3f63f2.txt +16 -0
- package/.argus/compress_context/20260727T050601.474Z_classifier_60094b3c17412a84.txt +16 -0
- package/.argus/compress_context/20260727T052133.391Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260727T052212.178Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260727T052324.111Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260727T054653.767Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260727T071236.629Z_classifier_85f91d3daeab41ca.txt +16527 -0
- package/.argus/compress_context/20260727T072148.598Z_classifier_0e331b8a3b0d8880.txt +16 -0
- package/.argus/compress_context/20260727T073105.913Z_classifier_76b2ec805ca5837c.txt +16 -0
- package/.argus/compress_context/20260727T073345.593Z_classifier_d1638960d5dc3db4.txt +16 -0
- package/.argus/compress_context/20260727T092505.960Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260727T113928.931Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260727T123224.070Z_classifier_85f91d3daeab41ca.txt +10993 -0
- package/.argus/compress_context/20260727T141545.843Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260728T010629.442Z_classifier_85f91d3daeab41ca.txt +24561 -0
- package/.argus/compress_context/20260728T010950.439Z_classifier_9278244bf4eaf9c6.txt +16 -0
- package/.argus/compress_context/20260728T011152.613Z_classifier_013c3c794e7b7c29.txt +16 -0
- package/.argus/compress_context/20260728T085939.340Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260728T091110.581Z_classifier_b72af6a1286c4ff8.txt +16 -0
- package/.argus/compress_context/20260728T091324.113Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260728T093934.076Z_classifier_85f91d3daeab41ca.txt +26262 -0
- package/.argus/compress_context/20260729T011307.637Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260802T081344.640Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260802T082844.660Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260802T083022.436Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260802T083336.095Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260903T053304.203Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260903T053851.653Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260903T054344.177Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260903T060025.617Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/compress_context/20260903T060858.200Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
- package/.argus/config.toml +15 -0
- package/.argus/memory/.INDEX.md.lock +0 -0
- package/.argus/memory/INDEX.md +166 -0
- package/.argus/memory/dev_build_commands_build_targets_lib_vs_demo.md +14 -0
- package/.argus/memory/dev_build_commands_st_comp_build_scripts.md +13 -0
- package/.argus/memory/dev_coding_conventions_component_test_setupstate_override_pattern.md +14 -0
- package/.argus/memory/dev_coding_conventions_customfunction_ai_query_no_prefix.md +14 -0
- package/.argus/memory/dev_coding_conventions_fix_tests_not_packages_source.md +14 -0
- package/.argus/memory/dev_coding_conventions_git_workflow_branch_nds.md +14 -0
- package/.argus/memory/dev_coding_conventions_managedialog_ai_dialog_test_pattern.md +8 -0
- package/.argus/memory/dev_coding_conventions_no_packages_source_changes.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_component_spec_conventions.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_component_test_mocking_pattern.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_coverage_scope_rules.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_exposed_methods_via_wrapper_vm.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_full_import_only.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_klinebasic_error_rethrow.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_monaco_mock_extend.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_no_modify_packages_constraint.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_no_packages_changes.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_no_packages_code_changes.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_no_packages_modification.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_no_packages_source_changes.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_packages_read_only_for_test_work.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_packages_readonly_when_testing.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_seven_phase_workflow.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_spec_mock_patterns.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_spec_mount_pattern.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_test_component_patterns.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_test_constraint_no_packages_changes.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_test_conventions.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_test_mock_conventions.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_test_phase_constraints.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_test_work_no_packages_changes.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_testing_exposed_methods.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_tests_must_not_touch_packages.md +14 -0
- package/.argus/memory/dev_coding_conventions_st_comp_varietysearch_setupstate.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_vi_mock_pattern.md +13 -0
- package/.argus/memory/dev_coding_conventions_st_comp_vitest_cache_handlers_false.md +14 -0
- package/.argus/memory/dev_coding_conventions_stcomp_props_emits_conventions.md +13 -0
- package/.argus/memory/dev_coding_conventions_stconfig_request_injection.md +14 -0
- package/.argus/memory/dev_coding_conventions_test_isolation_and_coverage_thresholds.md +14 -0
- package/.argus/memory/dev_coding_conventions_test_mock_strategy_layers.md +14 -0
- package/.argus/memory/dev_deps_project_ui_deps_echarts_monaco.md +14 -0
- package/.argus/memory/dev_deps_st_comp_tech_stack.md +13 -0
- package/.argus/memory/dev_deps_st_comp_test_stack.md +13 -0
- package/.argus/memory/dev_deps_st_comp_test_stack_versions.md +13 -0
- package/.argus/memory/dev_deps_stcomp_heavy_deps_per_component.md +13 -0
- package/.argus/memory/dev_deps_variety_ai_helper_api.md +14 -0
- package/.argus/memory/dev_deps_variety_ai_helper_endpoint.md +14 -0
- package/.argus/memory/dev_deps_vitest_034_coverage_threshold_format.md +14 -0
- package/.argus/memory/dev_key_modules_ai_helper_streaming_api.md +14 -0
- package/.argus/memory/dev_key_modules_ai_tools_sse_client.md +14 -0
- package/.argus/memory/dev_key_modules_custom_function_api_endpoints.md +14 -0
- package/.argus/memory/dev_key_modules_custom_function_manage_dialog.md +14 -0
- package/.argus/memory/dev_key_modules_custom_function_panel_structure.md +14 -0
- package/.argus/memory/dev_key_modules_customfunction_manage_dialog.md +14 -0
- package/.argus/memory/dev_key_modules_kline_echarts_mock_requirements.md +14 -0
- package/.argus/memory/dev_key_modules_shared_editor_varselect_components.md +14 -0
- package/.argus/memory/dev_key_modules_st_comp_extractvariables_syntax.md +13 -0
- package/.argus/memory/dev_key_modules_st_comp_kline_component_family.md +13 -0
- package/.argus/memory/dev_key_modules_st_comp_kline_components_test_mocks.md +14 -0
- package/.argus/memory/dev_key_modules_st_comp_l2_kline_components.md +14 -0
- package/.argus/memory/dev_key_modules_st_comp_packages_components.md +13 -0
- package/.argus/memory/dev_key_modules_st_comp_test_mocks_behavior.md +13 -0
- package/.argus/memory/dev_key_modules_st_comp_vite_plugins.md +13 -0
- package/.argus/memory/dev_key_modules_st_func_mock_helper.md +14 -0
- package/.argus/memory/dev_key_modules_stcomp_http_via_stfunc_no_axios.md +13 -0
- package/.argus/memory/dev_key_modules_stcomp_stconfig_provide_inject_contract.md +13 -0
- package/.argus/memory/dev_key_modules_test_shared_helpers.md +14 -0
- package/.argus/memory/dev_key_modules_vitest_vue_cachehandlers_false.md +14 -0
- package/.argus/memory/dev_known_issues_klinebasic_unhandled_rejection_noise.md +14 -0
- package/.argus/memory/dev_known_issues_low_func_coverage_components.md +14 -0
- package/.argus/memory/dev_known_issues_low_function_coverage_components.md +14 -0
- package/.argus/memory/dev_known_issues_missing_component_tests_backlog.md +14 -0
- package/.argus/memory/dev_known_issues_monaco_editor_baseline_test_failures.md +14 -0
- package/.argus/memory/dev_known_issues_pending_component_test_coverage.md +14 -0
- package/.argus/memory/dev_known_issues_st_comp_baseline_failing_specs.md +14 -0
- package/.argus/memory/dev_known_issues_st_comp_build_gaps.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_contextmenu_attachto_breaks.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_deferred_tests_factorwarning_monacoeditor_varietyaihelper.md +14 -0
- package/.argus/memory/dev_known_issues_st_comp_definemodel_setupstate_test_pitfall.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_elmessage_auto_import_tests.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_elmessage_missing_in_tests.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_eltable_render_timing.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_hardcoded_server_password.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_jsdom_resizeobserver_stub.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_klinebasic_resize_coverage_gap.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_klinebasic_unhandled_rejection_noise.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_known_gaps.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_preexisting_spec_failures.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_stfunc_mock_stmath_incomplete.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_test_elmessage_autoimport.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_test_env_pitfalls.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_test_teleport_cleanup.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_varietytextcopy_global_elmessage.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_vitest_cache_handlers_false.md +13 -0
- package/.argus/memory/dev_known_issues_st_comp_vitest_cachehandlers_coverage.md +13 -0
- package/.argus/memory/dev_known_issues_st_func_mock_addresizelistener_return_shape.md +14 -0
- package/.argus/memory/dev_known_issues_stcomp_klineconfig_defineemits_string_bug.md +13 -0
- package/.argus/memory/dev_known_issues_t1_uncovered_test_gaps.md +14 -0
- package/.argus/memory/dev_known_issues_vitest_034_windows_import_meta_url.md +14 -0
- package/.argus/memory/dev_known_issues_vitest_baseline_failing_specs.md +14 -0
- package/.argus/memory/dev_known_issues_vitest_vue_plugin_cache_handlers_false.md +14 -0
- package/.argus/memory/dev_project_layout_custom_function_manage_dialog.md +14 -0
- package/.argus/memory/dev_project_layout_docs_phase_artifacts.md +14 -0
- package/.argus/memory/dev_project_layout_docs_tasks_md_planning_file.md +14 -0
- package/.argus/memory/dev_project_layout_frontend_component_test_scope.md +14 -0
- package/.argus/memory/dev_project_layout_local_only_dirs_not_committed.md +14 -0
- package/.argus/memory/dev_project_layout_nds_local_tool_dirs_untracked.md +14 -0
- package/.argus/memory/dev_project_layout_packages_component_layout.md +14 -0
- package/.argus/memory/dev_project_layout_packages_dir_always_empty.md +14 -0
- package/.argus/memory/dev_project_layout_phased_workflow_docs.md +14 -0
- package/.argus/memory/dev_project_layout_st_comp_docs_phase_workflow.md +14 -0
- package/.argus/memory/dev_project_layout_st_comp_docs_task_tracking.md +14 -0
- package/.argus/memory/dev_project_layout_st_comp_layout_and_aliases.md +13 -0
- package/.argus/memory/dev_project_layout_st_comp_layout_and_docs_plan.md +14 -0
- package/.argus/memory/dev_project_layout_st_comp_layout_and_stack.md +13 -0
- package/.argus/memory/dev_project_layout_st_comp_layout_and_task_tracking.md +14 -0
- package/.argus/memory/dev_project_layout_st_comp_project_layout.md +13 -0
- package/.argus/memory/dev_project_layout_st_comp_project_overview.md +14 -0
- package/.argus/memory/dev_project_layout_st_comp_project_root_and_purpose.md +14 -0
- package/.argus/memory/dev_project_layout_st_comp_repo_layout.md +13 -0
- package/.argus/memory/dev_project_layout_st_comp_test_layout.md +13 -0
- package/.argus/memory/dev_project_layout_st_comp_test_layout_and_aliases.md +13 -0
- package/.argus/memory/dev_project_layout_st_comp_top_level_layout.md +13 -0
- package/.argus/memory/dev_project_layout_stcomp_packages_layout.md +13 -0
- package/.argus/memory/dev_project_layout_test_release_plugin_sftp_config.md +14 -0
- package/.argus/memory/dev_project_layout_tests_dir_and_vitest_config.md +14 -0
- package/.argus/memory/dev_test_commands_component_test_baseline_and_layout.md +14 -0
- package/.argus/memory/dev_test_commands_coverage_gate_80_baseline_exclusions.md +14 -0
- package/.argus/memory/dev_test_commands_coverage_thresholds.md +14 -0
- package/.argus/memory/dev_test_commands_coverage_thresholds_enforced.md +14 -0
- package/.argus/memory/dev_test_commands_func_coverage_threshold_80.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_component_test_command.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_coverage_commands.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_coverage_scope_and_threshold.md +13 -0
- package/.argus/memory/dev_test_commands_st_comp_coverage_thresholds.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_run_component_tests.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_commands.md +13 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_component_suite.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_component_tests.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_components.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_coverage_config.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_coverage_thresholds.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_must_use_local_bin.md +13 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_run.md +13 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_run_and_coverage.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_run_command.md +13 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_run_commands.md +13 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_run_coverage.md +14 -0
- package/.argus/memory/dev_test_commands_st_comp_vitest_run_spec.md +13 -0
- package/.argus/memory/dev_test_commands_test_stack_vitest_vue.md +14 -0
- package/.argus/memory/dev_test_commands_test_suite_baseline.md +14 -0
- package/.argus/memory/dev_test_commands_vitest_cache_handlers_disabled_for_coverage.md +14 -0
- package/.argus/memory/dev_test_commands_vitest_component_test_plan_tiers.md +14 -0
- package/.argus/memory/dev_test_commands_vitest_component_testing_setup.md +14 -0
- package/.argus/memory/dev_test_commands_vitest_run_and_coverage.md +14 -0
- package/.argus/memory/dev_test_commands_vitest_test_infra_setup.md +14 -0
- package/.argus/memory/ops_credentials_locations_sftp_cred_testrelese_ts.md +14 -0
- package/.argus/memory/ops_credentials_locations_st_comp_test_server_root_password_hardcoded.md +13 -0
- package/.argus/memory/ops_deploy_workflow_build_outputs_lib_vs_demo.md +14 -0
- package/.argus/memory/ops_deploy_workflow_sftp_deploy_via_vite_plugin.md +14 -0
- package/.argus/memory/ops_deploy_workflow_st_comp_test_deploy_via_testrelese_plugin.md +13 -0
- package/.argus/memory/ops_servers_test_server_192_168_12_49.md +14 -0
- package/.argus/scheduled_tasks.json +467 -0
- package/.cliworks/.cliworks/input_history.jsonl +44 -0
- package/.cliworks/chat/acp/39525acf-0832-40e4-90e5-f058f1bccb8d/2026-07-27.json +17623 -0
- package/.cliworks/chat/acp/39525acf-0832-40e4-90e5-f058f1bccb8d/2026-07-28.json +6349 -0
- package/.cliworks/chat/acp/39525acf-0832-40e4-90e5-f058f1bccb8d/2026-07-29.json +33 -0
- package/.cliworks/chat/acp/39525acf-0832-40e4-90e5-f058f1bccb8d/2026-08-02.json +1174 -0
- package/.cliworks/chat/acp/39525acf-0832-40e4-90e5-f058f1bccb8d/2026-09-03.json +2354 -0
- package/.cliworks/hooks/on_create.md +6 -0
- package/.cliworks/hooks/on_open.md +11 -0
- package/.cliworks/project.json +5 -0
- package/coverage/ChartLayout/index.html +116 -0
- package/coverage/ChartLayout/index.vue.html +274 -0
- package/coverage/ConfigProvider/index.html +116 -0
- package/coverage/ConfigProvider/index.vue.html +283 -0
- package/coverage/Contextmenu/index.html +116 -0
- package/coverage/Contextmenu/index.vue.html +487 -0
- package/coverage/CustomFunction/index.html +116 -0
- package/coverage/CustomFunction/index.vue.html +685 -0
- package/coverage/FactorWarning/index.html +116 -0
- package/coverage/FactorWarning/index.vue.html +2347 -0
- package/coverage/HeatMap/index.html +116 -0
- package/coverage/HeatMap/index.vue.html +508 -0
- package/coverage/Kline/index.html +116 -0
- package/coverage/Kline/index.vue.html +2758 -0
- package/coverage/KlineBasic/index.html +116 -0
- package/coverage/KlineBasic/index.vue.html +2602 -0
- package/coverage/KlineConfig/index.html +116 -0
- package/coverage/KlineConfig/index.vue.html +1153 -0
- package/coverage/KlinePlus/index.html +116 -0
- package/coverage/KlinePlus/index.vue.html +3286 -0
- package/coverage/LinearLegend/index.html +116 -0
- package/coverage/LinearLegend/index.vue.html +418 -0
- package/coverage/Map/index.html +116 -0
- package/coverage/Map/index.vue.html +526 -0
- package/coverage/MonacoEditor/index.html +116 -0
- package/coverage/MonacoEditor/index.vue.html +3508 -0
- package/coverage/Pagination/index.html +116 -0
- package/coverage/Pagination/index.vue.html +346 -0
- package/coverage/PasswordPrompt/index.html +116 -0
- package/coverage/PasswordPrompt/index.vue.html +886 -0
- package/coverage/Pie/index.html +116 -0
- package/coverage/Pie/index.vue.html +529 -0
- package/coverage/Table/index.html +116 -0
- package/coverage/Table/index.vue.html +484 -0
- package/coverage/TreeMap/index.html +116 -0
- package/coverage/TreeMap/index.vue.html +643 -0
- package/coverage/User/index.html +116 -0
- package/coverage/User/index.vue.html +436 -0
- package/coverage/VarSelectDialog/index.html +116 -0
- package/coverage/VarSelectDialog/index.vue.html +1054 -0
- package/coverage/VarietyAiHelper/index.html +116 -0
- package/coverage/VarietyAiHelper/index.vue.html +2815 -0
- package/coverage/VarietyAutoComplete/index.html +116 -0
- package/coverage/VarietyAutoComplete/index.vue.html +352 -0
- package/coverage/VarietySearch/index.html +116 -0
- package/coverage/VarietySearch/index.vue.html +2149 -0
- package/coverage/VarietyTextCopy/index.html +116 -0
- package/coverage/VarietyTextCopy/index.vue.html +493 -0
- package/coverage/VirtualTable/index.html +116 -0
- package/coverage/VirtualTable/index.vue.html +808 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/clover.xml +9392 -0
- package/coverage/coverage-final.json +26 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +476 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +210 -0
- package/docs/api-design.md +120 -0
- package/docs/architecture.md +110 -0
- package/docs/bugs.md +13 -0
- package/docs/requirements.md +63 -0
- package/docs/review.md +80 -0
- package/docs/security.md +83 -0
- package/docs/tasks.md +112 -0
- package/docs/test-plan.md +119 -0
- package/es/CustomFunction.cjs +2 -2
- package/es/CustomFunction.js +514 -308
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +25 -25
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +10 -10
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +18 -18
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +15 -15
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +9 -9
- package/es/KlinePlus.cjs +1 -1
- package/es/KlinePlus.js +11 -11
- package/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +17 -17
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +76 -76
- package/es/PasswordPrompt.cjs +1 -1
- package/es/PasswordPrompt.js +2 -2
- package/es/Table.cjs +1 -1
- package/es/Table.js +22 -22
- package/es/User.cjs +1 -1
- package/es/User.js +18 -18
- package/es/VarSelectDialog.cjs +1 -1
- package/es/VarSelectDialog.js +18 -18
- package/es/VarietyAiHelper.cjs +7 -7
- package/es/VarietyAiHelper.js +306 -279
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +7 -7
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +30 -30
- package/es/{VarietySelect-610903f0.cjs → VarietySelect-5fee5520.cjs} +1 -1
- package/es/{VarietySelect-6a166293.js → VarietySelect-e563b7a6.js} +3 -3
- package/es/VarietyTextCopy.cjs +1 -1
- package/es/VarietyTextCopy.js +10 -10
- package/es/VirtualTable.cjs +1 -1
- package/es/VirtualTable.js +5 -5
- package/es/{_initCloneObject-152b4f4e.js → _initCloneObject-5e73c9c8.js} +2 -2
- package/es/{_initCloneObject-76e116d0.cjs → _initCloneObject-a5832933.cjs} +1 -1
- package/es/{aiTools-d7bd47c3.js → aiTools-a3b095f6.js} +19 -19
- package/es/aiTools-f36136a4.cjs +2 -0
- package/es/aiTools.js +4 -0
- package/es/{config-provider-4c784baf.cjs → config-provider-06ea6b42.cjs} +1 -1
- package/es/{config-provider-7a3aca55.js → config-provider-88b637a8.js} +3 -3
- package/es/{dropdown-987c47fb.cjs → dropdown-4ce4c3e2.cjs} +1 -1
- package/es/{dropdown-01e09205.js → dropdown-72fbc15d.js} +2 -2
- package/es/{el-autocomplete-342ae823.js → el-autocomplete-6cafcdf1.js} +5 -5
- package/es/{el-autocomplete-16f66b34.cjs → el-autocomplete-e0857c5b.cjs} +1 -1
- package/es/{el-button-13dc915f.cjs → el-button-613e0bb2.cjs} +1 -1
- package/es/{el-button-314171a0.js → el-button-94d3de38.js} +3 -3
- package/es/{el-checkbox-5899681f.js → el-checkbox-6d4cb393.js} +3 -3
- package/es/{el-checkbox-bdf64663.cjs → el-checkbox-e90762df.cjs} +1 -1
- package/es/{el-dialog-0ef95df6.cjs → el-dialog-02942e22.cjs} +1 -1
- package/es/{el-dialog-86a3eec2.js → el-dialog-5e30161f.js} +4 -4
- package/es/{el-form-item-77ef6784.cjs → el-form-item-44f060d8.cjs} +1 -1
- package/es/{el-form-item-cda4d93c.js → el-form-item-9e8969ea.js} +5 -5
- package/es/{el-input-fa1445ad.js → el-input-342b2def.js} +13 -13
- package/es/{el-input-89222943.cjs → el-input-9a9a7f7f.cjs} +1 -1
- package/es/{el-input-number-d3338e5e.cjs → el-input-number-65c847d6.cjs} +1 -1
- package/es/{el-input-number-8f6dbf74.js → el-input-number-c22b803a.js} +35 -35
- package/es/{el-loading-84dde1a8.cjs → el-loading-8179b497.cjs} +1 -1
- package/es/{el-loading-9b671203.js → el-loading-bcc51e3d.js} +1 -1
- package/es/{el-menu-item-535fef90.js → el-menu-item-339baf6d.js} +21 -21
- package/es/{el-menu-item-4531fd0e.cjs → el-menu-item-83186444.cjs} +1 -1
- package/es/{el-message-box-621ed2f1.js → el-message-box-035b699c.js} +9 -9
- package/es/{el-message-box-f5717070.cjs → el-message-box-c62d3217.cjs} +1 -1
- package/es/{el-overlay-23de4324.js → el-overlay-3e17604b.js} +3 -3
- package/es/{el-overlay-151708cb.cjs → el-overlay-8f1da9e8.cjs} +1 -1
- package/es/{el-popconfirm-b8aa490e.cjs → el-popconfirm-4e32ec1b.cjs} +1 -1
- package/es/{el-popconfirm-bcff0aa5.js → el-popconfirm-f8a86e2c.js} +4 -4
- package/es/{el-popper-43ec37f4.cjs → el-popper-a4f3ae4d.cjs} +1 -1
- package/es/{el-popper-03988662.js → el-popper-fbd0dcea.js} +1 -1
- package/es/{el-segmented-db3a86be.js → el-segmented-56bd58a8.js} +2 -2
- package/es/{el-segmented-79a1367c.cjs → el-segmented-833ac177.cjs} +1 -1
- package/es/{el-select-4bd0010d.js → el-select-44fa547d.js} +8 -8
- package/es/{el-select-ec04e7ce.cjs → el-select-70806166.cjs} +1 -1
- package/es/{el-table-column-35e47229.cjs → el-table-column-3e2cdfca.cjs} +1 -1
- package/es/{el-table-column-7af2bec7.js → el-table-column-b74a857d.js} +9 -9
- package/es/{el-tag-bef9e83d.js → el-tag-66c83156.js} +2 -2
- package/es/{el-tag-5d5608e0.cjs → el-tag-9c2f329f.cjs} +1 -1
- package/es/{el-text-f998902c.js → el-text-034bd3f4.js} +1 -1
- package/es/{el-text-abf10fdf.cjs → el-text-6b2374bb.cjs} +1 -1
- package/es/index-00f6ca75.cjs +1 -0
- package/es/{index-a00e0534.cjs → index-185792a7.cjs} +1 -1
- package/es/{index-d1b554ac.js → index-1e2a38ab.js} +2 -2
- package/es/{index-f3f6ee27.js → index-27416486.js} +9 -9
- package/es/{index-2d7ac156.cjs → index-47c9eb63.cjs} +2 -2
- package/es/{index-0986e373.cjs → index-4cd74df9.cjs} +1 -1
- package/es/{index-ce21e2ce.js → index-5216d5f5.js} +5 -5
- package/es/{index-cfcd60ca.cjs → index-5c0dd943.cjs} +1 -1
- package/es/{index-cfd00899.cjs → index-870b6c9d.cjs} +1 -1
- package/es/{index-a83ec4b7.js → index-8c2d7e05.js} +1 -1
- package/es/{index-db846633.cjs → index-9d16cea8.cjs} +1 -1
- package/es/{index-936e7dec.js → index-a9785a4f.js} +1 -1
- package/es/{index-60c69dd1.cjs → index-ac8dc53d.cjs} +1 -1
- package/es/{index-102edf6c.js → index-c5f2d372.js} +2 -2
- package/es/{index-6290ae0f.js → index-c6584658.js} +2 -2
- package/es/{index-5c44d71a.js → index-eb96e074.js} +149 -119
- package/es/{index-5ed42e9c.js → index-f034b910.js} +2 -2
- package/es/{index-c58e90e9.cjs → index-f58b2920.cjs} +1 -1
- package/es/{python-71f59893.cjs → python-2623e545.cjs} +1 -1
- package/es/{python-6cc6ec1b.js → python-85a62852.js} +17 -17
- package/es/style.css +1 -1
- package/es/{use-form-common-props-02be4928.cjs → use-form-common-props-ac666630.cjs} +1 -1
- package/es/{use-form-common-props-76a09d89.js → use-form-common-props-ed72e914.js} +11 -11
- package/es/{use-global-config-31b3ec57.cjs → use-global-config-23472471.cjs} +1 -1
- package/es/{use-global-config-0f43458b.js → use-global-config-ee406d58.js} +2 -2
- package/es/{validator-ea292506.cjs → validator-366dbf39.cjs} +1 -1
- package/es/{validator-0e037618.js → validator-c60a8956.js} +1 -1
- package/es/{zh-cn-1227eb8a.js → zh-cn-b59a0910.js} +1 -1
- package/es/{zh-cn-0edc7234.cjs → zh-cn-c21d12d8.cjs} +1 -1
- package/introduce.md +41 -0
- package/lib/aiTools.js +4 -0
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +189 -189
- package/lib/{index-8b55d8c8.js → index-72506c43.js} +20695 -20434
- package/lib/{python-f164f783.js → python-d3119b5a.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +9 -2
- package/packages/CustomFunction/components/ManageDialog.vue +300 -3
- package/packages/VarietyAiHelper/index.vue +42 -6
- package/public/aiTools.js +4 -0
- package/src/App.vue +16 -16
- package/tests/components/ChartLayout.spec.ts +67 -0
- package/tests/components/ConfigProvider.spec.ts +99 -0
- package/tests/components/Contextmenu.spec.ts +79 -0
- package/tests/components/CustomFunction.spec.ts +185 -0
- package/tests/components/FactorWarning.spec.ts +287 -0
- package/tests/components/HeatMap.spec.ts +83 -0
- package/tests/components/Kline.spec.ts +140 -0
- package/tests/components/Kline2.spec.ts +311 -0
- package/tests/components/KlineBasic.spec.ts +429 -0
- package/tests/components/KlineConfig.spec.ts +278 -0
- package/tests/components/KlineNew.spec.ts +278 -0
- package/tests/components/KlinePlus.spec.ts +284 -0
- package/tests/components/LinearLegend.spec.ts +69 -0
- package/tests/components/ManageDialog.spec.ts +253 -0
- package/tests/components/Map.spec.ts +71 -0
- package/tests/components/MonacoEditor.spec.ts +530 -0
- package/tests/components/Pagination.spec.ts +59 -0
- package/tests/components/PasswordPrompt.spec.ts +72 -0
- package/tests/components/Pie.spec.ts +96 -0
- package/tests/components/Table.spec.ts +186 -0
- package/tests/components/TreeMap.spec.ts +100 -0
- package/tests/components/User.spec.ts +130 -0
- package/tests/components/VarSelectDialog.spec.ts +131 -0
- package/tests/components/VarietyAiHelper.spec.ts +164 -0
- package/tests/components/VarietyAutoComplete.spec.ts +110 -0
- package/tests/components/VarietySearch.spec.ts +526 -0
- package/tests/components/VarietyTextCopy.spec.ts +86 -0
- package/tests/components/VirtualTable.spec.ts +285 -0
- package/tests/helpers/mountWithPlugins.ts +19 -0
- package/tests/mocks/echarts.kline.mock.ts +41 -0
- package/tests/mocks/echarts.mock.ts +38 -0
- package/tests/mocks/monaco.mock.ts +37 -0
- package/tests/mocks/st-func.mock.ts +52 -0
- package/tests/mocks/talib.mock.ts +13 -0
- package/tests/setup.ts +65 -0
- package/tests/smoke.spec.ts +12 -0
- package/vitest.config.ts +56 -0
- package/workflow.md +33 -0
- package/es/aiTools-9fd42de8.cjs +0 -2
- package/es/index-476c4459.cjs +0 -1
package/es/CustomFunction.js
CHANGED
|
@@ -1,43 +1,53 @@
|
|
|
1
1
|
import "./base-a5af3db3.js";
|
|
2
|
-
import { E as
|
|
3
|
-
import "./el-tag-
|
|
4
|
-
import { E as
|
|
2
|
+
import { E as me } from "./el-button-94d3de38.js";
|
|
3
|
+
import "./el-tag-66c83156.js";
|
|
4
|
+
import { E as Ie, a as De } from "./el-select-44fa547d.js";
|
|
5
5
|
import "./el-scrollbar-323542e7.js";
|
|
6
|
-
import "./el-popper-
|
|
7
|
-
import { E as
|
|
6
|
+
import "./el-popper-fbd0dcea.js";
|
|
7
|
+
import { E as _e } from "./el-popconfirm-f8a86e2c.js";
|
|
8
8
|
import "./el-popover-4ed993c7.js";
|
|
9
|
-
import { inject as
|
|
10
|
-
import { c as
|
|
11
|
-
import { E as
|
|
12
|
-
import "./el-
|
|
13
|
-
import
|
|
14
|
-
import { E as
|
|
15
|
-
import { E as
|
|
16
|
-
import { G as
|
|
9
|
+
import { inject as ve, ref as p, reactive as Q, computed as Fe, watch as Oe, nextTick as ue, resolveComponent as de, openBlock as f, createBlock as F, withCtx as n, createElementVNode as s, normalizeClass as W, createVNode as t, unref as g, createTextVNode as x, createElementBlock as E, Fragment as Y, renderList as Z, toDisplayString as O, withModifiers as ee, createCommentVNode as X, pushScopeId as Ae, popScopeId as ze, h as G, onMounted as Be, normalizeStyle as Me } from "vue";
|
|
10
|
+
import { c as le, d as ge, a as he, b as Re, m as Ue, e as Te, l as je, E as ye, f as qe } from "./index-eb96e074.js";
|
|
11
|
+
import { E as Le } from "./el-divider-4e059794.js";
|
|
12
|
+
import { E as Pe } from "./el-dialog-5e30161f.js";
|
|
13
|
+
import "./el-overlay-3e17604b.js";
|
|
14
|
+
import { E as We } from "./el-empty-33cb66f1.js";
|
|
15
|
+
import { E as fe } from "./el-input-342b2def.js";
|
|
16
|
+
import { G as Ge, U as He } from "./index-7ed0999e.js";
|
|
17
|
+
import { s as Je } from "./aiTools-a3b095f6.js";
|
|
17
18
|
import "./el-message-4ed993c7.js";
|
|
18
|
-
import { E as
|
|
19
|
-
import { E as
|
|
20
|
-
import { _ as
|
|
21
|
-
import { E as
|
|
22
|
-
import { E as
|
|
19
|
+
import { E as pe } from "./el-message-box-035b699c.js";
|
|
20
|
+
import { E as Ke, a as Qe } from "./el-form-item-9e8969ea.js";
|
|
21
|
+
import { _ as xe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
+
import { E as S } from "./index-5216d5f5.js";
|
|
23
|
+
import { E as Xe } from "./index-c5f2d372.js";
|
|
23
24
|
import "./index-2e331d74.js";
|
|
24
|
-
import "./use-global-config-
|
|
25
|
-
import "./use-form-common-props-
|
|
25
|
+
import "./use-global-config-ee406d58.js";
|
|
26
|
+
import "./use-form-common-props-ed72e914.js";
|
|
26
27
|
import "./index-960806da.js";
|
|
27
28
|
import "./index-d77a7336.js";
|
|
28
|
-
import "./index-
|
|
29
|
+
import "./index-8c2d7e05.js";
|
|
29
30
|
import "./index-657047bb.js";
|
|
30
|
-
import "./index-
|
|
31
|
+
import "./index-1e2a38ab.js";
|
|
31
32
|
import "./castArray-7741a212.js";
|
|
32
|
-
import "./index-
|
|
33
|
+
import "./index-f034b910.js";
|
|
33
34
|
import "./scroll-679bd6bf.js";
|
|
34
35
|
import "./debounce-8d53f4dd.js";
|
|
35
36
|
import "./vnode-5ddb7ed1.js";
|
|
36
37
|
import "./typescript-7ae59c4c.js";
|
|
37
|
-
import "./validator-
|
|
38
|
-
import "./_initCloneObject-
|
|
39
|
-
import "./config-provider-
|
|
40
|
-
const
|
|
38
|
+
import "./validator-c60a8956.js";
|
|
39
|
+
import "./_initCloneObject-5e73c9c8.js";
|
|
40
|
+
import "./config-provider-88b637a8.js";
|
|
41
|
+
const se = (h) => (Ae("data-v-2bf91027"), h = h(), ze(), h), Ye = { class: "custom-header" }, Ze = { class: "left" }, et = ["id"], tt = { class: "right" }, ot = { class: "manage-dialog-body" }, nt = { class: "func-list" }, lt = { class: "search" }, st = /* @__PURE__ */ se(() => /* @__PURE__ */ s("span", null, "输入函数关键字", -1)), at = ["onClick"], it = { class: "icon-box" }, ct = { class: "rule-form" }, rt = { class: "header" }, ut = /* @__PURE__ */ se(() => /* @__PURE__ */ s("span", null, "函数名称:", -1)), dt = { class: "right" }, ft = /* @__PURE__ */ se(() => /* @__PURE__ */ s("div", { class: "tip-box" }, "说明: 公式里可以使用变量, 变量名命名格式: ${变量名}, 后续可在应用函数时填写具体值, 系统会自动换算", -1)), pt = { class: "custom-header" }, mt = { class: "left" }, _t = ["id"], vt = { class: "right" }, gt = { class: "ai-dialog-body" }, ht = {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: "node-progress"
|
|
44
|
+
}, yt = {
|
|
45
|
+
key: 1,
|
|
46
|
+
class: "ai-error"
|
|
47
|
+
}, xt = {
|
|
48
|
+
key: 2,
|
|
49
|
+
class: "ai-result"
|
|
50
|
+
}, Et = { class: "factor-expr" }, kt = { class: "dialog-footer" }, bt = { class: "custom-header" }, Ct = { class: "left" }, Vt = ["id"], St = { class: "right" }, wt = { class: "content" }, Nt = { class: "dialog-footer" }, $t = {
|
|
41
51
|
__name: "ManageDialog",
|
|
42
52
|
props: {
|
|
43
53
|
data: {
|
|
@@ -46,93 +56,93 @@ const K = (f) => (ye("data-v-b5dcb4b8"), f = f(), Ee(), f), Ie = { class: "custo
|
|
|
46
56
|
}
|
|
47
57
|
},
|
|
48
58
|
emits: ["refreshData"],
|
|
49
|
-
setup(
|
|
50
|
-
const { request:
|
|
59
|
+
setup(h, { expose: te, emit: H }) {
|
|
60
|
+
const w = ve("stConfig"), { request: M } = w, m = p(null), k = p(null), N = H, R = h, A = p(!1), $ = Q({
|
|
51
61
|
save: !1,
|
|
52
62
|
test: !1
|
|
53
|
-
}),
|
|
63
|
+
}), b = p(null), v = Fe(() => b.value ? R.data.filter((l) => l.funcName.includes(b.value)) : R.data), o = Q({
|
|
54
64
|
id: null,
|
|
55
65
|
funcName: "",
|
|
56
66
|
funcExpression: ""
|
|
57
|
-
}),
|
|
67
|
+
}), u = Q({
|
|
58
68
|
result: null,
|
|
59
69
|
detail: "",
|
|
60
70
|
code: ""
|
|
61
|
-
}),
|
|
62
|
-
var
|
|
63
|
-
Object.assign(
|
|
71
|
+
}), I = p(!1), q = () => {
|
|
72
|
+
var l;
|
|
73
|
+
Object.assign(o, {
|
|
64
74
|
id: null,
|
|
65
75
|
funcName: "",
|
|
66
76
|
funcExpression: ""
|
|
67
|
-
}), (
|
|
68
|
-
},
|
|
77
|
+
}), (l = m.value) == null || l.setValue(o.funcExpression);
|
|
78
|
+
}, L = (l) => {
|
|
69
79
|
var e;
|
|
70
|
-
Object.assign(
|
|
71
|
-
id:
|
|
72
|
-
funcName:
|
|
73
|
-
funcExpression:
|
|
74
|
-
}), (e = m.value) == null || e.setValue(
|
|
75
|
-
},
|
|
80
|
+
Object.assign(o, {
|
|
81
|
+
id: l.id,
|
|
82
|
+
funcName: l.funcName,
|
|
83
|
+
funcExpression: l.funcExpression
|
|
84
|
+
}), (e = m.value) == null || e.setValue(o.funcExpression);
|
|
85
|
+
}, J = (l) => {
|
|
76
86
|
var e;
|
|
77
|
-
Object.assign(
|
|
87
|
+
Object.assign(o, {
|
|
78
88
|
id: null,
|
|
79
|
-
funcName: `${
|
|
80
|
-
funcExpression:
|
|
81
|
-
}), (e = m.value) == null || e.setValue(
|
|
82
|
-
},
|
|
89
|
+
funcName: `${l.funcName}-复制`,
|
|
90
|
+
funcExpression: l.funcExpression
|
|
91
|
+
}), (e = m.value) == null || e.setValue(o.funcExpression);
|
|
92
|
+
}, y = async (l) => {
|
|
83
93
|
var e;
|
|
84
|
-
|
|
94
|
+
l.id === o.id && (Object.assign(o, {
|
|
85
95
|
id: null,
|
|
86
96
|
funcName: "",
|
|
87
97
|
funcExpression: ""
|
|
88
|
-
}), (e = m.value) == null || e.setValue(
|
|
89
|
-
},
|
|
98
|
+
}), (e = m.value) == null || e.setValue(o.funcExpression)), await M.post("/common/qt/deleteSearchFunctionById", { id: l.id }), N("refreshData");
|
|
99
|
+
}, K = Ge(async () => {
|
|
90
100
|
try {
|
|
91
|
-
if (
|
|
92
|
-
return
|
|
93
|
-
if (!
|
|
94
|
-
return
|
|
95
|
-
await
|
|
101
|
+
if ($.save = !0, o.funcExpression = m.value.getValue(), !o.funcName)
|
|
102
|
+
return S.error("函数名称不可为空");
|
|
103
|
+
if (!o.funcExpression)
|
|
104
|
+
return S.error("函数内容不可为空");
|
|
105
|
+
await M.post("/common/qt/saveOrUpdateSearchFunction", o), S.success("操作成功"), N("refreshData"), o.id || q();
|
|
96
106
|
} finally {
|
|
97
|
-
|
|
107
|
+
$.save = !1;
|
|
98
108
|
}
|
|
99
|
-
}),
|
|
100
|
-
const
|
|
101
|
-
|
|
102
|
-
), r =
|
|
103
|
-
let
|
|
109
|
+
}), Ee = (l) => new Promise((e) => {
|
|
110
|
+
const i = p(
|
|
111
|
+
l.reduce((c, _) => (c[_] = "", c), {})
|
|
112
|
+
), r = p({}), d = () => {
|
|
113
|
+
let c = !0;
|
|
104
114
|
const _ = {};
|
|
105
|
-
return
|
|
106
|
-
var
|
|
107
|
-
(
|
|
108
|
-
}), r.value = _,
|
|
115
|
+
return l.forEach((D) => {
|
|
116
|
+
var j;
|
|
117
|
+
(j = i.value[D]) != null && j.trim() || (_[D] = `请输入${D}的值`, c = !1);
|
|
118
|
+
}), r.value = _, c;
|
|
109
119
|
};
|
|
110
|
-
|
|
120
|
+
pe({
|
|
111
121
|
title: "填写变量值用于接口测试",
|
|
112
|
-
message:
|
|
122
|
+
message: G({
|
|
113
123
|
setup() {
|
|
114
|
-
return () =>
|
|
115
|
-
|
|
116
|
-
|
|
124
|
+
return () => G("div", [
|
|
125
|
+
G(
|
|
126
|
+
Ke,
|
|
117
127
|
{
|
|
118
|
-
model:
|
|
128
|
+
model: i.value
|
|
119
129
|
},
|
|
120
|
-
() =>
|
|
121
|
-
(
|
|
122
|
-
|
|
130
|
+
() => l.map(
|
|
131
|
+
(c) => G(
|
|
132
|
+
Qe,
|
|
123
133
|
{
|
|
124
|
-
label: `${
|
|
125
|
-
prop:
|
|
126
|
-
error: r.value[
|
|
134
|
+
label: `${c}: `,
|
|
135
|
+
prop: c,
|
|
136
|
+
error: r.value[c],
|
|
127
137
|
"label-width": "90px"
|
|
128
138
|
},
|
|
129
|
-
() =>
|
|
130
|
-
modelValue:
|
|
139
|
+
() => G(fe, {
|
|
140
|
+
modelValue: i.value[c],
|
|
131
141
|
"onUpdate:modelValue": (_) => {
|
|
132
|
-
|
|
142
|
+
i.value[c] = _, r.value[c] && delete r.value[c];
|
|
133
143
|
},
|
|
134
|
-
placeholder: `请输入 ${
|
|
135
|
-
status: r.value[
|
|
144
|
+
placeholder: `请输入 ${c} 的值`,
|
|
145
|
+
status: r.value[c] ? "error" : ""
|
|
136
146
|
})
|
|
137
147
|
)
|
|
138
148
|
)
|
|
@@ -144,77 +154,148 @@ const K = (f) => (ye("data-v-b5dcb4b8"), f = f(), Ee(), f), Ie = { class: "custo
|
|
|
144
154
|
confirmButtonText: "确定",
|
|
145
155
|
cancelButtonText: "取消",
|
|
146
156
|
customClass: "variable-input-dialog",
|
|
147
|
-
beforeClose: async (
|
|
148
|
-
|
|
157
|
+
beforeClose: async (c, _, D) => {
|
|
158
|
+
c !== "confirm" && (e(!1), D()), await ue(), d() && (e({ ...i.value }), D());
|
|
149
159
|
}
|
|
150
160
|
}).catch(() => e(!1));
|
|
151
|
-
}),
|
|
152
|
-
const e = /\$\{([^}]*)\}/g,
|
|
161
|
+
}), ke = (l) => {
|
|
162
|
+
const e = /\$\{([^}]*)\}/g, i = [];
|
|
153
163
|
let r;
|
|
154
|
-
for (; (r = e.exec(
|
|
155
|
-
|
|
156
|
-
return [...new Set(
|
|
157
|
-
},
|
|
158
|
-
switch (
|
|
164
|
+
for (; (r = e.exec(l)) !== null; )
|
|
165
|
+
i.push(r[1]);
|
|
166
|
+
return [...new Set(i)];
|
|
167
|
+
}, be = (l, e) => l.replace(/\$\{([^}]*)\}/g, (i, r) => e[r] !== void 0 ? e[r] : i), ae = async (l) => {
|
|
168
|
+
switch (l) {
|
|
159
169
|
case "submit": {
|
|
160
170
|
let e = m.value.getValue();
|
|
161
171
|
if (!e)
|
|
162
|
-
return
|
|
172
|
+
return S.error("函数内容不可为空");
|
|
163
173
|
if (/\$\{[^}]*\}/.test(e)) {
|
|
164
|
-
const
|
|
174
|
+
const i = ke(e), r = await Ee(i);
|
|
165
175
|
if (!r)
|
|
166
176
|
return;
|
|
167
|
-
e =
|
|
177
|
+
e = be(e, r);
|
|
168
178
|
}
|
|
169
179
|
try {
|
|
170
|
-
|
|
171
|
-
const { body:
|
|
172
|
-
Object.assign(
|
|
180
|
+
$.test = !0;
|
|
181
|
+
const { body: i } = await M.post("/common/qt/testFactorSelect", { factorSelectExpr: e }), { result: r, detail: d } = i;
|
|
182
|
+
Object.assign(u, { result: r, detail: d, code: e }), r === 1 ? S.success("测试通过") : (S.error("测试未能通过"), I.value = !0);
|
|
173
183
|
} finally {
|
|
174
|
-
|
|
184
|
+
$.test = !1;
|
|
175
185
|
}
|
|
176
186
|
break;
|
|
177
187
|
}
|
|
178
188
|
case "log": {
|
|
179
|
-
if (
|
|
180
|
-
return
|
|
181
|
-
|
|
189
|
+
if (u.result === null)
|
|
190
|
+
return S.warning("请先进行测试, 等待测试完成后可查看日志");
|
|
191
|
+
I.value = !0;
|
|
182
192
|
break;
|
|
183
193
|
}
|
|
184
194
|
}
|
|
185
|
-
},
|
|
195
|
+
}, U = p(!1), oe = p(""), z = p(!1), B = p(""), ne = p(""), ie = p(null), T = p([]), C = Q({
|
|
196
|
+
parsedConditions: [],
|
|
197
|
+
factorSelectExpr: ""
|
|
198
|
+
}), Ce = () => {
|
|
199
|
+
U.value = !0, B.value = "";
|
|
200
|
+
}, Ve = () => {
|
|
201
|
+
ne.value = "", B.value = "", T.value = [], Object.assign(C, {
|
|
202
|
+
parsedConditions: [],
|
|
203
|
+
factorSelectExpr: ""
|
|
204
|
+
});
|
|
205
|
+
}, ce = async () => {
|
|
206
|
+
var e, i;
|
|
207
|
+
const l = (e = oe.value) == null ? void 0 : e.trim();
|
|
208
|
+
if (!l)
|
|
209
|
+
return S.error("请输入脚本描述");
|
|
210
|
+
z.value || (Ve(), z.value = !0, await Je({
|
|
211
|
+
baseUrl: (i = w == null ? void 0 : w.env) == null ? void 0 : i.VITE_BASE_URL,
|
|
212
|
+
token: He(),
|
|
213
|
+
value: l,
|
|
214
|
+
sessionId: ie.value,
|
|
215
|
+
callback: (r, d) => {
|
|
216
|
+
var P;
|
|
217
|
+
switch (r) {
|
|
218
|
+
case "session": {
|
|
219
|
+
ie.value = d;
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
case "node": {
|
|
223
|
+
const c = T.value.findIndex((_) => _.name === d.name);
|
|
224
|
+
c === -1 ? T.value.push(d) : T.value[c] = d;
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
case "message": {
|
|
228
|
+
ne.value = d;
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
231
|
+
case "finish": {
|
|
232
|
+
z.value = !1;
|
|
233
|
+
try {
|
|
234
|
+
const c = JSON.parse(ne.value), _ = (P = c == null ? void 0 : c.factorScreen) == null ? void 0 : P.factorSelectExpr;
|
|
235
|
+
_ ? Object.assign(C, {
|
|
236
|
+
parsedConditions: c.parsedConditions ?? [],
|
|
237
|
+
factorSelectExpr: _
|
|
238
|
+
}) : B.value = "AI 未能生成有效的因子脚本, 请调整描述后重试";
|
|
239
|
+
} catch {
|
|
240
|
+
B.value = "AI 返回结果解析失败, 请重试";
|
|
241
|
+
}
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
case "error": {
|
|
245
|
+
z.value = !1, B.value = typeof d == "string" ? d : "AI 生成失败, 请重试";
|
|
246
|
+
break;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}));
|
|
251
|
+
}, Se = async () => {
|
|
252
|
+
var e, i;
|
|
253
|
+
if (!C.factorSelectExpr)
|
|
254
|
+
return;
|
|
255
|
+
if ((e = m.value) == null ? void 0 : e.getValue())
|
|
256
|
+
try {
|
|
257
|
+
await pe.confirm("当前编辑器已有内容, 将被 AI 生成结果覆盖, 是否继续?", "提示", {
|
|
258
|
+
confirmButtonText: "覆盖",
|
|
259
|
+
cancelButtonText: "取消",
|
|
260
|
+
type: "warning"
|
|
261
|
+
});
|
|
262
|
+
} catch {
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
(i = m.value) == null || i.setValue(C.factorSelectExpr), o.funcExpression = C.factorSelectExpr, U.value = !1, S.success("已插入到编辑器");
|
|
266
|
+
}, we = () => {
|
|
186
267
|
k.value.open(m.value);
|
|
187
268
|
};
|
|
188
|
-
return
|
|
189
|
-
() =>
|
|
190
|
-
(
|
|
191
|
-
|
|
269
|
+
return Oe(
|
|
270
|
+
() => A.value,
|
|
271
|
+
(l) => {
|
|
272
|
+
l || (k.value.close(), I.value = !1, U.value = !1);
|
|
192
273
|
}
|
|
193
|
-
),
|
|
194
|
-
open: (
|
|
195
|
-
|
|
274
|
+
), te({
|
|
275
|
+
open: (l) => {
|
|
276
|
+
A.value = !0, ue(() => {
|
|
196
277
|
var e;
|
|
197
|
-
if ((e = m.value) == null || e.resize(),
|
|
278
|
+
if ((e = m.value) == null || e.resize(), b.value = null, Object.assign(u, {
|
|
198
279
|
result: null,
|
|
199
280
|
detail: "",
|
|
200
281
|
code: ""
|
|
201
|
-
}),
|
|
202
|
-
const
|
|
203
|
-
id:
|
|
204
|
-
funcName:
|
|
205
|
-
funcExpression:
|
|
282
|
+
}), l) {
|
|
283
|
+
const i = {
|
|
284
|
+
id: l.id,
|
|
285
|
+
funcName: l.funcName,
|
|
286
|
+
funcExpression: l.funcExpression
|
|
206
287
|
};
|
|
207
|
-
|
|
288
|
+
L(i);
|
|
208
289
|
} else
|
|
209
|
-
|
|
290
|
+
v.value.length ? L(v.value[0]) : q();
|
|
210
291
|
});
|
|
211
292
|
}
|
|
212
|
-
}), (
|
|
213
|
-
const
|
|
214
|
-
return
|
|
293
|
+
}), (l, e) => {
|
|
294
|
+
const i = ye, r = fe, d = me, P = _e, c = We, _ = Xe, D = de("st-monacoEditor"), j = Pe, Ne = de("st-varSelectDialog"), $e = Le;
|
|
295
|
+
return f(), F(j, {
|
|
215
296
|
"modal-class": "manage-dialog",
|
|
216
|
-
modelValue:
|
|
217
|
-
"onUpdate:modelValue": e[
|
|
297
|
+
modelValue: A.value,
|
|
298
|
+
"onUpdate:modelValue": e[11] || (e[11] = (a) => A.value = a),
|
|
218
299
|
width: "1600",
|
|
219
300
|
"align-center": "",
|
|
220
301
|
"append-to-body": "",
|
|
@@ -223,78 +304,78 @@ const K = (f) => (ye("data-v-b5dcb4b8"), f = f(), Ee(), f), Ie = { class: "custo
|
|
|
223
304
|
"modal-penetrable": !0,
|
|
224
305
|
"show-close": !1
|
|
225
306
|
}, {
|
|
226
|
-
header:
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
id:
|
|
231
|
-
class:
|
|
232
|
-
}, " 自定义函数管理面板 ", 10,
|
|
307
|
+
header: n(({ titleId: a, titleClass: V }) => [
|
|
308
|
+
s("div", Ye, [
|
|
309
|
+
s("div", Ze, [
|
|
310
|
+
s("span", {
|
|
311
|
+
id: a,
|
|
312
|
+
class: W(V)
|
|
313
|
+
}, " 自定义函数管理面板 ", 10, et)
|
|
233
314
|
]),
|
|
234
|
-
|
|
235
|
-
t(
|
|
236
|
-
onClick: e[0] || (e[0] = (
|
|
315
|
+
s("div", tt, [
|
|
316
|
+
t(i, {
|
|
317
|
+
onClick: e[0] || (e[0] = (re) => A.value = !1)
|
|
237
318
|
}, {
|
|
238
|
-
default:
|
|
239
|
-
t(
|
|
319
|
+
default: n(() => [
|
|
320
|
+
t(g(le))
|
|
240
321
|
]),
|
|
241
322
|
_: 1
|
|
242
323
|
})
|
|
243
324
|
])
|
|
244
325
|
])
|
|
245
326
|
]),
|
|
246
|
-
default:
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
327
|
+
default: n(() => [
|
|
328
|
+
s("div", ot, [
|
|
329
|
+
s("div", nt, [
|
|
330
|
+
s("div", lt, [
|
|
331
|
+
st,
|
|
251
332
|
t(r, {
|
|
252
|
-
modelValue:
|
|
253
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
333
|
+
modelValue: b.value,
|
|
334
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => b.value = a),
|
|
254
335
|
clearable: ""
|
|
255
336
|
}, null, 8, ["modelValue"]),
|
|
256
|
-
t(
|
|
337
|
+
t(d, {
|
|
257
338
|
type: "primary",
|
|
258
|
-
onClick:
|
|
339
|
+
onClick: q
|
|
259
340
|
}, {
|
|
260
|
-
default:
|
|
261
|
-
|
|
341
|
+
default: n(() => [
|
|
342
|
+
x("新建")
|
|
262
343
|
]),
|
|
263
344
|
_: 1
|
|
264
345
|
})
|
|
265
346
|
]),
|
|
266
347
|
t(_, { class: "list" }, {
|
|
267
|
-
default:
|
|
268
|
-
|
|
269
|
-
key:
|
|
270
|
-
class:
|
|
348
|
+
default: n(() => [
|
|
349
|
+
v.value.length ? (f(!0), E(Y, { key: 0 }, Z(v.value, (a) => (f(), E("div", {
|
|
350
|
+
key: a.id,
|
|
351
|
+
class: W([{ "active-list-item": o.id === a.id }, "list-item"])
|
|
271
352
|
}, [
|
|
272
|
-
|
|
353
|
+
s("span", {
|
|
273
354
|
class: "func-name",
|
|
274
|
-
onClick: (
|
|
275
|
-
},
|
|
276
|
-
|
|
277
|
-
t(
|
|
278
|
-
default:
|
|
279
|
-
t(
|
|
280
|
-
onClick: (
|
|
355
|
+
onClick: (V) => L(a)
|
|
356
|
+
}, O(a.funcName), 9, at),
|
|
357
|
+
s("div", it, [
|
|
358
|
+
t(i, null, {
|
|
359
|
+
default: n(() => [
|
|
360
|
+
t(g(ge), {
|
|
361
|
+
onClick: (V) => J(a)
|
|
281
362
|
}, null, 8, ["onClick"])
|
|
282
363
|
]),
|
|
283
364
|
_: 2
|
|
284
365
|
}, 1024),
|
|
285
|
-
t(
|
|
366
|
+
t(P, {
|
|
286
367
|
title: "确认是否删除?",
|
|
287
368
|
"confirm-button-text": "确认",
|
|
288
369
|
"cancel-button-text": "取消",
|
|
289
|
-
onConfirm: (
|
|
370
|
+
onConfirm: (V) => y(a)
|
|
290
371
|
}, {
|
|
291
|
-
reference:
|
|
292
|
-
t(
|
|
293
|
-
onClick:
|
|
372
|
+
reference: n(() => [
|
|
373
|
+
t(i, {
|
|
374
|
+
onClick: ee(() => {
|
|
294
375
|
}, ["stop"])
|
|
295
376
|
}, {
|
|
296
|
-
default:
|
|
297
|
-
t(
|
|
377
|
+
default: n(() => [
|
|
378
|
+
t(g(he))
|
|
298
379
|
]),
|
|
299
380
|
_: 1
|
|
300
381
|
})
|
|
@@ -302,7 +383,7 @@ const K = (f) => (ye("data-v-b5dcb4b8"), f = f(), Ee(), f), Ie = { class: "custo
|
|
|
302
383
|
_: 2
|
|
303
384
|
}, 1032, ["onConfirm"])
|
|
304
385
|
])
|
|
305
|
-
], 2))), 128)) : (
|
|
386
|
+
], 2))), 128)) : (f(), F(c, {
|
|
306
387
|
key: 1,
|
|
307
388
|
description: "暂无数据"
|
|
308
389
|
}))
|
|
@@ -310,55 +391,65 @@ const K = (f) => (ye("data-v-b5dcb4b8"), f = f(), Ee(), f), Ie = { class: "custo
|
|
|
310
391
|
_: 1
|
|
311
392
|
})
|
|
312
393
|
]),
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
394
|
+
s("div", ct, [
|
|
395
|
+
s("div", rt, [
|
|
396
|
+
ut,
|
|
316
397
|
t(r, {
|
|
317
|
-
modelValue:
|
|
318
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
398
|
+
modelValue: o.funcName,
|
|
399
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => o.funcName = a)
|
|
319
400
|
}, null, 8, ["modelValue"]),
|
|
320
|
-
|
|
321
|
-
t(
|
|
401
|
+
s("div", dt, [
|
|
402
|
+
t(d, {
|
|
322
403
|
type: "primary",
|
|
323
|
-
onClick:
|
|
324
|
-
loading:
|
|
404
|
+
onClick: g(K),
|
|
405
|
+
loading: $.save
|
|
325
406
|
}, {
|
|
326
|
-
default:
|
|
327
|
-
|
|
407
|
+
default: n(() => [
|
|
408
|
+
x(" 保存 ")
|
|
328
409
|
]),
|
|
329
410
|
_: 1
|
|
330
411
|
}, 8, ["onClick", "loading"]),
|
|
331
|
-
t(
|
|
332
|
-
loading:
|
|
333
|
-
onClick: e[3] || (e[3] = (
|
|
412
|
+
t(d, {
|
|
413
|
+
loading: $.test,
|
|
414
|
+
onClick: e[3] || (e[3] = (a) => ae("submit"))
|
|
334
415
|
}, {
|
|
335
|
-
default:
|
|
336
|
-
|
|
416
|
+
default: n(() => [
|
|
417
|
+
x(" 测试 ")
|
|
337
418
|
]),
|
|
338
419
|
_: 1
|
|
339
420
|
}, 8, ["loading"]),
|
|
340
|
-
t(
|
|
341
|
-
icon:
|
|
342
|
-
onClick: e[4] || (e[4] = (
|
|
421
|
+
t(d, {
|
|
422
|
+
icon: g(Re),
|
|
423
|
+
onClick: e[4] || (e[4] = (a) => ae("log"))
|
|
343
424
|
}, {
|
|
344
|
-
default:
|
|
345
|
-
|
|
425
|
+
default: n(() => [
|
|
426
|
+
x(" 日志明细 ")
|
|
346
427
|
]),
|
|
347
428
|
_: 1
|
|
348
429
|
}, 8, ["icon"]),
|
|
349
|
-
t(
|
|
430
|
+
t(d, {
|
|
350
431
|
type: "primary",
|
|
351
|
-
|
|
432
|
+
icon: g(Ue),
|
|
433
|
+
onClick: Ce
|
|
352
434
|
}, {
|
|
353
|
-
default:
|
|
354
|
-
|
|
435
|
+
default: n(() => [
|
|
436
|
+
x(" AI 生成 ")
|
|
437
|
+
]),
|
|
438
|
+
_: 1
|
|
439
|
+
}, 8, ["icon"]),
|
|
440
|
+
t(d, {
|
|
441
|
+
type: "primary",
|
|
442
|
+
onClick: we
|
|
443
|
+
}, {
|
|
444
|
+
default: n(() => [
|
|
445
|
+
x(" 变量选择器 ")
|
|
355
446
|
]),
|
|
356
447
|
_: 1
|
|
357
448
|
})
|
|
358
449
|
])
|
|
359
450
|
]),
|
|
360
|
-
|
|
361
|
-
t(
|
|
451
|
+
ft,
|
|
452
|
+
t(D, {
|
|
362
453
|
ref_key: "stMonacoEditorRef",
|
|
363
454
|
ref: m,
|
|
364
455
|
language: "lua",
|
|
@@ -366,14 +457,129 @@ const K = (f) => (ye("data-v-b5dcb4b8"), f = f(), Ee(), f), Ie = { class: "custo
|
|
|
366
457
|
}, null, 512)
|
|
367
458
|
])
|
|
368
459
|
]),
|
|
369
|
-
t(
|
|
460
|
+
t(j, {
|
|
461
|
+
"modal-class": "ai-dialog",
|
|
462
|
+
modelValue: U.value,
|
|
463
|
+
"onUpdate:modelValue": e[7] || (e[7] = (a) => U.value = a),
|
|
464
|
+
width: "600",
|
|
465
|
+
"align-center": "",
|
|
466
|
+
"append-to-body": "",
|
|
467
|
+
draggable: "",
|
|
468
|
+
overflow: "",
|
|
469
|
+
modal: !1,
|
|
470
|
+
"modal-penetrable": !0,
|
|
471
|
+
"show-close": !1,
|
|
472
|
+
"close-on-click-modal": !1
|
|
473
|
+
}, {
|
|
474
|
+
header: n(({ titleId: a, titleClass: V }) => [
|
|
475
|
+
s("div", pt, [
|
|
476
|
+
s("div", mt, [
|
|
477
|
+
s("span", {
|
|
478
|
+
id: a,
|
|
479
|
+
class: W(V)
|
|
480
|
+
}, " AI 生成脚本 ", 10, _t)
|
|
481
|
+
]),
|
|
482
|
+
s("div", vt, [
|
|
483
|
+
t(i, {
|
|
484
|
+
onClick: e[5] || (e[5] = (re) => U.value = !1)
|
|
485
|
+
}, {
|
|
486
|
+
default: n(() => [
|
|
487
|
+
t(g(le))
|
|
488
|
+
]),
|
|
489
|
+
_: 1
|
|
490
|
+
})
|
|
491
|
+
])
|
|
492
|
+
])
|
|
493
|
+
]),
|
|
494
|
+
footer: n(() => [
|
|
495
|
+
s("div", kt, [
|
|
496
|
+
C.factorSelectExpr ? (f(), F(d, {
|
|
497
|
+
key: 0,
|
|
498
|
+
onClick: ce,
|
|
499
|
+
disabled: z.value
|
|
500
|
+
}, {
|
|
501
|
+
default: n(() => [
|
|
502
|
+
x(" 重新生成 ")
|
|
503
|
+
]),
|
|
504
|
+
_: 1
|
|
505
|
+
}, 8, ["disabled"])) : X("", !0),
|
|
506
|
+
C.factorSelectExpr ? (f(), F(d, {
|
|
507
|
+
key: 1,
|
|
508
|
+
type: "primary",
|
|
509
|
+
onClick: Se
|
|
510
|
+
}, {
|
|
511
|
+
default: n(() => [
|
|
512
|
+
x(" 插入到编辑器 ")
|
|
513
|
+
]),
|
|
514
|
+
_: 1
|
|
515
|
+
})) : (f(), F(d, {
|
|
516
|
+
key: 2,
|
|
517
|
+
type: "primary",
|
|
518
|
+
loading: z.value,
|
|
519
|
+
onClick: ce
|
|
520
|
+
}, {
|
|
521
|
+
default: n(() => [
|
|
522
|
+
x(" 生成 ")
|
|
523
|
+
]),
|
|
524
|
+
_: 1
|
|
525
|
+
}, 8, ["loading"]))
|
|
526
|
+
])
|
|
527
|
+
]),
|
|
528
|
+
default: n(() => [
|
|
529
|
+
s("div", gt, [
|
|
530
|
+
t(r, {
|
|
531
|
+
modelValue: oe.value,
|
|
532
|
+
"onUpdate:modelValue": e[6] || (e[6] = (a) => oe.value = a),
|
|
533
|
+
type: "textarea",
|
|
534
|
+
rows: 3,
|
|
535
|
+
placeholder: "用自然语言描述脚本逻辑, 例: 收盘价大于10",
|
|
536
|
+
disabled: z.value
|
|
537
|
+
}, null, 8, ["modelValue", "disabled"]),
|
|
538
|
+
T.value.length ? (f(), E("div", ht, [
|
|
539
|
+
(f(!0), E(Y, null, Z(T.value, (a) => (f(), E("div", {
|
|
540
|
+
key: a.name,
|
|
541
|
+
class: "node-item"
|
|
542
|
+
}, [
|
|
543
|
+
a.status === "success" ? (f(), F(i, {
|
|
544
|
+
key: 0,
|
|
545
|
+
class: "success"
|
|
546
|
+
}, {
|
|
547
|
+
default: n(() => [
|
|
548
|
+
t(g(Te))
|
|
549
|
+
]),
|
|
550
|
+
_: 1
|
|
551
|
+
})) : (f(), F(i, {
|
|
552
|
+
key: 1,
|
|
553
|
+
class: "is-loading executing"
|
|
554
|
+
}, {
|
|
555
|
+
default: n(() => [
|
|
556
|
+
t(g(je))
|
|
557
|
+
]),
|
|
558
|
+
_: 1
|
|
559
|
+
})),
|
|
560
|
+
s("span", null, O(a.name), 1)
|
|
561
|
+
]))), 128))
|
|
562
|
+
])) : X("", !0),
|
|
563
|
+
B.value ? (f(), E("div", yt, " ❌ " + O(B.value), 1)) : X("", !0),
|
|
564
|
+
C.factorSelectExpr ? (f(), E("div", xt, [
|
|
565
|
+
(f(!0), E(Y, null, Z(C.parsedConditions, (a, V) => (f(), E("div", {
|
|
566
|
+
key: V,
|
|
567
|
+
class: "parsed-condition"
|
|
568
|
+
}, O(a), 1))), 128)),
|
|
569
|
+
s("pre", Et, O(C.factorSelectExpr), 1)
|
|
570
|
+
])) : X("", !0)
|
|
571
|
+
])
|
|
572
|
+
]),
|
|
573
|
+
_: 1
|
|
574
|
+
}, 8, ["modelValue"]),
|
|
575
|
+
t(Ne, {
|
|
370
576
|
ref_key: "stVarSelectDialogRef",
|
|
371
577
|
ref: k
|
|
372
578
|
}, null, 512),
|
|
373
|
-
t(
|
|
579
|
+
t(j, {
|
|
374
580
|
"modal-class": "log-dialog",
|
|
375
|
-
modelValue:
|
|
376
|
-
"onUpdate:modelValue": e[
|
|
581
|
+
modelValue: I.value,
|
|
582
|
+
"onUpdate:modelValue": e[10] || (e[10] = (a) => I.value = a),
|
|
377
583
|
width: "830",
|
|
378
584
|
"align-center": "",
|
|
379
585
|
"append-to-body": "",
|
|
@@ -383,56 +589,56 @@ const K = (f) => (ye("data-v-b5dcb4b8"), f = f(), Ee(), f), Ie = { class: "custo
|
|
|
383
589
|
"modal-penetrable": !0,
|
|
384
590
|
"show-close": !1
|
|
385
591
|
}, {
|
|
386
|
-
header:
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
id:
|
|
391
|
-
class:
|
|
392
|
-
}, " 日志明细 ", 10,
|
|
592
|
+
header: n(({ titleId: a, titleClass: V }) => [
|
|
593
|
+
s("div", bt, [
|
|
594
|
+
s("div", Ct, [
|
|
595
|
+
s("span", {
|
|
596
|
+
id: a,
|
|
597
|
+
class: W(V)
|
|
598
|
+
}, " 日志明细 ", 10, Vt)
|
|
393
599
|
]),
|
|
394
|
-
|
|
395
|
-
t(
|
|
396
|
-
onClick: e[
|
|
600
|
+
s("div", St, [
|
|
601
|
+
t(i, {
|
|
602
|
+
onClick: e[8] || (e[8] = (re) => I.value = !1)
|
|
397
603
|
}, {
|
|
398
|
-
default:
|
|
399
|
-
t(
|
|
604
|
+
default: n(() => [
|
|
605
|
+
t(g(le))
|
|
400
606
|
]),
|
|
401
607
|
_: 1
|
|
402
608
|
})
|
|
403
609
|
])
|
|
404
610
|
])
|
|
405
611
|
]),
|
|
406
|
-
footer:
|
|
407
|
-
|
|
408
|
-
t(
|
|
409
|
-
onClick: e[
|
|
612
|
+
footer: n(() => [
|
|
613
|
+
s("div", Nt, [
|
|
614
|
+
t(d, {
|
|
615
|
+
onClick: e[9] || (e[9] = (a) => I.value = !1)
|
|
410
616
|
}, {
|
|
411
|
-
default:
|
|
412
|
-
|
|
617
|
+
default: n(() => [
|
|
618
|
+
x(" 关闭 ")
|
|
413
619
|
]),
|
|
414
620
|
_: 1
|
|
415
621
|
})
|
|
416
622
|
])
|
|
417
623
|
]),
|
|
418
|
-
default:
|
|
419
|
-
|
|
624
|
+
default: n(() => [
|
|
625
|
+
s("div", wt, [
|
|
420
626
|
t(_, {
|
|
421
627
|
class: "code",
|
|
422
628
|
height: "600px"
|
|
423
629
|
}, {
|
|
424
|
-
default:
|
|
425
|
-
|
|
630
|
+
default: n(() => [
|
|
631
|
+
s("pre", null, O(u.code), 1)
|
|
426
632
|
]),
|
|
427
633
|
_: 1
|
|
428
634
|
}),
|
|
429
|
-
t(
|
|
635
|
+
t($e, { direction: "vertical" }),
|
|
430
636
|
t(_, { height: "600px" }, {
|
|
431
|
-
default:
|
|
432
|
-
|
|
433
|
-
class:
|
|
434
|
-
},
|
|
435
|
-
${
|
|
637
|
+
default: n(() => [
|
|
638
|
+
s("pre", {
|
|
639
|
+
class: W(u.result === 1 ? "success-log" : "error-log")
|
|
640
|
+
}, O(u.result === 1 ? `✅️ 测试通过
|
|
641
|
+
${u.detail}` : u.detail), 3)
|
|
436
642
|
]),
|
|
437
643
|
_: 1
|
|
438
644
|
})
|
|
@@ -445,118 +651,118 @@ ${n.detail}` : n.detail), 3)
|
|
|
445
651
|
}, 8, ["modelValue"]);
|
|
446
652
|
};
|
|
447
653
|
}
|
|
448
|
-
},
|
|
449
|
-
const
|
|
654
|
+
}, It = /* @__PURE__ */ xe($t, [["__scopeId", "data-v-2bf91027"]]);
|
|
655
|
+
const Dt = { class: "custom-function" }, Ft = { class: "func-option" }, Ot = { class: "icons" }, At = {
|
|
450
656
|
__name: "index",
|
|
451
657
|
props: {
|
|
452
658
|
size: { type: String, default: "small" },
|
|
453
659
|
selectWidth: { type: String, default: "200px" }
|
|
454
660
|
},
|
|
455
661
|
emits: ["insert", "actionState"],
|
|
456
|
-
setup(
|
|
457
|
-
const { request:
|
|
458
|
-
const { body:
|
|
459
|
-
if (
|
|
460
|
-
|
|
662
|
+
setup(h, { emit: te }) {
|
|
663
|
+
const { request: H } = ve("stConfig"), w = p(null), M = te, m = p(null), k = p(""), N = p([]), R = async () => {
|
|
664
|
+
const { body: v } = await H.post("/common/qt/querySearchFunctions");
|
|
665
|
+
if (N.value = v ?? [], m.value === null)
|
|
666
|
+
k.value = "";
|
|
461
667
|
else {
|
|
462
|
-
const
|
|
463
|
-
|
|
668
|
+
const o = N.value.find(({ id: u }) => u === m.value);
|
|
669
|
+
k.value = o ? o.funcName : "";
|
|
464
670
|
}
|
|
465
|
-
},
|
|
466
|
-
var
|
|
467
|
-
|
|
468
|
-
},
|
|
469
|
-
if (!
|
|
470
|
-
return
|
|
471
|
-
const { funcName:
|
|
472
|
-
|
|
473
|
-
},
|
|
474
|
-
switch (
|
|
671
|
+
}, A = (v) => {
|
|
672
|
+
var o;
|
|
673
|
+
v ? m.value = (o = N.value.find((u) => u.funcName === v)) == null ? void 0 : o.id : m.value = null;
|
|
674
|
+
}, $ = () => {
|
|
675
|
+
if (!k.value)
|
|
676
|
+
return S.error("请先选择自定义函数后, 再执行插入");
|
|
677
|
+
const { funcName: v, funcExpression: o } = N.value.find((u) => u.funcName === k.value);
|
|
678
|
+
M("insert", v, o);
|
|
679
|
+
}, b = async (v, o) => {
|
|
680
|
+
switch (v) {
|
|
475
681
|
case "open": {
|
|
476
|
-
|
|
682
|
+
w.value.open(), M("actionState", "因子筛选", "函数管理");
|
|
477
683
|
break;
|
|
478
684
|
}
|
|
479
685
|
case "copy": {
|
|
480
|
-
const
|
|
686
|
+
const u = {
|
|
481
687
|
id: null,
|
|
482
|
-
funcName: `${
|
|
483
|
-
funcExpression:
|
|
688
|
+
funcName: `${o.funcName}-复制`,
|
|
689
|
+
funcExpression: o.funcExpression
|
|
484
690
|
};
|
|
485
|
-
|
|
691
|
+
w.value.open(u);
|
|
486
692
|
break;
|
|
487
693
|
}
|
|
488
694
|
case "edit": {
|
|
489
|
-
const
|
|
490
|
-
id:
|
|
491
|
-
funcName:
|
|
492
|
-
funcExpression:
|
|
695
|
+
const u = {
|
|
696
|
+
id: o.id,
|
|
697
|
+
funcName: o.funcName,
|
|
698
|
+
funcExpression: o.funcExpression
|
|
493
699
|
};
|
|
494
|
-
|
|
700
|
+
w.value.open(u);
|
|
495
701
|
break;
|
|
496
702
|
}
|
|
497
703
|
case "delete": {
|
|
498
|
-
await
|
|
704
|
+
await H.post("/common/qt/deleteSearchFunctionById", { id: o.id }), R();
|
|
499
705
|
break;
|
|
500
706
|
}
|
|
501
707
|
}
|
|
502
708
|
};
|
|
503
|
-
return
|
|
504
|
-
|
|
505
|
-
}), (
|
|
506
|
-
const
|
|
507
|
-
return
|
|
508
|
-
t(
|
|
509
|
-
modelValue:
|
|
510
|
-
"onUpdate:modelValue":
|
|
511
|
-
size:
|
|
709
|
+
return Be(() => {
|
|
710
|
+
R();
|
|
711
|
+
}), (v, o) => {
|
|
712
|
+
const u = ye, I = _e, q = Ie, L = De, J = me;
|
|
713
|
+
return f(), E("div", Dt, [
|
|
714
|
+
t(L, {
|
|
715
|
+
modelValue: k.value,
|
|
716
|
+
"onUpdate:modelValue": o[0] || (o[0] = (y) => k.value = y),
|
|
717
|
+
size: h.size,
|
|
512
718
|
placeholder: "自定义函数",
|
|
513
719
|
"no-match-text": "无匹配选项",
|
|
514
720
|
"no-data-text": "无选项数据",
|
|
515
721
|
clearable: "",
|
|
516
722
|
filterable: "",
|
|
517
|
-
onChange:
|
|
518
|
-
style:
|
|
723
|
+
onChange: A,
|
|
724
|
+
style: Me({ width: h.selectWidth })
|
|
519
725
|
}, {
|
|
520
|
-
default:
|
|
521
|
-
(
|
|
522
|
-
key:
|
|
523
|
-
label:
|
|
524
|
-
value:
|
|
525
|
-
onClick:
|
|
726
|
+
default: n(() => [
|
|
727
|
+
(f(!0), E(Y, null, Z(N.value, (y) => (f(), F(q, {
|
|
728
|
+
key: y.id,
|
|
729
|
+
label: y.funcName,
|
|
730
|
+
value: y.funcName,
|
|
731
|
+
onClick: $
|
|
526
732
|
}, {
|
|
527
|
-
default:
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
t(
|
|
532
|
-
onClick:
|
|
733
|
+
default: n(() => [
|
|
734
|
+
s("div", Ft, [
|
|
735
|
+
s("span", null, O(y.funcName), 1),
|
|
736
|
+
s("div", Ot, [
|
|
737
|
+
t(u, {
|
|
738
|
+
onClick: ee((K) => b("copy", y), ["stop"])
|
|
533
739
|
}, {
|
|
534
|
-
default:
|
|
535
|
-
t(
|
|
740
|
+
default: n(() => [
|
|
741
|
+
t(g(ge))
|
|
536
742
|
]),
|
|
537
743
|
_: 2
|
|
538
744
|
}, 1032, ["onClick"]),
|
|
539
|
-
t(
|
|
540
|
-
onClick:
|
|
745
|
+
t(u, {
|
|
746
|
+
onClick: ee((K) => b("edit", y), ["stop"])
|
|
541
747
|
}, {
|
|
542
|
-
default:
|
|
543
|
-
t(
|
|
748
|
+
default: n(() => [
|
|
749
|
+
t(g(qe))
|
|
544
750
|
]),
|
|
545
751
|
_: 2
|
|
546
752
|
}, 1032, ["onClick"]),
|
|
547
|
-
t(
|
|
753
|
+
t(I, {
|
|
548
754
|
title: "确认是否删除?",
|
|
549
755
|
"confirm-button-text": "确认",
|
|
550
756
|
"cancel-button-text": "取消",
|
|
551
|
-
onConfirm: (
|
|
757
|
+
onConfirm: (K) => b("delete", y)
|
|
552
758
|
}, {
|
|
553
|
-
reference:
|
|
554
|
-
t(
|
|
555
|
-
onClick:
|
|
759
|
+
reference: n(() => [
|
|
760
|
+
t(u, {
|
|
761
|
+
onClick: ee(() => {
|
|
556
762
|
}, ["stop"])
|
|
557
763
|
}, {
|
|
558
|
-
default:
|
|
559
|
-
t(
|
|
764
|
+
default: n(() => [
|
|
765
|
+
t(g(he))
|
|
560
766
|
]),
|
|
561
767
|
_: 1
|
|
562
768
|
})
|
|
@@ -571,40 +777,40 @@ const ot = { class: "custom-function" }, nt = { class: "func-option" }, lt = { c
|
|
|
571
777
|
]),
|
|
572
778
|
_: 1
|
|
573
779
|
}, 8, ["modelValue", "size", "style"]),
|
|
574
|
-
t(
|
|
780
|
+
t(J, {
|
|
575
781
|
type: "primary",
|
|
576
|
-
size:
|
|
577
|
-
onClick:
|
|
782
|
+
size: h.size,
|
|
783
|
+
onClick: $
|
|
578
784
|
}, {
|
|
579
|
-
default:
|
|
580
|
-
|
|
785
|
+
default: n(() => [
|
|
786
|
+
x(" 插入 ")
|
|
581
787
|
]),
|
|
582
788
|
_: 1
|
|
583
789
|
}, 8, ["size"]),
|
|
584
|
-
t(
|
|
790
|
+
t(J, {
|
|
585
791
|
type: "primary",
|
|
586
|
-
size:
|
|
587
|
-
onClick:
|
|
792
|
+
size: h.size,
|
|
793
|
+
onClick: o[1] || (o[1] = (y) => b("open"))
|
|
588
794
|
}, {
|
|
589
|
-
default:
|
|
590
|
-
|
|
795
|
+
default: n(() => [
|
|
796
|
+
x(" 函数管理 ")
|
|
591
797
|
]),
|
|
592
798
|
_: 1
|
|
593
799
|
}, 8, ["size"]),
|
|
594
|
-
t(
|
|
800
|
+
t(It, {
|
|
595
801
|
ref_key: "ManageDialogRef",
|
|
596
|
-
ref:
|
|
597
|
-
data:
|
|
598
|
-
onRefreshData:
|
|
802
|
+
ref: w,
|
|
803
|
+
data: N.value,
|
|
804
|
+
onRefreshData: R
|
|
599
805
|
}, null, 8, ["data"])
|
|
600
806
|
]);
|
|
601
807
|
};
|
|
602
808
|
}
|
|
603
|
-
},
|
|
604
|
-
install(
|
|
605
|
-
|
|
809
|
+
}, zt = /* @__PURE__ */ xe(At, [["__scopeId", "data-v-57b7ebf5"]]), bo = {
|
|
810
|
+
install(h) {
|
|
811
|
+
h.component("st-customFunction", zt);
|
|
606
812
|
}
|
|
607
813
|
};
|
|
608
814
|
export {
|
|
609
|
-
|
|
815
|
+
bo as default
|
|
610
816
|
};
|