@partex/one-core 2.1.19 → 2.1.22

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 (81) hide show
  1. package/lib/components/actionButton/function.d.ts +3 -2
  2. package/lib/components/actionButton/index.vue.d.ts +7 -6
  3. package/lib/components/actionButton/interface.d.ts +2 -1
  4. package/lib/components/auth/index.vue.d.ts +2 -2
  5. package/lib/components/back/index.vue.d.ts +1489 -6
  6. package/lib/components/circle/index.vue.d.ts +337 -7
  7. package/lib/components/common.d.ts +2 -1
  8. package/lib/components/create.d.ts +2 -1
  9. package/lib/components/echarts/echarts.d.ts +10 -9
  10. package/lib/components/error/index.vue.d.ts +1425 -6
  11. package/lib/components/fetch.d.ts +4 -3
  12. package/lib/components/footer/index.vue.d.ts +6 -5
  13. package/lib/components/form/interface.d.ts +3 -2
  14. package/lib/components/header/interface.d.ts +1 -0
  15. package/lib/components/hooks/memoryCache.d.ts +0 -1
  16. package/lib/components/hooks/useDebounceFn.d.ts +3 -2
  17. package/lib/components/hooks/useLocalStorage.d.ts +2 -1
  18. package/lib/components/hooks/useQuery.d.ts +3 -2
  19. package/lib/components/hooks/useThrottleFn.d.ts +3 -2
  20. package/lib/components/icon/Add.vue.d.ts +2 -2
  21. package/lib/components/icon/Alert.vue.d.ts +2 -2
  22. package/lib/components/icon/ArrowClockwise.vue.d.ts +2 -2
  23. package/lib/components/icon/ArrowDown.vue.d.ts +2 -2
  24. package/lib/components/icon/ArrowSquareDown.vue.d.ts +2 -2
  25. package/lib/components/icon/ArrowUp.vue.d.ts +2 -2
  26. package/lib/components/icon/CalendarArrowDown.vue.d.ts +2 -2
  27. package/lib/components/icon/ChevronLeft.vue.d.ts +2 -2
  28. package/lib/components/icon/Clear.vue.d.ts +2 -2
  29. package/lib/components/icon/CloudArrowDown.vue.d.ts +2 -2
  30. package/lib/components/icon/Delete.vue.d.ts +2 -2
  31. package/lib/components/icon/Dismiss.vue.d.ts +2 -2
  32. package/lib/components/icon/Drafts.vue.d.ts +2 -2
  33. package/lib/components/icon/Eye.vue.d.ts +2 -2
  34. package/lib/components/icon/EyeOff.vue.d.ts +2 -2
  35. package/lib/components/icon/Filter.vue.d.ts +2 -2
  36. package/lib/components/icon/FullScreenMaximize.vue.d.ts +2 -2
  37. package/lib/components/icon/GridDots.vue.d.ts +2 -2
  38. package/lib/components/icon/MailInboxAdd.vue.d.ts +2 -2
  39. package/lib/components/icon/Navigation.vue.d.ts +2 -2
  40. package/lib/components/icon/Pin.vue.d.ts +2 -2
  41. package/lib/components/icon/PinOff.vue.d.ts +2 -2
  42. package/lib/components/icon/Reset.vue.d.ts +2 -2
  43. package/lib/components/icon/Search.vue.d.ts +2 -2
  44. package/lib/components/icon/User.vue.d.ts +2 -2
  45. package/lib/components/icon/WeatherMoon.vue.d.ts +2 -2
  46. package/lib/components/icon/WeatherSunny.vue.d.ts +2 -2
  47. package/lib/components/index.d.ts +1 -0
  48. package/lib/components/interface.d.ts +2 -1
  49. package/lib/components/my/api.d.ts +2 -1
  50. package/lib/components/numberRoll/index.vue.d.ts +10 -9
  51. package/lib/components/preset.d.ts +2 -2
  52. package/lib/components/searchBar/components/timePickRange.vue.d.ts +2406 -9
  53. package/lib/components/searchBar/interface.d.ts +3 -2
  54. package/lib/components/searchBar/pop.vue.d.ts +6 -6
  55. package/lib/components/store/api.d.ts +7 -6
  56. package/lib/components/store/common.d.ts +2 -1
  57. package/lib/components/store/user.d.ts +4 -3
  58. package/lib/components/table/interface.d.ts +4 -3
  59. package/lib/components/theme.d.ts +2 -1
  60. package/lib/components/utils/fetch.d.ts +2 -1
  61. package/lib/components/utils/localStorage.d.ts +2 -1
  62. package/lib/index.d.ts +2 -0
  63. package/lib/one-core.js +1580 -1579
  64. package/lib/style.css +1 -1
  65. package/package.json +22 -22
  66. package/lib/components/form/index.vue.d.ts +0 -394
  67. package/lib/components/form/item.vue.d.ts +0 -48
  68. package/lib/components/header/index.vue.d.ts +0 -135
  69. package/lib/components/header/message.vue.d.ts +0 -49
  70. package/lib/components/header/pop.vue.d.ts +0 -51
  71. package/lib/components/importer/index.vue.d.ts +0 -103
  72. package/lib/components/login/index.vue.d.ts +0 -108
  73. package/lib/components/logo/index.vue.d.ts +0 -18
  74. package/lib/components/main/index.vue.d.ts +0 -154
  75. package/lib/components/my/index.vue.d.ts +0 -30
  76. package/lib/components/report/index.vue.d.ts +0 -9
  77. package/lib/components/scan/index.vue.d.ts +0 -12
  78. package/lib/components/searchBar/index.vue.d.ts +0 -126
  79. package/lib/components/searchBar/item.vue.d.ts +0 -47
  80. package/lib/components/skeleton/index.vue.d.ts +0 -24
  81. package/lib/components/table/index.vue.d.ts +0 -283
