@sheinx/hooks 3.0.0-alpha.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 (1147) hide show
  1. package/cjs/common/type.d.ts +22 -0
  2. package/cjs/common/type.d.ts.map +1 -0
  3. package/cjs/common/type.js +5 -0
  4. package/cjs/common/use-click-away/index.d.ts +10 -0
  5. package/cjs/common/use-click-away/index.d.ts.map +1 -0
  6. package/cjs/common/use-click-away/index.js +50 -0
  7. package/cjs/common/use-default-value/index.d.ts +3 -0
  8. package/cjs/common/use-default-value/index.d.ts.map +1 -0
  9. package/cjs/common/use-default-value/index.js +26 -0
  10. package/cjs/common/use-default-value/use-default-value.d.ts +7 -0
  11. package/cjs/common/use-default-value/use-default-value.d.ts.map +1 -0
  12. package/cjs/common/use-default-value/use-default-value.js +35 -0
  13. package/cjs/common/use-default-value/use-previous.d.ts +3 -0
  14. package/cjs/common/use-default-value/use-previous.d.ts.map +1 -0
  15. package/cjs/common/use-default-value/use-previous.js +14 -0
  16. package/cjs/common/use-drag-mock/index.d.ts +12 -0
  17. package/cjs/common/use-drag-mock/index.d.ts.map +1 -0
  18. package/cjs/common/use-drag-mock/index.js +62 -0
  19. package/cjs/common/use-fork-ref/index.d.ts +5 -0
  20. package/cjs/common/use-fork-ref/index.d.ts.map +1 -0
  21. package/cjs/common/use-fork-ref/index.js +43 -0
  22. package/cjs/common/use-fork-ref/setRef.d.ts +16 -0
  23. package/cjs/common/use-fork-ref/setRef.d.ts.map +1 -0
  24. package/cjs/common/use-fork-ref/setRef.js +26 -0
  25. package/cjs/common/use-func-change/index.d.ts +2 -0
  26. package/cjs/common/use-func-change/index.d.ts.map +1 -0
  27. package/cjs/common/use-func-change/index.js +19 -0
  28. package/cjs/common/use-func-change/use-func-change.d.ts +10 -0
  29. package/cjs/common/use-func-change/use-func-change.d.ts.map +1 -0
  30. package/cjs/common/use-func-change/use-func-change.js +30 -0
  31. package/cjs/common/use-input-able/index.d.ts +2 -0
  32. package/cjs/common/use-input-able/index.d.ts.map +1 -0
  33. package/cjs/common/use-input-able/index.js +19 -0
  34. package/cjs/common/use-input-able/use-Input-able.d.ts +7 -0
  35. package/cjs/common/use-input-able/use-Input-able.d.ts.map +1 -0
  36. package/cjs/common/use-input-able/use-Input-able.js +90 -0
  37. package/cjs/common/use-input-able/use-Input-able.type.d.ts +10 -0
  38. package/cjs/common/use-input-able/use-Input-able.type.d.ts.map +1 -0
  39. package/cjs/common/use-input-able/use-Input-able.type.js +5 -0
  40. package/cjs/common/use-key-event/index.d.ts +10 -0
  41. package/cjs/common/use-key-event/index.d.ts.map +1 -0
  42. package/cjs/common/use-key-event/index.js +31 -0
  43. package/cjs/common/use-latest-obj/index.d.ts +5 -0
  44. package/cjs/common/use-latest-obj/index.d.ts.map +1 -0
  45. package/cjs/common/use-latest-obj/index.js +19 -0
  46. package/cjs/common/use-list-select/index.d.ts +5 -0
  47. package/cjs/common/use-list-select/index.d.ts.map +1 -0
  48. package/cjs/common/use-list-select/index.js +33 -0
  49. package/cjs/common/use-list-select/use-list-select-multiple.d.ts +29 -0
  50. package/cjs/common/use-list-select/use-list-select-multiple.d.ts.map +1 -0
  51. package/cjs/common/use-list-select/use-list-select-multiple.js +283 -0
  52. package/cjs/common/use-list-select/use-list-select-single.d.ts +24 -0
  53. package/cjs/common/use-list-select/use-list-select-single.d.ts.map +1 -0
  54. package/cjs/common/use-list-select/use-list-select-single.js +46 -0
  55. package/cjs/common/use-list-select/use-list-select.d.ts +49 -0
  56. package/cjs/common/use-list-select/use-list-select.d.ts.map +1 -0
  57. package/cjs/common/use-list-select/use-list-select.js +58 -0
  58. package/cjs/common/use-list-select/use-list.type.d.ts +26 -0
  59. package/cjs/common/use-list-select/use-list.type.d.ts.map +1 -0
  60. package/cjs/common/use-list-select/use-list.type.js +5 -0
  61. package/cjs/common/use-pagination-list/index.d.ts +27 -0
  62. package/cjs/common/use-pagination-list/index.d.ts.map +1 -0
  63. package/cjs/common/use-pagination-list/index.js +62 -0
  64. package/cjs/common/use-persist-fn/index.d.ts +9 -0
  65. package/cjs/common/use-persist-fn/index.d.ts.map +1 -0
  66. package/cjs/common/use-persist-fn/index.js +27 -0
  67. package/cjs/common/use-position-style/get-position-style.d.ts +6 -0
  68. package/cjs/common/use-position-style/get-position-style.d.ts.map +1 -0
  69. package/cjs/common/use-position-style/get-position-style.js +54 -0
  70. package/cjs/common/use-position-style/index.d.ts +21 -0
  71. package/cjs/common/use-position-style/index.d.ts.map +1 -0
  72. package/cjs/common/use-position-style/index.js +244 -0
  73. package/cjs/common/use-previous/index.d.ts +3 -0
  74. package/cjs/common/use-previous/index.d.ts.map +1 -0
  75. package/cjs/common/use-previous/index.js +19 -0
  76. package/cjs/common/use-render/index.d.ts +3 -0
  77. package/cjs/common/use-render/index.d.ts.map +1 -0
  78. package/cjs/common/use-render/index.js +28 -0
  79. package/cjs/common/use-resize/index.d.ts +13 -0
  80. package/cjs/common/use-resize/index.d.ts.map +1 -0
  81. package/cjs/common/use-resize/index.js +53 -0
  82. package/cjs/common/use-safe-state/index.d.ts +5 -0
  83. package/cjs/common/use-safe-state/index.d.ts.map +1 -0
  84. package/cjs/common/use-safe-state/index.js +27 -0
  85. package/cjs/common/use-style/index.d.ts +5 -0
  86. package/cjs/common/use-style/index.d.ts.map +1 -0
  87. package/cjs/common/use-style/index.js +31 -0
  88. package/cjs/common/use-toggle/index.d.ts +9 -0
  89. package/cjs/common/use-toggle/index.d.ts.map +1 -0
  90. package/cjs/common/use-toggle/index.js +45 -0
  91. package/cjs/common/use-transform/index.d.ts +2 -0
  92. package/cjs/common/use-transform/index.d.ts.map +1 -0
  93. package/cjs/common/use-transform/index.js +19 -0
  94. package/cjs/common/use-transform/use-transform.d.ts +21 -0
  95. package/cjs/common/use-transform/use-transform.d.ts.map +1 -0
  96. package/cjs/common/use-transform/use-transform.js +141 -0
  97. package/cjs/common/use-transform/use-transform.type.d.ts +19 -0
  98. package/cjs/common/use-transform/use-transform.type.d.ts.map +1 -0
  99. package/cjs/common/use-transform/use-transform.type.js +5 -0
  100. package/cjs/common/use-unmounted-ref/index.d.ts +4 -0
  101. package/cjs/common/use-unmounted-ref/index.d.ts.map +1 -0
  102. package/cjs/common/use-unmounted-ref/index.js +20 -0
  103. package/cjs/components/use-button/index.d.ts +3 -0
  104. package/cjs/components/use-button/index.d.ts.map +1 -0
  105. package/cjs/components/use-button/index.js +19 -0
  106. package/cjs/components/use-button/use-button-group.type.d.ts +8 -0
  107. package/cjs/components/use-button/use-button-group.type.d.ts.map +1 -0
  108. package/cjs/components/use-button/use-button-group.type.js +5 -0
  109. package/cjs/components/use-button/use-button.d.ts +38 -0
  110. package/cjs/components/use-button/use-button.d.ts.map +1 -0
  111. package/cjs/components/use-button/use-button.js +85 -0
  112. package/cjs/components/use-button/use-button.type.d.ts +35 -0
  113. package/cjs/components/use-button/use-button.type.d.ts.map +1 -0
  114. package/cjs/components/use-button/use-button.type.js +5 -0
  115. package/cjs/components/use-carousel/index.d.ts +2 -0
  116. package/cjs/components/use-carousel/index.d.ts.map +1 -0
  117. package/cjs/components/use-carousel/index.js +19 -0
  118. package/cjs/components/use-carousel/use-carousel.d.ts +27 -0
  119. package/cjs/components/use-carousel/use-carousel.d.ts.map +1 -0
  120. package/cjs/components/use-carousel/use-carousel.js +102 -0
  121. package/cjs/components/use-check/index.d.ts +3 -0
  122. package/cjs/components/use-check/index.d.ts.map +1 -0
  123. package/cjs/components/use-check/index.js +19 -0
  124. package/cjs/components/use-check/use-check.d.ts +32 -0
  125. package/cjs/components/use-check/use-check.d.ts.map +1 -0
  126. package/cjs/components/use-check/use-check.js +103 -0
  127. package/cjs/components/use-check/use-check.type.d.ts +10 -0
  128. package/cjs/components/use-check/use-check.type.d.ts.map +1 -0
  129. package/cjs/components/use-check/use-check.type.js +5 -0
  130. package/cjs/components/use-datepicker/index.d.ts +10 -0
  131. package/cjs/components/use-datepicker/index.d.ts.map +1 -0
  132. package/cjs/components/use-datepicker/index.js +62 -0
  133. package/cjs/components/use-datepicker/use-date.d.ts +25 -0
  134. package/cjs/components/use-datepicker/use-date.d.ts.map +1 -0
  135. package/cjs/components/use-datepicker/use-date.js +181 -0
  136. package/cjs/components/use-datepicker/use-date.type.d.ts +19 -0
  137. package/cjs/components/use-datepicker/use-date.type.d.ts.map +1 -0
  138. package/cjs/components/use-datepicker/use-date.type.js +5 -0
  139. package/cjs/components/use-datepicker/use-datepicker-format.d.ts +29 -0
  140. package/cjs/components/use-datepicker/use-datepicker-format.d.ts.map +1 -0
  141. package/cjs/components/use-datepicker/use-datepicker-format.js +301 -0
  142. package/cjs/components/use-datepicker/use-datepicker-format.type.d.ts +27 -0
  143. package/cjs/components/use-datepicker/use-datepicker-format.type.d.ts.map +1 -0
  144. package/cjs/components/use-datepicker/use-datepicker-format.type.js +5 -0
  145. package/cjs/components/use-datepicker/use-datepicker-range.d.ts +22 -0
  146. package/cjs/components/use-datepicker/use-datepicker-range.d.ts.map +1 -0
  147. package/cjs/components/use-datepicker/use-datepicker-range.js +207 -0
  148. package/cjs/components/use-datepicker/use-datepicker-range.type.d.ts +25 -0
  149. package/cjs/components/use-datepicker/use-datepicker-range.type.d.ts.map +1 -0
  150. package/cjs/components/use-datepicker/use-datepicker-range.type.js +5 -0
  151. package/cjs/components/use-datepicker/use-month.d.ts +18 -0
  152. package/cjs/components/use-datepicker/use-month.d.ts.map +1 -0
  153. package/cjs/components/use-datepicker/use-month.js +121 -0
  154. package/cjs/components/use-datepicker/use-month.type.d.ts +16 -0
  155. package/cjs/components/use-datepicker/use-month.type.d.ts.map +1 -0
  156. package/cjs/components/use-datepicker/use-month.type.js +5 -0
  157. package/cjs/components/use-datepicker/use-quarter.d.ts +18 -0
  158. package/cjs/components/use-datepicker/use-quarter.d.ts.map +1 -0
  159. package/cjs/components/use-datepicker/use-quarter.js +121 -0
  160. package/cjs/components/use-datepicker/use-quarter.type.d.ts +16 -0
  161. package/cjs/components/use-datepicker/use-quarter.type.d.ts.map +1 -0
  162. package/cjs/components/use-datepicker/use-quarter.type.js +5 -0
  163. package/cjs/components/use-datepicker/use-time.d.ts +18 -0
  164. package/cjs/components/use-datepicker/use-time.d.ts.map +1 -0
  165. package/cjs/components/use-datepicker/use-time.js +169 -0
  166. package/cjs/components/use-datepicker/use-time.type.d.ts +17 -0
  167. package/cjs/components/use-datepicker/use-time.type.d.ts.map +1 -0
  168. package/cjs/components/use-datepicker/use-time.type.js +5 -0
  169. package/cjs/components/use-datepicker/use-year.d.ts +20 -0
  170. package/cjs/components/use-datepicker/use-year.d.ts.map +1 -0
  171. package/cjs/components/use-datepicker/use-year.js +122 -0
  172. package/cjs/components/use-datepicker/use-year.type.d.ts +16 -0
  173. package/cjs/components/use-datepicker/use-year.type.d.ts.map +1 -0
  174. package/cjs/components/use-datepicker/use-year.type.js +5 -0
  175. package/cjs/components/use-datepicker/util.d.ts +82 -0
  176. package/cjs/components/use-datepicker/util.d.ts.map +1 -0
  177. package/cjs/components/use-datepicker/util.js +405 -0
  178. package/cjs/components/use-form/Provider.d.ts +4 -0
  179. package/cjs/components/use-form/Provider.d.ts.map +1 -0
  180. package/cjs/components/use-form/Provider.js +34 -0
  181. package/cjs/components/use-form/form-bind-context.d.ts +5 -0
  182. package/cjs/components/use-form/form-bind-context.d.ts.map +1 -0
  183. package/cjs/components/use-form/form-bind-context.js +19 -0
  184. package/cjs/components/use-form/form-config-context.d.ts +5 -0
  185. package/cjs/components/use-form/form-config-context.d.ts.map +1 -0
  186. package/cjs/components/use-form/form-config-context.js +19 -0
  187. package/cjs/components/use-form/form-func-context.d.ts +5 -0
  188. package/cjs/components/use-form/form-func-context.d.ts.map +1 -0
  189. package/cjs/components/use-form/form-func-context.js +19 -0
  190. package/cjs/components/use-form/index.d.ts +9 -0
  191. package/cjs/components/use-form/index.d.ts.map +1 -0
  192. package/cjs/components/use-form/index.js +87 -0
  193. package/cjs/components/use-form/use-form-control/index.d.ts +3 -0
  194. package/cjs/components/use-form/use-form-control/index.d.ts.map +1 -0
  195. package/cjs/components/use-form/use-form-control/index.js +19 -0
  196. package/cjs/components/use-form/use-form-control/use-form-control.d.ts +9 -0
  197. package/cjs/components/use-form/use-form-control/use-form-control.d.ts.map +1 -0
  198. package/cjs/components/use-form/use-form-control/use-form-control.js +196 -0
  199. package/cjs/components/use-form/use-form-control/use-form-control.type.d.ts +36 -0
  200. package/cjs/components/use-form/use-form-control/use-form-control.type.d.ts.map +1 -0
  201. package/cjs/components/use-form/use-form-control/use-form-control.type.js +5 -0
  202. package/cjs/components/use-form/use-form-fieldset/fieldset-context.d.ts +14 -0
  203. package/cjs/components/use-form/use-form-fieldset/fieldset-context.d.ts.map +1 -0
  204. package/cjs/components/use-form/use-form-fieldset/fieldset-context.js +47 -0
  205. package/cjs/components/use-form/use-form-fieldset/index.d.ts +4 -0
  206. package/cjs/components/use-form/use-form-fieldset/index.d.ts.map +1 -0
  207. package/cjs/components/use-form/use-form-fieldset/index.js +26 -0
  208. package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.d.ts +15 -0
  209. package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.d.ts.map +1 -0
  210. package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.js +52 -0
  211. package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.type.d.ts +5 -0
  212. package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.type.d.ts.map +1 -0
  213. package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.type.js +5 -0
  214. package/cjs/components/use-form/use-form-flow/index.d.ts +5 -0
  215. package/cjs/components/use-form/use-form-flow/index.d.ts.map +1 -0
  216. package/cjs/components/use-form/use-form-flow/index.js +26 -0
  217. package/cjs/components/use-form/use-form-flow/use-form-datum.d.ts +9 -0
  218. package/cjs/components/use-form/use-form-flow/use-form-datum.d.ts.map +1 -0
  219. package/cjs/components/use-form/use-form-flow/use-form-datum.js +18 -0
  220. package/cjs/components/use-form/use-form-flow/use-form-flow.d.ts +4 -0
  221. package/cjs/components/use-form/use-form-flow/use-form-flow.d.ts.map +1 -0
  222. package/cjs/components/use-form/use-form-flow/use-form-flow.js +30 -0
  223. package/cjs/components/use-form/use-form-flow/use-form-flow.type.d.ts +4 -0
  224. package/cjs/components/use-form/use-form-flow/use-form-flow.type.d.ts.map +1 -0
  225. package/cjs/components/use-form/use-form-flow/use-form-flow.type.js +5 -0
  226. package/cjs/components/use-form/use-form-item/form-item-context.d.ts +6 -0
  227. package/cjs/components/use-form/use-form-item/form-item-context.d.ts.map +1 -0
  228. package/cjs/components/use-form/use-form-item/form-item-context.js +17 -0
  229. package/cjs/components/use-form/use-form-item/index.d.ts +2 -0
  230. package/cjs/components/use-form/use-form-item/index.d.ts.map +1 -0
  231. package/cjs/components/use-form/use-form-item/index.js +19 -0
  232. package/cjs/components/use-form/use-form-item/use-form-item.d.ts +12 -0
  233. package/cjs/components/use-form/use-form-item/use-form-item.d.ts.map +1 -0
  234. package/cjs/components/use-form/use-form-item/use-form-item.js +62 -0
  235. package/cjs/components/use-form/use-form.d.ts +41 -0
  236. package/cjs/components/use-form/use-form.d.ts.map +1 -0
  237. package/cjs/components/use-form/use-form.js +427 -0
  238. package/cjs/components/use-form/use-form.type.d.ts +168 -0
  239. package/cjs/components/use-form/use-form.type.d.ts.map +1 -0
  240. package/cjs/components/use-form/use-form.type.js +5 -0
  241. package/cjs/components/use-image/index.d.ts +9 -0
  242. package/cjs/components/use-image/index.d.ts.map +1 -0
  243. package/cjs/components/use-image/index.js +40 -0
  244. package/cjs/components/use-image/use-image-gallery.d.ts +25 -0
  245. package/cjs/components/use-image/use-image-gallery.d.ts.map +1 -0
  246. package/cjs/components/use-image/use-image-gallery.js +168 -0
  247. package/cjs/components/use-image/use-image-gallery.type.d.ts +9 -0
  248. package/cjs/components/use-image/use-image-gallery.type.d.ts.map +1 -0
  249. package/cjs/components/use-image/use-image-gallery.type.js +5 -0
  250. package/cjs/components/use-image/use-image-group.d.ts +27 -0
  251. package/cjs/components/use-image/use-image-group.d.ts.map +1 -0
  252. package/cjs/components/use-image/use-image-group.js +107 -0
  253. package/cjs/components/use-image/use-image-group.type.d.ts +13 -0
  254. package/cjs/components/use-image/use-image-group.type.d.ts.map +1 -0
  255. package/cjs/components/use-image/use-image-group.type.js +5 -0
  256. package/cjs/components/use-image/use-image-magnify.d.ts +17 -0
  257. package/cjs/components/use-image/use-image-magnify.d.ts.map +1 -0
  258. package/cjs/components/use-image/use-image-magnify.js +104 -0
  259. package/cjs/components/use-image/use-image-magnify.type.d.ts +9 -0
  260. package/cjs/components/use-image/use-image-magnify.type.d.ts.map +1 -0
  261. package/cjs/components/use-image/use-image-magnify.type.js +5 -0
  262. package/cjs/components/use-image/use-image.d.ts +27 -0
  263. package/cjs/components/use-image/use-image.d.ts.map +1 -0
  264. package/cjs/components/use-image/use-image.js +164 -0
  265. package/cjs/components/use-image/use-image.type.d.ts +63 -0
  266. package/cjs/components/use-image/use-image.type.d.ts.map +1 -0
  267. package/cjs/components/use-image/use-image.type.js +5 -0
  268. package/cjs/components/use-input/index.d.ts +9 -0
  269. package/cjs/components/use-input/index.d.ts.map +1 -0
  270. package/cjs/components/use-input/index.js +40 -0
  271. package/cjs/components/use-input/use-input-format.d.ts +11 -0
  272. package/cjs/components/use-input/use-input-format.d.ts.map +1 -0
  273. package/cjs/components/use-input/use-input-format.js +136 -0
  274. package/cjs/components/use-input/use-input-format.type.d.ts +32 -0
  275. package/cjs/components/use-input/use-input-format.type.d.ts.map +1 -0
  276. package/cjs/components/use-input/use-input-format.type.js +5 -0
  277. package/cjs/components/use-input/use-input-number.d.ts +13 -0
  278. package/cjs/components/use-input/use-input-number.d.ts.map +1 -0
  279. package/cjs/components/use-input/use-input-number.js +129 -0
  280. package/cjs/components/use-input/use-input-number.type.d.ts +12 -0
  281. package/cjs/components/use-input/use-input-number.type.d.ts.map +1 -0
  282. package/cjs/components/use-input/use-input-number.type.js +5 -0
  283. package/cjs/components/use-input/use-input-password.d.ts +16 -0
  284. package/cjs/components/use-input/use-input-password.d.ts.map +1 -0
  285. package/cjs/components/use-input/use-input-password.js +64 -0
  286. package/cjs/components/use-input/use-input-password.type.d.ts +11 -0
  287. package/cjs/components/use-input/use-input-password.type.d.ts.map +1 -0
  288. package/cjs/components/use-input/use-input-password.type.js +5 -0
  289. package/cjs/components/use-input/use-input.d.ts +12 -0
  290. package/cjs/components/use-input/use-input.d.ts.map +1 -0
  291. package/cjs/components/use-input/use-input.js +157 -0
  292. package/cjs/components/use-input/use-input.type.d.ts +42 -0
  293. package/cjs/components/use-input/use-input.type.d.ts.map +1 -0
  294. package/cjs/components/use-input/use-input.type.js +5 -0
  295. package/cjs/components/use-menu/index.d.ts +4 -0
  296. package/cjs/components/use-menu/index.d.ts.map +1 -0
  297. package/cjs/components/use-menu/index.js +20 -0
  298. package/cjs/components/use-menu/use-menu-item.d.ts +16 -0
  299. package/cjs/components/use-menu/use-menu-item.d.ts.map +1 -0
  300. package/cjs/components/use-menu/use-menu-item.js +155 -0
  301. package/cjs/components/use-menu/use-menu.d.ts +11 -0
  302. package/cjs/components/use-menu/use-menu.d.ts.map +1 -0
  303. package/cjs/components/use-menu/use-menu.js +94 -0
  304. package/cjs/components/use-menu/use-menu.type.d.ts +31 -0
  305. package/cjs/components/use-menu/use-menu.type.d.ts.map +1 -0
  306. package/cjs/components/use-menu/use-menu.type.js +5 -0
  307. package/cjs/components/use-pagination/index.d.ts +3 -0
  308. package/cjs/components/use-pagination/index.d.ts.map +1 -0
  309. package/cjs/components/use-pagination/index.js +19 -0
  310. package/cjs/components/use-pagination/use-pagination.d.ts +16 -0
  311. package/cjs/components/use-pagination/use-pagination.d.ts.map +1 -0
  312. package/cjs/components/use-pagination/use-pagination.js +60 -0
  313. package/cjs/components/use-pagination/use-pagination.type.d.ts +9 -0
  314. package/cjs/components/use-pagination/use-pagination.type.d.ts.map +1 -0
  315. package/cjs/components/use-pagination/use-pagination.type.js +5 -0
  316. package/cjs/components/use-popup/index.d.ts +3 -0
  317. package/cjs/components/use-popup/index.d.ts.map +1 -0
  318. package/cjs/components/use-popup/index.js +19 -0
  319. package/cjs/components/use-popup/popup-context.d.ts +7 -0
  320. package/cjs/components/use-popup/popup-context.d.ts.map +1 -0
  321. package/cjs/components/use-popup/popup-context.js +14 -0
  322. package/cjs/components/use-popup/use-popup.d.ts +51 -0
  323. package/cjs/components/use-popup/use-popup.d.ts.map +1 -0
  324. package/cjs/components/use-popup/use-popup.js +197 -0
  325. package/cjs/components/use-popup/use-popup.type.d.ts +35 -0
  326. package/cjs/components/use-popup/use-popup.type.d.ts.map +1 -0
  327. package/cjs/components/use-popup/use-popup.type.js +5 -0
  328. package/cjs/components/use-select/index.d.ts +3 -0
  329. package/cjs/components/use-select/index.d.ts.map +1 -0
  330. package/cjs/components/use-select/index.js +19 -0
  331. package/cjs/components/use-select/use-select.d.ts +52 -0
  332. package/cjs/components/use-select/use-select.d.ts.map +1 -0
  333. package/cjs/components/use-select/use-select.js +47 -0
  334. package/cjs/components/use-select/use-select.type.d.ts +14 -0
  335. package/cjs/components/use-select/use-select.type.d.ts.map +1 -0
  336. package/cjs/components/use-select/use-select.type.js +5 -0
  337. package/cjs/components/use-slider/index.d.ts +3 -0
  338. package/cjs/components/use-slider/index.d.ts.map +1 -0
  339. package/cjs/components/use-slider/index.js +19 -0
  340. package/cjs/components/use-slider/use-slider.d.ts +28 -0
  341. package/cjs/components/use-slider/use-slider.d.ts.map +1 -0
  342. package/cjs/components/use-slider/use-slider.js +177 -0
  343. package/cjs/components/use-slider/use-slider.type.d.ts +10 -0
  344. package/cjs/components/use-slider/use-slider.type.d.ts.map +1 -0
  345. package/cjs/components/use-slider/use-slider.type.js +5 -0
  346. package/cjs/components/use-table/index.d.ts +10 -0
  347. package/cjs/components/use-table/index.d.ts.map +1 -0
  348. package/cjs/components/use-table/index.js +68 -0
  349. package/cjs/components/use-table/use-table-columns.d.ts +18 -0
  350. package/cjs/components/use-table/use-table-columns.d.ts.map +1 -0
  351. package/cjs/components/use-table/use-table-columns.js +89 -0
  352. package/cjs/components/use-table/use-table-expand.d.ts +10 -0
  353. package/cjs/components/use-table/use-table-expand.d.ts.map +1 -0
  354. package/cjs/components/use-table/use-table-expand.js +74 -0
  355. package/cjs/components/use-table/use-table-group.d.ts +11 -0
  356. package/cjs/components/use-table/use-table-group.d.ts.map +1 -0
  357. package/cjs/components/use-table/use-table-group.js +73 -0
  358. package/cjs/components/use-table/use-table-layout.d.ts +29 -0
  359. package/cjs/components/use-table/use-table-layout.d.ts.map +1 -0
  360. package/cjs/components/use-table/use-table-layout.js +300 -0
  361. package/cjs/components/use-table/use-table-row.d.ts +32 -0
  362. package/cjs/components/use-table/use-table-row.d.ts.map +1 -0
  363. package/cjs/components/use-table/use-table-row.js +117 -0
  364. package/cjs/components/use-table/use-table-sort.d.ts +20 -0
  365. package/cjs/components/use-table/use-table-sort.d.ts.map +1 -0
  366. package/cjs/components/use-table/use-table-sort.js +169 -0
  367. package/cjs/components/use-table/use-table-tree.d.ts +18 -0
  368. package/cjs/components/use-table/use-table-tree.d.ts.map +1 -0
  369. package/cjs/components/use-table/use-table-tree.js +115 -0
  370. package/cjs/components/use-table/use-table-virtual.d.ts +28 -0
  371. package/cjs/components/use-table/use-table-virtual.d.ts.map +1 -0
  372. package/cjs/components/use-table/use-table-virtual.js +195 -0
  373. package/cjs/components/use-table/use-table.type.d.ts +270 -0
  374. package/cjs/components/use-table/use-table.type.d.ts.map +1 -0
  375. package/cjs/components/use-table/use-table.type.js +5 -0
  376. package/cjs/components/use-tabs/context.d.ts +6 -0
  377. package/cjs/components/use-tabs/context.d.ts.map +1 -0
  378. package/cjs/components/use-tabs/context.js +29 -0
  379. package/cjs/components/use-tabs/context.type.d.ts +17 -0
  380. package/cjs/components/use-tabs/context.type.d.ts.map +1 -0
  381. package/cjs/components/use-tabs/context.type.js +5 -0
  382. package/cjs/components/use-tabs/index.d.ts +5 -0
  383. package/cjs/components/use-tabs/index.d.ts.map +1 -0
  384. package/cjs/components/use-tabs/index.js +26 -0
  385. package/cjs/components/use-tabs/use-tabs.d.ts +9 -0
  386. package/cjs/components/use-tabs/use-tabs.d.ts.map +1 -0
  387. package/cjs/components/use-tabs/use-tabs.js +37 -0
  388. package/cjs/components/use-tabs/use-tabs.type.d.ts +7 -0
  389. package/cjs/components/use-tabs/use-tabs.type.d.ts.map +1 -0
  390. package/cjs/components/use-tabs/use-tabs.type.js +5 -0
  391. package/cjs/components/use-textarea/index.d.ts +4 -0
  392. package/cjs/components/use-textarea/index.d.ts.map +1 -0
  393. package/cjs/components/use-textarea/index.js +26 -0
  394. package/cjs/components/use-textarea/use-textarea-format.d.ts +9 -0
  395. package/cjs/components/use-textarea/use-textarea-format.d.ts.map +1 -0
  396. package/cjs/components/use-textarea/use-textarea-format.js +42 -0
  397. package/cjs/components/use-textarea/use-textarea-format.type.d.ts +16 -0
  398. package/cjs/components/use-textarea/use-textarea-format.type.d.ts.map +1 -0
  399. package/cjs/components/use-textarea/use-textarea-format.type.js +5 -0
  400. package/cjs/components/use-textarea/use-textarea.d.ts +10 -0
  401. package/cjs/components/use-textarea/use-textarea.d.ts.map +1 -0
  402. package/cjs/components/use-textarea/use-textarea.js +105 -0
  403. package/cjs/components/use-textarea/use-textarea.type.d.ts +30 -0
  404. package/cjs/components/use-textarea/use-textarea.type.d.ts.map +1 -0
  405. package/cjs/components/use-textarea/use-textarea.type.js +5 -0
  406. package/cjs/components/use-transfer/index.d.ts +3 -0
  407. package/cjs/components/use-transfer/index.d.ts.map +1 -0
  408. package/cjs/components/use-transfer/index.js +19 -0
  409. package/cjs/components/use-transfer/use-transfer.d.ts +94 -0
  410. package/cjs/components/use-transfer/use-transfer.d.ts.map +1 -0
  411. package/cjs/components/use-transfer/use-transfer.js +162 -0
  412. package/cjs/components/use-transfer/use-transfer.type.d.ts +31 -0
  413. package/cjs/components/use-transfer/use-transfer.type.d.ts.map +1 -0
  414. package/cjs/components/use-transfer/use-transfer.type.js +5 -0
  415. package/cjs/components/use-tree/index.d.ts +6 -0
  416. package/cjs/components/use-tree/index.d.ts.map +1 -0
  417. package/cjs/components/use-tree/index.js +33 -0
  418. package/cjs/components/use-tree/use-placement.d.ts +6 -0
  419. package/cjs/components/use-tree/use-placement.d.ts.map +1 -0
  420. package/cjs/components/use-tree/use-placement.js +25 -0
  421. package/cjs/components/use-tree/use-placement.type.d.ts +4 -0
  422. package/cjs/components/use-tree/use-placement.type.d.ts.map +1 -0
  423. package/cjs/components/use-tree/use-placement.type.js +5 -0
  424. package/cjs/components/use-tree/use-tree-node.d.ts +13 -0
  425. package/cjs/components/use-tree/use-tree-node.d.ts.map +1 -0
  426. package/cjs/components/use-tree/use-tree-node.js +78 -0
  427. package/cjs/components/use-tree/use-tree-node.type.d.ts +26 -0
  428. package/cjs/components/use-tree/use-tree-node.type.d.ts.map +1 -0
  429. package/cjs/components/use-tree/use-tree-node.type.js +5 -0
  430. package/cjs/components/use-tree/use-tree.d.ts +44 -0
  431. package/cjs/components/use-tree/use-tree.d.ts.map +1 -0
  432. package/cjs/components/use-tree/use-tree.js +360 -0
  433. package/cjs/components/use-tree/use-tree.type.d.ts +36 -0
  434. package/cjs/components/use-tree/use-tree.type.d.ts.map +1 -0
  435. package/cjs/components/use-tree/use-tree.type.js +5 -0
  436. package/cjs/components/use-upload/index.d.ts +3 -0
  437. package/cjs/components/use-upload/index.d.ts.map +1 -0
  438. package/cjs/components/use-upload/index.js +19 -0
  439. package/cjs/components/use-upload/use-upload.d.ts +15 -0
  440. package/cjs/components/use-upload/use-upload.d.ts.map +1 -0
  441. package/cjs/components/use-upload/use-upload.js +492 -0
  442. package/cjs/components/use-upload/use-upload.type.d.ts +257 -0
  443. package/cjs/components/use-upload/use-upload.type.d.ts.map +1 -0
  444. package/cjs/components/use-upload/use-upload.type.js +5 -0
  445. package/cjs/components/use-upload/xhr.d.ts +3 -0
  446. package/cjs/components/use-upload/xhr.d.ts.map +1 -0
  447. package/cjs/components/use-upload/xhr.js +63 -0
  448. package/cjs/components/use-validate/index.d.ts +3 -0
  449. package/cjs/components/use-validate/index.d.ts.map +1 -0
  450. package/cjs/components/use-validate/index.js +19 -0
  451. package/cjs/components/use-validate/use-validate.d.ts +7 -0
  452. package/cjs/components/use-validate/use-validate.d.ts.map +1 -0
  453. package/cjs/components/use-validate/use-validate.js +45 -0
  454. package/cjs/components/use-validate/use-validate.type.d.ts +8 -0
  455. package/cjs/components/use-validate/use-validate.type.d.ts.map +1 -0
  456. package/cjs/components/use-validate/use-validate.type.js +5 -0
  457. package/cjs/index.d.ts +44 -0
  458. package/cjs/index.d.ts.map +1 -0
  459. package/cjs/index.js +490 -0
  460. package/cjs/utils/accept.d.ts +4 -0
  461. package/cjs/utils/accept.d.ts.map +1 -0
  462. package/cjs/utils/accept.js +30 -0
  463. package/cjs/utils/array.d.ts +2 -0
  464. package/cjs/utils/array.d.ts.map +1 -0
  465. package/cjs/utils/array.js +13 -0
  466. package/cjs/utils/attribute.d.ts +3 -0
  467. package/cjs/utils/attribute.d.ts.map +1 -0
  468. package/cjs/utils/attribute.js +18 -0
  469. package/cjs/utils/clone.d.ts +4 -0
  470. package/cjs/utils/clone.d.ts.map +1 -0
  471. package/cjs/utils/clone.js +69 -0
  472. package/cjs/utils/document.d.ts +10 -0
  473. package/cjs/utils/document.d.ts.map +1 -0
  474. package/cjs/utils/document.js +39 -0
  475. package/cjs/utils/dom/element.d.ts +16 -0
  476. package/cjs/utils/dom/element.d.ts.map +1 -0
  477. package/cjs/utils/dom/element.js +132 -0
  478. package/cjs/utils/dom/index.d.ts +5 -0
  479. package/cjs/utils/dom/index.d.ts.map +1 -0
  480. package/cjs/utils/dom/index.js +47 -0
  481. package/cjs/utils/dom/normalize-wheel.d.ts +8 -0
  482. package/cjs/utils/dom/normalize-wheel.d.ts.map +1 -0
  483. package/cjs/utils/dom/normalize-wheel.js +65 -0
  484. package/cjs/utils/dom/normalize-wheel.type.d.ts +8 -0
  485. package/cjs/utils/dom/normalize-wheel.type.d.ts.map +1 -0
  486. package/cjs/utils/dom/normalize-wheel.type.js +5 -0
  487. package/cjs/utils/dom/ready.d.ts +2 -0
  488. package/cjs/utils/dom/ready.d.ts.map +1 -0
  489. package/cjs/utils/dom/ready.js +12 -0
  490. package/cjs/utils/dom/scroll-behavior.d.ts +2 -0
  491. package/cjs/utils/dom/scroll-behavior.d.ts.map +1 -0
  492. package/cjs/utils/dom/scroll-behavior.js +30 -0
  493. package/cjs/utils/extract-event-handlers.d.ts +10 -0
  494. package/cjs/utils/extract-event-handlers.d.ts.map +1 -0
  495. package/cjs/utils/extract-event-handlers.js +32 -0
  496. package/cjs/utils/func.d.ts +3 -0
  497. package/cjs/utils/func.d.ts.map +1 -0
  498. package/cjs/utils/func.js +43 -0
  499. package/cjs/utils/index.d.ts +21 -0
  500. package/cjs/utils/index.d.ts.map +1 -0
  501. package/cjs/utils/index.js +245 -0
  502. package/cjs/utils/is.d.ts +25 -0
  503. package/cjs/utils/is.d.ts.map +1 -0
  504. package/cjs/utils/is.js +123 -0
  505. package/cjs/utils/lazyload.d.ts +13 -0
  506. package/cjs/utils/lazyload.d.ts.map +1 -0
  507. package/cjs/utils/lazyload.js +112 -0
  508. package/cjs/utils/number.d.ts +7 -0
  509. package/cjs/utils/number.d.ts.map +1 -0
  510. package/cjs/utils/number.js +80 -0
  511. package/cjs/utils/object.d.ts +26 -0
  512. package/cjs/utils/object.d.ts.map +1 -0
  513. package/cjs/utils/object.js +290 -0
  514. package/cjs/utils/position.d.ts +2 -0
  515. package/cjs/utils/position.d.ts.map +1 -0
  516. package/cjs/utils/position.js +79 -0
  517. package/cjs/utils/react-render.d.ts +10 -0
  518. package/cjs/utils/react-render.d.ts.map +1 -0
  519. package/cjs/utils/react-render.js +85 -0
  520. package/cjs/utils/render.d.ts +6 -0
  521. package/cjs/utils/render.d.ts.map +1 -0
  522. package/cjs/utils/render.js +31 -0
  523. package/cjs/utils/rule/index.d.ts +3 -0
  524. package/cjs/utils/rule/index.d.ts.map +1 -0
  525. package/cjs/utils/rule/index.js +19 -0
  526. package/cjs/utils/rule/length.d.ts +11 -0
  527. package/cjs/utils/rule/length.d.ts.map +1 -0
  528. package/cjs/utils/rule/length.js +54 -0
  529. package/cjs/utils/rule/regexp.d.ts +6 -0
  530. package/cjs/utils/rule/regexp.d.ts.map +1 -0
  531. package/cjs/utils/rule/regexp.js +34 -0
  532. package/cjs/utils/rule/required.d.ts +8 -0
  533. package/cjs/utils/rule/required.d.ts.map +1 -0
  534. package/cjs/utils/rule/required.js +30 -0
  535. package/cjs/utils/rule/rule.d.ts +16 -0
  536. package/cjs/utils/rule/rule.d.ts.map +1 -0
  537. package/cjs/utils/rule/rule.js +84 -0
  538. package/cjs/utils/rule/rule.type.d.ts +135 -0
  539. package/cjs/utils/rule/rule.type.d.ts.map +1 -0
  540. package/cjs/utils/rule/rule.type.js +5 -0
  541. package/cjs/utils/rule/type.d.ts +9 -0
  542. package/cjs/utils/rule/type.d.ts.map +1 -0
  543. package/cjs/utils/rule/type.js +31 -0
  544. package/cjs/utils/shallow-equal.d.ts +8 -0
  545. package/cjs/utils/shallow-equal.d.ts.map +1 -0
  546. package/cjs/utils/shallow-equal.js +82 -0
  547. package/cjs/utils/string.d.ts +14 -0
  548. package/cjs/utils/string.d.ts.map +1 -0
  549. package/cjs/utils/string.js +54 -0
  550. package/cjs/utils/style-unit.d.ts +5 -0
  551. package/cjs/utils/style-unit.d.ts.map +1 -0
  552. package/cjs/utils/style-unit.js +31 -0
  553. package/cjs/utils/uid.d.ts +3 -0
  554. package/cjs/utils/uid.d.ts.map +1 -0
  555. package/cjs/utils/uid.js +40 -0
  556. package/cjs/utils/validate/error.d.ts +7 -0
  557. package/cjs/utils/validate/error.d.ts.map +1 -0
  558. package/cjs/utils/validate/error.js +47 -0
  559. package/cjs/utils/validate/get-rule.d.ts +4 -0
  560. package/cjs/utils/validate/get-rule.d.ts.map +1 -0
  561. package/cjs/utils/validate/get-rule.js +116 -0
  562. package/cjs/utils/validate/index.d.ts +6 -0
  563. package/cjs/utils/validate/index.d.ts.map +1 -0
  564. package/cjs/utils/validate/index.js +73 -0
  565. package/cjs/utils/validate/isJson.d.ts +2 -0
  566. package/cjs/utils/validate/isJson.d.ts.map +1 -0
  567. package/cjs/utils/validate/isJson.js +47 -0
  568. package/cjs/utils/validate/nullable.d.ts +4 -0
  569. package/cjs/utils/validate/nullable.d.ts.map +1 -0
  570. package/cjs/utils/validate/nullable.js +18 -0
  571. package/cjs/utils/validate/type.d.ts +16 -0
  572. package/cjs/utils/validate/type.d.ts.map +1 -0
  573. package/cjs/utils/validate/type.js +98 -0
  574. package/esm/common/type.d.ts +22 -0
  575. package/esm/common/type.d.ts.map +1 -0
  576. package/esm/common/type.js +5 -0
  577. package/esm/common/use-click-away/index.d.ts +10 -0
  578. package/esm/common/use-click-away/index.d.ts.map +1 -0
  579. package/esm/common/use-click-away/index.js +50 -0
  580. package/esm/common/use-default-value/index.d.ts +3 -0
  581. package/esm/common/use-default-value/index.d.ts.map +1 -0
  582. package/esm/common/use-default-value/index.js +26 -0
  583. package/esm/common/use-default-value/use-default-value.d.ts +7 -0
  584. package/esm/common/use-default-value/use-default-value.d.ts.map +1 -0
  585. package/esm/common/use-default-value/use-default-value.js +35 -0
  586. package/esm/common/use-default-value/use-previous.d.ts +3 -0
  587. package/esm/common/use-default-value/use-previous.d.ts.map +1 -0
  588. package/esm/common/use-default-value/use-previous.js +14 -0
  589. package/esm/common/use-drag-mock/index.d.ts +12 -0
  590. package/esm/common/use-drag-mock/index.d.ts.map +1 -0
  591. package/esm/common/use-drag-mock/index.js +62 -0
  592. package/esm/common/use-fork-ref/index.d.ts +5 -0
  593. package/esm/common/use-fork-ref/index.d.ts.map +1 -0
  594. package/esm/common/use-fork-ref/index.js +43 -0
  595. package/esm/common/use-fork-ref/setRef.d.ts +16 -0
  596. package/esm/common/use-fork-ref/setRef.d.ts.map +1 -0
  597. package/esm/common/use-fork-ref/setRef.js +26 -0
  598. package/esm/common/use-func-change/index.d.ts +2 -0
  599. package/esm/common/use-func-change/index.d.ts.map +1 -0
  600. package/esm/common/use-func-change/index.js +19 -0
  601. package/esm/common/use-func-change/use-func-change.d.ts +10 -0
  602. package/esm/common/use-func-change/use-func-change.d.ts.map +1 -0
  603. package/esm/common/use-func-change/use-func-change.js +30 -0
  604. package/esm/common/use-input-able/index.d.ts +2 -0
  605. package/esm/common/use-input-able/index.d.ts.map +1 -0
  606. package/esm/common/use-input-able/index.js +19 -0
  607. package/esm/common/use-input-able/use-Input-able.d.ts +7 -0
  608. package/esm/common/use-input-able/use-Input-able.d.ts.map +1 -0
  609. package/esm/common/use-input-able/use-Input-able.js +90 -0
  610. package/esm/common/use-input-able/use-Input-able.type.d.ts +10 -0
  611. package/esm/common/use-input-able/use-Input-able.type.d.ts.map +1 -0
  612. package/esm/common/use-input-able/use-Input-able.type.js +5 -0
  613. package/esm/common/use-key-event/index.d.ts +10 -0
  614. package/esm/common/use-key-event/index.d.ts.map +1 -0
  615. package/esm/common/use-key-event/index.js +31 -0
  616. package/esm/common/use-latest-obj/index.d.ts +5 -0
  617. package/esm/common/use-latest-obj/index.d.ts.map +1 -0
  618. package/esm/common/use-latest-obj/index.js +19 -0
  619. package/esm/common/use-list-select/index.d.ts +5 -0
  620. package/esm/common/use-list-select/index.d.ts.map +1 -0
  621. package/esm/common/use-list-select/index.js +33 -0
  622. package/esm/common/use-list-select/use-list-select-multiple.d.ts +29 -0
  623. package/esm/common/use-list-select/use-list-select-multiple.d.ts.map +1 -0
  624. package/esm/common/use-list-select/use-list-select-multiple.js +283 -0
  625. package/esm/common/use-list-select/use-list-select-single.d.ts +24 -0
  626. package/esm/common/use-list-select/use-list-select-single.d.ts.map +1 -0
  627. package/esm/common/use-list-select/use-list-select-single.js +46 -0
  628. package/esm/common/use-list-select/use-list-select.d.ts +49 -0
  629. package/esm/common/use-list-select/use-list-select.d.ts.map +1 -0
  630. package/esm/common/use-list-select/use-list-select.js +58 -0
  631. package/esm/common/use-list-select/use-list.type.d.ts +26 -0
  632. package/esm/common/use-list-select/use-list.type.d.ts.map +1 -0
  633. package/esm/common/use-list-select/use-list.type.js +5 -0
  634. package/esm/common/use-pagination-list/index.d.ts +27 -0
  635. package/esm/common/use-pagination-list/index.d.ts.map +1 -0
  636. package/esm/common/use-pagination-list/index.js +62 -0
  637. package/esm/common/use-persist-fn/index.d.ts +9 -0
  638. package/esm/common/use-persist-fn/index.d.ts.map +1 -0
  639. package/esm/common/use-persist-fn/index.js +27 -0
  640. package/esm/common/use-position-style/get-position-style.d.ts +6 -0
  641. package/esm/common/use-position-style/get-position-style.d.ts.map +1 -0
  642. package/esm/common/use-position-style/get-position-style.js +54 -0
  643. package/esm/common/use-position-style/index.d.ts +21 -0
  644. package/esm/common/use-position-style/index.d.ts.map +1 -0
  645. package/esm/common/use-position-style/index.js +244 -0
  646. package/esm/common/use-previous/index.d.ts +3 -0
  647. package/esm/common/use-previous/index.d.ts.map +1 -0
  648. package/esm/common/use-previous/index.js +19 -0
  649. package/esm/common/use-render/index.d.ts +3 -0
  650. package/esm/common/use-render/index.d.ts.map +1 -0
  651. package/esm/common/use-render/index.js +28 -0
  652. package/esm/common/use-resize/index.d.ts +13 -0
  653. package/esm/common/use-resize/index.d.ts.map +1 -0
  654. package/esm/common/use-resize/index.js +53 -0
  655. package/esm/common/use-safe-state/index.d.ts +5 -0
  656. package/esm/common/use-safe-state/index.d.ts.map +1 -0
  657. package/esm/common/use-safe-state/index.js +27 -0
  658. package/esm/common/use-style/index.d.ts +5 -0
  659. package/esm/common/use-style/index.d.ts.map +1 -0
  660. package/esm/common/use-style/index.js +31 -0
  661. package/esm/common/use-toggle/index.d.ts +9 -0
  662. package/esm/common/use-toggle/index.d.ts.map +1 -0
  663. package/esm/common/use-toggle/index.js +45 -0
  664. package/esm/common/use-transform/index.d.ts +2 -0
  665. package/esm/common/use-transform/index.d.ts.map +1 -0
  666. package/esm/common/use-transform/index.js +19 -0
  667. package/esm/common/use-transform/use-transform.d.ts +21 -0
  668. package/esm/common/use-transform/use-transform.d.ts.map +1 -0
  669. package/esm/common/use-transform/use-transform.js +141 -0
  670. package/esm/common/use-transform/use-transform.type.d.ts +19 -0
  671. package/esm/common/use-transform/use-transform.type.d.ts.map +1 -0
  672. package/esm/common/use-transform/use-transform.type.js +5 -0
  673. package/esm/common/use-unmounted-ref/index.d.ts +4 -0
  674. package/esm/common/use-unmounted-ref/index.d.ts.map +1 -0
  675. package/esm/common/use-unmounted-ref/index.js +20 -0
  676. package/esm/components/use-button/index.d.ts +3 -0
  677. package/esm/components/use-button/index.d.ts.map +1 -0
  678. package/esm/components/use-button/index.js +19 -0
  679. package/esm/components/use-button/use-button-group.type.d.ts +8 -0
  680. package/esm/components/use-button/use-button-group.type.d.ts.map +1 -0
  681. package/esm/components/use-button/use-button-group.type.js +5 -0
  682. package/esm/components/use-button/use-button.d.ts +38 -0
  683. package/esm/components/use-button/use-button.d.ts.map +1 -0
  684. package/esm/components/use-button/use-button.js +85 -0
  685. package/esm/components/use-button/use-button.type.d.ts +35 -0
  686. package/esm/components/use-button/use-button.type.d.ts.map +1 -0
  687. package/esm/components/use-button/use-button.type.js +5 -0
  688. package/esm/components/use-carousel/index.d.ts +2 -0
  689. package/esm/components/use-carousel/index.d.ts.map +1 -0
  690. package/esm/components/use-carousel/index.js +19 -0
  691. package/esm/components/use-carousel/use-carousel.d.ts +27 -0
  692. package/esm/components/use-carousel/use-carousel.d.ts.map +1 -0
  693. package/esm/components/use-carousel/use-carousel.js +102 -0
  694. package/esm/components/use-check/index.d.ts +3 -0
  695. package/esm/components/use-check/index.d.ts.map +1 -0
  696. package/esm/components/use-check/index.js +19 -0
  697. package/esm/components/use-check/use-check.d.ts +32 -0
  698. package/esm/components/use-check/use-check.d.ts.map +1 -0
  699. package/esm/components/use-check/use-check.js +103 -0
  700. package/esm/components/use-check/use-check.type.d.ts +10 -0
  701. package/esm/components/use-check/use-check.type.d.ts.map +1 -0
  702. package/esm/components/use-check/use-check.type.js +5 -0
  703. package/esm/components/use-datepicker/index.d.ts +10 -0
  704. package/esm/components/use-datepicker/index.d.ts.map +1 -0
  705. package/esm/components/use-datepicker/index.js +62 -0
  706. package/esm/components/use-datepicker/use-date.d.ts +25 -0
  707. package/esm/components/use-datepicker/use-date.d.ts.map +1 -0
  708. package/esm/components/use-datepicker/use-date.js +181 -0
  709. package/esm/components/use-datepicker/use-date.type.d.ts +19 -0
  710. package/esm/components/use-datepicker/use-date.type.d.ts.map +1 -0
  711. package/esm/components/use-datepicker/use-date.type.js +5 -0
  712. package/esm/components/use-datepicker/use-datepicker-format.d.ts +29 -0
  713. package/esm/components/use-datepicker/use-datepicker-format.d.ts.map +1 -0
  714. package/esm/components/use-datepicker/use-datepicker-format.js +301 -0
  715. package/esm/components/use-datepicker/use-datepicker-format.type.d.ts +27 -0
  716. package/esm/components/use-datepicker/use-datepicker-format.type.d.ts.map +1 -0
  717. package/esm/components/use-datepicker/use-datepicker-format.type.js +5 -0
  718. package/esm/components/use-datepicker/use-datepicker-range.d.ts +22 -0
  719. package/esm/components/use-datepicker/use-datepicker-range.d.ts.map +1 -0
  720. package/esm/components/use-datepicker/use-datepicker-range.js +207 -0
  721. package/esm/components/use-datepicker/use-datepicker-range.type.d.ts +25 -0
  722. package/esm/components/use-datepicker/use-datepicker-range.type.d.ts.map +1 -0
  723. package/esm/components/use-datepicker/use-datepicker-range.type.js +5 -0
  724. package/esm/components/use-datepicker/use-month.d.ts +18 -0
  725. package/esm/components/use-datepicker/use-month.d.ts.map +1 -0
  726. package/esm/components/use-datepicker/use-month.js +121 -0
  727. package/esm/components/use-datepicker/use-month.type.d.ts +16 -0
  728. package/esm/components/use-datepicker/use-month.type.d.ts.map +1 -0
  729. package/esm/components/use-datepicker/use-month.type.js +5 -0
  730. package/esm/components/use-datepicker/use-quarter.d.ts +18 -0
  731. package/esm/components/use-datepicker/use-quarter.d.ts.map +1 -0
  732. package/esm/components/use-datepicker/use-quarter.js +121 -0
  733. package/esm/components/use-datepicker/use-quarter.type.d.ts +16 -0
  734. package/esm/components/use-datepicker/use-quarter.type.d.ts.map +1 -0
  735. package/esm/components/use-datepicker/use-quarter.type.js +5 -0
  736. package/esm/components/use-datepicker/use-time.d.ts +18 -0
  737. package/esm/components/use-datepicker/use-time.d.ts.map +1 -0
  738. package/esm/components/use-datepicker/use-time.js +169 -0
  739. package/esm/components/use-datepicker/use-time.type.d.ts +17 -0
  740. package/esm/components/use-datepicker/use-time.type.d.ts.map +1 -0
  741. package/esm/components/use-datepicker/use-time.type.js +5 -0
  742. package/esm/components/use-datepicker/use-year.d.ts +20 -0
  743. package/esm/components/use-datepicker/use-year.d.ts.map +1 -0
  744. package/esm/components/use-datepicker/use-year.js +122 -0
  745. package/esm/components/use-datepicker/use-year.type.d.ts +16 -0
  746. package/esm/components/use-datepicker/use-year.type.d.ts.map +1 -0
  747. package/esm/components/use-datepicker/use-year.type.js +5 -0
  748. package/esm/components/use-datepicker/util.d.ts +82 -0
  749. package/esm/components/use-datepicker/util.d.ts.map +1 -0
  750. package/esm/components/use-datepicker/util.js +405 -0
  751. package/esm/components/use-form/Provider.d.ts +4 -0
  752. package/esm/components/use-form/Provider.d.ts.map +1 -0
  753. package/esm/components/use-form/Provider.js +34 -0
  754. package/esm/components/use-form/form-bind-context.d.ts +5 -0
  755. package/esm/components/use-form/form-bind-context.d.ts.map +1 -0
  756. package/esm/components/use-form/form-bind-context.js +19 -0
  757. package/esm/components/use-form/form-config-context.d.ts +5 -0
  758. package/esm/components/use-form/form-config-context.d.ts.map +1 -0
  759. package/esm/components/use-form/form-config-context.js +19 -0
  760. package/esm/components/use-form/form-func-context.d.ts +5 -0
  761. package/esm/components/use-form/form-func-context.d.ts.map +1 -0
  762. package/esm/components/use-form/form-func-context.js +19 -0
  763. package/esm/components/use-form/index.d.ts +9 -0
  764. package/esm/components/use-form/index.d.ts.map +1 -0
  765. package/esm/components/use-form/index.js +87 -0
  766. package/esm/components/use-form/use-form-control/index.d.ts +3 -0
  767. package/esm/components/use-form/use-form-control/index.d.ts.map +1 -0
  768. package/esm/components/use-form/use-form-control/index.js +19 -0
  769. package/esm/components/use-form/use-form-control/use-form-control.d.ts +9 -0
  770. package/esm/components/use-form/use-form-control/use-form-control.d.ts.map +1 -0
  771. package/esm/components/use-form/use-form-control/use-form-control.js +196 -0
  772. package/esm/components/use-form/use-form-control/use-form-control.type.d.ts +36 -0
  773. package/esm/components/use-form/use-form-control/use-form-control.type.d.ts.map +1 -0
  774. package/esm/components/use-form/use-form-control/use-form-control.type.js +5 -0
  775. package/esm/components/use-form/use-form-fieldset/fieldset-context.d.ts +14 -0
  776. package/esm/components/use-form/use-form-fieldset/fieldset-context.d.ts.map +1 -0
  777. package/esm/components/use-form/use-form-fieldset/fieldset-context.js +47 -0
  778. package/esm/components/use-form/use-form-fieldset/index.d.ts +4 -0
  779. package/esm/components/use-form/use-form-fieldset/index.d.ts.map +1 -0
  780. package/esm/components/use-form/use-form-fieldset/index.js +26 -0
  781. package/esm/components/use-form/use-form-fieldset/use-form-fieldset.d.ts +15 -0
  782. package/esm/components/use-form/use-form-fieldset/use-form-fieldset.d.ts.map +1 -0
  783. package/esm/components/use-form/use-form-fieldset/use-form-fieldset.js +52 -0
  784. package/esm/components/use-form/use-form-fieldset/use-form-fieldset.type.d.ts +5 -0
  785. package/esm/components/use-form/use-form-fieldset/use-form-fieldset.type.d.ts.map +1 -0
  786. package/esm/components/use-form/use-form-fieldset/use-form-fieldset.type.js +5 -0
  787. package/esm/components/use-form/use-form-flow/index.d.ts +5 -0
  788. package/esm/components/use-form/use-form-flow/index.d.ts.map +1 -0
  789. package/esm/components/use-form/use-form-flow/index.js +26 -0
  790. package/esm/components/use-form/use-form-flow/use-form-datum.d.ts +9 -0
  791. package/esm/components/use-form/use-form-flow/use-form-datum.d.ts.map +1 -0
  792. package/esm/components/use-form/use-form-flow/use-form-datum.js +18 -0
  793. package/esm/components/use-form/use-form-flow/use-form-flow.d.ts +4 -0
  794. package/esm/components/use-form/use-form-flow/use-form-flow.d.ts.map +1 -0
  795. package/esm/components/use-form/use-form-flow/use-form-flow.js +30 -0
  796. package/esm/components/use-form/use-form-flow/use-form-flow.type.d.ts +4 -0
  797. package/esm/components/use-form/use-form-flow/use-form-flow.type.d.ts.map +1 -0
  798. package/esm/components/use-form/use-form-flow/use-form-flow.type.js +5 -0
  799. package/esm/components/use-form/use-form-item/form-item-context.d.ts +6 -0
  800. package/esm/components/use-form/use-form-item/form-item-context.d.ts.map +1 -0
  801. package/esm/components/use-form/use-form-item/form-item-context.js +17 -0
  802. package/esm/components/use-form/use-form-item/index.d.ts +2 -0
  803. package/esm/components/use-form/use-form-item/index.d.ts.map +1 -0
  804. package/esm/components/use-form/use-form-item/index.js +19 -0
  805. package/esm/components/use-form/use-form-item/use-form-item.d.ts +12 -0
  806. package/esm/components/use-form/use-form-item/use-form-item.d.ts.map +1 -0
  807. package/esm/components/use-form/use-form-item/use-form-item.js +62 -0
  808. package/esm/components/use-form/use-form.d.ts +41 -0
  809. package/esm/components/use-form/use-form.d.ts.map +1 -0
  810. package/esm/components/use-form/use-form.js +427 -0
  811. package/esm/components/use-form/use-form.type.d.ts +168 -0
  812. package/esm/components/use-form/use-form.type.d.ts.map +1 -0
  813. package/esm/components/use-form/use-form.type.js +5 -0
  814. package/esm/components/use-image/index.d.ts +9 -0
  815. package/esm/components/use-image/index.d.ts.map +1 -0
  816. package/esm/components/use-image/index.js +40 -0
  817. package/esm/components/use-image/use-image-gallery.d.ts +25 -0
  818. package/esm/components/use-image/use-image-gallery.d.ts.map +1 -0
  819. package/esm/components/use-image/use-image-gallery.js +168 -0
  820. package/esm/components/use-image/use-image-gallery.type.d.ts +9 -0
  821. package/esm/components/use-image/use-image-gallery.type.d.ts.map +1 -0
  822. package/esm/components/use-image/use-image-gallery.type.js +5 -0
  823. package/esm/components/use-image/use-image-group.d.ts +27 -0
  824. package/esm/components/use-image/use-image-group.d.ts.map +1 -0
  825. package/esm/components/use-image/use-image-group.js +107 -0
  826. package/esm/components/use-image/use-image-group.type.d.ts +13 -0
  827. package/esm/components/use-image/use-image-group.type.d.ts.map +1 -0
  828. package/esm/components/use-image/use-image-group.type.js +5 -0
  829. package/esm/components/use-image/use-image-magnify.d.ts +17 -0
  830. package/esm/components/use-image/use-image-magnify.d.ts.map +1 -0
  831. package/esm/components/use-image/use-image-magnify.js +104 -0
  832. package/esm/components/use-image/use-image-magnify.type.d.ts +9 -0
  833. package/esm/components/use-image/use-image-magnify.type.d.ts.map +1 -0
  834. package/esm/components/use-image/use-image-magnify.type.js +5 -0
  835. package/esm/components/use-image/use-image.d.ts +27 -0
  836. package/esm/components/use-image/use-image.d.ts.map +1 -0
  837. package/esm/components/use-image/use-image.js +164 -0
  838. package/esm/components/use-image/use-image.type.d.ts +63 -0
  839. package/esm/components/use-image/use-image.type.d.ts.map +1 -0
  840. package/esm/components/use-image/use-image.type.js +5 -0
  841. package/esm/components/use-input/index.d.ts +9 -0
  842. package/esm/components/use-input/index.d.ts.map +1 -0
  843. package/esm/components/use-input/index.js +40 -0
  844. package/esm/components/use-input/use-input-format.d.ts +11 -0
  845. package/esm/components/use-input/use-input-format.d.ts.map +1 -0
  846. package/esm/components/use-input/use-input-format.js +136 -0
  847. package/esm/components/use-input/use-input-format.type.d.ts +32 -0
  848. package/esm/components/use-input/use-input-format.type.d.ts.map +1 -0
  849. package/esm/components/use-input/use-input-format.type.js +5 -0
  850. package/esm/components/use-input/use-input-number.d.ts +13 -0
  851. package/esm/components/use-input/use-input-number.d.ts.map +1 -0
  852. package/esm/components/use-input/use-input-number.js +129 -0
  853. package/esm/components/use-input/use-input-number.type.d.ts +12 -0
  854. package/esm/components/use-input/use-input-number.type.d.ts.map +1 -0
  855. package/esm/components/use-input/use-input-number.type.js +5 -0
  856. package/esm/components/use-input/use-input-password.d.ts +16 -0
  857. package/esm/components/use-input/use-input-password.d.ts.map +1 -0
  858. package/esm/components/use-input/use-input-password.js +64 -0
  859. package/esm/components/use-input/use-input-password.type.d.ts +11 -0
  860. package/esm/components/use-input/use-input-password.type.d.ts.map +1 -0
  861. package/esm/components/use-input/use-input-password.type.js +5 -0
  862. package/esm/components/use-input/use-input.d.ts +12 -0
  863. package/esm/components/use-input/use-input.d.ts.map +1 -0
  864. package/esm/components/use-input/use-input.js +157 -0
  865. package/esm/components/use-input/use-input.type.d.ts +42 -0
  866. package/esm/components/use-input/use-input.type.d.ts.map +1 -0
  867. package/esm/components/use-input/use-input.type.js +5 -0
  868. package/esm/components/use-menu/index.d.ts +4 -0
  869. package/esm/components/use-menu/index.d.ts.map +1 -0
  870. package/esm/components/use-menu/index.js +20 -0
  871. package/esm/components/use-menu/use-menu-item.d.ts +16 -0
  872. package/esm/components/use-menu/use-menu-item.d.ts.map +1 -0
  873. package/esm/components/use-menu/use-menu-item.js +155 -0
  874. package/esm/components/use-menu/use-menu.d.ts +11 -0
  875. package/esm/components/use-menu/use-menu.d.ts.map +1 -0
  876. package/esm/components/use-menu/use-menu.js +94 -0
  877. package/esm/components/use-menu/use-menu.type.d.ts +31 -0
  878. package/esm/components/use-menu/use-menu.type.d.ts.map +1 -0
  879. package/esm/components/use-menu/use-menu.type.js +5 -0
  880. package/esm/components/use-pagination/index.d.ts +3 -0
  881. package/esm/components/use-pagination/index.d.ts.map +1 -0
  882. package/esm/components/use-pagination/index.js +19 -0
  883. package/esm/components/use-pagination/use-pagination.d.ts +16 -0
  884. package/esm/components/use-pagination/use-pagination.d.ts.map +1 -0
  885. package/esm/components/use-pagination/use-pagination.js +60 -0
  886. package/esm/components/use-pagination/use-pagination.type.d.ts +9 -0
  887. package/esm/components/use-pagination/use-pagination.type.d.ts.map +1 -0
  888. package/esm/components/use-pagination/use-pagination.type.js +5 -0
  889. package/esm/components/use-popup/index.d.ts +3 -0
  890. package/esm/components/use-popup/index.d.ts.map +1 -0
  891. package/esm/components/use-popup/index.js +19 -0
  892. package/esm/components/use-popup/popup-context.d.ts +7 -0
  893. package/esm/components/use-popup/popup-context.d.ts.map +1 -0
  894. package/esm/components/use-popup/popup-context.js +14 -0
  895. package/esm/components/use-popup/use-popup.d.ts +51 -0
  896. package/esm/components/use-popup/use-popup.d.ts.map +1 -0
  897. package/esm/components/use-popup/use-popup.js +197 -0
  898. package/esm/components/use-popup/use-popup.type.d.ts +35 -0
  899. package/esm/components/use-popup/use-popup.type.d.ts.map +1 -0
  900. package/esm/components/use-popup/use-popup.type.js +5 -0
  901. package/esm/components/use-select/index.d.ts +3 -0
  902. package/esm/components/use-select/index.d.ts.map +1 -0
  903. package/esm/components/use-select/index.js +19 -0
  904. package/esm/components/use-select/use-select.d.ts +52 -0
  905. package/esm/components/use-select/use-select.d.ts.map +1 -0
  906. package/esm/components/use-select/use-select.js +47 -0
  907. package/esm/components/use-select/use-select.type.d.ts +14 -0
  908. package/esm/components/use-select/use-select.type.d.ts.map +1 -0
  909. package/esm/components/use-select/use-select.type.js +5 -0
  910. package/esm/components/use-slider/index.d.ts +3 -0
  911. package/esm/components/use-slider/index.d.ts.map +1 -0
  912. package/esm/components/use-slider/index.js +19 -0
  913. package/esm/components/use-slider/use-slider.d.ts +28 -0
  914. package/esm/components/use-slider/use-slider.d.ts.map +1 -0
  915. package/esm/components/use-slider/use-slider.js +177 -0
  916. package/esm/components/use-slider/use-slider.type.d.ts +10 -0
  917. package/esm/components/use-slider/use-slider.type.d.ts.map +1 -0
  918. package/esm/components/use-slider/use-slider.type.js +5 -0
  919. package/esm/components/use-table/index.d.ts +10 -0
  920. package/esm/components/use-table/index.d.ts.map +1 -0
  921. package/esm/components/use-table/index.js +68 -0
  922. package/esm/components/use-table/use-table-columns.d.ts +18 -0
  923. package/esm/components/use-table/use-table-columns.d.ts.map +1 -0
  924. package/esm/components/use-table/use-table-columns.js +89 -0
  925. package/esm/components/use-table/use-table-expand.d.ts +10 -0
  926. package/esm/components/use-table/use-table-expand.d.ts.map +1 -0
  927. package/esm/components/use-table/use-table-expand.js +74 -0
  928. package/esm/components/use-table/use-table-group.d.ts +11 -0
  929. package/esm/components/use-table/use-table-group.d.ts.map +1 -0
  930. package/esm/components/use-table/use-table-group.js +73 -0
  931. package/esm/components/use-table/use-table-layout.d.ts +29 -0
  932. package/esm/components/use-table/use-table-layout.d.ts.map +1 -0
  933. package/esm/components/use-table/use-table-layout.js +300 -0
  934. package/esm/components/use-table/use-table-row.d.ts +32 -0
  935. package/esm/components/use-table/use-table-row.d.ts.map +1 -0
  936. package/esm/components/use-table/use-table-row.js +117 -0
  937. package/esm/components/use-table/use-table-sort.d.ts +20 -0
  938. package/esm/components/use-table/use-table-sort.d.ts.map +1 -0
  939. package/esm/components/use-table/use-table-sort.js +169 -0
  940. package/esm/components/use-table/use-table-tree.d.ts +18 -0
  941. package/esm/components/use-table/use-table-tree.d.ts.map +1 -0
  942. package/esm/components/use-table/use-table-tree.js +115 -0
  943. package/esm/components/use-table/use-table-virtual.d.ts +28 -0
  944. package/esm/components/use-table/use-table-virtual.d.ts.map +1 -0
  945. package/esm/components/use-table/use-table-virtual.js +195 -0
  946. package/esm/components/use-table/use-table.type.d.ts +270 -0
  947. package/esm/components/use-table/use-table.type.d.ts.map +1 -0
  948. package/esm/components/use-table/use-table.type.js +5 -0
  949. package/esm/components/use-tabs/context.d.ts +6 -0
  950. package/esm/components/use-tabs/context.d.ts.map +1 -0
  951. package/esm/components/use-tabs/context.js +29 -0
  952. package/esm/components/use-tabs/context.type.d.ts +17 -0
  953. package/esm/components/use-tabs/context.type.d.ts.map +1 -0
  954. package/esm/components/use-tabs/context.type.js +5 -0
  955. package/esm/components/use-tabs/index.d.ts +5 -0
  956. package/esm/components/use-tabs/index.d.ts.map +1 -0
  957. package/esm/components/use-tabs/index.js +26 -0
  958. package/esm/components/use-tabs/use-tabs.d.ts +9 -0
  959. package/esm/components/use-tabs/use-tabs.d.ts.map +1 -0
  960. package/esm/components/use-tabs/use-tabs.js +37 -0
  961. package/esm/components/use-tabs/use-tabs.type.d.ts +7 -0
  962. package/esm/components/use-tabs/use-tabs.type.d.ts.map +1 -0
  963. package/esm/components/use-tabs/use-tabs.type.js +5 -0
  964. package/esm/components/use-textarea/index.d.ts +4 -0
  965. package/esm/components/use-textarea/index.d.ts.map +1 -0
  966. package/esm/components/use-textarea/index.js +26 -0
  967. package/esm/components/use-textarea/use-textarea-format.d.ts +9 -0
  968. package/esm/components/use-textarea/use-textarea-format.d.ts.map +1 -0
  969. package/esm/components/use-textarea/use-textarea-format.js +42 -0
  970. package/esm/components/use-textarea/use-textarea-format.type.d.ts +16 -0
  971. package/esm/components/use-textarea/use-textarea-format.type.d.ts.map +1 -0
  972. package/esm/components/use-textarea/use-textarea-format.type.js +5 -0
  973. package/esm/components/use-textarea/use-textarea.d.ts +10 -0
  974. package/esm/components/use-textarea/use-textarea.d.ts.map +1 -0
  975. package/esm/components/use-textarea/use-textarea.js +105 -0
  976. package/esm/components/use-textarea/use-textarea.type.d.ts +30 -0
  977. package/esm/components/use-textarea/use-textarea.type.d.ts.map +1 -0
  978. package/esm/components/use-textarea/use-textarea.type.js +5 -0
  979. package/esm/components/use-transfer/index.d.ts +3 -0
  980. package/esm/components/use-transfer/index.d.ts.map +1 -0
  981. package/esm/components/use-transfer/index.js +19 -0
  982. package/esm/components/use-transfer/use-transfer.d.ts +94 -0
  983. package/esm/components/use-transfer/use-transfer.d.ts.map +1 -0
  984. package/esm/components/use-transfer/use-transfer.js +162 -0
  985. package/esm/components/use-transfer/use-transfer.type.d.ts +31 -0
  986. package/esm/components/use-transfer/use-transfer.type.d.ts.map +1 -0
  987. package/esm/components/use-transfer/use-transfer.type.js +5 -0
  988. package/esm/components/use-tree/index.d.ts +6 -0
  989. package/esm/components/use-tree/index.d.ts.map +1 -0
  990. package/esm/components/use-tree/index.js +33 -0
  991. package/esm/components/use-tree/use-placement.d.ts +6 -0
  992. package/esm/components/use-tree/use-placement.d.ts.map +1 -0
  993. package/esm/components/use-tree/use-placement.js +25 -0
  994. package/esm/components/use-tree/use-placement.type.d.ts +4 -0
  995. package/esm/components/use-tree/use-placement.type.d.ts.map +1 -0
  996. package/esm/components/use-tree/use-placement.type.js +5 -0
  997. package/esm/components/use-tree/use-tree-node.d.ts +13 -0
  998. package/esm/components/use-tree/use-tree-node.d.ts.map +1 -0
  999. package/esm/components/use-tree/use-tree-node.js +78 -0
  1000. package/esm/components/use-tree/use-tree-node.type.d.ts +26 -0
  1001. package/esm/components/use-tree/use-tree-node.type.d.ts.map +1 -0
  1002. package/esm/components/use-tree/use-tree-node.type.js +5 -0
  1003. package/esm/components/use-tree/use-tree.d.ts +44 -0
  1004. package/esm/components/use-tree/use-tree.d.ts.map +1 -0
  1005. package/esm/components/use-tree/use-tree.js +360 -0
  1006. package/esm/components/use-tree/use-tree.type.d.ts +36 -0
  1007. package/esm/components/use-tree/use-tree.type.d.ts.map +1 -0
  1008. package/esm/components/use-tree/use-tree.type.js +5 -0
  1009. package/esm/components/use-upload/index.d.ts +3 -0
  1010. package/esm/components/use-upload/index.d.ts.map +1 -0
  1011. package/esm/components/use-upload/index.js +19 -0
  1012. package/esm/components/use-upload/use-upload.d.ts +15 -0
  1013. package/esm/components/use-upload/use-upload.d.ts.map +1 -0
  1014. package/esm/components/use-upload/use-upload.js +492 -0
  1015. package/esm/components/use-upload/use-upload.type.d.ts +257 -0
  1016. package/esm/components/use-upload/use-upload.type.d.ts.map +1 -0
  1017. package/esm/components/use-upload/use-upload.type.js +5 -0
  1018. package/esm/components/use-upload/xhr.d.ts +3 -0
  1019. package/esm/components/use-upload/xhr.d.ts.map +1 -0
  1020. package/esm/components/use-upload/xhr.js +63 -0
  1021. package/esm/components/use-validate/index.d.ts +3 -0
  1022. package/esm/components/use-validate/index.d.ts.map +1 -0
  1023. package/esm/components/use-validate/index.js +19 -0
  1024. package/esm/components/use-validate/use-validate.d.ts +7 -0
  1025. package/esm/components/use-validate/use-validate.d.ts.map +1 -0
  1026. package/esm/components/use-validate/use-validate.js +45 -0
  1027. package/esm/components/use-validate/use-validate.type.d.ts +8 -0
  1028. package/esm/components/use-validate/use-validate.type.d.ts.map +1 -0
  1029. package/esm/components/use-validate/use-validate.type.js +5 -0
  1030. package/esm/index.d.ts +44 -0
  1031. package/esm/index.d.ts.map +1 -0
  1032. package/esm/index.js +490 -0
  1033. package/esm/utils/accept.d.ts +4 -0
  1034. package/esm/utils/accept.d.ts.map +1 -0
  1035. package/esm/utils/accept.js +30 -0
  1036. package/esm/utils/array.d.ts +2 -0
  1037. package/esm/utils/array.d.ts.map +1 -0
  1038. package/esm/utils/array.js +13 -0
  1039. package/esm/utils/attribute.d.ts +3 -0
  1040. package/esm/utils/attribute.d.ts.map +1 -0
  1041. package/esm/utils/attribute.js +18 -0
  1042. package/esm/utils/clone.d.ts +4 -0
  1043. package/esm/utils/clone.d.ts.map +1 -0
  1044. package/esm/utils/clone.js +69 -0
  1045. package/esm/utils/document.d.ts +10 -0
  1046. package/esm/utils/document.d.ts.map +1 -0
  1047. package/esm/utils/document.js +39 -0
  1048. package/esm/utils/dom/element.d.ts +16 -0
  1049. package/esm/utils/dom/element.d.ts.map +1 -0
  1050. package/esm/utils/dom/element.js +132 -0
  1051. package/esm/utils/dom/index.d.ts +5 -0
  1052. package/esm/utils/dom/index.d.ts.map +1 -0
  1053. package/esm/utils/dom/index.js +47 -0
  1054. package/esm/utils/dom/normalize-wheel.d.ts +8 -0
  1055. package/esm/utils/dom/normalize-wheel.d.ts.map +1 -0
  1056. package/esm/utils/dom/normalize-wheel.js +65 -0
  1057. package/esm/utils/dom/normalize-wheel.type.d.ts +8 -0
  1058. package/esm/utils/dom/normalize-wheel.type.d.ts.map +1 -0
  1059. package/esm/utils/dom/normalize-wheel.type.js +5 -0
  1060. package/esm/utils/dom/ready.d.ts +2 -0
  1061. package/esm/utils/dom/ready.d.ts.map +1 -0
  1062. package/esm/utils/dom/ready.js +12 -0
  1063. package/esm/utils/dom/scroll-behavior.d.ts +2 -0
  1064. package/esm/utils/dom/scroll-behavior.d.ts.map +1 -0
  1065. package/esm/utils/dom/scroll-behavior.js +30 -0
  1066. package/esm/utils/extract-event-handlers.d.ts +10 -0
  1067. package/esm/utils/extract-event-handlers.d.ts.map +1 -0
  1068. package/esm/utils/extract-event-handlers.js +32 -0
  1069. package/esm/utils/func.d.ts +3 -0
  1070. package/esm/utils/func.d.ts.map +1 -0
  1071. package/esm/utils/func.js +43 -0
  1072. package/esm/utils/index.d.ts +21 -0
  1073. package/esm/utils/index.d.ts.map +1 -0
  1074. package/esm/utils/index.js +245 -0
  1075. package/esm/utils/is.d.ts +25 -0
  1076. package/esm/utils/is.d.ts.map +1 -0
  1077. package/esm/utils/is.js +123 -0
  1078. package/esm/utils/lazyload.d.ts +13 -0
  1079. package/esm/utils/lazyload.d.ts.map +1 -0
  1080. package/esm/utils/lazyload.js +112 -0
  1081. package/esm/utils/number.d.ts +7 -0
  1082. package/esm/utils/number.d.ts.map +1 -0
  1083. package/esm/utils/number.js +80 -0
  1084. package/esm/utils/object.d.ts +26 -0
  1085. package/esm/utils/object.d.ts.map +1 -0
  1086. package/esm/utils/object.js +290 -0
  1087. package/esm/utils/position.d.ts +2 -0
  1088. package/esm/utils/position.d.ts.map +1 -0
  1089. package/esm/utils/position.js +79 -0
  1090. package/esm/utils/react-render.d.ts +10 -0
  1091. package/esm/utils/react-render.d.ts.map +1 -0
  1092. package/esm/utils/react-render.js +85 -0
  1093. package/esm/utils/render.d.ts +6 -0
  1094. package/esm/utils/render.d.ts.map +1 -0
  1095. package/esm/utils/render.js +31 -0
  1096. package/esm/utils/rule/index.d.ts +3 -0
  1097. package/esm/utils/rule/index.d.ts.map +1 -0
  1098. package/esm/utils/rule/index.js +19 -0
  1099. package/esm/utils/rule/length.d.ts +11 -0
  1100. package/esm/utils/rule/length.d.ts.map +1 -0
  1101. package/esm/utils/rule/length.js +54 -0
  1102. package/esm/utils/rule/regexp.d.ts +6 -0
  1103. package/esm/utils/rule/regexp.d.ts.map +1 -0
  1104. package/esm/utils/rule/regexp.js +34 -0
  1105. package/esm/utils/rule/required.d.ts +8 -0
  1106. package/esm/utils/rule/required.d.ts.map +1 -0
  1107. package/esm/utils/rule/required.js +30 -0
  1108. package/esm/utils/rule/rule.d.ts +16 -0
  1109. package/esm/utils/rule/rule.d.ts.map +1 -0
  1110. package/esm/utils/rule/rule.js +84 -0
  1111. package/esm/utils/rule/rule.type.d.ts +135 -0
  1112. package/esm/utils/rule/rule.type.d.ts.map +1 -0
  1113. package/esm/utils/rule/rule.type.js +5 -0
  1114. package/esm/utils/rule/type.d.ts +9 -0
  1115. package/esm/utils/rule/type.d.ts.map +1 -0
  1116. package/esm/utils/rule/type.js +31 -0
  1117. package/esm/utils/shallow-equal.d.ts +8 -0
  1118. package/esm/utils/shallow-equal.d.ts.map +1 -0
  1119. package/esm/utils/shallow-equal.js +82 -0
  1120. package/esm/utils/string.d.ts +14 -0
  1121. package/esm/utils/string.d.ts.map +1 -0
  1122. package/esm/utils/string.js +54 -0
  1123. package/esm/utils/style-unit.d.ts +5 -0
  1124. package/esm/utils/style-unit.d.ts.map +1 -0
  1125. package/esm/utils/style-unit.js +31 -0
  1126. package/esm/utils/uid.d.ts +3 -0
  1127. package/esm/utils/uid.d.ts.map +1 -0
  1128. package/esm/utils/uid.js +40 -0
  1129. package/esm/utils/validate/error.d.ts +7 -0
  1130. package/esm/utils/validate/error.d.ts.map +1 -0
  1131. package/esm/utils/validate/error.js +47 -0
  1132. package/esm/utils/validate/get-rule.d.ts +4 -0
  1133. package/esm/utils/validate/get-rule.d.ts.map +1 -0
  1134. package/esm/utils/validate/get-rule.js +116 -0
  1135. package/esm/utils/validate/index.d.ts +6 -0
  1136. package/esm/utils/validate/index.d.ts.map +1 -0
  1137. package/esm/utils/validate/index.js +73 -0
  1138. package/esm/utils/validate/isJson.d.ts +2 -0
  1139. package/esm/utils/validate/isJson.d.ts.map +1 -0
  1140. package/esm/utils/validate/isJson.js +47 -0
  1141. package/esm/utils/validate/nullable.d.ts +4 -0
  1142. package/esm/utils/validate/nullable.d.ts.map +1 -0
  1143. package/esm/utils/validate/nullable.js +18 -0
  1144. package/esm/utils/validate/type.d.ts +16 -0
  1145. package/esm/utils/validate/type.d.ts.map +1 -0
  1146. package/esm/utils/validate/type.js +98 -0
  1147. package/package.json +22 -0
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.array.iterator.js");
4
+ require("core-js/modules/es.weak-map.js");
5
+ require("core-js/modules/web.dom-collections.iterator.js");
6
+ var _typeof = require("@babel/runtime/helpers/typeof");
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.Provider = void 0;
11
+ var _formBindContext = require("./form-bind-context");
12
+ var _formFuncContext = require("./form-func-context");
13
+ var _formConfigContext = require("./form-config-context");
14
+ var React = _interopRequireWildcard(require("react"));
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
+ var Provider = function Provider(props) {
19
+ var children = props.children,
20
+ formConfig = props.formConfig,
21
+ formValue = props.formValue,
22
+ formFunc = props.formFunc;
23
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_formFuncContext.FormFuncContext.Provider, {
24
+ value: formFunc,
25
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_formBindContext.FormBindContext.Provider, {
26
+ value: formValue,
27
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_formConfigContext.FormConfigContext.Provider, {
28
+ value: formConfig,
29
+ children: children
30
+ })
31
+ })
32
+ });
33
+ };
34
+ exports.Provider = Provider;
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { FormContextValueType } from './use-form.type';
3
+ export declare const FormBindContext: React.Context<FormContextValueType>;
4
+ export declare const useFormBind: () => FormContextValueType;
5
+ //# sourceMappingURL=form-bind-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-bind-context.d.ts","sourceRoot":"","sources":["form-bind-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,eAAO,MAAM,eAAe,qCAAgD,CAAC;AAE7E,eAAO,MAAM,WAAW,4BAA0C,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.array.iterator.js");
4
+ require("core-js/modules/es.weak-map.js");
5
+ require("core-js/modules/web.dom-collections.iterator.js");
6
+ var _typeof = require("@babel/runtime/helpers/typeof");
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.useFormBind = exports.FormBindContext = void 0;
11
+ var React = _interopRequireWildcard(require("react"));
12
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ var FormBindContext = /*#__PURE__*/React.createContext({});
15
+ exports.FormBindContext = FormBindContext;
16
+ var useFormBind = function useFormBind() {
17
+ return React.useContext(FormBindContext);
18
+ };
19
+ exports.useFormBind = useFormBind;
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { FormCommonConfig } from './use-form.type';
3
+ export declare const FormConfigContext: React.Context<FormCommonConfig>;
4
+ export declare const useFormConfig: () => FormCommonConfig;
5
+ //# sourceMappingURL=form-config-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-config-context.d.ts","sourceRoot":"","sources":["form-config-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,iBAAiB,iCAA4C,CAAC;AAC3E,eAAO,MAAM,aAAa,wBAA4C,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.array.iterator.js");
4
+ require("core-js/modules/es.weak-map.js");
5
+ require("core-js/modules/web.dom-collections.iterator.js");
6
+ var _typeof = require("@babel/runtime/helpers/typeof");
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.useFormConfig = exports.FormConfigContext = void 0;
11
+ var React = _interopRequireWildcard(require("react"));
12
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ var FormConfigContext = /*#__PURE__*/React.createContext({});
15
+ exports.FormConfigContext = FormConfigContext;
16
+ var useFormConfig = function useFormConfig() {
17
+ return React.useContext(FormConfigContext);
18
+ };
19
+ exports.useFormConfig = useFormConfig;
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { FormFunc } from './use-form.type';
3
+ export declare const FormFuncContext: React.Context<FormFunc | null>;
4
+ export declare const useFormFunc: () => FormFunc | null;
5
+ //# sourceMappingURL=form-func-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-func-context.d.ts","sourceRoot":"","sources":["form-func-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,eAAO,MAAM,eAAe,gCAA6C,CAAC;AAC1E,eAAO,MAAM,WAAW,uBAA0C,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.array.iterator.js");
4
+ require("core-js/modules/es.weak-map.js");
5
+ require("core-js/modules/web.dom-collections.iterator.js");
6
+ var _typeof = require("@babel/runtime/helpers/typeof");
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.useFormFunc = exports.FormFuncContext = void 0;
11
+ var React = _interopRequireWildcard(require("react"));
12
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ var FormFuncContext = /*#__PURE__*/React.createContext(null);
15
+ exports.FormFuncContext = FormFuncContext;
16
+ var useFormFunc = function useFormFunc() {
17
+ return React.useContext(FormFuncContext);
18
+ };
19
+ exports.useFormFunc = useFormFunc;
@@ -0,0 +1,9 @@
1
+ export * from './use-form-control';
2
+ export * from './use-form-item';
3
+ export * from './use-form-fieldset';
4
+ export * from './use-form-flow';
5
+ export { default, default as useForm } from './use-form';
6
+ export { useFormConfig } from './form-config-context';
7
+ export { useFormFunc } from './form-func-context';
8
+ export type { BaseFormProps, FormCommonConfig, FormLabelConfig } from './use-form.type';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/web.dom-collections.for-each.js");
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ var _exportNames = {
9
+ useForm: true,
10
+ useFormConfig: true,
11
+ useFormFunc: true
12
+ };
13
+ Object.defineProperty(exports, "default", {
14
+ enumerable: true,
15
+ get: function get() {
16
+ return _useForm.default;
17
+ }
18
+ });
19
+ Object.defineProperty(exports, "useForm", {
20
+ enumerable: true,
21
+ get: function get() {
22
+ return _useForm.default;
23
+ }
24
+ });
25
+ Object.defineProperty(exports, "useFormConfig", {
26
+ enumerable: true,
27
+ get: function get() {
28
+ return _formConfigContext.useFormConfig;
29
+ }
30
+ });
31
+ Object.defineProperty(exports, "useFormFunc", {
32
+ enumerable: true,
33
+ get: function get() {
34
+ return _formFuncContext.useFormFunc;
35
+ }
36
+ });
37
+ var _useFormControl = require("./use-form-control");
38
+ Object.keys(_useFormControl).forEach(function (key) {
39
+ if (key === "default" || key === "__esModule") return;
40
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
41
+ if (key in exports && exports[key] === _useFormControl[key]) return;
42
+ Object.defineProperty(exports, key, {
43
+ enumerable: true,
44
+ get: function get() {
45
+ return _useFormControl[key];
46
+ }
47
+ });
48
+ });
49
+ var _useFormItem = require("./use-form-item");
50
+ Object.keys(_useFormItem).forEach(function (key) {
51
+ if (key === "default" || key === "__esModule") return;
52
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
53
+ if (key in exports && exports[key] === _useFormItem[key]) return;
54
+ Object.defineProperty(exports, key, {
55
+ enumerable: true,
56
+ get: function get() {
57
+ return _useFormItem[key];
58
+ }
59
+ });
60
+ });
61
+ var _useFormFieldset = require("./use-form-fieldset");
62
+ Object.keys(_useFormFieldset).forEach(function (key) {
63
+ if (key === "default" || key === "__esModule") return;
64
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
65
+ if (key in exports && exports[key] === _useFormFieldset[key]) return;
66
+ Object.defineProperty(exports, key, {
67
+ enumerable: true,
68
+ get: function get() {
69
+ return _useFormFieldset[key];
70
+ }
71
+ });
72
+ });
73
+ var _useFormFlow = require("./use-form-flow");
74
+ Object.keys(_useFormFlow).forEach(function (key) {
75
+ if (key === "default" || key === "__esModule") return;
76
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
77
+ if (key in exports && exports[key] === _useFormFlow[key]) return;
78
+ Object.defineProperty(exports, key, {
79
+ enumerable: true,
80
+ get: function get() {
81
+ return _useFormFlow[key];
82
+ }
83
+ });
84
+ });
85
+ var _useForm = _interopRequireDefault(require("./use-form"));
86
+ var _formConfigContext = require("./form-config-context");
87
+ var _formFuncContext = require("./form-func-context");
@@ -0,0 +1,3 @@
1
+ export { default, default as useFormControl } from './use-form-control';
2
+ export type { BaseFormControlProps } from './use-form-control.type';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACxE,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _useFormControl.default;
11
+ }
12
+ });
13
+ Object.defineProperty(exports, "useFormControl", {
14
+ enumerable: true,
15
+ get: function get() {
16
+ return _useFormControl.default;
17
+ }
18
+ });
19
+ var _useFormControl = _interopRequireDefault(require("./use-form-control"));
@@ -0,0 +1,9 @@
1
+ import { BaseFormControlProps } from './use-form-control.type';
2
+ export default function useFormControl<T>(props: BaseFormControlProps<T>): {
3
+ value: T | undefined;
4
+ onChange: (v: T, ...other: any[]) => void;
5
+ error: Error | undefined;
6
+ inForm: boolean;
7
+ disabled: boolean | undefined;
8
+ };
9
+ //# sourceMappingURL=use-form-control.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-form-control.d.ts","sourceRoot":"","sources":["use-form-control.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAwB/D,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC;;kBAsFpC,CAAC,YAAY,GAAG,EAAE;;;;EA8CrD"}
@@ -0,0 +1,196 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.array.iterator.js");
4
+ require("core-js/modules/es.weak-map.js");
5
+ require("core-js/modules/web.dom-collections.iterator.js");
6
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
7
+ var _typeof = require("@babel/runtime/helpers/typeof");
8
+ Object.defineProperty(exports, "__esModule", {
9
+ value: true
10
+ });
11
+ exports.default = useFormControl;
12
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
13
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
14
+ require("core-js/modules/es.array.map.js");
15
+ require("core-js/modules/es.array.reduce.js");
16
+ require("core-js/modules/es.array.concat.js");
17
+ require("core-js/modules/web.dom-collections.for-each.js");
18
+ var _react = _interopRequireWildcard(require("react"));
19
+ var _formFuncContext = require("../form-func-context");
20
+ var _formBindContext = require("../form-bind-context");
21
+ var _formItemContext = require("../use-form-item/form-item-context");
22
+ var _fieldsetContext = require("../use-form-fieldset/fieldset-context");
23
+ var _is = require("../../../utils/is");
24
+ var _validate = require("../../../utils/validate");
25
+ var _object = require("../../../utils/object");
26
+ var _shallowEqual = require("../../../utils/shallow-equal");
27
+ var _usePersistFn = _interopRequireDefault(require("../../../common/use-persist-fn"));
28
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
29
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
30
+ var getValue = function getValue(name, formValue) {
31
+ if (!name) return undefined;
32
+ if ((0, _is.isArray)(name)) {
33
+ return name.map(function (n) {
34
+ return (0, _object.deepGet)(formValue, n);
35
+ });
36
+ }
37
+ return (0, _object.deepGet)(formValue, name);
38
+ };
39
+ var getError = function getError(name, errors, serverErrors) {
40
+ if (!name) return undefined;
41
+ if ((0, _is.isArray)(name)) {
42
+ for (var i = 0; i < name.length; i++) {
43
+ var err = (errors !== null && errors !== void 0 ? errors : {})[name[i]] || (serverErrors !== null && serverErrors !== void 0 ? serverErrors : {})[name[i]];
44
+ if (err) return err;
45
+ }
46
+ return;
47
+ } else {
48
+ return (errors !== null && errors !== void 0 ? errors : {})[name] || (serverErrors !== null && serverErrors !== void 0 ? serverErrors : {})[name];
49
+ }
50
+ };
51
+ function useFormControl(props) {
52
+ var onChangePo = props.onChange,
53
+ reserveAble = props.reserveAble,
54
+ defaultValue = props.defaultValue,
55
+ rules = props.rules,
56
+ onError = props.onError,
57
+ getValidateProps = props.getValidateProps;
58
+ var _useFieldSetConsumer = (0, _fieldsetContext.useFieldSetConsumer)({
59
+ name: props.name,
60
+ bind: props.bind
61
+ }),
62
+ name = _useFieldSetConsumer.name,
63
+ bind = _useFieldSetConsumer.bind;
64
+ var _React$useState = _react.default.useState(undefined),
65
+ _React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2),
66
+ errorState = _React$useState2[0],
67
+ setErrorState = _React$useState2[1];
68
+ var _React$useState3 = _react.default.useState(undefined),
69
+ _React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 2),
70
+ valueState = _React$useState4[0],
71
+ setValueState = _React$useState4[1];
72
+ var value;
73
+ var error = errorState;
74
+ var inForm = false;
75
+ var _useFormBind = (0, _formBindContext.useFormBind)(),
76
+ controlFunc = _useFormBind.func,
77
+ disabled = _useFormBind.disabled;
78
+ var formFunc = (0, _formFuncContext.useFormFunc)();
79
+ var _React$useContext = _react.default.useContext(_formItemContext.FormItemContext),
80
+ updateError = _React$useContext.updateError;
81
+ if (name && formFunc) {
82
+ inForm = true;
83
+ value = valueState;
84
+ if ((0, _is.isArray)(name) && !(0, _is.isArray)(value)) {
85
+ value = [];
86
+ }
87
+ }
88
+ var update = (0, _usePersistFn.default)(function () {
89
+ var formValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
90
+ var errors = arguments.length > 1 ? arguments[1] : undefined;
91
+ var severErrors = arguments.length > 2 ? arguments[2] : undefined;
92
+ if (!name) return;
93
+ var value = getValue(name, formValue);
94
+ var error = getError(name, errors, severErrors);
95
+ if (error !== errorState) {
96
+ setErrorState(error);
97
+ }
98
+ if (!(0, _shallowEqual.shallowEqual)(value, valueState)) {
99
+ setValueState(value);
100
+ }
101
+ });
102
+ var validateFiled = (0, _usePersistFn.default)(function (name, v, formV) {
103
+ var config = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
104
+ var validateProps = (getValidateProps === null || getValidateProps === void 0 ? void 0 : getValidateProps()) || {};
105
+ if (inForm) {
106
+ var bindValidate = function bindValidate() {
107
+ if (!config.ignoreBind && (0, _is.isArray)(bind)) {
108
+ formFunc === null || formFunc === void 0 ? void 0 : formFunc.validateFields(bind, {
109
+ ignoreBind: true
110
+ }).catch(function () {});
111
+ }
112
+ };
113
+ var fullRules = (controlFunc === null || controlFunc === void 0 ? void 0 : controlFunc.combineRules(name, rules || [])) || [];
114
+ return (0, _validate.validate)(v, formV, fullRules, validateProps).then(function (res) {
115
+ var err = res === true ? undefined : res;
116
+ formFunc === null || formFunc === void 0 ? void 0 : formFunc.setError(name, err);
117
+ onError === null || onError === void 0 ? void 0 : onError(err);
118
+ bindValidate();
119
+ return res;
120
+ }).catch(function (e) {
121
+ formFunc === null || formFunc === void 0 ? void 0 : formFunc.setError(name, e);
122
+ onError === null || onError === void 0 ? void 0 : onError(e);
123
+ bindValidate();
124
+ return e;
125
+ });
126
+ } else {
127
+ return (0, _validate.validate)(v, {}, rules || [], {}).then(function (res) {
128
+ var err = res === true ? undefined : res;
129
+ setErrorState(err);
130
+ onError === null || onError === void 0 ? void 0 : onError(err);
131
+ return res;
132
+ }).catch(function (e) {
133
+ setErrorState(e);
134
+ onError === null || onError === void 0 ? void 0 : onError(e);
135
+ return e;
136
+ });
137
+ }
138
+ });
139
+ var onChange = (0, _usePersistFn.default)(function (v) {
140
+ if (inForm && formFunc) {
141
+ if ((0, _is.isArray)(name)) {
142
+ var arrV = (0, _is.isArray)(v) ? v : [];
143
+ var objetcV = name.reduce(function (result, name, index) {
144
+ result[name] = arrV[index];
145
+ return result;
146
+ }, {});
147
+ formFunc.setValue(objetcV, {
148
+ validate: true
149
+ });
150
+ } else {
151
+ formFunc.setValue((0, _defineProperty2.default)({}, name, v), {
152
+ validate: true
153
+ });
154
+ }
155
+ } else {
156
+ validateFiled('', v, undefined);
157
+ }
158
+ for (var _len = arguments.length, other = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
159
+ other[_key - 1] = arguments[_key];
160
+ }
161
+ if (onChangePo) onChangePo.apply(void 0, [v].concat(other));
162
+ });
163
+ (0, _react.useEffect)(function () {
164
+ if (inForm && controlFunc) {
165
+ if ((0, _is.isArray)(name)) {
166
+ var dv = (0, _is.isArray)(defaultValue) ? defaultValue : [];
167
+ name.forEach(function (n, index) {
168
+ controlFunc.bind(n, dv[index], validateFiled, update);
169
+ });
170
+ } else {
171
+ controlFunc.bind(name, defaultValue, validateFiled, update);
172
+ }
173
+ }
174
+ return function () {
175
+ if (inForm && controlFunc) {
176
+ if ((0, _is.isArray)(name)) {
177
+ name.forEach(function (n) {
178
+ controlFunc.unbind(n, reserveAble);
179
+ });
180
+ } else {
181
+ controlFunc.unbind(name, reserveAble);
182
+ }
183
+ }
184
+ };
185
+ }, [name]);
186
+ (0, _react.useEffect)(function () {
187
+ updateError((0, _is.isArray)(name) ? name.join('|') : name, error);
188
+ }, [error]);
189
+ return {
190
+ value: value,
191
+ onChange: onChange,
192
+ error: error,
193
+ inForm: inForm,
194
+ disabled: disabled
195
+ };
196
+ }
@@ -0,0 +1,36 @@
1
+ import { ObjectType } from '../../../common/type';
2
+ import { FormItemRule } from '../../../utils/rule/rule.type';
3
+ export interface BaseFormControlProps<T> {
4
+ name: string | string[];
5
+ /**
6
+ * @en default Value
7
+ * @cn 默认值
8
+ */
9
+ defaultValue: T | undefined;
10
+ onChange: ((value: T, ...other: any[]) => void) | undefined;
11
+ /**
12
+ * @en If set to true, the form will not automatically delete the data after the component is uninstalled
13
+ * @cn 设置为 true 组件卸载后表单不自动删除数据
14
+ */
15
+ reserveAble: boolean | undefined;
16
+ /**
17
+ * @en Validation rules, see [Rule]
18
+ * @cn 校验规则 详见 Rule
19
+ * @override RuleItem[]
20
+ */
21
+ rules: FormItemRule<T> | undefined;
22
+ /**
23
+ * @private 内部属性
24
+ */
25
+ onError: ((error: Error | undefined) => void) | undefined;
26
+ /**
27
+ * @en When the value changes, it will link to verify the fields in the bind, which needs to be used with Form
28
+ * @cn 当值改变是会联动校验 bind 中的字段, 需要配合 Form 使用
29
+ */
30
+ bind: string[] | undefined;
31
+ /**
32
+ * @private 内部属性 for validate
33
+ */
34
+ getValidateProps: (() => ObjectType) | undefined;
35
+ }
36
+ //# sourceMappingURL=use-form-control.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-form-control.type.d.ts","sourceRoot":"","sources":["use-form-control.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB;;;OAGG;IACH,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC5D;;;OAGG;IACH,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC;;;;OAIG;IACH,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,OAAO,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC1D;;;OAGG;IACH,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,gBAAgB,EAAE,CAAC,MAAM,UAAU,CAAC,GAAG,SAAS,CAAC;CAClD"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ declare const FieldsetContext: React.Context<{
3
+ path: string;
4
+ }>;
5
+ interface BaseFieldProps {
6
+ bind?: string[];
7
+ name: string | string[];
8
+ }
9
+ export declare const useFieldSetConsumer: <T extends BaseFieldProps>(props: T) => T & {
10
+ name: string | string[];
11
+ bind: string[] | undefined;
12
+ };
13
+ export default FieldsetContext;
14
+ //# sourceMappingURL=fieldset-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fieldset-context.d.ts","sourceRoot":"","sources":["fieldset-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,QAAA,MAAM,eAAe;;EAA8B,CAAC;AAEpD,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CACzB;AACD,eAAO,MAAM,mBAAmB;;;CAmB/B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.array.filter.js");
4
+ require("core-js/modules/web.dom-collections.for-each.js");
5
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
6
+ require("core-js/modules/es.array.iterator.js");
7
+ require("core-js/modules/es.weak-map.js");
8
+ require("core-js/modules/web.dom-collections.iterator.js");
9
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
10
+ var _typeof = require("@babel/runtime/helpers/typeof");
11
+ Object.defineProperty(exports, "__esModule", {
12
+ value: true
13
+ });
14
+ exports.useFieldSetConsumer = exports.default = void 0;
15
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
16
+ require("core-js/modules/es.array.concat.js");
17
+ require("core-js/modules/es.array.map.js");
18
+ var _react = _interopRequireWildcard(require("react"));
19
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
22
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
23
+ var FieldsetContext = /*#__PURE__*/(0, _react.createContext)({
24
+ path: ''
25
+ });
26
+ var useFieldSetConsumer = function useFieldSetConsumer(props) {
27
+ var _React$useContext = _react.default.useContext(FieldsetContext),
28
+ path = _React$useContext.path;
29
+ var bind = _react.default.useMemo(function () {
30
+ return path ? (props.bind || []).concat(path) : props.bind;
31
+ }, [path, props.bind]);
32
+ var name = _react.default.useMemo(function () {
33
+ if (Array.isArray(props.name)) {
34
+ return props.name.map(function (item) {
35
+ return path ? "".concat(path, ".").concat(item) : item;
36
+ });
37
+ }
38
+ return path ? "".concat(path, ".").concat(props.name) : props.name;
39
+ }, [path, props.name]);
40
+ return _objectSpread(_objectSpread({}, props), {}, {
41
+ name: name,
42
+ bind: bind
43
+ });
44
+ };
45
+ exports.useFieldSetConsumer = useFieldSetConsumer;
46
+ var _default = FieldsetContext;
47
+ exports.default = _default;
@@ -0,0 +1,4 @@
1
+ export { default as useFormFieldSet, default } from './use-form-fieldset';
2
+ export { useFieldSetConsumer } from './fieldset-context';
3
+ export type { BaseFormFieldSetProps } from './use-form-fieldset.type';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,YAAY,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "default", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _useFormFieldset.default;
11
+ }
12
+ });
13
+ Object.defineProperty(exports, "useFieldSetConsumer", {
14
+ enumerable: true,
15
+ get: function get() {
16
+ return _fieldsetContext.useFieldSetConsumer;
17
+ }
18
+ });
19
+ Object.defineProperty(exports, "useFormFieldSet", {
20
+ enumerable: true,
21
+ get: function get() {
22
+ return _useFormFieldset.default;
23
+ }
24
+ });
25
+ var _useFormFieldset = _interopRequireDefault(require("./use-form-fieldset"));
26
+ var _fieldsetContext = require("./fieldset-context");
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { BaseFormFieldSetProps } from './use-form-fieldset.type';
3
+ export declare const useFormFieldSet: <T>(props: BaseFormFieldSetProps<T>) => {
4
+ Provider: import("react").Provider<{
5
+ path: string;
6
+ }>;
7
+ ProviderValue: {
8
+ path: string | (string & string[]);
9
+ };
10
+ error: Error | undefined;
11
+ value: T | undefined;
12
+ onChange: (v: T, ...other: any[]) => void;
13
+ };
14
+ export default useFormFieldSet;
15
+ //# sourceMappingURL=use-form-fieldset.d.ts.map