zhihao-ui 1.2.7 → 1.2.9

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 (47) hide show
  1. package/dist/es/{BaseInfo-CboHDiqp.js → BaseInfo-Dv-eon6t.js} +1 -1
  2. package/dist/es/Button-DBbUF88w.js +51 -0
  3. package/dist/es/{DatePicker-AcRbvS-8.js → DatePicker-CWQoV03Q.js} +13 -13
  4. package/dist/es/{DetailHeader-CoaVXtN3.js → DetailHeader-C_mAB8-2.js} +3 -3
  5. package/dist/es/{DetailSubTitle-Csp4LjFx.js → DetailSubTitle-DD7Yllhf.js} +2 -2
  6. package/dist/es/Dialog-DyDSVm-6.js +109 -0
  7. package/dist/es/{DiyDataTable-CP7yYQaU.js → DiyDataTable-KOY6vjPs.js} +90 -85
  8. package/dist/es/{EditInfoPair-DBbRqppY.js → EditInfoPair-D0b5jY5Y.js} +3 -3
  9. package/dist/es/{FileWrapper-BwQhQopY.js → FileWrapper-CMSYWmEz.js} +4 -4
  10. package/dist/es/{Grid-B-FutGih.js → Grid-B5O9dZNI.js} +1 -1
  11. package/dist/es/{InfoPair-WmMCXoUh.js → InfoPair-Do3sSVw-.js} +3 -3
  12. package/dist/es/{Input-DFnH7_jo.js → Input-DVpd0Yte.js} +11 -11
  13. package/dist/es/{Loading-BW6Doqh_.js → Loading-DwtfOhMD.js} +2 -2
  14. package/dist/es/{Map-IjNHD4K5.js → Map-CMiThYaG.js} +641 -315
  15. package/dist/es/MessageBox-BowhqMYW.js +48 -0
  16. package/dist/es/{MoneyInput-BwkFhS2B.js → MoneyInput-CaTrJLi1.js} +7 -7
  17. package/dist/es/{PageHeadPanel-BhR3Bq1A.js → PageHeadPanel-_mKu2rMQ.js} +2 -2
  18. package/dist/es/{ToolTips-BEYXkt4n.js → ToolTips-BTCP0N--.js} +3 -3
  19. package/dist/es/index.js +30 -28
  20. package/dist/es/{utils-B1dH8Kx6.js → utils-DZ8-2Fg2.js} +1 -1
  21. package/dist/es/{vendor-Cu-cEPs_.js → vendor-BY-fHNA3.js} +9646 -8896
  22. package/dist/index.css +1 -1
  23. package/dist/types/components/ButtonGroup/ButtonGroup.test.d.ts +1 -0
  24. package/dist/types/components/ButtonGroup/ButtonGroup.vue.d.ts +37 -0
  25. package/dist/types/components/ButtonGroup/index.d.ts +38 -0
  26. package/dist/types/components/Dialog/Dialog.test.d.ts +1 -0
  27. package/dist/types/components/Dialog/Dialog.vue.d.ts +187 -14
  28. package/dist/types/components/Dialog/index.d.ts +296 -25
  29. package/dist/types/components/Dialog/types.d.ts +15 -5
  30. package/dist/types/components/DiyDataTable/type.d.ts +5 -3
  31. package/dist/types/components/Map/Map.vue.d.ts +15 -5
  32. package/dist/types/components/Map/index.d.ts +27 -0
  33. package/dist/types/components/Map/interface/entity/render.d.ts +32 -0
  34. package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +4 -0
  35. package/dist/types/components/Map/interface/index.d.ts +1 -0
  36. package/dist/types/components/Map/render/canvasRender/canvasRender.d.ts +5 -3
  37. package/dist/types/components/Map/render/drawPolygon.d.ts +9 -0
  38. package/dist/types/components/MessageBox/MessageBox.test.d.ts +1 -0
  39. package/dist/types/components/MessageBox/MessageBox.vue.d.ts +11 -218
  40. package/dist/types/components/MessageBox/index.d.ts +4 -342
  41. package/dist/types/components/index.d.ts +1 -0
  42. package/dist/umd/index.css +1 -1
  43. package/dist/umd/index.umd.cjs +25 -17
  44. package/package.json +1 -1
  45. package/dist/es/Button-C1Q6WvkI.js +0 -32
  46. package/dist/es/Dialog-CtU-qGdR.js +0 -74
  47. package/dist/es/MessageBox-CjuBt74R.js +0 -100
