win-chart 1.1.0 → 1.3.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.
Files changed (57) hide show
  1. package/esm/api/request.d.ts +2 -1
  2. package/esm/components/FilterContext.d.ts +1 -0
  3. package/esm/components/GlobalStyle.d.ts +3 -2
  4. package/esm/components/VisionUserConfigContext.d.ts +3 -1
  5. package/esm/components/WinMenu/WinHeader.d.ts +2 -1
  6. package/esm/components/WinMenu/hooks/useUserInfo.d.ts +2 -1
  7. package/esm/components/WinMenu/index.d.ts +3 -3
  8. package/esm/components/WinMenu/services/WinService.d.ts +1 -0
  9. package/esm/components/icon.d.ts +11 -0
  10. package/esm/components/win-icon/index.d.ts +1 -2
  11. package/esm/hooks/useCardOptionList.d.ts +2 -1
  12. package/esm/hooks/useCostFiltersDicList.d.ts +2 -1
  13. package/esm/hooks/useIndicatorCardInfo.d.ts +2 -1
  14. package/esm/hooks/useIndicatorCardQueryList.d.ts +2 -1
  15. package/esm/hooks/useIndicatorClassifyList.d.ts +2 -1
  16. package/esm/hooks/useIndicatorDetailsDateList.d.ts +2 -1
  17. package/esm/hooks/useIndicatorDetailsInfo.d.ts +2 -1
  18. package/esm/hooks/useIndicatorDetailsTrend.d.ts +1 -0
  19. package/esm/hooks/useIndicatorDicList.d.ts +2 -1
  20. package/esm/hooks/useIndicatorLabelList.d.ts +2 -1
  21. package/esm/hooks/useIndicatorList.d.ts +1 -0
  22. package/esm/hooks/useIndicatorRangeList.d.ts +2 -1
  23. package/esm/hooks/useIndicatorTypeList.d.ts +2 -1
  24. package/esm/hooks/useIndicatorUnitList.d.ts +2 -1
  25. package/esm/hooks/useMobile.d.ts +1 -1
  26. package/esm/hooks/useNotice.d.ts +2 -1
  27. package/esm/hooks/useOrgLevelList.d.ts +2 -1
  28. package/esm/hooks/usePageSelection.d.ts +6 -5
  29. package/esm/hooks/usePendingList.d.ts +1 -0
  30. package/esm/hooks/usePortalPageInfo.d.ts +2 -1
  31. package/esm/hooks/useReportIndicatorList.d.ts +2 -1
  32. package/esm/hooks/useReportInfo.d.ts +3 -2
  33. package/esm/hooks/useReportPersonList.d.ts +2 -1
  34. package/esm/hooks/useUnreadMsgList.d.ts +1 -0
  35. package/esm/hooks/useUserAvatar.d.ts +1 -0
  36. package/esm/hooks/useVReportInfo.d.ts +2 -1
  37. package/esm/hooks/useVisionUserConfig.d.ts +1 -0
  38. package/esm/hooks/useWorkbenchOptions.d.ts +2 -1
  39. package/esm/services/CardService.d.ts +6 -6
  40. package/esm/services/CostService.d.ts +4 -3
  41. package/esm/services/DialogService.d.ts +5 -5
  42. package/esm/services/IndicatorService.d.ts +29 -26
  43. package/esm/services/PageService.d.ts +24 -10
  44. package/esm/services/ReportService.d.ts +42 -21
  45. package/esm/services/WorkbenchService.d.ts +27 -21
  46. package/esm/utils/map.d.ts +5 -4
  47. package/esm/utils/tools.d.ts +1 -1
  48. package/esm/utils/util.d.ts +4 -4
  49. package/package.json +1 -1
  50. package/esm/api/README.md +0 -15
  51. package/esm/api/index.js +0 -6
  52. package/esm/api/index.js.map +0 -1
  53. package/esm/api/layout/index.js +0 -53
  54. package/esm/api/layout/index.js.map +0 -1
  55. package/esm/api/url-map/index.js +0 -7
  56. package/esm/api/user/index.js +0 -33
  57. package/esm/api/user/index.js.map +0 -1
@@ -1,4 +1,5 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
+ import { IResponse } from 'src/types/interface';
2
3
  /**
3
4
  * boss内部未登入错误码
4
5
  */
@@ -21,4 +22,4 @@ export declare const withoutLoginErrorCodeList: string[];
21
22
  export declare const withoutAccessErrorCodeList: string[];
22
23
  declare const request: import("axios").AxiosInstance;
23
24
  export default request;
24
- export declare const newRequest: <T>(config: AxiosRequestConfig<any>) => Promise<any>;
25
+ export declare const newRequest: <T>(config: AxiosRequestConfig<any>) => Promise<IResponse<T>>;
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
+ import { IKeyValueItem } from '@/types';
2
3
  export declare const FilterContext: import("react").Context<IKeyValueItem>;
3
4
  export declare const useFilterContext: () => IKeyValueItem;
@@ -1,2 +1,3 @@
1
- export declare const GlobalStyle: React.NamedExoticComponent<import("styled-components").ExecutionProps & Props>;
2
- export declare const CommonMobileGlobalStyle: React.NamedExoticComponent<import("styled-components").ExecutionProps & Props>;
1
+ /// <reference types="react" />
2
+ export declare const GlobalStyle: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & object>;
3
+ export declare const CommonMobileGlobalStyle: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & object>;
@@ -1 +1,3 @@
1
- export declare const VisionUserConfigContext: any;
1
+ import React from 'react';
2
+ import { IVisionUserConfig } from 'src/types';
3
+ export declare const VisionUserConfigContext: React.Context<IVisionUserConfig>;
@@ -1,2 +1,3 @@
1
1
  /// <reference types="react" />
2
- export declare const WinHeader: import("styled-components").IStyledComponent<"web", any> | (import("styled-components").IStyledComponent<"web", any> & Omit<any, keyof import("react").Component<any, {}, any>>);
2
+ import { IKeyValueItem } from '@/types';
3
+ export declare const WinHeader: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<any, IKeyValueItem>> | (import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<any, IKeyValueItem>> & Omit<any, keyof import("react").Component<any, {}, any>>);
@@ -1 +1,2 @@
1
- export declare const useUserInfo: () => IUserInfo;
1
+ import { IUserInfo } from '@/components/WinMenu/utils/interface';
2
+ export declare const useUserInfo: () => Partial<IUserInfo>;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export * from './utils/tool';
3
3
  export * from './utils/map';
4
4
  export * from './hooks/useUserMenu';
