@hg2/dataview-core 2.0.0
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/dist/ColorList-36f5fb1f.js +195 -0
- package/dist/ColorList-36f5fb1f.js.map +1 -0
- package/dist/StylesSetting-e13e1698.js +348 -0
- package/dist/StylesSetting-e13e1698.js.map +1 -0
- package/dist/api/axios.d.ts +2 -0
- package/dist/api/http.d.ts +15 -0
- package/dist/api/mock/graph.json.d.ts +102 -0
- package/dist/api/mock/heatMapData.json.d.ts +202 -0
- package/dist/api/mock/index.d.ts +22 -0
- package/dist/api/mock/map.json.d.ts +12 -0
- package/dist/api/mock/sankey.json.d.ts +89 -0
- package/dist/api/mock/scatter.json.d.ts +59 -0
- package/dist/api/mock/test.mock.d.ts +226 -0
- package/dist/api/mock/treemap.json.d.ts +53 -0
- package/dist/api/mock/vchart/bar.json.d.ts +19 -0
- package/dist/api/mock/vchart.mock.d.ts +15 -0
- package/dist/components/GoAppProvider/index.d.ts +2 -0
- package/dist/components/GoAppProvider/index.vue.d.ts +9 -0
- package/dist/components/GoIconify/index.d.ts +2 -0
- package/dist/components/GoIconify/index.vue.d.ts +46 -0
- package/dist/components/GoLangSelect/index.d.ts +2 -0
- package/dist/components/GoLangSelect/index.vue.d.ts +2 -0
- package/dist/components/GoLoading/LoadingSkeleton.vue.d.ts +2 -0
- package/dist/components/GoLoading/index.d.ts +4 -0
- package/dist/components/GoLoading/index.vue.d.ts +2 -0
- package/dist/components/GoSkeleton/index.d.ts +2 -0
- package/dist/components/GoSkeleton/index.vue.d.ts +23 -0
- package/dist/components/GoSystemInfo/index.d.ts +2 -0
- package/dist/components/GoSystemInfo/index.vue.d.ts +12 -0
- package/dist/components/GoSystemSet/index.d.ts +12 -0
- package/dist/components/GoSystemSet/index.vue.d.ts +12 -0
- package/dist/components/GoThemeSelect/index.d.ts +2 -0
- package/dist/components/GoThemeSelect/index.vue.d.ts +2 -0
- package/dist/components/I18n/index.d.ts +2 -0
- package/dist/components/I18n/index.vue.d.ts +2 -0
- package/dist/components/Pages/ChartGlobImage/index.d.ts +2 -0
- package/dist/components/Pages/ChartGlobImage/index.vue.d.ts +14 -0
- package/dist/components/Pages/ChartItemSetting/CollapseItem.vue.d.ts +32 -0
- package/dist/components/Pages/ChartItemSetting/GlobalSettingPosition.vue.d.ts +19 -0
- package/dist/components/Pages/ChartItemSetting/NameSetting.vue.d.ts +14 -0
- package/dist/components/Pages/ChartItemSetting/PositionSetting.vue.d.ts +38 -0
- package/dist/components/Pages/ChartItemSetting/SettingItem.vue.d.ts +27 -0
- package/dist/components/Pages/ChartItemSetting/SettingItemBox.vue.d.ts +43 -0
- package/dist/components/Pages/ChartItemSetting/SizeSetting.vue.d.ts +39 -0
- package/dist/components/Pages/ChartItemSetting/StylesSetting.vue.d.ts +60 -0
- package/dist/components/Pages/ChartItemSetting/index.d.ts +9 -0
- package/dist/components/Pages/Flipper/index.d.ts +3 -0
- package/dist/components/Pages/Flipper/index.vue.d.ts +88 -0
- package/dist/components/Pages/MonacoEditor/index.d.ts +3 -0
- package/dist/components/Pages/MonacoEditor/index.hook.d.ts +8 -0
- package/dist/components/Pages/MonacoEditor/index.vue.d.ts +68 -0
- package/dist/components/Pages/ThemeColorSelect/components/ColorList.vue.d.ts +18 -0
- package/dist/components/Pages/ThemeColorSelect/index.d.ts +2 -0
- package/dist/components/Pages/ThemeColorSelect/index.vue.d.ts +4 -0
- package/dist/components/Plugins/DialogContent/index.d.ts +2 -0
- package/dist/components/Plugins/DialogContent/index.vue.d.ts +2 -0
- package/dist/components/Plugins/LoadingContent/index.d.ts +2 -0
- package/dist/components/Plugins/LoadingContent/index.vue.d.ts +2 -0
- package/dist/components/Plugins/MessageContent/index.d.ts +2 -0
- package/dist/components/Plugins/MessageContent/index.vue.d.ts +2 -0
- package/dist/components/Tips/MacOsControlBtn/index.d.ts +2 -0
- package/dist/components/Tips/MacOsControlBtn/index.vue.d.ts +59 -0
- package/dist/config-135cbd37.js +78 -0
- package/dist/config-135cbd37.js.map +1 -0
- package/dist/config-2f4d03cf.js +50 -0
- package/dist/config-2f4d03cf.js.map +1 -0
- package/dist/config-2feff12a.js +51 -0
- package/dist/config-2feff12a.js.map +1 -0
- package/dist/config-34a249a9.js +50 -0
- package/dist/config-34a249a9.js.map +1 -0
- package/dist/config-54932c86.js +61 -0
- package/dist/config-54932c86.js.map +1 -0
- package/dist/config-63dc5f82.js +62 -0
- package/dist/config-63dc5f82.js.map +1 -0
- package/dist/config-6ff94944.js +58 -0
- package/dist/config-6ff94944.js.map +1 -0
- package/dist/config-70c69137.js +51 -0
- package/dist/config-70c69137.js.map +1 -0
- package/dist/config-72cb7427.js +53 -0
- package/dist/config-72cb7427.js.map +1 -0
- package/dist/config-99706c47.js +58 -0
- package/dist/config-99706c47.js.map +1 -0
- package/dist/config-a6eb66af.js +51 -0
- package/dist/config-a6eb66af.js.map +1 -0
- package/dist/config-ac8d451f.js +127 -0
- package/dist/config-ac8d451f.js.map +1 -0
- package/dist/config-b11b8271.js +53 -0
- package/dist/config-b11b8271.js.map +1 -0
- package/dist/config-bda687c7.js +52 -0
- package/dist/config-bda687c7.js.map +1 -0
- package/dist/config-fe590ea6.js +57 -0
- package/dist/config-fe590ea6.js.map +1 -0
- package/dist/engines/index.d.ts +2 -0
- package/dist/engines/registry.d.ts +24 -0
- package/dist/enums/editPageEnum.d.ts +55 -0
- package/dist/enums/eventEnum.d.ts +32 -0
- package/dist/enums/fileTypeEnum.d.ts +7 -0
- package/dist/enums/httpEnum.d.ts +96 -0
- package/dist/enums/pageEnum.d.ts +0 -0
- package/dist/enums/pluginEnum.d.ts +6 -0
- package/dist/enums/storageEnum.d.ts +8 -0
- package/dist/enums/styleEnum.d.ts +14 -0
- package/dist/hooks/index.d.ts +8 -0
- package/dist/hooks/useChartDataFetch.hook.d.ts +13 -0
- package/dist/hooks/useChartDataPondFetch.hook.d.ts +12 -0
- package/dist/hooks/useChartInteract.hook.d.ts +8 -0
- package/dist/hooks/useCode.hook.d.ts +2 -0
- package/dist/hooks/useLang.hook.d.ts +372 -0
- package/dist/hooks/useLifeHandler.hook.d.ts +9 -0
- package/dist/hooks/usePreviewScale.hook.d.ts +32 -0
- package/dist/hooks/useTheme.hook.d.ts +18 -0
- package/dist/i18n/en/index.d.ts +21 -0
- package/dist/i18n/index.d.ts +48 -0
- package/dist/i18n/zh/index.d.ts +21 -0
- package/dist/index-10b2feb6.js +204 -0
- package/dist/index-10b2feb6.js.map +1 -0
- package/dist/index-148f6c33.js +1183 -0
- package/dist/index-148f6c33.js.map +1 -0
- package/dist/index-237a6823.js +26562 -0
- package/dist/index-237a6823.js.map +1 -0
- package/dist/index-3307e922.js +156 -0
- package/dist/index-3307e922.js.map +1 -0
- package/dist/index-33aae9d2.js +319 -0
- package/dist/index-33aae9d2.js.map +1 -0
- package/dist/index-556d7d7c.js +228 -0
- package/dist/index-556d7d7c.js.map +1 -0
- package/dist/index-617f36ae.js +156 -0
- package/dist/index-617f36ae.js.map +1 -0
- package/dist/index-62e07d83.js +54 -0
- package/dist/index-62e07d83.js.map +1 -0
- package/dist/index-66f7ab2a.js +590 -0
- package/dist/index-66f7ab2a.js.map +1 -0
- package/dist/index-6701793b.js +1811 -0
- package/dist/index-6701793b.js.map +1 -0
- package/dist/index-8d8dc1d2.js +132 -0
- package/dist/index-8d8dc1d2.js.map +1 -0
- package/dist/index-985f409d.js +461 -0
- package/dist/index-985f409d.js.map +1 -0
- package/dist/index-b2e0e39b.js +215 -0
- package/dist/index-b2e0e39b.js.map +1 -0
- package/dist/index-b58bfc89.js +419 -0
- package/dist/index-b58bfc89.js.map +1 -0
- package/dist/index-b5b7a570.js +103 -0
- package/dist/index-b5b7a570.js.map +1 -0
- package/dist/index-be12782c.js +1013 -0
- package/dist/index-be12782c.js.map +1 -0
- package/dist/index-be75d4d8.js +101 -0
- package/dist/index-be75d4d8.js.map +1 -0
- package/dist/index-c7145ef3.js +137 -0
- package/dist/index-c7145ef3.js.map +1 -0
- package/dist/index-ca8cd72a.js +74 -0
- package/dist/index-ca8cd72a.js.map +1 -0
- package/dist/index-cfca17b8.js +138 -0
- package/dist/index-cfca17b8.js.map +1 -0
- package/dist/index-d3c1c990.js +257 -0
- package/dist/index-d3c1c990.js.map +1 -0
- package/dist/index-ea4311bb.js +414 -0
- package/dist/index-ea4311bb.js.map +1 -0
- package/dist/index-ed584e70.js +729 -0
- package/dist/index-ed584e70.js.map +1 -0
- package/dist/index-f0c7797f.js +385 -0
- package/dist/index-f0c7797f.js.map +1 -0
- package/dist/index-f43eed8d.js +307 -0
- package/dist/index-f43eed8d.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +57 -0
- package/dist/index.js.map +1 -0
- package/dist/layout/components/LayoutFooter/index.d.ts +2 -0
- package/dist/layout/components/LayoutFooter/index.vue.d.ts +9 -0
- package/dist/layout/components/LayoutHeader/index.d.ts +2 -0
- package/dist/layout/components/LayoutHeader/index.vue.d.ts +12 -0
- package/dist/layout/components/LayoutHeaderPro/index.d.ts +2 -0
- package/dist/layout/components/LayoutHeaderPro/index.vue.d.ts +12 -0
- package/dist/layout/components/LayoutMain/index.d.ts +2 -0
- package/dist/layout/components/LayoutMain/index.vue.d.ts +2 -0
- package/dist/layout/components/LayoutTransitionMain/index.d.ts +2 -0
- package/dist/layout/components/LayoutTransitionMain/index.vue.d.ts +2 -0
- package/dist/lib/GoViewEditor.vue.d.ts +48 -0
- package/dist/lib/GoViewPreview.vue.d.ts +25 -0
- package/dist/lib/index.d.ts +28 -0
- package/dist/lib/skills/index.d.ts +2 -0
- package/dist/lib/skills/registry.d.ts +2 -0
- package/dist/lib/skills/types.d.ts +72 -0
- package/dist/logo-9c1d9d16.js +5 -0
- package/dist/logo-9c1d9d16.js.map +1 -0
- package/dist/noData-63b54dc3.js +5 -0
- package/dist/noData-63b54dc3.js.map +1 -0
- package/dist/packages/components/Decorates/Borders/Border01/config.d.ts +16 -0
- package/dist/packages/components/Decorates/Borders/Border01/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border02/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Borders/Border02/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border03/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Borders/Border03/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border04/config.d.ts +24 -0
- package/dist/packages/components/Decorates/Borders/Border04/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border05/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Borders/Border05/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border06/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Borders/Border06/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border07/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Borders/Border07/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border08/config.d.ts +18 -0
- package/dist/packages/components/Decorates/Borders/Border08/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border09/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Borders/Border09/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border10/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Borders/Border10/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border11/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Borders/Border11/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border12/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Borders/Border12/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/Border13/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Borders/Border13/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Borders/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Decorates/Decorates01/config.d.ts +18 -0
- package/dist/packages/components/Decorates/Decorates/Decorates01/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Decorates/Decorates02/config.d.ts +16 -0
- package/dist/packages/components/Decorates/Decorates/Decorates02/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Decorates/Decorates03/config.d.ts +27 -0
- package/dist/packages/components/Decorates/Decorates/Decorates03/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Decorates/Decorates04/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Decorates/Decorates04/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Decorates/Decorates05/config.d.ts +14 -0
- package/dist/packages/components/Decorates/Decorates/Decorates05/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Decorates/Decorates06/config.d.ts +27 -0
- package/dist/packages/components/Decorates/Decorates/Decorates06/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Decorates/index.d.ts +2 -0
- package/dist/packages/components/Decorates/FlowChart/FlowChartLine/config.d.ts +22 -0
- package/dist/packages/components/Decorates/FlowChart/FlowChartLine/index.d.ts +2 -0
- package/dist/packages/components/Decorates/FlowChart/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Mores/CirclePoint/config.d.ts +29 -0
- package/dist/packages/components/Decorates/Mores/CirclePoint/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Mores/Clock/config.d.ts +18 -0
- package/dist/packages/components/Decorates/Mores/Clock/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Mores/CountDown/config.d.ts +35 -0
- package/dist/packages/components/Decorates/Mores/CountDown/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Mores/FlipperNumber/config.d.ts +31 -0
- package/dist/packages/components/Decorates/Mores/FlipperNumber/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Mores/FullScreen/config.d.ts +25 -0
- package/dist/packages/components/Decorates/Mores/FullScreen/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Mores/Number/config.d.ts +32 -0
- package/dist/packages/components/Decorates/Mores/Number/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Mores/PipelineH/config.d.ts +27 -0
- package/dist/packages/components/Decorates/Mores/PipelineH/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Mores/PipelineV/config.d.ts +27 -0
- package/dist/packages/components/Decorates/Mores/PipelineV/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Mores/TimeCommon/config.d.ts +47 -0
- package/dist/packages/components/Decorates/Mores/TimeCommon/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Mores/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/code/Utils/arc.d.ts +11 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/code/Utils/common.d.ts +34 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/code/interfaces/IEvents.d.ts +3 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/code/interfaces/IWord.d.ts +6 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/code/world/Assets.d.ts +13 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/code/world/Basic.d.ts +22 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/code/world/Earth.d.ts +98 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/code/world/Resources.d.ts +16 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/code/world/Word.d.ts +25 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/config.d.ts +43 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/data.json.d.ts +87 -0
- package/dist/packages/components/Decorates/Three/ThreeEarth01/index.d.ts +2 -0
- package/dist/packages/components/Decorates/Three/index.d.ts +2 -0
- package/dist/packages/components/Decorates/index.d.ts +15 -0
- package/dist/packages/components/Icons/Common/index.d.ts +21 -0
- package/dist/packages/components/Icons/Default/Icon/config.d.ts +27 -0
- package/dist/packages/components/Icons/Default/Icon/index.d.ts +2 -0
- package/dist/packages/components/Icons/MaterialLine/index.d.ts +21 -0
- package/dist/packages/components/Icons/Weather/index.d.ts +21 -0
- package/dist/packages/components/Icons/index.d.ts +13 -0
- package/dist/packages/components/Informations/Mores/CardCustom/config.d.ts +42 -0
- package/dist/packages/components/Informations/Mores/CardCustom/index.d.ts +2 -0
- package/dist/packages/components/Informations/Mores/Iframe/config.d.ts +23 -0
- package/dist/packages/components/Informations/Mores/Iframe/index.d.ts +2 -0
- package/dist/packages/components/Informations/Mores/Image/config.d.ts +16 -0
- package/dist/packages/components/Informations/Mores/Image/index.d.ts +2 -0
- package/dist/packages/components/Informations/Mores/ImageCarousel/config.d.ts +36 -0
- package/dist/packages/components/Informations/Mores/ImageCarousel/index.d.ts +2 -0
- package/dist/packages/components/Informations/Mores/MissingComponent/config.d.ts +20 -0
- package/dist/packages/components/Informations/Mores/MissingComponent/index.d.ts +2 -0
- package/dist/packages/components/Informations/Mores/Video/config.d.ts +20 -0
- package/dist/packages/components/Informations/Mores/Video/index.d.ts +2 -0
- package/dist/packages/components/Informations/Mores/index.d.ts +2 -0
- package/dist/packages/components/Informations/index.d.ts +1 -0
- package/dist/packages/components/Photos/Private/index.d.ts +23 -0
- package/dist/packages/components/Photos/Share/index.d.ts +21 -0
- package/dist/packages/components/Photos/index.d.ts +9 -0
- package/dist/packages/index.d.ts +252 -0
- package/dist/packages/public/chart.d.ts +8 -0
- package/dist/packages/public/index.d.ts +2 -0
- package/dist/packages/public/publicConfig.d.ts +80 -0
- package/dist/packages/registry.d.ts +34 -0
- package/dist/plugins/customComponents.d.ts +6 -0
- package/dist/plugins/directives.d.ts +6 -0
- package/dist/plugins/icon.d.ts +110 -0
- package/dist/plugins/index.d.ts +4 -0
- package/dist/plugins/initFunction.d.ts +4 -0
- package/dist/plugins/naive.d.ts +2 -0
- package/dist/pondIndex.vue_vue_type_style_index_0_scoped_3ac883be_lang-8afe2387.js +2371 -0
- package/dist/pondIndex.vue_vue_type_style_index_0_scoped_3ac883be_lang-8afe2387.js.map +1 -0
- package/dist/published/chartItemSetting.d.ts +1 -0
- package/dist/published/chartThemes.d.ts +1 -0
- package/dist/published/designSetting.d.ts +1 -0
- package/dist/published/eventEnums.d.ts +1 -0
- package/dist/published/hooks.d.ts +1 -0
- package/dist/published/informationTypes.d.ts +1 -0
- package/dist/published/plugins.d.ts +1 -0
- package/dist/published/public.d.ts +1 -0
- package/dist/published/scaleHook.d.ts +1 -0
- package/dist/published/store.d.ts +1 -0
- package/dist/published/types.d.ts +1 -0
- package/dist/published/utils.d.ts +1 -0
- package/dist/published/vchartAxisTheme.d.ts +2 -0
- package/dist/published/vchartThemes.d.ts +1 -0
- package/dist/runtime.d.ts +10 -0
- package/dist/settings/animations/index.d.ts +7 -0
- package/dist/settings/chartThemes/global.theme.json.d.ts +113 -0
- package/dist/settings/chartThemes/index.d.ts +194 -0
- package/dist/settings/chartThemes/themes/chalk.json.d.ts +15 -0
- package/dist/settings/chartThemes/themes/customed.json.d.ts +16 -0
- package/dist/settings/chartThemes/themes/dark.json.d.ts +16 -0
- package/dist/settings/chartThemes/themes/essos.json.d.ts +13 -0
- package/dist/settings/chartThemes/themes/macarons.json.d.ts +27 -0
- package/dist/settings/chartThemes/themes/purple-passion.json.d.ts +13 -0
- package/dist/settings/chartThemes/themes/roma.json.d.ts +27 -0
- package/dist/settings/chartThemes/themes/shine.json.d.ts +15 -0
- package/dist/settings/chartThemes/themes/vintage.json.d.ts +17 -0
- package/dist/settings/chartThemes/themes/walden.json.d.ts +13 -0
- package/dist/settings/chartThemes/themes/westeros.json.d.ts +13 -0
- package/dist/settings/chartThemes/themes/wonderland.json.d.ts +13 -0
- package/dist/settings/designColor.json.d.ts +3680 -0
- package/dist/settings/designColorRecommend.json.d.ts +33 -0
- package/dist/settings/designSetting.d.ts +32 -0
- package/dist/settings/pathConst.d.ts +3 -0
- package/dist/settings/systemSetting.d.ts +10 -0
- package/dist/settings/vchartThemes/index.d.ts +138 -0
- package/dist/store/index.d.ts +12 -0
- package/dist/store/modules/chartEditStore/chartEditStore.d.ts +213 -0
- package/dist/store/modules/chartHistoryStore/chartHistoryDefine.d.ts +20 -0
- package/dist/store/modules/chartHistoryStore/chartHistoryStore.d.ts +77 -0
- package/dist/store/modules/chartLayoutStore/chartLayoutStore.d.ts +36 -0
- package/dist/store/modules/designStore/designStore.d.ts +18 -0
- package/dist/store/modules/langStore/langStore.d.ts +5 -0
- package/dist/store/modules/packagesStore/packagesStore.d.ts +6 -0
- package/dist/store/modules/settingStore/settingStore.d.ts +31 -0
- package/dist/style.css +7 -0
- package/dist/types/global.d.ts +31 -0
- package/dist/types/shims-vue.d.ts +5 -0
- package/dist/useSyncUpdate.hook-f291c525.js +43 -0
- package/dist/useSyncUpdate.hook-f291c525.js.map +1 -0
- package/dist/useTargetData.hook-832cc980.js +13 -0
- package/dist/useTargetData.hook-832cc980.js.map +1 -0
- package/dist/utils/components.d.ts +12 -0
- package/dist/utils/crypto.d.ts +12 -0
- package/dist/utils/file.d.ts +19 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/plugin.d.ts +29 -0
- package/dist/utils/router.d.ts +20 -0
- package/dist/utils/storage.d.ts +35 -0
- package/dist/utils/style.d.ts +141 -0
- package/dist/utils/type.d.ts +8 -0
- package/dist/utils/utils.d.ts +127 -0
- package/dist/views/chart/ContentBox/index.d.ts +2 -0
- package/dist/views/chart/ContentBox/index.vue.d.ts +87 -0
- package/dist/views/chart/ContentCharts/components/ChartsItemBox/index.d.ts +2 -0
- package/dist/views/chart/ContentCharts/components/ChartsItemBox/index.vue.d.ts +22 -0
- package/dist/views/chart/ContentCharts/components/ChartsOptionContent/index.d.ts +2 -0
- package/dist/views/chart/ContentCharts/components/ChartsOptionContent/index.vue.d.ts +14 -0
- package/dist/views/chart/ContentCharts/components/ChartsSearch/index.d.ts +2 -0
- package/dist/views/chart/ContentCharts/components/ChartsSearch/index.vue.d.ts +14 -0
- package/dist/views/chart/ContentCharts/hooks/useAside.hook.d.ts +17 -0
- package/dist/views/chart/ContentCharts/hooks/useLayout.hook.d.ts +5 -0
- package/dist/views/chart/ContentCharts/index.d.ts +2 -0
- package/dist/views/chart/ContentCharts/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/ChartThemeColor/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColor/index.vue.d.ts +14 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRender/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRender/index.vue.d.ts +16 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/barOptions.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/index.vue.d.ts +16 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/lineOptions.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/components/VChartThemeColor/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/CanvasPage/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartAnimation/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataAjax/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataAjax/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataMatchingAndShow/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataMatchingAndShow/index.vue.d.ts +22 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataMonacoEditor/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataMonacoEditor/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataDisplay/displayTable.vue.d.ts +8 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataDisplay/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataDisplay/index.vue.d.ts +10 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataPondControl/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataPondControl/index.vue.d.ts +14 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataPondList/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/components/ChartDataPondList/index.vue.d.ts +8 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataPond/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestGlobalConfig/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestGlobalConfig/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestGlobalHeaderTable/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestGlobalHeaderTable/index.vue.d.ts +14 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestHeader/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestHeader/index.vue.d.ts +8 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestHeaderTable/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestHeaderTable/index.vue.d.ts +33 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestTargetConfig/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/components/RequestTargetConfig/index.vue.d.ts +8 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/index.d.ts +3 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/index.vue.d.ts +20 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataRequest/pondIndex.vue.d.ts +20 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataStatic/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/components/ChartDataStatic/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/hooks/useFile.hooks.d.ts +9 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/index.d.ts +104 -0
- package/dist/views/chart/ContentConfigurations/components/ChartData/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventAdvancedHandle/importTemplate.d.ts +4 -0
- package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventAdvancedHandle/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventAdvancedHandle/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventBaseHandle/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventBaseHandle/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventInteraction/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartEvent/components/ChartEventInteraction/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartEvent/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/ChartSetting/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/components/hooks/useTargetData.hook.d.ts +56 -0
- package/dist/views/chart/ContentConfigurations/index.d.ts +2 -0
- package/dist/views/chart/ContentConfigurations/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditAlignLine/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditAlignLine/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditBottom/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditBottom/index.vue.d.ts +4 -0
- package/dist/views/chart/ContentEdit/components/EditGroup/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditGroup/index.vue.d.ts +22 -0
- package/dist/views/chart/ContentEdit/components/EditHistory/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditHistory/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditRange/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditRange/index.vue.d.ts +9 -0
- package/dist/views/chart/ContentEdit/components/EditRule/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditRule/index.vue.d.ts +13 -0
- package/dist/views/chart/ContentEdit/components/EditSelect/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditSelect/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditShapeBox/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditShapeBox/index.vue.d.ts +31 -0
- package/dist/views/chart/ContentEdit/components/EditShortcutKey/ShortcutKeyModal.vue.d.ts +12 -0
- package/dist/views/chart/ContentEdit/components/EditShortcutKey/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditShortcutKey/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditTools/hooks/useFile.hooks.d.ts +8 -0
- package/dist/views/chart/ContentEdit/components/EditTools/hooks/useSyncUpdate.hook.d.ts +3 -0
- package/dist/views/chart/ContentEdit/components/EditTools/index.d.ts +12 -0
- package/dist/views/chart/ContentEdit/components/EditTools/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditTools/utils/index.d.ts +1 -0
- package/dist/views/chart/ContentEdit/components/EditWatermark/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/components/EditWatermark/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentEdit/hooks/useDrag.hook.d.ts +12 -0
- package/dist/views/chart/ContentEdit/hooks/useLayout.hook.d.ts +1 -0
- package/dist/views/chart/ContentEdit/hooks/useStyle.hook.d.ts +16 -0
- package/dist/views/chart/ContentEdit/index.d.ts +2 -0
- package/dist/views/chart/ContentEdit/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentHeader/headerLeftBtn/index.d.ts +2 -0
- package/dist/views/chart/ContentHeader/headerLeftBtn/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentHeader/headerRightBtn/index.d.ts +2 -0
- package/dist/views/chart/ContentHeader/headerRightBtn/index.vue.d.ts +4 -0
- package/dist/views/chart/ContentHeader/headerTitle/index.d.ts +2 -0
- package/dist/views/chart/ContentHeader/headerTitle/index.vue.d.ts +4 -0
- package/dist/views/chart/ContentLayers/components/LayersGroupListItem/index.d.ts +2 -0
- package/dist/views/chart/ContentLayers/components/LayersGroupListItem/index.vue.d.ts +25 -0
- package/dist/views/chart/ContentLayers/components/LayersListItem/index.d.ts +2 -0
- package/dist/views/chart/ContentLayers/components/LayersListItem/index.vue.d.ts +34 -0
- package/dist/views/chart/ContentLayers/components/LayersStatus/index.d.ts +2 -0
- package/dist/views/chart/ContentLayers/components/LayersStatus/index.vue.d.ts +40 -0
- package/dist/views/chart/ContentLayers/enums.d.ts +0 -0
- package/dist/views/chart/ContentLayers/index.d.ts +2 -0
- package/dist/views/chart/ContentLayers/index.vue.d.ts +2 -0
- package/dist/views/chart/ContentLoad/index.d.ts +2 -0
- package/dist/views/chart/ContentLoad/index.vue.d.ts +2 -0
- package/dist/views/chart/hooks/useContextMenu.hook.d.ts +10 -0
- package/dist/views/chart/hooks/useKeyboard.hook.d.ts +38 -0
- package/dist/views/chart/hooks/useScale.hook.d.ts +24 -0
- package/dist/views/chart/hooks/useSync.hook.d.ts +4 -0
- package/dist/views/chart/index.vue.d.ts +13 -0
- package/dist/views/preview/components/PreviewRenderGroup/index.d.ts +2 -0
- package/dist/views/preview/components/PreviewRenderGroup/index.vue.d.ts +38 -0
- package/dist/views/preview/components/PreviewRenderList/index.d.ts +2 -0
- package/dist/views/preview/components/PreviewRenderList/index.vue.d.ts +2 -0
- package/dist/views/preview/hooks/useComInstall.hook.d.ts +4 -0
- package/dist/views/preview/hooks/useScale.hook.d.ts +16 -0
- package/dist/views/preview/hooks/useStore.hook.d.ts +2 -0
- package/dist/views/preview/index.d.ts +4 -0
- package/dist/views/preview/suspenseIndex.vue.d.ts +5 -0
- package/dist/views/preview/utils/drag.d.ts +1 -0
- package/dist/views/preview/utils/index.d.ts +4 -0
- package/dist/views/preview/utils/keyboard.d.ts +1 -0
- package/dist/views/preview/utils/storage.d.ts +5 -0
- package/dist/views/preview/utils/style.d.ts +25 -0
- package/package.json +136 -0
|
@@ -0,0 +1,1013 @@
|
|
|
1
|
+
import { defineComponent as L, ref as $, watch as Q, resolveComponent as n, openBlock as c, createBlock as z, withCtx as o, createElementVNode as i, createElementBlock as k, createVNode as e, createTextVNode as f, unref as t, useCssVars as se, toRefs as X, computed as G, createCommentVNode as ee, Fragment as K, renderList as de, normalizeClass as oe, toDisplayString as V, reactive as ue, nextTick as ce, toRaw as W, watchEffect as _e, onBeforeUnmount as pe } from "vue";
|
|
2
|
+
import "vue3-lazyload";
|
|
3
|
+
import { q as re, _ as j, w as ie, p as Z, aE as A, aM as J, ax as H, ay as F, aB as ae, aP as M, aR as me, aS as fe, aD as le, aK as ve, aN as ge } from "./index-237a6823.js";
|
|
4
|
+
import "crypto-js";
|
|
5
|
+
import "lodash/isObject";
|
|
6
|
+
import "vue3-sketch-ruler";
|
|
7
|
+
import { n as ye } from "./noData-63b54dc3.js";
|
|
8
|
+
import { u as te } from "./useTargetData.hook-832cc980.js";
|
|
9
|
+
import "element-plus";
|
|
10
|
+
import "screenfull";
|
|
11
|
+
import "lodash/throttle";
|
|
12
|
+
import "html2canvas";
|
|
13
|
+
import "lodash/cloneDeep";
|
|
14
|
+
import "./index-c7145ef3.js";
|
|
15
|
+
import { R as be, a as he } from "./pondIndex.vue_vue_type_style_index_0_scoped_3ac883be_lang-8afe2387.js";
|
|
16
|
+
import "monaco-editor/esm/vs/editor/editor.api.js";
|
|
17
|
+
import "./index-8d8dc1d2.js";
|
|
18
|
+
import { cloneDeep as qe } from "lodash";
|
|
19
|
+
import { C as we } from "./index-ed584e70.js";
|
|
20
|
+
import "pinia";
|
|
21
|
+
import "vue-i18n";
|
|
22
|
+
import "vue-demi";
|
|
23
|
+
import "lodash/debounce";
|
|
24
|
+
import "lodash/merge";
|
|
25
|
+
import "lodash/pick";
|
|
26
|
+
import "highlight.js/lib/core";
|
|
27
|
+
import "highlight.js/lib/languages/json";
|
|
28
|
+
import "highlight.js/lib/languages/typescript";
|
|
29
|
+
import "axios";
|
|
30
|
+
import "element-plus/es/locale/lang/zh-cn";
|
|
31
|
+
import "element-plus/es/locale/lang/en";
|
|
32
|
+
import "three";
|
|
33
|
+
import "three/examples/jsm/controls/OrbitControls";
|
|
34
|
+
import "gsap";
|
|
35
|
+
import "vue3-sketch-ruler/lib/style.css";
|
|
36
|
+
import "monaco-editor";
|
|
37
|
+
import "monaco-editor/esm/vs/editor/editor.worker?worker";
|
|
38
|
+
import "monaco-editor/esm/vs/language/json/json.worker?worker";
|
|
39
|
+
import "monaco-editor/esm/vs/language/typescript/ts.worker?worker";
|
|
40
|
+
import "monaco-editor/esm/vs/language/html/html.worker?worker";
|
|
41
|
+
const Pe = { class: "go-pr-3" }, xe = { class: "dialog-footer" }, De = {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: "name-input"
|
|
44
|
+
}, Ie = { key: 1 }, ke = /* @__PURE__ */ L({
|
|
45
|
+
__name: "pondIndex",
|
|
46
|
+
props: {
|
|
47
|
+
modelShow: Boolean,
|
|
48
|
+
targetDataRequest: Object
|
|
49
|
+
},
|
|
50
|
+
emits: ["update:modelShow", "editSaveHandle"],
|
|
51
|
+
setup(v, { emit: E }) {
|
|
52
|
+
const S = v, y = E;
|
|
53
|
+
$();
|
|
54
|
+
const R = $(), q = $(!1);
|
|
55
|
+
Q(
|
|
56
|
+
() => S.modelShow,
|
|
57
|
+
(w) => {
|
|
58
|
+
q.value = w;
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
const _ = () => {
|
|
62
|
+
y("update:modelShow", !1);
|
|
63
|
+
}, b = () => {
|
|
64
|
+
var w, r;
|
|
65
|
+
if (!((w = S.targetDataRequest) != null && w.dataPondName)) {
|
|
66
|
+
window.$message.warning("请在左下角输入名称!"), (r = R.value) == null || r.focus();
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
re({
|
|
70
|
+
message: "保存内容将同步修改所有使用此接口的组件, 是否继续?",
|
|
71
|
+
isMaskClosable: !0,
|
|
72
|
+
transformOrigin: "center",
|
|
73
|
+
onPositiveCallback: () => {
|
|
74
|
+
y("update:modelShow", !1), y("editSaveHandle", S.targetDataRequest);
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
}, h = () => {
|
|
78
|
+
_();
|
|
79
|
+
};
|
|
80
|
+
return (w, r) => {
|
|
81
|
+
const u = n("el-space"), C = n("el-scrollbar"), P = n("el-tag"), p = n("el-input"), m = n("el-button"), x = n("el-dialog");
|
|
82
|
+
return c(), z(x, {
|
|
83
|
+
class: "go-chart-data-request",
|
|
84
|
+
modelValue: q.value,
|
|
85
|
+
"onUpdate:modelValue": r[1] || (r[1] = (g) => q.value = g),
|
|
86
|
+
"close-on-click-modal": !1,
|
|
87
|
+
"close-on-press-escape": !0,
|
|
88
|
+
"show-close": !1,
|
|
89
|
+
"append-to-body": "",
|
|
90
|
+
"modal-append-to-body": "",
|
|
91
|
+
onClose: h,
|
|
92
|
+
width: "1000px"
|
|
93
|
+
}, {
|
|
94
|
+
header: o(() => r[2] || (r[2] = [
|
|
95
|
+
i("span", null, null, -1)
|
|
96
|
+
])),
|
|
97
|
+
footer: o(() => [
|
|
98
|
+
i("div", xe, [
|
|
99
|
+
v.targetDataRequest ? (c(), k("div", De, [
|
|
100
|
+
e(P, {
|
|
101
|
+
"disable-transitions": "",
|
|
102
|
+
type: "primary"
|
|
103
|
+
}, {
|
|
104
|
+
default: o(() => r[3] || (r[3] = [
|
|
105
|
+
f("名称:")
|
|
106
|
+
])),
|
|
107
|
+
_: 1,
|
|
108
|
+
__: [3]
|
|
109
|
+
}),
|
|
110
|
+
e(p, {
|
|
111
|
+
modelValue: v.targetDataRequest.dataPondName,
|
|
112
|
+
"onUpdate:modelValue": r[0] || (r[0] = (g) => v.targetDataRequest.dataPondName = g),
|
|
113
|
+
ref_key: "inputInstRef",
|
|
114
|
+
ref: R,
|
|
115
|
+
type: "text",
|
|
116
|
+
size: "small",
|
|
117
|
+
autofocus: !0,
|
|
118
|
+
clearable: !0,
|
|
119
|
+
minlength: 1,
|
|
120
|
+
maxlength: 16,
|
|
121
|
+
placeholder: "请输入名称",
|
|
122
|
+
style: { width: "180px" }
|
|
123
|
+
}, null, 8, ["modelValue"])
|
|
124
|
+
])) : (c(), k("span", Ie)),
|
|
125
|
+
i("div", null, [
|
|
126
|
+
e(m, { onClick: _ }, {
|
|
127
|
+
default: o(() => r[4] || (r[4] = [
|
|
128
|
+
f("取消")
|
|
129
|
+
])),
|
|
130
|
+
_: 1,
|
|
131
|
+
__: [4]
|
|
132
|
+
}),
|
|
133
|
+
e(m, {
|
|
134
|
+
type: "primary",
|
|
135
|
+
onClick: b
|
|
136
|
+
}, {
|
|
137
|
+
default: o(() => r[5] || (r[5] = [
|
|
138
|
+
f("保存")
|
|
139
|
+
])),
|
|
140
|
+
_: 1,
|
|
141
|
+
__: [5]
|
|
142
|
+
})
|
|
143
|
+
])
|
|
144
|
+
])
|
|
145
|
+
]),
|
|
146
|
+
default: o(() => [
|
|
147
|
+
e(C, { style: { height: "60vh" } }, {
|
|
148
|
+
default: o(() => [
|
|
149
|
+
i("div", Pe, [
|
|
150
|
+
e(u, {
|
|
151
|
+
direction: "vertical",
|
|
152
|
+
size: 12,
|
|
153
|
+
style: { width: "100%" }
|
|
154
|
+
}, {
|
|
155
|
+
default: o(() => {
|
|
156
|
+
var g;
|
|
157
|
+
return [
|
|
158
|
+
e(t(be)),
|
|
159
|
+
e(t(he), {
|
|
160
|
+
"target-data-request": (g = v.targetDataRequest) == null ? void 0 : g.dataPondRequestConfig
|
|
161
|
+
}, null, 8, ["target-data-request"])
|
|
162
|
+
];
|
|
163
|
+
}),
|
|
164
|
+
_: 1
|
|
165
|
+
})
|
|
166
|
+
])
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
})
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
}, 8, ["modelValue"]);
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
}), Ce = /* @__PURE__ */ j(ke, [["__scopeId", "data-v-3ac883be"]]), Se = { class: "go-chart-data-pond-list" }, Re = { class: "pond-item-box" }, $e = {
|
|
176
|
+
key: 0,
|
|
177
|
+
class: "empty-text"
|
|
178
|
+
}, Ee = ["onClick"], He = { class: "item-content" }, Oe = { class: "item-content-body" }, Te = ["onClick"], Ue = /* @__PURE__ */ L({
|
|
179
|
+
__name: "index",
|
|
180
|
+
emits: ["createPond", "deletePond"],
|
|
181
|
+
setup(v, { emit: E }) {
|
|
182
|
+
se((p) => ({
|
|
183
|
+
"21a8ff3a": r.value
|
|
184
|
+
}));
|
|
185
|
+
const S = E, { DuplicateOutlineIcon: y, TrashIcon: R } = Z.ionicons5, q = ie(), { chartEditStore: _, targetData: b } = te(), { requestDataPond: h } = X(_.getRequestGlobalConfig), w = G(() => {
|
|
186
|
+
var p;
|
|
187
|
+
return (p = b.value) == null ? void 0 : p.request.requestDataPondId;
|
|
188
|
+
}), r = G(() => q.getAppTheme), u = () => {
|
|
189
|
+
S("createPond", !0);
|
|
190
|
+
}, C = (p, m) => {
|
|
191
|
+
p.stopPropagation(), p.preventDefault(), S("deletePond", m);
|
|
192
|
+
}, P = (p) => {
|
|
193
|
+
b.value && (b.value.request.requestDataPondId = p.dataPondId);
|
|
194
|
+
};
|
|
195
|
+
return (p, m) => {
|
|
196
|
+
const x = n("el-timeline-item"), g = n("el-timeline"), O = n("el-icon"), T = n("el-button"), D = n("el-divider"), s = n("el-link"), I = n("el-text"), l = n("el-tag"), d = n("el-scrollbar");
|
|
197
|
+
return c(), k("div", Se, [
|
|
198
|
+
e(g, {
|
|
199
|
+
class: "pond-item-timeline",
|
|
200
|
+
style: { width: "20px" }
|
|
201
|
+
}, {
|
|
202
|
+
default: o(() => [
|
|
203
|
+
e(x, { type: "primary" }),
|
|
204
|
+
e(x, { type: "success" })
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}),
|
|
208
|
+
i("div", Re, [
|
|
209
|
+
e(T, {
|
|
210
|
+
class: "create-btn go-py-4",
|
|
211
|
+
plain: "",
|
|
212
|
+
onClick: u
|
|
213
|
+
}, {
|
|
214
|
+
default: o(() => [
|
|
215
|
+
e(O, null, {
|
|
216
|
+
default: o(() => [
|
|
217
|
+
e(t(y))
|
|
218
|
+
]),
|
|
219
|
+
_: 1
|
|
220
|
+
}),
|
|
221
|
+
m[0] || (m[0] = i("span", null, " 创建 ", -1))
|
|
222
|
+
]),
|
|
223
|
+
_: 1,
|
|
224
|
+
__: [0]
|
|
225
|
+
}),
|
|
226
|
+
e(D, { style: { margin: "10px 0" } }),
|
|
227
|
+
t(h).length ? ee("", !0) : (c(), k("div", $e, [
|
|
228
|
+
e(I, {
|
|
229
|
+
class: "not-layer-text",
|
|
230
|
+
type: "info"
|
|
231
|
+
}, {
|
|
232
|
+
default: o(() => [
|
|
233
|
+
m[2] || (m[2] = f(" 暂无数据内容, ")),
|
|
234
|
+
e(s, {
|
|
235
|
+
type: "primary",
|
|
236
|
+
onClick: u
|
|
237
|
+
}, {
|
|
238
|
+
default: o(() => m[1] || (m[1] = [
|
|
239
|
+
f("立即创建")
|
|
240
|
+
])),
|
|
241
|
+
_: 1,
|
|
242
|
+
__: [1]
|
|
243
|
+
})
|
|
244
|
+
]),
|
|
245
|
+
_: 1,
|
|
246
|
+
__: [2]
|
|
247
|
+
})
|
|
248
|
+
])),
|
|
249
|
+
e(d, { "max-height": "490px" }, {
|
|
250
|
+
default: o(() => [
|
|
251
|
+
(c(!0), k(K, null, de(t(h), (a) => (c(), k("div", {
|
|
252
|
+
key: a.dataPondId,
|
|
253
|
+
class: oe([{ select: a.dataPondId === w.value }, "pond-item"]),
|
|
254
|
+
onClick: (U) => P(a)
|
|
255
|
+
}, [
|
|
256
|
+
i("div", He, [
|
|
257
|
+
i("div", Oe, [
|
|
258
|
+
i("div", null, [
|
|
259
|
+
e(l, {
|
|
260
|
+
class: "go-mr-1",
|
|
261
|
+
type: a.dataPondId === w.value ? "warning" : "info",
|
|
262
|
+
"disable-transitions": ""
|
|
263
|
+
}, {
|
|
264
|
+
default: o(() => m[3] || (m[3] = [
|
|
265
|
+
f(" 名称 ")
|
|
266
|
+
])),
|
|
267
|
+
_: 2,
|
|
268
|
+
__: [3]
|
|
269
|
+
}, 1032, ["type"]),
|
|
270
|
+
e(I, {
|
|
271
|
+
class: "item-text",
|
|
272
|
+
truncated: ""
|
|
273
|
+
}, {
|
|
274
|
+
default: o(() => [
|
|
275
|
+
f(V(a.dataPondName || "暂无"), 1)
|
|
276
|
+
]),
|
|
277
|
+
_: 2
|
|
278
|
+
}, 1024)
|
|
279
|
+
]),
|
|
280
|
+
i("div", null, [
|
|
281
|
+
e(l, {
|
|
282
|
+
class: "go-mr-1",
|
|
283
|
+
type: a.dataPondId === w.value ? "warning" : "info",
|
|
284
|
+
"disable-transitions": ""
|
|
285
|
+
}, {
|
|
286
|
+
default: o(() => m[4] || (m[4] = [
|
|
287
|
+
f(" 地址 ")
|
|
288
|
+
])),
|
|
289
|
+
_: 2,
|
|
290
|
+
__: [4]
|
|
291
|
+
}, 1032, ["type"]),
|
|
292
|
+
e(I, {
|
|
293
|
+
class: "item-text",
|
|
294
|
+
truncated: ""
|
|
295
|
+
}, {
|
|
296
|
+
default: o(() => [
|
|
297
|
+
f(V(a.dataPondRequestConfig.requestUrl || "暂无"), 1)
|
|
298
|
+
]),
|
|
299
|
+
_: 2
|
|
300
|
+
}, 1024)
|
|
301
|
+
])
|
|
302
|
+
]),
|
|
303
|
+
i("div", {
|
|
304
|
+
class: "item-content-icon go-transition-quick",
|
|
305
|
+
onClick: (U) => C(U, a)
|
|
306
|
+
}, [
|
|
307
|
+
e(O, null, {
|
|
308
|
+
default: o(() => [
|
|
309
|
+
e(t(R))
|
|
310
|
+
]),
|
|
311
|
+
_: 1
|
|
312
|
+
})
|
|
313
|
+
], 8, Te)
|
|
314
|
+
]),
|
|
315
|
+
i("div", {
|
|
316
|
+
class: oe({ "select-modal": a.dataPondId === w.value })
|
|
317
|
+
}, null, 2)
|
|
318
|
+
], 10, Ee))), 128))
|
|
319
|
+
]),
|
|
320
|
+
_: 1
|
|
321
|
+
})
|
|
322
|
+
])
|
|
323
|
+
]);
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
const Ne = /* @__PURE__ */ j(Ue, [["__scopeId", "data-v-d087eb02"]]), ne = /* @__PURE__ */ L({
|
|
328
|
+
__name: "displayTable",
|
|
329
|
+
props: {
|
|
330
|
+
target: Object
|
|
331
|
+
},
|
|
332
|
+
setup(v) {
|
|
333
|
+
const E = v, S = {
|
|
334
|
+
key: "",
|
|
335
|
+
value: ""
|
|
336
|
+
}, y = ue({ content: [] });
|
|
337
|
+
return Q(
|
|
338
|
+
() => E.target,
|
|
339
|
+
(R) => {
|
|
340
|
+
y.content = [];
|
|
341
|
+
for (const q in R)
|
|
342
|
+
y.content.push({
|
|
343
|
+
key: q,
|
|
344
|
+
value: R[q]
|
|
345
|
+
});
|
|
346
|
+
y.content.length || (y.content = [JSON.parse(JSON.stringify(S))]);
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
immediate: !0,
|
|
350
|
+
deep: !0
|
|
351
|
+
}
|
|
352
|
+
), (R, q) => {
|
|
353
|
+
const _ = n("el-table-column"), b = n("el-table");
|
|
354
|
+
return c(), z(b, {
|
|
355
|
+
data: y.content,
|
|
356
|
+
size: "small",
|
|
357
|
+
border: "",
|
|
358
|
+
style: { "border-bottom-right-radius": "7px", "border-bottom-left-radius": "7px" }
|
|
359
|
+
}, {
|
|
360
|
+
default: o(() => [
|
|
361
|
+
e(_, {
|
|
362
|
+
prop: "key",
|
|
363
|
+
label: "key"
|
|
364
|
+
}, {
|
|
365
|
+
default: o(({ row: h }) => [
|
|
366
|
+
f(V(h.key || "暂无"), 1)
|
|
367
|
+
]),
|
|
368
|
+
_: 1
|
|
369
|
+
}),
|
|
370
|
+
e(_, {
|
|
371
|
+
prop: "value",
|
|
372
|
+
label: "value"
|
|
373
|
+
}, {
|
|
374
|
+
default: o(({ row: h }) => [
|
|
375
|
+
f(V(h.value || "暂无"), 1)
|
|
376
|
+
]),
|
|
377
|
+
_: 1
|
|
378
|
+
})
|
|
379
|
+
]),
|
|
380
|
+
_: 1
|
|
381
|
+
}, 8, ["data"]);
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
}), Ve = { class: "go-chart-data-display" }, ze = { class: "go-mr-3" }, Be = { key: 0 }, Ae = { class: "go-mt-3" }, Fe = { key: 0 }, Le = { key: 1 }, Me = { class: "code-block" }, Ge = {
|
|
385
|
+
key: 3,
|
|
386
|
+
class: "code-block"
|
|
387
|
+
}, je = { key: 1 }, Ye = { class: "code-block" }, Je = /* @__PURE__ */ L({
|
|
388
|
+
__name: "index",
|
|
389
|
+
props: {
|
|
390
|
+
globalData: Object,
|
|
391
|
+
targetData: Object
|
|
392
|
+
},
|
|
393
|
+
setup(v) {
|
|
394
|
+
const E = v, { HelpOutlineIcon: S, FlashIcon: y, PulseIcon: R } = Z.ionicons5, {
|
|
395
|
+
requestUrl: q,
|
|
396
|
+
requestInterval: _,
|
|
397
|
+
requestHttpType: b,
|
|
398
|
+
requestContentType: h,
|
|
399
|
+
requestSQLContent: w,
|
|
400
|
+
requestParams: r,
|
|
401
|
+
requestParamsBodyType: u,
|
|
402
|
+
requestIntervalUnit: C
|
|
403
|
+
} = X(E.targetData.dataPondRequestConfig);
|
|
404
|
+
A.HEADER;
|
|
405
|
+
const P = {
|
|
406
|
+
[J.DEFAULT]: "普通请求",
|
|
407
|
+
[J.SQL]: "SQL 请求"
|
|
408
|
+
}, p = $(A.PARAMS);
|
|
409
|
+
return (m, x) => {
|
|
410
|
+
const g = n("el-input"), O = n("el-icon"), T = n("el-divider"), D = n("el-tab-pane"), s = n("el-tabs"), I = n("el-text"), l = n("el-card"), d = n("el-scrollbar");
|
|
411
|
+
return c(), k("div", Ve, [
|
|
412
|
+
e(d, { "max-height": "570px" }, {
|
|
413
|
+
default: o(() => [
|
|
414
|
+
i("div", ze, [
|
|
415
|
+
i("div", null, [
|
|
416
|
+
e(t(H), { name: "主体信息" }, {
|
|
417
|
+
default: o(() => [
|
|
418
|
+
e(t(F), { name: "接口名称" }, {
|
|
419
|
+
default: o(() => {
|
|
420
|
+
var a;
|
|
421
|
+
return [
|
|
422
|
+
e(g, {
|
|
423
|
+
size: "small",
|
|
424
|
+
placeholder: ((a = v.targetData) == null ? void 0 : a.dataPondName) || "暂无",
|
|
425
|
+
disabled: !0
|
|
426
|
+
}, null, 8, ["placeholder"])
|
|
427
|
+
];
|
|
428
|
+
}),
|
|
429
|
+
_: 1
|
|
430
|
+
}),
|
|
431
|
+
e(t(F), { name: "接口类型" }, {
|
|
432
|
+
default: o(() => [
|
|
433
|
+
e(g, {
|
|
434
|
+
size: "small",
|
|
435
|
+
placeholder: t(b) || "暂无",
|
|
436
|
+
disabled: !0
|
|
437
|
+
}, null, 8, ["placeholder"])
|
|
438
|
+
]),
|
|
439
|
+
_: 1
|
|
440
|
+
})
|
|
441
|
+
]),
|
|
442
|
+
_: 1
|
|
443
|
+
}),
|
|
444
|
+
e(t(H), null, {
|
|
445
|
+
default: o(() => [
|
|
446
|
+
e(t(F), { name: "组件间隔" }, {
|
|
447
|
+
default: o(() => [
|
|
448
|
+
e(g, {
|
|
449
|
+
size: "small",
|
|
450
|
+
placeholder: `${t(_) || "暂无"}`,
|
|
451
|
+
disabled: !0
|
|
452
|
+
}, {
|
|
453
|
+
suffix: o(() => [
|
|
454
|
+
f(V(v.targetData && t(ae)[t(C)]), 1)
|
|
455
|
+
]),
|
|
456
|
+
_: 1
|
|
457
|
+
}, 8, ["placeholder"])
|
|
458
|
+
]),
|
|
459
|
+
_: 1
|
|
460
|
+
}),
|
|
461
|
+
e(t(F), { name: "全局间隔(默认)" }, {
|
|
462
|
+
default: o(() => {
|
|
463
|
+
var a;
|
|
464
|
+
return [
|
|
465
|
+
e(g, {
|
|
466
|
+
size: "small",
|
|
467
|
+
placeholder: `${((a = v.globalData) == null ? void 0 : a.requestInterval) || "暂无"}`,
|
|
468
|
+
disabled: !0
|
|
469
|
+
}, {
|
|
470
|
+
suffix: o(() => [
|
|
471
|
+
f(V(v.globalData && t(ae)[v.globalData.requestIntervalUnit]), 1)
|
|
472
|
+
]),
|
|
473
|
+
_: 1
|
|
474
|
+
}, 8, ["placeholder"])
|
|
475
|
+
];
|
|
476
|
+
}),
|
|
477
|
+
_: 1
|
|
478
|
+
})
|
|
479
|
+
]),
|
|
480
|
+
_: 1
|
|
481
|
+
}),
|
|
482
|
+
e(t(H), {
|
|
483
|
+
name: "源地址",
|
|
484
|
+
alone: !0
|
|
485
|
+
}, {
|
|
486
|
+
default: o(() => {
|
|
487
|
+
var a;
|
|
488
|
+
return [
|
|
489
|
+
e(g, {
|
|
490
|
+
size: "small",
|
|
491
|
+
placeholder: ((a = v.globalData) == null ? void 0 : a.requestOriginUrl) || "暂无",
|
|
492
|
+
disabled: !0
|
|
493
|
+
}, {
|
|
494
|
+
prefix: o(() => [
|
|
495
|
+
e(O, null, {
|
|
496
|
+
default: o(() => [
|
|
497
|
+
e(t(R))
|
|
498
|
+
]),
|
|
499
|
+
_: 1
|
|
500
|
+
})
|
|
501
|
+
]),
|
|
502
|
+
_: 1
|
|
503
|
+
}, 8, ["placeholder"])
|
|
504
|
+
];
|
|
505
|
+
}),
|
|
506
|
+
_: 1
|
|
507
|
+
}),
|
|
508
|
+
e(t(H), {
|
|
509
|
+
name: "接口地址",
|
|
510
|
+
alone: !0
|
|
511
|
+
}, {
|
|
512
|
+
default: o(() => [
|
|
513
|
+
e(g, {
|
|
514
|
+
size: "small",
|
|
515
|
+
placeholder: t(q) || "暂无",
|
|
516
|
+
disabled: !0
|
|
517
|
+
}, {
|
|
518
|
+
prefix: o(() => [
|
|
519
|
+
e(O, null, {
|
|
520
|
+
default: o(() => [
|
|
521
|
+
e(t(y))
|
|
522
|
+
]),
|
|
523
|
+
_: 1
|
|
524
|
+
})
|
|
525
|
+
]),
|
|
526
|
+
_: 1
|
|
527
|
+
}, 8, ["placeholder"])
|
|
528
|
+
]),
|
|
529
|
+
_: 1
|
|
530
|
+
})
|
|
531
|
+
]),
|
|
532
|
+
e(T),
|
|
533
|
+
e(t(H), { name: "类型" }, {
|
|
534
|
+
default: o(() => [
|
|
535
|
+
e(t(F), { name: "配置类型" }, {
|
|
536
|
+
default: o(() => [
|
|
537
|
+
e(g, {
|
|
538
|
+
size: "small",
|
|
539
|
+
placeholder: v.targetData && P[t(h)],
|
|
540
|
+
disabled: !0
|
|
541
|
+
}, null, 8, ["placeholder"])
|
|
542
|
+
]),
|
|
543
|
+
_: 1
|
|
544
|
+
}),
|
|
545
|
+
t(h) === t(J).DEFAULT ? (c(), z(t(F), {
|
|
546
|
+
key: 0,
|
|
547
|
+
name: "body 类型"
|
|
548
|
+
}, {
|
|
549
|
+
default: o(() => [
|
|
550
|
+
e(g, {
|
|
551
|
+
size: "small",
|
|
552
|
+
placeholder: v.targetData && t(u),
|
|
553
|
+
disabled: !0
|
|
554
|
+
}, null, 8, ["placeholder"])
|
|
555
|
+
]),
|
|
556
|
+
_: 1
|
|
557
|
+
})) : ee("", !0)
|
|
558
|
+
]),
|
|
559
|
+
_: 1
|
|
560
|
+
}),
|
|
561
|
+
t(h) === t(J).DEFAULT ? (c(), k("div", Be, [
|
|
562
|
+
e(s, {
|
|
563
|
+
type: "border-card",
|
|
564
|
+
modelValue: p.value,
|
|
565
|
+
"onUpdate:modelValue": x[0] || (x[0] = (a) => p.value = a)
|
|
566
|
+
}, {
|
|
567
|
+
default: o(() => [
|
|
568
|
+
(c(!0), k(K, null, de(t(A), (a) => (c(), z(D, {
|
|
569
|
+
key: a,
|
|
570
|
+
name: a,
|
|
571
|
+
label: a
|
|
572
|
+
}, null, 8, ["name", "label"]))), 128))
|
|
573
|
+
]),
|
|
574
|
+
_: 1
|
|
575
|
+
}, 8, ["modelValue"]),
|
|
576
|
+
i("div", Ae, [
|
|
577
|
+
p.value !== t(A).BODY ? (c(), k("div", Fe, [
|
|
578
|
+
e(ne, {
|
|
579
|
+
class: "go-my-3",
|
|
580
|
+
target: t(r)[p.value]
|
|
581
|
+
}, null, 8, ["target"])
|
|
582
|
+
])) : (c(), k("div", Le, [
|
|
583
|
+
t(u) === t(M).NONE ? (c(), z(l, {
|
|
584
|
+
key: 0,
|
|
585
|
+
class: "go-mt-3 go-pb-3",
|
|
586
|
+
shadow: "never"
|
|
587
|
+
}, {
|
|
588
|
+
default: o(() => [
|
|
589
|
+
e(I, { type: "info" }, {
|
|
590
|
+
default: o(() => x[1] || (x[1] = [
|
|
591
|
+
f("该接口没有 Body 体")
|
|
592
|
+
])),
|
|
593
|
+
_: 1,
|
|
594
|
+
__: [1]
|
|
595
|
+
})
|
|
596
|
+
]),
|
|
597
|
+
_: 1
|
|
598
|
+
})) : t(u) === t(M).FORM_DATA || t(u) === t(M).X_WWW_FORM_URLENCODED ? (c(), z(ne, {
|
|
599
|
+
key: 1,
|
|
600
|
+
class: "go-my-3",
|
|
601
|
+
target: t(r)[t(A).BODY][t(u)]
|
|
602
|
+
}, null, 8, ["target"])) : t(u) === t(M).JSON ? (c(), z(l, {
|
|
603
|
+
key: 2,
|
|
604
|
+
shadow: "never",
|
|
605
|
+
class: "code-card"
|
|
606
|
+
}, {
|
|
607
|
+
default: o(() => [
|
|
608
|
+
i("pre", Me, [
|
|
609
|
+
i("code", null, V(t(r)[t(A).BODY][t(u)] || "暂无内容"), 1)
|
|
610
|
+
])
|
|
611
|
+
]),
|
|
612
|
+
_: 1
|
|
613
|
+
})) : t(u) === t(M).XML ? (c(), k("pre", Ge, [
|
|
614
|
+
i("code", null, V(t(r)[t(A).BODY][t(u)] || ""), 1)
|
|
615
|
+
])) : ee("", !0)
|
|
616
|
+
]))
|
|
617
|
+
])
|
|
618
|
+
])) : (c(), k("div", je, [
|
|
619
|
+
e(t(H), { name: "键名" }, {
|
|
620
|
+
default: o(() => [
|
|
621
|
+
e(I, null, {
|
|
622
|
+
default: o(() => x[2] || (x[2] = [
|
|
623
|
+
f("sql")
|
|
624
|
+
])),
|
|
625
|
+
_: 1,
|
|
626
|
+
__: [2]
|
|
627
|
+
})
|
|
628
|
+
]),
|
|
629
|
+
_: 1
|
|
630
|
+
}),
|
|
631
|
+
e(t(H), { name: "键值" }, {
|
|
632
|
+
default: o(() => [
|
|
633
|
+
i("pre", Ye, [
|
|
634
|
+
i("code", null, V(t(w).sql || ""), 1)
|
|
635
|
+
])
|
|
636
|
+
]),
|
|
637
|
+
_: 1
|
|
638
|
+
})
|
|
639
|
+
]))
|
|
640
|
+
])
|
|
641
|
+
]),
|
|
642
|
+
_: 1
|
|
643
|
+
})
|
|
644
|
+
]);
|
|
645
|
+
};
|
|
646
|
+
}
|
|
647
|
+
});
|
|
648
|
+
const Qe = /* @__PURE__ */ j(Je, [["__scopeId", "data-v-742494f4"]]), We = { class: "pond-content" }, Xe = {
|
|
649
|
+
key: 1,
|
|
650
|
+
class: "no-data go-flex-center"
|
|
651
|
+
}, Ke = ["src"], Ze = { class: "dialog-footer" }, et = /* @__PURE__ */ L({
|
|
652
|
+
__name: "index",
|
|
653
|
+
props: {
|
|
654
|
+
modelShow: Boolean
|
|
655
|
+
},
|
|
656
|
+
emits: ["update:modelShow", "sendHandle"],
|
|
657
|
+
setup(v, { emit: E }) {
|
|
658
|
+
const S = v, y = E, { PencilIcon: R } = Z.ionicons5, { chartEditStore: q, targetData: _ } = te(), { requestDataPond: b } = X(q.getRequestGlobalConfig), h = $(!1), w = $(!1), r = $(!1), u = $(!1), C = $(), P = G(() => {
|
|
659
|
+
var a, U;
|
|
660
|
+
const l = (U = (a = _ == null ? void 0 : _.value) == null ? void 0 : a.request) == null ? void 0 : U.requestDataPondId;
|
|
661
|
+
return l ? b.value.filter((B) => l === B.dataPondId)[0] : void 0;
|
|
662
|
+
});
|
|
663
|
+
Q(
|
|
664
|
+
() => S.modelShow,
|
|
665
|
+
(l) => {
|
|
666
|
+
w.value = l;
|
|
667
|
+
}
|
|
668
|
+
), Q(
|
|
669
|
+
() => P.value,
|
|
670
|
+
(l) => {
|
|
671
|
+
r.value = !0, C.value = l, ce(() => {
|
|
672
|
+
r.value = !1;
|
|
673
|
+
});
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
immediate: !0
|
|
677
|
+
}
|
|
678
|
+
);
|
|
679
|
+
const p = (l = !1) => {
|
|
680
|
+
u.value = !!l, h.value = !0;
|
|
681
|
+
}, m = () => {
|
|
682
|
+
const l = me();
|
|
683
|
+
C.value = {
|
|
684
|
+
dataPondId: l,
|
|
685
|
+
dataPondName: l,
|
|
686
|
+
dataPondRequestConfig: qe({ ...fe, requestDataType: le.Pond })
|
|
687
|
+
}, p();
|
|
688
|
+
}, x = (l) => {
|
|
689
|
+
u.value ? g(l) : O(l), u.value = !1, h.value = !1;
|
|
690
|
+
}, g = (l) => {
|
|
691
|
+
try {
|
|
692
|
+
const d = b.value.findIndex((a) => a.dataPondId === l.dataPondId);
|
|
693
|
+
d !== -1 ? (b.value.splice(d, 1, l), q.getComponentList.forEach((a) => {
|
|
694
|
+
a.request.requestDataType === le.Pond && a.request.requestDataPondId === l.dataPondId && (a.request = {
|
|
695
|
+
...W(l.dataPondRequestConfig),
|
|
696
|
+
requestDataPondId: l.dataPondId
|
|
697
|
+
});
|
|
698
|
+
}), window.$message.success("保存成功!")) : window.$message.error("编辑失败,请稍后重试!");
|
|
699
|
+
} catch {
|
|
700
|
+
window.$message.error("编辑失败,请稍后重试!");
|
|
701
|
+
}
|
|
702
|
+
}, O = (l) => {
|
|
703
|
+
try {
|
|
704
|
+
C.value ? (b.value.unshift(l), window.$message.success("创建成功!")) : window.$message.error("创建失败,请稍后重试!");
|
|
705
|
+
} catch {
|
|
706
|
+
window.$message.error("创建失败,请稍后重试!");
|
|
707
|
+
}
|
|
708
|
+
}, T = (l) => {
|
|
709
|
+
re({
|
|
710
|
+
message: "删除数据后,需手动处理使用改接口的组件,是否继续?",
|
|
711
|
+
isMaskClosable: !0,
|
|
712
|
+
transformOrigin: "center",
|
|
713
|
+
onPositiveCallback: () => {
|
|
714
|
+
const d = b.value.findIndex((a) => a.dataPondId === l.dataPondId);
|
|
715
|
+
d !== -1 ? (b.value.splice(d, 1), window.$message.success("删除成功!")) : window.$message.error("删除失败,请稍后重试!");
|
|
716
|
+
}
|
|
717
|
+
});
|
|
718
|
+
}, D = () => {
|
|
719
|
+
_.value && P.value && (_.value.request = {
|
|
720
|
+
...W(P.value.dataPondRequestConfig),
|
|
721
|
+
requestDataPondId: P.value.dataPondId
|
|
722
|
+
}), y("update:modelShow", !1), y("sendHandle");
|
|
723
|
+
}, s = () => {
|
|
724
|
+
y("update:modelShow", !1);
|
|
725
|
+
}, I = () => {
|
|
726
|
+
s();
|
|
727
|
+
};
|
|
728
|
+
return (l, d) => {
|
|
729
|
+
const a = n("el-text"), U = n("el-icon"), B = n("el-button"), N = n("el-dialog");
|
|
730
|
+
return c(), k(K, null, [
|
|
731
|
+
e(N, {
|
|
732
|
+
class: "go-chart-data-pond-control",
|
|
733
|
+
modelValue: w.value,
|
|
734
|
+
"onUpdate:modelValue": d[1] || (d[1] = (Y) => w.value = Y),
|
|
735
|
+
"close-on-click-modal": !1,
|
|
736
|
+
"close-on-press-escape": !0,
|
|
737
|
+
width: "900px",
|
|
738
|
+
"show-close": !1,
|
|
739
|
+
"append-to-body": "",
|
|
740
|
+
"modal-append-to-body": "",
|
|
741
|
+
onClose: I
|
|
742
|
+
}, {
|
|
743
|
+
footer: o(() => [
|
|
744
|
+
i("div", Ze, [
|
|
745
|
+
e(B, {
|
|
746
|
+
type: "info",
|
|
747
|
+
plain: "",
|
|
748
|
+
disabled: !P.value,
|
|
749
|
+
onClick: d[0] || (d[0] = (Y) => p(!0))
|
|
750
|
+
}, {
|
|
751
|
+
default: o(() => [
|
|
752
|
+
e(U, null, {
|
|
753
|
+
default: o(() => [
|
|
754
|
+
e(t(R))
|
|
755
|
+
]),
|
|
756
|
+
_: 1
|
|
757
|
+
}),
|
|
758
|
+
d[4] || (d[4] = f(" 编辑内容 "))
|
|
759
|
+
]),
|
|
760
|
+
_: 1,
|
|
761
|
+
__: [4]
|
|
762
|
+
}, 8, ["disabled"]),
|
|
763
|
+
i("div", null, [
|
|
764
|
+
e(B, {
|
|
765
|
+
class: "go-mr-3",
|
|
766
|
+
onClick: s
|
|
767
|
+
}, {
|
|
768
|
+
default: o(() => d[5] || (d[5] = [
|
|
769
|
+
f("取消")
|
|
770
|
+
])),
|
|
771
|
+
_: 1,
|
|
772
|
+
__: [5]
|
|
773
|
+
}),
|
|
774
|
+
e(B, {
|
|
775
|
+
type: "primary",
|
|
776
|
+
onClick: D
|
|
777
|
+
}, {
|
|
778
|
+
default: o(() => d[6] || (d[6] = [
|
|
779
|
+
f("保存 & 发送请求")
|
|
780
|
+
])),
|
|
781
|
+
_: 1,
|
|
782
|
+
__: [6]
|
|
783
|
+
})
|
|
784
|
+
])
|
|
785
|
+
])
|
|
786
|
+
]),
|
|
787
|
+
default: o(() => [
|
|
788
|
+
i("div", We, [
|
|
789
|
+
P.value && !r.value ? (c(), z(t(Qe), {
|
|
790
|
+
key: 0,
|
|
791
|
+
targetData: P.value,
|
|
792
|
+
globalData: t(q).getRequestGlobalConfig
|
|
793
|
+
}, null, 8, ["targetData", "globalData"])) : (c(), k("div", Xe, [
|
|
794
|
+
i("img", {
|
|
795
|
+
src: t(ye),
|
|
796
|
+
alt: "暂无数据"
|
|
797
|
+
}, null, 8, Ke),
|
|
798
|
+
e(a, { type: "info" }, {
|
|
799
|
+
default: o(() => d[3] || (d[3] = [
|
|
800
|
+
f("暂未选择公共接口")
|
|
801
|
+
])),
|
|
802
|
+
_: 1,
|
|
803
|
+
__: [3]
|
|
804
|
+
})
|
|
805
|
+
])),
|
|
806
|
+
e(t(Ne), {
|
|
807
|
+
onCreatePond: m,
|
|
808
|
+
onDeletePond: T
|
|
809
|
+
})
|
|
810
|
+
])
|
|
811
|
+
]),
|
|
812
|
+
_: 1
|
|
813
|
+
}, 8, ["modelValue"]),
|
|
814
|
+
e(t(Ce), {
|
|
815
|
+
modelShow: h.value,
|
|
816
|
+
"onUpdate:modelShow": d[2] || (d[2] = (Y) => h.value = Y),
|
|
817
|
+
targetDataRequest: C.value,
|
|
818
|
+
isEdit: u.value,
|
|
819
|
+
onEditSaveHandle: x
|
|
820
|
+
}, null, 8, ["modelShow", "targetDataRequest", "isEdit"])
|
|
821
|
+
], 64);
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
});
|
|
825
|
+
const tt = /* @__PURE__ */ j(et, [["__scopeId", "data-v-2702a67a"]]), ot = { class: "go-chart-data-pond" }, at = { class: "go-absolute-center" }, lt = /* @__PURE__ */ L({
|
|
826
|
+
__name: "index",
|
|
827
|
+
setup(v) {
|
|
828
|
+
se((D) => ({
|
|
829
|
+
b6aa150c: g.value
|
|
830
|
+
}));
|
|
831
|
+
const E = ie(), { HelpOutlineIcon: S, FlashIcon: y, PulseIcon: R, FishIcon: q } = Z.ionicons5, { targetData: _, chartEditStore: b } = te(), {
|
|
832
|
+
requestDataPond: h,
|
|
833
|
+
requestInterval: w,
|
|
834
|
+
requestIntervalUnit: r
|
|
835
|
+
} = X(b.getRequestGlobalConfig), u = $(!1), C = $(!1), P = $(!1);
|
|
836
|
+
let p = 0, m;
|
|
837
|
+
const x = G(() => {
|
|
838
|
+
var I;
|
|
839
|
+
const D = (I = _.value) == null ? void 0 : I.request.requestDataPondId;
|
|
840
|
+
return D ? h.value.filter((l) => D === l.dataPondId)[0] : void 0;
|
|
841
|
+
}), g = G(() => E.getAppTheme), O = () => {
|
|
842
|
+
C.value = !0;
|
|
843
|
+
}, T = async () => {
|
|
844
|
+
var D;
|
|
845
|
+
if (!((D = _.value) != null && D.request)) {
|
|
846
|
+
window.$message.warning("请选择一个公共接口!");
|
|
847
|
+
return;
|
|
848
|
+
}
|
|
849
|
+
u.value = !0;
|
|
850
|
+
try {
|
|
851
|
+
const s = await ve(W(_.value.request), W(b.getRequestGlobalConfig));
|
|
852
|
+
if (u.value = !1, s) {
|
|
853
|
+
if (!(s != null && s.data) && !_.value.filter) {
|
|
854
|
+
window.$message.warning("您的数据不符合默认格式,请配置过滤器!"), P.value = !0;
|
|
855
|
+
return;
|
|
856
|
+
}
|
|
857
|
+
_.value.option.dataset = ge(s == null ? void 0 : s.data, s, _.value.filter), P.value = !0;
|
|
858
|
+
return;
|
|
859
|
+
}
|
|
860
|
+
window.$message.warning("没有拿到返回值,请检查接口!");
|
|
861
|
+
} catch (s) {
|
|
862
|
+
console.error(s), u.value = !1, window.$message.warning("数据异常,请检查参数!");
|
|
863
|
+
}
|
|
864
|
+
};
|
|
865
|
+
return _e(() => {
|
|
866
|
+
var s;
|
|
867
|
+
const D = (s = _.value) == null ? void 0 : s.filter;
|
|
868
|
+
m !== D && p && (m = D, T()), p++;
|
|
869
|
+
}), pe(() => {
|
|
870
|
+
m = null;
|
|
871
|
+
}), (D, s) => {
|
|
872
|
+
const I = n("el-icon"), l = n("el-input"), d = n("el-button"), a = n("el-card"), U = n("el-tooltip"), B = n("go-skeleton");
|
|
873
|
+
return c(), k(K, null, [
|
|
874
|
+
i("div", ot, [
|
|
875
|
+
e(a, {
|
|
876
|
+
class: "card-shallow",
|
|
877
|
+
shadow: "never"
|
|
878
|
+
}, {
|
|
879
|
+
default: o(() => [
|
|
880
|
+
e(t(H), {
|
|
881
|
+
name: "请求名称",
|
|
882
|
+
alone: !0
|
|
883
|
+
}, {
|
|
884
|
+
default: o(() => {
|
|
885
|
+
var N;
|
|
886
|
+
return [
|
|
887
|
+
e(l, {
|
|
888
|
+
size: "small",
|
|
889
|
+
placeholder: ((N = x.value) == null ? void 0 : N.dataPondName) || "暂无",
|
|
890
|
+
disabled: !0
|
|
891
|
+
}, {
|
|
892
|
+
prefix: o(() => [
|
|
893
|
+
e(I, null, {
|
|
894
|
+
default: o(() => [
|
|
895
|
+
e(t(q))
|
|
896
|
+
]),
|
|
897
|
+
_: 1
|
|
898
|
+
})
|
|
899
|
+
]),
|
|
900
|
+
_: 1
|
|
901
|
+
}, 8, ["placeholder"])
|
|
902
|
+
];
|
|
903
|
+
}),
|
|
904
|
+
_: 1
|
|
905
|
+
}),
|
|
906
|
+
e(t(H), {
|
|
907
|
+
name: "接口地址",
|
|
908
|
+
alone: !0
|
|
909
|
+
}, {
|
|
910
|
+
default: o(() => {
|
|
911
|
+
var N;
|
|
912
|
+
return [
|
|
913
|
+
e(l, {
|
|
914
|
+
size: "small",
|
|
915
|
+
placeholder: ((N = x.value) == null ? void 0 : N.dataPondRequestConfig.requestUrl) || "暂无",
|
|
916
|
+
disabled: !0
|
|
917
|
+
}, {
|
|
918
|
+
prefix: o(() => [
|
|
919
|
+
e(I, null, {
|
|
920
|
+
default: o(() => [
|
|
921
|
+
e(t(y))
|
|
922
|
+
]),
|
|
923
|
+
_: 1
|
|
924
|
+
})
|
|
925
|
+
]),
|
|
926
|
+
_: 1
|
|
927
|
+
}, 8, ["placeholder"])
|
|
928
|
+
];
|
|
929
|
+
}),
|
|
930
|
+
_: 1
|
|
931
|
+
}),
|
|
932
|
+
i("div", {
|
|
933
|
+
class: "edit-text",
|
|
934
|
+
onClick: O
|
|
935
|
+
}, [
|
|
936
|
+
i("div", at, [
|
|
937
|
+
e(d, {
|
|
938
|
+
type: "primary",
|
|
939
|
+
plain: ""
|
|
940
|
+
}, {
|
|
941
|
+
default: o(() => s[1] || (s[1] = [
|
|
942
|
+
f("编辑配置")
|
|
943
|
+
])),
|
|
944
|
+
_: 1,
|
|
945
|
+
__: [1]
|
|
946
|
+
})
|
|
947
|
+
])
|
|
948
|
+
])
|
|
949
|
+
]),
|
|
950
|
+
_: 1
|
|
951
|
+
})
|
|
952
|
+
]),
|
|
953
|
+
e(t(H), { alone: !0 }, {
|
|
954
|
+
name: o(() => [
|
|
955
|
+
s[2] || (s[2] = f(" 测试 ")),
|
|
956
|
+
e(U, {
|
|
957
|
+
content: "默认赋值给 dataset 字段",
|
|
958
|
+
placement: "top"
|
|
959
|
+
}, {
|
|
960
|
+
default: o(() => [
|
|
961
|
+
e(I, { size: 21 }, {
|
|
962
|
+
default: o(() => [
|
|
963
|
+
e(t(S))
|
|
964
|
+
]),
|
|
965
|
+
_: 1
|
|
966
|
+
})
|
|
967
|
+
]),
|
|
968
|
+
_: 1
|
|
969
|
+
})
|
|
970
|
+
]),
|
|
971
|
+
default: o(() => [
|
|
972
|
+
e(d, {
|
|
973
|
+
type: "primary",
|
|
974
|
+
plain: "",
|
|
975
|
+
onClick: T
|
|
976
|
+
}, {
|
|
977
|
+
default: o(() => [
|
|
978
|
+
e(I, null, {
|
|
979
|
+
default: o(() => [
|
|
980
|
+
e(t(y))
|
|
981
|
+
]),
|
|
982
|
+
_: 1
|
|
983
|
+
}),
|
|
984
|
+
s[3] || (s[3] = f(" 发送请求 "))
|
|
985
|
+
]),
|
|
986
|
+
_: 1,
|
|
987
|
+
__: [3]
|
|
988
|
+
})
|
|
989
|
+
]),
|
|
990
|
+
_: 1
|
|
991
|
+
}),
|
|
992
|
+
e(t(we), {
|
|
993
|
+
show: P.value && !u.value,
|
|
994
|
+
ajax: !0
|
|
995
|
+
}, null, 8, ["show"]),
|
|
996
|
+
e(B, {
|
|
997
|
+
load: u.value,
|
|
998
|
+
repeat: 3
|
|
999
|
+
}, null, 8, ["load"]),
|
|
1000
|
+
e(t(tt), {
|
|
1001
|
+
modelShow: C.value,
|
|
1002
|
+
"onUpdate:modelShow": s[0] || (s[0] = (N) => C.value = N),
|
|
1003
|
+
onSendHandle: T
|
|
1004
|
+
}, null, 8, ["modelShow"])
|
|
1005
|
+
], 64);
|
|
1006
|
+
};
|
|
1007
|
+
}
|
|
1008
|
+
});
|
|
1009
|
+
const Gt = /* @__PURE__ */ j(lt, [["__scopeId", "data-v-e8954692"]]);
|
|
1010
|
+
export {
|
|
1011
|
+
Gt as default
|
|
1012
|
+
};
|
|
1013
|
+
//# sourceMappingURL=index-be12782c.js.map
|