ninemoon-ui 0.0.26 → 0.1.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 (141) hide show
  1. package/dist/assets/dialog-a1b585e9.css +9 -0
  2. package/dist/assets/index-6d2c28a9.css +1210 -0
  3. package/dist/{tabs.css → assets/tabs-d2c8965f.css} +13 -13
  4. package/dist/components/alert/alert.d.ts +3 -11
  5. package/dist/components/alert/alertcomponent.vue.d.ts +22 -11
  6. package/dist/components/badge/badge.vue.d.ts +40 -31
  7. package/dist/components/carousel/carousel.vue.d.ts +47 -8
  8. package/dist/components/carousel/carouselitem.vue.d.ts +4 -2
  9. package/dist/components/carousel/clickbutton.vue.d.ts +29 -0
  10. package/dist/components/check/checkbox.vue.d.ts +39 -22
  11. package/dist/components/check/checkgroup.vue.d.ts +45 -21
  12. package/dist/components/date/datepicker.vue.d.ts +48 -18
  13. package/dist/components/date/datepickerRange.vue.d.ts +35 -12
  14. package/dist/components/dialog/dialog.vue.d.ts +56 -67
  15. package/dist/components/form/form.vue.d.ts +38 -44
  16. package/dist/components/form/formlabel.vue.d.ts +40 -35
  17. package/dist/components/form/type.d.ts +11 -0
  18. package/dist/components/icon/add.vue.d.ts +2 -0
  19. package/dist/components/icon/alertTip.vue.d.ts +2 -0
  20. package/dist/components/icon/arrow.vue.d.ts +2 -0
  21. package/dist/components/icon/calendar.vue.d.ts +2 -0
  22. package/dist/components/icon/close.vue.d.ts +2 -0
  23. package/dist/components/icon/dateArrow.vue.d.ts +2 -0
  24. package/dist/components/icon/dateArrowplus.vue.d.ts +2 -0
  25. package/dist/components/icon/delete.vue.d.ts +2 -0
  26. package/dist/components/icon/ellipsis.vue.d.ts +2 -0
  27. package/dist/components/icon/errTip.vue.d.ts +2 -0
  28. package/dist/components/icon/eye.vue.d.ts +2 -0
  29. package/dist/components/icon/infoTip.vue.d.ts +2 -0
  30. package/dist/components/icon/minus.vue.d.ts +2 -0
  31. package/dist/components/icon/successTip.vue.d.ts +2 -0
  32. package/dist/components/icon/turnleft.vue.d.ts +2 -0
  33. package/dist/components/icon/turnright.vue.d.ts +2 -0
  34. package/dist/components/icon/warnTip.vue.d.ts +2 -0
  35. package/dist/components/image/image.vue.d.ts +39 -29
  36. package/dist/components/input/input.vue.d.ts +59 -50
  37. package/dist/components/loadding/loadcomponent.vue.d.ts +24 -4
  38. package/dist/components/loadding/loadding.d.ts +13 -19
  39. package/dist/components/menu/menu.vue.d.ts +35 -12
  40. package/dist/components/message/message.d.ts +69 -14
  41. package/dist/components/message/messagecomponent.vue.d.ts +8 -15
  42. package/dist/components/numberInput/numberinput.vue.d.ts +51 -59
  43. package/dist/components/pagination/pagination.vue.d.ts +59 -27
  44. package/dist/components/popover/poparrow.d.ts +55 -0
  45. package/dist/components/popover/popover.vue.d.ts +63 -66
  46. package/dist/components/radio/radiobox.vue.d.ts +39 -22
  47. package/dist/components/radio/radiogroup.vue.d.ts +45 -21
  48. package/dist/components/scrollBar/movebar.vue.d.ts +33 -36
  49. package/dist/components/scrollBar/scrollBar.vue.d.ts +41 -40
  50. package/dist/components/scrollloading/scrolllead.d.ts +18 -11
  51. package/dist/components/select/select.vue.d.ts +55 -37
  52. package/dist/components/select/selectoption.vue.d.ts +39 -18
  53. package/dist/components/switch/switch.vue.d.ts +45 -45
  54. package/dist/components/table/table.vue.d.ts +61 -54
  55. package/dist/components/table/tableItem.vue.d.ts +49 -56
  56. package/dist/components/tabs/tabs.vue.d.ts +45 -19
  57. package/dist/components/tabs/tabsPane.vue.d.ts +25 -12
  58. package/dist/components/upload/upload.vue.d.ts +53 -53
  59. package/dist/directives/arrowKeys.d.ts +10 -0
  60. package/dist/directives/drag.d.ts +20 -0
  61. package/dist/directives/escape.d.ts +7 -0
  62. package/dist/directives/outsideclick.d.ts +14 -0
  63. package/dist/directives/watchwindow.d.ts +13 -0
  64. package/dist/directives/wheel.d.ts +12 -0
  65. package/dist/directives/whitespaceclick.d.ts +12 -0
  66. package/dist/index.d.ts +1524 -2210
  67. package/dist/js/arrow-ebe47bd0.js +17 -0
  68. package/dist/js/{badge/badge.js → badge-496028b6.js} +9 -16
  69. package/dist/js/calendar-5c242731.js +87 -0
  70. package/dist/js/carousel-10621aeb.js +155 -0
  71. package/dist/js/{carousel/carouselitem.js → carouselitem-89116745.js} +1 -7
  72. package/dist/js/checkbox-530025c4.js +50 -0
  73. package/dist/js/checkgroup-e4e6adbc.js +58 -0
  74. package/dist/js/dateArrowplus-8181993f.js +25 -0
  75. package/dist/js/datepicker-ef8b7019.js +362 -0
  76. package/dist/js/datepickerRange-4c400f88.js +500 -0
  77. package/dist/js/delete-e898f83c.js +19 -0
  78. package/dist/js/dialog-0127ca01.js +122 -0
  79. package/dist/js/form-6ae96387.js +79 -0
  80. package/dist/js/formlabel-9339bd1c.js +136 -0
  81. package/dist/js/image-76711716.js +300 -0
  82. package/dist/js/index-283810a0.js +6261 -0
  83. package/dist/js/index-b4e420ce.js +958 -0
  84. package/dist/js/index-e12c8d65.js +36 -0
  85. package/dist/js/input-11fe67a5.js +107 -0
  86. package/dist/js/menu-fb9b4a4f.js +86 -0
  87. package/dist/js/numberinput-00fa4429.js +119 -0
  88. package/dist/js/pagination-3bcaa109.js +203 -0
  89. package/dist/js/popover-45f75f86.js +345 -0
  90. package/dist/js/radiobox-8f11e726.js +49 -0
  91. package/dist/js/radiogroup-727923c7.js +33 -0
  92. package/dist/js/scrollBar-07906042.js +252 -0
  93. package/dist/js/select-b5bbb138.js +203 -0
  94. package/dist/js/selectoption-00c8f06d.js +57 -0
  95. package/dist/js/shapeFlag-8cf4bcf1.js +17 -0
  96. package/dist/js/switch-06ae74cc.js +50 -0
  97. package/dist/js/table-9bb52630.js +270 -0
  98. package/dist/js/{table/tableItem.js → tableItem-7d8bf2db.js} +1 -1
  99. package/dist/js/{tabs/tabs.js → tabs-9d7be734.js} +59 -60
  100. package/dist/js/{upload/upload.js → upload-16dbef22.js} +10 -26
  101. package/dist/types/shapeFlag.d.ts +13 -0
  102. package/dist/{components/utils → utils}/tool.d.ts +12 -5
  103. package/package.json +1 -1
  104. package/dist/badge.css +0 -27
  105. package/dist/carousel.css +0 -13
  106. package/dist/checkgroup.css +0 -41
  107. package/dist/components/tree/tree.vue.d.ts +0 -47
  108. package/dist/datepickerRange.css +0 -79
  109. package/dist/image.css +0 -8
  110. package/dist/index.css +0 -917
  111. package/dist/index.es.js +0 -37
  112. package/dist/index.umd.js +0 -6080
  113. package/dist/js/carousel/carousel.js +0 -175
  114. package/dist/js/check/checkbox.js +0 -16
  115. package/dist/js/check/checkgroup.js +0 -68
  116. package/dist/js/date/datepicker.js +0 -373
  117. package/dist/js/date/datepickerRange.js +0 -597
  118. package/dist/js/dialog/dialog.js +0 -140
  119. package/dist/js/form/form.js +0 -87
  120. package/dist/js/form/formlabel.js +0 -167
  121. package/dist/js/getcalendar/getcalendar.js +0 -48
  122. package/dist/js/image/image.js +0 -259
  123. package/dist/js/index/index.js +0 -873
  124. package/dist/js/input/input.js +0 -91
  125. package/dist/js/menu/menu.js +0 -58
  126. package/dist/js/numberInput/numberinput.js +0 -130
  127. package/dist/js/pagination/pagination.js +0 -245
  128. package/dist/js/popover/popover.js +0 -241
  129. package/dist/js/radio/radiobox.js +0 -16
  130. package/dist/js/radio/radiogroup.js +0 -68
  131. package/dist/js/scrollBar/scrollBar.js +0 -208
  132. package/dist/js/select/select.js +0 -117
  133. package/dist/js/select/selectoption.js +0 -16
  134. package/dist/js/switch/switch.js +0 -49
  135. package/dist/js/table/table.js +0 -215
  136. package/dist/js/tree/tree.js +0 -72
  137. package/dist/js/tree/treeleaf.js +0 -118
  138. package/dist/radiogroup.css +0 -44
  139. package/dist/scrollBar.css +0 -37
  140. package/dist/select.css +0 -20
  141. /package/dist/js/{tabs/tabsPane.js → tabsPane-f024a6bf.js} +0 -0
