@polyv/watch-identify-sdk-ui-default 0.1.0-rc.1

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 (243) hide show
  1. package/README.md +1 -0
  2. package/lib/demo.html +1 -0
  3. package/lib/entranceMobile/demo.html +1 -0
  4. package/lib/entranceMobile/entranceMobile.common.js +23792 -0
  5. package/lib/entranceMobile/entranceMobile.common.js.map +1 -0
  6. package/lib/entranceMobile/entranceMobile.umd.js +23819 -0
  7. package/lib/entranceMobile/entranceMobile.umd.js.map +1 -0
  8. package/lib/entranceMobile/entranceMobile.umd.min.js +16 -0
  9. package/lib/entranceMobile/entranceMobile.umd.min.js.map +1 -0
  10. package/lib/entrancePc/demo.html +1 -0
  11. package/lib/entrancePc/entrancePc.common.js +27390 -0
  12. package/lib/entrancePc/entrancePc.common.js.map +1 -0
  13. package/lib/entrancePc/entrancePc.umd.js +27417 -0
  14. package/lib/entrancePc/entrancePc.umd.js.map +1 -0
  15. package/lib/entrancePc/entrancePc.umd.min.js +16 -0
  16. package/lib/entrancePc/entrancePc.umd.min.js.map +1 -0
  17. package/lib/polyv-watch-identify-sdk-ui-default.common.js +30474 -0
  18. package/lib/polyv-watch-identify-sdk-ui-default.common.js.map +1 -0
  19. package/lib/polyv-watch-identify-sdk-ui-default.umd.js +30501 -0
  20. package/lib/polyv-watch-identify-sdk-ui-default.umd.js.map +1 -0
  21. package/lib/polyv-watch-identify-sdk-ui-default.umd.min.js +16 -0
  22. package/lib/polyv-watch-identify-sdk-ui-default.umd.min.js.map +1 -0
  23. package/package.json +23 -0
  24. package/types/assets/lang/i18ns/china.d.ts +124 -0
  25. package/types/assets/lang/i18ns/english.d.ts +5 -0
  26. package/types/assets/lang/i18ns/index.d.ts +3 -0
  27. package/types/assets/lang/index.d.ts +8 -0
  28. package/types/assets/lang/lang-enum.d.ts +7 -0
  29. package/types/assets/lang/types.d.ts +8 -0
  30. package/types/assets/utils/browser.d.ts +6 -0
  31. package/types/assets/utils/copy.d.ts +9 -0
  32. package/types/assets/utils/dom.d.ts +11 -0
  33. package/types/assets/utils/utils.d.ts +5 -0
  34. package/types/assets/utils/validate.d.ts +35 -0
  35. package/types/assets/utils/vue-utils/emit-utils.d.ts +10 -0
  36. package/types/assets/utils/vue-utils/index.d.ts +7 -0
  37. package/types/assets/utils/vue-utils/props-utils.d.ts +53 -0
  38. package/types/components/bind-identity-info/mobile-bind-identity-info.vue.d.ts +2 -0
  39. package/types/components/bind-identity-info/pc-bind-identity-info.vue.d.ts +2 -0
  40. package/types/components/bind-identity-info/use-bind-identity-info.d.ts +14 -0
  41. package/types/components/bind-identity-info/use-identity-info-input.d.ts +26 -0
  42. package/types/components/common-base/dialog/mobile-dialog/index.d.ts +2 -0
  43. package/types/components/common-base/dialog/mobile-dialog/mobile-dialog.vue.d.ts +100 -0
  44. package/types/components/common-base/dialog/pc-dialog/index.d.ts +3 -0
  45. package/types/components/common-base/dialog/pc-dialog/pc-dialog.vue.d.ts +113 -0
  46. package/types/components/common-base/dialog/pc-dialog/types.d.ts +6 -0
  47. package/types/components/common-base/dialog/use-dialog-tips.d.ts +20 -0
  48. package/types/components/common-base/dialog/use-dialog.d.ts +125 -0
  49. package/types/components/common-base/form/form-checkbox/mobile-form-checkbox.vue.d.ts +29 -0
  50. package/types/components/common-base/form/form-checkbox/pc-form-checkbox.vue.d.ts +29 -0
  51. package/types/components/common-base/form/form-checkbox/use-form-checkbox.d.ts +23 -0
  52. package/types/components/common-base/form/form-image-verify-input/mobile-form-image-verify-input.vue.d.ts +24 -0
  53. package/types/components/common-base/form/form-image-verify-input/pc-form-image-verify-input.vue.d.ts +24 -0
  54. package/types/components/common-base/form/form-image-verify-input/type.d.ts +4 -0
  55. package/types/components/common-base/form/form-image-verify-input/use-image-verify-input.d.ts +26 -0
  56. package/types/components/common-base/form/form-input/hooks/use-form-input.d.ts +79 -0
  57. package/types/components/common-base/form/form-input/mobile-form-input.vue.d.ts +103 -0
  58. package/types/components/common-base/form/form-input/pc-form-input.vue.d.ts +103 -0
  59. package/types/components/common-base/form/form-input/types/form-input-types.d.ts +11 -0
  60. package/types/components/common-base/form/form-item.vue.d.ts +46 -0
  61. package/types/components/common-base/form/form-phone-input/mobile-form-phone-input.vue.d.ts +48 -0
  62. package/types/components/common-base/form/form-phone-input/pc-form-phone-input.vue.d.ts +48 -0
  63. package/types/components/common-base/form/form-phone-input/use-form-phone-input.d.ts +43 -0
  64. package/types/components/common-base/form/form-protocol/mobile-form-protocol.vue.d.ts +30 -0
  65. package/types/components/common-base/form/form-protocol/pc-form-protocol.vue.d.ts +30 -0
  66. package/types/components/common-base/form/form-protocol/use-form-protocol.d.ts +29 -0
  67. package/types/components/common-base/form/form-slide-verify/mobile-form-slide-verify.vue.d.ts +11 -0
  68. package/types/components/common-base/form/form-slide-verify/pc-form-slide-verify.vue.d.ts +11 -0
  69. package/types/components/common-base/form/form-slide-verify/use-slide-verify.d.ts +28 -0
  70. package/types/components/common-base/form/form-sms-verify-input/mobile-form-sms-verify-input.vue.d.ts +57 -0
  71. package/types/components/common-base/form/form-sms-verify-input/pc-form-sms-verify-input.vue.d.ts +57 -0
  72. package/types/components/common-base/form/form-sms-verify-input/use-sms-verify-input.d.ts +65 -0
  73. package/types/components/common-base/form/form-submit-button.vue.d.ts +70 -0
  74. package/types/components/common-base/form/form-wrap.vue.d.ts +74 -0
  75. package/types/components/common-base/form/hooks/use-form-common.d.ts +27 -0
  76. package/types/components/common-base/form/hooks/use-form-item.d.ts +57 -0
  77. package/types/components/common-base/form/hooks/use-form-submit-button.d.ts +41 -0
  78. package/types/components/common-base/form/hooks/use-form.d.ts +69 -0
  79. package/types/components/common-base/form/types/enums.d.ts +18 -0
  80. package/types/components/common-base/form/types/form-types.d.ts +25 -0
  81. package/types/components/common-base/loading/loading-animation.vue.d.ts +2 -0
  82. package/types/components/common-base/message-box/index.d.ts +7 -0
  83. package/types/components/common-base/message-box/mobile-message-box.vue.d.ts +78 -0
  84. package/types/components/common-base/message-box/pc-message-box.vue.d.ts +141 -0
  85. package/types/components/common-base/message-box/use-message-box.d.ts +174 -0
  86. package/types/components/common-base/normal-button/index.d.ts +3 -0
  87. package/types/components/common-base/normal-button/normal-button.vue.d.ts +73 -0
  88. package/types/components/common-base/normal-button/types.d.ts +47 -0
  89. package/types/components/common-base/normal-button/use-normal-button.d.ts +41 -0
  90. package/types/components/common-base/phone-code/mobile-phone-code.vue.d.ts +14 -0
  91. package/types/components/common-base/phone-code/pc-phone-code.vue.d.ts +14 -0
  92. package/types/components/common-base/phone-code/phone-code-data-en.d.ts +10 -0
  93. package/types/components/common-base/phone-code/phone-code-data.d.ts +10 -0
  94. package/types/components/common-base/phone-code/use-phone-code.d.ts +45 -0
  95. package/types/components/common-base/popup/index.d.ts +4 -0
  96. package/types/components/common-base/popup/mobile-popup.vue.d.ts +213 -0
  97. package/types/components/common-base/popup/types.d.ts +25 -0
  98. package/types/components/common-base/popup/use-popup.d.ts +160 -0
  99. package/types/components/component-icons/mobile/icons/arrow-down/index.d.ts +6 -0
  100. package/types/components/component-icons/mobile/icons/arrow-left/index.d.ts +6 -0
  101. package/types/components/component-icons/mobile/icons/arrow-right/index.d.ts +6 -0
  102. package/types/components/component-icons/mobile/icons/arrow-up/index.d.ts +6 -0
  103. package/types/components/component-icons/mobile/icons/ask/index.d.ts +6 -0
  104. package/types/components/component-icons/mobile/icons/barrage-setting/index.d.ts +6 -0
  105. package/types/components/component-icons/mobile/icons/booking/index.d.ts +6 -0
  106. package/types/components/component-icons/mobile/icons/chat/index.d.ts +6 -0
  107. package/types/components/component-icons/mobile/icons/check/index.d.ts +6 -0
  108. package/types/components/component-icons/mobile/icons/check-round-fill/index.d.ts +6 -0
  109. package/types/components/component-icons/mobile/icons/close/index.d.ts +6 -0
  110. package/types/components/component-icons/mobile/icons/close-round/index.d.ts +6 -0
  111. package/types/components/component-icons/mobile/icons/close-round-fill/index.d.ts +6 -0
  112. package/types/components/component-icons/mobile/icons/danmu-switch/index.d.ts +6 -0
  113. package/types/components/component-icons/mobile/icons/delete/index.d.ts +6 -0
  114. package/types/components/component-icons/mobile/icons/emotion/index.d.ts +6 -0
  115. package/types/components/component-icons/mobile/icons/forbid/index.d.ts +6 -0
  116. package/types/components/component-icons/mobile/icons/heart/index.d.ts +6 -0
  117. package/types/components/component-icons/mobile/icons/highlight/index.d.ts +6 -0
  118. package/types/components/component-icons/mobile/icons/keyboard/index.d.ts +6 -0
  119. package/types/components/component-icons/mobile/icons/like/index.d.ts +6 -0
  120. package/types/components/component-icons/mobile/icons/me/index.d.ts +6 -0
  121. package/types/components/component-icons/mobile/icons/media/index.d.ts +6 -0
  122. package/types/components/component-icons/mobile/icons/message/index.d.ts +6 -0
  123. package/types/components/component-icons/mobile/icons/news/index.d.ts +6 -0
  124. package/types/components/component-icons/mobile/icons/pack-up/index.d.ts +6 -0
  125. package/types/components/component-icons/mobile/icons/page-view/index.d.ts +6 -0
  126. package/types/components/component-icons/mobile/icons/people/index.d.ts +6 -0
  127. package/types/components/component-icons/mobile/icons/play-round/index.d.ts +6 -0
  128. package/types/components/component-icons/mobile/icons/product/index.d.ts +6 -0
  129. package/types/components/component-icons/mobile/icons/search/index.d.ts +6 -0
  130. package/types/components/component-icons/mobile/icons/share/index.d.ts +6 -0
  131. package/types/components/component-icons/mobile/icons/smiling-face/index.d.ts +6 -0
  132. package/types/components/component-icons/mobile/icons/translate/index.d.ts +6 -0
  133. package/types/components/component-icons/mobile/icons/video-call/index.d.ts +6 -0
  134. package/types/components/component-icons/mobile/icons/voice-call/index.d.ts +6 -0
  135. package/types/components/component-icons/mobile/icons/warning-round-fill/index.d.ts +6 -0
  136. package/types/components/component-icons/mobile/icons/watch-duration/index.d.ts +6 -0
  137. package/types/components/component-icons/mobile/map.d.ts +5 -0
  138. package/types/components/component-icons/pc/icons/apply-video-call/index.d.ts +6 -0
  139. package/types/components/component-icons/pc/icons/arrow-down/index.d.ts +6 -0
  140. package/types/components/component-icons/pc/icons/arrow-left/index.d.ts +6 -0
  141. package/types/components/component-icons/pc/icons/arrow-right/index.d.ts +6 -0
  142. package/types/components/component-icons/pc/icons/arrow-up/index.d.ts +6 -0
  143. package/types/components/component-icons/pc/icons/barrage-local-bottom/index.d.ts +6 -0
  144. package/types/components/component-icons/pc/icons/barrage-local-full/index.d.ts +6 -0
  145. package/types/components/component-icons/pc/icons/barrage-local-half/index.d.ts +6 -0
  146. package/types/components/component-icons/pc/icons/barrage-local-top/index.d.ts +6 -0
  147. package/types/components/component-icons/pc/icons/barrage-setting/index.d.ts +6 -0
  148. package/types/components/component-icons/pc/icons/bind-mobile/index.d.ts +6 -0
  149. package/types/components/component-icons/pc/icons/booking/index.d.ts +6 -0
  150. package/types/components/component-icons/pc/icons/bulletin/index.d.ts +6 -0
  151. package/types/components/component-icons/pc/icons/caret-down/index.d.ts +6 -0
  152. package/types/components/component-icons/pc/icons/caret-left/index.d.ts +6 -0
  153. package/types/components/component-icons/pc/icons/caret-right/index.d.ts +6 -0
  154. package/types/components/component-icons/pc/icons/caret-up/index.d.ts +6 -0
  155. package/types/components/component-icons/pc/icons/chat-error/index.d.ts +6 -0
  156. package/types/components/component-icons/pc/icons/chat-loading/index.d.ts +6 -0
  157. package/types/components/component-icons/pc/icons/chat-loading2/index.d.ts +6 -0
  158. package/types/components/component-icons/pc/icons/chat-msg-loading/index.d.ts +6 -0
  159. package/types/components/component-icons/pc/icons/check/index.d.ts +6 -0
  160. package/types/components/component-icons/pc/icons/check-round-fill/index.d.ts +6 -0
  161. package/types/components/component-icons/pc/icons/close/index.d.ts +6 -0
  162. package/types/components/component-icons/pc/icons/close-round/index.d.ts +6 -0
  163. package/types/components/component-icons/pc/icons/close-round-fill/index.d.ts +6 -0
  164. package/types/components/component-icons/pc/icons/copy/index.d.ts +6 -0
  165. package/types/components/component-icons/pc/icons/device-setting/index.d.ts +6 -0
  166. package/types/components/component-icons/pc/icons/emotion/index.d.ts +6 -0
  167. package/types/components/component-icons/pc/icons/feedback/index.d.ts +6 -0
  168. package/types/components/component-icons/pc/icons/forbid/index.d.ts +6 -0
  169. package/types/components/component-icons/pc/icons/hang-up/index.d.ts +6 -0
  170. package/types/components/component-icons/pc/icons/highlight/index.d.ts +6 -0
  171. package/types/components/component-icons/pc/icons/lang/index.d.ts +6 -0
  172. package/types/components/component-icons/pc/icons/media/index.d.ts +6 -0
  173. package/types/components/component-icons/pc/icons/page-view/index.d.ts +6 -0
  174. package/types/components/component-icons/pc/icons/people/index.d.ts +6 -0
  175. package/types/components/component-icons/pc/icons/pic/index.d.ts +6 -0
  176. package/types/components/component-icons/pc/icons/picture/index.d.ts +6 -0
  177. package/types/components/component-icons/pc/icons/play-round/index.d.ts +6 -0
  178. package/types/components/component-icons/pc/icons/reply/index.d.ts +6 -0
  179. package/types/components/component-icons/pc/icons/screenshare-setting/index.d.ts +6 -0
  180. package/types/components/component-icons/pc/icons/screenshare-start/index.d.ts +6 -0
  181. package/types/components/component-icons/pc/icons/screenshare-stop/index.d.ts +6 -0
  182. package/types/components/component-icons/pc/icons/search/index.d.ts +6 -0
  183. package/types/components/component-icons/pc/icons/set-nick/index.d.ts +6 -0
  184. package/types/components/component-icons/pc/icons/share/index.d.ts +6 -0
  185. package/types/components/component-icons/pc/icons/tips/index.d.ts +6 -0
  186. package/types/components/component-icons/pc/icons/translate/index.d.ts +6 -0
  187. package/types/components/component-icons/pc/icons/video-call/index.d.ts +6 -0
  188. package/types/components/component-icons/pc/icons/voice-call/index.d.ts +6 -0
  189. package/types/components/component-icons/pc/icons/warning-round-fill/index.d.ts +6 -0
  190. package/types/components/component-icons/pc/icons/watch-duration/index.d.ts +6 -0
  191. package/types/components/component-icons/pc/map.d.ts +4 -0
  192. package/types/components/direct-login-page/direct-login-page.vue.d.ts +2 -0
  193. package/types/components/direct-login-page/use-direct-login-page.d.ts +1 -0
  194. package/types/components/identify-login-page/mobile-identify-login-page.vue.d.ts +11 -0
  195. package/types/components/identify-login-page/pc-identify-login-page.vue.d.ts +11 -0
  196. package/types/components/identify-login-page/use-identify-login-page.d.ts +3 -0
  197. package/types/components/login-method-switch/index.d.ts +3 -0
  198. package/types/components/login-method-switch/mobile-login-method-switch.vue.d.ts +14 -0
  199. package/types/components/login-method-switch/pc-login-method-switch.vue.d.ts +14 -0
  200. package/types/components/login-method-switch/types.d.ts +7 -0
  201. package/types/components/login-method-switch/use-login-method-switch.d.ts +20 -0
  202. package/types/components/wx-login-page/components/wx-scan-login/pc-wx-scan-login.vue.d.ts +2 -0
  203. package/types/components/wx-login-page/components/wx-scan-login/use-wx-scan-login.d.ts +7 -0
  204. package/types/components/wx-login-page/mobile-wx-login-page.vue.d.ts +9 -0
  205. package/types/components/wx-login-page/pc-wx-login-page.vue.d.ts +9 -0
  206. package/types/components/wx-login-page/use-wx-login-page.d.ts +23 -0
  207. package/types/exports/index.d.ts +5 -0
  208. package/types/exports/lib/mobile.d.ts +65 -0
  209. package/types/exports/lib/pc.d.ts +45 -0
  210. package/types/exports/lib/watch-identify-login-page/mobile-watch-identify-login-page.vue.d.ts +40 -0
  211. package/types/exports/lib/watch-identify-login-page/pc-watch-identify-login-page.vue.d.ts +40 -0
  212. package/types/exports/lib/watch-identify-scan-login-result/watch-identify-scan-login-result.vue.d.ts +20 -0
  213. package/types/exports/mobile-index.d.ts +5 -0
  214. package/types/exports/pc-index.d.ts +5 -0
  215. package/types/hooks/behaviors/use-append-to/index.d.ts +7 -0
  216. package/types/hooks/behaviors/use-click-outside/index.d.ts +19 -0
  217. package/types/hooks/business/use-login-config/index.d.ts +25 -0
  218. package/types/hooks/components/use-popper/_components/popper-arrow.vue.d.ts +23 -0
  219. package/types/hooks/components/use-popper/_hooks/use-popper-arrow.d.ts +15 -0
  220. package/types/hooks/components/use-popper/_hooks/use-popper-core.d.ts +241 -0
  221. package/types/hooks/components/use-popper/_hooks/use-popper-interactive.d.ts +5 -0
  222. package/types/hooks/components/use-popper/_hooks/use-popper-visible.d.ts +9 -0
  223. package/types/hooks/components/use-popper/_popper-type.d.ts +70 -0
  224. package/types/hooks/components/use-popper/index.d.ts +31 -0
  225. package/types/hooks/components/use-popper/use-auto-topmost-show.d.ts +7 -0
  226. package/types/hooks/components/use-toast/_components/mobile-toast.vue.d.ts +42 -0
  227. package/types/hooks/components/use-toast/_components/pc-toast.vue.d.ts +42 -0
  228. package/types/hooks/components/use-toast/_hooks/use-toast-comp.d.ts +53 -0
  229. package/types/hooks/components/use-toast/_toast_type.d.ts +28 -0
  230. package/types/hooks/components/use-toast/index.d.ts +59 -0
  231. package/types/hooks/core/use-page-size/index.d.ts +4 -0
  232. package/types/hooks/core/use-root-inject/index.d.ts +11 -0
  233. package/types/hooks/core/use-root-provide/index.d.ts +58 -0
  234. package/types/hooks/core/use-screen-orient/index.d.ts +25 -0
  235. package/types/hooks/core/use-vue/index.d.ts +11 -0
  236. package/types/hooks/core/use-window-resize-listener/index.d.ts +7 -0
  237. package/types/hooks/platform/use-weixin/use-weixin-authorize.d.ts +4 -0
  238. package/types/hooks/tools/use-count-down/index.d.ts +29 -0
  239. package/types/main.d.ts +7 -0
  240. package/types/plugins/async-validator/index.d.ts +3 -0
  241. package/types/plugins/external-lib-loaders/load-ali-awsc.d.ts +4 -0
  242. package/types/plugins/polyv-ui/admin-import.d.ts +3 -0
  243. package/types/plugins/polyv-ui/types.d.ts +63 -0