@@ -0,0 +1,37 @@
1
+ interface Props {
2
+ template?: "operation-fix-button" | string;
3
+ }
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ template: string;
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
+ template: string;
11
+ }>>> & Readonly<{}>, {
12
+ template: "operation-fix-button" | string;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ type __VLS_WithDefaults<P, D> = {
26
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
+ default: D[K];
28
+ }> : P[K];
29
+ };
30
+ type __VLS_Prettify<T> = {
31
+ [K in keyof T]: T[K];
32
+ } & {};
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1,38 @@
1
+ export declare const ZhButtonGroup: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ template: {
4
+ type: import('vue').PropType<string>;
5
+ default: string;
6
+ };
7
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
8
+ template: "operation-fix-button" | string;
9
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
10
+ P: {};
11
+ B: {};
12
+ D: {};
13
+ C: {};
14
+ M: {};
15
+ Defaults: {};
16
+ }, Readonly<import('vue').ExtractPropTypes<{
17
+ template: {
18
+ type: import('vue').PropType<string>;
19
+ default: string;
20
+ };
21
+ }>> & Readonly<{}>, {}, {}, {}, {}, {
22
+ template: "operation-fix-button" | string;
23
+ }>;
24
+ __isFragment?: never;
25
+ __isTeleport?: never;
26
+ __isSuspense?: never;
27
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
28
+ template: {
29
+ type: import('vue').PropType<string>;
30
+ default: string;
31
+ };
32
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
33
+ template: "operation-fix-button" | string;
34
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
35
+ $slots: {
36
+ default?(_: {}): any;
37
+ };
38
+ }) & import('vue').Plugin;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,44 +1,217 @@
1
-
2
1
  declare function __VLS_template(): {
2
+ header?(_: {}): any;
3
3
  default?(_: {}): any;
4
+ footer?(_: {}): any;
4
5
  };
5
6
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
7
  modelValue: import('vue').PropType<boolean>;
8
+ size: {
9
+ type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
10
+ default: string;
11
+ };
12
+ top: {
13
+ type: import('vue').PropType<string>;
14
+ };
7
15
  title: {
8
16
  type: import('vue').PropType<string>;
9
- required: true;
10
17
  };
