@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,345 @@
1
+ import { PropType, VNode, CSSProperties } 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
+ closeOnClickOverlay: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ title: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ content: {
16
+ type: PropType<string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
+ [key: string]: any;
18
+ }>>;
19
+ default: string;
20
+ };
21
+ noFooter: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ noOkBtn: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ noCancelBtn: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ cancelText: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ okText: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ cancelAutoClose: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ textAlign: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ closeOnPopstate: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ footerDirection: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ customClass: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ popStyle: {
62
+ type: PropType<CSSProperties>;
63
+ };
64
+ beforeClose: {
65
+ type: FunctionConstructor;
66
+ };
67
+ visible: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ zIndex: {
72
+ type: (NumberConstructor | StringConstructor)[];
73
+ default: number;
74
+ };
75
+ duration: {
76
+ type: (NumberConstructor | StringConstructor)[];
77
+ default: number;
78
+ };
79
+ lockScroll: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ position: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ transition: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ style: {
92
+ type: PropType<CSSProperties>;
93
+ default: {};
94
+ };
95
+ popClass: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ closeable: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ closeIconPosition: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ closeIcon: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ destroyOnClose: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ teleport: {
116
+ type: (StringConstructor | {
117
+ new (): Element;
118
+ prototype: Element;
119
+ })[];
120
+ default: string;
121
+ };
122
+ overlay: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
126
+ round: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
130
+ teleportDisable: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
134
+ safeAreaInsetBottom: {
135
+ type: BooleanConstructor;
136
+ default: boolean;
137
+ };
138
+ overlayClass: {
139
+ type: StringConstructor;
140
+ default: string;
141
+ };
142
+ overlayStyle: {
143
+ type: PropType<CSSProperties>;
144
+ default: {};
145
+ };
146
+ }, {
147
+ closed: (action: string) => void;
148
+ classes: import("vue").ComputedRef<{
149
+ [x: string]: boolean;
150
+ }>;
151
+ onCancel: () => void;
152
+ onOk: () => void;
153
+ showPopup: import("vue").Ref<boolean>;
154
+ contentStyle: import("vue").ComputedRef<CSSProperties>;
155
+ translate: (keyPath: string, ...args: unknown[]) => string;
156
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:visible" | "cancel" | "update" | "ok" | "opened")[], "closed" | "update:visible" | "cancel" | "update" | "ok" | "opened", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
157
+ closeOnClickOverlay: {
158
+ type: BooleanConstructor;
159
+ default: boolean;
160
+ };
161
+ title: {
162
+ type: StringConstructor;
163
+ default: string;
164
+ };
165
+ content: {
166
+ type: PropType<string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
167
+ [key: string]: any;
168
+ }>>;
169
+ default: string;
170
+ };
171
+ noFooter: {
172
+ type: BooleanConstructor;
173
+ default: boolean;
174
+ };
175
+ noOkBtn: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ };
179
+ noCancelBtn: {
180
+ type: BooleanConstructor;
181
+ default: boolean;
182
+ };
183
+ cancelText: {
184
+ type: StringConstructor;
185
+ default: string;
186
+ };
187
+ okText: {
188
+ type: StringConstructor;
189
+ default: string;
190
+ };
191
+ cancelAutoClose: {
192
+ type: BooleanConstructor;
193
+ default: boolean;
194
+ };
195
+ textAlign: {
196
+ type: StringConstructor;
197
+ default: string;
198
+ };
199
+ closeOnPopstate: {
200
+ type: BooleanConstructor;
201
+ default: boolean;
202
+ };
203
+ footerDirection: {
204
+ type: StringConstructor;
205
+ default: string;
206
+ };
207
+ customClass: {
208
+ type: StringConstructor;
209
+ default: string;
210
+ };
211
+ popStyle: {
212
+ type: PropType<CSSProperties>;
213
+ };
214
+ beforeClose: {
215
+ type: FunctionConstructor;
216
+ };
217
+ visible: {
218
+ type: BooleanConstructor;
219
+ default: boolean;
220
+ };
221
+ zIndex: {
222
+ type: (NumberConstructor | StringConstructor)[];
223
+ default: number;
224
+ };
225
+ duration: {
226
+ type: (NumberConstructor | StringConstructor)[];
227
+ default: number;
228
+ };
229
+ lockScroll: {
230
+ type: BooleanConstructor;
231
+ default: boolean;
232
+ };
233
+ position: {
234
+ type: StringConstructor;
235
+ default: string;
236
+ };
237
+ transition: {
238
+ type: StringConstructor;
239
+ default: string;
240
+ };
241
+ style: {
242
+ type: PropType<CSSProperties>;
243
+ default: {};
244
+ };
245
+ popClass: {
246
+ type: StringConstructor;
247
+ default: string;
248
+ };
249
+ closeable: {
250
+ type: BooleanConstructor;
251
+ default: boolean;
252
+ };
253
+ closeIconPosition: {
254
+ type: StringConstructor;
255
+ default: string;
256
+ };
257
+ closeIcon: {
258
+ type: StringConstructor;
259
+ default: string;
260
+ };
261
+ destroyOnClose: {
262
+ type: BooleanConstructor;
263
+ default: boolean;
264
+ };
265
+ teleport: {
266
+ type: (StringConstructor | {
267
+ new (): Element;
268
+ prototype: Element;
269
+ })[];
270
+ default: string;
271
+ };
272
+ overlay: {
273
+ type: BooleanConstructor;
274
+ default: boolean;
275
+ };
276
+ round: {
277
+ type: BooleanConstructor;
278
+ default: boolean;
279
+ };
280
+ teleportDisable: {
281
+ type: BooleanConstructor;
282
+ default: boolean;
283
+ };
284
+ safeAreaInsetBottom: {
285
+ type: BooleanConstructor;
286
+ default: boolean;
287
+ };
288
+ overlayClass: {
289
+ type: StringConstructor;
290
+ default: string;
291
+ };
292
+ overlayStyle: {
293
+ type: PropType<CSSProperties>;
294
+ default: {};
295
+ };
296
+ }>> & {
297
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
298
+ onOpened?: ((...args: any[]) => any) | undefined;
299
+ onClosed?: ((...args: any[]) => any) | undefined;
300
+ onCancel?: ((...args: any[]) => any) | undefined;
301
+ onUpdate?: ((...args: any[]) => any) | undefined;
302
+ onOk?: ((...args: any[]) => any) | undefined;
303
+ }, {
304
+ style: CSSProperties;
305
+ title: string;
306
+ zIndex: string | number;
307
+ round: boolean;
308
+ overlay: boolean;
309
+ visible: boolean;
310
+ duration: string | number;
311
+ overlayClass: string;
312
+ lockScroll: boolean;
313
+ overlayStyle: CSSProperties;
314
+ closeOnClickOverlay: boolean;
315
+ content: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
316
+ [key: string]: any;
317
+ }>;
318
+ position: string;
319
+ transition: string;
320
+ popClass: string;
321
+ closeable: boolean;
322
+ closeIconPosition: string;
323
+ closeIcon: string;
324
+ destroyOnClose: boolean;
325
+ teleport: string | Element;
326
+ teleportDisable: boolean;
327
+ safeAreaInsetBottom: boolean;
328
+ cancelText: string;
329
+ okText: string;
330
+ noFooter: boolean;
331
+ noOkBtn: boolean;
332
+ noCancelBtn: boolean;
333
+ cancelAutoClose: boolean;
334
+ textAlign: string;
335
+ closeOnPopstate: boolean;
336
+ footerDirection: string;
337
+ customClass: string;
338
+ }>>;
339
+ export default _default;
340
+
341
+ declare module 'vue' {
342
+ interface GlobalComponents {
343
+ NutDialog: typeof _default;
344
+ }
345
+ }
@@ -0,0 +1,53 @@
1
+
2
+ declare type Install<T> = T & {
3
+ install(app: import('vue').App): void;
4
+ };
5
+ declare const _default: Install< import("vue").DefineComponent<{
6
+ contentPosition: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ dashed: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ hairline: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ direction: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ }, {
23
+ classes: import("vue").ComputedRef<{}>;
24
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ contentPosition: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ dashed: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ hairline: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ direction: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ }>>, {
42
+ dashed: boolean;
43
+ direction: string;
44
+ contentPosition: string;
45
+ hairline: boolean;
46
+ }>>;
47
+ export default _default;
48
+
49
+ declare module 'vue' {
50
+ interface GlobalComponents {
51
+ NutDivider: typeof _default;
52
+ }
53
+ }
@@ -0,0 +1,62 @@
1
+
2
+ declare type Install<T> = T & {
3
+ install(app: import('vue').App): void;
4
+ };
5
+ declare const _default: Install< import("vue").DefineComponent<{
6
+ attract: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ direction: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ boundary: {
15
+ type: ObjectConstructor;
16
+ default: () => {
17
+ top: number;
18
+ left: number;
19
+ right: number;
20
+ bottom: number;
21
+ };
22
+ };
23
+ }, {
24
+ classes: import("vue").ComputedRef<{
25
+ "nut-taro-drag": boolean;
26
+ }>;
27
+ myDrag: import("vue").Ref<any>;
28
+ touchStart: (e: TouchEvent) => void;
29
+ touchMove: (e: TouchEvent) => void;
30
+ touchEnd: (e: TouchEvent) => void;
31
+ state: any;
32
+ refRandomId: string;
33
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
34
+ attract: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ direction: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ boundary: {
43
+ type: ObjectConstructor;
44
+ default: () => {
45
+ top: number;
46
+ left: number;
47
+ right: number;
48
+ bottom: number;
49
+ };
50
+ };
51
+ }>>, {
52
+ direction: string;
53
+ attract: boolean;
54
+ boundary: Record<string, any>;
55
+ }>>;
56
+ export default _default;
57
+
58
+ declare module 'vue' {
59
+ interface GlobalComponents {
60
+ NutDrag: typeof _default;
61
+ }
62
+ }
@@ -0,0 +1,128 @@
1
+ import { Ref } from 'vue';
2
+ import type { PropType } from 'vue';
3
+ export interface dataList {
4
+ price: string | number;
5
+ }
6
+
7
+ declare type Install<T> = T & {
8
+ install(app: import('vue').App): void;
9
+ };
10
+ declare const _default: Install< import("vue").DefineComponent<{
11
+ chooseText: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ otherValueText: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ dataList: {
20
+ type: PropType<dataList[]>;
21
+ default: () => never[];
22
+ };
23
+ cardAmountMin: {
24
+ type: NumberConstructor;
25
+ default: number;
26
+ };
27
+ cardAmountMax: {
28
+ type: NumberConstructor;
29
+ default: number;
30
+ };
31
+ cardBuyMin: {
32
+ type: NumberConstructor;
33
+ default: number;
34
+ };
35
+ cardBuyMax: {
36
+ type: NumberConstructor;
37
+ default: number;
38
+ };
39
+ modelValue: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ placeholder: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ suffix: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ }, {
52
+ handleClick: (item: {
53
+ price: number | string;
54
+ }, index: number) => void;
55
+ changeStep: (value: number) => void;
56
+ change: (event: Event) => void;
57
+ inputClick: () => void;
58
+ stepValue: Ref<number>;
59
+ currentIndex: Ref<string | number | null>;
60
+ inputValue: Ref<string | number | undefined>;
61
+ money: Ref<string | number | undefined>;
62
+ translate: (keyPath: string, ...args: unknown[]) => string;
63
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "inputChange" | "changeStep" | "inputClick")[], "change" | "update:modelValue" | "inputChange" | "changeStep" | "inputClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
64
+ chooseText: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ };
68
+ otherValueText: {
69
+ type: StringConstructor;
70
+ default: string;
71
+ };
72
+ dataList: {
73
+ type: PropType<dataList[]>;
74
+ default: () => never[];
75
+ };
76
+ cardAmountMin: {
77
+ type: NumberConstructor;
78
+ default: number;
79
+ };
80
+ cardAmountMax: {
81
+ type: NumberConstructor;
82
+ default: number;
83
+ };
84
+ cardBuyMin: {
85
+ type: NumberConstructor;
86
+ default: number;
87
+ };
88
+ cardBuyMax: {
89
+ type: NumberConstructor;
90
+ default: number;
91
+ };
92
+ modelValue: {
93
+ type: NumberConstructor;
94
+ default: number;
95
+ };
96
+ placeholder: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ suffix: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ }>> & {
105
+ onChange?: ((...args: any[]) => any) | undefined;
106
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
107
+ onInputChange?: ((...args: any[]) => any) | undefined;
108
+ onChangeStep?: ((...args: any[]) => any) | undefined;
109
+ onInputClick?: ((...args: any[]) => any) | undefined;
110
+ }, {
111
+ modelValue: number;
112
+ chooseText: string;
113
+ otherValueText: string;
114
+ dataList: dataList[];
115
+ cardAmountMin: number;
116
+ cardAmountMax: number;
117
+ cardBuyMin: number;
118
+ cardBuyMax: number;
119
+ placeholder: string;
120
+ suffix: string;
121
+ }>>;
122
+ export default _default;
123
+
124
+ declare module 'vue' {
125
+ interface GlobalComponents {
126
+ NutEcard: typeof _default;
127
+ }
128
+ }
@@ -0,0 +1,117 @@
1
+ import { Ref, PropType } from 'vue';
2
+ import { ElevatorData } from './type';
3
+ import Taro from '@tarojs/taro';
4
+
5
+ declare type Install<T> = T & {
6
+ install(app: import('vue').App): void;
7
+ };
8
+ declare const _default: Install< import("vue").DefineComponent<{
9
+ height: {
10
+ type: (NumberConstructor | StringConstructor)[];
11
+ default: string;
12
+ };
13
+ acceptKey: {
14
+ type: StringConstructor[];
15
+ default: string;
16
+ };
17
+ indexList: {
18
+ type: PropType<any[]>;
19
+ default: () => never[];
20
+ };
21
+ isSticky: {
22
+ type: BooleanConstructor[];
23
+ default: boolean;
24
+ };
25
+ spaceHeight: {
26
+ type: NumberConstructor[];
27
+ default: number;
28
+ };
29
+ titleHeight: {
30
+ type: NumberConstructor[];
31
+ default: number;
32
+ };
33
+ }, {
34
+ clientHeight: import("vue").ComputedRef<number>;
35
+ fixedStyle: import("vue").ComputedRef<{
36
+ height: string;
37
+ }>;
38
+ setListGroup: (el: any) => void;
39
+ listview: Ref<HTMLElement>;
40
+ touchStart: (e: TouchEvent) => void;
41
+ touchMove: (e: TouchEvent) => void;
42
+ touchEnd: () => void;
43
+ handleClickItem: (key: string, item: ElevatorData) => void;
44
+ handleClickIndex: (key: string) => void;
45
+ listViewScroll: (e: Event) => void;
46
+ anchorIndex: Ref<number>;
47
+ codeIndex: Ref<number>;
48
+ listHeight: Ref<number[]>;
49
+ listGroup: Ref<HTMLLIElement[]>;
50
+ touchState: Ref<{
51
+ y1: number;
52
+ y2: number;
53
+ }>;
54
+ scrollStart: Ref<boolean>;
55
+ currentIndex: Ref<number>;
56
+ query: Ref<{
57
+ exec: (callback?: ((...args: any[]) => any) | undefined) => Taro.NodesRef;
58
+ in: (component: TaroGeneral.IAnyObject) => Taro.SelectorQuery;
59
+ select: (selector: string) => Taro.NodesRef;
60
+ selectAll: (selector: string) => Taro.NodesRef;
61
+ selectViewport: () => Taro.NodesRef;
62
+ }>;
63
+ scrollTop: Ref<number>;
64
+ currentData: Ref<{
65
+ [x: string]: string | number;
66
+ name: string;
67
+ id: string | number;
68
+ }>;
69
+ currentKey: Ref<string>;
70
+ scrollY: Ref<number>;
71
+ classes: import("vue").ComputedRef<{
72
+ [x: string]: boolean;
73
+ }>;
74
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click-item" | "click-index" | "change")[], "click-item" | "click-index" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
75
+ height: {
76
+ type: (NumberConstructor | StringConstructor)[];
77
+ default: string;
78
+ };
79
+ acceptKey: {
80
+ type: StringConstructor[];
81
+ default: string;
82
+ };
83
+ indexList: {
84
+ type: PropType<any[]>;
85
+ default: () => never[];
86
+ };
87
+ isSticky: {
88
+ type: BooleanConstructor[];
89
+ default: boolean;
90
+ };
91
+ spaceHeight: {
92
+ type: NumberConstructor[];
93
+ default: number;
94
+ };
95
+ titleHeight: {
96
+ type: NumberConstructor[];
97
+ default: number;
98
+ };
99
+ }>> & {
100
+ onChange?: ((...args: any[]) => any) | undefined;
101
+ "onClick-item"?: ((...args: any[]) => any) | undefined;
102
+ "onClick-index"?: ((...args: any[]) => any) | undefined;
103
+ }, {
104
+ height: string | number;
105
+ acceptKey: string;
106
+ indexList: any[];
107
+ isSticky: boolean;
108
+ spaceHeight: number;
109
+ titleHeight: number;
110
+ }>>;
111
+ export default _default;
112
+
113
+ declare module 'vue' {
114
+ interface GlobalComponents {
115
+ NutElevator: typeof _default;
116
+ }
117
+ }