5
- export declare const MenuContext: any;
5
+ export declare const MenuContext: React.Context<import("./utils/enum").MenuBizType>;
6
6
  export declare const WinMenu: () => import("react/jsx-runtime").JSX.Element;
7
- export declare const NavWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
7
+ export declare const NavWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,3 +1,4 @@
1
+ import { IMenuItem, IUserInfo } from '@/components/WinMenu/utils/interface';
1
2
  export declare class WinService {
2
3
  /**
3
4
  * 全部有权限菜单树
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { IStyleProps } from 'src/types';
3
+ export declare const CustomIcon: import("react").FC<import("./win-icon").IIconProps>;
4
+ interface IProps extends IStyleProps {
5
+ show: boolean;
6
+ src: string;
7
+ size: number | string;
8
+ onClick: () => void;
9
+ }
10
+ export declare const IconBox: ({ src, size, onClick, show, style, ...args }: Partial<IProps>) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -1,9 +1,8 @@
1
1
  import { HTMLAttributes } from 'react';
2
- interface IIconProps extends HTMLAttributes<SVGElement> {
2
+ export interface IIconProps extends HTMLAttributes<SVGElement> {
3
3
  type?: string;
4
4
  size?: number | 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl' | 'xxxl' | 'inherit';
5
5
  color?: string;
6
6
  }
7
7
  export declare const createIconComponent: (scriptUrl: string) => import("react").FC<IIconProps>;
8
8
  export declare const useIconLoader: (scriptUrl: string) => boolean;
9
- export {};
@@ -1 +1,2 @@
1
- export declare const useCardOptionList: (id?: number) => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useCardOptionList: (id?: number) => IListItem<string>[];
@@ -1 +1,2 @@
1
- export declare const useCostFiltersDicList: (name: string, isInside?: boolean) => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useCostFiltersDicList: (name: string, isInside?: boolean) => IListItem<string>[];
@@ -1 +1,2 @@
1
- export declare const useIndicatorCardInfo: (id?: number) => IIndicatorCardConfig;
1
+ import { IIndicatorCardConfig } from '@/types';
2
+ export declare const useIndicatorCardInfo: (id?: number) => Partial<IIndicatorCardConfig>;
@@ -1 +1,2 @@
1
- export declare const useIndicatorCardQueryList: (id?: number | string) => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useIndicatorCardQueryList: (id?: number | string) => IListItem<string>[];
@@ -1 +1,2 @@
1
- export declare const useIndicatorClassifyList: (isFirstLevel?: boolean) => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useIndicatorClassifyList: (isFirstLevel?: boolean) => IListItem<string>[];
@@ -1 +1,2 @@
1
- export declare const useIndicatorDetailsDateList: (id?: number | string) => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useIndicatorDetailsDateList: (id?: number | string) => IListItem<string>[];
@@ -1,4 +1,5 @@
1
+ import { IIndicatorDetailsInfo, IIndicatorInfoQuery } from '@/types';
1
2
  export declare const useIndicatorDetailsInfo: ({ subId, name, type, indicatorDate, originId, }: IIndicatorInfoQuery) => {
2
- data: IIndicatorDetailsInfo;
3
+ data: Partial<IIndicatorDetailsInfo>;
3
4
  loading: boolean;
4
5
  };
@@ -1 +1,2 @@
1
+ import { IListItem } from '@/types';
1
2
  export declare const useIndicatorDetailsTrend: (id?: string | number, name?: string) => IListItem<number>[];
@@ -1 +1,2 @@
1
- export declare const useIndicatorDicList: (name: string) => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useIndicatorDicList: (name: string) => IListItem<string>[];
@@ -1 +1,2 @@
1
- export declare const useIndicatorLabelList: () => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useIndicatorLabelList: () => IListItem<string>[];
@@ -1 +1,2 @@
1
+ import { IListItem } from '@/types';
1
2
  export declare const useIndicatorList: (timeSpan?: string, orgLevel?: string) => IListItem<number>[];
@@ -1 +1,2 @@
1
- export declare const useIndicatorRangeList: () => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useIndicatorRangeList: () => IListItem<string>[];
@@ -1 +1,2 @@
1
- export declare const useIndicatorTypeList: () => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useIndicatorTypeList: () => IListItem<string>[];
@@ -1 +1,2 @@
1
- export declare const useIndicatorUnitList: () => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useIndicatorUnitList: () => IListItem<string>[];
@@ -2,7 +2,7 @@
2
2
  * 获取 mobileState
3
3
  * @returns 是否为移动端
4
4
  */
5
- export declare const useMobileState: () => any;
5
+ export declare const useMobileState: () => boolean;
6
6
  /**
7
7
  * 监听屏幕大小变化,设置 mobileState
8
8
  */
@@ -1,2 +1,3 @@
1
- export declare const useNoticeInfo: (id?: number | string) => INoticeInfo;
1
+ import { INoticeInfo } from '@/types';
2
+ export declare const useNoticeInfo: (id?: number | string) => Partial<INoticeInfo>;
2
3
  export declare const useNoticeBannerList: (init?: boolean) => INoticeInfo[];
@@ -1 +1,2 @@
1
- export declare const useOrgLevelList: (orgLevel?: string) => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useOrgLevelList: (orgLevel?: string) => IListItem<string>[];
@@ -1,6 +1,7 @@
1
- export declare const usePageSelectionTypeList: () => IListItem[];
2
- export declare const useStructedPropertyList: (instanceId?: string | number) => IListItem[];
3
- export declare const useTimeSelectionTypeList: () => IListItem[];
4
- export declare const useStructedPropertyDataSource: (structedPropertyCode?: string) => IListItem[];
1
+ import { IListItem, IListItemDataSourceMap } from '@/types';
2
+ export declare const usePageSelectionTypeList: () => IListItem<string>[];
3
+ export declare const useStructedPropertyList: (instanceId?: string | number) => IListItem<string>[];
4
+ export declare const useTimeSelectionTypeList: () => IListItem<string>[];
5
+ export declare const useStructedPropertyDataSource: (structedPropertyCode?: string) => IListItem<string>[];
5
6
  export declare const useStructedPropertyDataSourceByCodeList: (structedPropertyCodeList?: string[]) => IListItemDataSourceMap;
6
- export declare const useShowPropertyList: () => IListItem[];
7
+ export declare const useShowPropertyList: () => IListItem<string>[];
@@ -1 +1,2 @@
1
+ import { IMatterPendingInfo } from '@/types';
1
2
  export declare const usePendingList: (init?: boolean) => IMatterPendingInfo[];
@@ -1,10 +1,11 @@
1
+ import { IPortalPageInfo } from 'src/types';
1
2
  interface IRequestParams {
2
3
  code?: string;
3
4
  pageType?: string;
4
5
  init?: boolean;
5
6
  }
6
7
  export declare const usePortalPageInfo: ({ pageType, code, init, }: IRequestParams) => {
7
- pageInfo: IPortalPageInfo;
8
+ pageInfo: Partial<IPortalPageInfo>;
8
9
  refreshPageInfo: () => Promise<void>;
9
10
  };
10
11
  export {};
@@ -1 +1,2 @@
1
- export declare const useReportIndicatorList: () => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useReportIndicatorList: () => IListItem<string>[];
@@ -1,2 +1,3 @@
1
- export declare const useReportTplInfo: (id?: number | string) => IReportTplInfo;
2
- export declare const useReportContentInfo: (id?: number | string, importType?: string) => IReportContentInfo;
1
+ import { IReportContentInfo, IReportTplInfo } from '@/types';
2
+ export declare const useReportTplInfo: (id?: number | string) => Partial<IReportTplInfo>;
3
+ export declare const useReportContentInfo: (id?: number | string, importType?: string) => Partial<IReportContentInfo>;
@@ -1 +1,2 @@
1
- export declare const useReportPersonList: () => IListItem[];
1
+ import { IListItem } from '@/types';
2
+ export declare const useReportPersonList: () => IListItem<string>[];
@@ -1,3 +1,4 @@
1
+ import { IUnreadMsg } from '@/types';
1
2
  export declare const useUnreadMsgList: () => {
2
3
  msgList: IUnreadMsg[];
3
4
  handleRefreshMsgList: () => Promise<void>;
@@ -1 +1,2 @@
1
+ import { IUserAvatarInfo } from '@/types';
1
2
  export declare const useUserAvatar: (init?: boolean) => IUserAvatarInfo;
@@ -1,2 +1,3 @@
1
- export declare const useVReportInfo: () => any;
1
+ import { IMsgCountInfo, IVReportInfo } from '@/types';
2
+ export declare const useVReportInfo: () => Partial<IVReportInfo> & IMsgCountInfo;
2
3
  export declare const useVReportMessageCount: (init?: boolean) => IMsgCountInfo;
@@ -1,3 +1,4 @@
1
+ import { IVisionUserConfig } from '@/types';
1
2
  export declare const useVisionUserConfig: () => {
2
3
  data: IVisionUserConfig;
3
4
  refresh: () => Promise<void>;
@@ -1,5 +1,6 @@
1
+ import { IListItem, IWorkbenchOptions } from '@/types';
1
2
  export declare const useWorkbenchOptions: () => IWorkbenchOptions;
2
3
  export declare const useWorkbenchOptionsValue: () => IWorkbenchOptions;
3
4
  export declare const useHasInitWorkbenchRoleCode: () => boolean;
4
5
  export declare const useSetHasInitWorkbenchRoleCode: () => import("recoil").SetterOrUpdater<boolean>;
5
- export declare const useWorkbenchRoleList: () => IListItem[];
6
+ export declare const useWorkbenchRoleList: () => IListItem<string>[];
@@ -1,33 +1,33 @@
1
- import { IIndicatorCardConfig } from 'src/types';
1
+ import { IIndicatorCardConfig, IListItem } from 'src/types';
2
2
  export declare class CardService {
3
3
  /**
4
4
  * 查询卡片配置
5
5
  * @param request
6
6
  * @returns
7
7
  */
8
- static getConfigInfo(id: number): Promise<any>;
8
+ static getConfigInfo(id: number): Promise<IIndicatorCardConfig>;
9
9
  /**
10
10
  * 新增卡片配置
11
11
  * @param data
12
12
  * @returns
13
13
  */
14
- static addConfigInfo(data: Partial<IIndicatorCardConfig>): Promise<any>;
14
+ static addConfigInfo(data: Partial<IIndicatorCardConfig>): Promise<Partial<IIndicatorCardConfig>>;
15
15
  /**
16
16
  * 新增卡片配置
17
17
  * @param data
18
18
  * @returns
19
19
  */
20
- static updateConfigInfo(data: Partial<IIndicatorCardConfig>): Promise<any>;
20
+ static updateConfigInfo(data: Partial<IIndicatorCardConfig>): Promise<Partial<IIndicatorCardConfig>>;
21
21
  /**
22
22
  * 查询卡片下拉列表
23
23
  * @param id
24
24
  * @returns
25
25
  */
26
- static queryOptionList(id: number): Promise<any>;
26
+ static queryOptionList(id: number): Promise<IListItem<string>[]>;
27
27
  /**
28
28
  * 删除卡片
29
29
  * @param id
30
30
  * @returns
31
31
  */
32
- static delete(id: number): Promise<any>;
32
+ static delete(id: number): Promise<boolean>;
33
33
  }
@@ -1,13 +1,14 @@
1
+ import { IListItem } from 'src/types';
1
2
  export declare class CostService {
2
3
  /**
3
4
  * 获取成本力指数筛选条件数据源
4
5
  * @returns
5
6
  */
6
- static getDicList(name: string, isInside: boolean): Promise<any>;
7
+ static getDicList(name: string, isInside: boolean): Promise<IListItem<string>[]>;
7
8
  /**
8
9
  * 获取成本力指数数据
9
10
  * @returns
10
11
  */
11
- static getIndexDataList(params: any, isInside: boolean): Promise<any>;
12
- static exportIndexData(params: any, isInside: boolean): Promise<any>;
12
+ static getIndexDataList(params: any, isInside: boolean): Promise<IListItem<string>[]>;
13
+ static exportIndexData(params: any, isInside: boolean): Promise<IListItem<string>[]>;
13
14
  }
@@ -1,24 +1,24 @@
1
- import { ICnQuery, IDialogMsgInfo } from '@/types';
1
+ import { ICnQuery, ICnTableData, IDialogMsgInfo } from '@/types';
2
2
  export declare class DialogService {
3
3
  /**
4
4
  * 获取列表
5
5
  * @param data
6
6
  * @returns
7
7
  */
8
- static queryList(data: ICnQuery): Promise<any>;
8
+ static queryList(data: ICnQuery): Promise<ICnTableData<IDialogMsgInfo>>;
9
9
  /**
10
10
  * 发起对话
11
11
  * @param content
12
12
  */
13
- static send(content: string | number): Promise<any>;
13
+ static send(content: string | number): Promise<number>;
14
14
  /**
15
15
  * 反馈
16
16
  * @param content
17
17
  */
18
- static feedback(content: string | number): Promise<any>;
18
+ static feedback(content: string | number): Promise<number>;
19
19
  /**
20
20
  * 更新对话
21
21
  * @param data
22
22
  */
23
- static update(data: Partial<IDialogMsgInfo>): Promise<any>;
23
+ static update(data: Partial<IDialogMsgInfo>): Promise<number>;
24
24
  }
@@ -1,5 +1,5 @@
1
- import { IIndicatorInfoQuery, IIndicatorTableDataQuery } from 'src/types';
2
- import { IKeyValueItem } from 'src/types/interface';
1
+ import { IIndicatorCardConfig, IIndicatorDataInfo, IIndicatorInfo, IIndicatorInfoQuery, IIndicatorTableDataQuery } from 'src/types';
2
+ import { IListItem, IKeyValueItem, IChartListItem } from 'src/types/interface';
3
3
  export declare class IndicatorService {
4
4
  /**
5
5
  * 指标服务通用接口
@@ -8,7 +8,7 @@ export declare class IndicatorService {
8
8
  */
9
9
  static getConfigInfo(request?: {
10
10
  url: string;
11
- }): Promise<any>;
11
+ }): Promise<IIndicatorCardConfig>;
12
12
  /**
13
13
  * 指标服务通用接口 List
14
14
  * @param request
@@ -16,7 +16,7 @@ export declare class IndicatorService {
16
16
  */
17
17
  static getDataInfoList(request?: {
18
18
  url: string;
19
- }): Promise<any>;
19
+ }): Promise<IIndicatorDataInfo>;
20
20
  /**
21
21
  * 指标服务通用接口
22
22
  * @param request
@@ -24,112 +24,115 @@ export declare class IndicatorService {
24
24
  */
