zhihao-ui 1.1.1 → 1.1.2

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 (26) hide show
  1. package/dist/es/{Button-DnpxJA88.js → Button-Q7GkKwFF.js} +1 -1
  2. package/dist/es/{DatePicker-DdLVvq3M.js → DatePicker-D8LPaPf6.js} +2 -2
  3. package/dist/es/{DetailSubTitle-BWNtw5qC.js → DetailSubTitle-C5pVYJhX.js} +2 -2
  4. package/dist/es/Dialog-BASeD5f8.js +74 -0
  5. package/dist/es/{EditInfoPair-Dkj9ohlm.js → EditInfoPair-CM5piQwT.js} +3 -3
  6. package/dist/es/{FileWrapper-D9UO6aN1.js → FileWrapper-DN-KKB9p.js} +4 -4
  7. package/dist/es/{Grid-D8odZrqs.js → Grid-Ds-Jy0Mn.js} +1 -1
  8. package/dist/es/{InfoPair-BXFe3add.js → InfoPair-CnBR3fy9.js} +3 -3
  9. package/dist/es/{Input-wPjJsk3b.js → Input-C1s8JqmI.js} +3 -3
  10. package/dist/es/{Loading-ClJhDU4h.js → Loading-DELLXz7f.js} +2 -2
  11. package/dist/es/{MessageBox-BbG8P2uz.js → MessageBox-26ImfgOR.js} +10 -10
  12. package/dist/es/{MoneyInput-CbCeKV_v.js → MoneyInput-Dt_ZE-zv.js} +5 -5
  13. package/dist/es/{PageHeadPanel-BaNhcn2t.js → PageHeadPanel-CdohXWA9.js} +2 -2
  14. package/dist/es/{ToolTips-Dm28zKim.js → ToolTips-CxyQMewg.js} +3 -3
  15. package/dist/es/index.js +15 -15
  16. package/dist/es/{utils-amzq0_Yw.js → utils-DBdiSe6_.js} +1 -1
  17. package/dist/es/{vendor-Cv1TpEaZ.js → vendor-mKFy0Hb6.js} +5 -5
  18. package/dist/index.css +1 -1
  19. package/dist/types/components/Dialog/Dialog.vue.d.ts +37 -3
  20. package/dist/types/components/Dialog/index.d.ts +63 -5
  21. package/dist/types/components/Dialog/types.d.ts +5 -24
  22. package/dist/umd/index.css +1 -1
  23. package/dist/umd/index.umd.cjs +12 -12
  24. package/package.json +1 -1
  25. package/dist/es/Dialog-D9YXcRFu.js +0 -112
  26. package/dist/types/components/vitest.config.d.ts +0 -2
@@ -1,10 +1,44 @@
1
1
 
2
2
  declare function __VLS_template(): {
3
3
  default?(_: {}): any;
4
- operation?(_: {}): any;
5
- footer?(_: {}): any;
6
4
  };
