@nutui/nutui 4.0.0-beta.23 → 4.0.0-beta.24

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 (120) hide show
  1. package/dist/nutui.es.js +1 -1
  2. package/dist/nutui.umd.js +2 -2
  3. package/dist/packages/_es/Badge.js +2 -2
  4. package/dist/packages/_es/Cascader.js +1 -1
  5. package/dist/packages/_es/InputNumber.js +4 -4
  6. package/dist/packages/_es/Overlay.js +10 -4
  7. package/dist/packages/_es/Tabs.js +3 -3
  8. package/dist/packages/ecard/index.scss +19 -5
  9. package/dist/packages/inputnumber/index.scss +6 -0
  10. package/dist/packages/tabbaritem/index.scss +2 -0
  11. package/dist/packages/tour/index.scss +3 -0
  12. package/dist/smartips/web-types.json +15 -6
  13. package/dist/style.css +1 -1
  14. package/dist/styles/themes/default.scss +53 -53
  15. package/dist/styles/themes/jdb.scss +53 -53
  16. package/dist/styles/themes/jddkh.scss +53 -53
  17. package/dist/styles/themes/jdt.scss +53 -53
  18. package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +310 -0
  19. package/dist/types/__VUE/address/index.taro.vue.d.ts +397 -0
  20. package/dist/types/__VUE/addresslist/components/GeneralShell.taro.vue.d.ts +60 -0
  21. package/dist/types/__VUE/addresslist/components/ItemContents.taro.vue.d.ts +23 -0
  22. package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +83 -0
  23. package/dist/types/__VUE/animate/index.taro.vue.d.ts +54 -0
  24. package/dist/types/__VUE/avatar/index.taro.vue.d.ts +76 -0
  25. package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +92 -0
  26. package/dist/types/__VUE/backtop/index.taro.vue.d.ts +76 -0
  27. package/dist/types/__VUE/badge/index.taro.vue.d.ts +93 -0
  28. package/dist/types/__VUE/barrage/index.taro.vue.d.ts +80 -0
  29. package/dist/types/__VUE/button/index.taro.vue.d.ts +90 -0
  30. package/dist/types/__VUE/calendar/index.taro.vue.d.ts +187 -0
  31. package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +217 -0
  32. package/dist/types/__VUE/card/index.taro.vue.d.ts +89 -0
  33. package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +77 -0
  34. package/dist/types/__VUE/cascader/index.taro.vue.d.ts +263 -0
  35. package/dist/types/__VUE/category/index.taro.vue.d.ts +42 -0
  36. package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +54 -0
  37. package/dist/types/__VUE/cell/index.taro.vue.d.ts +124 -0
  38. package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +12 -0
  39. package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +93 -0
  40. package/dist/types/__VUE/collapse/index.taro.vue.d.ts +38 -0
  41. package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +111 -0
  42. package/dist/types/__VUE/comment/components/CmtBottom.taro.vue.d.ts +42 -0
  43. package/dist/types/__VUE/comment/components/CmtHeader.taro.vue.d.ts +27 -0
  44. package/dist/types/__VUE/comment/components/CmtImages.taro.vue.d.ts +59 -0
  45. package/dist/types/__VUE/comment/index.taro.vue.d.ts +119 -0
  46. package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +45 -0
  47. package/dist/types/__VUE/countdown/index.taro.vue.d.ts +103 -0
  48. package/dist/types/__VUE/countup/index.taro.vue.d.ts +213 -0
  49. package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +232 -0
  50. package/dist/types/__VUE/dialog/index.taro.vue.d.ts +345 -0
  51. package/dist/types/__VUE/divider/index.taro.vue.d.ts +53 -0
  52. package/dist/types/__VUE/drag/index.taro.vue.d.ts +62 -0
  53. package/dist/types/__VUE/ecard/index.taro.vue.d.ts +128 -0
  54. package/dist/types/__VUE/elevator/index.taro.vue.d.ts +117 -0
  55. package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +103 -0
  56. package/dist/types/__VUE/empty/index.taro.vue.d.ts +46 -0
  57. package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +105 -0
  58. package/dist/types/__VUE/form/index.taro.vue.d.ts +40 -0
  59. package/dist/types/__VUE/formitem/index.taro.vue.d.ts +114 -0
  60. package/dist/types/__VUE/grid/index.taro.vue.d.ts +84 -0
  61. package/dist/types/__VUE/griditem/index.taro.vue.d.ts +22 -0
  62. package/dist/types/__VUE/icon/index.taro.vue.d.ts +12 -0
  63. package/dist/types/__VUE/image/index.taro.vue.d.ts +32 -0
  64. package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +163 -0
  65. package/dist/types/__VUE/indicator/index.taro.vue.d.ts +70 -0
  66. package/dist/types/__VUE/input/index.taro.vue.d.ts +224 -0
  67. package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +116 -0
  68. package/dist/types/__VUE/invoice/index.taro.vue.d.ts +52 -0
  69. package/dist/types/__VUE/layout/index.taro.vue.d.ts +12 -0
  70. package/dist/types/__VUE/list/index.taro.vue.d.ts +58 -0
  71. package/dist/types/__VUE/menu/index.taro.vue.d.ts +93 -0
  72. package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +89 -0
  73. package/dist/types/__VUE/navbar/index.taro.vue.d.ts +121 -0
  74. package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +207 -0
  75. package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -2
  76. package/dist/types/__VUE/notify/index.taro.vue.d.ts +110 -0
  77. package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +132 -0
  78. package/dist/types/__VUE/overlay/index.taro.vue.d.ts +85 -0
  79. package/dist/types/__VUE/pagination/index.taro.vue.d.ts +111 -0
  80. package/dist/types/__VUE/picker/index.taro.vue.d.ts +14 -0
  81. package/dist/types/__VUE/popover/index.taro.vue.d.ts +192 -0
  82. package/dist/types/__VUE/popup/index.taro.vue.d.ts +219 -0
  83. package/dist/types/__VUE/price/index.taro.vue.d.ts +87 -0
  84. package/dist/types/__VUE/progress/index.taro.vue.d.ts +128 -0
  85. package/dist/types/__VUE/radio/index.taro.vue.d.ts +53 -0
  86. package/dist/types/__VUE/range/index.taro.vue.d.ts +158 -0
  87. package/dist/types/__VUE/rate/index.taro.vue.d.ts +121 -0
  88. package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +14 -0
  89. package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +177 -0
  90. package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +103 -0
  91. package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +31 -0
  92. package/dist/types/__VUE/signature/index.taro.vue.d.ts +84 -0
  93. package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +115 -0
  94. package/dist/types/__VUE/sku/components/SkuHeader.taro.vue.d.ts +28 -0
  95. package/dist/types/__VUE/sku/components/SkuStepper.taro.vue.d.ts +56 -0
  96. package/dist/types/__VUE/sku/index.taro.vue.d.ts +146 -0
  97. package/dist/types/__VUE/steps/index.taro.vue.d.ts +46 -0
  98. package/dist/types/__VUE/sticky/index.taro.vue.d.ts +47 -0
  99. package/dist/types/__VUE/subsidenavbar/index.taro.vue.d.ts +53 -0
  100. package/dist/types/__VUE/swipe/index.taro.vue.d.ts +71 -0
  101. package/dist/types/__VUE/swiper/index.taro.vue.d.ts +168 -0
  102. package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +18 -0
  103. package/dist/types/__VUE/switch/index.taro.vue.d.ts +108 -0
  104. package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +93 -0
  105. package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +59 -0
  106. package/dist/types/__VUE/table/index.taro.vue.d.ts +80 -0
  107. package/dist/types/__VUE/tabs/index.taro.vue.d.ts +164 -0
  108. package/dist/types/__VUE/tag/index.taro.vue.d.ts +90 -0
  109. package/dist/types/__VUE/textarea/index.taro.vue.d.ts +127 -0
  110. package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +38 -0
  111. package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +42 -0
  112. package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +91 -0
  113. package/dist/types/__VUE/toast/index.taro.vue.d.ts +184 -0
  114. package/dist/types/__VUE/tour/index.taro.vue.d.ts +192 -0
  115. package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +105 -0
  116. package/dist/types/__VUE/uploader/index.taro.vue.d.ts +260 -0
  117. package/dist/types/__VUE/watermark/index.taro.vue.d.ts +175 -0
  118. package/dist/types/index.d.ts +1 -1
  119. package/dist/types/nutui.taro.vue.build.d.ts +106 -0
  120. package/package.json +2 -1