11
- subtitle: {
18
+ appendToBody: {
19
+ type: import('vue').PropType<boolean>;
20
+ };
21
+ appendTo: {
22
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
23
+ };
24
+ beforeClose: {
25
+ type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
26
+ };
27
+ destroyOnClose: {
28
+ type: import('vue').PropType<boolean>;
29
+ };
30
+ closeOnClickModal: {
31
+ type: import('vue').PropType<boolean>;
32
+ default: boolean;
33
+ };
34
+ closeOnPressEscape: {
35
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
36
+ };
37
+ lockScroll: {
38
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
39
+ };
40
+ modal: {
41
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
42
+ };
43
+ openDelay: {
44
+ type: import('vue').PropType<number>;
45
+ };
46
+ closeDelay: {
47
+ type: import('vue').PropType<number>;
48
+ };
49
+ modalClass: {
50
+ type: import('vue').PropType<string>;
51
+ };
52
+ width: {
53
+ type: import('vue').PropType<string | number>;
54
+ };
55
+ zIndex: {
56
+ type: import('vue').PropType<number>;
57
+ };
58
+ trapFocus: {
59
+ type: import('vue').PropType<boolean>;
60
+ };
61
+ headerAriaLevel: {
62
+ type: import('vue').PropType<string>;
63
+ };
64
+ center: {
65
+ type: import('vue').PropType<boolean>;
66
+ };
67
+ alignCenter: {
68
+ type: import('vue').PropType<boolean>;
69
+ };
70
+ closeIcon: {
71
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>>;
72
+ };
73
+ draggable: {
74
+ type: import('vue').PropType<boolean>;
75
+ };
76
+ overflow: {
77
+ type: import('vue').PropType<boolean>;
78
+ };
79
+ fullscreen: {
80
+ type: import('vue').PropType<boolean>;
81
+ };
82
+ showClose: {
83
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
84
+ };
85
+ ariaLevel: {
86
+ type: import('vue').PropType<string>;
87
+ };
88
+ subTitle: {
89
+ type: import('vue').PropType<string>;
90
+ };
91
+ cancelButtonText: {
12
92
  type: import('vue').PropType<string>;
93
+ default: string;
13
94
  };
14
- submitText: {
95
+ confirmButtonText: {
15
96
  type: import('vue').PropType<string>;
97
+ default: string;
16
98
  };
17
- submitDisabled: {
99
+ confirmButtonDisabled: {
18
100
  type: import('vue').PropType<boolean>;
101
+ default: boolean;
19
102
  };
20
103
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
- submit: (...args: any[]) => void;
22
- close: (...args: any[]) => void;
104
+ cancel: () => void;
105
+ confirm: () => void;
106
+ close: () => void;
23
107
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
108
  modelValue: import('vue').PropType<boolean>;
109
+ size: {
110
+ type: import('vue').PropType<"small" | "large" | "middle" | "extraLarge">;
111
+ default: string;
112
+ };
113
+ top: {
114
+ type: import('vue').PropType<string>;
115
+ };
25
116
  title: {
26
117
  type: import('vue').PropType<string>;
27
- required: true;
28
118
  };
29
- subtitle: {
119
+ appendToBody: {
120
+ type: import('vue').PropType<boolean>;
121
+ };
122
+ appendTo: {
123
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
124
+ };
125
+ beforeClose: {
126
+ type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
127
+ };
128
+ destroyOnClose: {
129
+ type: import('vue').PropType<boolean>;
130
+ };
131
+ closeOnClickModal: {
132
+ type: import('vue').PropType<boolean>;
133
+ default: boolean;
134
+ };
135
+ closeOnPressEscape: {
136
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
137
+ };
138
+ lockScroll: {
139
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
140
+ };
141
+ modal: {
142
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
143
+ };
144
+ openDelay: {
145
+ type: import('vue').PropType<number>;
146
+ };
147
+ closeDelay: {
148
+ type: import('vue').PropType<number>;
149
+ };
150
+ modalClass: {
151
+ type: import('vue').PropType<string>;
152
+ };
153
+ width: {
154
+ type: import('vue').PropType<string | number>;
155
+ };
156
+ zIndex: {
157
+ type: import('vue').PropType<number>;
158
+ };
159
+ trapFocus: {
160
+ type: import('vue').PropType<boolean>;
161
+ };
162
+ headerAriaLevel: {
163
+ type: import('vue').PropType<string>;
164
+ };
165
+ center: {
166
+ type: import('vue').PropType<boolean>;
167
+ };
168
+ alignCenter: {
169
+ type: import('vue').PropType<boolean>;
170
+ };
171
+ closeIcon: {
172
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown>>;
173
+ };
174
+ draggable: {
175
+ type: import('vue').PropType<boolean>;
176
+ };
177
+ overflow: {
178
+ type: import('vue').PropType<boolean>;
179
+ };
180
+ fullscreen: {
181
+ type: import('vue').PropType<boolean>;
182
+ };
183
+ showClose: {
184
+ type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
185
+ };
186
+ ariaLevel: {
187
+ type: import('vue').PropType<string>;
188
+ };
189
+ subTitle: {
190
+ type: import('vue').PropType<string>;
191
+ };
192
+ cancelButtonText: {
30
193
  type: import('vue').PropType<string>;
194
+ default: string;
31
195
  };
32
- submitText: {
196
+ confirmButtonText: {
33
197
  type: import('vue').PropType<string>;
198
+ default: string;
34
199
  };
35
- submitDisabled: {
200
+ confirmButtonDisabled: {
36
201
  type: import('vue').PropType<boolean>;
202
+ default: boolean;
37
203
  };
38
204
  }>> & Readonly<{
39
- onSubmit?: ((...args: any[]) => any) | undefined;
40
- onClose?: ((...args: any[]) => any) | undefined;
41
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
205
+ onCancel?: (() => any) | undefined;
206
+ onConfirm?: (() => any) | undefined;
207
+ onClose?: (() => any) | undefined;
208
+ }>, {
209
+ size: "small" | "middle" | "large" | "extraLarge";
210
+ closeOnClickModal: boolean;
211
+ cancelButtonText: string;
212
+ confirmButtonText: string;
213
+ confirmButtonDisabled: boolean;
214
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
42
215
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
43
216
  export default _default;
44
217
  type __VLS_WithTemplateSlots<T, S> = T & {