7
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ modelValue: import('vue').PropType<boolean>;
7
+ title: {
8
+ type: import('vue').PropType<string>;
9
+ required: true;
10
+ };
11
+ subtitle: {
12
+ type: import('vue').PropType<string>;
13
+ };
14
+ submitText: {
15
+ type: import('vue').PropType<string>;
16
+ };
17
+ submitDisabled: {
18
+ type: import('vue').PropType<boolean>;
19
+ };
20
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ submit: (...args: any[]) => void;
22
+ close: (...args: any[]) => void;
23
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
+ modelValue: import('vue').PropType<boolean>;
25
+ title: {
26
+ type: import('vue').PropType<string>;
27
+ required: true;
28
+ };
29
+ subtitle: {
30
+ type: import('vue').PropType<string>;
31
+ };
32
+ submitText: {
33
+ type: import('vue').PropType<string>;
34
+ };
35
+ submitDisabled: {
36
+ type: import('vue').PropType<boolean>;
37
+ };
38
+ }>> & Readonly<{
39
+ onSubmit?: ((...args: any[]) => any) | undefined;
40
+ onClose?: ((...args: any[]) => any) | undefined;
41
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
42
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
43
  export default _default;
10
44
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,19 +1,77 @@
1
1
  export declare const ZhDialog: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ modelValue: import('vue').PropType<boolean>;
4
+ title: {
5
+ type: import('vue').PropType<string>;
6
+ required: true;
7
+ };
8
+ subtitle: {
9
+ type: import('vue').PropType<string>;
10
+ };
11
+ submitText: {
12
+ type: import('vue').PropType<string>;
13
+ };
14
+ submitDisabled: {
15
+ type: import('vue').PropType<boolean>;
16
+ };
17
+ }>> & Readonly<{
18
+ onSubmit?: ((...args: any[]) => any) | undefined;
19
+ onClose?: ((...args: any[]) => any) | undefined;
20
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ submit: (...args: any[]) => void;
22
+ close: (...args: any[]) => void;
23
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
3
24
  P: {};
4
25
  B: {};
5
26
  D: {};
6
27
  C: {};
7
28
  M: {};
8
29
  Defaults: {};
9
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
30
+ }, Readonly<import('vue').ExtractPropTypes<{
31
+ modelValue: import('vue').PropType<boolean>;
32
+ title: {
33
+ type: import('vue').PropType<string>;
34
+ required: true;
35
+ };
36
+ subtitle: {
37
+ type: import('vue').PropType<string>;
38
+ };
39
+ submitText: {
40
+ type: import('vue').PropType<string>;
41
+ };
42
+ submitDisabled: {
43
+ type: import('vue').PropType<boolean>;
44
+ };
45
+ }>> & Readonly<{
46
+ onSubmit?: ((...args: any[]) => any) | undefined;
47
+ onClose?: ((...args: any[]) => any) | undefined;
48
+ }>, {}, {}, {}, {}, {}>;
10
49
  __isFragment?: never;
11
50
  __isTeleport?: never;
12
51
  __isSuspense?: never;
13
- } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
52
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
53
+ modelValue: import('vue').PropType<boolean>;
54
+ title: {
55
+ type: import('vue').PropType<string>;
56
+ required: true;
57
+ };
58
+ subtitle: {
59
+ type: import('vue').PropType<string>;
60
+ };
61
+ submitText: {
62
+ type: import('vue').PropType<string>;
63
+ };
64
+ submitDisabled: {
65
+ type: import('vue').PropType<boolean>;
66
+ };
67
+ }>> & Readonly<{
68
+ onSubmit?: ((...args: any[]) => any) | undefined;
69
+ onClose?: ((...args: any[]) => any) | undefined;
70
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
71
+ submit: (...args: any[]) => void;
72
+ close: (...args: any[]) => void;
73
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
14
74
  $slots: {
15
75
  default?(_: {}): any;
16
- operation?(_: {}): any;
17
- footer?(_: {}): any;
18
76
  };
19
77
  }) & import('vue').Plugin;
@@ -1,25 +1,6 @@
1
- import { FormRules } from 'element-plus';
2
- import { ExtractPropTypes } from 'vue';
3
-
4
- interface ElementAttributes {
5
- [key: string]: string | null;
1
+ export interface ZhDialogProps {
2
+ title: string;
3
+ subtitle?: string;
4
+ submitText?: string;
5
+ submitDisabled?: boolean;
6
6
  }
7
- export interface FormItemProps extends ExtractPropTypes {
8
- formItem: ElementAttributes;
9
- attrs: NamedNodeMap & ElementAttributes;
10
- }
11
- interface FormOptions<T> {
12
- model?: T;
13
- form: any;
14
- columns: FormItemProps[];
15
- rules: FormRules<T>[];
16
- }
17
- export interface BaseDialogFormProps {
18
- dialogSubmitText?: string;
19
- dialogCancelText?: string;
20
- dialogTitle?: string;
21
- formOptions?: FormOptions;
22
- headerIcon?: string;
23
- width?: string;
24
- }
25
- export {};