zhihao-ui 1.2.33 → 1.2.34

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 (36) hide show
  1. package/dist/es/{BaseItem-Dok2Aus9.js → BaseItem-DwoIxH38.js} +1 -1
  2. package/dist/es/{DatePicker-DJuI_Emt.js → DatePicker-BkfvEDok.js} +1 -1
  3. package/dist/es/{DetailHeader-DKjKORoT.js → DetailHeader-CmvLT5jU.js} +1 -1
  4. package/dist/es/{DetailSubTitle-zqhDyrw7.js → DetailSubTitle-BXjqx7Gl.js} +1 -1
  5. package/dist/es/{DiyDataTable-0J0XHWOg.js → DiyDataTable-02Fvx4gj.js} +1 -1
  6. package/dist/es/{EditInfoPair-BCrdjdwr.js → EditInfoPair-2lOiJK1x.js} +1 -1
  7. package/dist/es/{FileWrapper-DwI3Gpd7.js → FileWrapper-oSb83fz-.js} +1 -1
  8. package/dist/es/{Grid-BEBnaQkh.js → Grid-CHKAGBr9.js} +36 -37
  9. package/dist/es/{InfoPair-8ibzEbk8.js → InfoPair-CDbyplp2.js} +1 -1
  10. package/dist/es/{Map-zDBSTbli.js → Map-CWXp1qnd.js} +48 -45
  11. package/dist/es/{MoneyInput-BUtchReq.js → MoneyInput-BGmF3L2m.js} +17 -17
  12. package/dist/es/{Table-Ce83Xr3L.js → Table-D8EshRWb.js} +3 -3
  13. package/dist/es/ToolTips-Beib4mGU.js +31 -0
  14. package/dist/es/index.js +60 -57
  15. package/dist/index.css +1 -1
  16. package/dist/types/components/Button/types.d.ts +1 -7
  17. package/dist/types/components/Grid/Grid.vue.d.ts +0 -3
  18. package/dist/types/components/Grid/index.d.ts +0 -15
  19. package/dist/types/components/Grid/types.d.ts +0 -1
  20. package/dist/types/components/Map/Map.vue.d.ts +2 -0
  21. package/dist/types/components/Map/components/copyright.vue.d.ts +30 -1
  22. package/dist/types/components/Map/index.d.ts +10 -0
  23. package/dist/types/components/Map/types.d.ts +4 -0
  24. package/dist/types/components/MoneyInput/MoneyInput.vue.d.ts +2 -6
  25. package/dist/types/components/MoneyInput/index.d.ts +3 -13
  26. package/dist/types/components/Table/types.d.ts +1 -0
  27. package/dist/types/components/ToolTips/ToolTips.vue.d.ts +28 -19
  28. package/dist/types/components/ToolTips/index.d.ts +21 -21
  29. package/dist/umd/index.css +1 -1
  30. package/dist/umd/index.umd.cjs +5 -5
  31. package/package.json +45 -45
  32. package/dist/es/ToolTips-D7B0F-bQ.js +0 -37
  33. package/dist/types/components/Map/components/fullscreen.vue.d.ts +0 -14
  34. package/dist/types/components/Table/Table.vue.d.ts +0 -986
  35. package/dist/types/components/Table/index.d.ts +0 -2948
  36. package/dist/types/components/utils/color.d.ts +0 -1
@@ -1,7 +1 @@
1
- export type ButtonType = "primary" | "sucess" | "danger";
2
- export type ButtonSize = "small" | "normal";
3
- export type NativeTyps = "button" | "submit";
4
- export interface ButtonProps {
5
- type?: ButtonType;
6
- size?: ButtonSize;
7
- }
1
+ export {};
@@ -15,7 +15,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
15
15
  collapsed: boolean;
16
16
  collapsedRows: number;
17
17
  gap: number;