25
25
  static getDataInfo(request: {
26
26
  url: string;
27
- }): Promise<any>;
27
+ }): Promise<IIndicatorDataInfo>;
28
28
  /**
29
29
  * 获取指标单位列表
30
30
  * @returns
31
31
  */
32
- static getUnitList(): Promise<any>;
32
+ static getUnitList(): Promise<IListItem<string>[]>;
33
33
  /**
34
34
  * 获取指标范围列表
35
35
  * @returns
36
36
  */
37
- static getRangeList(): Promise<any>;
37
+ static getRangeList(): Promise<IListItem<string>[]>;
38
38
  /**
39
39
  * 获取指标分类列表
40
40
  * @returns
41
41
  */
42
- static getClassifyList(): Promise<any>;
42
+ static getClassifyList(): Promise<IListItem<string>[]>;
43
43
  /**
44
44
  * 获取指标类别列表
45
45
  * @returns
46
46
  */
47
- static getTypeList(): Promise<any>;
47
+ static getTypeList(): Promise<IListItem<string>[]>;
48
48
  /**
49
49
  * 获取指标标签列表
50
50
  * @returns
51
51
  */
52
- static getLabelList(): Promise<any>;
52
+ static getLabelList(): Promise<IListItem<string>[]>;
53
53
  /**
54
54
  * 获取指标标签列表
55
55
  * @returns
56
56
  */
