go-view-worker 0.0.1
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/LICENSE +21 -0
- package/README.md +221 -0
- package/dist/chunks/403-382550a8.js +42 -0
- package/dist/chunks/404-3d357d75.js +42 -0
- package/dist/chunks/500-96d14fb0.js +43 -0
- package/dist/chunks/StylesSetting-952ff564.js +338 -0
- package/dist/chunks/chartEditStore-a725b558.js +4975 -0
- package/dist/chunks/designStore-fe92c2ba.js +6268 -0
- package/dist/chunks/index-00b6339d.js +588 -0
- package/dist/chunks/index-0472b3a5.js +173 -0
- package/dist/chunks/index-097ae4b0.js +436 -0
- package/dist/chunks/index-09e62bb4.js +284 -0
- package/dist/chunks/index-1cb69ab6.js +136 -0
- package/dist/chunks/index-32d13283.js +26 -0
- package/dist/chunks/index-3fd591ea.js +81 -0
- package/dist/chunks/index-51458edb.js +143 -0
- package/dist/chunks/index-54f304ef.js +89 -0
- package/dist/chunks/index-62a7855c.js +51 -0
- package/dist/chunks/index-82d00e13.js +300 -0
- package/dist/chunks/index-9502bd7e.js +155 -0
- package/dist/chunks/index-95c5f0a0.js +1664 -0
- package/dist/chunks/index-a410a1d3.js +250 -0
- package/dist/chunks/index-da8ddb02.js +13 -0
- package/dist/chunks/index-de0a1234.js +482 -0
- package/dist/chunks/index-e31a7881.js +32 -0
- package/dist/chunks/index-f266153a.js +1985 -0
- package/dist/chunks/index-f97e5ffc.js +13 -0
- package/dist/chunks/index-fdf7dc1e.js +88 -0
- package/dist/chunks/index-fec9f9f8.js +368 -0
- package/dist/chunks/index.vue_vue_type_script_setup_true_lang-c6159a17.js +3357 -0
- package/dist/chunks/lodash-c80b695e.js +3680 -0
- package/dist/chunks/router-106a6abc.js +57 -0
- package/dist/chunks/useKeyboard.hook-da88451a.js +341 -0
- package/dist/chunks/useSyncUpdate.hook-5517a8ad.js +40 -0
- package/dist/chunks/useTargetData.hook-28a7e43b.js +12 -0
- package/dist/chunks/wrapper-4c15ca94.js +28 -0
- package/dist/favicon.ico +0 -0
- package/dist/go-view-worker.js +23 -0
- package/dist/init.js +688 -0
- package/dist/style.css +7 -0
- package/dist/types/packages/index.d.ts +12 -0
- package/dist/types/packages/init.d.ts +6 -0
- package/dist/types/packages/utils/resize.d.ts +1 -0
- package/dist/types/src/components/GoAppProvider/index.d.ts +3 -0
- package/dist/types/src/components/GoIconify/index.d.ts +3 -0
- package/dist/types/src/components/GoLoading/index.d.ts +5 -0
- package/dist/types/src/components/GoReload/index.d.ts +3 -0
- package/dist/types/src/components/GoSkeleton/index.d.ts +3 -0
- package/dist/types/src/components/GoSystemInfo/index.d.ts +3 -0
- package/dist/types/src/components/GoSystemSet/index.d.ts +3 -0
- package/dist/types/src/components/GoThemeSelect/index.d.ts +3 -0
- package/dist/types/src/components/GoUserInfo/index.d.ts +3 -0
- package/dist/types/src/components/Pages/ChartGlobImage/index.d.ts +3 -0
- package/dist/types/src/components/Pages/ChartItemSetting/index.d.ts +11 -0
- package/dist/types/src/components/Pages/Flipper/index.d.ts +4 -0
- package/dist/types/src/components/Pages/ThemeColorSelect/index.d.ts +3 -0
- package/dist/types/src/components/Pages/VChartItemSetting/index.d.ts +8 -0
- package/dist/types/src/components/Plugins/DialogContent/index.d.ts +3 -0
- package/dist/types/src/components/Plugins/LoadingContent/index.d.ts +3 -0
- package/dist/types/src/components/Plugins/MessageContent/index.d.ts +3 -0
- package/dist/types/src/components/Tips/MacOsControlBtn/index.d.ts +3 -0
- package/dist/types/src/directives/index.d.ts +2 -0
- package/dist/types/src/enums/editPageEnum.d.ts +55 -0
- package/dist/types/src/enums/eventEnum.d.ts +32 -0
- package/dist/types/src/enums/fileTypeEnum.d.ts +7 -0
- package/dist/types/src/enums/httpEnum.d.ts +96 -0
- package/dist/types/src/enums/pageEnum.d.ts +34 -0
- package/dist/types/src/enums/pluginEnum.d.ts +6 -0
- package/dist/types/src/enums/storageEnum.d.ts +10 -0
- package/dist/types/src/enums/styleEnum.d.ts +14 -0
- package/dist/types/src/hooks/index.d.ts +6 -0
- package/dist/types/src/hooks/useCanvasInitOptions.hook.d.ts +8 -0
- package/dist/types/src/hooks/useChartDataPondFetch.hook.d.ts +8 -0
- package/dist/types/src/hooks/useChartInteract.hook.d.ts +9 -0
- package/dist/types/src/hooks/useLang.hook.d.ts +126 -0
- package/dist/types/src/hooks/useLifeHandler.hook.d.ts +10 -0
- package/dist/types/src/hooks/usePreviewScale.hook.d.ts +32 -0
- package/dist/types/src/hooks/useTheme.hook.d.ts +7 -0
- package/dist/types/src/layout/components/LayoutFooter/index.d.ts +3 -0
- package/dist/types/src/layout/components/LayoutHeader/index.d.ts +3 -0
- package/dist/types/src/layout/components/LayoutHeaderPro/index.d.ts +3 -0
- package/dist/types/src/layout/components/LayoutMain/index.d.ts +3 -0
- package/dist/types/src/layout/components/LayoutTransitionMain/index.d.ts +3 -0
- package/dist/types/src/main.d.ts +1 -0
- package/dist/types/src/packages/chartConfiguration/echarts/axis.d.ts +24 -0
- package/dist/types/src/packages/chartConfiguration/echarts/index.d.ts +4 -0
- package/dist/types/src/packages/chartConfiguration/echarts/label.d.ts +10 -0
- package/dist/types/src/packages/chartConfiguration/echarts/legend.d.ts +18 -0
- package/dist/types/src/packages/chartConfiguration/echarts/line.d.ts +8 -0
- package/dist/types/src/packages/chartConfiguration/vcharts/index.d.ts +3 -0
- package/dist/types/src/packages/chartConfiguration/vcharts/label.d.ts +14 -0
- package/dist/types/src/packages/chartConfiguration/vcharts/legends.d.ts +27 -0
- package/dist/types/src/packages/chartConfiguration/vcharts/style.d.ts +18 -0
- package/dist/types/src/packages/components/Charts/Bars/BarCommon/config.d.ts +63 -0
- package/dist/types/src/packages/components/Charts/Bars/BarCommon/index.d.ts +3 -0
- package/dist/types/src/packages/components/Charts/Bars/index.d.ts +2 -0
- package/dist/types/src/packages/components/Charts/index.d.ts +8 -0
- package/dist/types/src/packages/components/Photos/Private/index.d.ts +17 -0
- package/dist/types/src/packages/components/Photos/Share/index.d.ts +14 -0
- package/dist/types/src/packages/components/Photos/index.d.ts +9 -0
- package/dist/types/src/packages/index.d.ts +214 -0
- package/dist/types/src/packages/public/index.d.ts +2 -0
- package/dist/types/src/packages/public/publicConfig.d.ts +81 -0
- package/dist/types/src/packages/public/vChart.d.ts +14 -0
- package/dist/types/src/plugins/customComponents.d.ts +7 -0
- package/dist/types/src/plugins/directives.d.ts +7 -0
- package/dist/types/src/plugins/icon.d.ts +111 -0
- package/dist/types/src/plugins/index.d.ts +5 -0
- package/dist/types/src/plugins/initFunction.d.ts +4 -0
- package/dist/types/src/plugins/naive.d.ts +3 -0
- package/dist/types/src/router/base.d.ts +7 -0
- package/dist/types/src/router/constant.d.ts +5 -0
- package/dist/types/src/router/index.d.ts +6 -0
- package/dist/types/src/router/modules/chart.route.d.ts +4 -0
- package/dist/types/src/router/modules/index.d.ts +5 -0
- package/dist/types/src/router/modules/preview.route.d.ts +4 -0
- package/dist/types/src/router/router-guards.d.ts +3 -0
- package/dist/types/src/router/types.d.ts +26 -0
- package/dist/types/src/settings/animations/index.d.ts +7 -0
- package/dist/types/src/settings/chartThemes/index.d.ts +195 -0
- package/dist/types/src/settings/designSetting.d.ts +33 -0
- package/dist/types/src/settings/pathConst.d.ts +3 -0
- package/dist/types/src/settings/systemSetting.d.ts +11 -0
- package/dist/types/src/settings/vchartThemes/index.d.ts +139 -0
- package/dist/types/src/store/index.d.ts +5 -0
- package/dist/types/src/store/modules/chartEditStore/chartEditStore.d.ts +215 -0
- package/dist/types/src/store/modules/chartHistoryStore/chartHistoryDefine.d.ts +20 -0
- package/dist/types/src/store/modules/chartHistoryStore/chartHistoryStore.d.ts +79 -0
- package/dist/types/src/store/modules/chartLayoutStore/chartLayoutStore.d.ts +36 -0
- package/dist/types/src/store/modules/designStore/designStore.d.ts +20 -0
- package/dist/types/src/store/modules/globalConfigStore/globalConfigStore.d.ts +183 -0
- package/dist/types/src/store/modules/langStore/langStore.d.ts +6 -0
- package/dist/types/src/store/modules/packagesStore/packagesStore.d.ts +10 -0
- package/dist/types/src/store/modules/settingStore/settingStore.d.ts +31 -0
- package/dist/types/src/utils/components.d.ts +13 -0
- package/dist/types/src/utils/file.d.ts +19 -0
- package/dist/types/src/utils/index.d.ts +8 -0
- package/dist/types/src/utils/plugin.d.ts +30 -0
- package/dist/types/src/utils/router.d.ts +77 -0
- package/dist/types/src/utils/storage.d.ts +35 -0
- package/dist/types/src/utils/style.d.ts +154 -0
- package/dist/types/src/utils/type.d.ts +8 -0
- package/dist/types/src/utils/utils.d.ts +128 -0
- package/dist/types/src/views/chart/ContentBox/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentCharts/components/ChartsItemBox/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentCharts/components/ChartsOptionContent/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentCharts/components/ChartsSearch/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentCharts/hooks/useAside.hook.d.ts +11 -0
- package/dist/types/src/views/chart/ContentCharts/hooks/useLayout.hook.d.ts +10 -0
- package/dist/types/src/views/chart/ContentCharts/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRender/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/barOptions.d.ts +2 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/CanvasPage/components/CreateColorRenderChart/lineOptions.d.ts +2 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/CanvasPage/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentConfigurations/components/hooks/useTargetData.hook.d.ts +57 -0
- package/dist/types/src/views/chart/ContentConfigurations/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditAlignLine/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditBottom/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditGroup/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditHistory/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditRange/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditRule/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditSelect/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditShapeBox/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditShortcutKey/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditTools/hooks/useFile.hooks.d.ts +9 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditTools/hooks/useSyncUpdate.hook.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditTools/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditTools/utils/index.d.ts +1 -0
- package/dist/types/src/views/chart/ContentEdit/components/EditWatermark/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentEdit/hooks/useDrag.hook.d.ts +13 -0
- package/dist/types/src/views/chart/ContentEdit/hooks/useLayout.hook.d.ts +1 -0
- package/dist/types/src/views/chart/ContentEdit/hooks/useStyle.hook.d.ts +17 -0
- package/dist/types/src/views/chart/ContentEdit/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentHeader/headerLeftBtn/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentHeader/headerRightBtn/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentHeader/headerTitle/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentLayers/components/LayersGroupListItem/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentLayers/components/LayersListItem/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentLayers/components/LayersStatus/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentLayers/enums.d.ts +0 -0
- package/dist/types/src/views/chart/ContentLayers/index.d.ts +3 -0
- package/dist/types/src/views/chart/ContentLoad/index.d.ts +3 -0
- package/dist/types/src/views/chart/hooks/useContextMenu.hook.d.ts +12 -0
- package/dist/types/src/views/chart/hooks/useKeyboard.hook.d.ts +38 -0
- package/dist/types/src/views/chart/hooks/useSync.hook.d.ts +5 -0
- package/dist/types/src/views/preview/components/PreviewRenderGroup/index.d.ts +3 -0
- package/dist/types/src/views/preview/components/PreviewRenderList/index.d.ts +3 -0
- package/dist/types/src/views/preview/hooks/useComInstall.hook.d.ts +5 -0
- package/dist/types/src/views/preview/hooks/useScale.hook.d.ts +17 -0
- package/dist/types/src/views/preview/hooks/useStore.hook.d.ts +3 -0
- package/dist/types/src/views/preview/utils/drag.d.ts +1 -0
- package/dist/types/src/views/preview/utils/index.d.ts +4 -0
- package/dist/types/src/views/preview/utils/keyboard.d.ts +1 -0
- package/dist/types/src/views/preview/utils/storage.d.ts +6 -0
- package/dist/types/src/views/preview/utils/style.d.ts +26 -0
- package/package.json +99 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UploadCustomRequestOptions } from 'naive-ui';
|
|
2
|
+
|
|
3
|
+
export declare const useFile: () => {
|
|
4
|
+
importUploadFileListRef: import('vue').Ref<any, any>;
|
|
5
|
+
importBeforeUpload: ({ file }: {
|
|
6
|
+
file: any;
|
|
7
|
+
}) => boolean;
|
|
8
|
+
importCustomRequest: (options: UploadCustomRequestOptions) => void;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const exportHandle: () => void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CreateComponentType, CreateComponentGroupType, PickCreateComponentType } from '../../../../packages/index.d';
|
|
2
|
+
|
|
3
|
+
export declare const dragHandle: (e: DragEvent) => Promise<void>;
|
|
4
|
+
export declare const dragoverHandle: (e: DragEvent) => void;
|
|
5
|
+
export declare const mousedownHandleUnStop: (e: MouseEvent, item?: CreateComponentType | CreateComponentGroupType | undefined) => void;
|
|
6
|
+
export declare const mousedownBoxSelect: (e: MouseEvent, item?: CreateComponentType | CreateComponentGroupType | undefined) => void;
|
|
7
|
+
export declare const useMouseHandle: () => {
|
|
8
|
+
mouseClickHandle: (e: MouseEvent, item: CreateComponentType | CreateComponentGroupType) => void;
|
|
9
|
+
mousedownHandle: (e: MouseEvent, item: CreateComponentType | CreateComponentGroupType) => void;
|
|
10
|
+
mouseenterHandle: (e: MouseEvent, item: CreateComponentType | CreateComponentGroupType) => void;
|
|
11
|
+
mouseleaveHandle: (e: MouseEvent, item: CreateComponentType | CreateComponentGroupType) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const useMousePointHandle: (e: MouseEvent, point: string, attr: PickCreateComponentType<'attr'>) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useLayout: (fn: () => Promise<void>) => void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PickCreateComponentType } from '../../../../packages/index.d';
|
|
2
|
+
|
|
3
|
+
declare type AttrType = PickCreateComponentType<'attr'>;
|
|
4
|
+
export declare const useComponentStyle: (attr: AttrType, index: number) => {};
|
|
5
|
+
export declare const useSizeStyle: (attr: AttrType, scale?: number | undefined) => {
|
|
6
|
+
width?: undefined;
|
|
7
|
+
height?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
width: string;
|
|
10
|
+
height: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const usePointStyle: (point: string, index: number, attr: PickCreateComponentType<'attr'>, cursorResize: string[]) => {
|
|
13
|
+
left: string;
|
|
14
|
+
top: string;
|
|
15
|
+
cursor: string;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const winKeyboardValue: {
|
|
2
|
+
up: string;
|
|
3
|
+
right: string;
|
|
4
|
+
down: string;
|
|
5
|
+
left: string;
|
|
6
|
+
copy: string;
|
|
7
|
+
cut: string;
|
|
8
|
+
parse: string;
|
|
9
|
+
delete: string;
|
|
10
|
+
back: string;
|
|
11
|
+
forward: string;
|
|
12
|
+
group: string;
|
|
13
|
+
unGroup: string;
|
|
14
|
+
lock: string;
|
|
15
|
+
unLock: string;
|
|
16
|
+
hide: string;
|
|
17
|
+
show: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const macKeyboardValue: {
|
|
20
|
+
up: string;
|
|
21
|
+
right: string;
|
|
22
|
+
down: string;
|
|
23
|
+
left: string;
|
|
24
|
+
copy: string;
|
|
25
|
+
cut: string;
|
|
26
|
+
parse: string;
|
|
27
|
+
delete: string;
|
|
28
|
+
back: string;
|
|
29
|
+
forward: string;
|
|
30
|
+
group: string;
|
|
31
|
+
unGroup: string;
|
|
32
|
+
lock: string;
|
|
33
|
+
unLock: string;
|
|
34
|
+
hide: string;
|
|
35
|
+
show: string;
|
|
36
|
+
};
|
|
37
|
+
export declare const useAddKeyboard: () => void;
|
|
38
|
+
export declare const useRemoveKeyboard: () => void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChartEditStorageType } from '../index.d';
|
|
2
|
+
|
|
3
|
+
export declare const SCALE_KEY = "scale-value";
|
|
4
|
+
export declare const useScale: (localStorageInfo: ChartEditStorageType) => {
|
|
5
|
+
entityRef: import('vue').Ref<any, any>;
|
|
6
|
+
previewRef: import('vue').Ref<any, any>;
|
|
7
|
+
scaleRef: import('vue').Ref<{
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
}, {
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
} | {
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
}>;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dragCanvas: (e: MouseEvent) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const keyRecordHandle: () => void;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PickCreateComponentType } from '../../../packages/index.d';
|
|
2
|
+
import { EditCanvasConfigType } from '../../../store/modules/chartEditStore/chartEditStore.d';
|
|
3
|
+
|
|
4
|
+
declare type AttrType = PickCreateComponentType<'attr'>;
|
|
5
|
+
declare type StatusType = PickCreateComponentType<'status'>;
|
|
6
|
+
declare type PreviewConfig = PickCreateComponentType<'preview'>;
|
|
7
|
+
export declare const getComponentAttrStyle: (attr: AttrType, index: number) => {
|
|
8
|
+
zIndex: number;
|
|
9
|
+
left: string;
|
|
10
|
+
top: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const getSizeStyle: (attr: AttrType, scale?: number | undefined) => {
|
|
13
|
+
width: string;
|
|
14
|
+
height: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const getStatusStyle: (attr: StatusType) => {
|
|
17
|
+
display: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const getPreviewConfigStyle: (previewConfig: PreviewConfig) => Partial<CSSStyleDeclaration>;
|
|
20
|
+
export declare const getEditCanvasConfigStyle: (canvas: EditCanvasConfigType) => {
|
|
21
|
+
background: string | undefined;
|
|
22
|
+
position: "relative";
|
|
23
|
+
width: string;
|
|
24
|
+
height: string;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "go-view-worker",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"author": "TroyFu",
|
|
5
|
+
"description": "go-view-worker base on go-view, quick to build drag and drop app",
|
|
6
|
+
"main": "dist/go-view-worker.js",
|
|
7
|
+
"module": "dist/go-view-worker.js",
|
|
8
|
+
"types": "dist/types/packages/index.d.ts",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/MvM-OLO/go-view-worker.git"
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./dist/go-view-worker.js",
|
|
17
|
+
"types": "./dist/types/packages/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./init": {
|
|
20
|
+
"import": "./dist/init.js",
|
|
21
|
+
"types": "./dist/types/packages/init.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./dist/*": "./dist/*"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist"
|
|
27
|
+
],
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=16.14"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"dev": "vite --host",
|
|
33
|
+
"build": "vite build",
|
|
34
|
+
"build:lib": "vite build --config vite.lib.config.ts",
|
|
35
|
+
"preview": "vite preview",
|
|
36
|
+
"new": "plop --plopfile ./plop/plopfile.js",
|
|
37
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.vue src",
|
|
38
|
+
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.vue src --fix"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@vicons/ionicons5": "~0.11.0",
|
|
42
|
+
"animate.css": "^4.1.1",
|
|
43
|
+
"color": "^4.2.3",
|
|
44
|
+
"dayjs": "^1.10.0",
|
|
45
|
+
"dom-helpers": "^5.2.1",
|
|
46
|
+
"html2canvas": "^1.0.0",
|
|
47
|
+
"iconify-icon": "^1.0.8",
|
|
48
|
+
"keymaster": "^1.6.0",
|
|
49
|
+
"lodash": "^4.17.0",
|
|
50
|
+
"mitt": "^3.0.0",
|
|
51
|
+
"postcss-pxtorem": "^6.1.0",
|
|
52
|
+
"screenfull": "^6.0.0",
|
|
53
|
+
"vue-draggable-plus": "^0.6.1",
|
|
54
|
+
"vue3-lazyload": "^0.2.5-beta",
|
|
55
|
+
"vue3-sketch-ruler": "^1.3.3"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@commitlint/cli": "^17.0.2",
|
|
59
|
+
"@commitlint/config-conventional": "^17.0.2",
|
|
60
|
+
"@iconify/json": "^2.2.158",
|
|
61
|
+
"@types/color": "^3.0.3",
|
|
62
|
+
"@types/keymaster": "^1.6.30",
|
|
63
|
+
"@types/lodash": "^4.14.184",
|
|
64
|
+
"@types/node": "^16.11.26",
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^5.18.0",
|
|
66
|
+
"@typescript-eslint/parser": "^5.18.0",
|
|
67
|
+
"@vicons/carbon": "^0.12.0",
|
|
68
|
+
"@vitejs/plugin-vue": "^4.2.3",
|
|
69
|
+
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
|
70
|
+
"@vue/compiler-sfc": "^3.2.31",
|
|
71
|
+
"@vueuse/core": "^7.7.1",
|
|
72
|
+
"axios": ">=0.27.0 <2.0.0",
|
|
73
|
+
"commitlint": "^17.0.2",
|
|
74
|
+
"default-passive-events": "^2.0.0",
|
|
75
|
+
"eslint": "^8.12.0",
|
|
76
|
+
"eslint-config-prettier": "^8.5.0",
|
|
77
|
+
"eslint-plugin-import": "^2.26.0",
|
|
78
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
79
|
+
"eslint-plugin-vue": "^8.5.0",
|
|
80
|
+
"husky": "^8.0.1",
|
|
81
|
+
"mockjs": "^1.1.0",
|
|
82
|
+
"naive-ui": "2.40.3",
|
|
83
|
+
"pinia": "^2.0.13",
|
|
84
|
+
"plop": "^3.0.5",
|
|
85
|
+
"prettier": "^2.6.2",
|
|
86
|
+
"sass": "1.49.11",
|
|
87
|
+
"sass-loader": "^12.6.0",
|
|
88
|
+
"typescript": "4.6.3",
|
|
89
|
+
"vite": "4.3.6",
|
|
90
|
+
"vite-plugin-compression": "^0.5.1",
|
|
91
|
+
"vite-plugin-dts": "^4.5.4",
|
|
92
|
+
"vite-plugin-importer": "^0.2.5",
|
|
93
|
+
"vite-plugin-mock": "^2.9.6",
|
|
94
|
+
"vue": "^3.5.12",
|
|
95
|
+
"vue-echarts": "^6.0.2",
|
|
96
|
+
"vue-router": "4.0.12",
|
|
97
|
+
"vue-tsc": "^0.28.10"
|
|
98
|
+
}
|
|
99
|
+
}
|