@@ -0,0 +1,48 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: import("vue-types").VueTypeValidableDef<string> & {
3
+ default: string;
4
+ };
5
+ needAreaCode: import("vue-types").VueTypeValidableDef<boolean> & {
6
+ default: boolean;
7
+ };
8
+ areaCode: import("vue-types").VueTypeValidableDef<string> & {
9
+ default: string;
10
+ };
11
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
12
+ default: string;
13
+ };
14
+ size: import("vue-types").VueTypeValidableDef<import("../types/enums").FormSize>;
15
+ theme: import("vue-types").VueTypeValidableDef<import("../types/enums").FormTheme>;
16
+ validateForm: import("vue-types").VueTypeValidableDef<boolean> & {
17
+ default: boolean;
18
+ };
19
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
20
+ input: (arg: string) => void;
21
+ blur: (arg: string) => void;
22
+ "update:areaCode": (arg: string) => void;
23
+ }, string, Readonly<import("vue").ExtractPropTypes<{
24
+ value: import("vue-types").VueTypeValidableDef<string> & {
25
+ default: string;
26
+ };
27
+ needAreaCode: import("vue-types").VueTypeValidableDef<boolean> & {
28
+ default: boolean;
29
+ };
30
+ areaCode: import("vue-types").VueTypeValidableDef<string> & {
31
+ default: string;
32
+ };
33
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
34
+ default: string;
35
+ };
36
+ size: import("vue-types").VueTypeValidableDef<import("../types/enums").FormSize>;
37
+ theme: import("vue-types").VueTypeValidableDef<import("../types/enums").FormTheme>;
38
+ validateForm: import("vue-types").VueTypeValidableDef<boolean> & {
39
+ default: boolean;
40
+ };
41
+ }>>, {
42
+ value: string;
43
+ validateForm: boolean;
44
+ placeholder: string;
45
+ needAreaCode: boolean;
46
+ areaCode: string;
47
+ }>;
48
+ export default _default;
@@ -0,0 +1,48 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: import("vue-types").VueTypeValidableDef<string> & {
3
+ default: string;
4
+ };
5
+ needAreaCode: import("vue-types").VueTypeValidableDef<boolean> & {
6
+ default: boolean;
7
+ };
8
+ areaCode: import("vue-types").VueTypeValidableDef<string> & {
9
+ default: string;
10
+ };
11
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
12
+ default: string;
13
+ };
14
+ size: import("vue-types").VueTypeValidableDef<import("../types/enums").FormSize>;
15
+ theme: import("vue-types").VueTypeValidableDef<import("../types/enums").FormTheme>;
16
+ validateForm: import("vue-types").VueTypeValidableDef<boolean> & {
17
+ default: boolean;
18
+ };
19
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
20
+ input: (arg: string) => void;
21
+ blur: (arg: string) => void;
22
+ "update:areaCode": (arg: string) => void;
23
+ }, string, Readonly<import("vue").ExtractPropTypes<{
24
+ value: import("vue-types").VueTypeValidableDef<string> & {
25
+ default: string;
26
+ };
27
+ needAreaCode: import("vue-types").VueTypeValidableDef<boolean> & {
28
+ default: boolean;
29
+ };
30
+ areaCode: import("vue-types").VueTypeValidableDef<string> & {
31
+ default: string;
32
+ };
33
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
34
+ default: string;
35
+ };
36
+ size: import("vue-types").VueTypeValidableDef<import("../types/enums").FormSize>;
37
+ theme: import("vue-types").VueTypeValidableDef<import("../types/enums").FormTheme>;
38
+ validateForm: import("vue-types").VueTypeValidableDef<boolean> & {
39
+ default: boolean;
40
+ };
41
+ }>>, {
42
+ value: string;
43
+ validateForm: boolean;
44
+ placeholder: string;
45
+ needAreaCode: boolean;
46
+ areaCode: string;
47
+ }>;
48
+ export default _default;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * @file 手机号码输入框 hook
3
+ */
4
+ import { VueProps } from '../../../../assets/utils/vue-utils/props-utils';
5
+ import { VueEmit } from '../../../../assets/utils/vue-utils/emit-utils';
6
+ import { InputValueType } from '../form-input/hooks/use-form-input';
7
+ import { FormInputInstance } from '../form-input/types/form-input-types';
8
+ export declare const formPhoneInputProps: () => {
9
+ value: import("vue-types").VueTypeValidableDef<string> & {
10
+ default: string;
11
+ };
12
+ /** 是否需要显示区号 */
13
+ needAreaCode: import("vue-types").VueTypeValidableDef<boolean> & {
14
+ default: boolean;
15
+ };
16
+ areaCode: import("vue-types").VueTypeValidableDef<string> & {
17
+ default: string;
18
+ };
19
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
20
+ default: string;
21
+ };
22
+ size: import("vue-types").VueTypeValidableDef<import("../types/enums").FormSize>;
23
+ theme: import("vue-types").VueTypeValidableDef<import("../types/enums").FormTheme>;
24
+ validateForm: import("vue-types").VueTypeValidableDef<boolean> & {
25
+ default: boolean;
26
+ };
27
+ };
28
+ export declare const formPhoneInputEmits: () => {
29
+ "update:areaCode": (arg: string) => void;
30
+ input: (arg: string) => void;
31
+ blur: (arg: string) => void;
32
+ };
33
+ export declare const useFormPhoneInput: (options: {
34
+ props: VueProps<typeof formPhoneInputProps>;
35
+ emit: VueEmit<typeof formPhoneInputEmits>;
36
+ closePhoneCode?: () => void;
37
+ }) => {
38
+ inputRef: import("vue").Ref<FormInputInstance | undefined>;
39
+ inputPlaceholder: import("vue").ComputedRef<string>;
40
+ onFormInputChange: (val: InputValueType) => void;
41
+ onFormInputBlur: () => Promise<void>;
42
+ onPhoneCodeInput: (code: string) => void;
43
+ };
@@ -0,0 +1,30 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ value: import("vue-types").VueTypeValidableDef<boolean> & {
3
+ default: boolean;
4
+ };
5
+ content: import("vue-types").VueTypeValidableDef<string> & {
6
+ default: string;
7
+ };
8
+ }, {
9
+ openProtocol: (a: HTMLAnchorElement) => void;
10
+ }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
11
+ input: (arg: boolean) => void;
12
+ }, string, Readonly<import("vue").ExtractPropTypes<{
13
+ value: import("vue-types").VueTypeValidableDef<boolean> & {
14
+ default: boolean;
15
+ };
16
+ content: import("vue-types").VueTypeValidableDef<string> & {
17
+ default: string;
18
+ };
19
+ }>>, {
20
+ value: boolean;
21
+ content: string;
22
+ }>, {
23
+ "checkbox-label"?(_: {}): any;
24
+ }>;
25
+ export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $scopedSlots: S;
29
+ };
30
+ };
@@ -0,0 +1,30 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ value: import("vue-types").VueTypeValidableDef<boolean> & {
3
+ default: boolean;
4
+ };
5
+ content: import("vue-types").VueTypeValidableDef<string> & {
6
+ default: string;
7
+ };
8
+ }, {
9
+ openProtocol: (a: HTMLAnchorElement) => void;
10
+ }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
11
+ input: (arg: boolean) => void;
12
+ }, string, Readonly<import("vue").ExtractPropTypes<{
13
+ value: import("vue-types").VueTypeValidableDef<boolean> & {
14
+ default: boolean;
15
+ };
16
+ content: import("vue-types").VueTypeValidableDef<string> & {
17
+ default: string;
18
+ };
19
+ }>>, {
20
+ value: boolean;
21
+ content: string;
22
+ }>, {
23
+ "checkbox-label"?(_: {}): any;
24
+ }>;
25
+ export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $scopedSlots: S;
29
+ };
30
+ };
@@ -0,0 +1,29 @@
1
+ import { VueEmit } from '../../../../assets/utils/vue-utils/emit-utils';
2
+ import { VueProps } from '../../../../assets/utils/vue-utils/props-utils';
3
+ export interface FormProtocolInstance {
4
+ /** 打开协议 */
5
+ openProtocol: (a: HTMLAnchorElement) => void;
6
+ }
7
+ export declare const formProtocolProps: () => {
8
+ /** 是否选中 */
9
+ value: import("vue-types").VueTypeValidableDef<boolean> & {
10
+ default: boolean;
11
+ };
12
+ /** 协议内容 */
13
+ content: import("vue-types").VueTypeValidableDef<string> & {
14
+ default: string;
15
+ };
16
+ };
17
+ export declare const formProtocolEmits: () => {
18
+ input: (arg: boolean) => void;
19
+ };
20
+ export declare const useFormProtocol: (options: {
21
+ props: VueProps<typeof formProtocolProps>;
22
+ emit: VueEmit<typeof formProtocolEmits>;
23
+ onProtocolClick: (el: HTMLAnchorElement) => void;
24
+ }) => {
25
+ checkboxChecked: import("vue").ComputedRef<boolean>;
26
+ onCheckboxChange: (checked: boolean) => void;
27
+ protocolContentRef: import("vue").Ref<HTMLDivElement | undefined>;
28
+ contentHtml: import("vue").ComputedRef<string>;
29
+ };
@@ -0,0 +1,11 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: import("vue-types").VueTypeValidableDef<import("./use-slide-verify").SlideVerifyData>;
3
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
4
+ input: (arg: import("./use-slide-verify").SlideVerifyData) => void;
5
+ "verify-success": (arg: import("./use-slide-verify").SlideVerifyData) => void;
6
+ "verify-fail": (arg: string) => void;
7
+ "verify-error": (arg: string) => void;
8
+ }, string, Readonly<import("vue").ExtractPropTypes<{
9
+ value: import("vue-types").VueTypeValidableDef<import("./use-slide-verify").SlideVerifyData>;
10
+ }>>, {}>;
11
+ export default _default;
@@ -0,0 +1,11 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: import("vue-types").VueTypeValidableDef<import("./use-slide-verify").SlideVerifyData>;
3
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
4
+ input: (arg: import("./use-slide-verify").SlideVerifyData) => void;
5
+ "verify-success": (arg: import("./use-slide-verify").SlideVerifyData) => void;
6
+ "verify-fail": (arg: string) => void;
7
+ "verify-error": (arg: string) => void;
8
+ }, string, Readonly<import("vue").ExtractPropTypes<{
9
+ value: import("vue-types").VueTypeValidableDef<import("./use-slide-verify").SlideVerifyData>;
10
+ }>>, {}>;
11
+ export default _default;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @file 滑块验证码 hook
3
+ */
4
+ import { VueProps } from '../../../../assets/utils/vue-utils/props-utils';
5
+ import { VueEmit } from '../../../../assets/utils/vue-utils/emit-utils';
6
+ export interface SlideVerifyData {
7
+ sessionId: string;
8
+ sig: string;
9
+ token: string;
10
+ scene: string;
11
+ }
12
+ export declare const formSlideVerifyProps: () => {
13
+ /** 绑定的验证值 */
14
+ value: import("vue-types").VueTypeValidableDef<SlideVerifyData>;
15
+ };
16
+ export declare const formSlideVerifyEmits: () => {
17
+ input: (arg: SlideVerifyData) => void;
18
+ 'verify-success': (arg: SlideVerifyData) => void;
19
+ 'verify-fail': (arg: string) => void;
20
+ 'verify-error': (arg: string) => void;
21
+ };
22
+ export declare const useSlideVerify: (options: {
23
+ props: VueProps<typeof formSlideVerifyProps>;
24
+ emit: VueEmit<typeof formSlideVerifyEmits>;
25
+ }) => {
26
+ id: string;
27
+ initSlideVerify: () => Promise<void>;
28
+ };
@@ -0,0 +1,57 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: import("vue-types").VueTypeValidableDef<string> & {
3
+ default: string;
4
+ };
5
+ areaCode: import("vue-types").VueTypeValidableDef<string> & {
6
+ default: string;
7
+ };
8
+ phoneNumber: import("vue-types").VueTypeValidableDef<string> & {
9
+ default: string;
10
+ };
11
+ smsScene: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").SmsScene> & {
12
+ required: true;
13
+ };
14
+ validType: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").SmsValidType> & {
15
+ default: import("@polyv/watch-identify-sdk-core").SmsValidType;
16
+ };
17
+ imageId: import("vue-types").VueTypeValidableDef<string> & {
18
+ default: string;
19
+ };
20
+ imageCaptcha: import("vue-types").VueTypeValidableDef<string> & {
21
+ default: string;
22
+ };
23
+ imageVerifyInputRef: import("vue-types").VueTypeDef<import("../form-image-verify-input/type").ImageVerifyInputInstance | import("../form-image-verify-input/type").ImageVerifyInputInstance[]>;
24
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
25
+ input: (arg: string) => void;
26
+ }, string, Readonly<import("vue").ExtractPropTypes<{
27
+ value: import("vue-types").VueTypeValidableDef<string> & {
28
+ default: string;
29
+ };
30
+ areaCode: import("vue-types").VueTypeValidableDef<string> & {
31
+ default: string;
32
+ };
33
+ phoneNumber: import("vue-types").VueTypeValidableDef<string> & {
34
+ default: string;
35
+ };
36
+ smsScene: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").SmsScene> & {
37
+ required: true;
38
+ };
39
+ validType: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").SmsValidType> & {
40
+ default: import("@polyv/watch-identify-sdk-core").SmsValidType;
41
+ };
42
+ imageId: import("vue-types").VueTypeValidableDef<string> & {
43
+ default: string;
44
+ };
45
+ imageCaptcha: import("vue-types").VueTypeValidableDef<string> & {
46
+ default: string;
47
+ };
48
+ imageVerifyInputRef: import("vue-types").VueTypeDef<import("../form-image-verify-input/type").ImageVerifyInputInstance | import("../form-image-verify-input/type").ImageVerifyInputInstance[]>;
49
+ }>>, {
50
+ value: string;
51
+ areaCode: string;
52
+ imageCaptcha: string;
53
+ phoneNumber: string;
54
+ validType: import("@polyv/watch-identify-sdk-core").SmsValidType;
55
+ imageId: string;
56
+ }>;
57
+ export default _default;
@@ -0,0 +1,57 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: import("vue-types").VueTypeValidableDef<string> & {
3
+ default: string;
4
+ };
5
+ areaCode: import("vue-types").VueTypeValidableDef<string> & {
6
+ default: string;
7
+ };
8
+ phoneNumber: import("vue-types").VueTypeValidableDef<string> & {
9
+ default: string;
10
+ };
11
+ smsScene: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").SmsScene> & {
12
+ required: true;
13
+ };
14
+ validType: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").SmsValidType> & {
15
+ default: import("@polyv/watch-identify-sdk-core").SmsValidType;
16
+ };
17
+ imageId: import("vue-types").VueTypeValidableDef<string> & {
18
+ default: string;
19
+ };
20
+ imageCaptcha: import("vue-types").VueTypeValidableDef<string> & {
21
+ default: string;
22
+ };
23
+ imageVerifyInputRef: import("vue-types").VueTypeDef<import("../form-image-verify-input/type").ImageVerifyInputInstance | import("../form-image-verify-input/type").ImageVerifyInputInstance[]>;
24
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
25
+ input: (arg: string) => void;
26
+ }, string, Readonly<import("vue").ExtractPropTypes<{
27
+ value: import("vue-types").VueTypeValidableDef<string> & {
28
+ default: string;
29
+ };
30
+ areaCode: import("vue-types").VueTypeValidableDef<string> & {
31
+ default: string;
32
+ };
33
+ phoneNumber: import("vue-types").VueTypeValidableDef<string> & {
34
+ default: string;
35
+ };
36
+ smsScene: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").SmsScene> & {
37
+ required: true;
38
+ };
39
+ validType: import("vue-types").VueTypeValidableDef<import("@polyv/watch-identify-sdk-core").SmsValidType> & {
40
+ default: import("@polyv/watch-identify-sdk-core").SmsValidType;
41
+ };
42
+ imageId: import("vue-types").VueTypeValidableDef<string> & {
43
+ default: string;
44
+ };
45
+ imageCaptcha: import("vue-types").VueTypeValidableDef<string> & {
46
+ default: string;
47
+ };
48
+ imageVerifyInputRef: import("vue-types").VueTypeDef<import("../form-image-verify-input/type").ImageVerifyInputInstance | import("../form-image-verify-input/type").ImageVerifyInputInstance[]>;
49
+ }>>, {
50
+ value: string;
51
+ areaCode: string;
52
+ imageCaptcha: string;
53
+ phoneNumber: string;
54
+ validType: import("@polyv/watch-identify-sdk-core").SmsValidType;
55
+ imageId: string;
56
+ }>;
57
+ export default _default;
@@ -0,0 +1,65 @@
1
+ /**
2
+ * @file 短信验证码输入框 hook
3
+ */
4
+ import { VueProps } from '../../../../assets/utils/vue-utils/props-utils';
5
+ import { SmsScene, SmsValidType } from '@polyv/watch-identify-sdk-core';
6
+ import { VueEmit } from '../../../../assets/utils/vue-utils/emit-utils';
7
+ import { InputValueType } from '../form-input/hooks/use-form-input';
8
+ import { ImageVerifyInputInstance } from '../form-image-verify-input/type';
9
+ /** 验证类型,imageCode - 图片验证码,sliderCode - 滑块验证码 */
10
+ export type VerifyType = 'imageCaptcha' | 'sliderCode';
11
+ /**
12
+ * <form-sms-verify-input> props 配置
13
+ */
14
+ export declare const formSmsVerifyInputProps: () => {
15
+ /** 绑定值 */
16
+ value: import("vue-types").VueTypeValidableDef<string> & {
17
+ default: string;
18
+ };
19
+ /** 区号 */
20
+ areaCode: import("vue-types").VueTypeValidableDef<string> & {
21
+ default: string;
22
+ };
23
+ /** 手机号 */
24
+ phoneNumber: import("vue-types").VueTypeValidableDef<string> & {
25
+ default: string;
26
+ };
27
+ /** 短信场景 */
28
+ smsScene: import("vue-types").VueTypeValidableDef<SmsScene> & {
29
+ required: true;
30
+ };
31
+ /** 验证类型 */
32
+ validType: import("vue-types").VueTypeValidableDef<SmsValidType> & {
33
+ default: SmsValidType;
34
+ };
35
+ /** 图片验证码 id */
36
+ imageId: import("vue-types").VueTypeValidableDef<string> & {
37
+ default: string;
38
+ };
39
+ /** 图片验证码 */
40
+ imageCaptcha: import("vue-types").VueTypeValidableDef<string> & {
41
+ default: string;
42
+ };
43
+ /** 图片验证码节点 */
44
+ imageVerifyInputRef: import("vue-types").VueTypeDef<ImageVerifyInputInstance | ImageVerifyInputInstance[]>;
45
+ };
46
+ /**
47
+ * <form-sms-verify-input> emit 配置
48
+ */
49
+ export declare const formSmsVerifyInputEmits: () => {
50
+ input: (arg: string) => void;
51
+ };
52
+ export declare const useSmsVerifyInput: (options: {
53
+ props: VueProps<typeof formSmsVerifyInputProps>;
54
+ emit: VueEmit<typeof formSmsVerifyInputEmits>;
55
+ }) => {
56
+ inputPlaceholder: import("vue").ComputedRef<string>;
57
+ sendDisabled: import("vue").ComputedRef<boolean>;
58
+ sendText: import("vue").ComputedRef<string>;
59
+ SmsValidType: typeof SmsValidType;
60
+ onInputChange: (val: InputValueType) => void;
61
+ slideVerifyVisible: import("vue").Ref<boolean>;
62
+ onClickSend: () => void;
63
+ toSendSliderSmsCode: (slideData: AliAwscSliceData) => Promise<void>;
64
+ toSendImageSmsCode: () => Promise<void>;
65
+ };
@@ -0,0 +1,70 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ debounceSubmit: import("vue-types").VueTypeValidableDef<boolean> & {
3
+ default: boolean;
4
+ };
5
+ text: import("vue-types").VueTypeValidableDef<string> & {
6
+ default: string;
7
+ };
8
+ nativeType: import("vue-types").VueTypeValidableDef<import("../normal-button").ButtonNativeType> & {
9
+ default: import("../normal-button").ButtonNativeType;
10
+ };
11
+ type: import("vue-types").VueTypeValidableDef<import("../normal-button").ButtonType> & {
12
+ default: import("../normal-button").ButtonType;
13
+ };
14
+ size: import("vue-types").VueTypeValidableDef<import("../normal-button").ButtonSize> & {
15
+ default: import("../normal-button").ButtonSize;
16
+ };
17
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
18
+ default: boolean;
19
+ };
20
+ block: import("vue-types").VueTypeValidableDef<boolean> & {
21
+ default: boolean;
22
+ };
23
+ icon: import("vue-types").VueTypeValidableDef<import("@polyv/icons-vue/icon-builder").IconComponentOption>;
24
+ iconClass: import("vue-types").VueTypeValidableDef<string> & {
25
+ default: string;
26
+ };
27
+ allowDisabledClick: import("vue-types").VueTypeValidableDef<boolean> & {
28
+ default: boolean;
29
+ };
30
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
31
+ debounceSubmit: import("vue-types").VueTypeValidableDef<boolean> & {
32
+ default: boolean;
33
+ };
34
+ text: import("vue-types").VueTypeValidableDef<string> & {
35
+ default: string;
36
+ };
37
+ nativeType: import("vue-types").VueTypeValidableDef<import("../normal-button").ButtonNativeType> & {
38
+ default: import("../normal-button").ButtonNativeType;
39
+ };
40
+ type: import("vue-types").VueTypeValidableDef<import("../normal-button").ButtonType> & {
41
+ default: import("../normal-button").ButtonType;
42
+ };
43
+ size: import("vue-types").VueTypeValidableDef<import("../normal-button").ButtonSize> & {
44
+ default: import("../normal-button").ButtonSize;
45
+ };
46
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
47
+ default: boolean;
48
+ };
49
+ block: import("vue-types").VueTypeValidableDef<boolean> & {
50
+ default: boolean;
51
+ };
52
+ icon: import("vue-types").VueTypeValidableDef<import("@polyv/icons-vue/icon-builder").IconComponentOption>;
53
+ iconClass: import("vue-types").VueTypeValidableDef<string> & {
54
+ default: string;
55
+ };
56
+ allowDisabledClick: import("vue-types").VueTypeValidableDef<boolean> & {
57
+ default: boolean;
58
+ };
59
+ }>>, {
60
+ text: string;
61
+ nativeType: import("../normal-button").ButtonNativeType;
62
+ type: import("../normal-button").ButtonType;
63
+ size: import("../normal-button").ButtonSize;
64
+ disabled: boolean;
65
+ block: boolean;
66
+ iconClass: string;
67
+ allowDisabledClick: boolean;
68
+ debounceSubmit: boolean;
69
+ }>;
70
+ export default _default;
@@ -0,0 +1,74 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ formData: import("vue-types").VueTypeValidableDef<{
3
+ [key: string]: any;
4
+ }> & {
5
+ default: () => {
6
+ [key: string]: any;
7
+ };
8
+ };
9
+ formRules: import("vue-types").VueTypeValidableDef<import("async-validator").Rules> & {
10
+ default: () => import("async-validator").Rules;
11
+ };
12
+ labelWidth: import("vue-types").VueTypeValidableDef<number> & {
13
+ default: number;
14
+ };
15
+ labelHeight: import("vue-types").VueTypeValidableDef<number> & {
16
+ default: number;
17
+ };
18
+ contentWidth: import("vue-types").VueTypeValidableDef<number>;
19
+ submitAction: import("vue-types").VueTypeValidableDef<(...args: any[]) => any>;
20
+ theme: import("vue-types").VueTypeValidableDef<import("./types/enums").FormTheme>;
21
+ labelModel: import("vue-types").VueTypeDef<"header" | "inline"> & {
22
+ default: "header" | "inline";
23
+ };
24
+ debug: import("vue-types").VueTypeValidableDef<boolean> & {
25
+ default: boolean;
26
+ };
27
+ }, {
28
+ validateCurrentForm: (validateOptions?: import("./types/form-types").FormValidateOptions) => Promise<void>;
29
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
30
+ "submit-form": (arg: UniversalParams<unknown>) => void;
31
+ }, string, Readonly<import("vue").ExtractPropTypes<{
32
+ formData: import("vue-types").VueTypeValidableDef<{
33
+ [key: string]: any;
34
+ }> & {
35
+ default: () => {
36
+ [key: string]: any;
37
+ };
38
+ };
39
+ formRules: import("vue-types").VueTypeValidableDef<import("async-validator").Rules> & {
40
+ default: () => import("async-validator").Rules;
41
+ };
42
+ labelWidth: import("vue-types").VueTypeValidableDef<number> & {
43
+ default: number;
44
+ };
45
+ labelHeight: import("vue-types").VueTypeValidableDef<number> & {
46
+ default: number;
47
+ };
48
+ contentWidth: import("vue-types").VueTypeValidableDef<number>;
49
+ submitAction: import("vue-types").VueTypeValidableDef<(...args: any[]) => any>;
50
+ theme: import("vue-types").VueTypeValidableDef<import("./types/enums").FormTheme>;
51
+ labelModel: import("vue-types").VueTypeDef<"header" | "inline"> & {
52
+ default: "header" | "inline";
53
+ };
54
+ debug: import("vue-types").VueTypeValidableDef<boolean> & {
55
+ default: boolean;
56
+ };
57
+ }>>, {
58
+ labelWidth: number;
59
+ labelHeight: number;
60
+ labelModel: "header" | "inline";
61
+ formData: {
62
+ [key: string]: any;
63
+ };
64
+ formRules: import("async-validator").Rules;
65
+ debug: boolean;
66
+ }>, {
67
+ default?(_: {}): any;
68
+ }>;
69
+ export default _default;
70
+ type __VLS_WithTemplateSlots<T, S> = T & {
71
+ new (): {
72
+ $scopedSlots: S;
73
+ };
74
+ };
@@ -0,0 +1,27 @@
1
+ import { VueProps } from '../../../../assets/utils/vue-utils/props-utils';
2
+ import { FormSize, FormTheme } from '../types/enums';
3
+ export declare const formCommonProps: () => {
4
+ /** 尺寸 */
5
+ size: import("vue-types").VueTypeValidableDef<FormSize>;
6
+ /** 主题 */
7
+ theme: import("vue-types").VueTypeValidableDef<FormTheme>;
8
+ /** 是否进行表单验证 */
9
+ validateForm: import("vue-types").VueTypeValidableDef<boolean> & {
10
+ default: boolean;
11
+ };
12
+ };
13
+ export declare const useFormCommon: (options: {
14
+ props: VueProps<typeof formCommonProps>;
15
+ classPrefix: string;
16
+ }) => {
17
+ commonClassNames: import("vue").ComputedRef<string[]>;
18
+ };
19
+ /** 表单组件下的验证状态 hook */
20
+ export declare const useFormCommonValidate: (options: {
21
+ props: VueProps<typeof formCommonProps>;
22
+ }) => {
23
+ validateCurrentFormItem: () => Promise<void>;
24
+ blurToValidateItem: () => Promise<void>;
25
+ focusToRemoveError: () => void;
26
+ formItemIsError: import("vue").ComputedRef<boolean>;
27
+ };