@nhdropshipping/y-components 1.0.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 (43) hide show
  1. package/README.md +102 -0
  2. package/dist/components/QueryEncapsulation.vue.d.ts +76 -0
  3. package/dist/components/QueryEncapsulation.vue.d.ts.map +1 -0
  4. package/dist/components/ybadge.vue.d.ts +83 -0
  5. package/dist/components/ybadge.vue.d.ts.map +1 -0
  6. package/dist/components/ybutton.vue.d.ts +130 -0
  7. package/dist/components/ybutton.vue.d.ts.map +1 -0
  8. package/dist/components/ydialog.vue.d.ts +89 -0
  9. package/dist/components/ydialog.vue.d.ts.map +1 -0
  10. package/dist/components/ydrawer.vue.d.ts +88 -0
  11. package/dist/components/ydrawer.vue.d.ts.map +1 -0
  12. package/dist/components/ydropdown.vue.d.ts +47 -0
  13. package/dist/components/ydropdown.vue.d.ts.map +1 -0
  14. package/dist/components/yimage.vue.d.ts +64 -0
  15. package/dist/components/yimage.vue.d.ts.map +1 -0
  16. package/dist/components/yinput.vue.d.ts +89 -0
  17. package/dist/components/yinput.vue.d.ts.map +1 -0
  18. package/dist/components/ymessage/ymessage.d.ts +20 -0
  19. package/dist/components/ymessage/ymessage.d.ts.map +1 -0
  20. package/dist/components/ymessage/ymessageToast.vue.d.ts +50 -0
  21. package/dist/components/ymessage/ymessageToast.vue.d.ts.map +1 -0
  22. package/dist/components/ypagination.vue.d.ts +57 -0
  23. package/dist/components/ypagination.vue.d.ts.map +1 -0
  24. package/dist/components/ypopover.vue.d.ts +110 -0
  25. package/dist/components/ypopover.vue.d.ts.map +1 -0
  26. package/dist/components/yselect.vue.d.ts +106 -0
  27. package/dist/components/yselect.vue.d.ts.map +1 -0
  28. package/dist/components/yswitch.vue.d.ts +79 -0
  29. package/dist/components/yswitch.vue.d.ts.map +1 -0
  30. package/dist/components/ytable.vue.d.ts +124 -0
  31. package/dist/components/ytable.vue.d.ts.map +1 -0
  32. package/dist/components/ytime.vue.d.ts +103 -0
  33. package/dist/components/ytime.vue.d.ts.map +1 -0
  34. package/dist/components/ytree.vue.d.ts +223 -0
  35. package/dist/components/ytree.vue.d.ts.map +1 -0
  36. package/dist/index.cjs.js +2 -0
  37. package/dist/index.cjs.js.map +1 -0
  38. package/dist/index.d.ts +26 -0
  39. package/dist/index.d.ts.map +1 -0
  40. package/dist/index.esm.js +3646 -0
  41. package/dist/index.esm.js.map +1 -0
  42. package/dist/style.css +1 -0
  43. package/package.json +44 -0
