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.
Files changed (627) hide show
  1. package/.argus/backups/.argus/20260727_072225.525_patch_klinebasic.py +339 -0
  2. package/.argus/backups/.argus/20260727_072458.864_fix_klinebasic.py +42 -0
  3. package/.argus/backups/.argus/20260727_072554.676_fix_klinebasic.py +45 -0
  4. package/.argus/backups/20260727_020847.846_package.json +48 -0
  5. package/.argus/backups/20260727_021018.627_vitest.config.ts +37 -0
  6. package/.argus/backups/20260727_021033.462_vitest.config.ts +37 -0
  7. package/.argus/backups/20260727_021041.704_vitest.config.ts +37 -0
  8. package/.argus/backups/20260727_021122.389_vitest.config.ts +36 -0
  9. package/.argus/backups/20260727_021159.250_vitest.config.ts +36 -0
  10. package/.argus/backups/20260727_065913.421_vitest.config.ts +38 -0
  11. package/.argus/backups/20260727_071318.099_vitest.config.ts +42 -0
  12. package/.argus/backups/20260728_005238.495_vitest.config.ts +53 -0
  13. package/.argus/backups/20260728_005424.767_vitest.config.ts +58 -0
  14. package/.argus/backups/20260728_005444.216_vitest.config.ts +58 -0
  15. package/.argus/backups/20260728_005613.603_vitest.config.ts +57 -0
  16. package/.argus/backups/docs/20260727_012301.521_tasks.md +22 -0
  17. package/.argus/backups/docs/20260727_013404.413_requirements.md +61 -0
  18. package/.argus/backups/docs/20260727_013916.866_tasks.md +22 -0
  19. package/.argus/backups/docs/20260727_015657.696_tasks.md +22 -0
  20. package/.argus/backups/docs/20260727_015737.998_tasks.md +22 -0
  21. package/.argus/backups/docs/20260727_021309.668_tasks.md +88 -0
  22. package/.argus/backups/docs/20260727_023430.573_tasks.md +88 -0
  23. package/.argus/backups/docs/20260727_031705.498_tasks.md +88 -0
  24. package/.argus/backups/docs/20260727_033858.862_tasks.md +88 -0
  25. package/.argus/backups/docs/20260727_033909.221_tasks.md +88 -0
  26. package/.argus/backups/docs/20260727_065645.168_tasks.md +90 -0
  27. package/.argus/backups/docs/20260728_005711.090_tasks.md +90 -0
  28. package/.argus/backups/docs/20260728_093519.026_tasks.md +96 -0
  29. package/.argus/backups/docs/20260728_093845.838_tasks.md +95 -0
  30. package/.argus/backups/docs/20260728_093956.037_tasks.md +95 -0
  31. package/.argus/backups/docs/20260728_094111.219_tasks.md +95 -0
  32. package/.argus/backups/docs/20260802_082651.083_tasks.md +95 -0
  33. package/.argus/backups/docs/20260802_082659.919_tasks.md +95 -0
  34. package/.argus/backups/docs/20260802_082817.843_test-plan.md +119 -0
  35. package/.argus/backups/docs/20260802_082825.291_test-plan.md +119 -0
  36. package/.argus/backups/tests/20260727_020937.620_smoke.spec.ts +12 -0
  37. package/.argus/backups/tests/20260727_021105.040_smoke.spec.ts +12 -0
  38. package/.argus/backups/tests/20260727_021129.257_smoke.spec.ts +12 -0
  39. package/.argus/backups/tests/components/20260727_021655.533_Pagination.spec.ts +59 -0
  40. package/.argus/backups/tests/components/20260727_021718.547_Pagination.spec.ts +59 -0
  41. package/.argus/backups/tests/components/20260727_021858.422_Table.spec.ts +71 -0
  42. package/.argus/backups/tests/components/20260727_022144.098_VirtualTable.spec.ts +90 -0
  43. package/.argus/backups/tests/components/20260727_022154.585_VirtualTable.spec.ts +88 -0
  44. package/.argus/backups/tests/components/20260727_022225.501_VirtualTable.spec.ts +89 -0
  45. package/.argus/backups/tests/components/20260727_022502.366_PasswordPrompt.spec.ts +72 -0
  46. package/.argus/backups/tests/components/20260727_022512.945_PasswordPrompt.spec.ts +72 -0
  47. package/.argus/backups/tests/components/20260727_023011.481_VarietyTextCopy.spec.ts +86 -0
  48. package/.argus/backups/tests/components/20260727_023108.189_VarietyTextCopy.spec.ts +89 -0
  49. package/.argus/backups/tests/components/20260727_024356.151_ConfigProvider.spec.ts +101 -0
  50. package/.argus/backups/tests/components/20260727_024430.348_ConfigProvider.spec.ts +100 -0
  51. package/.argus/backups/tests/components/20260727_024635.923_User.spec.ts +82 -0
  52. package/.argus/backups/tests/components/20260727_024836.707_VarSelectDialog.spec.ts +131 -0
  53. package/.argus/backups/tests/components/20260727_024852.191_VarSelectDialog.spec.ts +111 -0
  54. package/.argus/backups/tests/components/20260727_024858.884_VarSelectDialog.spec.ts +130 -0
  55. package/.argus/backups/tests/components/20260727_024905.552_VarSelectDialog.spec.ts +130 -0
  56. package/.argus/backups/tests/components/20260727_024935.877_VarSelectDialog.spec.ts +130 -0
  57. package/.argus/backups/tests/components/20260727_025017.207_VarSelectDialog.spec.ts +131 -0
  58. package/.argus/backups/tests/components/20260727_025222.178_CustomFunction.spec.ts +107 -0
  59. package/.argus/backups/tests/components/20260727_025533.944_VarietySearch.spec.ts +238 -0
  60. package/.argus/backups/tests/components/20260727_025738.354_VarietySearch.spec.ts +233 -0
  61. package/.argus/backups/tests/components/20260727_025853.506_VarietySearch.spec.ts +242 -0
  62. package/.argus/backups/tests/components/20260727_030036.628_VarietySearch.spec.ts +242 -0
  63. package/.argus/backups/tests/components/20260727_030236.640_VarietySearch.spec.ts +244 -0
  64. package/.argus/backups/tests/components/20260727_030355.487_VarietySearch.spec.ts +253 -0
  65. package/.argus/backups/tests/components/20260727_031231.694_VarietySearch.spec.ts +258 -0
  66. package/.argus/backups/tests/components/20260727_031334.734_VarietySearch.spec.ts +260 -0
  67. package/.argus/backups/tests/components/20260727_031351.660_VarietySearch.spec.ts +259 -0
  68. package/.argus/backups/tests/components/20260727_031410.450_VarietySearch.spec.ts +260 -0
  69. package/.argus/backups/tests/components/20260727_031425.598_VarietySearch.spec.ts +259 -0
  70. package/.argus/backups/tests/components/20260727_031456.187_VarietySearch.spec.ts +258 -0
  71. package/.argus/backups/tests/components/20260727_031508.243_VarietySearch.spec.ts +257 -0
  72. package/.argus/backups/tests/components/20260727_035911.421_FactorWarning.spec.ts +45 -0
  73. package/.argus/backups/tests/components/20260727_040217.402_FactorWarning.spec.ts +44 -0
  74. package/.argus/backups/tests/components/20260727_040313.577_FactorWarning.spec.ts +115 -0
  75. package/.argus/backups/tests/components/20260727_040443.842_FactorWarning.spec.ts +116 -0
  76. package/.argus/backups/tests/components/20260727_040543.676_FactorWarning.spec.ts +119 -0
  77. package/.argus/backups/tests/components/20260727_040552.567_FactorWarning.spec.ts +120 -0
  78. package/.argus/backups/tests/components/20260727_040615.706_FactorWarning.spec.ts +122 -0
  79. package/.argus/backups/tests/components/20260727_040626.121_FactorWarning.spec.ts +123 -0
  80. package/.argus/backups/tests/components/20260727_040717.265_MonacoEditor.spec.ts +83 -0
  81. package/.argus/backups/tests/components/20260727_040828.121_MonacoEditor.spec.ts +76 -0
  82. package/.argus/backups/tests/components/20260727_040904.972_MonacoEditor.spec.ts +78 -0
  83. package/.argus/backups/tests/components/20260727_041018.032_MonacoEditor.spec.ts +81 -0
  84. package/.argus/backups/tests/components/20260727_041314.621_VarietyAiHelper.spec.ts +163 -0
  85. package/.argus/backups/tests/components/20260727_041325.276_VarietyAiHelper.spec.ts +163 -0
  86. package/.argus/backups/tests/components/20260727_041334.762_VarietyAiHelper.spec.ts +165 -0
  87. package/.argus/backups/tests/components/20260727_041343.202_VarietyAiHelper.spec.ts +166 -0
  88. package/.argus/backups/tests/components/20260727_044733.056_KlineBasic.spec.ts +143 -0
  89. package/.argus/backups/tests/components/20260727_045002.981_KlineBasic.spec.ts +143 -0
  90. package/.argus/backups/tests/components/20260727_045140.574_KlineBasic.spec.ts +144 -0
  91. package/.argus/backups/tests/components/20260727_045425.611_KlineBasic.spec.ts +145 -0
  92. package/.argus/backups/tests/components/20260727_045715.412_Kline.spec.ts +113 -0
  93. package/.argus/backups/tests/components/20260727_045724.184_Kline.spec.ts +125 -0
  94. package/.argus/backups/tests/components/20260727_045825.069_Kline.spec.ts +126 -0
  95. package/.argus/backups/tests/components/20260727_045834.378_Kline.spec.ts +136 -0
  96. package/.argus/backups/tests/components/20260727_045841.348_Kline.spec.ts +137 -0
  97. package/.argus/backups/tests/components/20260727_045940.821_Kline.spec.ts +136 -0
  98. package/.argus/backups/tests/components/20260727_045949.967_Kline.spec.ts +137 -0
  99. package/.argus/backups/tests/components/20260727_050143.995_Kline.spec.ts +138 -0
  100. package/.argus/backups/tests/components/20260727_050209.308_Kline.spec.ts +142 -0
  101. package/.argus/backups/tests/components/20260727_050232.575_Kline.spec.ts +145 -0
  102. package/.argus/backups/tests/components/20260727_050520.150_Kline.spec.ts +149 -0
  103. package/.argus/backups/tests/components/20260727_050528.961_Kline.spec.ts +144 -0
  104. package/.argus/backups/tests/components/20260727_050539.132_Kline.spec.ts +140 -0
  105. package/.argus/backups/tests/components/20260727_050600.606_Kline.spec.ts +141 -0
  106. package/.argus/backups/tests/components/20260727_051012.712_Kline.spec.ts +145 -0
  107. package/.argus/backups/tests/components/20260727_051030.112_Kline.spec.ts +140 -0
  108. package/.argus/backups/tests/components/20260727_051039.759_Kline.spec.ts +140 -0
  109. package/.argus/backups/tests/components/20260727_064959.298_KlineNew.spec.ts +265 -0
  110. package/.argus/backups/tests/components/20260727_065038.479_KlineNew.spec.ts +278 -0
  111. package/.argus/backups/tests/components/20260727_065213.245_KlinePlus.spec.ts +151 -0
  112. package/.argus/backups/tests/components/20260727_065245.945_KlinePlus.spec.ts +151 -0
  113. package/.argus/backups/tests/components/20260727_070847.720_MonacoEditor.spec.ts +105 -0
  114. package/.argus/backups/tests/components/20260727_070916.945_MonacoEditor.spec.ts +473 -0
  115. package/.argus/backups/tests/components/20260727_070928.260_MonacoEditor.spec.ts +516 -0
  116. package/.argus/backups/tests/components/20260727_071228.326_MonacoEditor.spec.ts +517 -0
  117. package/.argus/backups/tests/components/20260727_071243.734_MonacoEditor.spec.ts +521 -0
  118. package/.argus/backups/tests/components/20260727_071305.582_MonacoEditor.spec.ts +521 -0
  119. package/.argus/backups/tests/components/20260727_071350.809_MonacoEditor.spec.ts +525 -0
  120. package/.argus/backups/tests/components/20260727_071407.272_MonacoEditor.spec.ts +525 -0
  121. package/.argus/backups/tests/components/20260727_071425.763_MonacoEditor.spec.ts +525 -0
  122. package/.argus/backups/tests/components/20260727_071444.203_MonacoEditor.spec.ts +525 -0
  123. package/.argus/backups/tests/components/20260727_071813.277_Kline2.spec.ts +269 -0
  124. package/.argus/backups/tests/components/20260727_071825.633_Kline2.spec.ts +275 -0
  125. package/.argus/backups/tests/components/20260727_071836.063_Kline2.spec.ts +275 -0
  126. package/.argus/backups/tests/components/20260727_071926.767_Kline2.spec.ts +275 -0
  127. package/.argus/backups/tests/components/20260727_072027.172_Kline2.spec.ts +285 -0
  128. package/.argus/backups/tests/components/20260727_123101.129_Kline2.spec.ts +292 -0
  129. package/.argus/backups/tests/components/20260727_135819.231_Kline2.spec.ts +293 -0
  130. package/.argus/backups/tests/components/20260727_135858.777_Kline2.spec.ts +304 -0
  131. package/.argus/backups/tests/components/20260727_141205.699_KlineBasic.spec.ts +429 -0
  132. package/.argus/backups/tests/components/20260727_141254.206_Kline2.spec.ts +304 -0
  133. package/.argus/backups/tests/components/20260727_141349.322_KlineBasic.spec.ts +437 -0
  134. package/.argus/backups/tests/components/20260727_141447.163_KlineBasic.spec.ts +439 -0
  135. package/.argus/backups/tests/components/20260727_141505.454_KlineBasic.spec.ts +427 -0
  136. package/.argus/backups/tests/components/20260728_010148.792_User.spec.ts +126 -0
  137. package/.argus/backups/tests/components/20260728_010436.092_TreeMap.spec.ts +100 -0
  138. package/.argus/backups/tests/components/20260728_010546.696_CustomFunction.spec.ts +185 -0
  139. package/.argus/backups/tests/components/20260728_010606.217_CustomFunction.spec.ts +185 -0
  140. package/.argus/backups/tests/components/20260728_010739.144_FactorWarning.spec.ts +285 -0
  141. package/.argus/backups/tests/components/20260728_050815.875_VirtualTable.spec.ts +234 -0
  142. package/.argus/backups/tests/components/20260728_092436.589_KlinePlus.spec.ts +151 -0
  143. package/.argus/backups/tests/components/20260728_092516.096_KlinePlus.spec.ts +273 -0
  144. package/.argus/backups/tests/components/20260728_092531.745_KlinePlus.spec.ts +274 -0
  145. package/.argus/backups/tests/components/20260728_092545.921_KlinePlus.spec.ts +275 -0
  146. package/.argus/backups/tests/components/20260728_092605.498_KlinePlus.spec.ts +276 -0
  147. package/.argus/backups/tests/components/20260728_092659.872_KlinePlus.spec.ts +277 -0
  148. package/.argus/backups/tests/components/20260728_092713.040_KlinePlus.spec.ts +278 -0
  149. package/.argus/backups/tests/components/20260728_092726.343_KlinePlus.spec.ts +279 -0
  150. package/.argus/backups/tests/components/20260728_092750.935_KlinePlus.spec.ts +281 -0
  151. package/.argus/backups/tests/components/20260728_092800.572_KlinePlus.spec.ts +283 -0
  152. package/.argus/backups/tests/components/20260728_092837.797_KlinePlus.spec.ts +284 -0
  153. package/.argus/backups/tests/mocks/20260727_023418.231_st-func.mock.ts +29 -0
  154. package/.argus/backups/tests/mocks/20260727_024337.409_st-func.mock.ts +37 -0
  155. package/.argus/backups/tests/mocks/20260727_024344.807_st-func.mock.ts +40 -0
  156. package/.argus/backups/tests/mocks/20260727_041047.900_monaco.mock.ts +27 -0
  157. package/.argus/backups/tests/mocks/20260727_041129.076_monaco.mock.ts +31 -0
  158. package/.argus/backups/tests/mocks/20260727_044924.603_st-func.mock.ts +44 -0
  159. package/.argus/backups/tests/mocks/20260727_045612.059_echarts.kline.mock.ts +33 -0
  160. package/.argus/backups/tests/mocks/20260727_050955.894_echarts.kline.mock.ts +35 -0
  161. package/.argus/backups/tests/mocks/20260727_065402.557_st-func.mock.ts +52 -0
  162. package/.argus/backups/tests/mocks/20260727_065525.410_st-func.mock.ts +52 -0
  163. package/.argus/backups/tests/mocks/20260727_140844.233_echarts.kline.mock.ts +40 -0
  164. package/.argus/backups/tests/mocks/20260727_140913.119_echarts.kline.mock.ts +42 -0
  165. package/.argus/backups/tests/mocks/20260727_140921.846_echarts.kline.mock.ts +42 -0
  166. package/.argus/backups/tests/mocks/20260727_140939.427_echarts.kline.mock.ts +41 -0
  167. package/.argus/bgtasks.json +229 -0
  168. package/.argus/coldstore/013c3c794e7b7c29.jsonl +2 -0
  169. package/.argus/coldstore/0e331b8a3b0d8880.jsonl +16 -0
  170. package/.argus/coldstore/5d9a9409cc3f63f2.jsonl +7 -0
  171. package/.argus/coldstore/5f928dc976ac6d8a.jsonl +1 -0
  172. package/.argus/coldstore/60094b3c17412a84.jsonl +3 -0
  173. package/.argus/coldstore/76b2ec805ca5837c.jsonl +1 -0
  174. package/.argus/coldstore/859e7008fa48fc1b.jsonl +1 -0
  175. package/.argus/coldstore/85f91d3daeab41ca.jsonl +1595 -0
  176. package/.argus/coldstore/9278244bf4eaf9c6.jsonl +2 -0
  177. package/.argus/coldstore/9bb5e3ec04a11742.jsonl +1 -0
  178. package/.argus/coldstore/9c00baba2fa5f259.jsonl +3 -0
  179. package/.argus/coldstore/b72af6a1286c4ff8.jsonl +3 -0
  180. package/.argus/coldstore/cf0c7a7843dd408d.jsonl +1 -0
  181. package/.argus/coldstore/d1638960d5dc3db4.jsonl +4 -0
  182. package/.argus/coldstore/e6432235b17215cb.jsonl +6 -0
  183. package/.argus/coldstore/fae1501de047b46f.jsonl +1 -0
  184. package/.argus/compress_context/20260727T013726.528Z_classifier_9c00baba2fa5f259.txt +16 -0
  185. package/.argus/compress_context/20260727T020603.082Z_classifier_85f91d3daeab41ca.txt +2339 -0
  186. package/.argus/compress_context/20260727T023245.640Z_classifier_fae1501de047b46f.txt +16 -0
  187. package/.argus/compress_context/20260727T030908.737Z_classifier_e6432235b17215cb.txt +16 -0
  188. package/.argus/compress_context/20260727T032428.553Z_classifier_cf0c7a7843dd408d.txt +16 -0
  189. package/.argus/compress_context/20260727T032636.912Z_classifier_85f91d3daeab41ca.txt +7419 -0
  190. package/.argus/compress_context/20260727T041443.286Z_classifier_5d9a9409cc3f63f2.txt +16 -0
  191. package/.argus/compress_context/20260727T050601.474Z_classifier_60094b3c17412a84.txt +16 -0
  192. package/.argus/compress_context/20260727T052133.391Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  193. package/.argus/compress_context/20260727T052212.178Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  194. package/.argus/compress_context/20260727T052324.111Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  195. package/.argus/compress_context/20260727T054653.767Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  196. package/.argus/compress_context/20260727T071236.629Z_classifier_85f91d3daeab41ca.txt +16527 -0
  197. package/.argus/compress_context/20260727T072148.598Z_classifier_0e331b8a3b0d8880.txt +16 -0
  198. package/.argus/compress_context/20260727T073105.913Z_classifier_76b2ec805ca5837c.txt +16 -0
  199. package/.argus/compress_context/20260727T073345.593Z_classifier_d1638960d5dc3db4.txt +16 -0
  200. package/.argus/compress_context/20260727T092505.960Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  201. package/.argus/compress_context/20260727T113928.931Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  202. package/.argus/compress_context/20260727T123224.070Z_classifier_85f91d3daeab41ca.txt +10993 -0
  203. package/.argus/compress_context/20260727T141545.843Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  204. package/.argus/compress_context/20260728T010629.442Z_classifier_85f91d3daeab41ca.txt +24561 -0
  205. package/.argus/compress_context/20260728T010950.439Z_classifier_9278244bf4eaf9c6.txt +16 -0
  206. package/.argus/compress_context/20260728T011152.613Z_classifier_013c3c794e7b7c29.txt +16 -0
  207. package/.argus/compress_context/20260728T085939.340Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  208. package/.argus/compress_context/20260728T091110.581Z_classifier_b72af6a1286c4ff8.txt +16 -0
  209. package/.argus/compress_context/20260728T091324.113Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  210. package/.argus/compress_context/20260728T093934.076Z_classifier_85f91d3daeab41ca.txt +26262 -0
  211. package/.argus/compress_context/20260729T011307.637Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  212. package/.argus/compress_context/20260802T081344.640Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  213. package/.argus/compress_context/20260802T082844.660Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  214. package/.argus/compress_context/20260802T083022.436Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  215. package/.argus/compress_context/20260802T083336.095Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  216. package/.argus/compress_context/20260903T053304.203Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  217. package/.argus/compress_context/20260903T053851.653Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  218. package/.argus/compress_context/20260903T054344.177Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  219. package/.argus/compress_context/20260903T060025.617Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  220. package/.argus/compress_context/20260903T060858.200Z_classifier_FAILED_85f91d3daeab41ca.txt +30 -0
  221. package/.argus/config.toml +15 -0
  222. package/.argus/memory/.INDEX.md.lock +0 -0
  223. package/.argus/memory/INDEX.md +166 -0
  224. package/.argus/memory/dev_build_commands_build_targets_lib_vs_demo.md +14 -0
  225. package/.argus/memory/dev_build_commands_st_comp_build_scripts.md +13 -0
  226. package/.argus/memory/dev_coding_conventions_component_test_setupstate_override_pattern.md +14 -0
  227. package/.argus/memory/dev_coding_conventions_customfunction_ai_query_no_prefix.md +14 -0
  228. package/.argus/memory/dev_coding_conventions_fix_tests_not_packages_source.md +14 -0
  229. package/.argus/memory/dev_coding_conventions_git_workflow_branch_nds.md +14 -0
  230. package/.argus/memory/dev_coding_conventions_managedialog_ai_dialog_test_pattern.md +8 -0
  231. package/.argus/memory/dev_coding_conventions_no_packages_source_changes.md +14 -0
  232. package/.argus/memory/dev_coding_conventions_st_comp_component_spec_conventions.md +13 -0
  233. package/.argus/memory/dev_coding_conventions_st_comp_component_test_mocking_pattern.md +14 -0
  234. package/.argus/memory/dev_coding_conventions_st_comp_coverage_scope_rules.md +14 -0
  235. package/.argus/memory/dev_coding_conventions_st_comp_exposed_methods_via_wrapper_vm.md +13 -0
  236. package/.argus/memory/dev_coding_conventions_st_comp_full_import_only.md +13 -0
  237. package/.argus/memory/dev_coding_conventions_st_comp_klinebasic_error_rethrow.md +13 -0
  238. package/.argus/memory/dev_coding_conventions_st_comp_monaco_mock_extend.md +13 -0
  239. package/.argus/memory/dev_coding_conventions_st_comp_no_modify_packages_constraint.md +14 -0
  240. package/.argus/memory/dev_coding_conventions_st_comp_no_packages_changes.md +14 -0
  241. package/.argus/memory/dev_coding_conventions_st_comp_no_packages_code_changes.md +14 -0
  242. package/.argus/memory/dev_coding_conventions_st_comp_no_packages_modification.md +14 -0
  243. package/.argus/memory/dev_coding_conventions_st_comp_no_packages_source_changes.md +14 -0
  244. package/.argus/memory/dev_coding_conventions_st_comp_packages_read_only_for_test_work.md +13 -0
  245. package/.argus/memory/dev_coding_conventions_st_comp_packages_readonly_when_testing.md +13 -0
  246. package/.argus/memory/dev_coding_conventions_st_comp_seven_phase_workflow.md +13 -0
  247. package/.argus/memory/dev_coding_conventions_st_comp_spec_mock_patterns.md +13 -0
  248. package/.argus/memory/dev_coding_conventions_st_comp_spec_mount_pattern.md +13 -0
  249. package/.argus/memory/dev_coding_conventions_st_comp_test_component_patterns.md +13 -0
  250. package/.argus/memory/dev_coding_conventions_st_comp_test_constraint_no_packages_changes.md +14 -0
  251. package/.argus/memory/dev_coding_conventions_st_comp_test_conventions.md +13 -0
  252. package/.argus/memory/dev_coding_conventions_st_comp_test_mock_conventions.md +13 -0
  253. package/.argus/memory/dev_coding_conventions_st_comp_test_phase_constraints.md +14 -0
  254. package/.argus/memory/dev_coding_conventions_st_comp_test_work_no_packages_changes.md +14 -0
  255. package/.argus/memory/dev_coding_conventions_st_comp_testing_exposed_methods.md +13 -0
  256. package/.argus/memory/dev_coding_conventions_st_comp_tests_must_not_touch_packages.md +14 -0
  257. package/.argus/memory/dev_coding_conventions_st_comp_varietysearch_setupstate.md +13 -0
  258. package/.argus/memory/dev_coding_conventions_st_comp_vi_mock_pattern.md +13 -0
  259. package/.argus/memory/dev_coding_conventions_st_comp_vitest_cache_handlers_false.md +14 -0
  260. package/.argus/memory/dev_coding_conventions_stcomp_props_emits_conventions.md +13 -0
  261. package/.argus/memory/dev_coding_conventions_stconfig_request_injection.md +14 -0
  262. package/.argus/memory/dev_coding_conventions_test_isolation_and_coverage_thresholds.md +14 -0
  263. package/.argus/memory/dev_coding_conventions_test_mock_strategy_layers.md +14 -0
  264. package/.argus/memory/dev_deps_project_ui_deps_echarts_monaco.md +14 -0
  265. package/.argus/memory/dev_deps_st_comp_tech_stack.md +13 -0
  266. package/.argus/memory/dev_deps_st_comp_test_stack.md +13 -0
  267. package/.argus/memory/dev_deps_st_comp_test_stack_versions.md +13 -0
  268. package/.argus/memory/dev_deps_stcomp_heavy_deps_per_component.md +13 -0
  269. package/.argus/memory/dev_deps_variety_ai_helper_api.md +14 -0
  270. package/.argus/memory/dev_deps_variety_ai_helper_endpoint.md +14 -0
  271. package/.argus/memory/dev_deps_vitest_034_coverage_threshold_format.md +14 -0
  272. package/.argus/memory/dev_key_modules_ai_helper_streaming_api.md +14 -0
  273. package/.argus/memory/dev_key_modules_ai_tools_sse_client.md +14 -0
  274. package/.argus/memory/dev_key_modules_custom_function_api_endpoints.md +14 -0
  275. package/.argus/memory/dev_key_modules_custom_function_manage_dialog.md +14 -0
  276. package/.argus/memory/dev_key_modules_custom_function_panel_structure.md +14 -0
  277. package/.argus/memory/dev_key_modules_customfunction_manage_dialog.md +14 -0
  278. package/.argus/memory/dev_key_modules_kline_echarts_mock_requirements.md +14 -0
  279. package/.argus/memory/dev_key_modules_shared_editor_varselect_components.md +14 -0
  280. package/.argus/memory/dev_key_modules_st_comp_extractvariables_syntax.md +13 -0
  281. package/.argus/memory/dev_key_modules_st_comp_kline_component_family.md +13 -0
  282. package/.argus/memory/dev_key_modules_st_comp_kline_components_test_mocks.md +14 -0
  283. package/.argus/memory/dev_key_modules_st_comp_l2_kline_components.md +14 -0
  284. package/.argus/memory/dev_key_modules_st_comp_packages_components.md +13 -0
  285. package/.argus/memory/dev_key_modules_st_comp_test_mocks_behavior.md +13 -0
  286. package/.argus/memory/dev_key_modules_st_comp_vite_plugins.md +13 -0
  287. package/.argus/memory/dev_key_modules_st_func_mock_helper.md +14 -0
  288. package/.argus/memory/dev_key_modules_stcomp_http_via_stfunc_no_axios.md +13 -0
  289. package/.argus/memory/dev_key_modules_stcomp_stconfig_provide_inject_contract.md +13 -0
  290. package/.argus/memory/dev_key_modules_test_shared_helpers.md +14 -0
  291. package/.argus/memory/dev_key_modules_vitest_vue_cachehandlers_false.md +14 -0
  292. package/.argus/memory/dev_known_issues_klinebasic_unhandled_rejection_noise.md +14 -0
  293. package/.argus/memory/dev_known_issues_low_func_coverage_components.md +14 -0
  294. package/.argus/memory/dev_known_issues_low_function_coverage_components.md +14 -0
  295. package/.argus/memory/dev_known_issues_missing_component_tests_backlog.md +14 -0
  296. package/.argus/memory/dev_known_issues_monaco_editor_baseline_test_failures.md +14 -0
  297. package/.argus/memory/dev_known_issues_pending_component_test_coverage.md +14 -0
  298. package/.argus/memory/dev_known_issues_st_comp_baseline_failing_specs.md +14 -0
  299. package/.argus/memory/dev_known_issues_st_comp_build_gaps.md +13 -0
  300. package/.argus/memory/dev_known_issues_st_comp_contextmenu_attachto_breaks.md +13 -0
  301. package/.argus/memory/dev_known_issues_st_comp_deferred_tests_factorwarning_monacoeditor_varietyaihelper.md +14 -0
  302. package/.argus/memory/dev_known_issues_st_comp_definemodel_setupstate_test_pitfall.md +13 -0
  303. package/.argus/memory/dev_known_issues_st_comp_elmessage_auto_import_tests.md +13 -0
  304. package/.argus/memory/dev_known_issues_st_comp_elmessage_missing_in_tests.md +13 -0
  305. package/.argus/memory/dev_known_issues_st_comp_eltable_render_timing.md +13 -0
  306. package/.argus/memory/dev_known_issues_st_comp_hardcoded_server_password.md +13 -0
  307. package/.argus/memory/dev_known_issues_st_comp_jsdom_resizeobserver_stub.md +13 -0
  308. package/.argus/memory/dev_known_issues_st_comp_klinebasic_resize_coverage_gap.md +13 -0
  309. package/.argus/memory/dev_known_issues_st_comp_klinebasic_unhandled_rejection_noise.md +13 -0
  310. package/.argus/memory/dev_known_issues_st_comp_known_gaps.md +13 -0
  311. package/.argus/memory/dev_known_issues_st_comp_preexisting_spec_failures.md +13 -0
  312. package/.argus/memory/dev_known_issues_st_comp_stfunc_mock_stmath_incomplete.md +13 -0
  313. package/.argus/memory/dev_known_issues_st_comp_test_elmessage_autoimport.md +13 -0
  314. package/.argus/memory/dev_known_issues_st_comp_test_env_pitfalls.md +13 -0
  315. package/.argus/memory/dev_known_issues_st_comp_test_teleport_cleanup.md +13 -0
  316. package/.argus/memory/dev_known_issues_st_comp_varietytextcopy_global_elmessage.md +13 -0
  317. package/.argus/memory/dev_known_issues_st_comp_vitest_cache_handlers_false.md +13 -0
  318. package/.argus/memory/dev_known_issues_st_comp_vitest_cachehandlers_coverage.md +13 -0
  319. package/.argus/memory/dev_known_issues_st_func_mock_addresizelistener_return_shape.md +14 -0
  320. package/.argus/memory/dev_known_issues_stcomp_klineconfig_defineemits_string_bug.md +13 -0
  321. package/.argus/memory/dev_known_issues_t1_uncovered_test_gaps.md +14 -0
  322. package/.argus/memory/dev_known_issues_vitest_034_windows_import_meta_url.md +14 -0
  323. package/.argus/memory/dev_known_issues_vitest_baseline_failing_specs.md +14 -0
  324. package/.argus/memory/dev_known_issues_vitest_vue_plugin_cache_handlers_false.md +14 -0
  325. package/.argus/memory/dev_project_layout_custom_function_manage_dialog.md +14 -0
  326. package/.argus/memory/dev_project_layout_docs_phase_artifacts.md +14 -0
  327. package/.argus/memory/dev_project_layout_docs_tasks_md_planning_file.md +14 -0
  328. package/.argus/memory/dev_project_layout_frontend_component_test_scope.md +14 -0
  329. package/.argus/memory/dev_project_layout_local_only_dirs_not_committed.md +14 -0
  330. package/.argus/memory/dev_project_layout_nds_local_tool_dirs_untracked.md +14 -0
  331. package/.argus/memory/dev_project_layout_packages_component_layout.md +14 -0
  332. package/.argus/memory/dev_project_layout_packages_dir_always_empty.md +14 -0
  333. package/.argus/memory/dev_project_layout_phased_workflow_docs.md +14 -0
  334. package/.argus/memory/dev_project_layout_st_comp_docs_phase_workflow.md +14 -0
  335. package/.argus/memory/dev_project_layout_st_comp_docs_task_tracking.md +14 -0
  336. package/.argus/memory/dev_project_layout_st_comp_layout_and_aliases.md +13 -0
  337. package/.argus/memory/dev_project_layout_st_comp_layout_and_docs_plan.md +14 -0
  338. package/.argus/memory/dev_project_layout_st_comp_layout_and_stack.md +13 -0
  339. package/.argus/memory/dev_project_layout_st_comp_layout_and_task_tracking.md +14 -0
  340. package/.argus/memory/dev_project_layout_st_comp_project_layout.md +13 -0
  341. package/.argus/memory/dev_project_layout_st_comp_project_overview.md +14 -0
  342. package/.argus/memory/dev_project_layout_st_comp_project_root_and_purpose.md +14 -0
  343. package/.argus/memory/dev_project_layout_st_comp_repo_layout.md +13 -0
  344. package/.argus/memory/dev_project_layout_st_comp_test_layout.md +13 -0
  345. package/.argus/memory/dev_project_layout_st_comp_test_layout_and_aliases.md +13 -0
  346. package/.argus/memory/dev_project_layout_st_comp_top_level_layout.md +13 -0
  347. package/.argus/memory/dev_project_layout_stcomp_packages_layout.md +13 -0
  348. package/.argus/memory/dev_project_layout_test_release_plugin_sftp_config.md +14 -0
  349. package/.argus/memory/dev_project_layout_tests_dir_and_vitest_config.md +14 -0
  350. package/.argus/memory/dev_test_commands_component_test_baseline_and_layout.md +14 -0
  351. package/.argus/memory/dev_test_commands_coverage_gate_80_baseline_exclusions.md +14 -0
  352. package/.argus/memory/dev_test_commands_coverage_thresholds.md +14 -0
  353. package/.argus/memory/dev_test_commands_coverage_thresholds_enforced.md +14 -0
  354. package/.argus/memory/dev_test_commands_func_coverage_threshold_80.md +14 -0
  355. package/.argus/memory/dev_test_commands_st_comp_component_test_command.md +14 -0
  356. package/.argus/memory/dev_test_commands_st_comp_coverage_commands.md +14 -0
  357. package/.argus/memory/dev_test_commands_st_comp_coverage_scope_and_threshold.md +13 -0
  358. package/.argus/memory/dev_test_commands_st_comp_coverage_thresholds.md +14 -0
  359. package/.argus/memory/dev_test_commands_st_comp_run_component_tests.md +14 -0
  360. package/.argus/memory/dev_test_commands_st_comp_vitest_commands.md +13 -0
  361. package/.argus/memory/dev_test_commands_st_comp_vitest_component_suite.md +14 -0
  362. package/.argus/memory/dev_test_commands_st_comp_vitest_component_tests.md +14 -0
  363. package/.argus/memory/dev_test_commands_st_comp_vitest_components.md +14 -0
  364. package/.argus/memory/dev_test_commands_st_comp_vitest_coverage_config.md +14 -0
  365. package/.argus/memory/dev_test_commands_st_comp_vitest_coverage_thresholds.md +14 -0
  366. package/.argus/memory/dev_test_commands_st_comp_vitest_must_use_local_bin.md +13 -0
  367. package/.argus/memory/dev_test_commands_st_comp_vitest_run.md +13 -0
  368. package/.argus/memory/dev_test_commands_st_comp_vitest_run_and_coverage.md +14 -0
  369. package/.argus/memory/dev_test_commands_st_comp_vitest_run_command.md +13 -0
  370. package/.argus/memory/dev_test_commands_st_comp_vitest_run_commands.md +13 -0
  371. package/.argus/memory/dev_test_commands_st_comp_vitest_run_coverage.md +14 -0
  372. package/.argus/memory/dev_test_commands_st_comp_vitest_run_spec.md +13 -0
  373. package/.argus/memory/dev_test_commands_test_stack_vitest_vue.md +14 -0
  374. package/.argus/memory/dev_test_commands_test_suite_baseline.md +14 -0
  375. package/.argus/memory/dev_test_commands_vitest_cache_handlers_disabled_for_coverage.md +14 -0
  376. package/.argus/memory/dev_test_commands_vitest_component_test_plan_tiers.md +14 -0
  377. package/.argus/memory/dev_test_commands_vitest_component_testing_setup.md +14 -0
  378. package/.argus/memory/dev_test_commands_vitest_run_and_coverage.md +14 -0
  379. package/.argus/memory/dev_test_commands_vitest_test_infra_setup.md +14 -0
  380. package/.argus/memory/ops_credentials_locations_sftp_cred_testrelese_ts.md +14 -0
  381. package/.argus/memory/ops_credentials_locations_st_comp_test_server_root_password_hardcoded.md +13 -0
  382. package/.argus/memory/ops_deploy_workflow_build_outputs_lib_vs_demo.md +14 -0
  383. package/.argus/memory/ops_deploy_workflow_sftp_deploy_via_vite_plugin.md +14 -0
  384. package/.argus/memory/ops_deploy_workflow_st_comp_test_deploy_via_testrelese_plugin.md +13 -0
  385. package/.argus/memory/ops_servers_test_server_192_168_12_49.md +14 -0
  386. package/.argus/scheduled_tasks.json +467 -0
  387. package/.cliworks/.cliworks/input_history.jsonl +44 -0
  388. package/.cliworks/chat/acp/39525acf-0832-40e4-90e5-f058f1bccb8d/2026-07-27.json +17623 -0
  389. package/.cliworks/chat/acp/39525acf-0832-40e4-90e5-f058f1bccb8d/2026-07-28.json +6349 -0
  390. package/.cliworks/chat/acp/39525acf-0832-40e4-90e5-f058f1bccb8d/2026-07-29.json +33 -0
  391. package/.cliworks/chat/acp/39525acf-0832-40e4-90e5-f058f1bccb8d/2026-08-02.json +1174 -0
  392. package/.cliworks/chat/acp/39525acf-0832-40e4-90e5-f058f1bccb8d/2026-09-03.json +2354 -0
  393. package/.cliworks/hooks/on_create.md +6 -0
  394. package/.cliworks/hooks/on_open.md +11 -0
  395. package/.cliworks/project.json +5 -0
  396. package/coverage/ChartLayout/index.html +116 -0
  397. package/coverage/ChartLayout/index.vue.html +274 -0
  398. package/coverage/ConfigProvider/index.html +116 -0
  399. package/coverage/ConfigProvider/index.vue.html +283 -0
  400. package/coverage/Contextmenu/index.html +116 -0
  401. package/coverage/Contextmenu/index.vue.html +487 -0
  402. package/coverage/CustomFunction/index.html +116 -0
  403. package/coverage/CustomFunction/index.vue.html +685 -0
  404. package/coverage/FactorWarning/index.html +116 -0
  405. package/coverage/FactorWarning/index.vue.html +2347 -0
  406. package/coverage/HeatMap/index.html +116 -0
  407. package/coverage/HeatMap/index.vue.html +508 -0
  408. package/coverage/Kline/index.html +116 -0
  409. package/coverage/Kline/index.vue.html +2758 -0
  410. package/coverage/KlineBasic/index.html +116 -0
  411. package/coverage/KlineBasic/index.vue.html +2602 -0
  412. package/coverage/KlineConfig/index.html +116 -0
  413. package/coverage/KlineConfig/index.vue.html +1153 -0
  414. package/coverage/KlinePlus/index.html +116 -0
  415. package/coverage/KlinePlus/index.vue.html +3286 -0
  416. package/coverage/LinearLegend/index.html +116 -0
  417. package/coverage/LinearLegend/index.vue.html +418 -0
  418. package/coverage/Map/index.html +116 -0
  419. package/coverage/Map/index.vue.html +526 -0
  420. package/coverage/MonacoEditor/index.html +116 -0
  421. package/coverage/MonacoEditor/index.vue.html +3508 -0
  422. package/coverage/Pagination/index.html +116 -0
  423. package/coverage/Pagination/index.vue.html +346 -0
  424. package/coverage/PasswordPrompt/index.html +116 -0
  425. package/coverage/PasswordPrompt/index.vue.html +886 -0
  426. package/coverage/Pie/index.html +116 -0
  427. package/coverage/Pie/index.vue.html +529 -0
  428. package/coverage/Table/index.html +116 -0
  429. package/coverage/Table/index.vue.html +484 -0
  430. package/coverage/TreeMap/index.html +116 -0
  431. package/coverage/TreeMap/index.vue.html +643 -0
  432. package/coverage/User/index.html +116 -0
  433. package/coverage/User/index.vue.html +436 -0
  434. package/coverage/VarSelectDialog/index.html +116 -0
  435. package/coverage/VarSelectDialog/index.vue.html +1054 -0
  436. package/coverage/VarietyAiHelper/index.html +116 -0
  437. package/coverage/VarietyAiHelper/index.vue.html +2815 -0
  438. package/coverage/VarietyAutoComplete/index.html +116 -0
  439. package/coverage/VarietyAutoComplete/index.vue.html +352 -0
  440. package/coverage/VarietySearch/index.html +116 -0
  441. package/coverage/VarietySearch/index.vue.html +2149 -0
  442. package/coverage/VarietyTextCopy/index.html +116 -0
  443. package/coverage/VarietyTextCopy/index.vue.html +493 -0
  444. package/coverage/VirtualTable/index.html +116 -0
  445. package/coverage/VirtualTable/index.vue.html +808 -0
  446. package/coverage/base.css +224 -0
  447. package/coverage/block-navigation.js +87 -0
  448. package/coverage/clover.xml +9392 -0
  449. package/coverage/coverage-final.json +26 -0
  450. package/coverage/favicon.png +0 -0
  451. package/coverage/index.html +476 -0
  452. package/coverage/prettify.css +1 -0
  453. package/coverage/prettify.js +2 -0
  454. package/coverage/sort-arrow-sprite.png +0 -0
  455. package/coverage/sorter.js +210 -0
  456. package/docs/api-design.md +120 -0
  457. package/docs/architecture.md +110 -0
  458. package/docs/bugs.md +13 -0
  459. package/docs/requirements.md +63 -0
  460. package/docs/review.md +80 -0
  461. package/docs/security.md +83 -0
  462. package/docs/tasks.md +112 -0
  463. package/docs/test-plan.md +119 -0
  464. package/es/CustomFunction.cjs +2 -2
  465. package/es/CustomFunction.js +514 -308
  466. package/es/FactorWarning.cjs +1 -1
  467. package/es/FactorWarning.js +25 -25
  468. package/es/Kline.cjs +1 -1
  469. package/es/Kline.js +10 -10
  470. package/es/KlineBasic.cjs +1 -1
  471. package/es/KlineBasic.js +18 -18
  472. package/es/KlineConfig.cjs +1 -1
  473. package/es/KlineConfig.js +15 -15
  474. package/es/KlineNew.cjs +1 -1
  475. package/es/KlineNew.js +9 -9
  476. package/es/KlinePlus.cjs +1 -1
  477. package/es/KlinePlus.js +11 -11
  478. package/es/MonacoEditor.cjs +1 -1
  479. package/es/MonacoEditor.js +17 -17
  480. package/es/Pagination.cjs +1 -1
  481. package/es/Pagination.js +76 -76
  482. package/es/PasswordPrompt.cjs +1 -1
  483. package/es/PasswordPrompt.js +2 -2
  484. package/es/Table.cjs +1 -1
  485. package/es/Table.js +22 -22
  486. package/es/User.cjs +1 -1
  487. package/es/User.js +18 -18
  488. package/es/VarSelectDialog.cjs +1 -1
  489. package/es/VarSelectDialog.js +18 -18
  490. package/es/VarietyAiHelper.cjs +7 -7
  491. package/es/VarietyAiHelper.js +306 -279
  492. package/es/VarietyAutoComplete.cjs +1 -1
  493. package/es/VarietyAutoComplete.js +7 -7
  494. package/es/VarietySearch.cjs +1 -1
  495. package/es/VarietySearch.js +30 -30
  496. package/es/{VarietySelect-610903f0.cjs → VarietySelect-5fee5520.cjs} +1 -1
  497. package/es/{VarietySelect-6a166293.js → VarietySelect-e563b7a6.js} +3 -3
  498. package/es/VarietyTextCopy.cjs +1 -1
  499. package/es/VarietyTextCopy.js +10 -10
  500. package/es/VirtualTable.cjs +1 -1
  501. package/es/VirtualTable.js +5 -5
  502. package/es/{_initCloneObject-152b4f4e.js → _initCloneObject-5e73c9c8.js} +2 -2
  503. package/es/{_initCloneObject-76e116d0.cjs → _initCloneObject-a5832933.cjs} +1 -1
  504. package/es/{aiTools-d7bd47c3.js → aiTools-a3b095f6.js} +19 -19
  505. package/es/aiTools-f36136a4.cjs +2 -0
  506. package/es/aiTools.js +4 -0
  507. package/es/{config-provider-4c784baf.cjs → config-provider-06ea6b42.cjs} +1 -1
  508. package/es/{config-provider-7a3aca55.js → config-provider-88b637a8.js} +3 -3
  509. package/es/{dropdown-987c47fb.cjs → dropdown-4ce4c3e2.cjs} +1 -1
  510. package/es/{dropdown-01e09205.js → dropdown-72fbc15d.js} +2 -2
  511. package/es/{el-autocomplete-342ae823.js → el-autocomplete-6cafcdf1.js} +5 -5
  512. package/es/{el-autocomplete-16f66b34.cjs → el-autocomplete-e0857c5b.cjs} +1 -1
  513. package/es/{el-button-13dc915f.cjs → el-button-613e0bb2.cjs} +1 -1
  514. package/es/{el-button-314171a0.js → el-button-94d3de38.js} +3 -3
  515. package/es/{el-checkbox-5899681f.js → el-checkbox-6d4cb393.js} +3 -3
  516. package/es/{el-checkbox-bdf64663.cjs → el-checkbox-e90762df.cjs} +1 -1
  517. package/es/{el-dialog-0ef95df6.cjs → el-dialog-02942e22.cjs} +1 -1
  518. package/es/{el-dialog-86a3eec2.js → el-dialog-5e30161f.js} +4 -4
  519. package/es/{el-form-item-77ef6784.cjs → el-form-item-44f060d8.cjs} +1 -1
  520. package/es/{el-form-item-cda4d93c.js → el-form-item-9e8969ea.js} +5 -5
  521. package/es/{el-input-fa1445ad.js → el-input-342b2def.js} +13 -13
  522. package/es/{el-input-89222943.cjs → el-input-9a9a7f7f.cjs} +1 -1
  523. package/es/{el-input-number-d3338e5e.cjs → el-input-number-65c847d6.cjs} +1 -1
  524. package/es/{el-input-number-8f6dbf74.js → el-input-number-c22b803a.js} +35 -35
  525. package/es/{el-loading-84dde1a8.cjs → el-loading-8179b497.cjs} +1 -1
  526. package/es/{el-loading-9b671203.js → el-loading-bcc51e3d.js} +1 -1
  527. package/es/{el-menu-item-535fef90.js → el-menu-item-339baf6d.js} +21 -21
  528. package/es/{el-menu-item-4531fd0e.cjs → el-menu-item-83186444.cjs} +1 -1
  529. package/es/{el-message-box-621ed2f1.js → el-message-box-035b699c.js} +9 -9
  530. package/es/{el-message-box-f5717070.cjs → el-message-box-c62d3217.cjs} +1 -1
  531. package/es/{el-overlay-23de4324.js → el-overlay-3e17604b.js} +3 -3
  532. package/es/{el-overlay-151708cb.cjs → el-overlay-8f1da9e8.cjs} +1 -1
  533. package/es/{el-popconfirm-b8aa490e.cjs → el-popconfirm-4e32ec1b.cjs} +1 -1
  534. package/es/{el-popconfirm-bcff0aa5.js → el-popconfirm-f8a86e2c.js} +4 -4
  535. package/es/{el-popper-43ec37f4.cjs → el-popper-a4f3ae4d.cjs} +1 -1
  536. package/es/{el-popper-03988662.js → el-popper-fbd0dcea.js} +1 -1
  537. package/es/{el-segmented-db3a86be.js → el-segmented-56bd58a8.js} +2 -2
  538. package/es/{el-segmented-79a1367c.cjs → el-segmented-833ac177.cjs} +1 -1
  539. package/es/{el-select-4bd0010d.js → el-select-44fa547d.js} +8 -8
  540. package/es/{el-select-ec04e7ce.cjs → el-select-70806166.cjs} +1 -1
  541. package/es/{el-table-column-35e47229.cjs → el-table-column-3e2cdfca.cjs} +1 -1
  542. package/es/{el-table-column-7af2bec7.js → el-table-column-b74a857d.js} +9 -9
  543. package/es/{el-tag-bef9e83d.js → el-tag-66c83156.js} +2 -2
  544. package/es/{el-tag-5d5608e0.cjs → el-tag-9c2f329f.cjs} +1 -1
  545. package/es/{el-text-f998902c.js → el-text-034bd3f4.js} +1 -1
  546. package/es/{el-text-abf10fdf.cjs → el-text-6b2374bb.cjs} +1 -1
  547. package/es/index-00f6ca75.cjs +1 -0
  548. package/es/{index-a00e0534.cjs → index-185792a7.cjs} +1 -1
  549. package/es/{index-d1b554ac.js → index-1e2a38ab.js} +2 -2
  550. package/es/{index-f3f6ee27.js → index-27416486.js} +9 -9
  551. package/es/{index-2d7ac156.cjs → index-47c9eb63.cjs} +2 -2
  552. package/es/{index-0986e373.cjs → index-4cd74df9.cjs} +1 -1
  553. package/es/{index-ce21e2ce.js → index-5216d5f5.js} +5 -5
  554. package/es/{index-cfcd60ca.cjs → index-5c0dd943.cjs} +1 -1
  555. package/es/{index-cfd00899.cjs → index-870b6c9d.cjs} +1 -1
  556. package/es/{index-a83ec4b7.js → index-8c2d7e05.js} +1 -1
  557. package/es/{index-db846633.cjs → index-9d16cea8.cjs} +1 -1
  558. package/es/{index-936e7dec.js → index-a9785a4f.js} +1 -1
  559. package/es/{index-60c69dd1.cjs → index-ac8dc53d.cjs} +1 -1
  560. package/es/{index-102edf6c.js → index-c5f2d372.js} +2 -2
  561. package/es/{index-6290ae0f.js → index-c6584658.js} +2 -2
  562. package/es/{index-5c44d71a.js → index-eb96e074.js} +149 -119
  563. package/es/{index-5ed42e9c.js → index-f034b910.js} +2 -2
  564. package/es/{index-c58e90e9.cjs → index-f58b2920.cjs} +1 -1
  565. package/es/{python-71f59893.cjs → python-2623e545.cjs} +1 -1
  566. package/es/{python-6cc6ec1b.js → python-85a62852.js} +17 -17
  567. package/es/style.css +1 -1
  568. package/es/{use-form-common-props-02be4928.cjs → use-form-common-props-ac666630.cjs} +1 -1
  569. package/es/{use-form-common-props-76a09d89.js → use-form-common-props-ed72e914.js} +11 -11
  570. package/es/{use-global-config-31b3ec57.cjs → use-global-config-23472471.cjs} +1 -1
  571. package/es/{use-global-config-0f43458b.js → use-global-config-ee406d58.js} +2 -2
  572. package/es/{validator-ea292506.cjs → validator-366dbf39.cjs} +1 -1
  573. package/es/{validator-0e037618.js → validator-c60a8956.js} +1 -1
  574. package/es/{zh-cn-1227eb8a.js → zh-cn-b59a0910.js} +1 -1
  575. package/es/{zh-cn-0edc7234.cjs → zh-cn-c21d12d8.cjs} +1 -1
  576. package/introduce.md +41 -0
  577. package/lib/aiTools.js +4 -0
  578. package/lib/bundle.js +1 -1
  579. package/lib/bundle.umd.cjs +189 -189
  580. package/lib/{index-8b55d8c8.js → index-72506c43.js} +20695 -20434
  581. package/lib/{python-f164f783.js → python-d3119b5a.js} +1 -1
  582. package/lib/style.css +1 -1
  583. package/package.json +9 -2
  584. package/packages/CustomFunction/components/ManageDialog.vue +300 -3
  585. package/packages/VarietyAiHelper/index.vue +42 -6
  586. package/public/aiTools.js +4 -0
  587. package/src/App.vue +16 -16
  588. package/tests/components/ChartLayout.spec.ts +67 -0
  589. package/tests/components/ConfigProvider.spec.ts +99 -0
  590. package/tests/components/Contextmenu.spec.ts +79 -0
  591. package/tests/components/CustomFunction.spec.ts +185 -0
  592. package/tests/components/FactorWarning.spec.ts +287 -0
  593. package/tests/components/HeatMap.spec.ts +83 -0
  594. package/tests/components/Kline.spec.ts +140 -0
  595. package/tests/components/Kline2.spec.ts +311 -0
  596. package/tests/components/KlineBasic.spec.ts +429 -0
  597. package/tests/components/KlineConfig.spec.ts +278 -0
  598. package/tests/components/KlineNew.spec.ts +278 -0
  599. package/tests/components/KlinePlus.spec.ts +284 -0
  600. package/tests/components/LinearLegend.spec.ts +69 -0
  601. package/tests/components/ManageDialog.spec.ts +253 -0
  602. package/tests/components/Map.spec.ts +71 -0
  603. package/tests/components/MonacoEditor.spec.ts +530 -0
  604. package/tests/components/Pagination.spec.ts +59 -0
  605. package/tests/components/PasswordPrompt.spec.ts +72 -0
  606. package/tests/components/Pie.spec.ts +96 -0
  607. package/tests/components/Table.spec.ts +186 -0
  608. package/tests/components/TreeMap.spec.ts +100 -0
  609. package/tests/components/User.spec.ts +130 -0
  610. package/tests/components/VarSelectDialog.spec.ts +131 -0
  611. package/tests/components/VarietyAiHelper.spec.ts +164 -0
  612. package/tests/components/VarietyAutoComplete.spec.ts +110 -0
  613. package/tests/components/VarietySearch.spec.ts +526 -0
  614. package/tests/components/VarietyTextCopy.spec.ts +86 -0
  615. package/tests/components/VirtualTable.spec.ts +285 -0
  616. package/tests/helpers/mountWithPlugins.ts +19 -0
  617. package/tests/mocks/echarts.kline.mock.ts +41 -0
  618. package/tests/mocks/echarts.mock.ts +38 -0
  619. package/tests/mocks/monaco.mock.ts +37 -0
  620. package/tests/mocks/st-func.mock.ts +52 -0
  621. package/tests/mocks/talib.mock.ts +13 -0
  622. package/tests/setup.ts +65 -0
  623. package/tests/smoke.spec.ts +12 -0
  624. package/vitest.config.ts +56 -0
  625. package/workflow.md +33 -0
  626. package/es/aiTools-9fd42de8.cjs +0 -2
  627. package/es/index-476c4459.cjs +0 -1
