@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,31 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
declare global {
|
|
3
|
+
interface Window {
|
|
4
|
+
$vue?: App
|
|
5
|
+
$t: (lang: string) => string
|
|
6
|
+
$KeyboardActive: {
|
|
7
|
+
ctrl: boolean
|
|
8
|
+
space: boolean
|
|
9
|
+
}
|
|
10
|
+
onKeySpacePressHold: (active: boolean) => void
|
|
11
|
+
$message: {
|
|
12
|
+
success: (content: string) => void
|
|
13
|
+
error: (content: string) => void
|
|
14
|
+
warning: (content: string) => void
|
|
15
|
+
info: (content: string) => void
|
|
16
|
+
loading: (content: string) => void
|
|
17
|
+
}
|
|
18
|
+
$dialog: {
|
|
19
|
+
warning: (options: any) => any
|
|
20
|
+
error: (options: any) => any
|
|
21
|
+
success: (options: any) => any
|
|
22
|
+
}
|
|
23
|
+
$loading: {
|
|
24
|
+
start: () => void
|
|
25
|
+
finish: () => void
|
|
26
|
+
error: () => void
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export {}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import m from "lodash/throttle";
|
|
2
|
+
import { m as n, q as u, S as e, s as E, E as p } from "./index-237a6823.js";
|
|
3
|
+
import "vue";
|
|
4
|
+
import "element-plus";
|
|
5
|
+
import "screenfull";
|
|
6
|
+
import "html2canvas";
|
|
7
|
+
import "lodash/isObject";
|
|
8
|
+
import "lodash/cloneDeep";
|
|
9
|
+
import "crypto-js";
|
|
10
|
+
const D = () => {
|
|
11
|
+
const t = n();
|
|
12
|
+
u({
|
|
13
|
+
message: "是否覆盖源视图内容,此操作不可撤回?",
|
|
14
|
+
isMaskClosable: !0,
|
|
15
|
+
transformOrigin: "center",
|
|
16
|
+
onPositiveCallback: () => {
|
|
17
|
+
window.$message.success("正在同步编辑器..."), dispatchEvent(new CustomEvent(e.CHART, { detail: t.getStorageInfo() }));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}, r = () => {
|
|
21
|
+
const t = n();
|
|
22
|
+
dispatchEvent(new CustomEvent(e.CHART_TO_PREVIEW, { detail: t.getStorageInfo() }));
|
|
23
|
+
}, v = () => {
|
|
24
|
+
const { updateComponent: t } = E(), i = n(), o = (d) => {
|
|
25
|
+
var s, a;
|
|
26
|
+
(a = (s = window.$message) == null ? void 0 : s.success) == null || a.call(s, "正在进行更新..."), t(d.detail, !0);
|
|
27
|
+
}, c = () => {
|
|
28
|
+
i.setEditCanvas(p.IS_CODE_EDIT, !1);
|
|
29
|
+
};
|
|
30
|
+
return { use: () => {
|
|
31
|
+
addEventListener("blur", r), addEventListener(e.JSON, o), addEventListener(e.CLOSE, m(c, 1e3));
|
|
32
|
+
}, unUse: () => {
|
|
33
|
+
removeEventListener("blur", r), removeEventListener(e.JSON, o);
|
|
34
|
+
} };
|
|
35
|
+
}, I = () => {
|
|
36
|
+
const { use: t } = v();
|
|
37
|
+
t();
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
D as s,
|
|
41
|
+
I as u
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=useSyncUpdate.hook-f291c525.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSyncUpdate.hook-f291c525.js","sources":["../src/views/chart/ContentEdit/components/EditTools/hooks/useSyncUpdate.hook.ts"],"sourcesContent":["import throttle from 'lodash/throttle'\nimport { useChartEditStore } from '@core/store/modules/chartEditStore/chartEditStore'\nimport { EditCanvasTypeEnum } from '@core/store/modules/chartEditStore/chartEditStore.d'\nimport { useSync } from '@core/views/chart/hooks/useSync.hook'\nimport { SavePageEnum } from '@core/enums/editPageEnum'\nimport { goDialog } from '@core/utils'\n\nexport const syncData = () => {\n const chartEditStore = useChartEditStore()\n goDialog({\n message: '是否覆盖源视图内容,此操作不可撤回?',\n isMaskClosable: true,\n transformOrigin: 'center',\n onPositiveCallback: () => {\n window['$message'].success('正在同步编辑器...')\n dispatchEvent(new CustomEvent(SavePageEnum.CHART, { detail: chartEditStore.getStorageInfo() }))\n }\n })\n}\n\n// 同步数据到预览页\nexport const syncDataToPreview = () => {\n const chartEditStore = useChartEditStore()\n dispatchEvent(new CustomEvent(SavePageEnum.CHART_TO_PREVIEW, { detail: chartEditStore.getStorageInfo() }))\n}\n\n// 侦听器更新\nconst useSyncUpdateHandle = () => {\n const { updateComponent } = useSync()\n const chartEditStore = useChartEditStore()\n \n // 定义侦听器变量\n let timer: any\n\n // 更新处理\n const updateFn = (e: any) => {\n window['$message']?.success?.('正在进行更新...')\n updateComponent(e!.detail, true)\n }\n\n // 页面关闭处理\n const closeFn = () => {\n chartEditStore.setEditCanvas(EditCanvasTypeEnum.IS_CODE_EDIT, false)\n }\n\n // 开启侦听\n const use = () => {\n // 定时同步数据(暂不开启)\n // timer = setInterval(() => {\n // // 窗口激活并且处于工作台\n // document.hasFocus() && syncData()\n // }, editToJsonInterval)\n\n // 失焦同步数据\n addEventListener('blur', syncDataToPreview)\n\n // 监听编辑器保存事件 刷新工作台图表\n addEventListener(SavePageEnum.JSON, updateFn)\n\n // 监听编辑页关闭\n addEventListener(SavePageEnum.CLOSE, throttle(closeFn, 1000))\n }\n\n // 关闭侦听\n const unUse = () => {\n // clearInterval(timer)\n removeEventListener('blur', syncDataToPreview)\n removeEventListener(SavePageEnum.JSON, updateFn)\n }\n\n return { use, unUse }\n}\n\n// 直接开启同步监听(不再依赖路由)\nexport const useSyncUpdate = () => {\n const { use } = useSyncUpdateHandle()\n use()\n}\n"],"names":["syncData","chartEditStore","useChartEditStore","goDialog","SavePageEnum","syncDataToPreview","useSyncUpdateHandle","updateComponent","useSync","updateFn","e","_b","_a","closeFn","EditCanvasTypeEnum","throttle","useSyncUpdate","use"],"mappings":";;;;;;;;;AAOO,MAAMA,IAAW,MAAM;AAC5B,QAAMC,IAAiBC;AACd,EAAAC,EAAA;AAAA,IACP,SAAS;AAAA,IACT,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IACjB,oBAAoB,MAAM;AACjB,aAAA,SAAY,QAAQ,YAAY,GACzB,cAAA,IAAI,YAAYC,EAAa,OAAO,EAAE,QAAQH,EAAe,iBAAkB,CAAA,CAAC;AAAA,IAChG;AAAA,EAAA,CACD;AACH,GAGaI,IAAoB,MAAM;AACrC,QAAMJ,IAAiBC;AACT,gBAAA,IAAI,YAAYE,EAAa,kBAAkB,EAAE,QAAQH,EAAe,iBAAkB,CAAA,CAAC;AAC3G,GAGMK,IAAsB,MAAM;AAC1B,QAAA,EAAE,iBAAAC,MAAoBC,KACtBP,IAAiBC,KAMjBO,IAAW,CAACC,MAAW;;AACpB,KAAAC,KAAAC,IAAA,OAAA,aAAA,gBAAAA,EAAa,YAAb,QAAAD,EAAA,KAAAC,GAAuB,cACdL,EAAAG,EAAG,QAAQ,EAAI;AAAA,EAAA,GAI3BG,IAAU,MAAM;AACL,IAAAZ,EAAA,cAAca,EAAmB,cAAc,EAAK;AAAA,EAAA;AA4B9D,SAAA,EAAE,KAxBG,MAAM;AAQhB,qBAAiB,QAAQT,CAAiB,GAGzB,iBAAAD,EAAa,MAAMK,CAAQ,GAG5C,iBAAiBL,EAAa,OAAOW,EAASF,GAAS,GAAI,CAAC;AAAA,EAAA,GAUhD,OANA,MAAM;AAElB,wBAAoB,QAAQR,CAAiB,GACzB,oBAAAD,EAAa,MAAMK,CAAQ;AAAA,EAAA;AAInD,GAGaO,IAAgB,MAAM;AAC3B,QAAA,EAAE,KAAAC,MAAQX;AACZ,EAAAW;AACN;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { computed as a } from "vue";
|
|
2
|
+
import { m as o } from "./index-237a6823.js";
|
|
3
|
+
const m = () => {
|
|
4
|
+
const t = o();
|
|
5
|
+
return { targetData: a(() => {
|
|
6
|
+
const e = t.getComponentList, r = t.fetchTargetIndex();
|
|
7
|
+
return e[r];
|
|
8
|
+
}), chartEditStore: t };
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
m as u
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=useTargetData.hook-832cc980.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTargetData.hook-832cc980.js","sources":["../src/views/chart/ContentConfigurations/components/hooks/useTargetData.hook.ts"],"sourcesContent":["import { computed, type Ref } from 'vue'\nimport { CreateComponentType, CreateComponentGroupType } from '@core/packages/index.d'\nimport { useChartEditStore } from '@core/store/modules/chartEditStore/chartEditStore'\n\n// 获取当前对象数据\nexport const useTargetData = <\n T extends CreateComponentType | CreateComponentGroupType = CreateComponentType | CreateComponentGroupType\n>() => {\n const chartEditStore = useChartEditStore()\n const targetData: Ref<T | undefined> = computed(() => {\n const list = chartEditStore.getComponentList\n const targetIndex = chartEditStore.fetchTargetIndex()\n return list[targetIndex] as T | undefined\n })\n return { targetData, chartEditStore }\n}\n"],"names":["useTargetData","chartEditStore","useChartEditStore","computed","list","targetIndex"],"mappings":";;AAKO,MAAMA,IAAgB,MAEtB;AACL,QAAMC,IAAiBC;AAMhB,SAAA,EAAE,YAL8BC,EAAS,MAAM;AACpD,UAAMC,IAAOH,EAAe,kBACtBI,IAAcJ,EAAe;AACnC,WAAOG,EAAKC,CAAW;AAAA,EAAA,CACxB,GACoB,gBAAAJ;AACvB;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AsyncComponentLoader } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* * 动态注册组件
|
|
4
|
+
*/
|
|
5
|
+
export declare const componentInstall: <T>(key: string, node: T) => void;
|
|
6
|
+
/**
|
|
7
|
+
* * 异步加载组件
|
|
8
|
+
* @param loader
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare const loadAsyncComponent: (loader: AsyncComponentLoader<any>) => any;
|
|
12
|
+
export declare const loadSkeletonAsyncComponent: (loader: AsyncComponentLoader<any>) => any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* *获取上传的文件数据
|
|
3
|
+
* @param { File } file 文件对象
|
|
4
|
+
*/
|
|
5
|
+
export declare const readFile: (file: File) => Promise<unknown>;
|
|
6
|
+
/**
|
|
7
|
+
* * 通过 a 标签下载数据
|
|
8
|
+
* @param url
|
|
9
|
+
* @param filename
|
|
10
|
+
* @param fileSuffix
|
|
11
|
+
*/
|
|
12
|
+
export declare const downloadByA: (url: string, filename?: number, fileSuffix?: string) => void;
|
|
13
|
+
/**
|
|
14
|
+
* * 下载数据
|
|
15
|
+
* @param { string } content 数据内容
|
|
16
|
+
* @param { ?string } filename 文件名称(默认随机字符)
|
|
17
|
+
* @param { ?string } fileSuffix 文件名称(默认随机字符)
|
|
18
|
+
*/
|
|
19
|
+
export declare const downloadTextFile: (content: string, filename?: number, fileSuffix?: string) => void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DialogEnum } from '../enums/pluginEnum';
|
|
2
|
+
export declare const loadingStart: () => void;
|
|
3
|
+
export declare const loadingFinish: () => void;
|
|
4
|
+
export declare const loadingError: () => void;
|
|
5
|
+
/**
|
|
6
|
+
* * render 对话框
|
|
7
|
+
* @param { Object} params 配置参数, 详见 https://www.naiveui.com/zh-CN/light/components/dialog
|
|
8
|
+
* ```
|
|
9
|
+
* 最简易的 demo
|
|
10
|
+
* goDialog({
|
|
11
|
+
* onPositiveCallback: () => {}
|
|
12
|
+
* })
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare const goDialog: (params: {
|
|
16
|
+
type?: DialogEnum;
|
|
17
|
+
title?: string | (() => any);
|
|
18
|
+
message?: string;
|
|
19
|
+
positiveText?: string;
|
|
20
|
+
negativeText?: string;
|
|
21
|
+
closeNegativeText?: boolean;
|
|
22
|
+
isMaskClosable?: boolean;
|
|
23
|
+
onPositiveCallback: Function;
|
|
24
|
+
onNegativeCallback?: Function;
|
|
25
|
+
promise?: boolean;
|
|
26
|
+
promiseResCallback?: Function;
|
|
27
|
+
promiseRejCallback?: Function;
|
|
28
|
+
[T: string]: any;
|
|
29
|
+
}) => void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * 判断是否是预览页(现在永远返回false,因为没有路由了)
|
|
3
|
+
* @returns boolean
|
|
4
|
+
*/
|
|
5
|
+
export declare const isPreview: () => boolean;
|
|
6
|
+
/**
|
|
7
|
+
* * 新开页面
|
|
8
|
+
* @param url
|
|
9
|
+
*/
|
|
10
|
+
export declare const openNewWindow: (url: string) => Window | null;
|
|
11
|
+
/**
|
|
12
|
+
* * 打开项目文档
|
|
13
|
+
* @param url
|
|
14
|
+
*/
|
|
15
|
+
export declare const openDoc: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* * 打开码云仓库地址
|
|
18
|
+
* @param url
|
|
19
|
+
*/
|
|
20
|
+
export declare const openGiteeSourceCode: () => void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* * 存储本地会话数据
|
|
3
|
+
* @param k 键名
|
|
4
|
+
* @param v 键值(无需stringiiy)
|
|
5
|
+
* @returns RemovableRef
|
|
6
|
+
*/
|
|
7
|
+
export declare const setLocalStorage: <T>(k: string, v: T) => false | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* * 获取本地会话数据
|
|
10
|
+
* @param k 键名
|
|
11
|
+
* @returns any
|
|
12
|
+
*/
|
|
13
|
+
export declare const getLocalStorage: (k: string) => any;
|
|
14
|
+
/**
|
|
15
|
+
* * 清除本地会话数据
|
|
16
|
+
* @param name
|
|
17
|
+
*/
|
|
18
|
+
export declare const clearLocalStorage: (name: string) => void;
|
|
19
|
+
/**
|
|
20
|
+
* * 存储临时会话数据
|
|
21
|
+
* @param k 键名
|
|
22
|
+
* @param v 键值
|
|
23
|
+
* @returns RemovableRef
|
|
24
|
+
*/
|
|
25
|
+
export declare const setSessionStorage: <T>(k: string, v: T) => false | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* * 获取临时会话数据
|
|
28
|
+
* @returns any
|
|
29
|
+
*/
|
|
30
|
+
export declare const getSessionStorage: (k: string) => any;
|
|
31
|
+
/**
|
|
32
|
+
* * 清除本地会话数据
|
|
33
|
+
* @param name
|
|
34
|
+
*/
|
|
35
|
+
export declare const clearSessioStorage: (name: string) => void;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { PickCreateComponentType } from '../packages/index.d';
|
|
2
|
+
import { EditCanvasConfigType } from '../store/modules/chartEditStore/chartEditStore.d';
|
|
3
|
+
import { CustomColorsType } from '../settings/chartThemes/index';
|
|
4
|
+
type StylesType = PickCreateComponentType<'styles'>;
|
|
5
|
+
export declare const registerHgDataViewThemeRoot: (el: HTMLElement) => void;
|
|
6
|
+
export declare const unregisterHgDataViewThemeRoot: (el: HTMLElement) => void;
|
|
7
|
+
export declare const animationsClass: (animations: string[]) => string;
|
|
8
|
+
export declare const getFilterStyle: (styles?: StylesType | EditCanvasConfigType) => {
|
|
9
|
+
opacity?: undefined;
|
|
10
|
+
filter?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
opacity: number;
|
|
13
|
+
filter: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const getTransformStyle: (styles: StylesType) => {
|
|
16
|
+
transform: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const getBlendModeStyle: (styles: StylesType) => {
|
|
19
|
+
'mix-blend-mode'?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
'mix-blend-mode': string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* * hsla 转换
|
|
25
|
+
* @param color 颜色
|
|
26
|
+
* @param alpha 默认1
|
|
27
|
+
* @returns
|
|
28
|
+
*/
|
|
29
|
+
export declare function alpha(color: string, alpha?: number): string;
|
|
30
|
+
/**
|
|
31
|
+
* * 颜色透明
|
|
32
|
+
* rgba(10, 10, 10, 0.8) -> rgba(10, 10, 10, 0.4)
|
|
33
|
+
* @param color 颜色
|
|
34
|
+
* @param concentration 0~1 浓度
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
export declare function fade(color: string, fade: number): string;
|
|
38
|
+
/**
|
|
39
|
+
* * 颜色变亮
|
|
40
|
+
* hsl(100, 50%, 10%) -> hsl(100, 50%, 50%)
|
|
41
|
+
* @param color 颜色
|
|
42
|
+
* @param concentration 0~1 浓度
|
|
43
|
+
* @returns
|
|
44
|
+
*/
|
|
45
|
+
export declare function lighten(color: string, concentration: number): string;
|
|
46
|
+
/**
|
|
47
|
+
* * 颜色变暗
|
|
48
|
+
* hsl(100, 50%, 50%) -> hsl(100, 50%, 25%)
|
|
49
|
+
* @param color 颜色
|
|
50
|
+
* @param concentration 0~1 浓度
|
|
51
|
+
* @returns
|
|
52
|
+
*/
|
|
53
|
+
export declare function darken(color: string, concentration: number): string;
|
|
54
|
+
/**
|
|
55
|
+
* * hsl 转成16进制
|
|
56
|
+
* @param hsl
|
|
57
|
+
* @returns
|
|
58
|
+
*/
|
|
59
|
+
export declare function hslToHexa(hslString: string): string;
|
|
60
|
+
export declare function hslToHex(hslString: string): string;
|
|
61
|
+
/**
|
|
62
|
+
* * 修改主题色
|
|
63
|
+
* @param themeName 主题名称
|
|
64
|
+
* @returns
|
|
65
|
+
*/
|
|
66
|
+
export declare const setHtmlTheme: (themeName?: string) => void;
|
|
67
|
+
/**
|
|
68
|
+
* * 合并基础颜色和自定义颜色
|
|
69
|
+
* @param chartDefaultColors
|
|
70
|
+
* @param customColor
|
|
71
|
+
* @returns
|
|
72
|
+
*/
|
|
73
|
+
export declare const colorCustomMerge: (customColor?: CustomColorsType[]) => {
|
|
74
|
+
dark: {
|
|
75
|
+
color: string[];
|
|
76
|
+
name: string;
|
|
77
|
+
};
|
|
78
|
+
customed: {
|
|
79
|
+
color: string[];
|
|
80
|
+
name: string;
|
|
81
|
+
};
|
|
82
|
+
macarons: {
|
|
83
|
+
color: string[];
|
|
84
|
+
name: string;
|
|
85
|
+
};
|
|
86
|
+
walden: {
|
|
87
|
+
color: string[];
|
|
88
|
+
name: string;
|
|
89
|
+
};
|
|
90
|
+
purplePassion: {
|
|
91
|
+
color: string[];
|
|
92
|
+
name: string;
|
|
93
|
+
};
|
|
94
|
+
vintage: {
|
|
95
|
+
color: string[];
|
|
96
|
+
name: string;
|
|
97
|
+
};
|
|
98
|
+
chalk: {
|
|
99
|
+
color: string[];
|
|
100
|
+
name: string;
|
|
101
|
+
};
|
|
102
|
+
westeros: {
|
|
103
|
+
color: string[];
|
|
104
|
+
name: string;
|
|
105
|
+
};
|
|
106
|
+
wonderland: {
|
|
107
|
+
color: string[];
|
|
108
|
+
name: string;
|
|
109
|
+
};
|
|
110
|
+
essos: {
|
|
111
|
+
color: string[];
|
|
112
|
+
name: string;
|
|
113
|
+
};
|
|
114
|
+
shine: {
|
|
115
|
+
color: string[];
|
|
116
|
+
name: string;
|
|
117
|
+
};
|
|
118
|
+
roma: {
|
|
119
|
+
color: string[];
|
|
120
|
+
name: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* * 合并基础渐变颜色和自定义渐变颜色
|
|
125
|
+
* @param customColor
|
|
126
|
+
*/
|
|
127
|
+
export declare const colorGradientCustomMerge: (customColor?: CustomColorsType[]) => {
|
|
128
|
+
dark: string[];
|
|
129
|
+
customed: string[];
|
|
130
|
+
macarons: string[];
|
|
131
|
+
walden: string[];
|
|
132
|
+
purplePassion: string[];
|
|
133
|
+
vintage: string[];
|
|
134
|
+
chalk: string[];
|
|
135
|
+
westeros: string[];
|
|
136
|
+
wonderland: string[];
|
|
137
|
+
essos: string[];
|
|
138
|
+
shine: string[];
|
|
139
|
+
roma: string[];
|
|
140
|
+
};
|
|
141
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function isString(p: any): p is string;
|
|
2
|
+
export declare function isNumber(p: any): p is number;
|
|
3
|
+
export declare function isBoolean(p: any): p is boolean;
|
|
4
|
+
export declare function isUndefined(p: any): p is undefined;
|
|
5
|
+
export declare function isNull(p: any): p is null;
|
|
6
|
+
export declare function isArray(p: any): p is [];
|
|
7
|
+
export declare const toNumber: (number: number | string, toFixedNumber?: number) => number;
|
|
8
|
+
export declare const toString: (str: any) => any;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { RequestHttpIntervalEnum, RequestParamsObjType } from '../enums/httpEnum';
|
|
2
|
+
import { CreateComponentType, CreateComponentGroupType } from '../packages/index.d';
|
|
3
|
+
/**
|
|
4
|
+
* * 判断是否是开发环境
|
|
5
|
+
* @return { Boolean }
|
|
6
|
+
*/
|
|
7
|
+
export declare const isDev: () => boolean;
|
|
8
|
+
/**
|
|
9
|
+
* * 生成一个不重复的ID
|
|
10
|
+
* @param { Number } randomLength
|
|
11
|
+
*/
|
|
12
|
+
export declare const getUUID: (randomLength?: number) => string;
|
|
13
|
+
/**
|
|
14
|
+
* * render 图标
|
|
15
|
+
* @param icon 图标
|
|
16
|
+
* @param set 设置项
|
|
17
|
+
*/
|
|
18
|
+
export declare const renderIcon: (icon: any, set?: {}) => () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}>;
|
|
21
|
+
/**
|
|
22
|
+
* * render 语言
|
|
23
|
+
* @param lang 语言标识
|
|
24
|
+
* @param set 设置项
|
|
25
|
+
* @param tag 要渲染成的标签
|
|
26
|
+
*/
|
|
27
|
+
export declare const renderLang: (lang: string, set?: {}, tag?: string) => () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}>;
|
|
30
|
+
/**
|
|
31
|
+
* * 获取错误处理图片,默认 404 图
|
|
32
|
+
* @returns url
|
|
33
|
+
*/
|
|
34
|
+
export declare const requireErrorImg: () => string;
|
|
35
|
+
/**
|
|
36
|
+
* * 全屏操作函数
|
|
37
|
+
* @param isFullscreen
|
|
38
|
+
* @param isEnabled
|
|
39
|
+
* @returns
|
|
40
|
+
*/
|
|
41
|
+
export declare const screenfullFn: (isFullscreen?: boolean, isEnabled?: boolean) => boolean | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* 修改元素位置
|
|
44
|
+
* @param target 对象
|
|
45
|
+
* @param x X轴
|
|
46
|
+
* @param y Y轴
|
|
47
|
+
*/
|
|
48
|
+
export declare const setComponentPosition: (target: CreateComponentType | CreateComponentGroupType, x?: number, y?: number) => void;
|
|
49
|
+
/**
|
|
50
|
+
* * 设置元素属性
|
|
51
|
+
* @param HTMLElement 元素
|
|
52
|
+
* @param key 键名
|
|
53
|
+
* @param value 键值
|
|
54
|
+
*/
|
|
55
|
+
export declare const setDomAttribute: <K extends keyof CSSStyleDeclaration, V extends CSSStyleDeclaration[K]>(HTMLElement: HTMLElement, key: K, value: V) => void;
|
|
56
|
+
/**
|
|
57
|
+
* * 判断是否是 mac
|
|
58
|
+
* @returns boolean
|
|
59
|
+
*/
|
|
60
|
+
export declare const isMac: () => boolean;
|
|
61
|
+
/**
|
|
62
|
+
* * file转url
|
|
63
|
+
*/
|
|
64
|
+
export declare const fileToUrl: (file: File) => string;
|
|
65
|
+
/**
|
|
66
|
+
* * file转base64
|
|
67
|
+
*/
|
|
68
|
+
export declare const fileTobase64: (file: File, callback: Function) => void;
|
|
69
|
+
/**
|
|
70
|
+
* * 挂载监听
|
|
71
|
+
*/
|
|
72
|
+
export declare const addEventListener: <K extends keyof WindowEventMap>(target: HTMLElement | Document, type: K, listener: any, delay?: number, options?: boolean | AddEventListenerOptions | undefined) => void;
|
|
73
|
+
/**
|
|
74
|
+
* * 卸载监听
|
|
75
|
+
*/
|
|
76
|
+
export declare const removeEventListener: <K extends keyof WindowEventMap>(target: HTMLElement | Document, type: K, listener: any) => void;
|
|
77
|
+
/**
|
|
78
|
+
* * 截取画面为图片并下载
|
|
79
|
+
* @param html 需要截取的 DOM
|
|
80
|
+
*/
|
|
81
|
+
export declare const canvasCut: (html: HTMLElement | null, callback?: Function) => void;
|
|
82
|
+
/**
|
|
83
|
+
* * 函数过滤器
|
|
84
|
+
* @param data 数据值
|
|
85
|
+
* @param res 返回顶级对象
|
|
86
|
+
* @param funcStr 函数字符串
|
|
87
|
+
* @param isToString 是否转为字符串
|
|
88
|
+
* @param errorCallBack 错误回调函数
|
|
89
|
+
* @param successCallBack 成功回调函数
|
|
90
|
+
* @returns
|
|
91
|
+
*/
|
|
92
|
+
export declare const newFunctionHandle: (data: any, res: any, funcStr?: string, isToString?: boolean, errorCallBack?: Function, successCallBack?: Function) => any;
|
|
93
|
+
/**
|
|
94
|
+
* * 处理请求事件单位
|
|
95
|
+
* @param num 时间间隔
|
|
96
|
+
* @param unit RequestHttpIntervalEnum
|
|
97
|
+
* @return number 秒数
|
|
98
|
+
*/
|
|
99
|
+
export declare const intervalUnitHandle: (num: number, unit: RequestHttpIntervalEnum) => number;
|
|
100
|
+
/**
|
|
101
|
+
* * 对象转换 cookie 格式
|
|
102
|
+
* @param obj
|
|
103
|
+
* @returns string
|
|
104
|
+
*/
|
|
105
|
+
export declare const objToCookie: (obj: RequestParamsObjType) => string;
|
|
106
|
+
/**
|
|
107
|
+
* * 设置按下键盘按键的底部展示
|
|
108
|
+
* @param keyCode
|
|
109
|
+
* @returns
|
|
110
|
+
*/
|
|
111
|
+
export declare const setKeyboardDressShow: (keyCode?: number) => void;
|
|
112
|
+
/**
|
|
113
|
+
* * JSON序列化,支持函数和 undefined
|
|
114
|
+
* @param data
|
|
115
|
+
*/
|
|
116
|
+
export declare const JSONStringify: <T>(data: T) => string;
|
|
117
|
+
export declare const evalFn: (fn: string) => any;
|
|
118
|
+
/**
|
|
119
|
+
* * JSON反序列化,支持函数和 undefined
|
|
120
|
+
* @param data
|
|
121
|
+
*/
|
|
122
|
+
export declare const JSONParse: (data: string) => any;
|
|
123
|
+
/**
|
|
124
|
+
* * 修改顶部标题
|
|
125
|
+
* @param title
|
|
126
|
+
*/
|
|
127
|
+
export declare const setTitle: (title?: string) => void;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
title: StringConstructor;
|
|
3
|
+
showTop: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
showBottom: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
flex: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
backIcon: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
depth: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
xScroll: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
disabledScroll: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
+
back: (...args: any[]) => void;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
34
|
+
title: StringConstructor;
|
|
35
|
+
showTop: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
showBottom: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
flex: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
backIcon: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
depth: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
xScroll: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
disabledScroll: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}>> & Readonly<{
|
|
64
|
+
onBack?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
}>, {
|
|
66
|
+
flex: boolean;
|
|
67
|
+
showTop: boolean;
|
|
68
|
+
showBottom: boolean;
|
|
69
|
+
backIcon: boolean;
|
|
70
|
+
depth: number;
|
|
71
|
+
xScroll: boolean;
|
|
72
|
+
disabledScroll: boolean;
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
74
|
+
icon?(_: {}): any;
|
|
75
|
+
'top-right'?(_: {}): any;
|
|
76
|
+
default?(_: {}): any;
|
|
77
|
+
default?(_: {}): any;
|
|
78
|
+
default?(_: {}): any;
|
|
79
|
+
bottom?(_: {}): any;
|
|
80
|
+
aside?(_: {}): any;
|
|
81
|
+
}>;
|
|
82
|
+
export default _default;
|
|
83
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
|
+
new (): {
|
|
85
|
+
$slots: S;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ConfigType } from '../../../../../packages/index.d';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
menuOptions: {
|
|
5
|
+
type: PropType<ConfigType[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
deletePhoto: (...args: any[]) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
menuOptions: {
|
|
12
|
+
type: PropType<ConfigType[]>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{
|
|
16
|
+
onDeletePhoto?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
menuOptions: ConfigType[];
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
20
|
+
contentChartsItemBoxRef: HTMLDivElement;
|
|
21
|
+
}, HTMLDivElement>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
selectOptions: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => {};
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
selectOptions: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
default: () => {};
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
selectOptions: Record<string, any>;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|