@@ -0,0 +1,111 @@
1
+ import { DownArrow } from '@nutui/icons-vue-taro';
2
+
3
+ declare type Install<T> = T & {
4
+ install(app: import('vue').App): void;
5
+ };
6
+ declare const _default: Install< import("vue").DefineComponent<{
7
+ collapseRef: {
8
+ type: ObjectConstructor;
9
+ };
10
+ title: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ value: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ label: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ disabled: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ name: {
27
+ type: (NumberConstructor | StringConstructor)[];
28
+ default: number;
29
+ required: true;
30
+ };
31
+ border: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ icon: {
36
+ type: ObjectConstructor;
37
+ default: () => typeof DownArrow;
38
+ };
39
+ rotate: {
40
+ type: (NumberConstructor | StringConstructor)[];
41
+ default: number;
42
+ };
43
+ }, {
44
+ conHeight: any;
45
+ wrapperRef: any;
46
+ contentRef: any;
47
+ open: () => void;
48
+ toggleOpen: () => void;
49
+ changeOpen: (bol: boolean) => void;
50
+ animation: () => void;
51
+ openExpanded: import("vue").Ref<boolean>;
52
+ renderIcon: (icon: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, props?: any) => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
+ [key: string]: any;
54
+ }>;
55
+ classes: import("vue").ComputedRef<{
56
+ [x: string]: boolean;
57
+ }>;
58
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
+ collapseRef: {
60
+ type: ObjectConstructor;
61
+ };
62
+ title: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ value: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ label: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ disabled: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ name: {
79
+ type: (NumberConstructor | StringConstructor)[];
80
+ default: number;
81
+ required: true;
82
+ };
83
+ border: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ icon: {
88
+ type: ObjectConstructor;
89
+ default: () => typeof DownArrow;
90
+ };
91
+ rotate: {
92
+ type: (NumberConstructor | StringConstructor)[];
93
+ default: number;
94
+ };
95
+ }>>, {
96
+ name: string | number;
97
+ label: string;
98
+ title: string;
99
+ icon: Record<string, any>;
100
+ border: boolean;
101
+ disabled: boolean;
102
+ value: string;
103
+ rotate: string | number;
104
+ }>>;
105
+ export default _default;
106
+
107
+ declare module 'vue' {
108
+ interface GlobalComponents {
109
+ NutCollapseItem: typeof _default;
110
+ }
111
+ }
@@ -0,0 +1,42 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ type: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ info: {
8
+ type: ObjectConstructor;
9
+ default: () => {};
10
+ };
11
+ operation: {
12
+ type: PropType<string[]>;
13
+ default: string[];
14
+ };
15
+ }, {
16
+ showPopver: import("vue").Ref<boolean>;
17
+ operate: (type: string) => void;
18
+ mergeOp: import("vue").Ref<never[]>;
19
+ handleClick: () => void;
20
+ translate: (keyPath: string, ...args: unknown[]) => string;
21
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleClick" | "clickOperate")[], "handleClick" | "clickOperate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ type: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ info: {
27
+ type: ObjectConstructor;
28
+ default: () => {};
29
+ };
30
+ operation: {
31
+ type: PropType<string[]>;
32
+ default: string[];
33
+ };
34
+ }>> & {
35
+ onHandleClick?: ((...args: any[]) => any) | undefined;
36
+ onClickOperate?: ((...args: any[]) => any) | undefined;
37
+ }, {
38
+ type: string;
39
+ info: Record<string, any>;
40
+ operation: string[];
41
+ }>;
42
+ export default _default;
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ type: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ info: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
10
+ }, {
11
+ handleClick: () => void;
12
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handleClick"[], "handleClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ type: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ info: {
18
+ type: ObjectConstructor;
19
+ default: () => {};
20
+ };
21
+ }>> & {
22
+ onHandleClick?: ((...args: any[]) => any) | undefined;
23
+ }, {
24
+ type: string;
25
+ info: Record<string, any>;
26
+ }>;
27
+ export default _default;
@@ -0,0 +1,59 @@
1
+ import { PropType } from 'vue';
2
+ interface VideosType {
3
+ id: number | string;
4
+ mainUrl: string;
5
+ videoUrl: string;
6
+ }
7
+ interface ImagesType {
8
+ smallImgUrl: string;
9
+ bigImgUrl: string;
10
+ imgUrl: string;
11
+ }
12
+ declare const _default: import("vue").DefineComponent<{
13
+ type: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ videos: {
18
+ type: PropType<VideosType[]>;
19
+ default: () => never[];
20
+ };
21
+ images: {
22
+ type: PropType<ImagesType[]>;
23
+ default: () => never[];
24
+ };
25
+ }, {
26
+ isShowImage: import("vue").Ref<boolean>;
27
+ initIndex: import("vue").Ref<number>;
28
+ showImages: (type: string, index: string | number) => void;
29
+ totalImages: import("vue").Ref<({
30
+ id: string | number;
31
+ mainUrl: string;
32
+ videoUrl: string;
33
+ } | {
34
+ smallImgUrl: string;
35
+ bigImgUrl: string;
36
+ imgUrl: string;
37
+ })[]>;
38
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clickImages")[], "click" | "clickImages", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
+ type: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ videos: {
44
+ type: PropType<VideosType[]>;
45
+ default: () => never[];
46
+ };
47
+ images: {
48
+ type: PropType<ImagesType[]>;
49
+ default: () => never[];
50
+ };
51
+ }>> & {
52
+ onClick?: ((...args: any[]) => any) | undefined;
53
+ onClickImages?: ((...args: any[]) => any) | undefined;
54
+ }, {
55
+ type: string;
56
+ videos: VideosType[];
57
+ images: ImagesType[];
58
+ }>;
59
+ export default _default;
@@ -0,0 +1,119 @@
1
+ import { PropType } from 'vue';
2
+ interface VideosType {
3
+ id: number | string;
4
+ mainUrl: string;
5
+ videoUrl: string;
6
+ }
7
+ interface ImagesType {
8
+ smallImgUrl: string;
9
+ bigImgUrl: string;
10
+ imgUrl: string;
11
+ }
12
+
13
+ declare type Install<T> = T & {
14
+ install(app: import('vue').App): void;
15
+ };
16
+ declare const _default: Install< import("vue").DefineComponent<{
17
+ headerType: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ imagesRows: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ ellipsis: {
26
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
27
+ default: boolean;
28
+ };
29
+ videos: {
30
+ type: PropType<VideosType[]>;
31
+ default: () => never[];
32
+ };
33
+ images: {
34
+ type: PropType<ImagesType[]>;
35
+ default: () => never[];
36
+ };
37
+ info: {
38
+ type: ObjectConstructor;
39
+ default: () => {};
40
+ };
41
+ follow: {
42
+ type: ObjectConstructor;
43
+ default: () => {};
44
+ };
45
+ labels: {
46
+ type: FunctionConstructor;
47
+ default: () => string;
48
+ };
49
+ operation: {
50
+ type: PropType<string[]>;
51
+ default: string[];
52
+ };
53
+ }, {
54
+ classes: import("vue").ComputedRef<{
55
+ [x: string]: boolean;
56
+ }>;
57
+ conEllipsis: import("vue").ComputedRef<string | number | true>;
58
+ clickOperate: (t: string) => void;
59
+ handleClick: () => void;
60
+ clickImages: (value: any) => void;
61
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clickImages" | "clickOperate")[], "click" | "clickImages" | "clickOperate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
62
+ headerType: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ imagesRows: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ ellipsis: {
71
+ type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
72
+ default: boolean;
73
+ };
74
+ videos: {
75
+ type: PropType<VideosType[]>;
76
+ default: () => never[];
77
+ };
78
+ images: {
79
+ type: PropType<ImagesType[]>;
80
+ default: () => never[];
81
+ };
82
+ info: {
83
+ type: ObjectConstructor;
84
+ default: () => {};
85
+ };
86
+ follow: {
87
+ type: ObjectConstructor;
88
+ default: () => {};
89
+ };
90
+ labels: {
91
+ type: FunctionConstructor;
92
+ default: () => string;
93
+ };
94
+ operation: {
95
+ type: PropType<string[]>;
96
+ default: string[];
97
+ };
98
+ }>> & {
99
+ onClick?: ((...args: any[]) => any) | undefined;
100
+ onClickImages?: ((...args: any[]) => any) | undefined;
101
+ onClickOperate?: ((...args: any[]) => any) | undefined;
102
+ }, {
103
+ ellipsis: string | number | boolean;
104
+ info: Record<string, any>;
105
+ labels: Function;
106
+ videos: VideosType[];
107
+ images: ImagesType[];
108
+ operation: string[];
109
+ headerType: string;
110
+ imagesRows: string;
111
+ follow: Record<string, any>;
112
+ }>>;
113
+ export default _default;
114
+
115
+ declare module 'vue' {
116
+ interface GlobalComponents {
117
+ NutComment: typeof _default;
118
+ }
119
+ }
@@ -0,0 +1,45 @@
1
+ import { PropType } from 'vue';
2
+
3
+ declare type Install<T> = T & {
4
+ install(app: import('vue').App): void;
5
+ };
6
+ declare const _default: Install< import("vue").DefineComponent<{
7
+ theme: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ themeVars: {
12
+ type: ObjectConstructor;
13
+ default: () => void;
14
+ };
15
+ tag: {
16
+ type: PropType<keyof HTMLElementTagNameMap>;
17
+ default: string;
18
+ };
19
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
20
+ [key: string]: any;
21
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ theme: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ themeVars: {
27
+ type: ObjectConstructor;
28
+ default: () => void;
29
+ };
30
+ tag: {
31
+ type: PropType<keyof HTMLElementTagNameMap>;
32
+ default: string;
33
+ };
34
+ }>>, {
35
+ tag: keyof HTMLElementTagNameMap;
36
+ theme: string;
37
+ themeVars: Record<string, any>;
38
+ }>>;
39
+ export default _default;
40
+
41
+ declare module 'vue' {
42
+ interface GlobalComponents {
43
+ NutConfigProvider: typeof _default;
44
+ }
45
+ }
@@ -0,0 +1,103 @@
1
+
2
+ declare type Install<T> = T & {
3
+ install(app: import('vue').App): void;
4
+ };
5
+ declare const _default: Install< import("vue").DefineComponent<{
6
+ modelValue: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
10
+ paused: {
11
+ default: boolean;
12
+ type: BooleanConstructor;
13
+ };
14
+ startTime: {
15
+ type: (NumberConstructor | StringConstructor)[];
16
+ validator(v: Date): boolean;
17
+ };
18
+ endTime: {
19
+ type: (NumberConstructor | StringConstructor)[];
20
+ validator(v: Date): boolean;
21
+ };
22
+ millisecond: {
23
+ default: boolean;
24
+ type: BooleanConstructor;
25
+ };
26
+ format: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ autoStart: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ time: {
35
+ type: (NumberConstructor | StringConstructor)[];
36
+ default: number;
37
+ };
38
+ }, {
39
+ slots: Readonly<{
40
+ [name: string]: import("vue").Slot | undefined;
41
+ }>;
42
+ classes: import("vue").ComputedRef<{
43
+ [x: string]: boolean;
44
+ }>;
45
+ start: () => void;
46
+ pause: () => void;
47
+ renderTime: import("vue").ComputedRef<any>;
48
+ translate: (keyPath: string, ...args: unknown[]) => string;
49
+ reset: () => void;
50
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "update:modelValue" | "on-end" | "on-restart" | "on-paused")[], "input" | "update:modelValue" | "on-end" | "on-restart" | "on-paused", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
+ modelValue: {
52
+ type: ObjectConstructor;
53
+ default: () => {};
54
+ };
55
+ paused: {
56
+ default: boolean;
57
+ type: BooleanConstructor;
58
+ };
59
+ startTime: {
60
+ type: (NumberConstructor | StringConstructor)[];
61
+ validator(v: Date): boolean;
62
+ };
63
+ endTime: {
64
+ type: (NumberConstructor | StringConstructor)[];
65
+ validator(v: Date): boolean;
66
+ };
67
+ millisecond: {
68
+ default: boolean;
69
+ type: BooleanConstructor;
70
+ };
71
+ format: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ autoStart: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ time: {
80
+ type: (NumberConstructor | StringConstructor)[];
81
+ default: number;
82
+ };
83
+ }>> & {
84
+ onInput?: ((...args: any[]) => any) | undefined;
85
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
86
+ "onOn-end"?: ((...args: any[]) => any) | undefined;
87
+ "onOn-restart"?: ((...args: any[]) => any) | undefined;
88
+ "onOn-paused"?: ((...args: any[]) => any) | undefined;
89
+ }, {
90
+ time: string | number;
91
+ paused: boolean;
92
+ modelValue: Record<string, any>;
93
+ millisecond: boolean;
94
+ format: string;
95
+ autoStart: boolean;
96
+ }>>;
97
+ export default _default;
98
+
99
+ declare module 'vue' {
100
+ interface GlobalComponents {
101
+ NutCountdown: typeof _default;
102
+ }
103
+ }