@kengic/uni 0.3.2-beta.4 → 0.3.2-beta.5

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 (255) hide show
  1. package/dist/kengic-uni.js +2 -1527
  2. package/dist/src/index.d.ts +0 -1
  3. package/dist/uni-ui/index.ts +5 -0
  4. package/dist/uni-ui/uni-badge/uni-badge.vue +253 -0
  5. package/dist/uni-ui/uni-breadcrumb/uni-breadcrumb.vue +41 -0
  6. package/dist/uni-ui/uni-breadcrumb-item/uni-breadcrumb-item.vue +121 -0
  7. package/dist/uni-ui/uni-calendar/calendar.js +546 -0
  8. package/dist/uni-ui/uni-calendar/i18n/en.json +12 -0
  9. package/dist/uni-ui/uni-calendar/i18n/index.js +8 -0
  10. package/dist/uni-ui/uni-calendar/i18n/zh-Hans.json +12 -0
  11. package/dist/uni-ui/uni-calendar/i18n/zh-Hant.json +12 -0
  12. package/dist/uni-ui/uni-calendar/uni-calendar-item.vue +187 -0
  13. package/dist/uni-ui/uni-calendar/uni-calendar.vue +566 -0
  14. package/dist/uni-ui/uni-calendar/util.js +360 -0
  15. package/dist/uni-ui/uni-card/uni-card.vue +281 -0
  16. package/dist/uni-ui/uni-col/uni-col.vue +317 -0
  17. package/dist/uni-ui/uni-collapse/uni-collapse.vue +147 -0
  18. package/dist/uni-ui/uni-collapse-item/uni-collapse-item.vue +402 -0
  19. package/dist/uni-ui/uni-combox/uni-combox.vue +294 -0
  20. package/dist/uni-ui/uni-countdown/i18n/en.json +6 -0
  21. package/dist/uni-ui/uni-countdown/i18n/index.js +8 -0
  22. package/dist/uni-ui/uni-countdown/i18n/zh-Hans.json +6 -0
  23. package/dist/uni-ui/uni-countdown/i18n/zh-Hant.json +6 -0
  24. package/dist/uni-ui/uni-countdown/uni-countdown.vue +267 -0
  25. package/dist/uni-ui/uni-data-checkbox/uni-data-checkbox.vue +821 -0
  26. package/dist/uni-ui/uni-data-picker/keypress.js +45 -0
  27. package/dist/uni-ui/uni-data-picker/uni-data-picker.vue +551 -0
  28. package/dist/uni-ui/uni-data-pickerview/uni-data-picker.js +622 -0
  29. package/dist/uni-ui/uni-data-pickerview/uni-data-pickerview.vue +323 -0
  30. package/dist/uni-ui/uni-data-select/uni-data-select.vue +517 -0
  31. package/dist/uni-ui/uni-dateformat/date-format.js +200 -0
  32. package/dist/uni-ui/uni-dateformat/uni-dateformat.vue +88 -0
  33. package/dist/uni-ui/uni-datetime-picker/calendar-item.vue +177 -0
  34. package/dist/uni-ui/uni-datetime-picker/calendar.vue +928 -0
  35. package/dist/uni-ui/uni-datetime-picker/i18n/en.json +22 -0
  36. package/dist/uni-ui/uni-datetime-picker/i18n/index.js +8 -0
  37. package/dist/uni-ui/uni-datetime-picker/i18n/zh-Hans.json +22 -0
  38. package/dist/uni-ui/uni-datetime-picker/i18n/zh-Hant.json +22 -0
  39. package/dist/uni-ui/uni-datetime-picker/time-picker.vue +934 -0
  40. package/dist/uni-ui/uni-datetime-picker/uni-datetime-picker.vue +1026 -0
  41. package/dist/uni-ui/uni-datetime-picker/util.js +403 -0
  42. package/dist/uni-ui/uni-drawer/keypress.js +45 -0
  43. package/dist/uni-ui/uni-drawer/uni-drawer.vue +181 -0
  44. package/dist/uni-ui/uni-easyinput/common.js +56 -0
  45. package/dist/uni-ui/uni-easyinput/uni-easyinput.vue +660 -0
  46. package/dist/uni-ui/uni-fab/uni-fab.vue +491 -0
  47. package/dist/uni-ui/uni-fav/i18n/en.json +4 -0
  48. package/dist/uni-ui/uni-fav/i18n/index.js +8 -0
  49. package/dist/uni-ui/uni-fav/i18n/zh-Hans.json +4 -0
  50. package/dist/uni-ui/uni-fav/i18n/zh-Hant.json +4 -0
  51. package/dist/uni-ui/uni-fav/uni-fav.vue +161 -0
  52. package/dist/uni-ui/uni-file-picker/choose-and-upload-file.js +224 -0
  53. package/dist/uni-ui/uni-file-picker/uni-file-picker.vue +667 -0
  54. package/dist/uni-ui/uni-file-picker/upload-file.vue +325 -0
  55. package/dist/uni-ui/uni-file-picker/upload-image.vue +292 -0
  56. package/dist/uni-ui/uni-file-picker/utils.js +109 -0
  57. package/dist/uni-ui/uni-forms/uni-forms.vue +398 -0
  58. package/dist/uni-ui/uni-forms/utils.js +293 -0
  59. package/dist/uni-ui/uni-forms/validate.js +486 -0
  60. package/dist/uni-ui/uni-forms-item/uni-forms-item.vue +601 -0
  61. package/dist/uni-ui/uni-goods-nav/i18n/en.json +6 -0
  62. package/dist/uni-ui/uni-goods-nav/i18n/index.js +8 -0
  63. package/dist/uni-ui/uni-goods-nav/i18n/zh-Hans.json +6 -0
  64. package/dist/uni-ui/uni-goods-nav/i18n/zh-Hant.json +6 -0
  65. package/dist/uni-ui/uni-goods-nav/uni-goods-nav.vue +229 -0
  66. package/dist/uni-ui/uni-grid/uni-grid.vue +143 -0
  67. package/dist/uni-ui/uni-grid-item/uni-grid-item.vue +129 -0
  68. package/dist/uni-ui/uni-group/uni-group.vue +134 -0
  69. package/dist/uni-ui/uni-icons/icons.js +1169 -0
  70. package/dist/uni-ui/uni-icons/uni-icons.vue +96 -0
  71. package/dist/uni-ui/uni-icons/uniicons.css +663 -0
  72. package/dist/uni-ui/uni-icons/uniicons.ttf +0 -0
  73. package/dist/uni-ui/uni-indexed-list/uni-indexed-list-item.vue +144 -0
  74. package/dist/uni-ui/uni-indexed-list/uni-indexed-list.vue +367 -0
  75. package/dist/uni-ui/uni-link/uni-link.vue +128 -0
  76. package/dist/uni-ui/uni-list/uni-list.vue +123 -0
  77. package/dist/uni-ui/uni-list/uni-refresh.vue +65 -0
  78. package/dist/uni-ui/uni-list/uni-refresh.wxs +87 -0
  79. package/dist/uni-ui/uni-list-ad/uni-list-ad.vue +107 -0
  80. package/dist/uni-ui/uni-list-chat/uni-list-chat.scss +58 -0
  81. package/dist/uni-ui/uni-list-chat/uni-list-chat.vue +593 -0
  82. package/dist/uni-ui/uni-list-item/uni-list-item.vue +534 -0
  83. package/dist/uni-ui/uni-load-more/i18n/en.json +5 -0
  84. package/dist/uni-ui/uni-load-more/i18n/index.js +8 -0
  85. package/dist/uni-ui/uni-load-more/i18n/zh-Hans.json +5 -0
  86. package/dist/uni-ui/uni-load-more/i18n/zh-Hant.json +5 -0
  87. package/dist/uni-ui/uni-load-more/uni-load-more.vue +399 -0
  88. package/dist/uni-ui/uni-nav-bar/uni-nav-bar.vue +357 -0
  89. package/dist/uni-ui/uni-nav-bar/uni-status-bar.vue +24 -0
  90. package/dist/uni-ui/uni-notice-bar/uni-notice-bar.vue +426 -0
  91. package/dist/uni-ui/uni-number-box/uni-number-box.vue +221 -0
  92. package/dist/uni-ui/uni-pagination/i18n/en.json +5 -0
  93. package/dist/uni-ui/uni-pagination/i18n/es.json +5 -0
  94. package/dist/uni-ui/uni-pagination/i18n/fr.json +5 -0
  95. package/dist/uni-ui/uni-pagination/i18n/index.js +12 -0
  96. package/dist/uni-ui/uni-pagination/i18n/zh-Hans.json +5 -0
  97. package/dist/uni-ui/uni-pagination/i18n/zh-Hant.json +5 -0
  98. package/dist/uni-ui/uni-pagination/uni-pagination.vue +465 -0
  99. package/dist/uni-ui/uni-popup/i18n/en.json +7 -0
  100. package/dist/uni-ui/uni-popup/i18n/index.js +8 -0
  101. package/dist/uni-ui/uni-popup/i18n/zh-Hans.json +7 -0
  102. package/dist/uni-ui/uni-popup/i18n/zh-Hant.json +7 -0
  103. package/dist/uni-ui/uni-popup/keypress.js +45 -0
  104. package/dist/uni-ui/uni-popup/popup.js +26 -0
  105. package/dist/uni-ui/uni-popup/uni-popup.vue +473 -0
  106. package/dist/uni-ui/uni-popup-dialog/keypress.js +45 -0
  107. package/dist/uni-ui/uni-popup-dialog/uni-popup-dialog.vue +275 -0
  108. package/dist/uni-ui/uni-popup-message/uni-popup-message.vue +143 -0
  109. package/dist/uni-ui/uni-popup-share/uni-popup-share.vue +187 -0
  110. package/dist/uni-ui/uni-rate/uni-rate.vue +365 -0
  111. package/dist/uni-ui/uni-row/uni-row.vue +190 -0
  112. package/dist/uni-ui/uni-scss/changelog.md +8 -0
  113. package/dist/uni-ui/uni-scss/index.scss +1 -0
  114. package/dist/uni-ui/uni-scss/package.json +82 -0
  115. package/dist/uni-ui/uni-scss/readme.md +4 -0
  116. package/dist/uni-ui/uni-scss/styles/index.scss +7 -0
  117. package/dist/uni-ui/uni-scss/styles/setting/_border.scss +3 -0
  118. package/dist/uni-ui/uni-scss/styles/setting/_color.scss +66 -0
  119. package/dist/uni-ui/uni-scss/styles/setting/_radius.scss +55 -0
  120. package/dist/uni-ui/uni-scss/styles/setting/_space.scss +56 -0
  121. package/dist/uni-ui/uni-scss/styles/setting/_styles.scss +167 -0
  122. package/dist/uni-ui/uni-scss/styles/setting/_text.scss +24 -0
  123. package/dist/uni-ui/uni-scss/styles/setting/_variables.scss +146 -0
  124. package/dist/uni-ui/uni-scss/styles/tools/functions.scss +19 -0
  125. package/dist/uni-ui/uni-scss/theme.scss +31 -0
  126. package/dist/uni-ui/uni-scss/variables.scss +62 -0
  127. package/dist/uni-ui/uni-search-bar/i18n/en.json +4 -0
  128. package/dist/uni-ui/uni-search-bar/i18n/index.js +8 -0
  129. package/dist/uni-ui/uni-search-bar/i18n/zh-Hans.json +4 -0
  130. package/dist/uni-ui/uni-search-bar/i18n/zh-Hant.json +4 -0
  131. package/dist/uni-ui/uni-search-bar/uni-search-bar.vue +298 -0
  132. package/dist/uni-ui/uni-section/uni-section.vue +167 -0
  133. package/dist/uni-ui/uni-segmented-control/uni-segmented-control.vue +145 -0
  134. package/dist/uni-ui/uni-steps/uni-steps.vue +269 -0
  135. package/dist/uni-ui/uni-swipe-action/uni-swipe-action.vue +60 -0
  136. package/dist/uni-ui/uni-swipe-action-item/bindingx.js +302 -0
  137. package/dist/uni-ui/uni-swipe-action-item/isPC.js +12 -0
  138. package/dist/uni-ui/uni-swipe-action-item/mpalipay.js +195 -0
  139. package/dist/uni-ui/uni-swipe-action-item/mpother.js +260 -0
  140. package/dist/uni-ui/uni-swipe-action-item/mpwxs.js +84 -0
  141. package/dist/uni-ui/uni-swipe-action-item/render.js +270 -0
  142. package/dist/uni-ui/uni-swipe-action-item/uni-swipe-action-item.vue +347 -0
  143. package/dist/uni-ui/uni-swipe-action-item/wx.wxs +341 -0
  144. package/dist/uni-ui/uni-swiper-dot/uni-swiper-dot.vue +218 -0
  145. package/dist/uni-ui/uni-table/uni-table.vue +455 -0
  146. package/dist/uni-ui/uni-tag/uni-tag.vue +252 -0
  147. package/dist/uni-ui/uni-tbody/uni-tbody.vue +29 -0
  148. package/dist/uni-ui/uni-td/uni-td.vue +90 -0
  149. package/dist/uni-ui/uni-th/filter-dropdown.vue +511 -0
  150. package/dist/uni-ui/uni-th/uni-th.vue +285 -0
  151. package/dist/uni-ui/uni-thead/uni-thead.vue +129 -0
  152. package/dist/uni-ui/uni-title/uni-title.vue +171 -0
  153. package/dist/uni-ui/uni-tooltip/uni-tooltip.vue +68 -0
  154. package/dist/uni-ui/uni-tr/table-checkbox.vue +179 -0
  155. package/dist/uni-ui/uni-tr/uni-tr.vue +171 -0
  156. package/dist/uni-ui/uni-transition/createAnimation.js +131 -0
  157. package/dist/uni-ui/uni-transition/uni-transition.vue +281 -0
  158. package/package.json +1 -1
  159. package/dist/index.css +0 -1
  160. package/dist/src/components/index.d.ts +0 -5
  161. package/dist/src/components/uni-ui/uni-badge/uni-badge.vue.d.ts +0 -108
  162. package/dist/src/components/uni-ui/uni-breadcrumb/uni-breadcrumb.vue.d.ts +0 -23
  163. package/dist/src/components/uni-ui/uni-breadcrumb-item/uni-breadcrumb-item.vue.d.ts +0 -30
  164. package/dist/src/components/uni-ui/uni-calendar/calendar.d.ts +0 -67
  165. package/dist/src/components/uni-ui/uni-calendar/i18n/index.d.ts +0 -39
  166. package/dist/src/components/uni-ui/uni-calendar/uni-calendar-item.vue.d.ts +0 -47
  167. package/dist/src/components/uni-ui/uni-calendar/uni-calendar.vue.d.ts +0 -166
  168. package/dist/src/components/uni-ui/uni-calendar/util.d.ts +0 -211
  169. package/dist/src/components/uni-ui/uni-card/uni-card.vue.d.ts +0 -117
  170. package/dist/src/components/uni-ui/uni-col/uni-col.vue.d.ts +0 -70
  171. package/dist/src/components/uni-ui/uni-collapse/uni-collapse.vue.d.ts +0 -45
  172. package/dist/src/components/uni-ui/uni-collapse-item/uni-collapse-item.vue.d.ts +0 -102
  173. package/dist/src/components/uni-ui/uni-combox/uni-combox.vue.d.ts +0 -95
  174. package/dist/src/components/uni-ui/uni-countdown/i18n/index.d.ts +0 -21
  175. package/dist/src/components/uni-ui/uni-countdown/uni-countdown.vue.d.ts +0 -158
  176. package/dist/src/components/uni-ui/uni-data-checkbox/uni-data-checkbox.vue.d.ts +0 -192
  177. package/dist/src/components/uni-ui/uni-data-picker/uni-data-picker.vue.d.ts +0 -244
  178. package/dist/src/components/uni-ui/uni-data-pickerview/uni-data-picker.d.ts +0 -178
  179. package/dist/src/components/uni-ui/uni-data-pickerview/uni-data-pickerview.vue.d.ts +0 -169
  180. package/dist/src/components/uni-ui/uni-data-select/uni-data-select.vue.d.ts +0 -125
  181. package/dist/src/components/uni-ui/uni-dateformat/date-format.d.ts +0 -6
  182. package/dist/src/components/uni-ui/uni-dateformat/uni-dateformat.vue.d.ts +0 -57
  183. package/dist/src/components/uni-ui/uni-datetime-picker/calendar-item.vue.d.ts +0 -44
  184. package/dist/src/components/uni-ui/uni-datetime-picker/calendar.vue.d.ts +0 -253
  185. package/dist/src/components/uni-ui/uni-datetime-picker/i18n/index.d.ts +0 -69
  186. package/dist/src/components/uni-ui/uni-datetime-picker/time-picker.vue.d.ts +0 -225
  187. package/dist/src/components/uni-ui/uni-datetime-picker/uni-datetime-picker.vue.d.ts +0 -236
  188. package/dist/src/components/uni-ui/uni-datetime-picker/util.d.ts +0 -171
  189. package/dist/src/components/uni-ui/uni-drawer/keypress.d.ts +0 -13
  190. package/dist/src/components/uni-ui/uni-drawer/uni-drawer.vue.d.ts +0 -78
  191. package/dist/src/components/uni-ui/uni-easyinput/uni-easyinput.vue.d.ts +0 -269
  192. package/dist/src/components/uni-ui/uni-fab/uni-fab.vue.d.ts +0 -109
  193. package/dist/src/components/uni-ui/uni-fav/i18n/index.d.ts +0 -15
  194. package/dist/src/components/uni-ui/uni-fav/uni-fav.vue.d.ts +0 -99
  195. package/dist/src/components/uni-ui/uni-file-picker/choose-and-upload-file.d.ts +0 -4
  196. package/dist/src/components/uni-ui/uni-file-picker/uni-file-picker.vue.d.ts +0 -254
  197. package/dist/src/components/uni-ui/uni-file-picker/upload-file.vue.d.ts +0 -81
  198. package/dist/src/components/uni-ui/uni-file-picker/upload-image.vue.d.ts +0 -90
  199. package/dist/src/components/uni-ui/uni-file-picker/utils.d.ts +0 -22
  200. package/dist/src/components/uni-ui/uni-forms/uni-forms.vue.d.ts +0 -160
  201. package/dist/src/components/uni-ui/uni-forms/utils.d.ts +0 -20
  202. package/dist/src/components/uni-ui/uni-forms/validate.d.ts +0 -42
  203. package/dist/src/components/uni-ui/uni-forms-item/uni-forms-item.vue.d.ts +0 -127
  204. package/dist/src/components/uni-ui/uni-goods-nav/i18n/index.d.ts +0 -21
  205. package/dist/src/components/uni-ui/uni-goods-nav/uni-goods-nav.vue.d.ts +0 -61
  206. package/dist/src/components/uni-ui/uni-grid/uni-grid.vue.d.ts +0 -59
  207. package/dist/src/components/uni-ui/uni-grid-item/uni-grid-item.vue.d.ts +0 -26
  208. package/dist/src/components/uni-ui/uni-group/uni-group.vue.d.ts +0 -52
  209. package/dist/src/components/uni-ui/uni-icons/icons.d.ts +0 -15
  210. package/dist/src/components/uni-ui/uni-icons/uni-icons.vue.d.ts +0 -56
  211. package/dist/src/components/uni-ui/uni-indexed-list/uni-indexed-list-item.vue.d.ts +0 -45
  212. package/dist/src/components/uni-ui/uni-indexed-list/uni-indexed-list.vue.d.ts +0 -49
  213. package/dist/src/components/uni-ui/uni-link/uni-link.vue.d.ts +0 -75
  214. package/dist/src/components/uni-ui/uni-list/uni-list.vue.d.ts +0 -53
  215. package/dist/src/components/uni-ui/uni-list/uni-refresh.vue.d.ts +0 -22
  216. package/dist/src/components/uni-ui/uni-list-ad/uni-list-ad.vue.d.ts +0 -25
  217. package/dist/src/components/uni-ui/uni-list-chat/uni-list-chat.vue.d.ts +0 -123
  218. package/dist/src/components/uni-ui/uni-list-item/uni-list-item.vue.d.ts +0 -248
  219. package/dist/src/components/uni-ui/uni-load-more/i18n/index.d.ts +0 -18
  220. package/dist/src/components/uni-ui/uni-load-more/uni-load-more.vue.d.ts +0 -89
  221. package/dist/src/components/uni-ui/uni-nav-bar/uni-nav-bar.vue.d.ts +0 -163
  222. package/dist/src/components/uni-ui/uni-nav-bar/uni-status-bar.vue.d.ts +0 -4
  223. package/dist/src/components/uni-ui/uni-notice-bar/uni-notice-bar.vue.d.ts +0 -138
  224. package/dist/src/components/uni-ui/uni-number-box/uni-number-box.vue.d.ts +0 -90
  225. package/dist/src/components/uni-ui/uni-pagination/i18n/index.d.ts +0 -28
  226. package/dist/src/components/uni-ui/uni-pagination/uni-pagination.vue.d.ts +0 -127
  227. package/dist/src/components/uni-ui/uni-popup/i18n/index.d.ts +0 -24
  228. package/dist/src/components/uni-ui/uni-popup/keypress.d.ts +0 -13
  229. package/dist/src/components/uni-ui/uni-popup/popup.d.ts +0 -11
  230. package/dist/src/components/uni-ui/uni-popup/uni-popup.vue.d.ts +0 -136
  231. package/dist/src/components/uni-ui/uni-popup-dialog/uni-popup-dialog.vue.d.ts +0 -123
  232. package/dist/src/components/uni-ui/uni-popup-message/uni-popup-message.vue.d.ts +0 -67
  233. package/dist/src/components/uni-ui/uni-popup-share/uni-popup-share.vue.d.ts +0 -49
  234. package/dist/src/components/uni-ui/uni-rate/uni-rate.vue.d.ts +0 -154
  235. package/dist/src/components/uni-ui/uni-row/uni-row.vue.d.ts +0 -41
  236. package/dist/src/components/uni-ui/uni-search-bar/i18n/index.d.ts +0 -15
  237. package/dist/src/components/uni-ui/uni-search-bar/uni-search-bar.vue.d.ts +0 -126
  238. package/dist/src/components/uni-ui/uni-section/uni-section.vue.d.ts +0 -85
  239. package/dist/src/components/uni-ui/uni-segmented-control/uni-segmented-control.vue.d.ts +0 -47
  240. package/dist/src/components/uni-ui/uni-steps/uni-steps.vue.d.ts +0 -59
  241. package/dist/src/components/uni-ui/uni-swipe-action/uni-swipe-action.vue.d.ts +0 -6
  242. package/dist/src/components/uni-ui/uni-swiper-dot/uni-swiper-dot.vue.d.ts +0 -65
  243. package/dist/src/components/uni-ui/uni-table/uni-table.vue.d.ts +0 -99
  244. package/dist/src/components/uni-ui/uni-tag/uni-tag.vue.d.ts +0 -84
  245. package/dist/src/components/uni-ui/uni-tbody/uni-tbody.vue.d.ts +0 -2
  246. package/dist/src/components/uni-ui/uni-td/uni-td.vue.d.ts +0 -48
  247. package/dist/src/components/uni-ui/uni-th/filter-dropdown.vue.d.ts +0 -99
  248. package/dist/src/components/uni-ui/uni-th/uni-th.vue.d.ts +0 -97
  249. package/dist/src/components/uni-ui/uni-thead/uni-thead.vue.d.ts +0 -15
  250. package/dist/src/components/uni-ui/uni-title/uni-title.vue.d.ts +0 -54
  251. package/dist/src/components/uni-ui/uni-tooltip/uni-tooltip.vue.d.ts +0 -23
  252. package/dist/src/components/uni-ui/uni-tr/table-checkbox.vue.d.ts +0 -58
  253. package/dist/src/components/uni-ui/uni-tr/uni-tr.vue.d.ts +0 -39
  254. package/dist/src/components/uni-ui/uni-transition/createAnimation.d.ts +0 -16
  255. package/dist/src/components/uni-ui/uni-transition/uni-transition.vue.d.ts +0 -240
