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,10 +1,10 @@
1
-
2
1
  .ETab {
3
2
  display: flex;
4
- width: 100%;
5
- flex-wrap: wrap;
3
+ width: -moz-max-content;
4
+ width: max-content;
5
+ flex-wrap: nowrap;
6
6
  --tw-text-opacity: 1;
7
- color: rgb(102 102 102 / var(--tw-text-opacity))
7
+ color: rgb(102 102 102 / var(--tw-text-opacity, 1))
8
8
  }
9
9
  .ETab .ETab_Line_Btn {
10
10
  -webkit-appearance: none;
@@ -19,15 +19,15 @@
19
19
  font-size: 0.875rem;
20
20
  line-height: 1.25rem;
21
21
  --tw-text-opacity: 1;
22
- color: rgb(1 64 153 / var(--tw-text-opacity))
22
+ color: rgb(1 64 153 / var(--tw-text-opacity, 1))
23
23
  }
24
24
  .ETab .ETab_Line_Btn .ETab_Line_Act {
25
25
  --tw-text-opacity: 1;
26
- color: rgb(1 64 153 / var(--tw-text-opacity))
26
+ color: rgb(1 64 153 / var(--tw-text-opacity, 1))
27
27
  }
28
28
  .ETab_Card {
29
29
  --tw-bg-opacity: 1;
30
- background-color: rgb(243 244 246 / var(--tw-bg-opacity))
30
+ background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1))
31
31
  }
32
32
  .ETab_Card .ETab_Card_Btn {
33
33
  height: 2.75rem;
@@ -37,13 +37,13 @@
37
37
  line-height: 1.25rem;
38
38
  font-weight: 500;
39
39
  --tw-text-opacity: 1;
40
- color: rgb(1 64 153 / var(--tw-text-opacity));
40
+ color: rgb(1 64 153 / var(--tw-text-opacity, 1));
41
41
  outline: 2px solid transparent;
42
42
  outline-offset: 2px
43
43
  }
44
44
  .ETab_Card .ETab_Card_Btn:focus {
45
45
  --tw-text-opacity: 1;
46
- color: rgb(1 64 153 / var(--tw-text-opacity))
46
+ color: rgb(1 64 153 / var(--tw-text-opacity, 1))
47
47
  }
48
48
  .ETab_Card .ETab_Card_Btn .ETabline {
49
49
  white-space: nowrap;
@@ -57,7 +57,7 @@
57
57
  align-items: center;
58
58
  justify-content: center;
59
59
  --tw-bg-opacity: 1;
60
- background-color: rgb(245 245 245 / var(--tw-bg-opacity))
60
+ background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1))
61
61
  }
62
62
  .ETab_Card .ETab_Card_Btn .ETablineActPr {
63
63
  border-bottom-right-radius: 0.5rem
@@ -67,11 +67,11 @@
67
67
  }
68
68
  .ETab_Card .ETab_Card_Btn_Act {
69
69
  --tw-bg-opacity: 1;
70
- background-color: rgb(255 255 255 / var(--tw-bg-opacity));
70
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
71
71
  --tw-text-opacity: 1;
72
- color: rgb(1 64 153 / var(--tw-text-opacity))
72
+ color: rgb(1 64 153 / var(--tw-text-opacity, 1))
73
73
  }
74
74
  .ETab_Card .ETab_Line_Btn_Btw {
75
75
  --tw-bg-opacity: 1;
76
- background-color: rgb(255 255 255 / var(--tw-bg-opacity))
76
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1))
77
77
  }