@@ -1,35 +1,35 @@
1
- import { b as de, p as pe, e as ee, u as fe, c as ae, n as ye, _ as me, w as ve, x as we } from "./base-a5af3db3.js";
2
- import { E as be } from "./el-dialog-86a3eec2.js";
3
- import "./el-overlay-23de4324.js";
4
- import { E as _e } from "./el-input-fa1445ad.js";
5
- import { E as Te } from "./el-button-314171a0.js";
1
+ import { b as de, p as fe, e as ee, u as pe, c as ae, n as ke, _ as me, w as ve, x as we } from "./base-a5af3db3.js";
2
+ import { E as be } from "./el-dialog-5e30161f.js";
3
+ import "./el-overlay-3e17604b.js";
4
+ import { E as Te } from "./el-input-342b2def.js";
5
+ import { E as _e } from "./el-button-94d3de38.js";
6
6
  import "./el-tooltip-4ed993c7.js";
7
- import { E as Se } from "./el-popper-03988662.js";
8
- import { defineComponent as te, ref as k, computed as m, watch as oe, openBlock as l, createElementBlock as p, normalizeClass as w, unref as s, normalizeStyle as J, createBlock as O, withCtx as y, resolveDynamicComponent as ge, renderSlot as ne, createElementVNode as d, toDisplayString as H, createCommentVNode as N, inject as De, reactive as Ce, nextTick as se, Fragment as X, createVNode as h, renderList as ue, createTextVNode as Z, pushScopeId as Me, popScopeId as Ee } from "vue";
9
- import { d as j } from "./dayjs.min-8313b006.js";
7
+ import { E as Se } from "./el-popper-fbd0dcea.js";
8
+ import { defineComponent as te, ref as y, computed as v, watch as oe, openBlock as l, createElementBlock as f, normalizeClass as w, unref as a, normalizeStyle as J, createBlock as K, withCtx as k, resolveDynamicComponent as ge, renderSlot as ne, createElementVNode as d, toDisplayString as L, createCommentVNode as Q, inject as De, reactive as Ce, nextTick as se, Fragment as X, createVNode as A, renderList as ce, createTextVNode as Z, pushScopeId as Me, popScopeId as Ee } from "vue";
9
+ import { d as q } from "./dayjs.min-8313b006.js";
10
10
  import { V as Ve, U as Be } from "./index-7ed0999e.js";
