@nutui/nutui 4.3.0-beta.1 → 4.3.0-beta.2

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 (155) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/nutui.es.js +1 -1
  3. package/dist/nutui.js +4095 -4104
  4. package/dist/nutui.umd.js +1 -1
  5. package/dist/packages/addresslist/AddressList.js +4 -3
  6. package/dist/packages/audiooperate/AudioOperate.js +3 -2
  7. package/dist/packages/avatar/index.css +1 -1
  8. package/dist/packages/avatar/index.scss +1 -1
  9. package/dist/packages/avatarcropper/AvatarCropper.js +10 -5
  10. package/dist/packages/avatarcropper/index.css +1 -1
  11. package/dist/packages/avatarcropper/index.scss +3 -0
  12. package/dist/packages/button/Button.js +58 -39
  13. package/dist/packages/calendarcard/CalendarCard.js +113 -109
  14. package/dist/packages/dialog/Dialog.js +4 -3
  15. package/dist/packages/divider/Divider.js +40 -18
  16. package/dist/packages/invoice/Invoice.js +3 -2
  17. package/dist/packages/signature/Signature.js +3 -2
  18. package/dist/packages/skeleton/index.css +1 -1
  19. package/dist/packages/with-install-p59gYYU_.js +12 -0
  20. package/dist/smartips/web-types.json +10 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/__VUE/actionsheet/index.vue.d.ts +7 -7
  23. package/dist/types/__VUE/address/index.vue.d.ts +11 -11
  24. package/dist/types/__VUE/addresslist/index.vue.d.ts +5 -5
  25. package/dist/types/__VUE/animate/index.vue.d.ts +4 -4
  26. package/dist/types/__VUE/audio/index.vue.d.ts +6 -6
  27. package/dist/types/__VUE/audiooperate/index.vue.d.ts +4 -4
  28. package/dist/types/__VUE/avatar/index.vue.d.ts +5 -5
  29. package/dist/types/__VUE/avatarcropper/index.vue.d.ts +16 -7
  30. package/dist/types/__VUE/avatarcropper/types.d.ts +1 -0
  31. package/dist/types/__VUE/avatargroup/index.vue.d.ts +5 -5
  32. package/dist/types/__VUE/backtop/index.vue.d.ts +6 -6
  33. package/dist/types/__VUE/badge/index.vue.d.ts +6 -6
  34. package/dist/types/__VUE/barrage/index.vue.d.ts +5 -5
  35. package/dist/types/__VUE/button/{index.vue.d.ts → button.vue.d.ts} +36 -27
  36. package/dist/types/__VUE/button/index.d.ts +5 -0
  37. package/dist/types/__VUE/calendar/index.vue.d.ts +7 -7
  38. package/dist/types/__VUE/calendarcard/{index.vue.d.ts → calendar-card.vue.d.ts} +47 -30
  39. package/dist/types/__VUE/calendarcard/index.d.ts +5 -0
  40. package/dist/types/__VUE/calendaritem/index.vue.d.ts +10 -10
  41. package/dist/types/__VUE/card/index.vue.d.ts +4 -4
  42. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +4 -4
  43. package/dist/types/__VUE/cascader/index.vue.d.ts +7 -7
  44. package/dist/types/__VUE/category/index.vue.d.ts +4 -4
  45. package/dist/types/__VUE/categorypane/index.vue.d.ts +4 -4
  46. package/dist/types/__VUE/cell/index.vue.d.ts +7 -7
  47. package/dist/types/__VUE/cellgroup/index.vue.d.ts +4 -4
  48. package/dist/types/__VUE/checkbox/index.vue.d.ts +6 -6
  49. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +4 -4
  50. package/dist/types/__VUE/circleprogress/index.vue.d.ts +5 -5
  51. package/dist/types/__VUE/col/index.vue.d.ts +4 -4
  52. package/dist/types/__VUE/collapse/index.vue.d.ts +4 -4
  53. package/dist/types/__VUE/collapseitem/index.vue.d.ts +7 -7
  54. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +1 -1
  55. package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +1 -1
  56. package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +1 -1
  57. package/dist/types/__VUE/comment/index.vue.d.ts +9 -9
  58. package/dist/types/__VUE/configprovider/index.vue.d.ts +5 -5
  59. package/dist/types/__VUE/countdown/index.vue.d.ts +4 -4
  60. package/dist/types/__VUE/countup/index.vue.d.ts +8 -8
  61. package/dist/types/__VUE/datepicker/index.vue.d.ts +9 -9
  62. package/dist/types/__VUE/dialog/index.vue.d.ts +7 -7
  63. package/dist/types/__VUE/divider/divider.vue.d.ts +56 -0
  64. package/dist/types/__VUE/divider/index.d.ts +5 -0
  65. package/dist/types/__VUE/drag/index.vue.d.ts +4 -4
  66. package/dist/types/__VUE/ecard/index.vue.d.ts +7 -7
  67. package/dist/types/__VUE/elevator/index.vue.d.ts +4 -4
  68. package/dist/types/__VUE/ellipsis/index.vue.d.ts +7 -7
  69. package/dist/types/__VUE/empty/index.vue.d.ts +4 -4
  70. package/dist/types/__VUE/fixednav/index.vue.d.ts +6 -6
  71. package/dist/types/__VUE/form/index.vue.d.ts +4 -4
  72. package/dist/types/__VUE/formitem/index.vue.d.ts +4 -4
  73. package/dist/types/__VUE/grid/index.vue.d.ts +6 -6
  74. package/dist/types/__VUE/griditem/index.vue.d.ts +4 -4
  75. package/dist/types/__VUE/image/index.vue.d.ts +8 -8
  76. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +5 -5
  77. package/dist/types/__VUE/imagepreview/index.vue.d.ts +9 -9
  78. package/dist/types/__VUE/indicator/index.vue.d.ts +5 -5
  79. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +4 -4
  80. package/dist/types/__VUE/input/index.vue.d.ts +15 -15
  81. package/dist/types/__VUE/inputnumber/index.vue.d.ts +7 -7
  82. package/dist/types/__VUE/invoice/index.vue.d.ts +6 -6
  83. package/dist/types/__VUE/layout/index.vue.d.ts +4 -4
  84. package/dist/types/__VUE/list/index.vue.d.ts +6 -6
  85. package/dist/types/__VUE/menu/index.vue.d.ts +7 -7
  86. package/dist/types/__VUE/menuitem/index.vue.d.ts +4 -4
  87. package/dist/types/__VUE/navbar/index.vue.d.ts +6 -6
  88. package/dist/types/__VUE/noticebar/index.vue.d.ts +7 -7
  89. package/dist/types/__VUE/notify/index.vue.d.ts +7 -7
  90. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +8 -8
  91. package/dist/types/__VUE/overlay/index.vue.d.ts +4 -4
  92. package/dist/types/__VUE/pagination/index.vue.d.ts +5 -5
  93. package/dist/types/__VUE/picker/Column.vue.d.ts +7 -7
  94. package/dist/types/__VUE/picker/baseProps.d.ts +4 -4
  95. package/dist/types/__VUE/picker/index.vue.d.ts +6 -6
  96. package/dist/types/__VUE/popover/index.vue.d.ts +9 -9
  97. package/dist/types/__VUE/popup/index.vue.d.ts +6 -6
  98. package/dist/types/__VUE/price/index.vue.d.ts +4 -4
  99. package/dist/types/__VUE/progress/index.vue.d.ts +6 -6
  100. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +4 -4
  101. package/dist/types/__VUE/radio/index.vue.d.ts +8 -8
  102. package/dist/types/__VUE/radiogroup/index.vue.d.ts +7 -7
  103. package/dist/types/__VUE/range/index.vue.d.ts +8 -8
  104. package/dist/types/__VUE/rate/index.vue.d.ts +9 -9
  105. package/dist/types/__VUE/row/index.vue.d.ts +5 -5
  106. package/dist/types/__VUE/searchbar/index.vue.d.ts +15 -15
  107. package/dist/types/__VUE/shortpassword/index.vue.d.ts +5 -5
  108. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +4 -4
  109. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +4 -4
  110. package/dist/types/__VUE/signature/index.vue.d.ts +6 -6
  111. package/dist/types/__VUE/skeleton/index.vue.d.ts +7 -7
  112. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +2 -2
  113. package/dist/types/__VUE/sku/index.vue.d.ts +6 -6
  114. package/dist/types/__VUE/space/index.vue.d.ts +4 -4
  115. package/dist/types/__VUE/step/index.vue.d.ts +4 -4
  116. package/dist/types/__VUE/steps/index.vue.d.ts +5 -5
  117. package/dist/types/__VUE/sticky/index.vue.d.ts +5 -5
  118. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +4 -4
  119. package/dist/types/__VUE/swipe/index.vue.d.ts +4 -4
  120. package/dist/types/__VUE/swipegroup/index.vue.d.ts +4 -4
  121. package/dist/types/__VUE/swiper/index.vue.d.ts +5 -5
  122. package/dist/types/__VUE/swiperitem/index.vue.d.ts +4 -4
  123. package/dist/types/__VUE/switch/index.vue.d.ts +13 -13
  124. package/dist/types/__VUE/tabbar/index.vue.d.ts +6 -6
  125. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +6 -6
  126. package/dist/types/__VUE/table/index.vue.d.ts +4 -4
  127. package/dist/types/__VUE/table/renderColumn.d.ts +4 -4
  128. package/dist/types/__VUE/tabpane/index.vue.d.ts +5 -5
  129. package/dist/types/__VUE/tabs/index.vue.d.ts +10 -10
  130. package/dist/types/__VUE/tag/index.vue.d.ts +8 -8
  131. package/dist/types/__VUE/textarea/index.vue.d.ts +11 -11
  132. package/dist/types/__VUE/timedetail/index.vue.d.ts +4 -4
  133. package/dist/types/__VUE/timepannel/index.vue.d.ts +4 -4
  134. package/dist/types/__VUE/timeselect/index.vue.d.ts +5 -5
  135. package/dist/types/__VUE/toast/index.vue.d.ts +10 -10
  136. package/dist/types/__VUE/tour/index.vue.d.ts +9 -9
  137. package/dist/types/__VUE/trendarrow/index.vue.d.ts +5 -5
  138. package/dist/types/__VUE/uploader/index.vue.d.ts +10 -10
  139. package/dist/types/__VUE/video/index.vue.d.ts +5 -5
  140. package/dist/types/__VUE/watermark/index.vue.d.ts +7 -7
  141. package/dist/types/index.d.ts +7 -4
  142. package/dist/types/utils/canvas.d.ts +1 -1
  143. package/dist/types/utils/create/renderIcon.d.ts +2 -2
  144. package/dist/types/utils/index.d.ts +1 -0
  145. package/dist/types/utils/with-install.d.ts +5 -0
  146. package/package.json +1 -1
  147. package/dist/types/__VUE/address/address-list.d.ts +0 -30
  148. package/dist/types/__VUE/calendarcard/icon.taro.d.ts +0 -12
  149. package/dist/types/__VUE/divider/index.vue.d.ts +0 -71
  150. package/dist/types/__VUE/icon/index.vue.d.ts +0 -13
  151. package/dist/types/__VUE/invoice/types.d.ts +0 -6
  152. package/dist/types/__VUE/picker/doc.en.d.ts +0 -90
  153. package/dist/types/__VUE/sku/data.d.ts +0 -22
  154. package/dist/types/__VUE/tour/type.d.ts +0 -2
  155. /package/dist/types/__VUE/button/{type.d.ts → types.d.ts} +0 -0