@@ -1,11 +1,3 @@
1
- interface DefaultOption {
2
- callback?: Function;
3
- title: string;
4
- content: string;
5
- sureword: string;
6
- cancelword: string;
7
- bgshow?: boolean;
8
- [key: symbol]: any;
9
- }
10
- declare const AlertCom: (options: DefaultOption, callback?: Function) => Promise<unknown> | undefined;
11
- export default AlertCom;
1
+ import { alertOption } from '../../types/types';
2
+
3
+ export default function AlertFunction(alertoptions: alertOption): Promise<void>;
@@ -1,12 +1,23 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- showTip: import("vue").Ref<boolean>;
3
- myoption: {
4
- title: string;
5
- content: string;
6
- sureword: string;
7
- cancelword: string;
8
- bgshow?: boolean | undefined;
9
- };
10
- callback: import("vue").Ref<Function>;
11
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ import { alertOption } from '../../types/types';
2
+
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<alertOption & {
4
+ onClose: Function;
5
+ onConfirm: Function;
6
+ showAlert: boolean;
7
+ }>>, {
8
+ setVisible: (value: boolean) => void;
9
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<alertOption & {
10
+ onClose: Function;
11
+ onConfirm: Function;
12
+ showAlert: boolean;
13
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
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
+ };
@@ -1,36 +1,45 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- max: {
3
- type: import("vue").PropType<string | number>;
4
- default: number;
5
- };
6
- value: {
7
- type: import("vue").PropType<string | number>;
8
- required: true;
9
- };
10
- placement: {
11
- type: import("vue").PropType<"rightTop" | "right">;
12
- default: string;
13
- };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
- max: {
16
- type: import("vue").PropType<string | number>;
17
- default: number;
18
- };
19
- value: {
20
- type: import("vue").PropType<string | number>;
21
- required: true;
22
- };
23
- placement: {
24
- type: import("vue").PropType<"rightTop" | "right">;
25
- default: string;
26
- };
27
- }>>, {
28
- max: string | number;
29
- placement: "rightTop" | "right";
30
- }, {}>, {
1
+ declare function __VLS_template(): {
31
2
  default?(_: {}): any;
32
- }>;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ value: number | string;
6
+ max?: number | string;
7
+ placement?: "rightTop" | "right";
8
+ customClass?: string;
9
+ }>, {
10
+ max: number;
11
+ placement: string;
12
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
+ value: number | string;
14
+ max?: number | string;
15
+ placement?: "rightTop" | "right";
16
+ customClass?: string;
17
+ }>, {
18
+ max: number;
19
+ placement: string;
20
+ }>>> & Readonly<{}>, {
21
+ max: number | string;
22
+ placement: "rightTop" | "right";
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
33
25
  export default _default;
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
35
+ type __VLS_WithDefaults<P, D> = {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ default: D[K];
38
+ }> : P[K];
39
+ };
40
+ type __VLS_Prettify<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
34
43
  type __VLS_WithTemplateSlots<T, S> = T & {
35
44
  new (): {
36
45
  $slots: S;
@@ -1,10 +1,49 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- height: {
3
- type: import("vue").PropType<number>;
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
+ height?: number;
10
+ holdstop?: boolean;
11
+ startindex?: number;
12
+ }>, {
13
+ holdstop: boolean;
14
+ startindex: number;
15
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ height?: number;
17
+ holdstop?: boolean;
18
+ startindex?: number;
19
+ }>, {
20
+ holdstop: boolean;
21
+ startindex: number;
22
+ }>>> & Readonly<{}>, {
23
+ holdstop: boolean;
24
+ startindex: number;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
27
+ export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
4
35
  };
5
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
- height: {
7
- type: import("vue").PropType<number>;
36
+ };
37
+ type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
+ default: D[K];
40
+ }> : P[K];
41
+ };
42
+ type __VLS_Prettify<T> = {
43
+ [K in keyof T]: T[K];
44
+ } & {};
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
8
48
  };
9
- }>>, {}, {}>;
10
- export default _default;
49
+ };
@@ -1,6 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
- }>;
3
+ };
4
+ 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 _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
4
6
  export default _default;
5
7
  type __VLS_WithTemplateSlots<T, S> = T & {
6
8
  new (): {
@@ -0,0 +1,29 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ position?: "left" | "right";
3
+ }>, {
4
+ position: string;
5
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ position?: "left" | "right";
7
+ }>, {
8
+ position: string;
9
+ }>>> & Readonly<{}>, {
10
+ position: "left" | "right";
11
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToRuntimeProps<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
19
+ required: true;
20
+ };
21
+ };
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
+ default: D[K];
25
+ }> : P[K];
26
+ };
27
+ type __VLS_Prettify<T> = {
28
+ [K in keyof T]: T[K];
29
+ } & {};
@@ -1,25 +1,42 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- label: {
3
- type: import("vue").PropType<string | number>;
4
- required: true;
5
- };
6
- class: {
7
- type: import("vue").PropType<string>;
8
- };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
- label: {
11
- type: import("vue").PropType<string | number>;
12
- required: true;
13
- };
14
- class: {
15
- type: import("vue").PropType<string>;
16
- };
17
- }>>, {}, {}>, {
18
- default?(_: {}): any;
19
- }>;
1
+ type CheckboxValue = string | number | symbol;
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ label: CheckboxValue;
4
+ value: CheckboxValue;
5
+ modelValue?: boolean;
6
+ disabled?: boolean;
7
+ button?: boolean;
8
+ }>, {
9
+ disabled: boolean;
10
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:modelValue": (...args: any[]) => void;
12
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
+ label: CheckboxValue;
14
+ value: CheckboxValue;
15
+ modelValue?: boolean;
16
+ disabled?: boolean;
17
+ button?: boolean;
18
+ }>, {
19
+ disabled: boolean;
20
+ }>>> & Readonly<{
21
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
+ }>, {
23
+ disabled: boolean;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
25
  export default _default;
21
- type __VLS_WithTemplateSlots<T, S> = T & {
22
- new (): {
23
- $slots: S;
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
24
33
  };
25
34
  };
35
+ type __VLS_WithDefaults<P, D> = {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ default: D[K];
38
+ }> : P[K];
39
+ };
40
+ type __VLS_Prettify<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
@@ -1,25 +1,49 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- modelValue: {
3
- type: import("vue").PropType<(string | number)[]>;
4
- required: true;
5
- };
6
- showinput: {
7
- type: import("vue").PropType<boolean>;
8
- default: boolean;
9
- };
10
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
- modelValue: {
12
- type: import("vue").PropType<(string | number)[]>;
13
- required: true;
14
- };
15
- showinput: {
16
- type: import("vue").PropType<boolean>;
17
- default: boolean;
18
- };
19
- }>> & {
1
+ type CheckboxValue = string | number | symbol;
2
+ declare function __VLS_template(): {
3
+ default?(_: {}): any;
4
+ };
5
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ modelValue: Array<CheckboxValue>;
7
+ showinput?: boolean;
8
+ disabled?: boolean;
9
+ }>, {
10
+ showinput: boolean;
11
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ change: (...args: any[]) => void;
13
+ "update:modelValue": (...args: any[]) => void;
14
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ modelValue: Array<CheckboxValue>;
16
+ showinput?: boolean;
17
+ disabled?: boolean;
18
+ }>, {
19
+ showinput: boolean;
20
+ }>>> & Readonly<{
20
21
  onChange?: ((...args: any[]) => any) | undefined;
21
22
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
- }, {
23
+ }>, {
23
24
  showinput: boolean;
24
- }, {}>;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
25
27
  export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