57
- static getDicList(name: string): Promise<any>;
57
+ static getDicList(name: string): Promise<IListItem<string>[]>;
58
58
  /**
59
59
  * 查询指标中心列表
60
60
  * @returns
61
61
  */
62
- static getCardList(data?: IKeyValueItem): Promise<any>;
62
+ static getCardList(data?: IKeyValueItem): Promise<IIndicatorInfo[]>;
63
63
  /**
64
64
  * 查询指标卡片数量
65
65
  * @param data
66
66
  * @returns
67
67
  */
68
- static getCountList(data: IKeyValueItem): Promise<any>;
68
+ static getCountList(data: IKeyValueItem): Promise<IChartListItem[]>;
69
69
  /**
70
70
  * 更新订阅状态
71
71
  * @param subId
72
72
  * @returns
73
73
  */
74
- static updateFollow(subId: number): Promise<any>;
74
+ static updateFollow(subId: number): Promise<boolean>;
75
75
  /**
76
76
  * 获取单个卡片查询列表
77
77
  * @param subId
78
78
  * @returns
79
79
  */
80
- static getCardQueryList(subId: number | string): Promise<any>;
80
+ static getCardQueryList(subId: number | string): Promise<IListItem<string>[]>;
81
81
  /**
82
82
  * 查询指标信息
83
83
  * @param subId
84
84
  * @returns
85
85
  */
86
86
  static queryCard(subId: number | string, type: string): Promise<{
87
- value: any;
88
- expectValue: any;
89
- ratio: any;
90
- selectLabel: any;
87
+ value: number;
88
+ expectValue: number;
89
+ ratio: number;
90
+ selectLabel: string;
91
91
  }>;
92
92
  /**
93
93
  * 指标中心列表逐级查询
94
94
  * @param data
95
95
  * @returns
96
96
  */
97
- static getTableDataList(data?: IIndicatorTableDataQuery): Promise<any>;
97
+ static getTableDataList(data?: IIndicatorTableDataQuery): Promise<IIndicatorInfo[]>;
98
98
  /**
99
99
  * 查询指标详情
100
100
  * @param subId
101
101
  * @returns
102
102
  */
103
- static getDetails({ subId, indicatorDate, }: IIndicatorInfoQuery): Promise<any>;
103
+ static getDetails({ subId, indicatorDate, }: IIndicatorInfoQuery): Promise<IIndicatorInfo>;
104
104
  /**
105
105
  * 查询下钻指标详情
106
106
  * @param subId
107
107
  * @returns
108
108
  */
109
- static getDownDetails({ originId, subId, name, type, indicatorDate, }: IIndicatorInfoQuery): Promise<any>;
109
+ static getDownDetails({ originId, subId, name, type, indicatorDate, }: IIndicatorInfoQuery): Promise<IIndicatorInfo>;
110
110
  /**
111
111
  * 查询指标详情时间下拉数据源
112
112
  * @param subId
113
113
  * @returns
114
114
  */
115
- static getDateList(subId: number | string): Promise<any>;
115
+ static getDateList(subId: number | string): Promise<IListItem<string>[]>;
116
116
  /**
117
117
  * 查询指标详情趋势图
118
118
  * @param subId
119
119
  * @returns
120
120
  */