@@ -1,254 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- modelValue: {
3
- type: (ArrayConstructor | ObjectConstructor)[];
4
- default(): never[];
5
- };
6
- value: {
7
- type: (ArrayConstructor | ObjectConstructor)[];
8
- default(): never[];
9
- };
10
- disabled: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- disablePreview: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- delIcon: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- autoUpload: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- limit: {
27
- type: (StringConstructor | NumberConstructor)[];
28
- default: number;
29
- };
30
- mode: {
31
- type: StringConstructor;
32
- default: string;
33
- };
34
- fileMediatype: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- fileExtname: {
39
- type: (StringConstructor | ArrayConstructor)[];
40
- default(): never[];
41
- };
42
- title: {
43
- type: StringConstructor;
44
- default: string;
45
- };
46
- listStyles: {
47
- type: ObjectConstructor;
48
- default(): {
49
- border: boolean;
50
- dividline: boolean;
51
- borderStyle: {};
52
- };
53
- };
54
- imageStyles: {
55
- type: ObjectConstructor;
56
- default(): {
57
- width: string;
58
- height: string;
59
- };
60
- };
61
- readonly: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- returnType: {
66
- type: StringConstructor;
67
- default: string;
68
- };
69
- sizeType: {
70
- type: ArrayConstructor;
71
- default(): string[];
72
- };
73
- sourceType: {
74
- type: ArrayConstructor;
75
- default(): string[];
76
- };
77
- }, any, {
78
- files: never[];
79
- localValue: never[];
80
- }, {
81
- filesList(): any[];
82
- showType(): string;
83
- limitLength(): string | number;
84
- }, {
85
- /**
86
- * 公开用户使用,清空文件
87
- * @param {Object} index
88
- */
89
- clearFiles(index: Object): void;
90
- /**
91
- * 公开用户使用,继续上传
92
- */
93
- upload(): Promise<any>;
94
- setValue(newVal: any, oldVal: any): Promise<void>;
95
- /**
96
- * 选择文件
97
- */
98
- choose(): void;
99
- /**
100
- * 选择文件并上传
101
- */
102
- chooseFiles(): void;
103
- /**
104
- * 选择文件回调
105
- * @param {Object} res
106
- */
107
- chooseFileCallback(res: Object): Promise<void>;
108
- /**
109
- * 批传
110
- * @param {Object} e
111
- */
112
- uploadFiles(files: any): Promise<any>;
113
- /**
114
- * 成功或失败
115
- */
116
- setSuccessAndError(res: any, fn: any): Promise<void>;
117
- /**
118
- * 获取进度
119
- * @param {Object} progressEvent
120
- * @param {Object} index
121
- * @param {Object} type
122
- */
123
- setProgress(progressEvent: Object, index: Object, type: Object): void;
124
- /**
125
- * 删除文件
126
- * @param {Object} index
127
- */
128
- delFile(index: Object): void;
129
- /**
130
- * 获取文件名和后缀
131
- * @param {Object} name
132
- */
133
- getFileExt(name: Object): {
134
- name: any;
135
- ext: any;
136
- };
137
- /**
138
- * 处理返回事件
139
- */
140
- setEmit(): void;
141
- /**
142
- * 处理返回参数
143
- * @param {Object} files
144
- */
145
- backObject(files: Object): any[];
146
- getTempFileURL(fileList: any): Promise<any>;
147
- /**
148
- * 获取父元素实例
149
- */
150
- getForm(name?: string): false | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
151
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "progress" | "select" | "update:modelValue" | "success" | "fail" | "delete")[], "input" | "progress" | "select" | "update:modelValue" | "success" | "fail" | "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
152
- modelValue: {
153
- type: (ArrayConstructor | ObjectConstructor)[];
154
- default(): never[];
155
- };
156
- value: {
157
- type: (ArrayConstructor | ObjectConstructor)[];
158
- default(): never[];
159
- };
160
- disabled: {
161
- type: BooleanConstructor;
162
- default: boolean;
163
- };
164
- disablePreview: {
165
- type: BooleanConstructor;
166
- default: boolean;
167
- };
168
- delIcon: {
169
- type: BooleanConstructor;
170
- default: boolean;
171
- };
172
- autoUpload: {
173
- type: BooleanConstructor;
174
- default: boolean;
175
- };
176
- limit: {
177
- type: (StringConstructor | NumberConstructor)[];
178
- default: number;
179
- };
180
- mode: {
181
- type: StringConstructor;
182
- default: string;
183
- };
184
- fileMediatype: {
185
- type: StringConstructor;
186
- default: string;
187
- };
188
- fileExtname: {
189
- type: (StringConstructor | ArrayConstructor)[];
190
- default(): never[];
191
- };
192
- title: {
193
- type: StringConstructor;
194
- default: string;
195
- };
196
- listStyles: {
197
- type: ObjectConstructor;
198
- default(): {
199
- border: boolean;
200
- dividline: boolean;
201
- borderStyle: {};
202
- };
203
- };
204
- imageStyles: {
205
- type: ObjectConstructor;
206
- default(): {
207
- width: string;
208
- height: string;
209
- };
210
- };
211
- readonly: {
212
- type: BooleanConstructor;
213
- default: boolean;
214
- };
215
- returnType: {
216
- type: StringConstructor;
217
- default: string;
218
- };
219
- sizeType: {
220
- type: ArrayConstructor;
221
- default(): string[];
222
- };
223
- sourceType: {
224
- type: ArrayConstructor;
225
- default(): string[];
226
- };
227
- }>> & {
228
- onInput?: ((...args: any[]) => any) | undefined;
229
- onProgress?: ((...args: any[]) => any) | undefined;
230
- onSelect?: ((...args: any[]) => any) | undefined;
231
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
232
- onDelete?: ((...args: any[]) => any) | undefined;
233
- onSuccess?: ((...args: any[]) => any) | undefined;
234
- onFail?: ((...args: any[]) => any) | undefined;
235
- }, {
236
- value: unknown[] | Record<string, any>;
237
- title: string;
238
- mode: string;
239
- modelValue: unknown[] | Record<string, any>;
240
- disabled: boolean;
241
- readonly: boolean;
242
- returnType: string;
243
- sizeType: unknown[];
244
- sourceType: unknown[];
245
- disablePreview: boolean;
246
- limit: string | number;
247
- imageStyles: Record<string, any>;
248
- delIcon: boolean;
249
- listStyles: Record<string, any>;
250
- autoUpload: boolean;
251
- fileMediatype: string;
252
- fileExtname: string | unknown[];
253
- }>;
254
- export default _default;
@@ -1,81 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- filesList: {
3
- type: ArrayConstructor;
4
- default(): never[];
5
- };
6
- delIcon: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- limit: {
11
- type: (StringConstructor | NumberConstructor)[];
12
- default: number;
13
- };
14
- showType: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- listStyles: {
19
- type: ObjectConstructor;
20
- default(): {
21
- border: boolean;
22
- dividline: boolean;
23
- borderStyle: {};
24
- };
25
- };
26
- readonly: {
27
- type: BooleanConstructor;
28
- default: boolean;
29
- };
30
- }, any, any, {
31
- list(): any[];
32
- styles(): any;
33
- borderStyle(): string;
34
- borderLineStyle(): string;
35
- }, {
36
- uploadFiles(item: any, index: any): void;
37
- choose(): void;
38
- delFile(index: any): void;
39
- value2px(value: any): any;
40
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("uploadFiles" | "choose" | "delFile")[], "uploadFiles" | "choose" | "delFile", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
- filesList: {
42
- type: ArrayConstructor;
43
- default(): never[];
44
- };
45
- delIcon: {
46
- type: BooleanConstructor;
47
- default: boolean;
48
- };
49
- limit: {
50
- type: (StringConstructor | NumberConstructor)[];
51
- default: number;
52
- };
53
- showType: {
54
- type: StringConstructor;
55
- default: string;
56
- };
57
- listStyles: {
58
- type: ObjectConstructor;
59
- default(): {
60
- border: boolean;
61
- dividline: boolean;
62
- borderStyle: {};
63
- };
64
- };
65
- readonly: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- }>> & {
70
- onUploadFiles?: ((...args: any[]) => any) | undefined;
71
- onChoose?: ((...args: any[]) => any) | undefined;
72
- onDelFile?: ((...args: any[]) => any) | undefined;
73
- }, {
74
- readonly: boolean;
75
- filesList: unknown[];
76
- limit: string | number;
77
- delIcon: boolean;
78
- showType: string;
79
- listStyles: Record<string, any>;
80
- }>;
81
- export default _default;
@@ -1,90 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- filesList: {
3
- type: ArrayConstructor;
4
- default(): never[];
5
- };
6
- disabled: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- disablePreview: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- limit: {
15
- type: (StringConstructor | NumberConstructor)[];
16
- default: number;
17
- };
18
- imageStyles: {
19
- type: ObjectConstructor;
20
- default(): {
21
- width: string;
22
- height: string;
23
- border: {};
24
- };
25
- };
26
- delIcon: {
27
- type: BooleanConstructor;
28
- default: boolean;
29
- };
30
- readonly: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
- }, any, any, {
35
- styles(): any;
36
- boxStyle(): string;
37
- borderStyle(): string;
38
- }, {
39
- uploadFiles(item: any, index: any): void;
40
- choose(): void;
41
- delFile(index: any): void;
42
- prviewImage(img: any, index: any): void;
43
- value2px(value: any): any;
44
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("uploadFiles" | "choose" | "delFile")[], "uploadFiles" | "choose" | "delFile", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
- filesList: {
46
- type: ArrayConstructor;
47
- default(): never[];
48
- };
49
- disabled: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- };
53
- disablePreview: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- limit: {
58
- type: (StringConstructor | NumberConstructor)[];
59
- default: number;
60
- };
61
- imageStyles: {
62
- type: ObjectConstructor;
63
- default(): {
64
- width: string;
65
- height: string;
66
- border: {};
67
- };
68
- };
69
- delIcon: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- readonly: {
74
- type: BooleanConstructor;
75
- default: boolean;
76
- };
77
- }>> & {
78
- onUploadFiles?: ((...args: any[]) => any) | undefined;
79
- onChoose?: ((...args: any[]) => any) | undefined;
80
- onDelFile?: ((...args: any[]) => any) | undefined;
81
- }, {
82
- disabled: boolean;
83
- readonly: boolean;
84
- filesList: unknown[];
85
- disablePreview: boolean;
86
- limit: string | number;
87
- imageStyles: Record<string, any>;
88
- delIcon: boolean;
89
- }>;
90
- export default _default;
@@ -1,22 +0,0 @@
1
- export function get_file_ext(name: string): {
2
- name: string;
3
- ext: string;
4
- };
5
- export function get_extname(fileExtname: any[]): any;
6
- export function get_files_and_is_max(res: any, _extname: any): {
7
- filePaths: any[];
8
- files: any[];
9
- };
10
- export function get_file_info(filepath: Object): Promise<any>;
11
- export function get_file_data(files: any, type?: string): Promise<{
12
- name: any;
13
- uuid: any;
14
- extname: string;
15
- cloudPath: any;
16
- fileType: any;
17
- url: any;
18
- size: any;
19
- image: {};
20
- path: any;
21
- video: {};
22
- }>;
@@ -1,160 +0,0 @@
1
- declare const _default: Vue.DefineComponent<{
2
- value: {
3
- type: ObjectConstructor;
4
- default(): null;
5
- };
6
- modelValue: {
7
- type: ObjectConstructor;
8
- default(): null;
9
- };
10
- model: {
11
- type: ObjectConstructor;
12
- default(): null;
13
- };
14
- rules: {
15
- type: ObjectConstructor;
16
- default(): {};
17
- };
18
- errShowType: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- validateTrigger: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- labelPosition: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- labelWidth: {
31
- type: (StringConstructor | NumberConstructor)[];
32
- default: string;
33
- };
34
- labelAlign: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- border: {
39
- type: BooleanConstructor;
40
- default: boolean;
41
- };
42
- }, any, {
43
- formData: {};
44
- formRules: {};
45
- }, {
46
- localData(): Object;
47
- }, {
48
- /**
49
- * 外部调用方法
50
- * 设置规则 ,主要用于小程序自定义检验规则
51
- * @param {Array} rules 规则源数据
52
- */
53
- setRules(rules: any[]): void;
54
- /**
55
- * 外部调用方法
56
- * 设置数据,用于设置表单数据,公开给用户使用 , 不支持在动态表单中使用
57
- * @param {Object} key
58
- * @param {Object} value
59
- */
60
- setValue(key: Object, value: Object): any;
61
- /**
62
- * 外部调用方法
63
- * 手动提交校验表单
64
- * 对整个表单进行校验的方法,参数为一个回调函数。
65
- * @param {Array} keepitem 保留不参与校验的字段
66
- * @param {type} callback 方法回调
67
- */
68
- validate(keepitem: any[], callback: type): Promise<any>;
69
- /**
70
- * 外部调用方法
71
- * 部分表单校验
72
- * @param {Array|String} props 需要校验的字段
73
- * @param {Function} 回调函数
74
- */
75
- validateField(props: string | any[] | undefined, callback: any): Promise<any>;
76
- /**
77
- * 外部调用方法
78
- * 移除表单项的校验结果。传入待移除的表单项的 prop 属性或者 prop 组成的数组,如不传则移除整个表单的校验结果
79
- * @param {Array|String} props 需要移除校验的字段 ,不填为所有
80
- */
81
- clearValidate(props?: any[] | string): void;
82
- /**
83
- * 外部调用方法 ,即将废弃
84
- * 手动提交校验表单
85
- * 对整个表单进行校验的方法,参数为一个回调函数。
86
- * @param {Array} keepitem 保留不参与校验的字段
87
- * @param {type} callback 方法回调
88
- */
89
- submit(keepitem: any[], callback: any, type: any): Promise<any>;
90
- checkAll(invalidFields: any, keepitem: any, callback: any, type: any): Promise<any>;
91
- /**
92
- * 返回validate事件
93
- * @param {Object} result
94
- */
95
- validateCheck(result: Object): void;
96
- _getValue: (key: string, value: any, rules: Object) => any;
97
- _isRequiredField: (rules: Object) => boolean;
98
- _setDataValue: (field: any, formdata: any, value: any) => any;
99
- _getDataValue: (field: string | any[], data: Object) => any;
100
- _realName: (name: string | any[], data?: {}) => string;
101
- _isRealName: (name: string | any[]) => string;
102
- _isEqual: (a: any, b: any) => boolean;
103
- }, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, ("submit" | "validate")[], "submit" | "validate", Vue.VNodeProps & Vue.AllowedComponentProps & Vue.ComponentCustomProps, Readonly<Vue.ExtractPropTypes<{
104
- value: {
105
- type: ObjectConstructor;
106
- default(): null;
107
- };
108
- modelValue: {
109
- type: ObjectConstructor;
110
- default(): null;
111
- };
112
- model: {
113
- type: ObjectConstructor;
114
- default(): null;
115
- };
116
- rules: {
117
- type: ObjectConstructor;
118
- default(): {};
119
- };
120
- errShowType: {
121
- type: StringConstructor;
122
- default: string;
123
- };
124
- validateTrigger: {
125
- type: StringConstructor;
126
- default: string;
127
- };
128
- labelPosition: {
129
- type: StringConstructor;
130
- default: string;
131
- };
132
- labelWidth: {
133
- type: (StringConstructor | NumberConstructor)[];
134
- default: string;
135
- };
136
- labelAlign: {
137
- type: StringConstructor;
138
- default: string;
139
- };
140
- border: {
141
- type: BooleanConstructor;
142
- default: boolean;
143
- };
144
- }>> & {
145
- onSubmit?: ((...args: any[]) => any) | undefined;
146
- onValidate?: ((...args: any[]) => any) | undefined;
147
- }, {
148
- value: Record<string, any>;
149
- border: boolean;
150
- modelValue: Record<string, any>;
151
- labelWidth: string | number;
152
- model: Record<string, any>;
153
- validateTrigger: string;
154
- rules: Record<string, any>;
155
- errShowType: string;
156
- labelPosition: string;
157
- labelAlign: string;
158
- }>;
159
- export default _default;
160
- import Vue from "vue";
@@ -1,20 +0,0 @@
1
- export function deepCopy(val: any): Object;
2
- export function typeFilter(format: string): boolean;
3
- export function getValue(key: string, value: any, rules: Object): any;
4
- export function setDataValue(field: any, formdata: any, value: any): any;
5
- export function getDataValue(field: string | any[], data: Object): any;
6
- export function getDataValueType(field: string | any[], data: any): {
7
- type: any;
8
- value: any;
9
- };
10
- export function realName(name: string | any[], data?: {}): string;
11
- export function isRealName(name: string | any[]): string;
12
- export function rawData(object: {} | undefined, name: any): Object | any[];
13
- export function name2arr(name: any): any;
14
- export function objSet(object: Object | any[], path: string | any[], value: string): Object;
15
- export function objGet(object: Object | any[], path: string | any[], defaultVal?: string): any;
16
- export function isNumber(num: any): boolean;
17
- export function isBoolean(bool: any): boolean;
18
- export function isRequiredField(rules: Object): boolean;
19
- export function type(obj: Any): any;
20
- export function isEqual(a: any, b: any): boolean;
@@ -1,42 +0,0 @@
1
- export default SchemaValidator;
2
- declare class SchemaValidator extends RuleValidator {
3
- constructor(schema: any, options: any);
4
- _schema: any;
5
- _options: any;
6
- updateSchema(schema: any): void;
7
- validate(data: any, allData: any): Promise<string | {
8
- key: string;
9
- errorMessage: string;
10
- } | null>;
11
- validateAll(data: any, allData: any): Promise<string | {
12
- key: string;
13
- errorMessage: string;
14
- }[]>;
15
- validateUpdate(data: any, allData: any): Promise<string | {
16
- key: string;
17
- errorMessage: string;
18
- } | null>;
19
- invokeValidate(data: any, all: any, allData: any): Promise<{
20
- key: string;
21
- errorMessage: any;
22
- }[]>;
23
- invokeValidateUpdate(data: any, all: any, allData: any): Promise<{
24
- key: string;
25
- errorMessage: any;
26
- }[]>;
27
- _checkFieldInSchema(data: any): "" | {
28
- key: string;
29
- errorMessage: string;
30
- }[];
31
- }
32
- declare namespace SchemaValidator {
33
- const message: any;
34
- }
35
- declare class RuleValidator {
36
- constructor(message: any);
37
- _message: any;
38
- validateRule(fieldKey: any, fieldValue: any, value: any, data: any, allData: any): Promise<any>;
39
- validateFunction(rule: any, value: any, data: any, allData: any, vt: any): Promise<string | null>;
40
- _getMessage(rule: any, message: any, vt: any): string;
41
- _getValidateType(rule: any): string;
42
- }