+ default: D[K];
40
+ }> : P[K];
41
+ };
42
+ type __VLS_Prettify<T> = {
43
+ [K in keyof T]: T[K];
44
+ } & {};
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
@@ -1,21 +1,51 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- type: {
3
- type: import("vue").PropType<string>;
4
- };
5
- modelValue: {
6
- type: import("vue").PropType<string | Date>;
7
- required: true;
8
- };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
- type: {
11
- type: import("vue").PropType<string>;
12
- };
13
- modelValue: {
14
- type: import("vue").PropType<string | Date>;
15
- required: true;
16
- };
17
- }>> & {
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ modelValue: string | Date | null;
3
+ type?: string;
4
+ disabled?: boolean;
5
+ disabledDate?: (params: any) => boolean;
6
+ placeholder?: string;
7
+ size?: "large" | "default" | "small";
8
+ }>, {
9
+ disabled: boolean;
10
+ placeholder: string;
11
+ size: string;
12
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ change: (...args: any[]) => void;
14
+ "update:modelValue": (...args: any[]) => void;
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ modelValue: string | Date | null;
17
+ type?: string;
18
+ disabled?: boolean;
19
+ disabledDate?: (params: any) => boolean;
20
+ placeholder?: string;
21
+ size?: "large" | "default" | "small";
22
+ }>, {
23
+ disabled: boolean;
24
+ placeholder: string;
25
+ size: string;
26
+ }>>> & Readonly<{
18
27
  onChange?: ((...args: any[]) => any) | undefined;
19
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
20
- }, {}, {}>;
29
+ }>, {
30
+ size: "large" | "default" | "small";
31
+ disabled: boolean;
32
+ placeholder: string;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
34
  export default _default;
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToRuntimeProps<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: import('vue').PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };
44
+ type __VLS_WithDefaults<P, D> = {
45
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
+ default: D[K];
47
+ }> : P[K];
48
+ };
49
+ type __VLS_Prettify<T> = {
50
+ [K in keyof T]: T[K];
51
+ } & {};
@@ -1,14 +1,37 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- modelValue: {
3
- type: import("vue").PropType<(string | null)[] | null>;
4
- required: true;
5
- };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- modelValue: {
8
- type: import("vue").PropType<(string | null)[] | null>;
9
- required: true;
10
- };
11
- }>> & {
1
+ type AllowedType = null | string | Date;
2
+ type daterangeType = {
3
+ modelValue: [AllowedType, AllowedType];
4
+ startPlaceholder?: string;
5
+ endPlaceholder?: string;
6
+ disabledDate?: (params: any) => boolean;
7
+ size?: "large" | "default" | "small";
8
+ };
9
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<daterangeType>, {
10
+ size: string;
11
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "update:modelValue": (...args: any[]) => void;
13
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<daterangeType>, {
14
+ size: string;
15
+ }>>> & Readonly<{
12
16
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
- }, {}, {}>;
17
+ }>, {
18
+ size: "large" | "default" | "small";
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
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
+ } & {};