121
- static getDetailsTrend(subId: number | string, name: string): Promise<any>;
121
+ static getDetailsTrend(subId: number | string, name: string): Promise<IListItem<number>[]>;
122
122
  /**
123
123
  * 查询指标实例列表
124
124
  * @param timeSpan
125
125
  * @param orgLevel
126
126
  * @returns
127
127
  */
128
- static queryIndicatorList(timeSpan?: string, orgLevel?: string): Promise<any>;
128
+ static queryIndicatorList(timeSpan?: string, orgLevel?: string): Promise<{
129
+ label: string;
130
+ value: number;
131
+ }[]>;
129
132
  /**
130
133
  * 查询指标维度列表
131
134
  * @param orgLevel
132
135
  * @returns
133
136
  */
134
- static getOrgLevelList(orgLevel: string): Promise<any>;
137
+ static getOrgLevelList(orgLevel: string): Promise<IListItem<string>[]>;
135
138
  }
@@ -1,44 +1,58 @@
1
- import { ICardInfo, IVisionUserConfig, IWidgetSearch } from 'src/types';
1
+ import { ICardInfo, IIndicatorCardConfig, IUnreadMsg, IVisionUserConfig, IWidgetSearch } from 'src/types';
2
2
  export declare class PageService {
3
3
  /**
4
4
  * 添加/取消卡片订阅
5
5
  * @returns
6
6
  */
7
- static addOrUpdateIndicator(pageCode?: string, pageType?: string, list?: ICardInfo[]): Promise<any>;
7
+ static addOrUpdateIndicator(pageCode?: string, pageType?: string, list?: ICardInfo[]): Promise<unknown>;
8
8
  /**
9
9
  * 更新页面内容
10
10
  * @returns
11
11
  */
12
- static updateIndicatorPage(code: string, list: string[]): Promise<any>;
12
+ static updateIndicatorPage(code: string, list: string[]): Promise<unknown>;
13
13
  /**
14
14
  * 查询页面详情
15
15
  * @returns
16
16
  */
17
- static queryIndicatorPageDetail(code?: string, pageType?: string): Promise<any>;
17
+ static queryIndicatorPageDetail(code?: string, pageType?: string): Promise<{
18
+ cardList: ICardInfo[];
19
+ id: number;
20
+ name: string;
21
+ code: string;
22
+ pageType: string;
23
+ status: string;
24
+ digitalSpaceUrl: string;
25
+ comment: null;
26
+ content: string;
27
+ configMap: {
28
+ [p: string]: IIndicatorCardConfig;
29
+ };
30
+ groupDTOList: import("src/types").ICardGroupInfo[];
31
+ }>;
18
32
  /**
19
33
  * 查询唯独消息
20
34
  * @returns
21
35
  */
22
- static queryUnreadMsg(): Promise<any>;
36
+ static queryUnreadMsg(): Promise<IUnreadMsg[]>;
23
37
  /**
24
38
  * 查询未读消息
25
39
  * @returns
26
40
  */
27
- static markUnreadMsg(id: string | number): Promise<any>;
41
+ static markUnreadMsg(id: string | number): Promise<unknown>;
28
42
  /**
29
43
  * 查询未读消息
30
44
  * @returns
31
45
  */
32
- static markUnreadMsgList(idList: number[]): Promise<any>;
33
- static queryCardsList({ needSubscribeInfo, subscribePageCode, subscribePageType, status, bizCode, typeGroup, fuzzyLike, filterMySubscription, colWidthList, }: IWidgetSearch): Promise<any>;
46
+ static markUnreadMsgList(idList: number[]): Promise<unknown>;
47
+ static queryCardsList({ needSubscribeInfo, subscribePageCode, subscribePageType, status, bizCode, typeGroup, fuzzyLike, filterMySubscription, colWidthList, }: IWidgetSearch): Promise<{}>;
34
48
  /**
35
49
  * 获取工作台用户配置
36
50
  * @returns
37
51
  */
38
- static getVisionUserConfig(): Promise<any>;
52
+ static getVisionUserConfig(): Promise<IVisionUserConfig>;
39
53
  /**
40
54
  * 设置工作台用户配置
41
55
  * @returns
42
56
  */
43
- static setVisionUserConfig(data: IVisionUserConfig): Promise<any>;
57
+ static setVisionUserConfig(data: IVisionUserConfig): Promise<boolean>;
44
58
  }