@@ -0,0 +1,64 @@
1
+ interface Props {
2
+ src: string;
3
+ alt?: string;
4
+ width?: string | number;
5
+ height?: string | number;
6
+ lazy?: boolean;
7
+ preview?: boolean;
8
+ fit?: 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
9
+ radius?: string | number;
10
+ className?: string;
11
+ previewSrcList?: string;
12
+ }
13
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ alt: string;
15
+ lazy: boolean;
16
+ preview: boolean;
17
+ fit: string;
18
+ radius: string;
19
+ className: string;
20
+ }>>, {
21
+ retryLoad: () => void;
22
+ closePreview: () => void;
23
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ error: (event: Event) => void;
25
+ load: (event: Event) => void;
26
+ preview: (src: string) => void;
27
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
28
+ alt: string;
29
+ lazy: boolean;
30
+ preview: boolean;
31
+ fit: string;
32
+ radius: string;
33
+ className: string;
34
+ }>>> & Readonly<{
35
+ onError?: ((event: Event) => any) | undefined;
36
+ onLoad?: ((event: Event) => any) | undefined;
37
+ onPreview?: ((src: string) => any) | undefined;
38
+ }>, {
39
+ lazy: boolean;
40
+ alt: string;
41
+ preview: boolean;
42
+ fit: "cover" | "contain" | "fill" | "none" | "scale-down";
43
+ radius: string | number;
44
+ className: string;
45
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
46
+ export default _default;
47
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
+ type __VLS_TypePropsToRuntimeProps<T> = {
49
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
50
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
+ } : {
52
+ type: import('vue').PropType<T[K]>;
53
+ required: true;
54
+ };
55
+ };
56
+ type __VLS_WithDefaults<P, D> = {
57
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
58
+ default: D[K];
59
+ }> : P[K];
60
+ };
61
+ type __VLS_Prettify<T> = {
62
+ [K in keyof T]: T[K];
63
+ } & {};
64
+ //# sourceMappingURL=yimage.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yimage.vue.d.ts","sourceRoot":"","sources":["../../src/components/yimage.vue"],"names":[],"mappings":"AA6FA;AAOA,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,CAAA;IAC1D,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;UANQ,OAAO;SAHR,MAAM;aAIF,OAAO;SACX,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY;YACjD,MAAM,GAAG,MAAM;eACZ,MAAM;;AAsoBpB,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,89 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue?: string;
3
+ type?: "text" | "email" | "password" | "search" | "tel" | "url" | "number";
4
+ placeholder?: string;
5
+ autocomplete?: string;
6
+ inputmode?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
7
+ id?: string;
8
+ name?: string;
9
+ disabled?: boolean;
10
+ required?: boolean;
11
+ block?: boolean;
12
+ size?: "mini" | "small" | "medium" | "large";
13
+ width?: string;
14
+ }>, {
15
+ modelValue: string;
16
+ type: string;
17
+ placeholder: string;
18
+ autocomplete: string;
19
+ inputmode: undefined;
20
+ id: undefined;
21
+ name: undefined;
22
+ disabled: boolean;
23
+ required: boolean;
24
+ block: boolean;
25
+ size: string;
26
+ width: string;
27
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ "update:modelValue": (value: string) => void;
29
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
30
+ modelValue?: string;
31
+ type?: "text" | "email" | "password" | "search" | "tel" | "url" | "number";
32
+ placeholder?: string;
33
+ autocomplete?: string;
34
+ inputmode?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
35
+ id?: string;
36
+ name?: string;
37
+ disabled?: boolean;
38
+ required?: boolean;
39
+ block?: boolean;
40
+ size?: "mini" | "small" | "medium" | "large";
41
+ width?: string;
42
+ }>, {
43
+ modelValue: string;
44
+ type: string;
45
+ placeholder: string;
46
+ autocomplete: string;
47
+ inputmode: undefined;
48
+ id: undefined;
49
+ name: undefined;
50
+ disabled: boolean;
51
+ required: boolean;
52
+ block: boolean;
53
+ size: string;
54
+ width: string;
55
+ }>>> & Readonly<{
56
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
57
+ }>, {
58
+ modelValue: string;
59
+ type: "text" | "email" | "password" | "search" | "tel" | "url" | "number";
60
+ placeholder: string;
61
+ autocomplete: string;
62
+ inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
63
+ id: string;
64
+ name: string;
65
+ disabled: boolean;
66
+ required: boolean;
67
+ block: boolean;
68
+ size: "mini" | "small" | "medium" | "large";
69
+ width: string;
70
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
71
+ export default _default;
72
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
73
+ type __VLS_TypePropsToRuntimeProps<T> = {
74
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
75
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
76
+ } : {
77
+ type: import('vue').PropType<T[K]>;
78
+ required: true;
79
+ };
80
+ };
81
+ type __VLS_WithDefaults<P, D> = {
82
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
83
+ default: D[K];
84
+ }> : P[K];
85
+ };
86
+ type __VLS_Prettify<T> = {
87
+ [K in keyof T]: T[K];
88
+ } & {};
89
+ //# sourceMappingURL=yinput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yinput.vue.d.ts","sourceRoot":"","sources":["../../src/components/yinput.vue"],"names":[],"mappings":"AAkBA;;iBAgJe,MAAM;WACZ,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ;kBAC5D,MAAM;mBACL,MAAM;gBACT,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK;SACnF,MAAM;WACJ,MAAM;eACF,OAAO;eACP,OAAO;YACV,OAAO;WACR,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO;YACpC,MAAM;;;;;;;;;;;;;;;;;iBAXD,MAAM;WACZ,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ;kBAC5D,MAAM;mBACL,MAAM;gBACT,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK;SACnF,MAAM;WACJ,MAAM;eACF,OAAO;eACP,OAAO;YACV,OAAO;WACR,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO;YACpC,MAAM;;;;;;;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C,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,20 @@
1
+ type YMessageType = 'success' | 'warning' | 'error';
2
+ interface MessageOptions {
3
+ type?: YMessageType;
4
+ message: string;
5
+ duration?: number;
6
+ closable?: boolean;
7
+ }
8
+ export declare const YMessage: {
9
+ success(message: string, opts?: Omit<MessageOptions, "type" | "message">): {
10
+ close: () => void;
11
+ };
12
+ warning(message: string, opts?: Omit<MessageOptions, "type" | "message">): {
13
+ close: () => void;
14
+ };
15
+ error(message: string, opts?: Omit<MessageOptions, "type" | "message">): {
16
+ close: () => void;
17
+ };
18
+ };
19
+ export type { YMessageType, MessageOptions };
20
+ //# sourceMappingURL=ymessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ymessage.d.ts","sourceRoot":"","sources":["../../../src/components/ymessage/ymessage.ts"],"names":[],"mappings":"AAQA,KAAK,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;AAEnD,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAwED,eAAO,MAAM,QAAQ;qBACF,MAAM,SAAQ,IAAI,CAAC,cAAc,EAAC,MAAM,GAAC,SAAS,CAAC;;;qBAGnD,MAAM,SAAQ,IAAI,CAAC,cAAc,EAAC,MAAM,GAAC,SAAS,CAAC;;;mBAGrD,MAAM,SAAQ,IAAI,CAAC,cAAc,EAAC,MAAM,GAAC,SAAS,CAAC;;;CAGnE,CAAA;AAED,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,50 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ id: number;
3
+ type?: "success" | "warning" | "error";
4
+ message: string;
5
+ duration?: number;
6
+ offset: number;
7
+ zIndex: number;
8
+ closable?: boolean;
9
+ onClose?: (id: number) => void;
10
+ }>, {
11
+ type: string;
12
+ duration: number;
13
+ closable: boolean;
14
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ id: number;
16
+ type?: "success" | "warning" | "error";
17
+ message: string;
18
+ duration?: number;
19
+ offset: number;
20
+ zIndex: number;
21
+ closable?: boolean;
22
+ onClose?: (id: number) => void;
23
+ }>, {
24
+ type: string;
25
+ duration: number;
26
+ closable: boolean;
27
+ }>>> & Readonly<{}>, {
28
+ type: "success" | "warning" | "error";
29
+ duration: number;
30
+ closable: boolean;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
+ export default _default;
33
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
+ type __VLS_TypePropsToRuntimeProps<T> = {
35
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
36
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
+ } : {
38
+ type: import('vue').PropType<T[K]>;
39
+ required: true;
40
+ };
41
+ };
42
+ type __VLS_WithDefaults<P, D> = {
43
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
+ default: D[K];
45
+ }> : P[K];
46
+ };
47
+ type __VLS_Prettify<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
50
+ //# sourceMappingURL=ymessageToast.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ymessageToast.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ymessage/ymessageToast.vue"],"names":[],"mappings":"AAoBA;;QAyPM,MAAM;WACH,SAAS,GAAG,SAAS,GAAG,OAAO;aAC7B,MAAM;eACJ,MAAM;YACT,MAAM;YACN,MAAM;eACH,OAAO;cACR,CAA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4
+ loading?: boolean;
5
+ pageSizeOptions?: Array<{
6
+ label: string;
7
+ value: number;
8
+ }>;
9
+ }
10
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PaginationProps>, {
11
+ loading: boolean;
12
+ pageSizeOptions: () => {
13
+ label: string;
14
+ value: number;
15
+ }[];
16
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ "update:currentPage": (page: number) => void;
18
+ "update:pageSize": (size: number) => void;
19
+ "page-change": (page: number) => void;
20
+ "page-size-change": (size: number) => void;
21
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PaginationProps>, {
22
+ loading: boolean;
23
+ pageSizeOptions: () => {
24
+ label: string;
25
+ value: number;
26
+ }[];
27
+ }>>> & Readonly<{
28
+ "onUpdate:currentPage"?: ((page: number) => any) | undefined;
29
+ "onUpdate:pageSize"?: ((size: number) => any) | undefined;
30
+ "onPage-change"?: ((page: number) => any) | undefined;
31
+ "onPage-size-change"?: ((size: number) => any) | undefined;
32
+ }>, {
33
+ loading: boolean;
34
+ pageSizeOptions: Array<{
35
+ label: string;
36
+ value: number;
37
+ }>;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
39
+ export default _default;
40
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
+ type __VLS_TypePropsToRuntimeProps<T> = {
42
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
43
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
+ } : {
45
+ type: import('vue').PropType<T[K]>;
46
+ required: true;
47
+ };
48
+ };
49
+ type __VLS_WithDefaults<P, D> = {
50
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
+ default: D[K];
52
+ }> : P[K];
53
+ };
54
+ type __VLS_Prettify<T> = {
55
+ [K in keyof T]: T[K];
56
+ } & {};
57
+ //# sourceMappingURL=ypagination.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ypagination.vue.d.ts","sourceRoot":"","sources":["../../src/components/ypagination.vue"],"names":[],"mappings":"AAsCA;AAOA,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3D;;;;;;;;;;;;;;;;;;;;;;;;aAFW,OAAO;qBACC,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;;AAuP3D,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,110 @@
1
+ interface Props {
2
+ trigger?: 'click' | 'hover' | 'focus' | 'manual';
3
+ placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
4
+ showArrow?: boolean;
5
+ showPadding?: boolean;
6
+ dark?: boolean;
7
+ disabled?: boolean;
8
+ openDelay?: number;
9
+ closeDelay?: number;
10
+ closeOnClickOutside?: boolean;
11
+ closeOnClickContent?: boolean;
12
+ width?: string | number;
13
+ maxWidth?: string | number;
14
+ offset?: number;
15
+ modelValue?: boolean;
16
+ }
17
+ declare function show(): void;
18
+ declare function hide(): void;
19
+ declare function updatePosition(): void;
20
+ declare function __VLS_template(): {
21
+ reference?(_: {}): any;
22
+ default?(_: {}): any;
23
+ };
24
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
25
+ trigger: string;
26
+ placement: string;
27
+ showArrow: boolean;
28
+ showPadding: boolean;
29
+ dark: boolean;
30
+ disabled: boolean;
31
+ openDelay: number;
32
+ closeDelay: number;
33
+ closeOnClickOutside: boolean;
34
+ closeOnClickContent: boolean;
35
+ width: string;
36
+ maxWidth: string;
37
+ offset: number;
38
+ modelValue: boolean;
39
+ }>>, {
40
+ show: typeof show;
41
+ hide: typeof hide;
42
+ updatePosition: typeof updatePosition;
43
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
+ "update:modelValue": (value: boolean) => void;
45
+ show: () => void;
46
+ hide: () => void;
47
+ "before-show": () => void;
48
+ "before-hide": () => void;
49
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
50
+ trigger: string;
51
+ placement: string;
52
+ showArrow: boolean;
53
+ showPadding: boolean;
54
+ dark: boolean;
55
+ disabled: boolean;
56
+ openDelay: number;
57
+ closeDelay: number;
58
+ closeOnClickOutside: boolean;
59
+ closeOnClickContent: boolean;
60
+ width: string;
61
+ maxWidth: string;
62
+ offset: number;
63
+ modelValue: boolean;
64
+ }>>> & Readonly<{
65
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
66
+ onShow?: (() => any) | undefined;
67
+ onHide?: (() => any) | undefined;
68
+ "onBefore-show"?: (() => any) | undefined;
69
+ "onBefore-hide"?: (() => any) | undefined;
70
+ }>, {
71
+ modelValue: boolean;
72
+ disabled: boolean;
73
+ width: string | number;
74
+ trigger: "click" | "hover" | "focus" | "manual";
75
+ placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
76
+ showArrow: boolean;
77
+ showPadding: boolean;
78
+ dark: boolean;
79
+ openDelay: number;
80
+ closeDelay: number;
81
+ closeOnClickOutside: boolean;
82
+ closeOnClickContent: boolean;
83
+ maxWidth: string | number;
84
+ offset: number;
85
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
86
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
87
+ export default _default;
88
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
89
+ type __VLS_TypePropsToRuntimeProps<T> = {
90
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
91
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
92
+ } : {
93
+ type: import('vue').PropType<T[K]>;
94
+ required: true;
95
+ };
96
+ };
97
+ type __VLS_WithDefaults<P, D> = {
98
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
99
+ default: D[K];
100
+ }> : P[K];
101
+ };
102
+ type __VLS_Prettify<T> = {
103
+ [K in keyof T]: T[K];
104
+ } & {};
105
+ type __VLS_WithTemplateSlots<T, S> = T & {
106
+ new (): {
107
+ $slots: S;
108
+ };
109
+ };
110
+ //# sourceMappingURL=ypopover.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ypopover.vue.d.ts","sourceRoot":"","sources":["../../src/components/ypopover.vue"],"names":[],"mappings":"AA8CA;AAMA,UAAU,KAAK;IAEb,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAA;IAEhD,SAAS,CAAC,EAAE,KAAK,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,cAAc,GAAG,YAAY,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,aAAa,GAAG,WAAW,CAAA;IAEnK,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEvB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAE1B,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAoKD,iBAAS,IAAI,SAYZ;AAiBD,iBAAS,IAAI,SAYZ;AAgFD,iBAAS,cAAc,SAqBtB;AAuHD,iBAAS,cAAc;uBAwLS,GA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AAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,106 @@
1
+ export interface SelectOption {
2
+ label: string;
3
+ value: any;
4
+ disabled?: boolean;
5
+ [key: string]: any;
6
+ }
7
+ export interface SelectProps {
8
+ modelValue?: any;
9
+ options: SelectOption[] | any[];
10
+ placeholder?: string;
11
+ disabled?: boolean;
12
+ error?: boolean;
13
+ clearable?: boolean;
14
+ clearTo?: any;
15
+ filterable?: boolean;
16
+ valueKey?: string;
17
+ labelKey?: string;
18
+ disabledKey?: string;
19
+ size?: 'small' | 'medium' | 'large';
20
+ width?: string;
21
+ }
22
+ declare function __VLS_template(): {
23
+ value?(_: {
24
+ value: any;
25
+ label: string;
26
+ }): any;
27
+ option?(_: {
28
+ option: any;
29
+ index: number;
30
+ selected: boolean;
31
+ }): any;
32
+ };
33
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectProps>, {
34
+ placeholder: string;
35
+ disabled: boolean;
36
+ error: boolean;
37
+ clearable: boolean;
38
+ clearTo: undefined;
39
+ filterable: boolean;
40
+ valueKey: string;
41
+ labelKey: string;
42
+ disabledKey: string;
43
+ size: string;
44
+ width: string;
45
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
+ blur: (event: FocusEvent) => void;
47
+ change: (value: any, option: SelectOption | null) => void;
48
+ focus: (event: FocusEvent) => void;
49
+ "update:modelValue": (value: any) => void;
50
+ clear: () => void;
51
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SelectProps>, {
52
+ placeholder: string;
53
+ disabled: boolean;
54
+ error: boolean;
55
+ clearable: boolean;
56
+ clearTo: undefined;
57
+ filterable: boolean;
58
+ valueKey: string;
59
+ labelKey: string;
60
+ disabledKey: string;
61
+ size: string;
62
+ width: string;
63
+ }>>> & Readonly<{
64
+ onBlur?: ((event: FocusEvent) => any) | undefined;
65
+ onChange?: ((value: any, option: SelectOption | null) => any) | undefined;
66
+ onFocus?: ((event: FocusEvent) => any) | undefined;
67
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
68
+ onClear?: (() => any) | undefined;
69
+ }>, {
70
+ error: boolean;
71
+ placeholder: string;
72
+ disabled: boolean;
73
+ size: "small" | "medium" | "large";
74
+ width: string;
75
+ clearable: boolean;
76
+ clearTo: any;
77
+ filterable: boolean;
78
+ valueKey: string;
79
+ labelKey: string;
80
+ disabledKey: string;
81
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
82
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
83
+ export default _default;
84
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
85
+ type __VLS_TypePropsToRuntimeProps<T> = {
86
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
87
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
88
+ } : {
89
+ type: import('vue').PropType<T[K]>;
90
+ required: true;
91
+ };
92
+ };
93
+ type __VLS_WithDefaults<P, D> = {
94
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
95
+ default: D[K];
96
+ }> : P[K];
97
+ };
98
+ type __VLS_Prettify<T> = {
99
+ [K in keyof T]: T[K];
100
+ } & {};
101
+ type __VLS_WithTemplateSlots<T, S> = T & {
102
+ new (): {
103
+ $slots: S;
104
+ };
105
+ };
106
+ //# sourceMappingURL=yselect.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yselect.vue.d.ts","sourceRoot":"","sources":["../../src/components/yselect.vue"],"names":[],"mappings":"AA6GA;AAIA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,GAAG,CAAA;IACV,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,GAAG,CAAA;IAChB,OAAO,EAAE,YAAY,EAAE,GAAG,GAAG,EAAE,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAiSD,iBAAS,cAAc;;;;QA+ZK,GAAG;;;;;QACD,GAAG;EAGhC;AAiCD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA9uBX,OAAO;iBAFD,MAAM;cACT,OAAO;UAQX,OAAO,GAAG,QAAQ,GAAG,OAAO;WAC3B,MAAM;eAPF,OAAO;aACT,GAAG;gBACA,OAAO;cACT,MAAM;cACN,MAAM;iBACH,MAAM;4EA+uBpB,CAAC;wBACkB,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ean;
7
+ size?: 'small' | 'medium' | 'large';
8
+ activeColor?: string;
9
+ inactiveColor?: string;
10
+ activeText?: string;
11
+ inactiveText?: string;
12
+ showText?: boolean;
13
+ }
14
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SwitchProps<boolean>>, {
15
+ modelValue: boolean;
16
+ trueValue: boolean;
17
+ falseValue: boolean;
18
+ disabled: boolean;
19
+ loading: boolean;
20
+ size: string;
21
+ activeColor: string;
22
+ inactiveColor: string;
23
+ activeText: string;
24
+ inactiveText: string;
25
+ showText: boolean;
26
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ blur: (event: FocusEvent) => void;
28
+ change: (value: any) => void;
29
+ focus: (event: FocusEvent) => void;
30
+ "update:modelValue": (value: any) => void;
31
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SwitchProps<boolean>>, {
32
+ modelValue: boolean;
33
+ trueValue: boolean;
34
+ falseValue: boolean;
35
+ disabled: boolean;
36
+ loading: boolean;
37
+ size: string;
38
+ activeColor: string;
39
+ inactiveColor: string;
40
+ activeText: string;
41
+ inactiveText: string;
42
+ showText: boolean;
43
+ }>>> & Readonly<{
44
+ onBlur?: ((event: FocusEvent) => any) | undefined;
45
+ onChange?: ((value: any) => any) | undefined;
46
+ onFocus?: ((event: FocusEvent) => any) | undefined;
47
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
48
+ }>, {
49
+ modelValue: boolean;
50
+ disabled: boolean;
51
+ size: "small" | "medium" | "large";
52
+ loading: boolean;
53
+ trueValue: boolean;
54
+ falseValue: boolean;
55
+ activeColor: string;
56
+ inactiveColor: string;
57
+ activeText: string;
58
+ inactiveText: string;
59
+ showText: boolean;
60
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
61
+ export default _default;
62
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
63
+ type __VLS_TypePropsToRuntimeProps<T> = {
64
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
65
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
66
+ } : {
67
+ type: import('vue').PropType<T[K]>;
68
+ required: true;
69
+ };
70
+ };
71
+ type __VLS_WithDefaults<P, D> = {
72
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
73
+ default: D[K];
74
+ }> : P[K];
75
+ };
76
+ type __VLS_Prettify<T> = {
77
+ [K in keyof T]: T[K];
78
+ } & {};
79
+ //# sourceMappingURL=yswitch.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yswitch.vue.d.ts","sourceRoot":"","sources":["../../src/components/yswitch.vue"],"names":[],"mappings":"AA2BA;AAIA,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,OAAO;IACtC,UAAU,CAAC,EAAE,CAAC,CAAA;IACd,SAAS,CAAC,EAAE,CAAC,CAAA;IACb,UAAU,CAAC,EAAE,CAAC,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cARY,OAAO;UAEX,OAAO,GAAG,QAAQ,GAAG,OAAO;aADzB,OAAO;;;iBAEH,MAAM;mBACJ,MAAM;gBACT,MAAM;kBACJ,MAAM;cACV,OAAO;;AA4MpB,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,C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