18
- enableSameLabelWidthInCol: boolean;
19
18
  }>>, {
20
19
  breakPoint: import('vue').Ref<BreakPoint, BreakPoint>;
21
20
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GridProps>, {
@@ -29,13 +28,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
29
28
  collapsed: boolean;
30
29
  collapsedRows: number;
31
30
  gap: number;
32
- enableSameLabelWidthInCol: boolean;
33
31
  }>>> & Readonly<{}>, {
34
32
  cols: number | Record<BreakPoint, number>;
35
33
  gap: [number, number] | number;
36
34
  collapsed: boolean;
37
35
  collapsedRows: number;
38
- enableSameLabelWidthInCol: boolean;
39
36
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
40
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
41
38
  export default _default;
@@ -22,10 +22,6 @@ export declare const ZhGrid: {
22
22
  type: import('vue').PropType<number>;
23
23
  default: number;
24
24
  };
25
- enableSameLabelWidthInCol: {
26
- type: import('vue').PropType<boolean>;
27
- default: boolean;
28
- };
29
25
  }>> & Readonly<{}>, {
30
26
  breakPoint: import('vue').Ref<import('./interface').BreakPoint, import('./interface').BreakPoint>;
31
27
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
@@ -33,7 +29,6 @@ export declare const ZhGrid: {
33
29
  gap: [number, number] | number;
34
30
  collapsed: boolean;
35
31
  collapsedRows: number;
36
- enableSameLabelWidthInCol: boolean;
37
32
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
38
33
  P: {};
39
34
  B: {};
@@ -64,10 +59,6 @@ export declare const ZhGrid: {
64
59
  type: import('vue').PropType<number>;
65
60
  default: number;
66
61
  };
67
- enableSameLabelWidthInCol: {
68
- type: import('vue').PropType<boolean>;
69
- default: boolean;
70
- };
71
62
  }>> & Readonly<{}>, {
72
63
  breakPoint: import('vue').Ref<import('./interface').BreakPoint, import('./interface').BreakPoint>;
73
64
  }, {}, {}, {}, {
@@ -75,7 +66,6 @@ export declare const ZhGrid: {
75
66
  gap: [number, number] | number;
76
67
  collapsed: boolean;
77
68
  collapsedRows: number;
78
- enableSameLabelWidthInCol: boolean;
79
69
  }>;
80
70
  __isFragment?: never;
81
71
  __isTeleport?: never;
@@ -103,10 +93,6 @@ export declare const ZhGrid: {
103
93
  type: import('vue').PropType<number>;
104
94
  default: number;
105
95
  };
106
- enableSameLabelWidthInCol: {
107
- type: import('vue').PropType<boolean>;
108
- default: boolean;
109
- };
110
96
  }>> & Readonly<{}>, {
111
97
  breakPoint: import('vue').Ref<import('./interface').BreakPoint, import('./interface').BreakPoint>;
112
98
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
@@ -114,7 +100,6 @@ export declare const ZhGrid: {
114
100
  gap: [number, number] | number;
115
101
  collapsed: boolean;
116
102
  collapsedRows: number;
117
- enableSameLabelWidthInCol: boolean;
118
103
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
119
104
  $slots: {
120
105
  default?(_: {}): any;
@@ -5,7 +5,6 @@ export interface GridProps {
5
5
  collapsed?: boolean;
6
6
  collapsedRows?: number;
7
7
  gap?: [number, number] | number;
8
- enableSameLabelWidthInCol?: boolean;
9
8
  }
10
9
  export interface CollectGridItem {
11
10
  labels: string[];
@@ -13,6 +13,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
13
13
  viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
14
14
  mmsi?: string;
15
15
  shipData?: ShipInfoVo;
16
+ logoType?: number;
16
17
  }>>, {
17
18
  mapInstance: Ref<MapType | undefined, MapType | undefined>;
18
19
  initMap: () => void;
@@ -121,6 +122,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
121
122
  viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
122
123
  mmsi?: string;
123
124
  shipData?: ShipInfoVo;
125
+ logoType?: number;
124
126
  }>>> & Readonly<{
125
127
  onZoomChanged?: ((...args: any[]) => any) | undefined;
126
128
  onExtentChanged?: ((...args: any[]) => any) | undefined;
@@ -1,2 +1,31 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ import { COPY_RIGHT_TYPE } from '../types.ts';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ type?: number;
5
+ }>, {
6
+ type: COPY_RIGHT_TYPE;
7
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ type?: number;
9
+ }>, {
10
+ type: COPY_RIGHT_TYPE;
11
+ }>>> & Readonly<{}>, {
12
+ type: number;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
14
  export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithDefaults<P, D> = {
25
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
+ default: D[K];
27
+ }> : P[K];
28
+ };
29
+ type __VLS_Prettify<T> = {
30
+ [K in keyof T]: T[K];
31
+ } & {};
@@ -22,6 +22,9 @@ export declare const ZhMap: {
22
22
  shipData: {
23
23
  type: import('vue').PropType<import('./interface').ShipInfoVo>;
24
24
  };
25
+ logoType: {
26
+ type: import('vue').PropType<number>;
27
+ };
25
28
  }>> & Readonly<{
26
29
  onZoomChanged?: ((...args: any[]) => any) | undefined;
27
30
  onExtentChanged?: ((...args: any[]) => any) | undefined;
@@ -156,6 +159,9 @@ export declare const ZhMap: {
156
159
  shipData: {
157
160
  type: import('vue').PropType<import('./interface').ShipInfoVo>;
158
161
  };
162
+ logoType: {
163
+ type: import('vue').PropType<number>;
164
+ };
159
165
  }>> & Readonly<{
160
166
  onZoomChanged?: ((...args: any[]) => any) | undefined;
161
167
  onExtentChanged?: ((...args: any[]) => any) | undefined;
@@ -284,6 +290,9 @@ export declare const ZhMap: {
284
290
  shipData: {
285
291
  type: import('vue').PropType<import('./interface').ShipInfoVo>;
286
292
  };
293
+ logoType: {
294
+ type: import('vue').PropType<number>;
295
+ };
287
296
  }>> & Readonly<{
288
297
  onZoomChanged?: ((...args: any[]) => any) | undefined;
289
298
  onExtentChanged?: ((...args: any[]) => any) | undefined;
@@ -394,3 +403,4 @@ export declare const ZhMap: {
394
403
  };
395
404
  }) & import('vue').Plugin;
396
405
  export * from './config';
406
+ export * from './types';
@@ -7,3 +7,7 @@ export declare enum SEARCH_TYPE {
7
7
  SEARCH_PORT = 1,
8
8
  SEARCH_CUSTOM = 2
9
9
  }
10
+ export declare enum COPY_RIGHT_TYPE {
11
+ HORIZONTAL = 0,
12
+ VERTICAL = 1
13
+ }
@@ -12,9 +12,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
12
12
  type: import('vue').PropType<boolean>;
13
13
  default: boolean;
14
14
  };
15
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- "update:modelValue": (value: number) => void;
17
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
16
  modelValue: import('vue').PropType<string | number | undefined>;
19
17
  class: {
20
18
  type: import('vue').PropType<any>;
@@ -26,9 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
26
24
  type: import('vue').PropType<boolean>;
27
25
  default: boolean;
28
26
  };
29
- }>> & Readonly<{
30
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
31
- }>, {
27
+ }>> & Readonly<{}>, {
32
28
  showTooltip: boolean;
33
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
34
30
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -11,11 +11,7 @@ export declare const ZhMoneyInput: {
11
11
  type: import('vue').PropType<boolean>;
12
12
  default: boolean;
13
13
  };
14
- }>> & Readonly<{
15
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
16
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
- "update:modelValue": (value: number) => void;
18
- }, import('vue').PublicProps, {
14
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
19
15
  showTooltip: boolean;
20
16
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
21
17
  P: {};
@@ -36,9 +32,7 @@ export declare const ZhMoneyInput: {
36
32
  type: import('vue').PropType<boolean>;
37
33
  default: boolean;
38
34
  };
39
- }>> & Readonly<{
40
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
41
- }>, {}, {}, {}, {}, {
35
+ }>> & Readonly<{}>, {}, {}, {}, {}, {
42
36
  showTooltip: boolean;
43
37
  }>;
44
38
  __isFragment?: never;
@@ -56,11 +50,7 @@ export declare const ZhMoneyInput: {
56
50
  type: import('vue').PropType<boolean>;
57
51
  default: boolean;
58
52
  };
59
- }>> & Readonly<{
60
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
61
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
62
- "update:modelValue": (value: number) => void;
63
- }, string, {
53
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
64
54
  showTooltip: boolean;
65
55
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
66
56
  $slots: Partial<Record<string, (_: any) => any>>;
@@ -65,6 +65,7 @@ export interface ColumnProps<T = any> extends Partial<Omit<TableColumnCtx<T>, "t
65
65
  isCustomDisable?: boolean;
66
66
  wrap?: boolean;
67
67
  expandOperationButtons?: boolean;
68
+ readonly?: boolean;
68
69
  }
69
70
  export interface SortChangeEvent {
70
71
  column: TableColumnCtx<any>;
@@ -1,31 +1,40 @@
1
+ import { Placement } from 'element-plus/es/components/popper';
1
2
 
2
3
  declare function __VLS_template(): {
3
4
  default?(_: {}): any;
4
5
  };
5
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
- placement: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- content: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
- placement: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- content: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- }>> & Readonly<{}>, {
6
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ placement: Placement;
24
8
  content: string;
9
+ }>, {
25
10
  placement: string;
11
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ placement: Placement;
13
+ content: string;
14
+ }>, {
15
+ placement: string;
16
+ }>>> & Readonly<{}>, {
17
+ placement: Placement;
26
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
28
20
  export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ default: D[K];
33
+ }> : P[K];
34
+ };
35
+ type __VLS_Prettify<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
29
38
  type __VLS_WithTemplateSlots<T, S> = T & {
30
39
  new (): {
31
40
  $slots: S;
@@ -1,16 +1,16 @@
1
1
  export declare const ZhToolTips: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
- placement: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
3
  content: {
8
- type: StringConstructor;
4
+ type: import('vue').PropType<string>;
5
+ required: true;
6
+ };
7
+ placement: {
8
+ type: import('vue').PropType<import('element-plus').Placement>;
9
+ required: true;
9
10
  default: string;
10
11
  };
11
12
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
12
- content: string;
13
- placement: string;
13
+ placement: import('element-plus').Placement;
14
14
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
15
15
  P: {};
16
16
  B: {};
@@ -19,33 +19,33 @@ export declare const ZhToolTips: {
19
19
  M: {};
20
20
  Defaults: {};
21
21
  }, Readonly<import('vue').ExtractPropTypes<{
22
- placement: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
22
  content: {
27
- type: StringConstructor;
23
+ type: import('vue').PropType<string>;
24
+ required: true;
25
+ };
26
+ placement: {
27
+ type: import('vue').PropType<import('element-plus').Placement>;
28
+ required: true;
28
29
  default: string;
29
30
  };
30
31
  }>> & Readonly<{}>, {}, {}, {}, {}, {
31
- content: string;
32
- placement: string;
32
+ placement: import('element-plus').Placement;
33
33
  }>;
34
34
  __isFragment?: never;
35
35
  __isTeleport?: never;
36
36
  __isSuspense?: never;
37
37
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
38
- placement: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
38
  content: {
43
- type: StringConstructor;
39
+ type: import('vue').PropType<string>;
40
+ required: true;
41
+ };
42
+ placement: {
43
+ type: import('vue').PropType<import('element-plus').Placement>;
44
+ required: true;
44
45
  default: string;
45
46
  };
46
47
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
47
- content: string;
48
- placement: string;
48
+ placement: import('element-plus').Placement;
49
49
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
50
50
  $slots: {
51
51
  default?(_: {}): any;