@@ -1,91 +1,112 @@
1
- import { IOssUploadData, IReportContentInfo, IReportTplInfo } from 'src/types';
1
+ import { IIndicatorInfo, IListItem, IOssSign, IOssUploadData, IReportContentInfo, IReportTplInfo } from 'src/types';
2
2
  export declare class ReportService {
3
3
  /**
4
4
  * 获取模版
5
5
  * @returns
6
6
  */
7
- static getTemplateList(): Promise<any>;
7
+ static getTemplateList(): Promise<IReportTplInfo[]>;
8
8
  /**
9
9
  * 删除模版
10
10
  * @param templateId
11
11
  * @returns
12
12
  */
13
- static deleteTemplateById(templateId: number): Promise<any>;
13
+ static deleteTemplateById(templateId: number): Promise<boolean>;
14
14
  /**
15
15
  * 保存模版
16
16
  * @param data
17
17
  * @returns
18
18
  */
19
- static saveTemplate(data: Partial<IReportTplInfo>): Promise<any>;
19
+ static saveTemplate(data: Partial<IReportTplInfo>): Promise<boolean>;
20
20
  /**
21
21
  * 获取模版详情
22
22
  * @param templateId
23
23
  * @returns
24
24
  */
25
- static getTemplateDetails(templateId: string | number): Promise<any>;
25
+ static getTemplateDetails(templateId: string | number): Promise<{
26
+ content: string;
27
+ templateId: number;
28
+ templateName: string;
29
+ description: string;
30
+ templateType: import("src/types").ReportTemplateType;
31
+ viewRange: "PUBLIC" | "PERSONAL";
32
+ templateTypeDesc: string;
33
+ version: number;
34
+ view: boolean;
35
+ personList: {
36
+ workNo: string;
37
+ name: string;
38
+ }[];
39
+ indicatorList: IIndicatorInfo[];
40
+ }>;
26
41
  /**
27
42
  * 获取使用人
28
43
  * @returns
29
44
  */
30
- static getPersonList(): Promise<any>;
45
+ static getPersonList(): Promise<IListItem<string>[]>;
31
46
  /**
32
47
  * 获取指标列表
33
48
  * @returns
34
49
  */
35
- static getIndicatorList(): Promise<any>;
50
+ static getIndicatorList(): Promise<IListItem<string>[]>;
36
51
  /**
37
52
  * 获取指标详情
38
53
  * @param subId
39
54
  * @returns
40
55
  */
41
- static getIndicatorInfo(subId: number | string): Promise<any>;
56
+ static getIndicatorInfo(subId: number | string): Promise<IIndicatorInfo>;
42
57
  /**
43
58
  * 查询指标信息
44
59
  * @param subId
45
60
  * @returns
46
61
  */
47
62
  static queryIndicatorInfo(subId: number, type: string): Promise<{
48
- value: any;
49
- expectValue: any;
50
- ratio: any;
51
- selectLabel: any;
52
- indicatorType: any;
53
- uniqueCode: any;
63
+ value: number;
64
+ expectValue: number;
65
+ ratio: number;
66
+ selectLabel: string;
67
+ indicatorType: string;
68
+ uniqueCode: string;
54
69
  }>;
55
70
  /**
56
71
  * 获取内容
57
72
  * @returns
58
73
  */
59
- static getContentList(): Promise<any>;
74
+ static getContentList(): Promise<IReportContentInfo[]>;
60
75
  /**
61
76
  * 保存内容
62
77
  * @param data
63
78
  * @returns
64
79
  */
65
- static saveContent(data: Partial<IReportContentInfo>): Promise<any>;
80
+ static saveContent(data: Partial<IReportContentInfo>): Promise<boolean>;
66
81
  /**
67
82
  * 获取内容详情
68
83
  * @param templateId
69
84
  * @returns
70
85
  */
71
- static getContentDetails(templateId: string | number, importType?: string): Promise<any>;
86
+ static getContentDetails(templateId: string | number, importType?: string): Promise<{
87
+ content: string;
88
+ templateId: number;
89
+ title: string;
90
+ indicatorResult: IIndicatorInfo[];
91
+ version: number;
92
+ }>;
72
93
  /**
73
94
  * 获取钉钉跳转链接
74
95
  * @param content
75
96
  * @returns
76
97
  */
77
- static getDingLink(content: string, contentType?: string): Promise<any>;
98
+ static getDingLink(content: string, contentType?: string): Promise<string>;
78
99
  /**
79
100
  * 根据 key 获取地址
80
101
  * @param key
81
102
  * @returns
82
103
  */
83
- static getUrlByKey(key: string): Promise<any>;
104
+ static getUrlByKey(key: string): Promise<string>;
84
105
  /**
85
106
  * 获取图片上传签名
86
107
  * @returns
87
108
  */
88
- static getOssSign(): Promise<any>;
109
+ static getOssSign(): Promise<IOssSign>;
89
110
  /**
90
111
  * 获取图片上传
91
112
  * @returns
@@ -95,5 +116,5 @@ export declare class ReportService {
95
116
  * AI 生成
96
117
  * @returns
97
118
  */
98
- static getAiSearch(content: string): Promise<any>;
119
+ static getAiSearch(content: string): Promise<string>;
99
120
  }
@@ -1,22 +1,25 @@
1
- import { ISearchByTypeCondition, ISearchCondition, IWorkbenchOptions } from '@/types';
1
+ import { ICnTableData, IHazardInfo, IListItem, IMatterInfo, IMenuInfo, IRecommendInfo, IRiskInfo, ISearchByTypeCondition, ISearchCondition, ISearchResInfo, ISearchResListInfo, INoticeInfo, IUserAvatarInfo, IMatterPendingInfo, IRankInfo, IVReportInfo, IZNoticeInfo, IMsgCountInfo, IWorkbenchOptions } from '@/types';
2
2
  export declare class WorkbenchService {
3
3
  /**
4
4
  * 获取大区列表
5
5
  * @returns
6
6
  */
7
- static getRegionList(): Promise<any>;
7
+ static getRegionList(): Promise<IListItem<string>[]>;
8
8
  /**
9
9
  * 获取热词数据
10
10
  * @returns
11
11
  */
12
- static getHotDataList(): Promise<any>;
12
+ static getHotDataList(): Promise<{
13
+ hotWords: IRecommendInfo[];
14
+ recentWords: IRecommendInfo[];
15
+ }>;
13
16
  /**
14
17
  * 获取推荐数据
15
18
  * @returns
16
19
  */
17
20
  static getRecommendDataList(data: {
18
21
  keyWord?: string;
19
- }): Promise<any>;
22
+ }): Promise<IRecommendInfo[]>;
20
23
  /**
21
24
  * 获取查询数据
22
25
  * @returns
@@ -24,12 +27,12 @@ export declare class WorkbenchService {
24
27
  static getSearchDataList(data: {
25
28
  keyWord?: string;
26
29
  type?: string;
27
- }): Promise<any>;
30
+ }): Promise<ISearchResInfo[]>;
28
31
  /**
29
32
  * 获取查询数据(分页)
30
33
  * @returns
31
34
  */
32
- static getSearchDataListByType(data: ISearchByTypeCondition): Promise<any>;
35
+ static getSearchDataListByType(data: ISearchByTypeCondition): Promise<ICnTableData<ISearchResListInfo>>;
33
36
  /**
34
37
  * 获取事项数据
35
38
  * @returns
@@ -38,27 +41,27 @@ export declare class WorkbenchService {
38
41
  workflowType: string;
39
42
  currentPage?: number;
40
43
  pageSize?: number;
41
- }): Promise<any>;
44
+ }): Promise<ICnTableData<IMatterInfo>>;
42
45
  /**
43
46
  * 获取风险数据
44
47
  * @returns
45
48
  */
46
- static getRiskData(data: ISearchCondition): Promise<any>;
49
+ static getRiskData(data: ISearchCondition): Promise<IRiskInfo[]>;
47
50
  /**
48
51
  * 获取隐患整改情况数据
49
52
  * @returns
50
53
  */
51
- static getHazardData(data: ISearchCondition): Promise<any>;
54
+ static getHazardData(data: ISearchCondition): Promise<IHazardInfo[]>;
52
55
  /**
53
56
  * 获取快捷菜单
54
57
  * @returns
55
58
  */
56
- static getCommonFunctionsList(): Promise<any>;
59
+ static getCommonFunctionsList(): Promise<IMenuInfo[]>;
57
60
  /**
58
61
  * 获取快捷菜单
59
62
  * @returns
60
63
  */