@@ -1,61 +1,68 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- data: {
3
- type: import("vue").PropType<{
4
- [key: string]: any;
5
- }[]>;
6
- required: true;
7
- };
8
- whiteword: {
9
- type: import("vue").PropType<string>;
10
- default: string;
11
- };
12
- showHead: {
13
- type: import("vue").PropType<boolean>;
14
- default: boolean;
15
- };
16
- headclass: {
17
- type: import("vue").PropType<string>;
18
- };
19
- cellclass: {
20
- type: import("vue").PropType<string>;
21
- };
22
- tableclass: {
23
- type: import("vue").PropType<string>;
24
- };
25
- }, {
1
+ import { MyVNode } from '../../types/types';
2
+
3
+ declare function __VLS_template(): Readonly<{
4
+ default: () => MyVNode[];
5
+ }> & {
6
+ default: () => MyVNode[];
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ data: Array<any>;
10
+ whiteword?: string;
11
+ showHead?: boolean;
12
+ headclass?: string;
13
+ cellclass?: string;
14
+ tableclass?: string;
15
+ idKey?: string;
16
+ }>, {
17
+ whiteword: string;
18
+ showHead: boolean;
19
+ }>>, {
26
20
  clearSelection: () => void;
27
21
  allSelection: () => void;
28
- toggleAllSelection: () => void;
29
- toggleSelection: (arr: number[]) => void;
30
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("rowClick" | "selectionChange")[], "rowClick" | "selectionChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
- data: {
32
- type: import("vue").PropType<{
33
- [key: string]: any;
34
- }[]>;
35
- required: true;
36
- };
37
- whiteword: {
38
- type: import("vue").PropType<string>;
39
- default: string;
40
- };
41
- showHead: {
42
- type: import("vue").PropType<boolean>;
43
- default: boolean;
44
- };
45
- headclass: {
46
- type: import("vue").PropType<string>;
47
- };
48
- cellclass: {
49
- type: import("vue").PropType<string>;
50
- };
51
- tableclass: {
52
- type: import("vue").PropType<string>;
53
- };
54
- }>> & {
22
+ toggleSelection: () => void;
23
+ setSelection: (arr: Array<string>) => void;
24
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ rowClick: (...args: any[]) => void;
26
+ selectionChange: (...args: any[]) => void;
27
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
28
+ data: Array<any>;
29
+ whiteword?: string;
30
+ showHead?: boolean;
31
+ headclass?: string;
32
+ cellclass?: string;
33
+ tableclass?: string;
34
+ idKey?: string;
35
+ }>, {
36
+ whiteword: string;
37
+ showHead: boolean;
38
+ }>>> & Readonly<{
55
39
  onRowClick?: ((...args: any[]) => any) | undefined;
56
40
  onSelectionChange?: ((...args: any[]) => any) | undefined;
57
- }, {
41
+ }>, {
58
42
  whiteword: string;
59
43
  showHead: boolean;
60
- }, {}>;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
45
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
61
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
+ type __VLS_WithTemplateSlots<T, S> = T & {
65
+ new (): {
66
+ $slots: S;
67
+ };
68
+ };
@@ -1,64 +1,57 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- type: {
3
- type: import("vue").PropType<"index" | "selection" | "expand">;
4
- };
5
- index: {
6
- type: import("vue").PropType<number>;
7
- };
8
- label: {
9
- type: import("vue").PropType<string | number>;
10
- };
11
- fixed: {
12
- type: import("vue").PropType<"right" | "left">;
13
- };
14
- width: {
15
- type: import("vue").PropType<string | number>;
16
- };
17
- prop: {
18
- type: import("vue").PropType<string>;
19
- };
20
- sortable: {
21
- type: import("vue").PropType<boolean>;
22
- };
23
- row: {
24
- type: import("vue").PropType<{
25
- [key: string]: any;
26
- }>;
27
- };
28
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
- type: {
30
- type: import("vue").PropType<"index" | "selection" | "expand">;
31
- };
32
- index: {
33
- type: import("vue").PropType<number>;
34
- };
35
- label: {
36
- type: import("vue").PropType<string | number>;
37
- };
38
- fixed: {
39
- type: import("vue").PropType<"right" | "left">;
40
- };
41
- width: {
42
- type: import("vue").PropType<string | number>;
43
- };
44
- prop: {
45
- type: import("vue").PropType<string>;
46
- };
47
- sortable: {
48
- type: import("vue").PropType<boolean>;
49
- };
50
- row: {
51
- type: import("vue").PropType<{
52
- [key: string]: any;
53
- }>;
54
- };
55
- }>>, {}, {}>, {
1
+ declare function __VLS_template(): {
56
2
  default?(_: {
57
3
  row: any;
58
4
  index: number;
59
5
  }): any;
60
- }>;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ prop?: string;
9
+ width?: string | number;
10
+ label?: string | number;
11
+ fixed?: "left" | "right";
12
+ type?: "selection" | "index" | "append" | "prepend" | "default";
13
+ sortable?: boolean;
14
+ row?: {
15
+ [key: string]: any;
16
+ };
17
+ index?: number;
18
+ }>, {
19
+ type: string;
20
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
21
+ prop?: string;
22
+ width?: string | number;
23
+ label?: string | number;
24
+ fixed?: "left" | "right";
25
+ type?: "selection" | "index" | "append" | "prepend" | "default";
26
+ sortable?: boolean;
27
+ row?: {
28
+ [key: string]: any;
29
+ };
30
+ index?: number;
31
+ }>, {
32
+ type: string;
33
+ }>>> & Readonly<{}>, {
34
+ type: "selection" | "index" | "append" | "prepend" | "default";
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
61
37
  export default _default;
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToRuntimeProps<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
47
+ type __VLS_WithDefaults<P, D> = {
48
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
49
+ default: D[K];
50
+ }> : P[K];
51
+ };
52
+ type __VLS_Prettify<T> = {
53
+ [K in keyof T]: T[K];
54
+ } & {};
62
55
  type __VLS_WithTemplateSlots<T, S> = T & {
63
56
  new (): {
64
57
  $slots: S;
@@ -1,22 +1,48 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- type: {
3
- type: import("vue").PropType<"line" | "card">;
4
- default: string;
5
- };
6
- active: {
7
- type: import("vue").PropType<string>;
8
- };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:active"[], "update:active", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
- type: {
11
- type: import("vue").PropType<"line" | "card">;
12
- default: string;
13
- };
14
- active: {
15
- type: import("vue").PropType<string>;
16
- };
17
- }>> & {
1
+ import { MyVNode } from '../../types/types';
2
+
3
+ declare function __VLS_template(): Readonly<{
4
+ default: () => MyVNode[];
5
+ }> & {
6
+ default: () => MyVNode[];
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ active?: string;
10
+ type?: "line" | "card";
11
+ }>, {
12
+ type: string;
13
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:active": (...args: any[]) => void;
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ active?: string;
17
+ type?: "line" | "card";
18
+ }>, {
19
+ type: string;
20
+ }>>> & Readonly<{
18
21
  "onUpdate:active"?: ((...args: any[]) => any) | undefined;
19
- }, {
22
+ }>, {
20
23
  type: "line" | "card";
21
- }, {}>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
26
  export default _default;
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ type __VLS_WithDefaults<P, D> = {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
+ default: D[K];
39
+ }> : P[K];
40
+ };
41
+ type __VLS_Prettify<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
44
+ type __VLS_WithTemplateSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -1,17 +1,30 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- name: {
3
- type: import("vue").PropType<string>;
4
- required: true;
5
- };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- name: {
8
- type: import("vue").PropType<string>;
9
- required: true;
10
- };
11
- }>>, {}, {}>, {
1
+ declare function __VLS_template(): {
12
2
  default?(_: {}): any;
13
- }>;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ name: string;
6
+ }>, {}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ name: string;
8
+ }>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
14
10
  export default _default;
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToRuntimeProps<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
20
+ type __VLS_WithDefaults<P, D> = {
21
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
22
+ default: D[K];
23
+ }> : P[K];
24
+ };
25
+ type __VLS_Prettify<T> = {
26
+ [K in keyof T]: T[K];
27
+ } & {};
15
28
  type __VLS_WithTemplateSlots<T, S> = T & {
16
29
  new (): {
17
30
  $slots: S;
@@ -1,63 +1,63 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- type: {
3
- type: import("vue").PropType<string>;
4
- default: string;
5
- };
6
- accept: {
7
- type: import("vue").PropType<string>;
8
- default: string;
9
- };
10
- multiple: {
11
- type: import("vue").PropType<boolean>;
12
- default: boolean;
13
- };
14
- limit: {
15
- type: import("vue").PropType<number>;
16
- };
17
- fileList: {
18
- type: import("vue").PropType<string[]>;
19
- };
20
- showFileList: {
21
- type: import("vue").PropType<boolean>;
22
- default: boolean;
23
- };
24
- }, {
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ type?: string;
6
+ limit?: number;
7
+ accept?: string;
8
+ fileList?: Array<string>;
9
+ showFileList?: boolean;
10
+ multiple?: boolean;
11
+ }>, {
12
+ type: string;
13
+ accept: string;
14
+ showFileList: boolean;
15
+ multiple: boolean;
16
+ }>>, {
25
17
  clearFiles: () => void;
26
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("getNewFile" | "delOldFile")[], "getNewFile" | "delOldFile", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
- type: {
28
- type: import("vue").PropType<string>;
29
- default: string;
30
- };
31
- accept: {
32
- type: import("vue").PropType<string>;
33
- default: string;
34
- };
35
- multiple: {
36
- type: import("vue").PropType<boolean>;
37
- default: boolean;
38
- };
39
- limit: {
40
- type: import("vue").PropType<number>;
41
- };
42
- fileList: {
43
- type: import("vue").PropType<string[]>;
44
- };
45
- showFileList: {
46
- type: import("vue").PropType<boolean>;
47
- default: boolean;
48
- };
49
- }>> & {
18
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ getNewFile: (...args: any[]) => void;
20
+ delOldFile: (...args: any[]) => void;
21
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
22
+ type?: string;
23
+ limit?: number;
24
+ accept?: string;
25
+ fileList?: Array<string>;
26
+ showFileList?: boolean;
27
+ multiple?: boolean;
28
+ }>, {
29
+ type: string;
30
+ accept: string;
31
+ showFileList: boolean;
32
+ multiple: boolean;
33
+ }>>> & Readonly<{
50
34
  onGetNewFile?: ((...args: any[]) => any) | undefined;
51
35
  onDelOldFile?: ((...args: any[]) => any) | undefined;
52
- }, {
36
+ }>, {
53
37
  type: string;
54
38
  accept: string;
55
- multiple: boolean;
56
39
  showFileList: boolean;
57
- }, {}>, {
58
- default?(_: {}): any;
59
- }>;
40
+ multiple: boolean;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
42
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
60
43
  export default _default;
44
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ type __VLS_TypePropsToRuntimeProps<T> = {
46
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
+ } : {
49
+ type: import('vue').PropType<T[K]>;
50
+ required: true;
51
+ };
52
+ };
53
+ type __VLS_WithDefaults<P, D> = {
54
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
55
+ default: D[K];
56
+ }> : P[K];
57
+ };
58
+ type __VLS_Prettify<T> = {
59
+ [K in keyof T]: T[K];
60
+ } & {};
61
61
  type __VLS_WithTemplateSlots<T, S> = T & {
62
62
  new (): {
63
63
  $slots: S;
@@ -0,0 +1,10 @@
1
+ import { Directive } from 'vue';
2
+
3
+ type DirectionHandlers = {
4
+ up?: (e: KeyboardEvent) => void;
5
+ down?: (e: KeyboardEvent) => void;
6
+ left?: (e: KeyboardEvent) => void;
7
+ right?: (e: KeyboardEvent) => void;
8
+ };
9
+ export declare const createArrowKeysDirective: (options: Partial<DirectionHandlers>) => Directive;
10
+ export {};
@@ -0,0 +1,20 @@
1
+ import { ObjectDirective } from 'vue';
2
+
3
+ type DraggableOptions = {
4
+ throttleWait?: number;
5
+ resetOnEnd?: boolean;
6
+ onDragStart?: (position: {
7
+ x: number;
8
+ y: number;
9
+ }) => void;
10
+ onDrag: (position: {
11
+ x: number;
12
+ y: number;
13
+ }) => void;
14
+ onDragEnd?: (position: {
15
+ x: number;
16
+ y: number;
17
+ }) => void;
18
+ };
19
+ export declare const createDraggableDirective: (options?: Partial<DraggableOptions>) => ObjectDirective;
20
+ export {};
@@ -0,0 +1,7 @@
1
+ import { ObjectDirective } from 'vue';
2
+
3
+ interface EscapeDirectiveOptions {
4
+ onEscape: (event: KeyboardEvent) => void;
5
+ }
6
+ export declare const createEscapeDirective: (options: Partial<EscapeDirectiveOptions>) => ObjectDirective<HTMLElement, any>;
7
+ export {};
@@ -0,0 +1,14 @@
1
+ import { ObjectDirective } from 'vue';
2
+
3
+ export type wheelDom = {
4
+ _checkout_handlers_?: {
5
+ click: (e: MouseEvent) => void;
6
+ };
7
+ } & HTMLElement;
8
+ interface CheckOutDirectiveOptions {
9
+ onCheckOut: (e: MouseEvent, el: wheelDom) => void;
10
+ moveModel?: boolean;
11
+ debounceWait?: number;
12
+ }
13
+ export declare const createBgClickDirective: (options: Partial<CheckOutDirectiveOptions>) => ObjectDirective<wheelDom, any>;
14
+ export {};
@@ -0,0 +1,13 @@
1
+ import { ObjectDirective } from 'vue';
2
+
3
+ export type wheelDom = {
4
+ _watchwindow_handlers_?: {
5
+ move: (e: Event) => void;
6
+ };
7
+ } & HTMLElement;
8
+ interface CheckMoveDirectiveOptions {
9
+ onMove: () => void;
10
+ debounceWait?: number;
11
+ }
12
+ export declare const createScrollDirective: (options: Partial<CheckMoveDirectiveOptions>) => ObjectDirective<wheelDom, any>;
13
+ export {};
@@ -0,0 +1,12 @@
1
+ import { ObjectDirective } from 'vue';
2
+
3
+ export type wheelDom = {
4
+ _wheel_handlers_?: {
5
+ wheel: (e: WheelEvent) => void;
6
+ };
7
+ } & HTMLElement;
8
+ interface WheelDirectiveOptions {
9
+ onWheel: (e: WheelEvent) => void;
10
+ }
11
+ export declare const createWheelDirective: (options: Partial<WheelDirectiveOptions>) => ObjectDirective<wheelDom, any>;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import { ObjectDirective } from 'vue';
2
+
3
+ interface BgPictureDirectiveOptions {
4
+ onBgPicture: (e: MouseEvent) => void;
5
+ }
6
+ interface bgPictureDom extends HTMLElement {
7
+ _bgPicture_handlers_?: {
8
+ bgPicture: (e: MouseEvent) => void;
9
+ };
10
+ }
11
+ export declare const createBgClickeDirective: (options: Partial<BgPictureDirectiveOptions>) => ObjectDirective<bgPictureDom, any>;
12
+ export {};