11
- import { s as Ue } from "./aiTools-d7bd47c3.js";
12
- import { E as re, w as Ie, o as Fe, p as Ne, s as Pe, c as Qe, u as Ye, t as ze, v as Je, x as He, y as Ke } from "./index-5c44d71a.js";
13
- import { _ as Oe } from "./_plugin-vue_export-helper-dad06003.js";
14
- import { E as W } from "./index-ce21e2ce.js";
15
- import { k as Re, i as Le } from "./use-form-common-props-76a09d89.js";
11
+ import { s as Ie } from "./aiTools-a3b095f6.js";
12
+ import { E as re, w as Ne, s as Ue, t as Qe, v as Fe, c as Pe, u as Ye, x as ze, y as Je, z as Le, A as Oe } from "./index-eb96e074.js";
13
+ import { _ as He } from "./_plugin-vue_export-helper-dad06003.js";
14
+ import { E as W } from "./index-5216d5f5.js";
15
+ import { k as Ke, i as Re } from "./use-form-common-props-ed72e914.js";
16
16
  import "./index-d77a7336.js";
17
17
  import "./index-960806da.js";
18
18
  import "./index-2e331d74.js";
19
19
  import "./vnode-5ddb7ed1.js";
20
20
  import "./scroll-679bd6bf.js";