61
- static getCommonFunctionsListNew(): Promise<any>;
64
+ static getCommonFunctionsListNew(): Promise<IMenuInfo[]>;
62
65
  /**
63
66
  * 获取头条公告数据
64
67
  * @returns
@@ -66,12 +69,15 @@ export declare class WorkbenchService {
66
69
  static getNoticeDataList(data?: {
67
70
  currentPage?: number;
68
71
  pageSize?: number;
69
- }, isInside?: boolean): Promise<any>;
72
+ }, isInside?: boolean): Promise<ICnTableData<IZNoticeInfo>>;
70
73
  /**
71
74
  * 获取工作台角色列表
72
75
  * @returns
73
76
  */
74
- static getWorkbenchRoleList(): Promise<any>;
77
+ static getWorkbenchRoleList(): Promise<{
78
+ label: string;
79
+ value: string;
80
+ }[]>;
75
81
  /**
76
82
  * 获取角色工作台选项
77
83
  * @returns
@@ -81,43 +87,43 @@ export declare class WorkbenchService {
81
87
  * 查询用户头像
82
88
  * @returns
83
89
  */
84
- static queryUserAvatar(): Promise<any>;
90
+ static queryUserAvatar(): Promise<IUserAvatarInfo>;
85
91
  /**
86
92
  * 查询公告
87
93
  * @returns
88
94
  */
89
- static queryNoticeBannerList(): Promise<any>;
95
+ static queryNoticeBannerList(): Promise<INoticeInfo[]>;
90
96
  /**
91
97
  * 查询公告
92
98
  * @returns
93
99
  */
94
100
  static queryNotice({ currentPage, }: {
95
101
  currentPage: number;
96
- }): Promise<any>;
102
+ }): Promise<ICnTableData<INoticeInfo>>;
97
103
  /**
98
104
  * 查询公告详情
99
105
  * @param id
100
106
  * @returns
101
107
  */
102
- static queryNoticeInfo(id: number | string): Promise<any>;
108
+ static queryNoticeInfo(id: number | string): Promise<INoticeInfo>;
103
109
  /**
104
110
  * 事项中心
105
111
  * @returns
106
112
  */
107
- static queryPendingList(): Promise<any>;
113
+ static queryPendingList(): Promise<IMatterPendingInfo[]>;
108
114
  /**
109
115
  * 查询红黑榜单
110
116
  * @returns
111
117
  */
112
- static queryWinRankList(): Promise<any>;
118
+ static queryWinRankList(): Promise<IRankInfo[]>;
113
119
  /**
114
120
  * 查询简报信息
115
121
  * @returns
116
122
  */
117
- static queryVReportInfo(): Promise<any>;
123
+ static queryVReportInfo(): Promise<IVReportInfo>;
118
124
  /**
119
125
  * 查询简报未读信息数量
120
126
  * @returns
121
127
  */
122
- static queryVReportMessageCount(): Promise<any>;
128
+ static queryVReportMessageCount(): Promise<IMsgCountInfo>;
123
129
  }
@@ -1,4 +1,5 @@
1
- import { IListItem } from 'src/types';
1
+ import { WinChartType } from 'src/components/win-chart';
2
+ import { IListItem, MatterType, WinCardChartType, WinCardType } from 'src/types';
2
3
  /**
3
4
  * 时间范围列表
4
5
  */