@@ -3,7 +3,7 @@ import { FileItem } from './type';
3
3
  import { Interceptor } from '@/packages/utils/util';
4
4
 
5
5
  declare type Install<T> = T & {
6
- install(app: import('vue').App): void;
6
+ install(app: import('vue').App): void;
7
7
  };
8
8
  declare const _default: Install< import("vue").DefineComponent<{
9
9
  name: {
@@ -121,7 +121,7 @@ declare const _default: Install< import("vue").DefineComponent<{
121
121
  renderInput: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
122
122
  [key: string]: any;
123
123
  }>;
124
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "progress" | "change" | "start" | "success" | "oversize" | "failure" | "update:fileList" | "fileItemClick")[], "delete" | "progress" | "change" | "start" | "success" | "oversize" | "failure" | "update:fileList" | "fileItemClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
124
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "progress" | "delete" | "change" | "start" | "oversize" | "failure" | "update:fileList" | "fileItemClick")[], "success" | "progress" | "delete" | "change" | "start" | "oversize" | "failure" | "update:fileList" | "fileItemClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
125
125
  name: {
126
126
  type: StringConstructor;
127
127
  default: string;
@@ -218,23 +218,22 @@ declare const _default: Install< import("vue").DefineComponent<{
218
218
  type: FunctionConstructor;
219
219
  };
220
220
  }>> & {
221
- onProgress?: ((...args: any[]) => any) | undefined;
222
221
  onChange?: ((...args: any[]) => any) | undefined;
223
- onDelete?: ((...args: any[]) => any) | undefined;
222
+ onProgress?: ((...args: any[]) => any) | undefined;
224
223
  onStart?: ((...args: any[]) => any) | undefined;
225
224
  onFailure?: ((...args: any[]) => any) | undefined;
226
225
  onSuccess?: ((...args: any[]) => any) | undefined;
226
+ onDelete?: ((...args: any[]) => any) | undefined;
227
227
  onOversize?: ((...args: any[]) => any) | undefined;
228
228
  "onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
229
229
  onFileItemClick?: ((...args: any[]) => any) | undefined;
230
230
  }, {
231
231
  name: string;
232
+ disabled: boolean;
232
233
  data: Record<string, any>;
234
+ url: string;
233
235
  maximum: string | number;
234
236
  multiple: boolean;
235
- disabled: boolean;
236
- url: string;
237
- accept: string;
238
237
  timeout: string | number;
239
238
  fileList: any[];
240
239
  isPreview: boolean;
@@ -244,6 +243,7 @@ declare const _default: Install< import("vue").DefineComponent<{
244
243
  capture: boolean;
245
244
  maximize: string | number;
246
245
  clearInput: boolean;
246
+ accept: string;
247
247
  headers: Record<string, any>;
248
248
  xhrState: string | number;
249
249
  withCredentials: boolean;
@@ -255,7 +255,7 @@ declare const _default: Install< import("vue").DefineComponent<{
255
255
  export default _default;
256
256
 
257
257
  declare module 'vue' {
258
- interface GlobalComponents {
259
- NutUploader: typeof _default;
260
- }
258
+ interface GlobalComponents {
259
+ NutUploader: typeof _default;
260
+ }
261
261
  }
@@ -1,7 +1,7 @@
1
1
  import { Ref } from 'vue';
2
2
 
3
3
  declare type Install<T> = T & {
4
- install(app: import('vue').App): void;
4
+ install(app: import('vue').App): void;
5
5
  };
6
6
  declare const _default: Install< import("vue").DefineComponent<{
7
7
  source: {
@@ -80,7 +80,7 @@ declare const _default: Install< import("vue").DefineComponent<{
80
80
  onTime: Ref<((...args: any[]) => any) | undefined>;
81
81
  onPlayend: Ref<((...args: any[]) => any) | undefined>;
82
82
  root: Ref<any>;
83
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("time" | "click" | "pause" | "play" | "playend")[], "time" | "click" | "pause" | "play" | "playend", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
83
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "time" | "pause" | "play" | "playend")[], "click" | "time" | "pause" | "play" | "playend", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
84
84
  source: {
85
85
  type: ObjectConstructor;
86
86
  default: {};
@@ -119,7 +119,7 @@ declare const _default: Install< import("vue").DefineComponent<{
119
119
  export default _default;
120
120
 
121
121
  declare module 'vue' {
122
- interface GlobalComponents {
123
- NutVideo: typeof _default;
124
- }
122
+ interface GlobalComponents {
123
+ NutVideo: typeof _default;
124
+ }
125
125
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  declare type Install<T> = T & {
3
- install(app: import('vue').App): void;
3
+ install(app: import('vue').App): void;
4
4
  };
5
5
  declare const _default: Install< import("vue").DefineComponent<{
6
6
  name: {
@@ -175,13 +175,13 @@ declare const _default: Install< import("vue").DefineComponent<{
175
175
  onClick?: ((...args: any[]) => any) | undefined;
176
176
  }, {
177
177
  name: string;
178
+ width: number;
179
+ height: number;
178
180
  image: string;
179
181
  zIndex: number;
180
182
  content: string | string[];
181
- width: number;
182
- height: number;
183
- rotate: number;
184
183
  fontSize: string | number;
184
+ rotate: number;
185
185
  gapY: number;
186
186
  gapX: number;
187
187
  imageWidth: number;
@@ -195,7 +195,7 @@ declare const _default: Install< import("vue").DefineComponent<{
195
195
  export default _default;
196
196
 
197
197
  declare module 'vue' {
198
- interface GlobalComponents {
199
- NutWatermark: typeof _default;
200
- }
198
+ interface GlobalComponents {
199
+ NutWatermark: typeof _default;
200
+ }
201
201
  }
@@ -1,6 +1,7 @@
1
1
  import { App } from 'vue';
2
2
  import Locale from './locale';
3
- import Button from './__VUE/button/index.vue';
3
+ import Button from './__VUE/button/index';
4
+ export * from './__VUE/button/index';
4
5
  import Cell from './__VUE/cell/index.vue';
5
6
  import CellGroup from './__VUE/cellgroup/index.vue';
6
7
  import Overlay from './__VUE/overlay/index.vue';
@@ -11,7 +12,8 @@ import Layout from './__VUE/layout/index.vue';
11
12
  import Col from './__VUE/col/index.vue';
12
13
  import Row from './__VUE/row/index.vue';
13
14
  import Sticky from './__VUE/sticky/index.vue';
14
- import Divider from './__VUE/divider/index.vue';
15
+ import Divider from './__VUE/divider/index';
16
+ export * from './__VUE/divider/index';
15
17
  import Grid from './__VUE/grid/index.vue';
16
18
  import GridItem from './__VUE/griditem/index.vue';
17
19
  import Space from './__VUE/space/index.vue';
@@ -33,7 +35,8 @@ import Range from './__VUE/range/index.vue';
33
35
  import Searchbar from './__VUE/searchbar/index.vue';
34
36
  import Cascader from './__VUE/cascader/index.vue';
35
37
  import Calendar from './__VUE/calendar/index.vue';
36
- import CalendarCard from './__VUE/calendarcard/index.vue';
38
+ import CalendarCard from './__VUE/calendarcard/index';
39
+ export * from './__VUE/calendarcard/index';
37
40
  import Checkbox from './__VUE/checkbox/index.vue';
38
41
  import CheckboxGroup from './__VUE/checkboxgroup/index.vue';
39
42
  import DatePicker from './__VUE/datepicker/index.vue';
@@ -111,7 +114,7 @@ import Comment from './__VUE/comment/index.vue';
111
114
  import Invoice from './__VUE/invoice/index.vue';
112
115
  import AvatarCropper from './__VUE/avatarcropper/index.vue';
113
116
  declare function install(app: App): void;
114
- declare const version = "4.3.0-beta.1";
117
+ declare const version = "4.3.0-beta.2";
115
118
  export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Space, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, CalendarCard, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, AvatarCropper, showDialog, showNotify, showToast, showImagePreview };
116
119
  declare const _default: {
117
120
  install: typeof install;
@@ -1,6 +1,6 @@
1
1
  import Taro from '@tarojs/taro';
2
2
  import CanvasContext = Taro.CanvasContext;
3
- declare const compareVersion: (v1Old: string, v2Old: string) => 1 | 0 | -1;
3
+ declare const compareVersion: (v1Old: string, v2Old: string) => 1 | -1 | 0;
4
4
  declare function easySetStrokeStyle(systemInfo: Taro.getSystemInfoSync.Result, canvasContext: CanvasContext, color: string | CanvasGradient): void;
5
5
  declare function easySetLineWidth(systemInfo: Taro.getSystemInfoSync.Result, canvasContext: CanvasContext, lineWidth: number): void;
6
6
  declare function easySetFillStyle(systemInfo: Taro.getSystemInfoSync.Result, canvasContext: CanvasContext, color: string | CanvasGradient): void;
@@ -1,4 +1,4 @@
1
1
  import { Component } from 'vue';
2
- export declare const renderIcon: (icon: Component, props?: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ export declare const renderIcon: (icon: Component, props?: any) => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
3
  [key: string]: any;
4
- }> | "";
4
+ }>;
@@ -1 +1,2 @@
1
1
  export * from './useRelation';
2
+ export * from './with-install';
@@ -0,0 +1,5 @@
1
+ import type { App, Component } from 'vue';
2
+ export type WithInstall<T> = T & {
3
+ install(app: App): void;
4
+ };
5
+ export declare const withInstall: <T extends Component>(comp: T) => WithInstall<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui",
3
- "version": "4.3.0-beta.1",
3
+ "version": "4.3.0-beta.2",
4
4
  "description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
5
5
  "main": "dist/nutui.umd.js",
6
6
  "module": "dist/nutui.es.js",
@@ -1,30 +0,0 @@
1
- declare const addressListData: {
2
- province: {
3
- id: number;
4
- name: string;
5
- title: string;
6
- }[];
7
- city: {
8
- id: number;
9
- name: string;
10
- title: string;
11
- }[];
12
- country: {
13
- id: number;
14
- name: string;
15
- title: string;
16
- }[];
17
- town: never[];
18
- };
19
- declare const addressExistData: {
20
- id: number;
21
- addressDetail: string;
22
- cityName: string;
23
- countyName: string;
24
- provinceName: string;
25
- selectedAddress: boolean;
26
- townName: string;
27
- name: string;
28
- phone: string;
29
- }[];
30
- export { addressListData, addressExistData };
@@ -1,12 +0,0 @@
1
- export declare const Left: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
- [key: string]: any;
3
- }>;
4
- export declare const Right: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
5
- [key: string]: any;
6
- }>;
7
- export declare const DoubleLeft: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
8
- [key: string]: any;
9
- }>;
10
- export declare const DoubleRight: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
- [key: string]: any;
12
- }>;
@@ -1,71 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { DividerDirection, DividerPosition } from './types';
3
-
4
- declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
6
- };
7
- declare const _default: Install< import("vue").DefineComponent<{
8
- contentPosition: {
9
- type: PropType<DividerPosition>;
10
- default: string;
11
- };
12
- dashed: {
13
- type: BooleanConstructor;
14
- default: boolean;
15
- };
16
- hairline: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- direction: {
21
- type: PropType<DividerDirection>;
22
- default: string;
23
- };
24
- }, {
25
- classes: import("vue").ComputedRef<{
26
- "nut-divider": boolean;
27
- "nut-divider-center": import("vue").Slot<any> | undefined;
28
- "nut-divider-left": boolean;
29
- "nut-divider-right": boolean;
30
- "nut-divider-dashed": boolean;
31
- "nut-divider-hairline": boolean;
32
- "nut-divider-vertical"?: undefined;
33
- } | {
34
- "nut-divider": boolean;
35
- "nut-divider-vertical": boolean;
36
- "nut-divider-center"?: undefined;
37
- "nut-divider-left"?: undefined;
38
- "nut-divider-right"?: undefined;
39
- "nut-divider-dashed"?: undefined;
40
- "nut-divider-hairline"?: undefined;
41
- }>;
42
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
- contentPosition: {
44
- type: PropType<DividerPosition>;
45
- default: string;
46
- };
47
- dashed: {
48
- type: BooleanConstructor;
49
- default: boolean;
50
- };
51
- hairline: {
52
- type: BooleanConstructor;
53
- default: boolean;
54
- };
55
- direction: {
56
- type: PropType<DividerDirection>;
57
- default: string;
58
- };
59
- }>>, {
60
- dashed: boolean;
61
- direction: DividerDirection;
62
- contentPosition: DividerPosition;
63
- hairline: boolean;
64
- }, {}>>;
65
- export default _default;
66
-
67
- declare module 'vue' {
68
- interface GlobalComponents {
69
- NutDivider: typeof _default;
70
- }
71
- }
@@ -1,13 +0,0 @@
1
- import '@nutui/icons-vue/dist/style_iconfont.css';
2
-
3
- declare type Install<T> = T & {
4
- install(app: import('vue').App): void;
5
- };
6
- declare const _default: Install< import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
7
- export default _default;
8
-
9
- declare module 'vue' {
10
- interface GlobalComponents {
11
- NutIcon: typeof _default;
12
- }
13
- }
@@ -1,6 +0,0 @@
1
- export declare class FormItemRule {
2
- regex?: RegExp;
3
- required?: boolean;
4
- message: string;
5
- validator?: (value: any) => boolean | string | Promise<boolean | string>;
6
- }
@@ -1,90 +0,0 @@
1
- export declare const Internation: {
2
- 'zh-CN': {
3
- basic: string;
4
- chooseCity: string;
5
- defaultSelected: string;
6
- '3d': string;
7
- popupDesc: string;
8
- customFieldNames: string;
9
- multipleColumns: string;
10
- chooseTime: string;
11
- cascade: string;
12
- async: string;
13
- custom: string;
14
- validTime: string;
15
- chooseDate: string;
16
- always: string;
17
- monday: string;
18
- tuesday: string;
19
- wednesday: string;
20
- thursday: string;
21
- friday: string;
22
- morning: string;
23
- afternoon: string;
24
- evening: string;
25
- nanJing: string;
26
- wuXi: string;
27
- zangZu: string;
28
- beiJing: string;
29
- lianYunGang: string;
30
- zheJiang: string;
31
- jiangSu: string;
32
- hangZhou: string;
33
- xiHu: string;
34
- yuHang: string;
35
- wenZhou: string;
36
- luCheng: string;
37
- ouHai: string;
38
- fuJian: string;
39
- fuZhou: string;
40
- xiaMen: string;
41
- guLou: string;
42
- taiJiang: string;
43
- siMing: string;
44
- haiCang: string;
45
- };
46
- 'en-US': {
47
- basic: string;
48
- chooseCity: string;
49
- defaultSelected: string;
50
- '3d': string;
51
- popupDesc: string;
52
- customFieldNames: string;
53
- multipleColumns: string;
54
- chooseTime: string;
55
- cascade: string;
56
- async: string;
57
- custom: string;
58
- validTime: string;
59
- chooseDate: string;
60
- always: string;
61
- monday: string;
62
- tuesday: string;
63
- wednesday: string;
64
- thursday: string;
65
- friday: string;
66
- morning: string;
67
- afternoon: string;
68
- evening: string;
69
- nanJing: string;
70
- wuXi: string;
71
- zangZu: string;
72
- beiJing: string;
73
- lianYunGang: string;
74
- zheJiang: string;
75
- jiangSu: string;
76
- hangZhou: string;
77
- xiHu: string;
78
- yuHang: string;
79
- wenZhou: string;
80
- luCheng: string;
81
- ouHai: string;
82
- fuJian: string;
83
- fuZhou: string;
84
- xiaMen: string;
85
- guLou: string;
86
- taiJiang: string;
87
- siMing: string;
88
- haiCang: string;
89
- };
90
- };
@@ -1,22 +0,0 @@
1
- export declare const Sku: {
2
- id: number;
3
- name: string;
4
- list: {
5
- name: string;
6
- id: number;
7
- active: boolean;
8
- disable: boolean;
9
- }[];
10
- }[];
11
- export declare const Goods: {
12
- skuId: string;
13
- price: string;
14
- imagePath: string;
15
- };
16
- export declare const imagePathMap: {
17
- 100016015112: string;
18
- 100016015142: string;
19
- 100016015078: string;
20
- 100009064831: string;
21
- 100009064830: string;
22
- };
@@ -1,2 +0,0 @@
1
- export type PopoverTheme = 'light' | 'dark';
2
- export type PopoverLocation = 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';