st-comp 0.0.277 → 0.0.279
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/README.md +19 -19
- package/es/ChartLayout.cjs +1 -1
- package/es/ChartLayout.js +1 -1
- package/es/ConfigProvider.cjs +1 -1
- package/es/ConfigProvider.js +3 -3
- package/es/Contextmenu.cjs +1 -1
- package/es/Contextmenu.js +7 -7
- package/es/CustomFunction.cjs +2 -2
- package/es/CustomFunction.js +514 -308
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +37 -37
- package/es/HeatMap.cjs +1 -1
- package/es/HeatMap.js +7 -7
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +18 -18
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +93 -93
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +17 -17
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +14 -14
- package/es/KlinePlus.cjs +4 -4
- package/es/KlinePlus.js +760 -656
- package/es/LinearLegend.cjs +1 -1
- package/es/LinearLegend.js +1 -1
- package/es/Map.cjs +1 -1
- package/es/Map.js +1 -1
- package/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +18 -18
- 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/Pie.cjs +2 -2
- package/es/Pie.js +14 -14
- package/es/Table.cjs +1 -1
- package/es/Table.js +22 -22
- package/es/TreeMap.cjs +1 -1
- package/es/TreeMap.js +4 -4
- package/es/User.cjs +1 -1
- package/es/User.js +73 -73
- package/es/VarSelectDialog.cjs +2 -2
- package/es/VarSelectDialog.js +21 -21
- package/es/VarietyAiHelper.cjs +4 -4
- package/es/VarietyAiHelper.js +139 -138
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +16 -16
- package/es/VarietySearch.cjs +4 -4
- package/es/VarietySearch.js +861 -857
- package/es/{VarietySelect-6a166293.js → VarietySelect-41daac7b.js} +10 -10
- package/es/{VarietySelect-610903f0.cjs → VarietySelect-d58eee29.cjs} +1 -1
- package/es/VarietyTextCopy.cjs +2 -2
- package/es/VarietyTextCopy.js +25 -25
- package/es/VirtualTable.cjs +1 -1
- package/es/VirtualTable.js +6 -6
- package/es/{_initCloneObject-152b4f4e.js → _initCloneObject-5e73c9c8.js} +2 -2
- package/es/{_initCloneObject-76e116d0.cjs → _initCloneObject-a5832933.cjs} +1 -1
- package/es/aiTools-229609fb.cjs +2 -0
- package/es/aiTools-ce2f9281.js +115 -0
- package/es/aiTools.js +179 -176
- 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-0986e373.cjs → index-3153c1db.cjs} +1 -1
- package/es/{index-936e7dec.js → index-44a382a5.js} +2 -2
- package/es/{index-ce21e2ce.js → index-5216d5f5.js} +5 -5
- package/es/{index-7ed0999e.js → index-53cc4e43.js} +720 -716
- 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-8901a38c.cjs → index-94131fd7.cjs} +30 -30
- package/es/{index-db846633.cjs → index-9d16cea8.cjs} +1 -1
- package/es/{index-f3f6ee27.js → index-a33b2fb8.js} +178 -178
- package/es/{index-2d7ac156.cjs → index-a9246d17.cjs} +17 -17
- 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-6cc6ec1b.js → python-8a1664e6.js} +18 -18
- package/es/{python-71f59893.cjs → python-a3db9620.cjs} +1 -1
- 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/lib/aiTools.js +179 -176
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +230 -230
- package/lib/{index-2a269748.js → index-62fa175a.js} +30149 -29800
- package/lib/{python-41da18e5.js → python-4a48fa39.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +53 -44
- package/auto-imports.d.ts +0 -13
- package/components.d.ts +0 -59
- package/es/aiTools-a3b095f6.js +0 -113
- package/es/aiTools-f36136a4.cjs +0 -2
- package/es/index-476c4459.cjs +0 -1
- package/index.html +0 -13
- package/packages/ChartLayout/index.ts +0 -8
- package/packages/ChartLayout/index.vue +0 -63
- package/packages/ConfigProvider/index.ts +0 -8
- package/packages/ConfigProvider/index.vue +0 -66
- package/packages/Contextmenu/index.ts +0 -8
- package/packages/Contextmenu/index.vue +0 -134
- package/packages/CustomFunction/components/ManageDialog.vue +0 -706
- package/packages/CustomFunction/index.ts +0 -8
- package/packages/CustomFunction/index.vue +0 -200
- package/packages/FactorWarning/index.ts +0 -8
- package/packages/FactorWarning/index.vue +0 -754
- package/packages/FactorWarning/tools.js +0 -10
- package/packages/HeatMap/index.ts +0 -8
- package/packages/HeatMap/index.vue +0 -141
- package/packages/Kline/components/Contextmenu/index.vue +0 -110
- package/packages/Kline/components/Tips/index.vue +0 -40
- package/packages/Kline/componentsNew/KlineSlide/index.vue +0 -155
- package/packages/Kline/componentsNew/KlineSub/index.vue +0 -297
- package/packages/Kline/componentsNew/KlineTips/index.vue +0 -66
- package/packages/Kline/componentsNew/KlineUtils/index.vue +0 -84
- package/packages/Kline/componentsNew/Tips/index.vue +0 -33
- package/packages/Kline/formatKlineData.ts +0 -109
- package/packages/Kline/images/buy.svg +0 -1
- package/packages/Kline/images/pen.png +0 -0
- package/packages/Kline/images/sell.svg +0 -1
- package/packages/Kline/images/t.svg +0 -1
- package/packages/Kline/index.ts +0 -16
- package/packages/Kline/index.vue +0 -891
- package/packages/Kline/option.ts +0 -539
- package/packages/Kline/type.d.ts +0 -219
- package/packages/Kline/utils.ts +0 -682
- package/packages/KlineBasic/api.js +0 -58
- package/packages/KlineBasic/components/AverageTips/index.vue +0 -33
- package/packages/KlineBasic/components/Contextmenu/index.vue +0 -105
- package/packages/KlineBasic/components/KlineSub/index.vue +0 -332
- package/packages/KlineBasic/components/KlineTips/index.vue +0 -99
- package/packages/KlineBasic/components/Tips/index.vue +0 -56
- package/packages/KlineBasic/index.ts +0 -8
- package/packages/KlineBasic/index.vue +0 -839
- package/packages/KlineBasic/utils.js +0 -258
- package/packages/KlineConfig/config.js +0 -46
- package/packages/KlineConfig/index.ts +0 -8
- package/packages/KlineConfig/index.vue +0 -356
- package/packages/KlineNew/components/KlineSlide/index.vue +0 -156
- package/packages/KlineNew/components/KlineSub/index.vue +0 -335
- package/packages/KlineNew/components/KlineTips/index.vue +0 -96
- package/packages/KlineNew/components/KlineUtils/index.vue +0 -341
- package/packages/KlineNew/components/Tips/index.vue +0 -33
- package/packages/KlineNew/index.ts +0 -14
- package/packages/KlinePlus/components/SliderChart.vue +0 -208
- package/packages/KlinePlus/components/Tips.vue +0 -36
- package/packages/KlinePlus/images/buy.svg +0 -1
- package/packages/KlinePlus/images/sell.svg +0 -1
- package/packages/KlinePlus/images/t.svg +0 -1
- package/packages/KlinePlus/index.ts +0 -8
- package/packages/KlinePlus/index.vue +0 -1067
- package/packages/KlinePlus/utils.js +0 -771
- package/packages/LinearLegend/index.ts +0 -8
- package/packages/LinearLegend/index.vue +0 -112
- package/packages/Map/China.json +0 -1
- package/packages/Map/index.ts +0 -8
- package/packages/Map/index.vue +0 -147
- package/packages/MonacoEditor/index.ts +0 -8
- package/packages/MonacoEditor/index.vue +0 -1141
- package/packages/MonacoEditor/tools.js +0 -18
- package/packages/Pagination/index.ts +0 -8
- package/packages/Pagination/index.vue +0 -87
- package/packages/PasswordPrompt/index.ts +0 -8
- package/packages/PasswordPrompt/index.vue +0 -267
- package/packages/Pie/index.ts +0 -8
- package/packages/Pie/index.vue +0 -148
- package/packages/Table/components/Button/index.vue +0 -61
- package/packages/Table/components/Formatter/index.vue +0 -26
- package/packages/Table/index.d.ts +0 -0
- package/packages/Table/index.ts +0 -8
- package/packages/Table/index.vue +0 -133
- package/packages/TreeMap/index.ts +0 -8
- package/packages/TreeMap/index.vue +0 -186
- package/packages/User/components/EditInfoDialog/Mobile.vue +0 -214
- package/packages/User/components/EditInfoDialog/index.vue +0 -161
- package/packages/User/components/EditPasswordDialog.vue +0 -168
- package/packages/User/components/SetPasswordDialog.vue +0 -160
- package/packages/User/index.ts +0 -8
- package/packages/User/index.vue +0 -117
- package/packages/VarSelectDialog/Mock.js +0 -495
- package/packages/VarSelectDialog/VarietySelect.vue +0 -78
- package/packages/VarSelectDialog/index.ts +0 -8
- package/packages/VarSelectDialog/index.vue +0 -323
- package/packages/VarietyAiHelper/images/like.png +0 -0
- package/packages/VarietyAiHelper/images/like_no.png +0 -0
- package/packages/VarietyAiHelper/index.ts +0 -8
- package/packages/VarietyAiHelper/index.vue +0 -910
- package/packages/VarietyAutoComplete/index.ts +0 -8
- package/packages/VarietyAutoComplete/index.vue +0 -89
- package/packages/VarietySearch/components/AddTag/index.vue +0 -268
- package/packages/VarietySearch/components/CommonIndicator/IndicatorTags.vue +0 -52
- package/packages/VarietySearch/components/CommonIndicator/index.vue +0 -697
- package/packages/VarietySearch/components/CommonIndicator/tools.js +0 -260
- package/packages/VarietySearch/components/CompositeOrder/index.vue +0 -260
- package/packages/VarietySearch/components/FactorScreen/FactorDescription.vue +0 -70
- package/packages/VarietySearch/components/FactorScreen/index.vue +0 -1158
- package/packages/VarietySearch/components/FactorScreen/tools.js +0 -34
- package/packages/VarietySearch/config.js +0 -539
- package/packages/VarietySearch/index.ts +0 -8
- package/packages/VarietySearch/index.vue +0 -688
- package/packages/VarietyTextCopy/index.ts +0 -8
- package/packages/VarietyTextCopy/index.vue +0 -136
- package/packages/VirtualTable/index.ts +0 -8
- package/packages/VirtualTable/index.vue +0 -241
- package/packages/index.ts +0 -59
- package/public/aiTools.js +0 -176
- package/public/talib.wasm +0 -0
- package/public/vite.svg +0 -1
- package/src/App.vue +0 -140
- package/src/assets/vue.svg +0 -1
- package/src/components/Dialog/index.vue +0 -16
- package/src/components/Kline/index.vue +0 -21
- package/src/components/Table/index.vue +0 -27
- package/src/main.ts +0 -17
- package/src/pages/ChartLayout/index.vue +0 -22
- package/src/pages/ConfigProvider/index.vue +0 -9
- package/src/pages/Contextmenu/index.vue +0 -46
- package/src/pages/CustomFunction/index.vue +0 -13
- package/src/pages/FactorWarning/index.vue +0 -203
- package/src/pages/HeatMap/index.vue +0 -128
- package/src/pages/Kline/index.vue +0 -12
- package/src/pages/KlineBasic/api.js +0 -48
- package/src/pages/KlineBasic/index.vue +0 -366
- package/src/pages/KlineBasic/indicator.js +0 -114
- package/src/pages/KlineConfig/index.vue +0 -20
- package/src/pages/KlineNew/components/KlineAction/components/ContextMenu/index.vue +0 -91
- package/src/pages/KlineNew/components/KlineAction/components/YearChart/index.vue +0 -532
- package/src/pages/KlineNew/components/KlineAction/images/pen.png +0 -0
- package/src/pages/KlineNew/components/KlineAction/index.vue +0 -716
- package/src/pages/KlineNew/components/KlineAction/mockApi/index.js +0 -13
- package/src/pages/KlineNew/components/KlineAction/utils.js +0 -571
- package/src/pages/KlineNew/components/KlineBasic/index.vue +0 -336
- package/src/pages/KlineNew/components/KlineBasic/utils.js +0 -46
- package/src/pages/KlineNew/components/KlineNew/index.vue +0 -316
- package/src/pages/KlineNew/components/KlineNew/utils.js +0 -31
- package/src/pages/KlineNew/components/KlineSlide/index.vue +0 -448
- package/src/pages/KlineNew/components/KlineSlide/utils.js +0 -78
- package/src/pages/KlineNew/components/KlineSlideNew/index.vue +0 -430
- package/src/pages/KlineNew/components/KlineSlideNew/utils.js +0 -78
- package/src/pages/KlineNew/index.vue +0 -92
- package/src/pages/KlinePlus/KlineDialog/MultiCycle.vue +0 -312
- package/src/pages/KlinePlus/KlineDialog/api.js +0 -108
- package/src/pages/KlinePlus/KlineDialog/index.vue +0 -582
- package/src/pages/KlinePlus/KlineDialog/indicator.js +0 -109
- package/src/pages/KlinePlus/KlineDialog/tools.js +0 -86
- package/src/pages/KlinePlus/index.vue +0 -30
- package/src/pages/KlinePlus/tradeLogMock.js +0 -1927
- package/src/pages/LinearLegend/index.vue +0 -92
- package/src/pages/Map/index.vue +0 -62
- package/src/pages/MonacoEditor/index.vue +0 -63
- package/src/pages/Pagination/index.vue +0 -24
- package/src/pages/PasswordPrompt/index.vue +0 -12
- package/src/pages/Pie/index.vue +0 -36
- package/src/pages/Table/index.vue +0 -117
- package/src/pages/TreeMap/index.vue +0 -542
- package/src/pages/User/index.vue +0 -24
- package/src/pages/VarSelectDialog/index.vue +0 -16
- package/src/pages/VarietyAiHelper/index.vue +0 -20
- package/src/pages/VarietyAutoComplete/index.vue +0 -19
- package/src/pages/VarietySearch/api.js +0 -70
- package/src/pages/VarietySearch/index.vue +0 -467
- package/src/pages/VarietyTextCopy/index.vue +0 -24
- package/src/pages/VirtualTable/demo.json +0 -6377
- package/src/pages/VirtualTable/index.vue +0 -79
- package/src/router/index.ts +0 -9
- package/src/router/routes.ts +0 -132
- package/src/style.css +0 -79
- package/src/vite-env.d.ts +0 -9
- package/tsconfig.json +0 -30
- package/tsconfig.node.json +0 -10
package/es/User.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { b as Be, e as ie, _ as L, u as ue, n as Me, w as
|
|
2
|
-
import { E as J } from "./el-button-
|
|
3
|
-
import { a as S, h as V, E as
|
|
1
|
+
import { b as Be, e as ie, _ as L, u as ue, n as Me, w as Ue, l as Ee } from "./base-a5af3db3.js";
|
|
2
|
+
import { E as J } from "./el-button-94d3de38.js";
|
|
3
|
+
import { a as S, h as V, E as Ae, O as Ge, w as be, F as Le } from "./el-popper-fbd0dcea.js";
|
|
4
4
|
import "./el-scrollbar-323542e7.js";
|
|
5
|
-
import { defineComponent as z, ref as y, inject as P, computed as T, provide as Q, readonly as ze, toRef as W, unref as h, watch as qe, renderSlot as K, resolveComponent as
|
|
6
|
-
import { E as ce,
|
|
7
|
-
import {
|
|
8
|
-
import { c as he, E as te } from "./el-dialog-
|
|
9
|
-
import "./el-overlay-
|
|
10
|
-
import { a as le, E as se } from "./el-form-item-
|
|
11
|
-
import { E as re } from "./el-input-
|
|
12
|
-
import { E as
|
|
5
|
+
import { defineComponent as z, ref as y, inject as P, computed as T, provide as Q, readonly as ze, toRef as W, unref as h, watch as qe, renderSlot as K, resolveComponent as k, openBlock as C, createBlock as D, withCtx as l, createVNode as t, normalizeProps as Ye, guardReactiveProps as He, getCurrentInstance as Ce, createElementBlock as M, normalizeClass as X, createSlots as Je, mergeProps as ee, createCommentVNode as oe, nextTick as de, Fragment as Pe, createElementVNode as ne, withModifiers as H, resolveDynamicComponent as je, normalizeStyle as We, reactive as U, createTextVNode as R, toDisplayString as Z, withKeys as Fe } from "vue";
|
|
6
|
+
import { E as ce, g as $e, u as Ze, r as Qe } from "./index-eb96e074.js";
|
|
7
|
+
import { M as pe, U as Xe, w as xe, A as eo } from "./index-53cc4e43.js";
|
|
8
|
+
import { c as he, E as te } from "./el-dialog-5e30161f.js";
|
|
9
|
+
import "./el-overlay-3e17604b.js";
|
|
10
|
+
import { a as le, E as se } from "./el-form-item-9e8969ea.js";
|
|
11
|
+
import { E as re } from "./el-input-342b2def.js";
|
|
12
|
+
import { E as ke } from "./el-text-034bd3f4.js";
|
|
13
13
|
import "./el-message-4ed993c7.js";
|
|
14
14
|
import { _ as me } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
-
import { E as Y } from "./index-
|
|
16
|
-
import { P as
|
|
17
|
-
import { E as oo } from "./index-
|
|
18
|
-
import { c as no, e as to } from "./use-form-common-props-
|
|
19
|
-
import { c as lo, E as so, d as ro, a as Te, C as ao, b as io, e as uo, f as co, g as po, F as mo, L as fo } from "./dropdown-
|
|
15
|
+
import { E as Y } from "./index-5216d5f5.js";
|
|
16
|
+
import { P as Re } from "./index-44a382a5.js";
|
|
17
|
+
import { E as oo } from "./index-c5f2d372.js";
|
|
18
|
+
import { c as no, e as to } from "./use-form-common-props-ed72e914.js";
|
|
19
|
+
import { c as lo, E as so, d as ro, a as Te, C as ao, b as io, e as uo, f as co, g as po, F as mo, L as fo } from "./dropdown-72fbc15d.js";
|
|
20
20
|
import { u as vo } from "./index-d77a7336.js";
|
|
21
21
|
import { u as Se } from "./index-960806da.js";
|
|
22
22
|
import { c as _o } from "./castArray-7741a212.js";
|
|
23
23
|
import "./index-2e331d74.js";
|
|
24
|
-
import "./use-global-config-
|
|
25
|
-
import "./index-
|
|
24
|
+
import "./use-global-config-ee406d58.js";
|
|
25
|
+
import "./index-8c2d7e05.js";
|
|
26
26
|
import "./index-657047bb.js";
|
|
27
27
|
import "./vnode-5ddb7ed1.js";
|
|
28
28
|
import "./scroll-679bd6bf.js";
|
|
29
|
-
import "./_initCloneObject-
|
|
29
|
+
import "./_initCloneObject-5e73c9c8.js";
|
|
30
30
|
import "./typescript-7ae59c4c.js";
|
|
31
|
-
import "./index-
|
|
32
|
-
import "./config-provider-
|
|
31
|
+
import "./index-f034b910.js";
|
|
32
|
+
import "./config-provider-88b637a8.js";
|
|
33
33
|
const wo = Be({
|
|
34
34
|
style: { type: ie([String, Array, Object]) },
|
|
35
35
|
currentTabId: {
|
|
@@ -145,16 +145,16 @@ const wo = Be({
|
|
|
145
145
|
function ho(e, c, m, s, f, u) {
|
|
146
146
|
return K(e.$slots, "default");
|
|
147
147
|
}
|
|
148
|
-
var
|
|
149
|
-
const
|
|
148
|
+
var ko = /* @__PURE__ */ L($o, [["render", ho], ["__file", "roving-focus-group-impl.vue"]]);
|
|
149
|
+
const Ro = z({
|
|
150
150
|
name: "ElRovingFocusGroup",
|
|
151
151
|
components: {
|
|
152
152
|
ElFocusGroupCollection: go,
|
|
153
|
-
ElRovingFocusGroupImpl:
|
|
153
|
+
ElRovingFocusGroupImpl: ko
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
156
|
function To(e, c, m, s, f, u) {
|
|
157
|
-
const i =
|
|
157
|
+
const i = k("el-roving-focus-group-impl"), d = k("el-focus-group-collection");
|
|
158
158
|
return C(), D(d, null, {
|
|
159
159
|
default: l(() => [
|
|
160
160
|
t(i, Ye(He(e.$attrs)), {
|
|
@@ -167,7 +167,7 @@ function To(e, c, m, s, f, u) {
|
|
|
167
167
|
_: 3
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
var So = /* @__PURE__ */ L(
|
|
170
|
+
var So = /* @__PURE__ */ L(Ro, [["render", To], ["__file", "roving-focus-group.vue"]]);
|
|
171
171
|
const ae = Symbol("elDropdown"), Ne = "elDropdown", { ButtonGroup: Do } = J, No = z({
|
|
172
172
|
name: "ElDropdown",
|
|
173
173
|
components: {
|
|
@@ -175,7 +175,7 @@ const ae = Symbol("elDropdown"), Ne = "elDropdown", { ButtonGroup: Do } = J, No
|
|
|
175
175
|
ElButtonGroup: Do,
|
|
176
176
|
ElScrollbar: oo,
|
|
177
177
|
ElDropdownCollection: so,
|
|
178
|
-
ElTooltip:
|
|
178
|
+
ElTooltip: Ae,
|
|
179
179
|
ElRovingFocusGroup: So,
|
|
180
180
|
ElOnlyChild: Ge,
|
|
181
181
|
ElIcon: ce,
|
|
@@ -205,7 +205,7 @@ const ae = Symbol("elDropdown"), Ne = "elDropdown", { ButtonGroup: Do } = J, No
|
|
|
205
205
|
}
|
|
206
206
|
function N() {
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function A() {
|
|
209
209
|
const E = h(w);
|
|
210
210
|
p.value.includes("hover") && (E == null || E.focus({
|
|
211
211
|
preventScroll: !0
|
|
@@ -233,7 +233,7 @@ const ae = Symbol("elDropdown"), Ne = "elDropdown", { ButtonGroup: Do } = J, No
|
|
|
233
233
|
triggerId: g,
|
|
234
234
|
isUsingKeyboard: o,
|
|
235
235
|
onItemEnter: N,
|
|
236
|
-
onItemLeave:
|
|
236
|
+
onItemLeave: A
|
|
237
237
|
}), Q(Ne, {
|
|
238
238
|
instance: m,
|
|
239
239
|
dropdownSize: F,
|
|
@@ -275,7 +275,7 @@ const ae = Symbol("elDropdown"), Ne = "elDropdown", { ButtonGroup: Do } = J, No
|
|
|
275
275
|
});
|
|
276
276
|
function Oo(e, c, m, s, f, u) {
|
|
277
277
|
var i, d;
|
|
278
|
-
const w =
|
|
278
|
+
const w = k("el-dropdown-collection"), b = k("el-roving-focus-group"), r = k("el-scrollbar"), o = k("el-only-child"), a = k("el-tooltip"), n = k("el-button"), p = k("arrow-down"), _ = k("el-icon"), g = k("el-button-group");
|
|
279
279
|
return C(), M("div", {
|
|
280
280
|
class: X([e.ns.b(), e.ns.is("disabled", e.disabled)])
|
|
281
281
|
}, [
|
|
@@ -469,7 +469,7 @@ const Ko = z({
|
|
|
469
469
|
}
|
|
470
470
|
});
|
|
471
471
|
function Bo(e, c, m, s, f, u) {
|
|
472
|
-
const i =
|
|
472
|
+
const i = k("el-roving-focus-collection-item");
|
|
473
473
|
return C(), D(i, {
|
|
474
474
|
id: e.id,
|
|
475
475
|
focusable: e.focusable,
|
|
@@ -482,7 +482,7 @@ function Bo(e, c, m, s, f, u) {
|
|
|
482
482
|
}, 8, ["id", "focusable", "active"]);
|
|
483
483
|
}
|
|
484
484
|
var Mo = /* @__PURE__ */ L(Ko, [["render", Bo], ["__file", "roving-focus-item.vue"]]);
|
|
485
|
-
const
|
|
485
|
+
const Uo = z({
|
|
486
486
|
name: "DropdownItemImpl",
|
|
487
487
|
components: {
|
|
488
488
|
ElIcon: ce
|
|
@@ -514,8 +514,8 @@ const Ao = z({
|
|
|
514
514
|
};
|
|
515
515
|
}
|
|
516
516
|
});
|
|
517
|
-
function
|
|
518
|
-
const i =
|
|
517
|
+
function Ao(e, c, m, s, f, u) {
|
|
518
|
+
const i = k("el-icon");
|
|
519
519
|
return C(), M(Pe, null, [
|
|
520
520
|
e.divided ? (C(), M("li", {
|
|
521
521
|
key: 0,
|
|
@@ -544,7 +544,7 @@ function Uo(e, c, m, s, f, u) {
|
|
|
544
544
|
], 16, ["aria-disabled", "tabindex", "role", "onClick", "onFocus", "onKeydown", "onMousedown", "onPointermove", "onPointerleave"])
|
|
545
545
|
], 64);
|
|
546
546
|
}
|
|
547
|
-
var Go = /* @__PURE__ */ L(
|
|
547
|
+
var Go = /* @__PURE__ */ L(Uo, [["render", Ao], ["__file", "dropdown-item-impl.vue"]]);
|
|
548
548
|
const Oe = () => {
|
|
549
549
|
const e = P(Ne, {}), c = T(() => e == null ? void 0 : e.dropdownSize);
|
|
550
550
|
return {
|
|
@@ -596,7 +596,7 @@ const Oe = () => {
|
|
|
596
596
|
});
|
|
597
597
|
function zo(e, c, m, s, f, u) {
|
|
598
598
|
var i;
|
|
599
|
-
const d =
|
|
599
|
+
const d = k("el-dropdown-item-impl"), w = k("el-roving-focus-item"), b = k("el-dropdown-collection-item");
|
|
600
600
|
return C(), D(b, {
|
|
601
601
|
disabled: e.disabled,
|
|
602
602
|
"text-value": (i = e.textValue) != null ? i : e.textContent
|
|
@@ -636,11 +636,11 @@ const qo = z({
|
|
|
636
636
|
onFocus: _,
|
|
637
637
|
onMousedown: g
|
|
638
638
|
} = P(ve, void 0), { collectionRef: v } = P(fe, void 0), I = T(() => [c.b("menu"), c.bm("menu", s == null ? void 0 : s.value)]), B = he(i, b, f, o, v), F = V((N) => {
|
|
639
|
-
var
|
|
640
|
-
(
|
|
639
|
+
var A;
|
|
640
|
+
(A = e.onKeydown) == null || A.call(e, N);
|
|
641
641
|
}, (N) => {
|
|
642
|
-
const { currentTarget:
|
|
643
|
-
if (
|
|
642
|
+
const { currentTarget: A, code: G, target: O } = N;
|
|
643
|
+
if (A.contains(O), S.tab === G && N.stopImmediatePropagation(), N.preventDefault(), O !== h(i) || !mo.includes(G))
|
|
644
644
|
return;
|
|
645
645
|
const x = r().filter((j) => !j.disabled).map((j) => j.ref);
|
|
646
646
|
fo.includes(G) && x.reverse(), _e(x);
|
|
@@ -679,7 +679,7 @@ function Yo(e, c, m, s, f, u) {
|
|
|
679
679
|
], 46, ["role", "aria-labelledby", "onBlur", "onFocus", "onKeydown", "onMousedown"]);
|
|
680
680
|
}
|
|
681
681
|
var Ke = /* @__PURE__ */ L(qo, [["render", Yo], ["__file", "dropdown-menu.vue"]]);
|
|
682
|
-
const Ho =
|
|
682
|
+
const Ho = Ue(Vo, {
|
|
683
683
|
DropdownItem: Ve,
|
|
684
684
|
DropdownMenu: Ke
|
|
685
685
|
}), Jo = Ee(Ve), jo = Ee(Ke);
|
|
@@ -689,10 +689,10 @@ const Wo = { class: "mobile" }, Zo = {
|
|
|
689
689
|
}, Qo = 60, Xo = {
|
|
690
690
|
__name: "Mobile",
|
|
691
691
|
setup(e) {
|
|
692
|
-
const c = P("stConfig"), m = P("userData"), s = y(!1), f = y(), u =
|
|
692
|
+
const c = P("stConfig"), m = P("userData"), s = y(!1), f = y(), u = U({
|
|
693
693
|
mobile: "",
|
|
694
694
|
verifyCode: ""
|
|
695
|
-
}), i =
|
|
695
|
+
}), i = U({
|
|
696
696
|
mobile: [
|
|
697
697
|
{ required: !0, message: "请输入手机号", trigger: "blur" },
|
|
698
698
|
{
|
|
@@ -731,12 +731,12 @@ const Wo = { class: "mobile" }, Zo = {
|
|
|
731
731
|
});
|
|
732
732
|
};
|
|
733
733
|
return (n, p) => {
|
|
734
|
-
const _ =
|
|
734
|
+
const _ = ke, g = J, v = re, I = le, B = se, F = te;
|
|
735
735
|
return C(), M(Pe, null, [
|
|
736
736
|
ne("div", Wo, [
|
|
737
737
|
h(m).mobile ? (C(), D(_, { key: 0 }, {
|
|
738
738
|
default: l(() => [
|
|
739
|
-
|
|
739
|
+
R(Z(h(m).mobile), 1)
|
|
740
740
|
]),
|
|
741
741
|
_: 1
|
|
742
742
|
})) : oe("", !0),
|
|
@@ -745,7 +745,7 @@ const Wo = { class: "mobile" }, Zo = {
|
|
|
745
745
|
onClick: o
|
|
746
746
|
}, {
|
|
747
747
|
default: l(() => [
|
|
748
|
-
|
|
748
|
+
R(Z(h(m).mobile ? "更换手机号" : "立即绑定"), 1)
|
|
749
749
|
]),
|
|
750
750
|
_: 1
|
|
751
751
|
})
|
|
@@ -765,7 +765,7 @@ const Wo = { class: "mobile" }, Zo = {
|
|
|
765
765
|
onClick: p[2] || (p[2] = ($) => s.value = !1)
|
|
766
766
|
}, {
|
|
767
767
|
default: l(() => [
|
|
768
|
-
|
|
768
|
+
R(" 取消 ")
|
|
769
769
|
]),
|
|
770
770
|
_: 1
|
|
771
771
|
}),
|
|
@@ -774,7 +774,7 @@ const Wo = { class: "mobile" }, Zo = {
|
|
|
774
774
|
onClick: a
|
|
775
775
|
}, {
|
|
776
776
|
default: l(() => [
|
|
777
|
-
|
|
777
|
+
R(" 确认 ")
|
|
778
778
|
]),
|
|
779
779
|
_: 1
|
|
780
780
|
})
|
|
@@ -832,14 +832,14 @@ const Wo = { class: "mobile" }, Zo = {
|
|
|
832
832
|
], 64);
|
|
833
833
|
};
|
|
834
834
|
}
|
|
835
|
-
}, xo = /* @__PURE__ */ me(Xo, [["__scopeId", "data-v-
|
|
835
|
+
}, xo = /* @__PURE__ */ me(Xo, [["__scopeId", "data-v-0a4fbcc3"]]);
|
|
836
836
|
const en = {
|
|
837
837
|
__name: "index",
|
|
838
838
|
setup(e, { expose: c }) {
|
|
839
|
-
const m = P("stConfig"), s = P("userData"), f = y(!1), u = y(), i =
|
|
839
|
+
const m = P("stConfig"), s = P("userData"), f = y(!1), u = y(), i = U({
|
|
840
840
|
nickName: "",
|
|
841
841
|
email: ""
|
|
842
|
-
}), d =
|
|
842
|
+
}), d = U({
|
|
843
843
|
nickName: [
|
|
844
844
|
{
|
|
845
845
|
validator: (b, r, o) => {
|
|
@@ -876,7 +876,7 @@ const en = {
|
|
|
876
876
|
}), f.value = !0;
|
|
877
877
|
}
|
|
878
878
|
}), (b, r) => {
|
|
879
|
-
const o =
|
|
879
|
+
const o = ke, a = le, n = re, p = se, _ = J, g = te;
|
|
880
880
|
return C(), D(g, {
|
|
881
881
|
"modal-class": "edit-info",
|
|
882
882
|
modelValue: f.value,
|
|
@@ -892,7 +892,7 @@ const en = {
|
|
|
892
892
|
onClick: r[2] || (r[2] = (v) => f.value = !1)
|
|
893
893
|
}, {
|
|
894
894
|
default: l(() => [
|
|
895
|
-
|
|
895
|
+
R(" 取消 ")
|
|
896
896
|
]),
|
|
897
897
|
_: 1
|
|
898
898
|
}),
|
|
@@ -901,7 +901,7 @@ const en = {
|
|
|
901
901
|
onClick: w
|
|
902
902
|
}, {
|
|
903
903
|
default: l(() => [
|
|
904
|
-
|
|
904
|
+
R(" 确认 ")
|
|
905
905
|
]),
|
|
906
906
|
_: 1
|
|
907
907
|
})
|
|
@@ -919,7 +919,7 @@ const en = {
|
|
|
919
919
|
default: l(() => [
|
|
920
920
|
t(o, null, {
|
|
921
921
|
default: l(() => [
|
|
922
|
-
|
|
922
|
+
R(Z(h(s).username), 1)
|
|
923
923
|
]),
|
|
924
924
|
_: 1
|
|
925
925
|
})
|
|
@@ -964,14 +964,14 @@ const en = {
|
|
|
964
964
|
}, 8, ["modelValue"]);
|
|
965
965
|
};
|
|
966
966
|
}
|
|
967
|
-
}, on = /* @__PURE__ */ me(en, [["__scopeId", "data-v-
|
|
967
|
+
}, on = /* @__PURE__ */ me(en, [["__scopeId", "data-v-a6f35a3e"]]);
|
|
968
968
|
const nn = {
|
|
969
969
|
__name: "SetPasswordDialog",
|
|
970
970
|
setup(e, { expose: c }) {
|
|
971
|
-
const m = y(null), s = P("stConfig"), f = P("userData"), u = y(!1), i = y(), d =
|
|
971
|
+
const m = y(null), s = P("stConfig"), f = P("userData"), u = y(!1), i = y(), d = U({
|
|
972
972
|
newPassword: "",
|
|
973
973
|
newPassword2: ""
|
|
974
|
-
}), w =
|
|
974
|
+
}), w = U({
|
|
975
975
|
newPassword: [],
|
|
976
976
|
newPassword2: [
|
|
977
977
|
{ required: !0, message: "请输入确认密码", trigger: "blur" },
|
|
@@ -1016,7 +1016,7 @@ const nn = {
|
|
|
1016
1016
|
onClick: a[6] || (a[6] = (I) => u.value = !1)
|
|
1017
1017
|
}, {
|
|
1018
1018
|
default: l(() => [
|
|
1019
|
-
|
|
1019
|
+
R(" 取消 ")
|
|
1020
1020
|
]),
|
|
1021
1021
|
_: 1
|
|
1022
1022
|
}),
|
|
@@ -1025,7 +1025,7 @@ const nn = {
|
|
|
1025
1025
|
onClick: a[7] || (a[7] = (I) => r(i.value))
|
|
1026
1026
|
}, {
|
|
1027
1027
|
default: l(() => [
|
|
1028
|
-
|
|
1028
|
+
R(" 确认 ")
|
|
1029
1029
|
]),
|
|
1030
1030
|
_: 1
|
|
1031
1031
|
})
|
|
@@ -1058,7 +1058,7 @@ const nn = {
|
|
|
1058
1058
|
}),
|
|
1059
1059
|
onBlur: a[2] || (a[2] = (I) => b.value = !1)
|
|
1060
1060
|
}, null, 8, ["modelValue"]),
|
|
1061
|
-
t(
|
|
1061
|
+
t(Re, {
|
|
1062
1062
|
ref_key: "PasswordPromptRef",
|
|
1063
1063
|
ref: m,
|
|
1064
1064
|
value: d.newPassword,
|
|
@@ -1093,11 +1093,11 @@ const nn = {
|
|
|
1093
1093
|
const tn = {
|
|
1094
1094
|
__name: "EditPasswordDialog",
|
|
1095
1095
|
setup(e, { expose: c }) {
|
|
1096
|
-
const m = P("stConfig"), s = y(null), f = y(!1), u = y(), i =
|
|
1096
|
+
const m = P("stConfig"), s = y(null), f = y(!1), u = y(), i = U({
|
|
1097
1097
|
password: "",
|
|
1098
1098
|
newPassword: "",
|
|
1099
1099
|
newPassword2: ""
|
|
1100
|
-
}), d =
|
|
1100
|
+
}), d = U({
|
|
1101
1101
|
password: [{ required: !0, message: "请输入原密码", trigger: "blur" }],
|
|
1102
1102
|
newPassword: [],
|
|
1103
1103
|
newPassword2: [
|
|
@@ -1144,7 +1144,7 @@ const tn = {
|
|
|
1144
1144
|
onClick: o[7] || (o[7] = (v) => f.value = !1)
|
|
1145
1145
|
}, {
|
|
1146
1146
|
default: l(() => [
|
|
1147
|
-
|
|
1147
|
+
R(" 取消 ")
|
|
1148
1148
|
]),
|
|
1149
1149
|
_: 1
|
|
1150
1150
|
}),
|
|
@@ -1153,7 +1153,7 @@ const tn = {
|
|
|
1153
1153
|
onClick: o[8] || (o[8] = (v) => b(u.value))
|
|
1154
1154
|
}, {
|
|
1155
1155
|
default: l(() => [
|
|
1156
|
-
|
|
1156
|
+
R(" 确认 ")
|
|
1157
1157
|
]),
|
|
1158
1158
|
_: 1
|
|
1159
1159
|
})
|
|
@@ -1200,7 +1200,7 @@ const tn = {
|
|
|
1200
1200
|
}),
|
|
1201
1201
|
onBlur: o[3] || (o[3] = (v) => w.value = !1)
|
|
1202
1202
|
}, null, 8, ["modelValue"]),
|
|
1203
|
-
t(
|
|
1203
|
+
t(Re, {
|
|
1204
1204
|
ref_key: "PasswordPromptRef",
|
|
1205
1205
|
ref: s,
|
|
1206
1206
|
value: i.newPassword,
|
|
@@ -1243,7 +1243,7 @@ const ln = { class: "user" }, sn = { class: "user-msg" }, rn = {
|
|
|
1243
1243
|
},
|
|
1244
1244
|
emits: ["loginout"],
|
|
1245
1245
|
setup(e, { emit: c }) {
|
|
1246
|
-
const m = y(null), s = y(null), f = y(null), u =
|
|
1246
|
+
const m = y(null), s = y(null), f = y(null), u = U(Xe()), i = c, d = e, w = () => {
|
|
1247
1247
|
const { loginUrl: r } = d.config || {};
|
|
1248
1248
|
xe(r);
|
|
1249
1249
|
}, b = () => {
|
|
@@ -1268,7 +1268,7 @@ const ln = { class: "user" }, sn = { class: "user-msg" }, rn = {
|
|
|
1268
1268
|
})
|
|
1269
1269
|
}, {
|
|
1270
1270
|
default: l(() => [
|
|
1271
|
-
|
|
1271
|
+
R("设置资料")
|
|
1272
1272
|
]),
|
|
1273
1273
|
_: 1
|
|
1274
1274
|
}),
|
|
@@ -1280,7 +1280,7 @@ const ln = { class: "user" }, sn = { class: "user-msg" }, rn = {
|
|
|
1280
1280
|
})
|
|
1281
1281
|
}, {
|
|
1282
1282
|
default: l(() => [
|
|
1283
|
-
|
|
1283
|
+
R(" 设置密码 ")
|
|
1284
1284
|
]),
|
|
1285
1285
|
_: 1
|
|
1286
1286
|
})) : (C(), D(n, {
|
|
@@ -1291,13 +1291,13 @@ const ln = { class: "user" }, sn = { class: "user-msg" }, rn = {
|
|
|
1291
1291
|
})
|
|
1292
1292
|
}, {
|
|
1293
1293
|
default: l(() => [
|
|
1294
|
-
|
|
1294
|
+
R(" 修改密码 ")
|
|
1295
1295
|
]),
|
|
1296
1296
|
_: 1
|
|
1297
1297
|
})),
|
|
1298
1298
|
t(n, { onClick: b }, {
|
|
1299
1299
|
default: l(() => [
|
|
1300
|
-
|
|
1300
|
+
R("退出登录")
|
|
1301
1301
|
]),
|
|
1302
1302
|
_: 1
|
|
1303
1303
|
})
|
|
@@ -1328,7 +1328,7 @@ const ln = { class: "user" }, sn = { class: "user-msg" }, rn = {
|
|
|
1328
1328
|
class: "user-login",
|
|
1329
1329
|
onClick: w
|
|
1330
1330
|
}, [
|
|
1331
|
-
|
|
1331
|
+
R(" 前往登录 "),
|
|
1332
1332
|
t(a, { class: "user-login-icon" }, {
|
|
1333
1333
|
default: l(() => [
|
|
1334
1334
|
t(h(Qe))
|
|
@@ -1351,7 +1351,7 @@ const ln = { class: "user" }, sn = { class: "user-msg" }, rn = {
|
|
|
1351
1351
|
]);
|
|
1352
1352
|
};
|
|
1353
1353
|
}
|
|
1354
|
-
}, an = /* @__PURE__ */ me(rn, [["__scopeId", "data-v-
|
|
1354
|
+
}, an = /* @__PURE__ */ me(rn, [["__scopeId", "data-v-23f8b79e"]]), zn = {
|
|
1355
1355
|
install(e) {
|
|
1356
1356
|
e.component("st-user", an);
|
|
1357
1357
|
}
|
package/es/VarSelectDialog.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";require("./base-ef747d02.cjs");const I=require("./el-dialog-
|
|
1
|
+
"use strict";require("./base-ef747d02.cjs");const I=require("./el-dialog-02942e22.cjs");require("./el-overlay-8f1da9e8.cjs");require("./el-tooltip-0ea8fbf8.cjs");const L=require("./el-popper-a4f3ae4d.cjs"),D=require("./el-button-613e0bb2.cjs"),$=require("./el-input-9a9a7f7f.cjs");require("./el-tag-9c2f329f.cjs");const B=require("./el-select-70806166.cjs");require("./el-scrollbar-bc3f790d.cjs");const e=require("vue"),x=require("./index-00f6ca75.cjs"),F=require("./VarietySelect-d58eee29.cjs");require("./el-message-0ea8fbf8.cjs");const U=require("./_plugin-vue_export-helper-f246444f.cjs"),N=require("./index-f58b2920.cjs");require("./use-form-common-props-ac666630.cjs");require("./index-9780a537.cjs");require("./index-bb833443.cjs");require("./index-f1c702f6.cjs");require("./vnode-b906ae6d.cjs");require("./scroll-b108dabd.cjs");require("./use-global-config-23472471.cjs");require("./index-5c0dd943.cjs");require("./index-eea0bcb3.cjs");require("./typescript-b63f8e83.cjs");require("./index-870b6c9d.cjs");require("./index-185792a7.cjs");require("./index-ac8dc53d.cjs");require("./castArray-35947698.cjs");require("./debounce-62f5b6e8.cjs");require("./el-autocomplete-e0857c5b.cjs");require("./index-94131fd7.cjs");require("./config-provider-06ea6b42.cjs");const z=m=>(e.pushScopeId("data-v-d78e1f53"),m=m(),e.popScopeId(),m),T={class:"custom-header"},j={class:"left"},M=z(()=>e.createElementVNode("span",null," 选择变量 ",-1)),P={class:"right"},A={class:"custom-body"},O={class:"config-list"},H={class:"config-item"},R={key:0},G={key:0},J={key:1},K={key:0},Q={style:{"max-width":"820px"}},W={style:{"white-space":"pre-line"}},X={__name:"index",props:{useCase:{type:String,default:"1"}},setup(m,{expose:C}){const E=e.inject("stConfig"),g=m,_=e.ref(null),V=e.ref(!1),f=e.ref(null),h=e.ref([]),q=e.computed(()=>{var r;return((r=h.value.find(n=>n.varName===f.value))==null?void 0:r.formatList)??[]}),b=r=>r.replace(/^\[|\]$/g,"").split("],[").map(c=>{const s=c.replace(/\[|\]/g,""),[k,u]=s.split(",");return{label:k.trim(),value:u.trim()}}),S=r=>{const n=[];for(let i=0;i<r.length;i++){const o=r[i];switch(console.log(o),o.vtype){case"text":{n.push(o.param);break}default:{if(!o.modelValue)return N.ElMessage.error("请检查插入格式内是否填写完整");let t=o.modelValue;o.prefix&&(t=`${o.prefix}${t}`),o.suffix&&(t=`${t}${o.suffix}`),n.push(t);break}}}if(!_.value)return N.ElMessage.error("未检测到编辑器实例");const v=n.join("_"),c=_.value.getInstance(),s=c.getPosition(),u=_.value.getValue().split(`
|
|
2
2
|
`);if(s.lineNumber<=u.length){const i=s.lineNumber-1,o=u[i],t=s.column-1,d=t>0?o[t-1]:"",l=t<o.length?o[t]:"";let p=v;d&&d!==" "&&!/[\s({[ ]/.test(d)&&(p=" "+p),l&&l!==" "&&!/[\s)}\]]/.test(l)&&(p=p+" ");const a=o.substring(0,t)+p+o.substring(t);u[i]=a;const y=u.join(`
|
|
3
|
-
`);_.value.setValue(y);const w=s.column+p.length;c.setPosition({lineNumber:s.lineNumber,column:w}),c.focus()}};return e.onMounted(async()=>{const{body:r}=await E.request.post("/common/conf/queryAllBackVariables",{useCase:g.useCase});h.value=r??[]}),C({open:r=>{_.value=r,V.value=!0},close:()=>{V.value=!1}}),(r,n)=>{const v=B.ElOption,c=B.ElSelect,s=x.ElIcon,k=$.ElInput,u=D.ElButton,i=L.ElTooltip,o=I.ElDialog;return e.openBlock(),e.createBlock(o,{"modal-class":"var-select-dialog",modelValue:V.value,"onUpdate:modelValue":n[2]||(n[2]=t=>V.value=t),"align-center":"","append-to-body":"","destroy-on-close":"",draggable:"",overflow:"",modal:!1,"modal-penetrable":!0,"show-close":!1},{header:e.withCtx(()=>[e.createElementVNode("div",T,[e.createElementVNode("div",j,[M,e.createVNode(c,{modelValue:f.value,"onUpdate:modelValue":n[0]||(n[0]=t=>f.value=t),placeholder:"选择变量",filterable:"",clearable:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(t,d)=>(e.openBlock(),e.createBlock(v,{key:d,label:t.varName,value:t.varName},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",P,[e.createVNode(s,{class:"el-icon--left",onClick:n[1]||(n[1]=t=>V.value=!1)},{default:e.withCtx(()=>[e.createVNode(e.unref(x.close_default))]),_:1})])])]),default:e.withCtx(()=>[e.createElementVNode("div",A,[q.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(q.value,(t,d)=>(e.openBlock(),e.createElementBlock("div",{class:"format-item",key:d},[e.createElementVNode("span",null,"格式"+e.toDisplayString(d+1)+":",1),e.createElementVNode("div",O,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.configList,(l,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",H,[l.vtype==="text"?(e.openBlock(),e.createElementBlock("span",R,e.toDisplayString(l.param),1)):e.createCommentVNode("",!0),l.vtype==="inputVariety"?(e.openBlock(),e.createBlock(F.VarietySelect,{key:1,size:"small",placeholder:l.param,selectClearEnable:!1,labelShowEnable:!1,onSelect:({name:a,code:y})=>l.modelValue=y,onChange:a=>l.modelValue=a,style:{width:"100px"}},null,8,["placeholder","onSelect","onChange"])):e.createCommentVNode("",!0),l.vtype==="input"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[l.prefix?(e.openBlock(),e.createElementBlock("span",G,e.toDisplayString(l.prefix),1)):e.createCommentVNode("",!0),e.createVNode(k,{modelValue:l.modelValue,"onUpdate:modelValue":a=>l.modelValue=a,placeholder:l.param,size:"small"},null,8,["modelValue","onUpdate:modelValue","placeholder"]),l.suffix?(e.openBlock(),e.createElementBlock("span",J,e.toDisplayString(l.suffix),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),l.vtype==="select"?(e.openBlock(),e.createBlock(c,{key:3,modelValue:l.modelValue,"onUpdate:modelValue":a=>l.modelValue=a,placeholder:l.param,clearable:"",size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b(l.optionsStr),a=>(e.openBlock(),e.createBlock(v,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):e.createCommentVNode("",!0)]),p!==t.configList.length-1?(e.openBlock(),e.createElementBlock("span",K,"_")):e.createCommentVNode("",!0)],64))),256))]),e.createVNode(u,{type:"primary",plain:"",size:"small",onClick:l=>S(t.configList)},{default:e.withCtx(()=>[e.createTextVNode(" 插入变量 ")]),_:2},1032,["onClick"]),e.createVNode(i,{effect:"dark",placement:"top-start"},{content:e.withCtx(()=>[e.createElementVNode("div",Q,[e.createElementVNode("span",W,e.toDisplayString(t.tip),1)])]),default:e.withCtx(()=>[e.createVNode(s,null,{default:e.withCtx(()=>[e.createVNode(e.unref(x.info_filled_default))]),_:1})]),_:2},1024)]))),128)):e.createCommentVNode("",!0)])]),_:1},8,["modelValue"])}}},Y=U._export_sfc(X,[["__scopeId","data-v-
|
|
3
|
+
`);_.value.setValue(y);const w=s.column+p.length;c.setPosition({lineNumber:s.lineNumber,column:w}),c.focus()}};return e.onMounted(async()=>{const{body:r}=await E.request.post("/common/conf/queryAllBackVariables",{useCase:g.useCase});h.value=r??[]}),C({open:r=>{_.value=r,V.value=!0},close:()=>{V.value=!1}}),(r,n)=>{const v=B.ElOption,c=B.ElSelect,s=x.ElIcon,k=$.ElInput,u=D.ElButton,i=L.ElTooltip,o=I.ElDialog;return e.openBlock(),e.createBlock(o,{"modal-class":"var-select-dialog",modelValue:V.value,"onUpdate:modelValue":n[2]||(n[2]=t=>V.value=t),"align-center":"","append-to-body":"","destroy-on-close":"",draggable:"",overflow:"",modal:!1,"modal-penetrable":!0,"show-close":!1},{header:e.withCtx(()=>[e.createElementVNode("div",T,[e.createElementVNode("div",j,[M,e.createVNode(c,{modelValue:f.value,"onUpdate:modelValue":n[0]||(n[0]=t=>f.value=t),placeholder:"选择变量",filterable:"",clearable:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(t,d)=>(e.openBlock(),e.createBlock(v,{key:d,label:t.varName,value:t.varName},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",P,[e.createVNode(s,{class:"el-icon--left",onClick:n[1]||(n[1]=t=>V.value=!1)},{default:e.withCtx(()=>[e.createVNode(e.unref(x.close_default))]),_:1})])])]),default:e.withCtx(()=>[e.createElementVNode("div",A,[q.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(q.value,(t,d)=>(e.openBlock(),e.createElementBlock("div",{class:"format-item",key:d},[e.createElementVNode("span",null,"格式"+e.toDisplayString(d+1)+":",1),e.createElementVNode("div",O,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.configList,(l,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",H,[l.vtype==="text"?(e.openBlock(),e.createElementBlock("span",R,e.toDisplayString(l.param),1)):e.createCommentVNode("",!0),l.vtype==="inputVariety"?(e.openBlock(),e.createBlock(F.VarietySelect,{key:1,size:"small",placeholder:l.param,selectClearEnable:!1,labelShowEnable:!1,onSelect:({name:a,code:y})=>l.modelValue=y,onChange:a=>l.modelValue=a,style:{width:"100px"}},null,8,["placeholder","onSelect","onChange"])):e.createCommentVNode("",!0),l.vtype==="input"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[l.prefix?(e.openBlock(),e.createElementBlock("span",G,e.toDisplayString(l.prefix),1)):e.createCommentVNode("",!0),e.createVNode(k,{modelValue:l.modelValue,"onUpdate:modelValue":a=>l.modelValue=a,placeholder:l.param,size:"small"},null,8,["modelValue","onUpdate:modelValue","placeholder"]),l.suffix?(e.openBlock(),e.createElementBlock("span",J,e.toDisplayString(l.suffix),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),l.vtype==="select"?(e.openBlock(),e.createBlock(c,{key:3,modelValue:l.modelValue,"onUpdate:modelValue":a=>l.modelValue=a,placeholder:l.param,clearable:"",size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b(l.optionsStr),a=>(e.openBlock(),e.createBlock(v,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):e.createCommentVNode("",!0)]),p!==t.configList.length-1?(e.openBlock(),e.createElementBlock("span",K,"_")):e.createCommentVNode("",!0)],64))),256))]),e.createVNode(u,{type:"primary",plain:"",size:"small",onClick:l=>S(t.configList)},{default:e.withCtx(()=>[e.createTextVNode(" 插入变量 ")]),_:2},1032,["onClick"]),e.createVNode(i,{effect:"dark",placement:"top-start"},{content:e.withCtx(()=>[e.createElementVNode("div",Q,[e.createElementVNode("span",W,e.toDisplayString(t.tip),1)])]),default:e.withCtx(()=>[e.createVNode(s,null,{default:e.withCtx(()=>[e.createVNode(e.unref(x.info_filled_default))]),_:1})]),_:2},1024)]))),128)):e.createCommentVNode("",!0)])]),_:1},8,["modelValue"])}}},Y=U._export_sfc(X,[["__scopeId","data-v-d78e1f53"]]),Z={install(m){m.component("st-varSelectDialog",Y)}};module.exports=Z;
|
package/es/VarSelectDialog.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import "./base-a5af3db3.js";
|
|
2
|
-
import { E as M } from "./el-dialog-
|
|
3
|
-
import "./el-overlay-
|
|
2
|
+
import { E as M } from "./el-dialog-5e30161f.js";
|
|
3
|
+
import "./el-overlay-3e17604b.js";
|
|
4
4
|
import "./el-tooltip-4ed993c7.js";
|
|
5
|
-
import { E as O } from "./el-popper-
|
|
6
|
-
import { E as P } from "./el-button-
|
|
7
|
-
import { E as F } from "./el-input-
|
|
8
|
-
import "./el-tag-
|
|
9
|
-
import { E as R, a as G } from "./el-select-
|
|
5
|
+
import { E as O } from "./el-popper-fbd0dcea.js";
|
|
6
|
+
import { E as P } from "./el-button-94d3de38.js";
|
|
7
|
+
import { E as F } from "./el-input-342b2def.js";
|
|
8
|
+
import "./el-tag-66c83156.js";
|
|
9
|
+
import { E as R, a as G } from "./el-select-44fa547d.js";
|
|
10
10
|
import "./el-scrollbar-323542e7.js";
|
|
11
11
|
import { inject as H, ref as S, computed as J, onMounted as K, openBlock as o, createBlock as g, withCtx as p, createElementVNode as u, createVNode as f, createElementBlock as r, Fragment as y, renderList as w, unref as U, toDisplayString as E, createCommentVNode as h, createTextVNode as Q, pushScopeId as W, popScopeId as X } from "vue";
|
|
12
|
-
import { c as Y, i as Z, E as ee } from "./index-
|
|
13
|
-
import { V as te } from "./VarietySelect-
|
|
12
|
+
import { c as Y, i as Z, E as ee } from "./index-eb96e074.js";
|
|
13
|
+
import { V as te } from "./VarietySelect-41daac7b.js";
|
|
14
14
|
import "./el-message-4ed993c7.js";
|
|
15
15
|
import { _ as le } from "./_plugin-vue_export-helper-dad06003.js";
|
|
16
|
-
import { E as B } from "./index-
|
|
17
|
-
import "./use-form-common-props-
|
|
16
|
+
import { E as B } from "./index-5216d5f5.js";
|
|
17
|
+
import "./use-form-common-props-ed72e914.js";
|
|
18
18
|
import "./index-960806da.js";
|
|
19
19
|
import "./index-d77a7336.js";
|
|
20
20
|
import "./index-2e331d74.js";
|
|
21
21
|
import "./vnode-5ddb7ed1.js";
|
|
22
22
|
import "./scroll-679bd6bf.js";
|
|
23
|
-
import "./use-global-config-
|
|
24
|
-
import "./index-
|
|
23
|
+
import "./use-global-config-ee406d58.js";
|
|
24
|
+
import "./index-8c2d7e05.js";
|
|
25
25
|
import "./index-657047bb.js";
|
|
26
26
|
import "./typescript-7ae59c4c.js";
|
|
27
|
-
import "./index-
|
|
28
|
-
import "./index-
|
|
29
|
-
import "./index-
|
|
27
|
+
import "./index-f034b910.js";
|
|
28
|
+
import "./index-c5f2d372.js";
|
|
29
|
+
import "./index-1e2a38ab.js";
|
|
30
30
|
import "./castArray-7741a212.js";
|
|
31
31
|
import "./debounce-8d53f4dd.js";
|
|
32
|
-
import "./el-autocomplete-
|
|
33
|
-
import "./index-
|
|
34
|
-
import "./config-provider-
|
|
35
|
-
const oe = (V) => (W("data-v-
|
|
32
|
+
import "./el-autocomplete-6cafcdf1.js";
|
|
33
|
+
import "./index-53cc4e43.js";
|
|
34
|
+
import "./config-provider-88b637a8.js";
|
|
35
|
+
const oe = (V) => (W("data-v-d78e1f53"), V = V(), X(), V), ae = { class: "custom-header" }, ne = { class: "left" }, se = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("span", null, " 选择变量 ", -1)), re = { class: "right" }, ie = { class: "custom-body" }, ue = { class: "config-list" }, pe = { class: "config-item" }, ce = { key: 0 }, me = { key: 0 }, de = { key: 1 }, _e = { key: 0 }, ve = { style: { "max-width": "820px" } }, fe = { style: { "white-space": "pre-line" } }, he = {
|
|
36
36
|
__name: "index",
|
|
37
37
|
props: {
|
|
38
38
|
useCase: {
|
|
@@ -242,7 +242,7 @@ const oe = (V) => (W("data-v-e4f6c06a"), V = V(), X(), V), ae = { class: "custom
|
|
|
242
242
|
}, 8, ["modelValue"]);
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
|
-
}, Ve = /* @__PURE__ */ le(he, [["__scopeId", "data-v-
|
|
245
|
+
}, Ve = /* @__PURE__ */ le(he, [["__scopeId", "data-v-d78e1f53"]]), Ze = {
|
|
246
246
|
install(V) {
|
|
247
247
|
V.component("st-varSelectDialog", Ve);
|
|
248
248
|
}
|