@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,729 @@
|
|
|
1
|
+
import { defineComponent as re, ref as g, computed as G, watch as ue, resolveComponent as c, openBlock as p, createElementBlock as k, Fragment as le, unref as i, createBlock as H, withCtx as l, createElementVNode as s, createVNode as t, createTextVNode as d, toDisplayString as C, toRaw as ne, nextTick as Ce, normalizeClass as he, createCommentVNode as D, renderList as be, withDirectives as ke, vShow as we, isRef as $e } from "vue";
|
|
2
|
+
import { aJ as W, p as X, aK as xe, q as oe, _ as ce, am as ie, an as Ve, a5 as Se, aj as Fe, ak as Te, aD as Ee, k as B, aL as de } from "./index-237a6823.js";
|
|
3
|
+
import "vue3-lazyload";
|
|
4
|
+
import "element-plus";
|
|
5
|
+
import "screenfull";
|
|
6
|
+
import "lodash/throttle";
|
|
7
|
+
import "html2canvas";
|
|
8
|
+
import Re from "lodash/cloneDeep";
|
|
9
|
+
import "crypto-js";
|
|
10
|
+
import "vue3-sketch-ruler";
|
|
11
|
+
import { T as K, D as U } from "./index-c7145ef3.js";
|
|
12
|
+
import { u as _e } from "./useTargetData.hook-832cc980.js";
|
|
13
|
+
import { M as pe } from "./index-8d8dc1d2.js";
|
|
14
|
+
import "lodash/isObject";
|
|
15
|
+
const ze = { class: "go-ml-4" }, Ue = { class: "code-block" }, He = { class: "card-footer" }, Ie = { class: "editor-container" }, Ne = { class: "editor-left" }, Ae = { class: "editor-section" }, qe = { class: "data-show-list" }, De = { class: "editor-data-show" }, Le = { class: "data-item" }, Oe = { class: "code-block" }, je = { class: "editor-data-show" }, Pe = { class: "data-item" }, Je = { class: "code-block" }, Me = { class: "editor-data-show" }, Be = { class: "data-item" }, Ke = { class: "code-block" }, Ge = { class: "dialog-footer" }, We = { class: "go-flex-items-center" }, Xe = { class: "action-buttons" }, Qe = /* @__PURE__ */ re({
|
|
16
|
+
__name: "index",
|
|
17
|
+
setup(I) {
|
|
18
|
+
var O;
|
|
19
|
+
const { DocumentTextIcon: n } = X.ionicons5, { FilterIcon: L, FilterEditIcon: Q } = X.carbon, { targetData: m, chartEditStore: w } = _e(), f = g(!1), _ = g(((O = m.value) == null ? void 0 : O.filter) || "return data"), S = g(!1), h = g(""), x = async () => {
|
|
20
|
+
if (m.value)
|
|
21
|
+
try {
|
|
22
|
+
const v = await xe(ne(m.value.request), ne(w.getRequestGlobalConfig));
|
|
23
|
+
if (v) {
|
|
24
|
+
h.value = v;
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
window.$message.warning("没有拿到返回值,请检查接口!");
|
|
28
|
+
} catch (v) {
|
|
29
|
+
console.error(v), window.$message.warning("数据异常,请检查参数!");
|
|
30
|
+
}
|
|
31
|
+
}, F = G(() => {
|
|
32
|
+
try {
|
|
33
|
+
const v = new Function("data", "res", _.value), o = Re(h.value), $ = v(o == null ? void 0 : o.data, o);
|
|
34
|
+
return S.value = !1, W($);
|
|
35
|
+
} catch (v) {
|
|
36
|
+
return S.value = !0, `过滤函数错误,日志:${v}`;
|
|
37
|
+
}
|
|
38
|
+
}), b = () => {
|
|
39
|
+
f.value = !0;
|
|
40
|
+
}, T = () => {
|
|
41
|
+
oe({
|
|
42
|
+
message: "是否删除过滤器",
|
|
43
|
+
onPositiveCallback: () => {
|
|
44
|
+
m.value && (m.value.filter = void 0);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}, E = () => {
|
|
48
|
+
f.value = !1;
|
|
49
|
+
}, Y = () => {
|
|
50
|
+
if (m.value) {
|
|
51
|
+
if (S.value) {
|
|
52
|
+
window.$message.error("过滤函数错误,无法进行保存");
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
m.value.filter = _.value, E();
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
return ue(
|
|
59
|
+
() => f.value,
|
|
60
|
+
(v) => {
|
|
61
|
+
var o;
|
|
62
|
+
v && (x(), _.value = ((o = m.value) == null ? void 0 : o.filter) || "return data");
|
|
63
|
+
}
|
|
64
|
+
), (v, o) => {
|
|
65
|
+
var a;
|
|
66
|
+
const $ = c("el-icon"), V = c("el-button"), j = c("el-card"), N = c("el-tag"), Z = c("el-divider"), R = c("el-text"), z = c("el-scrollbar"), ee = c("el-dialog");
|
|
67
|
+
return p(), k(le, null, [
|
|
68
|
+
(a = i(m)) != null && a.filter ? (p(), H(j, {
|
|
69
|
+
key: 0,
|
|
70
|
+
shadow: "never"
|
|
71
|
+
}, {
|
|
72
|
+
footer: l(() => [
|
|
73
|
+
s("div", He, [
|
|
74
|
+
t(V, {
|
|
75
|
+
type: "primary",
|
|
76
|
+
text: "",
|
|
77
|
+
size: "small",
|
|
78
|
+
onClick: b
|
|
79
|
+
}, {
|
|
80
|
+
default: l(() => [
|
|
81
|
+
t($, null, {
|
|
82
|
+
default: l(() => [
|
|
83
|
+
t(i(Q))
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
}),
|
|
87
|
+
o[2] || (o[2] = d(" 编辑 "))
|
|
88
|
+
]),
|
|
89
|
+
_: 1,
|
|
90
|
+
__: [2]
|
|
91
|
+
}),
|
|
92
|
+
t(V, {
|
|
93
|
+
text: "",
|
|
94
|
+
size: "small",
|
|
95
|
+
onClick: T
|
|
96
|
+
}, {
|
|
97
|
+
default: l(() => o[3] || (o[3] = [
|
|
98
|
+
d(" 删除 ")
|
|
99
|
+
])),
|
|
100
|
+
_: 1,
|
|
101
|
+
__: [3]
|
|
102
|
+
})
|
|
103
|
+
])
|
|
104
|
+
]),
|
|
105
|
+
default: l(() => {
|
|
106
|
+
var e;
|
|
107
|
+
return [
|
|
108
|
+
o[4] || (o[4] = s("p", null, [
|
|
109
|
+
s("span", { class: "func-keyword" }, "function"),
|
|
110
|
+
d(" filter(data, res) {")
|
|
111
|
+
], -1)),
|
|
112
|
+
s("div", ze, [
|
|
113
|
+
s("pre", Ue, [
|
|
114
|
+
s("code", null, C((e = i(m)) == null ? void 0 : e.filter), 1)
|
|
115
|
+
])
|
|
116
|
+
]),
|
|
117
|
+
o[5] || (o[5] = s("p", null, "}", -1))
|
|
118
|
+
];
|
|
119
|
+
}),
|
|
120
|
+
_: 1,
|
|
121
|
+
__: [4, 5]
|
|
122
|
+
})) : (p(), H(V, {
|
|
123
|
+
key: 1,
|
|
124
|
+
class: "go-ml-3",
|
|
125
|
+
onClick: b
|
|
126
|
+
}, {
|
|
127
|
+
default: l(() => [
|
|
128
|
+
t($, null, {
|
|
129
|
+
default: l(() => [
|
|
130
|
+
t(i(L))
|
|
131
|
+
]),
|
|
132
|
+
_: 1
|
|
133
|
+
}),
|
|
134
|
+
o[6] || (o[6] = d(" 新增过滤器 "))
|
|
135
|
+
]),
|
|
136
|
+
_: 1,
|
|
137
|
+
__: [6]
|
|
138
|
+
})),
|
|
139
|
+
t(ee, {
|
|
140
|
+
class: "go-chart-data-monaco-editor",
|
|
141
|
+
modelValue: f.value,
|
|
142
|
+
"onUpdate:modelValue": o[1] || (o[1] = (e) => f.value = e),
|
|
143
|
+
"close-on-click-modal": !1,
|
|
144
|
+
"close-on-press-escape": !1,
|
|
145
|
+
width: "1000px",
|
|
146
|
+
title: "过滤器函数编辑器"
|
|
147
|
+
}, {
|
|
148
|
+
footer: l(() => [
|
|
149
|
+
s("div", Ge, [
|
|
150
|
+
s("div", We, [
|
|
151
|
+
t(N, {
|
|
152
|
+
type: "primary",
|
|
153
|
+
"disable-transitions": ""
|
|
154
|
+
}, {
|
|
155
|
+
default: l(() => [
|
|
156
|
+
t($, null, {
|
|
157
|
+
default: l(() => [
|
|
158
|
+
t(i(n))
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
}),
|
|
162
|
+
o[12] || (o[12] = d(" 规则 "))
|
|
163
|
+
]),
|
|
164
|
+
_: 1,
|
|
165
|
+
__: [12]
|
|
166
|
+
}),
|
|
167
|
+
t(R, {
|
|
168
|
+
class: "go-ml-2",
|
|
169
|
+
type: "info"
|
|
170
|
+
}, {
|
|
171
|
+
default: l(() => o[13] || (o[13] = [
|
|
172
|
+
d("过滤器默认处理接口返回值的「data」字段")
|
|
173
|
+
])),
|
|
174
|
+
_: 1,
|
|
175
|
+
__: [13]
|
|
176
|
+
})
|
|
177
|
+
]),
|
|
178
|
+
s("div", Xe, [
|
|
179
|
+
t(V, { onClick: E }, {
|
|
180
|
+
default: l(() => o[14] || (o[14] = [
|
|
181
|
+
d("取消")
|
|
182
|
+
])),
|
|
183
|
+
_: 1,
|
|
184
|
+
__: [14]
|
|
185
|
+
}),
|
|
186
|
+
t(V, {
|
|
187
|
+
type: "primary",
|
|
188
|
+
onClick: Y
|
|
189
|
+
}, {
|
|
190
|
+
default: l(() => o[15] || (o[15] = [
|
|
191
|
+
d("保存")
|
|
192
|
+
])),
|
|
193
|
+
_: 1,
|
|
194
|
+
__: [15]
|
|
195
|
+
})
|
|
196
|
+
])
|
|
197
|
+
])
|
|
198
|
+
]),
|
|
199
|
+
default: l(() => [
|
|
200
|
+
s("div", Ie, [
|
|
201
|
+
s("div", Ne, [
|
|
202
|
+
s("div", Ae, [
|
|
203
|
+
t(N, { type: "info" }, {
|
|
204
|
+
default: l(() => o[7] || (o[7] = [
|
|
205
|
+
s("span", { class: "func-keyword" }, "function", -1),
|
|
206
|
+
d(" filter(data, res) { ")
|
|
207
|
+
])),
|
|
208
|
+
_: 1,
|
|
209
|
+
__: [7]
|
|
210
|
+
}),
|
|
211
|
+
t(i(pe), {
|
|
212
|
+
modelValue: _.value,
|
|
213
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => _.value = e),
|
|
214
|
+
width: "460px",
|
|
215
|
+
height: "380px",
|
|
216
|
+
language: "javascript"
|
|
217
|
+
}, null, 8, ["modelValue"]),
|
|
218
|
+
t(N, { type: "info" }, {
|
|
219
|
+
default: l(() => o[8] || (o[8] = [
|
|
220
|
+
d("}")
|
|
221
|
+
])),
|
|
222
|
+
_: 1,
|
|
223
|
+
__: [8]
|
|
224
|
+
})
|
|
225
|
+
])
|
|
226
|
+
]),
|
|
227
|
+
t(Z, {
|
|
228
|
+
direction: "vertical",
|
|
229
|
+
style: { height: "480px" }
|
|
230
|
+
}),
|
|
231
|
+
t(z, { "max-height": "480px" }, {
|
|
232
|
+
default: l(() => {
|
|
233
|
+
var e;
|
|
234
|
+
return [
|
|
235
|
+
s("div", qe, [
|
|
236
|
+
s("div", De, [
|
|
237
|
+
s("div", Le, [
|
|
238
|
+
t(R, { type: "info" }, {
|
|
239
|
+
default: l(() => o[9] || (o[9] = [
|
|
240
|
+
d("默认过滤数据(data):")
|
|
241
|
+
])),
|
|
242
|
+
_: 1,
|
|
243
|
+
__: [9]
|
|
244
|
+
}),
|
|
245
|
+
s("pre", Oe, [
|
|
246
|
+
s("code", null, C(i(W)((e = h.value) == null ? void 0 : e.data) || "暂无"), 1)
|
|
247
|
+
])
|
|
248
|
+
])
|
|
249
|
+
]),
|
|
250
|
+
s("div", je, [
|
|
251
|
+
s("div", Pe, [
|
|
252
|
+
t(R, { type: "info" }, {
|
|
253
|
+
default: l(() => o[10] || (o[10] = [
|
|
254
|
+
d("接口返回数据(res):")
|
|
255
|
+
])),
|
|
256
|
+
_: 1,
|
|
257
|
+
__: [10]
|
|
258
|
+
}),
|
|
259
|
+
s("pre", Je, [
|
|
260
|
+
s("code", null, C(i(W)(h.value) || "暂无"), 1)
|
|
261
|
+
])
|
|
262
|
+
])
|
|
263
|
+
]),
|
|
264
|
+
s("div", Me, [
|
|
265
|
+
s("div", Be, [
|
|
266
|
+
t(R, { type: "info" }, {
|
|
267
|
+
default: l(() => o[11] || (o[11] = [
|
|
268
|
+
d("过滤器结果:")
|
|
269
|
+
])),
|
|
270
|
+
_: 1,
|
|
271
|
+
__: [11]
|
|
272
|
+
}),
|
|
273
|
+
s("pre", Ke, [
|
|
274
|
+
s("code", null, C(F.value || "暂无"), 1)
|
|
275
|
+
])
|
|
276
|
+
])
|
|
277
|
+
])
|
|
278
|
+
])
|
|
279
|
+
];
|
|
280
|
+
}),
|
|
281
|
+
_: 1
|
|
282
|
+
})
|
|
283
|
+
])
|
|
284
|
+
]),
|
|
285
|
+
_: 1
|
|
286
|
+
}, 8, ["modelValue"])
|
|
287
|
+
], 64);
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
const Ye = /* @__PURE__ */ ce(Qe, [["__scopeId", "data-v-3478d24b"]]), Ze = (I) => {
|
|
292
|
+
const n = g();
|
|
293
|
+
return {
|
|
294
|
+
uploadFileListRef: n,
|
|
295
|
+
beforeUpload: ({ file: w }) => {
|
|
296
|
+
n.value = [];
|
|
297
|
+
const f = w.file.type;
|
|
298
|
+
return f !== ie.JSON && f !== ie.TXT ? (window.$message.warning("仅支持上传 【JSON】 格式文件,请重新上传!"), !1) : !0;
|
|
299
|
+
},
|
|
300
|
+
customRequest: (w) => {
|
|
301
|
+
const { file: f } = w;
|
|
302
|
+
Ce(() => {
|
|
303
|
+
f ? Ve(f).then((_) => {
|
|
304
|
+
I.value.option.dataset = Se(_);
|
|
305
|
+
}) : window.$message.error("导入数据失败,请稍后重试或联系管理员!");
|
|
306
|
+
});
|
|
307
|
+
},
|
|
308
|
+
download: () => {
|
|
309
|
+
try {
|
|
310
|
+
window.$message.success("下载中,请耐心等待..."), Fe(Te(I.value.option.dataset), void 0, "json");
|
|
311
|
+
} catch {
|
|
312
|
+
window.$message.error("下载失败,数据错误!");
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
}, et = {
|
|
317
|
+
key: 0,
|
|
318
|
+
class: "go-chart-configurations-data"
|
|
319
|
+
}, tt = {
|
|
320
|
+
key: 0,
|
|
321
|
+
class: "data-section"
|
|
322
|
+
}, lt = { class: "section-title" }, ot = {
|
|
323
|
+
key: 0,
|
|
324
|
+
class: "status-cell"
|
|
325
|
+
}, st = {
|
|
326
|
+
key: 1,
|
|
327
|
+
class: "status-cell"
|
|
328
|
+
}, at = {
|
|
329
|
+
key: 1,
|
|
330
|
+
class: "data-section"
|
|
331
|
+
}, nt = { class: "section-title" }, it = {
|
|
332
|
+
key: 0,
|
|
333
|
+
class: "mapping-inputs"
|
|
334
|
+
}, dt = { class: "data-section" }, rt = { class: "section-title" }, ut = { class: "data-section" }, ct = { class: "section-title" }, _t = { class: "source-btn-box" }, pt = { class: "code-block" }, mt = { class: "dialog-footer" }, ft = { class: "tips-box" }, vt = { class: "tips-content" }, gt = { class: "action-buttons" }, yt = /* @__PURE__ */ re({
|
|
335
|
+
__name: "index",
|
|
336
|
+
props: {
|
|
337
|
+
show: {
|
|
338
|
+
type: Boolean,
|
|
339
|
+
required: !1
|
|
340
|
+
},
|
|
341
|
+
ajax: {
|
|
342
|
+
type: Boolean,
|
|
343
|
+
required: !0
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
setup(I) {
|
|
347
|
+
const { targetData: n } = _e(), { HelpOutlineIcon: L, DocumentTextIcon: Q } = X.ionicons5, { DocumentAddIcon: m, DocumentDownloadIcon: w, EditIcon: f } = X.carbon, _ = g(), S = g(), h = g(), x = g(!1), F = g(!1), b = g(""), T = g([]), { uploadFileListRef: E, customRequest: Y, beforeUpload: O, download: v } = Ze(n), o = G(() => {
|
|
348
|
+
var a;
|
|
349
|
+
return ((a = n.value) == null ? void 0 : a.request.requestDataType) !== Ee.STATIC;
|
|
350
|
+
}), $ = G(() => {
|
|
351
|
+
var a;
|
|
352
|
+
return ((a = n.value) == null ? void 0 : a.chartConfig.chartFrame) === B.ECHARTS;
|
|
353
|
+
}), V = G(() => {
|
|
354
|
+
var a;
|
|
355
|
+
return ((a = n.value) == null ? void 0 : a.chartConfig.chartFrame) === B.VCHART;
|
|
356
|
+
}), j = (a) => {
|
|
357
|
+
let e = U.SUCCESS;
|
|
358
|
+
for (let r = 0; r < _.value.length; r++)
|
|
359
|
+
if (_.value[r][a] === void 0)
|
|
360
|
+
return e = U.FAILURE, e;
|
|
361
|
+
return U.SUCCESS;
|
|
362
|
+
}, N = () => {
|
|
363
|
+
try {
|
|
364
|
+
return S.value.map((a, e) => e === 0 ? { field: "通用标识", mapping: a, result: U.NULL } : { field: `数据项-${e}`, mapping: a, result: j(a) });
|
|
365
|
+
} catch {
|
|
366
|
+
return [];
|
|
367
|
+
}
|
|
368
|
+
}, Z = () => {
|
|
369
|
+
var a;
|
|
370
|
+
if ((a = n.value) != null && a.option) {
|
|
371
|
+
T.value = [];
|
|
372
|
+
for (const e in n.value.option)
|
|
373
|
+
if (e.endsWith("Field")) {
|
|
374
|
+
const r = n.value.option[e];
|
|
375
|
+
n.value.option[e] = r;
|
|
376
|
+
const y = { field: e, mapping: r, result: U.SUCCESS };
|
|
377
|
+
y.mapping === void 0 && (y.result = U.FAILURE), T.value.push(y);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}, R = () => {
|
|
381
|
+
n.value && (F.value = !0, n.value.chartConfig.chartKey !== "VHtmlCommon" ? b.value = JSON.stringify(_.value, null, 2) : b.value = _.value);
|
|
382
|
+
}, z = () => {
|
|
383
|
+
F.value = !1;
|
|
384
|
+
}, ee = () => {
|
|
385
|
+
if (!n.value)
|
|
386
|
+
return;
|
|
387
|
+
const a = n.value, e = (r) => {
|
|
388
|
+
a.option.dataset = r;
|
|
389
|
+
};
|
|
390
|
+
oe({
|
|
391
|
+
message: "是否保存编辑后的数据?",
|
|
392
|
+
onPositiveCallback: () => {
|
|
393
|
+
try {
|
|
394
|
+
let r = b.value;
|
|
395
|
+
if (a.chartConfig.chartKey !== "VHtmlCommon" && (r = JSON.parse(r)), typeof r != typeof _.value)
|
|
396
|
+
oe({
|
|
397
|
+
message: "当前数据类型与原类型不相同, 是否强制应用数据?",
|
|
398
|
+
onPositiveCallback: () => {
|
|
399
|
+
try {
|
|
400
|
+
e(r), b.value = "", window.$message.success("保存成功"), z();
|
|
401
|
+
} catch {
|
|
402
|
+
window.$message.error("内容应用错误, 请检查格式是否正确");
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
});
|
|
406
|
+
else
|
|
407
|
+
try {
|
|
408
|
+
e(r), b.value = "", window.$message.success("保存成功"), z();
|
|
409
|
+
} catch {
|
|
410
|
+
window.$message.error("内容应用错误, 请检查格式是否正确");
|
|
411
|
+
}
|
|
412
|
+
} catch (r) {
|
|
413
|
+
console.log(r), window.$message.error("内容应用错误, 请检查格式是否正确");
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
|
+
};
|
|
418
|
+
return ue(
|
|
419
|
+
() => {
|
|
420
|
+
var a, e;
|
|
421
|
+
return (e = (a = n.value) == null ? void 0 : a.option) == null ? void 0 : e.dataset;
|
|
422
|
+
},
|
|
423
|
+
(a) => {
|
|
424
|
+
var e, r, y, A;
|
|
425
|
+
x.value = !1, a && ((r = (e = n == null ? void 0 : n.value) == null ? void 0 : e.chartConfig) == null ? void 0 : r.chartFrame) === B.ECHARTS ? (_.value = a, $.value && (S.value = a.dimensions, h.value = N())) : a && ((A = (y = n == null ? void 0 : n.value) == null ? void 0 : y.chartConfig) == null ? void 0 : A.chartFrame) === B.VCHART ? (_.value = a, Z()) : a != null ? (h.value = null, _.value = a, T.value = []) : (x.value = !0, _.value = "此组件无数据源"), de(a) && (h.value = null);
|
|
426
|
+
},
|
|
427
|
+
{ immediate: !0 }
|
|
428
|
+
), (a, e) => {
|
|
429
|
+
const r = c("el-table-column"), y = c("el-badge"), A = c("el-table"), P = c("el-text"), se = c("el-input"), J = c("el-icon"), q = c("el-button"), me = c("el-upload"), fe = c("el-tooltip"), ve = c("el-card"), te = c("el-tag"), ge = c("el-dialog");
|
|
430
|
+
return p(), k(le, null, [
|
|
431
|
+
i(n) ? (p(), k("div", et, [
|
|
432
|
+
$.value && h.value ? (p(), k("div", tt, [
|
|
433
|
+
s("div", lt, C(i(K).MAPPING), 1),
|
|
434
|
+
t(A, {
|
|
435
|
+
data: h.value,
|
|
436
|
+
stripe: "",
|
|
437
|
+
size: "small"
|
|
438
|
+
}, {
|
|
439
|
+
default: l(() => [
|
|
440
|
+
t(r, {
|
|
441
|
+
prop: "field",
|
|
442
|
+
label: "字段"
|
|
443
|
+
}),
|
|
444
|
+
t(r, {
|
|
445
|
+
prop: "mapping",
|
|
446
|
+
label: "映射"
|
|
447
|
+
}),
|
|
448
|
+
t(r, { label: "状态" }, {
|
|
449
|
+
default: l(({ row: u }) => [
|
|
450
|
+
u.result === 0 ? (p(), k("div", ot, [
|
|
451
|
+
t(y, {
|
|
452
|
+
"is-dot": "",
|
|
453
|
+
class: "success-dot"
|
|
454
|
+
}),
|
|
455
|
+
e[3] || (e[3] = s("span", null, "无", -1))
|
|
456
|
+
])) : (p(), k("div", st, [
|
|
457
|
+
t(y, {
|
|
458
|
+
"is-dot": "",
|
|
459
|
+
class: he(u.result === 1 ? "success-dot" : "error-dot")
|
|
460
|
+
}, null, 8, ["class"]),
|
|
461
|
+
s("span", null, "匹配" + C(u.result === 1 ? "成功" : "失败"), 1)
|
|
462
|
+
]))
|
|
463
|
+
]),
|
|
464
|
+
_: 1
|
|
465
|
+
})
|
|
466
|
+
]),
|
|
467
|
+
_: 1
|
|
468
|
+
}, 8, ["data"])
|
|
469
|
+
])) : D("", !0),
|
|
470
|
+
V.value ? (p(), k("div", at, [
|
|
471
|
+
s("div", nt, C(i(K).MAPPING), 1),
|
|
472
|
+
t(A, {
|
|
473
|
+
data: T.value,
|
|
474
|
+
stripe: "",
|
|
475
|
+
size: "small"
|
|
476
|
+
}, {
|
|
477
|
+
default: l(() => [
|
|
478
|
+
t(r, {
|
|
479
|
+
label: "字段",
|
|
480
|
+
width: "120"
|
|
481
|
+
}, {
|
|
482
|
+
default: l(({ row: u }) => [
|
|
483
|
+
t(P, { truncated: "" }, {
|
|
484
|
+
default: l(() => [
|
|
485
|
+
d(C(u.field), 1)
|
|
486
|
+
]),
|
|
487
|
+
_: 2
|
|
488
|
+
}, 1024)
|
|
489
|
+
]),
|
|
490
|
+
_: 1
|
|
491
|
+
}),
|
|
492
|
+
t(r, { label: "接口映射字段" }, {
|
|
493
|
+
default: l(({ row: u }) => [
|
|
494
|
+
i(de)(u.mapping) ? (p(), k("div", it, [
|
|
495
|
+
(p(!0), k(le, null, be(u.mapping, (ae, M) => (p(), H(se, {
|
|
496
|
+
key: M,
|
|
497
|
+
modelValue: u.mapping[M],
|
|
498
|
+
"onUpdate:modelValue": (ye) => u.mapping[M] = ye,
|
|
499
|
+
size: "small",
|
|
500
|
+
placeholder: "输入字段",
|
|
501
|
+
onChange: () => u.result = j(u.mapping[M])
|
|
502
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))), 128))
|
|
503
|
+
])) : (p(), H(se, {
|
|
504
|
+
key: 1,
|
|
505
|
+
modelValue: u.mapping,
|
|
506
|
+
"onUpdate:modelValue": (ae) => u.mapping = ae,
|
|
507
|
+
size: "small",
|
|
508
|
+
placeholder: "输入字段"
|
|
509
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
510
|
+
]),
|
|
511
|
+
_: 1
|
|
512
|
+
})
|
|
513
|
+
]),
|
|
514
|
+
_: 1
|
|
515
|
+
}, 8, ["data"])
|
|
516
|
+
])) : D("", !0),
|
|
517
|
+
ke(s("div", dt, [
|
|
518
|
+
s("div", rt, C(i(K).FILTER), 1),
|
|
519
|
+
t(P, {
|
|
520
|
+
type: "info",
|
|
521
|
+
size: "small"
|
|
522
|
+
}, {
|
|
523
|
+
default: l(() => e[4] || (e[4] = [
|
|
524
|
+
d("过滤器默认处理接口返回值的「data」字段")
|
|
525
|
+
])),
|
|
526
|
+
_: 1,
|
|
527
|
+
__: [4]
|
|
528
|
+
}),
|
|
529
|
+
t(i(Ye))
|
|
530
|
+
], 512), [
|
|
531
|
+
[we, o.value]
|
|
532
|
+
]),
|
|
533
|
+
s("div", ut, [
|
|
534
|
+
s("div", ct, C(i(K).CONTENT), 1),
|
|
535
|
+
s("div", _t, [
|
|
536
|
+
t(q, {
|
|
537
|
+
size: "small",
|
|
538
|
+
disabled: x.value,
|
|
539
|
+
onClick: R
|
|
540
|
+
}, {
|
|
541
|
+
default: l(() => [
|
|
542
|
+
t(J, null, {
|
|
543
|
+
default: l(() => [
|
|
544
|
+
t(i(f))
|
|
545
|
+
]),
|
|
546
|
+
_: 1
|
|
547
|
+
}),
|
|
548
|
+
e[5] || (e[5] = d(" 编辑 "))
|
|
549
|
+
]),
|
|
550
|
+
_: 1,
|
|
551
|
+
__: [5]
|
|
552
|
+
}, 8, ["disabled"]),
|
|
553
|
+
t(me, {
|
|
554
|
+
"file-list": i(E),
|
|
555
|
+
"onUpdate:fileList": e[0] || (e[0] = (u) => $e(E) ? E.value = u : null),
|
|
556
|
+
"show-file-list": !1,
|
|
557
|
+
"http-request": i(Y),
|
|
558
|
+
"before-upload": i(O)
|
|
559
|
+
}, {
|
|
560
|
+
default: l(() => [
|
|
561
|
+
I.ajax ? D("", !0) : (p(), H(q, {
|
|
562
|
+
key: 0,
|
|
563
|
+
size: "small",
|
|
564
|
+
disabled: x.value
|
|
565
|
+
}, {
|
|
566
|
+
default: l(() => [
|
|
567
|
+
t(J, null, {
|
|
568
|
+
default: l(() => [
|
|
569
|
+
t(i(m))
|
|
570
|
+
]),
|
|
571
|
+
_: 1
|
|
572
|
+
}),
|
|
573
|
+
e[6] || (e[6] = d(" 导入(json / txt) "))
|
|
574
|
+
]),
|
|
575
|
+
_: 1,
|
|
576
|
+
__: [6]
|
|
577
|
+
}, 8, ["disabled"]))
|
|
578
|
+
]),
|
|
579
|
+
_: 1
|
|
580
|
+
}, 8, ["file-list", "http-request", "before-upload"]),
|
|
581
|
+
t(q, {
|
|
582
|
+
size: "small",
|
|
583
|
+
disabled: x.value,
|
|
584
|
+
onClick: i(v)
|
|
585
|
+
}, {
|
|
586
|
+
default: l(() => [
|
|
587
|
+
t(J, null, {
|
|
588
|
+
default: l(() => [
|
|
589
|
+
t(i(w))
|
|
590
|
+
]),
|
|
591
|
+
_: 1
|
|
592
|
+
}),
|
|
593
|
+
e[7] || (e[7] = d(" 下载 "))
|
|
594
|
+
]),
|
|
595
|
+
_: 1,
|
|
596
|
+
__: [7]
|
|
597
|
+
}, 8, ["disabled", "onClick"]),
|
|
598
|
+
t(fe, {
|
|
599
|
+
content: "点击【下载】查看完整数据",
|
|
600
|
+
placement: "top"
|
|
601
|
+
}, {
|
|
602
|
+
default: l(() => [
|
|
603
|
+
t(J, {
|
|
604
|
+
size: 16,
|
|
605
|
+
class: "help-icon"
|
|
606
|
+
}, {
|
|
607
|
+
default: l(() => [
|
|
608
|
+
t(i(L))
|
|
609
|
+
]),
|
|
610
|
+
_: 1
|
|
611
|
+
})
|
|
612
|
+
]),
|
|
613
|
+
_: 1
|
|
614
|
+
})
|
|
615
|
+
]),
|
|
616
|
+
t(ve, {
|
|
617
|
+
shadow: "never",
|
|
618
|
+
class: "code-card"
|
|
619
|
+
}, {
|
|
620
|
+
default: l(() => [
|
|
621
|
+
s("pre", pt, [
|
|
622
|
+
s("code", null, C(i(W)(_.value)), 1)
|
|
623
|
+
])
|
|
624
|
+
]),
|
|
625
|
+
_: 1
|
|
626
|
+
})
|
|
627
|
+
])
|
|
628
|
+
])) : D("", !0),
|
|
629
|
+
i(n) ? (p(), H(ge, {
|
|
630
|
+
key: 1,
|
|
631
|
+
class: "go-online-edit",
|
|
632
|
+
title: "组件数据在线编辑 — " + i(n).chartConfig.title,
|
|
633
|
+
width: "800px",
|
|
634
|
+
modelValue: F.value,
|
|
635
|
+
"onUpdate:modelValue": e[2] || (e[2] = (u) => F.value = u),
|
|
636
|
+
"close-on-click-modal": !1,
|
|
637
|
+
onClosed: z
|
|
638
|
+
}, {
|
|
639
|
+
footer: l(() => [
|
|
640
|
+
s("div", mt, [
|
|
641
|
+
s("div", ft, [
|
|
642
|
+
t(te, {
|
|
643
|
+
type: "primary",
|
|
644
|
+
size: "small"
|
|
645
|
+
}, {
|
|
646
|
+
default: l(() => e[8] || (e[8] = [
|
|
647
|
+
d("说明")
|
|
648
|
+
])),
|
|
649
|
+
_: 1,
|
|
650
|
+
__: [8]
|
|
651
|
+
}),
|
|
652
|
+
s("div", vt, [
|
|
653
|
+
t(P, {
|
|
654
|
+
type: "info",
|
|
655
|
+
size: "small"
|
|
656
|
+
}, {
|
|
657
|
+
default: l(() => [
|
|
658
|
+
e[11] || (e[11] = d(" 格式化: ")),
|
|
659
|
+
t(te, { size: "small" }, {
|
|
660
|
+
default: l(() => e[9] || (e[9] = [
|
|
661
|
+
d("shift + alt + f")
|
|
662
|
+
])),
|
|
663
|
+
_: 1,
|
|
664
|
+
__: [9]
|
|
665
|
+
}),
|
|
666
|
+
e[12] || (e[12] = d(" 或 ")),
|
|
667
|
+
t(te, { size: "small" }, {
|
|
668
|
+
default: l(() => e[10] || (e[10] = [
|
|
669
|
+
d("右键 -> Format")
|
|
670
|
+
])),
|
|
671
|
+
_: 1,
|
|
672
|
+
__: [10]
|
|
673
|
+
})
|
|
674
|
+
]),
|
|
675
|
+
_: 1,
|
|
676
|
+
__: [11, 12]
|
|
677
|
+
}),
|
|
678
|
+
t(P, {
|
|
679
|
+
type: "info",
|
|
680
|
+
size: "small"
|
|
681
|
+
}, {
|
|
682
|
+
default: l(() => e[13] || (e[13] = [
|
|
683
|
+
d("字符串需要用英文双引号包裹")
|
|
684
|
+
])),
|
|
685
|
+
_: 1,
|
|
686
|
+
__: [13]
|
|
687
|
+
})
|
|
688
|
+
])
|
|
689
|
+
]),
|
|
690
|
+
s("div", gt, [
|
|
691
|
+
t(q, { onClick: z }, {
|
|
692
|
+
default: l(() => e[14] || (e[14] = [
|
|
693
|
+
d("取消")
|
|
694
|
+
])),
|
|
695
|
+
_: 1,
|
|
696
|
+
__: [14]
|
|
697
|
+
}),
|
|
698
|
+
t(q, {
|
|
699
|
+
type: "primary",
|
|
700
|
+
onClick: ee
|
|
701
|
+
}, {
|
|
702
|
+
default: l(() => e[15] || (e[15] = [
|
|
703
|
+
d("保存")
|
|
704
|
+
])),
|
|
705
|
+
_: 1,
|
|
706
|
+
__: [15]
|
|
707
|
+
})
|
|
708
|
+
])
|
|
709
|
+
])
|
|
710
|
+
]),
|
|
711
|
+
default: l(() => [
|
|
712
|
+
t(pe, {
|
|
713
|
+
modelValue: b.value,
|
|
714
|
+
"onUpdate:modelValue": e[1] || (e[1] = (u) => b.value = u),
|
|
715
|
+
height: "60vh",
|
|
716
|
+
language: i(n).chartConfig.chartKey === "VHtmlCommon" ? "html" : "json"
|
|
717
|
+
}, null, 8, ["modelValue", "language"])
|
|
718
|
+
]),
|
|
719
|
+
_: 1
|
|
720
|
+
}, 8, ["title", "modelValue"])) : D("", !0)
|
|
721
|
+
], 64);
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
});
|
|
725
|
+
const Ut = /* @__PURE__ */ ce(yt, [["__scopeId", "data-v-ec80c865"]]);
|
|
726
|
+
export {
|
|
727
|
+
Ut as C
|
|
728
|
+
};
|
|
729
|
+
//# sourceMappingURL=index-ed584e70.js.map
|