@@ -1,5 +1,6 @@
1
- import type { SelectGroupOption, CascaderOption, TreeSelectOption } from 'naive-ui';
2
- import type { ObjectKey } from '../interface';
1
+ import { SelectGroupOption, CascaderOption, TreeSelectOption } from 'naive-ui';
2
+ import { ObjectKey } from '../interface';
3
+
3
4
  type SelectOption = any;
4
5
  interface Base {
5
6
  title?: (() => string) | string;
@@ -1,19 +1,19 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
3
  value: {
4
4
  required: true;
5
5
  type: BooleanConstructor;
6
6
  default: boolean;
7
7
  };
8
- }, {
8
+ }>, {
9
9
  close: () => void;
10
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "on-update:value"[], "on-update:value", PublicProps, Readonly<ExtractPropTypes<{
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "on-update:value"[], "on-update:value", PublicProps, Readonly< ExtractPropTypes<{
11
11
  value: {
12
12
  required: true;
13
13
  type: BooleanConstructor;
14
14
  default: boolean;
15
15
  };
16
- }>> & {
16
+ }>> & Readonly<{
17
17
  "onOn-update:value"?: ((...args: any[]) => any) | undefined;
18
- }, {}, {}>;
18
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
19
19
  export default _default;
@@ -1,5 +1,6 @@
1
- import type { IUserTenant } from './interface';
2
- import type { Query, PageRecords } from '../interface';
1
+ import { IUserTenant } from './interface';
2
+ import { Query, PageRecords } from '../interface';
3
+
3
4
  export declare const login: (params: {
4
5
  type: string;
5
6
  name: string;
@@ -37,10 +38,10 @@ export declare const downloadSubmit: (params: Params) => Promise<void>;
37
38
  export declare const downloadList: (params: Params) => Promise<PageRecords<Model[]>>;
38
39
  export declare const fnDownload: (params: {
39
40
  [key: string]: any;
40
- jobTypeName?: string | undefined;
41
- jobParams?: string | undefined;
42
- file?: File | undefined;
43
- query?: Query | undefined;
41
+ jobTypeName?: string;
42
+ jobParams?: string;
43
+ file?: File;
44
+ query?: Query;
44
45
  }) => Promise<void>;
45
46
  export declare const messagePage: (params: {
46
47
  status: number;
@@ -1,4 +1,5 @@
1
- import type { ObjectKey } from '../interface';
1
+ import { ObjectKey } from '../interface';
2
+
2
3
  type Lang = 'en-US' | 'zh-CN' | 'fr-FR';
3
4
  export interface IPlatform {
4
5
  platformName: () => string;
@@ -1,4 +1,5 @@
1
- import type { IUserTenant } from './interface';
1
+ import { IUserTenant } from './interface';
2
+
2
3
  export declare const userStore: {
3
4
  [x: string]: any;
4
5
  ncFlg: 0 | 1;
@@ -37,12 +38,12 @@ export declare const userStore: {
37
38
  id: string | string[];
38
39
  interval: number;
39
40
  viewType: 1 | 2;
40
- theme: "dark" | "light";
41
+ theme: "light" | "dark";
41
42
  };
42
43
  endTime: number;
43
44
  tenantStatus: 0 | 1 | 2;
44
45
  renewalStatus: 0 | 1;
45
- industryCategory: "1" | "0";
46
+ industryCategory: "0" | "1";
46
47
  };
47
48
  export declare function setEnableRedirect(val: boolean): void;
48
49
  export declare function fnSetUser(val: Required<IUserTenant>): void;
@@ -1,6 +1,7 @@
1
- import type { VNodeChild } from 'vue';
2
- import type { Query } from '../interface';
3
- import type { ISearchBarTypes } from '../searchBar/interface';
1
+ import { VNodeChild } from 'vue';
2
+ import { Query } from '../interface';
3
+ import { ISearchBarTypes } from '../searchBar/interface';
4
+
4
5
  type TableColumnTitle<T = InternalRowData> = string | ((column: IOcDataTableColumns<T>) => VNodeChild);
5
6
  type ColumnKey = string | number;
6
7
  type InternalRowData = Record<string, unknown>;
@@ -1,4 +1,5 @@
1
+ import { GlobalThemeOverrides } from 'naive-ui';
1
2
  import { BuiltInGlobalTheme } from 'naive-ui/es/themes/interface';
2
- import type { GlobalThemeOverrides } from 'naive-ui';
3
+
3
4
  export declare const lightTheme: GlobalThemeOverrides;
4
5
  export declare const darkTheme: BuiltInGlobalTheme;
@@ -1,4 +1,5 @@
1
- import type { AxiosInstance } from 'axios';
1
+ import { AxiosInstance } from 'axios';
2
+
2
3
  declare const fetch: AxiosInstance;
3
4
  export declare const fnCancelFetch: () => void;
4
5
  export default fetch;
@@ -1,4 +1,5 @@
1
- import type { ObjectKey } from '../interface';
1
+ import { ObjectKey } from '../interface';
2
+
2
3
  export default class LzLocalStorage {
3
4
  namespace: string;
4
5
  mapKey: string;
package/lib/index.d.ts CHANGED
@@ -1 +1,3 @@
1
1
  export * from './components/index'
2
+ import OneCore from './components/index'
3
+ export default OneCore