@@ -39,7 +40,7 @@ export declare const unitList: {
39
40
  */
40
41
  export declare const chartTypeList: {
41
42
  label: string;
42
- value: any;
43
+ value: WinCardChartType;
43
44
  }[];
44
45
  export declare const searchResTypeMap: Map<string, {
45
46
  label: string;
@@ -47,7 +48,7 @@ export declare const searchResTypeMap: Map<string, {
47
48
  }>;
48
49
  export declare const matterTitleList: {
49
50
  label: string;
50
- value: any;
51
+ value: MatterType;
51
52
  }[];
52
53
  export declare const showTypeList: {
53
54
  label: string;
@@ -62,7 +63,7 @@ export declare const rentTypeList: {
62
63
  */
63
64
  export declare const indicatorChartTypeList: {
64
65
  label: string;
65
- value: any;
66
+ value: WinCardChartType;
66
67
  }[];
67
68
  /**
68
69
  * 卡片类别信息映射
@@ -4,4 +4,4 @@ export declare const bossBucOrigin: string;
4
4
  export declare const bossCaiNiaoOrigin: string;
5
5
  export declare const getBossOrigin: (isInside?: boolean) => string;
6
6
  export declare const visionMocklayURL: string;
7
- export declare const getInDays: (time?: number) => any;
7
+ export declare const getInDays: (time?: number) => number | "1001";
@@ -1,4 +1,4 @@
1
- import { IKeyValueItem, IListItem, IResponse } from 'src/types';
1
+ import { IKeyValueItem, IListItem, IResponse, OperateType } from 'src/types';
2
2
  /**
3
3
  * 过滤接口返回内容
4
4
  * @param {*} res
@@ -11,13 +11,13 @@ export declare function handleResult<T>({ success, data, errorMsg }: IResponse<T
11
11
  * @param value
12
12
  * @returns
13
13
  */
14
- export declare function getListLabel<T>(list: IListItem<T>[], value?: T): any;
14
+ export declare function getListLabel<T>(list: IListItem<T>[], value?: T): string;
15
15
  /**
16
16
  * 格式化日期 时间
17
17
  * @param {String} value 时间戳
18
18
  * @returns {String}
19
19
  */
20
- export declare const formatDate: (value?: any) => any;
20
+ export declare const formatDate: (value?: any) => string;
21
21
  /**
22
22
  * 删除对象中的空值
23
23
  * @param {}
@@ -35,4 +35,4 @@ export declare function generateRandomMorandiColor(): string;
35
35
  * @returns
36
36
  */
37
37
  export declare function objectToFormData(obj: IKeyValueItem): FormData;
38
- export declare const getOperateTitle: (type: OperateType) => "" | "新增" | "编辑" | "查看";
38
+ export declare const getOperateTitle: (type: OperateType) => "新增" | "编辑" | "查看" | "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "win-chart",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "组件功能描述",
5
5
  "files": [
6
6
  "esm"
package/esm/api/README.md DELETED
@@ -1,15 +0,0 @@
1
- # 项目 api
2
-
3
- - 此文件夹用于放置项目级别的数据请求 api.
4
- - 使用的时候直接 `import { xxx } from 'src/api';` 即可
5
-
6
- # 新增 api
7
-
8
- - 在 `./url-map` 里面增加相应的 url, 随着项目的不断迭代, 如果 url 越来越多, 可以逐步按文件来拆分 url-map.
9
- - 选择或者创建一个文件夹来合理的管理 api, 比如说 `./user` 里面放置的是用户相关的请求, `./layout` 里面放置的是导航相关的请求.
10
- - 如果创建了新的文件夹, 请在 `./index` 里面导出它.
11
- - 参照现有的 api 来编写新的 api.
12
-
13
- # 页面 api
14
-
15
- - 页面级别的数据请求 api, 可以放在页面里面, 参考 `src/pages/**/api`.
package/esm/api/index.js DELETED
@@ -1,6 +0,0 @@
1
- /**
2
- * 导出所有的请求, 这样外界使用的时候直接 `import { xxx } from 'src/api';` 即可
3
- */ export * from "./layout";
4
- export * from "./user";
5
-
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":["/**\n * 导出所有的请求, 这样外界使用的时候直接 `import { xxx } from 'src/api';` 即可\n */ export * from \"./layout\";\nexport * from \"./user\";\n"],"names":[],"mappings":"AAAA,CAAC,CAAC,CAAC;AACH,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC3D,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC7B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;"}
@@ -1,53 +0,0 @@
1
- /**
2
- * 此文件用于管理侧边栏相关的请求
3
- */ import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
4
- import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
5
- import $i18n from "panda-i18n";
6
- import request from "../request";
7
- import urlMap from "../url-map";
8
- function formatMenu(menu) {
9
- var titleKey = menu.titleKey;
10
- if (titleKey) {
11
- menu.text = $i18n.get({
12
- id: titleKey
13
- });
14
- } else {
15
- menu.text = menu.title || "";
16
- }
17
- menu.key = menu.path || "";
18
- }
19
- // 获取侧边栏菜单栏列表
20
- export function getMenuList() {
21
- return _getMenuList.apply(this, arguments);
22
- }
23
- function _getMenuList() {
24
- _getMenuList = _async_to_generator(function() {
25
- var data, dataList;
26
- return _ts_generator(this, function(_state) {
27
- switch(_state.label){
28
- case 0:
29
- return [
30
- 4,
31
- request.get(urlMap.getMenuList)
32
- ];
33
- case 1:
34
- data = _state.sent().data;
35
- dataList = data.dataList;
36
- dataList.forEach(function(menu) {
37
- var children = menu.children;
38
- formatMenu(menu);
39
- if (children) {
40
- children.forEach(formatMenu);
41
- }
42
- });
43
- return [
44
- 2,
45
- dataList
46
- ];
47
- }
48
- });
49
- });
50
- return _getMenuList.apply(this, arguments);
51
- }
52
-
53
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":["/**\n * 此文件用于管理侧边栏相关的请求\n */ import { _ as _async_to_generator } from \"@swc/helpers/_/_async_to_generator\";\nimport { _ as _ts_generator } from \"@swc/helpers/_/_ts_generator\";\nimport $i18n from \"panda-i18n\";\nimport request from \"../request\";\nimport urlMap from \"../url-map\";\nfunction formatMenu(menu) {\n var titleKey = menu.titleKey;\n if (titleKey) {\n menu.text = $i18n.get({\n id: titleKey\n });\n } else {\n menu.text = menu.title || \"\";\n }\n menu.key = menu.path || \"\";\n}\n// 获取侧边栏菜单栏列表\nexport function getMenuList() {\n return _getMenuList.apply(this, arguments);\n}\nfunction _getMenuList() {\n _getMenuList = _async_to_generator(function() {\n var data, dataList;\n return _ts_generator(this, function(_state) {\n switch(_state.label){\n case 0:\n return [\n 4,\n request.get(urlMap.getMenuList)\n ];\n case 1:\n data = _state.sent().data;\n dataList = data.dataList;\n dataList.forEach(function(menu) {\n var children = menu.children;\n formatMenu(menu);\n if (children) {\n children.forEach(formatMenu);\n }\n });\n return [\n 2,\n dataList\n ];\n }\n });\n });\n return _getMenuList.apply(this, arguments);\n}\n"],"names":[],"mappings":"AAAA,CAAC,CAAC,CAAC;AACH,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClF,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClE,CAAC,CAAC,CAAC,CAAC,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C,CAAC;AAC5B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAChC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACb,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACX,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/C,CAAC;"}
@@ -1,7 +0,0 @@
1
- /**
2
- * 统一管理请求的 url, 随着项目的不断迭代, 如果 url 越来越多, 可以逐步按文件来拆分 url-map.
3
- */ export default {
4
- getUserInfo: "https://mocks.alibaba-inc.com/mock/cnxt-web-app-sample/getUserInfo",
5
- getMenuList: "https://mocks.alibaba-inc.com/mock/kp2dkcok/getDemoSidebarMenuList",
6
- helloCnxt: "https://mocks.alibaba-inc.com/mock/cnxt-web-app-sample/helloCnxt"
7
- };
@@ -1,33 +0,0 @@
1
- /**
2
- * 此文件用于管理用户相关的请求
3
- */ import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
4
- import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
5
- import request from "../request";
6
- import urlMap from "../url-map";
7
- // 获取用户信息
8
- export function getUserInfo() {
9
- return _getUserInfo.apply(this, arguments);
10
- }
11
- function _getUserInfo() {
12
- _getUserInfo = _async_to_generator(function() {
13
- var data;
14
- return _ts_generator(this, function(_state) {
15
- switch(_state.label){
16
- case 0:
17
- return [
18
- 4,
19
- request.get(urlMap.getUserInfo)
20
- ];
21
- case 1:
22
- data = _state.sent().data;
23
- return [
24
- 2,
25
- data
26
- ];
27
- }
28
- });
29
- });
30
- return _getUserInfo.apply(this, arguments);
31
- }
32
-
33
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":["/**\n * 此文件用于管理用户相关的请求\n */ import { _ as _async_to_generator } from \"@swc/helpers/_/_async_to_generator\";\nimport { _ as _ts_generator } from \"@swc/helpers/_/_ts_generator\";\nimport request from \"../request\";\nimport urlMap from \"../url-map\";\n// 获取用户信息\nexport function getUserInfo() {\n return _getUserInfo.apply(this, arguments);\n}\nfunction _getUserInfo() {\n _getUserInfo = _async_to_generator(function() {\n var data;\n return _ts_generator(this, function(_state) {\n switch(_state.label){\n case 0:\n return [\n 4,\n request.get(urlMap.getUserInfo)\n ];\n case 1:\n data = _state.sent().data;\n return [\n 2,\n data\n ];\n }\n });\n });\n return _getUserInfo.apply(this, arguments);\n}\n"],"names":[],"mappings":"AAAA,CAAC,CAAC,CAAC;AACH,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjB,CAAC,CAAC,CAAC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