21
- import "./use-global-config-0f43458b.js";
22
- import "./index-a83ec4b7.js";
21
+ import "./use-global-config-ee406d58.js";
22
+ import "./index-8c2d7e05.js";
23
23
  import "./typescript-7ae59c4c.js";
24
- import "./index-5ed42e9c.js";
24
+ import "./index-f034b910.js";
25
25
  import "./index-657047bb.js";
26
- import "./config-provider-7a3aca55.js";
26
+ import "./config-provider-88b637a8.js";
27
27
  const xe = de({
28
28
  size: {
29
29
  type: [Number, String],
30
- values: Re,
30
+ values: Ke,
31
31
  default: "",
32
- validator: (f) => pe(f)
32
+ validator: (p) => fe(p)
33
33
  },
34
34
  shape: {
35
35
  type: String,
@@ -37,7 +37,7 @@ const xe = de({
37
37
  default: "circle"
38
38
  },
39
39
  icon: {
40
- type: Le
40
+ type: Re
41
41
  },
42
42
  src: {
43
43
  type: String,
@@ -50,46 +50,46 @@ const xe = de({
50
50
  default: "cover"
51
51
  }
52
52
  }), $e = {
53
- error: (f) => f instanceof Event
53
+ error: (p) => p instanceof Event
54
54
  }, je = te({
55
55
  name: "ElAvatar"
56
56
  }), qe = /* @__PURE__ */ te({
57
57
  ...je,
58
58
  props: xe,
59
59
  emits: $e,
60
- setup(f, { emit: i }) {
61
- const C = f, r = fe("avatar"), M = k(!1), E = m(() => {
62
- const { size: c, icon: T, shape: V } = C, a = [r.b()];
63
- return ae(c) && a.push(r.m(c)), T && a.push(r.m("icon")), V && a.push(r.m(V)), a;
64
- }), R = m(() => {
65
- const { size: c } = C;
66
- return pe(c) ? r.cssVarBlock({
67
- size: ye(c) || ""
60
+ setup(p, { emit: i }) {
61
+ const M = p, r = pe("avatar"), C = y(!1), E = v(() => {
62
+ const { size: u, icon: _, shape: V } = M, o = [r.b()];
63
+ return ae(u) && o.push(r.m(u)), _ && o.push(r.m("icon")), V && o.push(r.m(V)), o;
64
+ }), R = v(() => {
65
+ const { size: u } = M;
66
+ return fe(u) ? r.cssVarBlock({
67
+ size: ke(u) || ""
68
68
  }) : void 0;
69
- }), L = m(() => ({
70
- objectFit: C.fit
69
+ }), x = v(() => ({
70
+ objectFit: M.fit
71
71
  }));
72
- oe(() => C.src, () => M.value = !1);
73
- function A(c) {
74
- M.value = !0, i("error", c);
72
+ oe(() => M.src, () => C.value = !1);
73
+ function h(u) {
74
+ C.value = !0, i("error", u);
75
75
  }
76
- return (c, T) => (l(), p("span", {
77
- class: w(s(E)),
78
- style: J(s(R))
76
+ return (u, _) => (l(), f("span", {
77
+ class: w(a(E)),
78
+ style: J(a(R))
79
79
  }, [
80
- (c.src || c.srcSet) && !M.value ? (l(), p("img", {
80
+ (u.src || u.srcSet) && !C.value ? (l(), f("img", {
81
81
  key: 0,
82
- src: c.src,
83
- alt: c.alt,
84
- srcset: c.srcSet,
85
- style: J(s(L)),
86
- onError: A
87
- }, null, 44, ["src", "alt", "srcset"])) : c.icon ? (l(), O(s(re), { key: 1 }, {
88
- default: y(() => [
89
- (l(), O(ge(c.icon)))
82
+ src: u.src,
83
+ alt: u.alt,
84
+ srcset: u.srcSet,
85
+ style: J(a(x)),
86
+ onError: h
87
+ }, null, 44, ["src", "alt", "srcset"])) : u.icon ? (l(), K(a(re), { key: 1 }, {
88
+ default: k(() => [
89
+ (l(), K(ge(u.icon)))
90
90
  ]),
91
91
  _: 1
92
- })) : ne(c.$slots, "default", { key: 2 })
92
+ })) : ne(u.$slots, "default", { key: 2 })
93
93
  ], 6));
94
94
  }
95
95
  });
@@ -103,7 +103,7 @@ const Xe = ve(Ge), Ze = de({
103
103
  percentage: {
104
104
  type: Number,
105
105
  default: 0,
106
- validator: (f) => f >= 0 && f <= 100
106
+ validator: (p) => p >= 0 && p <= 100
107
107
  },
108
108
  status: {
109
109
  type: String,
@@ -144,26 +144,26 @@ const Xe = ve(Ge), Ze = de({
144
144
  stripedFlow: Boolean,
145
145
  format: {
146
146
  type: ee(Function),
147
- default: (f) => `${f}%`
147
+ default: (p) => `${p}%`
148
148
  }
149
149
  }), We = te({
150
150
  name: "ElProgress"
151
151
  }), et = /* @__PURE__ */ te({
152
152
  ...We,
153
153
  props: Ze,
154
- setup(f) {
155
- const i = f, C = {
154
+ setup(p) {
155
+ const i = p, M = {
156
156
  success: "#13ce66",
157
157
  exception: "#ff4949",
158
158
  warning: "#e6a23c",
159
159
  default: "#20a0ff"
160
- }, r = fe("progress"), M = m(() => {
160
+ }, r = pe("progress"), C = v(() => {
161
161
  const e = {
162
162
  width: `${i.percentage}%`,
163
163
  animationDuration: `${i.duration}s`
164
164
  }, g = b(i.percentage);
165
165
  return g.includes("gradient") ? e.background = g : e.backgroundColor = g, e;
166
- }), E = m(() => (i.strokeWidth / i.width * 100).toFixed(1)), R = m(() => ["circle", "dashboard"].includes(i.type) ? Number.parseInt(`${50 - Number.parseFloat(E.value) / 2}`, 10) : 0), L = m(() => {
166
+ }), E = v(() => (i.strokeWidth / i.width * 100).toFixed(1)), R = v(() => ["circle", "dashboard"].includes(i.type) ? Number.parseInt(`${50 - Number.parseFloat(E.value) / 2}`, 10) : 0), x = v(() => {
167
167
  const e = R.value, g = i.type === "dashboard";
168
168
  return `
169
169
  M 50 50
@@ -171,23 +171,23 @@ const Xe = ve(Ge), Ze = de({
171
171
  a ${e} ${e} 0 1 1 0 ${g ? "-" : ""}${e * 2}
172
172
  a ${e} ${e} 0 1 1 0 ${g ? "" : "-"}${e * 2}
173
173
  `;
174
- }), A = m(() => 2 * Math.PI * R.value), c = m(() => i.type === "dashboard" ? 0.75 : 1), T = m(() => `${-1 * A.value * (1 - c.value) / 2}px`), V = m(() => ({
175
- strokeDasharray: `${A.value * c.value}px, ${A.value}px`,
176
- strokeDashoffset: T.value
177
- })), a = m(() => ({
178
- strokeDasharray: `${A.value * c.value * (i.percentage / 100)}px, ${A.value}px`,
179
- strokeDashoffset: T.value,
174
+ }), h = v(() => 2 * Math.PI * R.value), u = v(() => i.type === "dashboard" ? 0.75 : 1), _ = v(() => `${-1 * h.value * (1 - u.value) / 2}px`), V = v(() => ({
175
+ strokeDasharray: `${h.value * u.value}px, ${h.value}px`,
176
+ strokeDashoffset: _.value
177
+ })), o = v(() => ({
178
+ strokeDasharray: `${h.value * u.value * (i.percentage / 100)}px, ${h.value}px`,
179
+ strokeDashoffset: _.value,
180
180
  transition: "stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"
181
- })), q = m(() => {
181
+ })), F = v(() => {
182
182
  let e;
183
- return i.color ? e = b(i.percentage) : e = C[i.status] || C.default, e;
184
- }), B = m(() => i.status === "warning" ? Ie : i.type === "line" ? i.status === "success" ? Fe : Ne : i.status === "success" ? Pe : Qe), P = m(() => i.type === "line" ? 12 + i.strokeWidth * 0.4 : i.width * 0.111111 + 2), Q = m(() => i.format(i.percentage));
183
+ return i.color ? e = b(i.percentage) : e = M[i.status] || M.default, e;
184
+ }), B = v(() => i.status === "warning" ? Ne : i.type === "line" ? i.status === "success" ? Ue : Qe : i.status === "success" ? Fe : Pe), P = v(() => i.type === "line" ? 12 + i.strokeWidth * 0.4 : i.width * 0.111111 + 2), O = v(() => i.format(i.percentage));
185
185
  function G(e) {
186
186
  const g = 100 / e.length;
187
- return e.map((S, U) => ae(S) ? {
187
+ return e.map((S, I) => ae(S) ? {
188
188
  color: S,
189
- percentage: (U + 1) * g
190
- } : S).sort((S, U) => S.percentage - U.percentage);
189
+ percentage: (I + 1) * g
190
+ } : S).sort((S, I) => S.percentage - I.percentage);
191
191
  }
192
192
  const b = (e) => {
193
193
  var g;
@@ -198,20 +198,20 @@ const Xe = ve(Ge), Ze = de({
198
198
  return Y;
199
199
  {
200
200
  const S = G(Y);
201
- for (const U of S)
202
- if (U.percentage > e)
203
- return U.color;
201
+ for (const I of S)
202
+ if (I.percentage > e)
203
+ return I.color;
204
204
  return (g = S[S.length - 1]) == null ? void 0 : g.color;
205
205
  }
206
206
  };
207
- return (e, g) => (l(), p("div", {
207
+ return (e, g) => (l(), f("div", {
208
208
  class: w([
209
- s(r).b(),
210
- s(r).m(e.type),
211
- s(r).is(e.status),
209
+ a(r).b(),
210
+ a(r).m(e.type),
211
+ a(r).is(e.status),
212
212
  {
213
- [s(r).m("without-text")]: !e.showText,
214
- [s(r).m("text-inside")]: e.textInside
213
+ [a(r).m("without-text")]: !e.showText,
214
+ [a(r).m("text-inside")]: e.textInside
215
215
  }
216
216
  ]),
217
217
  role: "progressbar",
@@ -219,95 +219,95 @@ const Xe = ve(Ge), Ze = de({
219
219
  "aria-valuemin": "0",
220
220
  "aria-valuemax": "100"
221
221
  }, [
222
- e.type === "line" ? (l(), p("div", {
222
+ e.type === "line" ? (l(), f("div", {
223
223
  key: 0,
224
- class: w(s(r).b("bar"))
224
+ class: w(a(r).b("bar"))
225
225
  }, [
226
226
  d("div", {
227
- class: w(s(r).be("bar", "outer")),
227
+ class: w(a(r).be("bar", "outer")),
228
228
  style: J({ height: `${e.strokeWidth}px` })
229
229
  }, [
230
230
  d("div", {
231
231
  class: w([
232
- s(r).be("bar", "inner"),
233
- { [s(r).bem("bar", "inner", "indeterminate")]: e.indeterminate },
234
- { [s(r).bem("bar", "inner", "striped")]: e.striped },
235
- { [s(r).bem("bar", "inner", "striped-flow")]: e.stripedFlow }
232
+ a(r).be("bar", "inner"),
233
+ { [a(r).bem("bar", "inner", "indeterminate")]: e.indeterminate },
234
+ { [a(r).bem("bar", "inner", "striped")]: e.striped },
235
+ { [a(r).bem("bar", "inner", "striped-flow")]: e.stripedFlow }
236
236
  ]),
237
- style: J(s(M))
237
+ style: J(a(C))
238
238
  }, [
239
- (e.showText || e.$slots.default) && e.textInside ? (l(), p("div", {
239
+ (e.showText || e.$slots.default) && e.textInside ? (l(), f("div", {
240
240
  key: 0,
241
- class: w(s(r).be("bar", "innerText"))
241
+ class: w(a(r).be("bar", "innerText"))
242
242
  }, [
243
243
  ne(e.$slots, "default", { percentage: e.percentage }, () => [
244
- d("span", null, H(s(Q)), 1)
244
+ d("span", null, L(a(O)), 1)
245
245
  ])
246
- ], 2)) : N("v-if", !0)
246
+ ], 2)) : Q("v-if", !0)
247
247
  ], 6)
248
248
  ], 6)
249
- ], 2)) : (l(), p("div", {
249
+ ], 2)) : (l(), f("div", {
250
250
  key: 1,
251
- class: w(s(r).b("circle")),
251
+ class: w(a(r).b("circle")),
252
252
  style: J({ height: `${e.width}px`, width: `${e.width}px` })
253
253
  }, [
254
- (l(), p("svg", { viewBox: "0 0 100 100" }, [
254
+ (l(), f("svg", { viewBox: "0 0 100 100" }, [
255
255
  d("path", {
256
- class: w(s(r).be("circle", "track")),
257
- d: s(L),
258
- stroke: `var(${s(r).cssVarName("fill-color-light")}, #e5e9f2)`,
256
+ class: w(a(r).be("circle", "track")),
257
+ d: a(x),
258
+ stroke: `var(${a(r).cssVarName("fill-color-light")}, #e5e9f2)`,
259
259
  "stroke-linecap": e.strokeLinecap,
260
- "stroke-width": s(E),
260
+ "stroke-width": a(E),
261
261
  fill: "none",
262
- style: J(s(V))
262
+ style: J(a(V))
263
263
  }, null, 14, ["d", "stroke", "stroke-linecap", "stroke-width"]),
264
264
  d("path", {
265
- class: w(s(r).be("circle", "path")),
266
- d: s(L),
267
- stroke: s(q),
265
+ class: w(a(r).be("circle", "path")),
266
+ d: a(x),
267
+ stroke: a(F),
268
268
  fill: "none",
269
269
  opacity: e.percentage ? 1 : 0,
270
270
  "stroke-linecap": e.strokeLinecap,
271
- "stroke-width": s(E),
272
- style: J(s(a))
271
+ "stroke-width": a(E),
272
+ style: J(a(o))
273
273
  }, null, 14, ["d", "stroke", "opacity", "stroke-linecap", "stroke-width"])
274
274
  ]))
275
275
  ], 6)),
276
- (e.showText || e.$slots.default) && !e.textInside ? (l(), p("div", {
276
+ (e.showText || e.$slots.default) && !e.textInside ? (l(), f("div", {
277
277
  key: 2,
278
- class: w(s(r).e("text")),
279
- style: J({ fontSize: `${s(P)}px` })
278
+ class: w(a(r).e("text")),
279
+ style: J({ fontSize: `${a(P)}px` })
280
280
  }, [
281
281
  ne(e.$slots, "default", { percentage: e.percentage }, () => [
282
- e.status ? (l(), O(s(re), { key: 1 }, {
283
- default: y(() => [
284
- (l(), O(ge(s(B))))
282
+ e.status ? (l(), K(a(re), { key: 1 }, {
283
+ default: k(() => [
284
+ (l(), K(ge(a(B))))
285
285
  ]),
286
286
  _: 1
287
- })) : (l(), p("span", { key: 0 }, H(s(Q)), 1))
287
+ })) : (l(), f("span", { key: 0 }, L(a(O)), 1))
288
288
  ])
289
- ], 6)) : N("v-if", !0)
289
+ ], 6)) : Q("v-if", !0)
290
290
  ], 10, ["aria-valuenow"]));
291
291
  }
292
292
  });
293
293
  var tt = /* @__PURE__ */ me(et, [["__file", "progress.vue"]]);
294
294
  const st = ve(tt);
295
295
  const at = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMaSURBVHgB7ZhdbhMxEMf/9lLRN3oDlhMQTkB6AnqDlqdSVYgaDkD6zIdTKGqLkJreoD1BywnIDdiegPBWKYmH8e4mdZbAeqlTrcT+pJX8MV57dsee8QANDQ0NDf8zAgtA608tRJEGIeYZEjOmk1dqq4cFEFwBrQ9iSHzjV68UuhIYWlVqK0FAJAJDEDtzFm9hxcS51scrCEhwBYQUj6cVQ7tk6MTpjg2udhCQoAqk5gNqOU29l2prw7Ai0wmlfIGABFXAAG2n2p/Yu8RV97qZVvb3v9xHIIIqIKV4PSnzVz+blJVSAyyIYAroj0d28bHz4h5ugSAKvNVHa7xhO9MGtnn3uNRaz5w8w2H0E4G4sQJ28ZE0x05TwovvuDIjLDsbWwyUehrMpO74CqYmQtTmg74920O49oc04J28Whwr05Pp2mfqD4fH82cRAzMeX0qIU1+H5+WJecLz3xdexC7esKfd7v/b+AJSdNTzzd1SsTKBd/pgw2NyDhPwaN7iLRwLfUVVeE+lc5dQakKZ46GsQjhlM1Lp+0Fr3Kfz9uRvv5wDuQ47ucQ4p9Q8BIcgQuIJcjkZiXWUnGYee8DxrDTm02U7sUX+OpU2ovKMRlnRLpvP92w+0SqTr3QKLS3d/YFbhUoDv+DB3E0ZzZpZv0y+dgpEEGuTMkeyl2XytVMg38RZGXxolFArBbT+bDdt7DRdlI2plQIGo7ZT7ft441opIGW0PikbI068xqAmFG9zEqMLn3G1UaBwm0v+FJYUqY0CediQQgZn3uNQA1LzcQJGgXHPd6yHAjSNeYbD4QMsADafDafa9zUfS3kwJ0R/+nU4+nyjD9JoVEbyIUemuQxulKziZMDUfDiM3kMFyhXgvCZHh+2sQq07nF3LiuRKtfTeIWV/SwxsPjRvT7JblrF34IQgBwSTPmMuW4HliDMZVM15uXjdyN7rwy67+KAJqblkyYBOlSHeyV1tb0ci/dVx4Q0xQkC4UDvPVqsOC5KdzhK2V3YfxHlTbGN5Y29Y9hG4N9MnbJyfJ4B54XxxOVNqs4uGhoaGhoaK/AINQhvhDFaFYAAAAABJRU5ErkJggg==", ot = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMxSURBVHgB7ZhdbtNAEMdn1wmlTzUnIJyA9ASkNwgnaCMh0aKK1uIATV4R1bbQUlVCSrhBewLCCSg3CCfAPBFoM8PsxnHcVGHX7UZYwj/JytrecXb2a+a/ACUlJSUl/zMCPKBUNxzCMAwAQwEylAA1AAr586EM5Mq4zM9IhOPy+F3ShAtEPHwVbfXgFjg78Ea9bwaBXAeC+syrGvhAwFn0cvMp5MTJAfX2VAHRLiwYROrwSLTz2Fgd2FcnG1KKLjhBMU+TmD/LFw34QUwEP4if87QaJJX4F/m95AtDCII9HtVm0pwY8N6jKGrF4EjFVkEGQk+bBHEBOOroP0KABju2N2439KPdzTW4BUqpFsj7jfGaoBBhqEe67WovrTUIGmkZr1pR9OIsirb6MO3ROxFFUYwIh2mDAvEkh7mDAxmq1aXvsAC4Eb30hjtMqZNGDtt/D4/ogFdjf3Kvp6erbSEc0OAIzydlXlvrrnaFcUDCr17mtqbUcd3NriDoxXx9Gsmmi11hHNDgiD5Pyq67UaEcuLkbdUMHm+JgdqNMfEH4vWGzKZQDGkJIdyMB2LDVL5wDCNiflIUUj231C+dAoPOtKTVb/cI5wC5YF24WazZqMlAgE1Qu8ergtTrujDgVFhWxomO+KzotB0uPGvVG1Egf0DQuzMPqAMu9cw7t9eSDzaoMmlXzIlNJiDonYLVkF7nBvjrdlZIU2CCavf9oM7FOIaOQhK0nWONK+WVe+JcB5EqRDazOIged7KyJlZ4CQu6AoL/kKFpR4ersSPD0aafiR9chOpv7CcKvetommsPKnU8lFIt9MJJzcsrAgQiXVrOy0OT3UnxK/jKOdp4/AE/ceRfSCo2Hu5V5VEtkYYZhZmuk8Ojow0PwhJdtVDtBWVko5U42jzGZ5oLwFgcE/GybUwlDKs4XjjcHbojzjKrik4dcwSkPXiPxtXSY18JkrlNlOSsRB9vbz76BJ7w6MJsOX9JoQ7073RMIB2klh+iaB++5EB8PTqMnUttcUwYcAzrgEe8OSBgeTBfzNTg+0Nq8dOO2eDlen8WkFKLSTY7Vudf1kclyL8+ZZ0lJSUlJiQt/AOgzKhZAFyVoAAAAAElFTkSuQmCC";
296
- const le = (f) => (Me("data-v-4ba59779"), f = f(), Ee(), f), nt = { class: "ai-dialog-body" }, rt = { class: "avatar" }, lt = { class: "message-content" }, it = {
296
+ const le = (p) => (Me("data-v-1ebca857"), p = p(), Ee(), p), nt = { class: "ai-dialog-body" }, rt = { class: "avatar" }, lt = { class: "message-content" }, it = {
297
297
  key: 0,
298
298
  style: { "font-weight": "bold", "margin-bottom": "10px" }
299
- }, ct = {
299
+ }, ut = {
300
300
  key: 1,
301
301
  class: "node-progress"
302
- }, ut = { class: "node-status-icon" }, dt = { class: "node-name" }, pt = { class: "progress-footer" }, ft = { class: "progress-text" }, mt = ["innerHTML"], vt = {
302
+ }, ct = { class: "node-status-icon" }, dt = { class: "node-name" }, ft = { class: "progress-footer" }, pt = { class: "progress-text" }, mt = ["innerHTML"], vt = {
303
303
  key: 4,
304
304
  class: "message-content-footer"
305
305
  }, gt = {
306
306
  key: 0,
307
307
  class: "feedback-box"
308
- }, At = ["onClick"], ht = ["onClick"], kt = { class: "input-area" }, yt = { class: "input-actions" }, wt = /* @__PURE__ */ le(() => /* @__PURE__ */ d("div", { class: "input-hint" }, [
308
+ }, ht = ["onClick"], At = ["onClick"], yt = { class: "input-area" }, kt = { class: "input-actions" }, wt = /* @__PURE__ */ le(() => /* @__PURE__ */ d("div", { class: "input-hint" }, [
309
309
  /* @__PURE__ */ d("span", null, "Enter 发送 | Ctrl + Enter 换行")
310
- ], -1)), bt = { class: "feedback-dialog-content" }, _t = /* @__PURE__ */ le(() => /* @__PURE__ */ d("div", { class: "feedback-emoji" }, "😟", -1)), Tt = /* @__PURE__ */ le(() => /* @__PURE__ */ d("p", { class: "feedback-tip" }, "很抱歉没能帮到您,请告诉我们哪里需要改进:", -1)), St = { class: "dialog-footer" }, Dt = {
310
+ ], -1)), bt = { class: "feedback-dialog-content" }, Tt = /* @__PURE__ */ le(() => /* @__PURE__ */ d("div", { class: "feedback-emoji" }, "😟", -1)), _t = /* @__PURE__ */ le(() => /* @__PURE__ */ d("p", { class: "feedback-tip" }, "很抱歉没能帮到您,请告诉我们哪里需要改进:", -1)), St = { class: "dialog-footer" }, Dt = {
311
311
  __name: "index",
312
312
  props: {
313
313
  defaultMessage: {
@@ -319,186 +319,213 @@ const le = (f) => (Me("data-v-4ba59779"), f = f(), Ee(), f), nt = { class: "ai-d
319
319
  }
320
320
  },
321
321
  emits: ["callBack"],
322
- setup(f, { expose: i, emit: C }) {
323
- const r = De("stConfig"), M = Ce(Ve()), E = k(!1), R = C, L = f, A = k(!1), c = k(!1), T = k(!1), V = k(null), a = k([
322
+ setup(p, { expose: i, emit: M }) {
323
+ const r = De("stConfig"), C = Ce(Ve()), E = y(!1), R = M, x = p, h = y(!1), u = y(!1), _ = y(!1), V = y(null), o = y([
324
324
  {
325
325
  role: "defaultMessage",
326
326
  // defaultMessage-组件内置, assistant-智能体, user-用户
327
- content: L.defaultMessage,
327
+ content: x.defaultMessage,
328
328
  fullQuery: "",
329
+ historyList: [],
329
330
  userContent: null,
330
331
  showFeedback: !1,
331
- createTime: j().format("YYYY-MM-DD HH:mm:ss"),
332
+ createTime: q().format("YYYY-MM-DD HH:mm:ss"),
332
333
  resTime: 0,
333
334
  firstPackageTime: 0
334
335
  }
335
- ]), q = k(null), B = k(""), P = k(!1), Q = k(""), G = k({}), b = k([]), e = m(() => b.value.length), g = m(() => b.value.filter((n) => n.status === "success").length), Y = m(() => e.value ? g.value / e.value * 100 : 0), S = m(() => {
336
- const n = b.value.find((t) => t.status === "executing");
336
+ ]), F = y(null), B = y(""), P = y(!1), O = y(""), G = y({}), b = y([]), e = v(() => b.value.length), g = v(() => b.value.filter((n) => n.status === "success").length), Y = v(() => e.value ? g.value / e.value * 100 : 0), S = v(() => {
337
+ const n = b.value.find((s) => s.status === "executing");
337
338
  return n ? n.name : "处理中";
338
- }), U = async () => {
339
+ }), I = async () => {
339
340
  const n = B.value.trim();
340
341
  if (!n)
341
342
  return W.warning("请输入消息内容");
342
- if (A.value)
343
+ if (h.value)
343
344
  return;
344
- b.value = [], T.value = !1, a.value.push({
345
+ b.value = [], _.value = !1, o.value.push({
345
346
  role: "user",
346
347
  content: n,
347
- createTime: j().format("YYYY-MM-DD HH:mm:ss")
348
- }), B.value = "", await z(), a.value.push({
348
+ createTime: q().format("YYYY-MM-DD HH:mm:ss")
349
+ }), B.value = "", await z(), o.value.push({
349
350
  role: "assistant",
350
351
  content: "",
351
352
  fullQuery: "",
353
+ historyList: [],
352
354
  userContent: n,
353
355
  showFeedback: !1,
354
- createTime: j().format("YYYY-MM-DD HH:mm:ss"),
356
+ createTime: q().format("YYYY-MM-DD HH:mm:ss"),
355
357
  resTime: 0,
356
358
  firstPackageTime: 0
357
- }), await z(), A.value = !0, c.value = !0;
358
- let t = "", o = (/* @__PURE__ */ new Date()).getTime(), I = !1;
359
+ }), await z(), h.value = !0, u.value = !0;
360
+ let s = "", t = (/* @__PURE__ */ new Date()).getTime(), N = !1;
359
361
  try {
360
- await Ue({
362
+ await Ie({
361
363
  baseUrl: r.env.VITE_BASE_URL,
362
364
  token: Be(),
363
365
  value: n,
364
- sessionId: q.value,
365
- callback: (D, _) => {
366
- if (D === "session" && (q.value = _), D === "fullQuery") {
367
- const v = a.value[a.value.length - 1];
368
- v.fullQuery = _, console.log(_);
366
+ sessionId: F.value,
367
+ callback: (D, T) => {
368
+ if (D === "session" && (F.value = T), D === "historyList") {
369
+ const m = o.value[o.value.length - 1];
370
+ m.historyList = T;
371
+ }
372
+ if (D === "fullQuery") {
373
+ const m = o.value[o.value.length - 1];
374
+ m.fullQuery = T;
369
375
  }
370
376
  if (D === "node") {
371
- if (!I) {
372
- I = !0, c.value = !1;
373
- const F = a.value[a.value.length - 1];
374
- F && F.role === "assistant" && F.firstPackageTime === 0 && (F.firstPackageTime = (/* @__PURE__ */ new Date()).getTime() - o);
377
+ if (!N) {
378
+ N = !0, u.value = !1;
379
+ const U = o.value[o.value.length - 1];
380
+ U && U.role === "assistant" && U.firstPackageTime === 0 && (U.firstPackageTime = (/* @__PURE__ */ new Date()).getTime() - t);
375
381
  }
376
- const v = b.value.find((F) => F.name === _.name);
377
- v ? v.status = _.status : b.value.push({ name: _.name, status: _.status }), z();
382
+ const m = b.value.find((U) => U.name === T.name);
383
+ m ? m.status = T.status : b.value.push({ name: T.name, status: T.status }), z();
378
384
  return;
379
385
  }
380
386
  if (D === "message") {
381
- t = _;
382
- const v = a.value[a.value.length - 1];
383
- v && v.role === "assistant" && (v.content = t, z());
387
+ s = T;
388
+ const m = o.value[o.value.length - 1];
389
+ m && m.role === "assistant" && (m.content = s, z());
384
390
  }
385
391
  if (D === "finish") {
386
- A.value = !1, T.value = !0;
387
- const v = a.value[a.value.length - 1];
388
- v && v.role === "assistant" && (v.showFeedback = !0, v.resTime = (/* @__PURE__ */ new Date()).getTime() - o, x("default", a.value.length - 1));
392
+ h.value = !1, _.value = !0;
393
+ const m = o.value[o.value.length - 1];
394
+ m && m.role === "assistant" && (m.showFeedback = !0, m.resTime = (/* @__PURE__ */ new Date()).getTime() - t, $("default", o.value.length - 1));
389
395
  }
390
396
  if (D === "error") {
391
- c.value = !1, A.value = !1, a.value.pop(), a.value.push({
397
+ u.value = !1, h.value = !1, o.value.pop(), o.value.push({
392
398
  role: "assistant",
393
399
  userContent: n,
394
- content: `❌ ${_}`,
400
+ content: `❌ ${T}`,
395
401
  showFeedback: !1,
396
- createTime: j().format("YYYY-MM-DD HH:mm:ss"),
397
- resTime: (/* @__PURE__ */ new Date()).getTime() - o,
402
+ createTime: q().format("YYYY-MM-DD HH:mm:ss"),
403
+ resTime: (/* @__PURE__ */ new Date()).getTime() - t,
398
404
  firstPackageTime: 0
399
- }), x("default", a.value.length - 1), z();
405
+ }), $("default", o.value.length - 1), z();
400
406
  return;
401
407
  }
402
408
  }
403
409
  });
404
410
  } catch (D) {
405
- W.error(`AI响应异常: ${D}`), a.value.pop(), a.value.push({
411
+ W.error(`AI响应异常: ${D}`), o.value.pop(), o.value.push({
406
412
  role: "assistant",
407
413
  userContent: n,
408
414
  content: "❌ 抱歉,AI服务响应异常,请稍后重试。",
409
415
  showFeedback: !0,
410
- createTime: j().format("YYYY-MM-DD HH:mm:ss"),
411
- resTime: (/* @__PURE__ */ new Date()).getTime() - o,
416
+ createTime: q().format("YYYY-MM-DD HH:mm:ss"),
417
+ resTime: (/* @__PURE__ */ new Date()).getTime() - t,
412
418
  firstPackageTime: 0
413
- }), x("default", a.value.length - 1), await z(), A.value = !1, c.value = !1;
419
+ }), $("default", o.value.length - 1), await z(), h.value = !1, u.value = !1;
414
420
  }
415
- }, Ae = (n) => {
416
- const { parsedConditions: t, ...o } = JSON.parse(n);
417
- console.log({ parsedConditions: t, webParams: o }), R("callBack", o);
418
- }, x = async (n, t) => {
421
+ }, he = (n) => {
422
+ const { parsedConditions: s, ...t } = JSON.parse(n);
423
+ console.log({ parsedConditions: s, webParams: t }), R("callBack", t);
424
+ }, $ = async (n, s) => {
419
425
  switch (n) {
420
426
  case "satisfied": {
421
- const o = a.value[t];
427
+ const t = o.value[s];
422
428
  await r.request.post("/alarm/deliversign/addVarietyAiHelperLog", {
423
- userName: M.username,
424
- userContent: o.userContent,
425
- aiContent: o.content,
429
+ userName: C.username,
430
+ userContent: t.userContent,
431
+ sessionId: F.value,
432
+ fullQuery: t.fullQuery,
433
+ historyList: JSON.stringify(t.historyList ?? []),
434
+ aiContent: t.content,
426
435
  type: 1,
427
- createTime: o.createTime,
428
- resTime: o.resTime,
429
- firstPackageTime: o.firstPackageTime,
436
+ createTime: t.createTime,
437
+ resTime: t.resTime,
438
+ firstPackageTime: t.firstPackageTime,
430
439
  isSolved: 1,
431
440
  logOrigin: 1
432
- }), W.success("感谢您的评价!"), a.value[t].showFeedback = !1;
441
+ }), W.success("感谢您的评价!"), o.value[s].showFeedback = !1;
433
442
  break;
434
443
  }
435
444
  case "open": {
436
- G.value = t, P.value = !0;
445
+ G.value = s, P.value = !0;
437
446
  break;
438
447
  }
439
448
  case "unsatisfied": {
440
- const o = a.value[t];
449
+ const t = o.value[s];
441
450
  await r.request.post("/alarm/deliversign/addVarietyAiHelperLog", {
442
- userName: M.username,
443
- userContent: o.userContent,
444
- userSuggestion: Q.value,
445
- aiContent: o.content,
451
+ userName: C.username,
452
+ userContent: t.userContent,
453
+ sessionId: F.value,
454
+ fullQuery: t.fullQuery,
455
+ historyList: JSON.stringify(t.historyList ?? []),
456
+ userSuggestion: O.value,
457
+ aiContent: t.content,
446
458
  type: 2,
447
- resTime: o.resTime,
448
- createTime: o.createTime,
449
- firstPackageTime: o.firstPackageTime,
459
+ resTime: t.resTime,
460
+ createTime: t.createTime,
461
+ firstPackageTime: t.firstPackageTime,
450
462
  isSolved: 0,
451
463
  logOrigin: 1
452
- }), W.success("感谢您的反馈!我们将持续跟踪并进行优化"), P.value = !1, a.value[t].showFeedback = !1;
464
+ }), W.success("感谢您的反馈!我们将持续跟踪并进行优化"), P.value = !1, o.value[s].showFeedback = !1;
453
465
  break;
454
466
  }
455
467
  case "default": {
456
- const o = a.value[t];
457
- await r.request.post("/alarm/deliversign/addVarietyAiHelperLog", {
458
- userName: M.username,
459
- userContent: o.userContent,
460
- userSuggestion: Q.value,
461
- aiContent: o.content,
468
+ const t = o.value[s];
469
+ console.log({
470
+ userName: C.username,
471
+ userContent: t.userContent,
472
+ sessionId: F.value,
473
+ fullQuery: t.fullQuery,
474
+ historyList: JSON.stringify(t.historyList ?? []),
475
+ aiContent: t.content,
462
476
  type: null,
463
- resTime: o.resTime,
464
- createTime: o.createTime,
465
- firstPackageTime: o.firstPackageTime,
477
+ resTime: t.resTime,
478
+ createTime: t.createTime,
479
+ firstPackageTime: t.firstPackageTime,
480
+ isSolved: 1,
481
+ logOrigin: 1
482
+ }), await r.request.post("/alarm/deliversign/addVarietyAiHelperLog", {
483
+ userName: C.username,
484
+ userContent: t.userContent,
485
+ sessionId: F.value,
486
+ fullQuery: t.fullQuery,
487
+ historyList: JSON.stringify(t.historyList ?? []),
488
+ aiContent: t.content,
489
+ type: null,
490
+ resTime: t.resTime,
491
+ createTime: t.createTime,
492
+ firstPackageTime: t.firstPackageTime,
466
493
  isSolved: 1,
467
494
  logOrigin: 1
468
495
  });
469
496
  }
470
497
  }
471
- }, he = (n) => {
498
+ }, Ae = (n) => {
472
499
  if (n.key === "Enter")
473
500
  if (n.ctrlKey) {
474
501
  n.preventDefault();
475
- const t = n.target, o = t.selectionStart, I = t.selectionEnd;
476
- B.value = B.value.substring(0, o) + `
477
- ` + B.value.substring(I), se(() => {
478
- t.selectionStart = t.selectionEnd = o + 1;
502
+ const s = n.target, t = s.selectionStart, N = s.selectionEnd;
503
+ B.value = B.value.substring(0, t) + `
504
+ ` + B.value.substring(N), se(() => {
505
+ s.selectionStart = s.selectionEnd = t + 1;
479
506
  });
480
507
  } else
481
- n.preventDefault(), U();
508
+ n.preventDefault(), I();
482
509
  }, z = async () => {
483
510
  await se(), V.value && (V.value.scrollTop = V.value.scrollHeight);
484
511
  }, ie = (n) => {
485
512
  if (typeof n != "string")
486
513
  return !1;
487
514
  try {
488
- const t = JSON.parse(n);
489
- return t !== null && typeof t == "object";
515
+ const s = JSON.parse(n);
516
+ return s !== null && typeof s == "object";
490
517
  } catch {
491
518
  return !1;
492
519
  }
493
- }, ke = (n) => {
494
- const { parsedConditions: t } = JSON.parse(n);
495
- let o = "";
496
- return t != null && t.length && (o += '<div class="parsed-conditions">', t.forEach((I) => {
497
- o += `<div class="parsed-conditions-item">${I}</div>`;
498
- }), o += "</div>"), o;
520
+ }, ye = (n) => {
521
+ const { parsedConditions: s } = JSON.parse(n);
522
+ let t = "";
523
+ return s != null && s.length && (t += '<div class="parsed-conditions">', s.forEach((N) => {
524
+ t += `<div class="parsed-conditions-item">${N}</div>`;
525
+ }), t += "</div>"), t;
499
526
  };
500
527
  return oe(
501
- () => a.value,
528
+ () => o.value,
502
529
  () => {
503
530
  z();
504
531
  },
@@ -506,7 +533,7 @@ const le = (f) => (Me("data-v-4ba59779"), f = f(), Ee(), f), nt = { class: "ai-d
506
533
  ), oe(
507
534
  () => P.value,
508
535
  (n) => {
509
- n || (Q.value = "");
536
+ n || (O.value = "");
510
537
  }
511
538
  ), i({
512
539
  open: () => {
@@ -514,13 +541,13 @@ const le = (f) => (Me("data-v-4ba59779"), f = f(), Ee(), f), nt = { class: "ai-d
514
541
  z();
515
542
  });
516
543
  }
517
- }), (n, t) => {
518
- const o = Xe, I = re, D = st, _ = Se, v = Te, F = _e, ce = be;
519
- return l(), p(X, null, [
520
- h(ce, {
544
+ }), (n, s) => {
545
+ const t = Xe, N = re, D = st, T = Se, m = _e, U = Te, ue = be;
546
+ return l(), f(X, null, [
547
+ A(ue, {
521
548
  class: "ai-dialog",
522
549
  modelValue: E.value,
523
- "onUpdate:modelValue": t[1] || (t[1] = (u) => E.value = u),
550
+ "onUpdate:modelValue": s[1] || (s[1] = (c) => E.value = c),
524
551
  title: "✨ 品种池参数解析AI助手",
525
552
  width: "500px",
526
553
  center: "",
@@ -529,136 +556,136 @@ const le = (f) => (Me("data-v-4ba59779"), f = f(), Ee(), f), nt = { class: "ai-d
529
556
  modal: !1,
530
557
  "modal-penetrable": !0
531
558
  }, {
532
- default: y(() => [
559
+ default: k(() => [
533
560
  d("div", nt, [
534
561
  d("div", {
535
562
  ref_key: "messageListRef",
536
563
  ref: V,
537
564
  class: "message-list"
538
565
  }, [
539
- (l(!0), p(X, null, ue(a.value, (u, K) => (l(), p("div", {
540
- key: K,
541
- class: w([u.role, "message-item"])
566
+ (l(!0), f(X, null, ce(o.value, (c, H) => (l(), f("div", {
567
+ key: H,
568
+ class: w([c.role, "message-item"])
542
569
  }, [
543
- u.content || K === a.value.length - 1 && u.role === "assistant" && b.value.length > 0 ? (l(), p(X, { key: 0 }, [
570
+ c.content || H === o.value.length - 1 && c.role === "assistant" && b.value.length > 0 ? (l(), f(X, { key: 0 }, [
544
571
  d("div", rt, [
545
- h(o, {
572
+ A(t, {
546
573
  size: 32,
547
- icon: u.role === "user" ? s(Ye) : s(ze)
574
+ icon: c.role === "user" ? a(Ye) : a(ze)
548
575
  }, null, 8, ["icon"])
549
576
  ]),
550
577
  d("div", lt, [
551
- u.fullQuery ? (l(), p("div", it, "筛选结果: " + H(u.fullQuery), 1)) : N("", !0),
552
- K === a.value.length - 1 && u.role === "assistant" && b.value.length > 0 && !T.value ? (l(), p("div", ct, [
553
- (l(!0), p(X, null, ue(b.value, ($) => (l(), p("div", {
554
- key: $.name,
578
+ c.fullQuery ? (l(), f("div", it, " 筛选结果: " + L(c.fullQuery), 1)) : Q("", !0),
579
+ H === o.value.length - 1 && c.role === "assistant" && b.value.length > 0 && !_.value ? (l(), f("div", ut, [
580
+ (l(!0), f(X, null, ce(b.value, (j) => (l(), f("div", {
581
+ key: j.name,
555
582
  class: "node-progress-item"
556
583
  }, [
557
- d("span", ut, [
558
- $.status === "success" ? (l(), O(I, {
584
+ d("span", ct, [
585
+ j.status === "success" ? (l(), K(N, {
559
586
  key: 0,
560
587
  class: "node-icon done"
561
588
  }, {
562
- default: y(() => [
563
- h(s(Je))
589
+ default: k(() => [
590
+ A(a(Je))
564
591
  ]),
565
592
  _: 1
566
- })) : (l(), O(I, {
593
+ })) : (l(), K(N, {
567
594
  key: 1,
568
595
  class: "node-icon running"
569
596
  }, {
570
- default: y(() => [
571
- h(s(He))
597
+ default: k(() => [
598
+ A(a(Le))
572
599
  ]),
573
600
  _: 1
574
601
  }))
575
602
  ]),
576
- d("span", dt, H($.name), 1)
603
+ d("span", dt, L(j.name), 1)
577
604
  ]))), 128)),
578
- d("div", pt, [
579
- h(D, {
605
+ d("div", ft, [
606
+ A(D, {
580
607
  percentage: Y.value,
581
608
  "show-text": !1,
582
609
  "stroke-width": 4,
583
610
  color: "#667eea"
584
611
  }, null, 8, ["percentage"]),
585
- d("span", ft, "第 " + H(g.value) + "/" + H(e.value) + " 步 · " + H(S.value), 1)
612
+ d("span", pt, "第 " + L(g.value) + "/" + L(e.value) + " 步 · " + L(S.value), 1)
586
613
  ])
587
- ])) : N("", !0),
588
- ie(u.content) ? (l(), p("div", {
614
+ ])) : Q("", !0),
615
+ ie(c.content) ? (l(), f("div", {
589
616
  key: 2,
590
- class: w(["message-content-json", { "result-animation": K === a.value.length - 1 && T.value }]),
591
- innerHTML: ke(u.content)
592
- }, null, 10, mt)) : u.content ? (l(), p("div", {
617
+ class: w(["message-content-json", { "result-animation": H === o.value.length - 1 && _.value }]),
618
+ innerHTML: ye(c.content)
619
+ }, null, 10, mt)) : c.content ? (l(), f("div", {
593
620
  key: 3,
594
- class: w(["message-content-text", { "result-animation": K === a.value.length - 1 && T.value }])
595
- }, H(u.content), 3)) : N("", !0),
596
- u.role === "assistant" ? (l(), p("div", vt, [
597
- u.showFeedback ? (l(), p("div", gt, [
598
- h(_, {
621
+ class: w(["message-content-text", { "result-animation": H === o.value.length - 1 && _.value }])
622
+ }, L(c.content), 3)) : Q("", !0),
623
+ c.role === "assistant" ? (l(), f("div", vt, [
624
+ c.showFeedback ? (l(), f("div", gt, [
625
+ A(T, {
599
626
  content: "满意",
600
627
  placement: "bottom"
601
628
  }, {
602
- default: y(() => [
629
+ default: k(() => [
603
630
  d("img", {
604
631
  src: at,
605
632
  alt: "满意",
606
- onClick: ($) => x("satisfied", K)
607
- }, null, 8, At)
633
+ onClick: (j) => $("satisfied", H)
634
+ }, null, 8, ht)
608
635
  ]),
609
636
  _: 2
610
637
  }, 1024),
611
- h(_, {
638
+ A(T, {
612
639
  content: "满意",
613
640
  placement: "bottom"
614
641
  }, {
615
- default: y(() => [
642
+ default: k(() => [
616
643
  d("img", {
617
644
  src: ot,
618
645
  alt: "不满意",
619
- onClick: ($) => x("open", K)
620
- }, null, 8, ht)
646
+ onClick: (j) => $("open", H)
647
+ }, null, 8, At)
621
648
  ]),
622
649
  _: 2
623
650
  }, 1024)
624
- ])) : N("", !0),
625
- ie(u.content) ? (l(), O(v, {
651
+ ])) : Q("", !0),
652
+ ie(c.content) ? (l(), K(m, {
626
653
  key: 1,
627
654
  class: "confirm-btn",
628
- onClick: ($) => Ae(u.content)
655
+ onClick: (j) => he(c.content)
629
656
  }, {
630
- default: y(() => [
631
- Z(" 查看结果 ")
657
+ default: k(() => [
658
+ Z(" 确认查询 ")
632
659
  ]),
633
660
  _: 2
634
- }, 1032, ["onClick"])) : N("", !0)
635
- ])) : N("", !0)
661
+ }, 1032, ["onClick"])) : Q("", !0)
662
+ ])) : Q("", !0)
636
663
  ])
637
- ], 64)) : N("", !0)
664
+ ], 64)) : Q("", !0)
638
665
  ], 2))), 128))
639
666
  ], 512),
640
- d("div", kt, [
641
- h(F, {
667
+ d("div", yt, [
668
+ A(U, {
642
669
  class: "message-input",
643
670
  modelValue: B.value,
644
- "onUpdate:modelValue": t[0] || (t[0] = (u) => B.value = u),
671
+ "onUpdate:modelValue": s[0] || (s[0] = (c) => B.value = c),
645
672
  type: "textarea",
646
673
  rows: 4,
647
674
  autosize: { minRows: 2, maxRows: 4 },
648
675
  placeholder: "输入您想查询的品种条件...",
649
- onKeydown: he
676
+ onKeydown: Ae
650
677
  }, null, 8, ["modelValue"]),
651
- d("div", yt, [
678
+ d("div", kt, [
652
679
  wt,
653
- h(v, {
680
+ A(m, {
654
681
  class: "send-btn",
655
682
  type: "primary",
656
- icon: s(Ke),
657
- loading: A.value,
658
- onClick: U,
683
+ icon: a(Oe),
684
+ loading: h.value,
685
+ onClick: I,
659
686
  round: ""
660
687
  }, {
661
- default: y(() => [
688
+ default: k(() => [
662
689
  Z(" 发送 ")
663
690
  ]),
664
691
  _: 1
@@ -669,40 +696,40 @@ const le = (f) => (Me("data-v-4ba59779"), f = f(), Ee(), f), nt = { class: "ai-d
669
696
  ]),
670
697
  _: 1
671
698
  }, 8, ["modelValue"]),
672
- h(ce, {
699
+ A(ue, {
673
700
  modelValue: P.value,
674
- "onUpdate:modelValue": t[5] || (t[5] = (u) => P.value = u),
701
+ "onUpdate:modelValue": s[5] || (s[5] = (c) => P.value = c),
675
702
  title: "📝 反馈意见",
676
703
  width: "400px"
677
704
  }, {
678
- footer: y(() => [
705
+ footer: k(() => [
679
706
  d("span", St, [
680
- h(v, {
681
- onClick: t[3] || (t[3] = (u) => P.value = !1)
707
+ A(m, {
708
+ onClick: s[3] || (s[3] = (c) => P.value = !1)
682
709
  }, {
683
- default: y(() => [
710
+ default: k(() => [
684
711
  Z("取消")
685
712
  ]),
686
713
  _: 1
687
714
  }),
688
- h(v, {
715
+ A(m, {
689
716
  type: "primary",
690
- onClick: t[4] || (t[4] = (u) => x("unsatisfied", G.value))
717
+ onClick: s[4] || (s[4] = (c) => $("unsatisfied", G.value))
691
718
  }, {
692
- default: y(() => [
719
+ default: k(() => [
693
720
  Z("提交反馈")
694
721
  ]),
695
722
  _: 1
696
723
  })
697
724
  ])
698
725
  ]),
699
- default: y(() => [
726
+ default: k(() => [
700
727
  d("div", bt, [
701
- _t,
702
728
  Tt,
703
- h(F, {
704
- modelValue: Q.value,
705
- "onUpdate:modelValue": t[2] || (t[2] = (u) => Q.value = u),
729
+ _t,
730
+ A(U, {
731
+ modelValue: O.value,
732
+ "onUpdate:modelValue": s[2] || (s[2] = (c) => O.value = c),
706
733
  type: "textarea",
707
734
  rows: 4,
708
735
  placeholder: "[非必填]例如:回答不够准确、查询结果有误、界面体验不佳..."
@@ -714,9 +741,9 @@ const le = (f) => (Me("data-v-4ba59779"), f = f(), Ee(), f), nt = { class: "ai-d
714
741
  ], 64);
715
742
  };
716
743
  }
717
- }, Ct = /* @__PURE__ */ Oe(Dt, [["__scopeId", "data-v-4ba59779"]]), es = {
718
- install(f) {
719
- f.component("st-varietyAiHelper", Ct);
744
+ }, Ct = /* @__PURE__ */ He(Dt, [["__scopeId", "data-v-1ebca857"]]), es = {
745
+ install(p) {
746
+ p.component("st-varietyAiHelper", Ct);
720
747
  }
721
748
  };
722
749
  export {