@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.
- package/cjs/common/type.d.ts +22 -0
- package/cjs/common/type.d.ts.map +1 -0
- package/cjs/common/type.js +5 -0
- package/cjs/common/use-click-away/index.d.ts +10 -0
- package/cjs/common/use-click-away/index.d.ts.map +1 -0
- package/cjs/common/use-click-away/index.js +50 -0
- package/cjs/common/use-default-value/index.d.ts +3 -0
- package/cjs/common/use-default-value/index.d.ts.map +1 -0
- package/cjs/common/use-default-value/index.js +26 -0
- package/cjs/common/use-default-value/use-default-value.d.ts +7 -0
- package/cjs/common/use-default-value/use-default-value.d.ts.map +1 -0
- package/cjs/common/use-default-value/use-default-value.js +35 -0
- package/cjs/common/use-default-value/use-previous.d.ts +3 -0
- package/cjs/common/use-default-value/use-previous.d.ts.map +1 -0
- package/cjs/common/use-default-value/use-previous.js +14 -0
- package/cjs/common/use-drag-mock/index.d.ts +12 -0
- package/cjs/common/use-drag-mock/index.d.ts.map +1 -0
- package/cjs/common/use-drag-mock/index.js +62 -0
- package/cjs/common/use-fork-ref/index.d.ts +5 -0
- package/cjs/common/use-fork-ref/index.d.ts.map +1 -0
- package/cjs/common/use-fork-ref/index.js +43 -0
- package/cjs/common/use-fork-ref/setRef.d.ts +16 -0
- package/cjs/common/use-fork-ref/setRef.d.ts.map +1 -0
- package/cjs/common/use-fork-ref/setRef.js +26 -0
- package/cjs/common/use-func-change/index.d.ts +2 -0
- package/cjs/common/use-func-change/index.d.ts.map +1 -0
- package/cjs/common/use-func-change/index.js +19 -0
- package/cjs/common/use-func-change/use-func-change.d.ts +10 -0
- package/cjs/common/use-func-change/use-func-change.d.ts.map +1 -0
- package/cjs/common/use-func-change/use-func-change.js +30 -0
- package/cjs/common/use-input-able/index.d.ts +2 -0
- package/cjs/common/use-input-able/index.d.ts.map +1 -0
- package/cjs/common/use-input-able/index.js +19 -0
- package/cjs/common/use-input-able/use-Input-able.d.ts +7 -0
- package/cjs/common/use-input-able/use-Input-able.d.ts.map +1 -0
- package/cjs/common/use-input-able/use-Input-able.js +90 -0
- package/cjs/common/use-input-able/use-Input-able.type.d.ts +10 -0
- package/cjs/common/use-input-able/use-Input-able.type.d.ts.map +1 -0
- package/cjs/common/use-input-able/use-Input-able.type.js +5 -0
- package/cjs/common/use-key-event/index.d.ts +10 -0
- package/cjs/common/use-key-event/index.d.ts.map +1 -0
- package/cjs/common/use-key-event/index.js +31 -0
- package/cjs/common/use-latest-obj/index.d.ts +5 -0
- package/cjs/common/use-latest-obj/index.d.ts.map +1 -0
- package/cjs/common/use-latest-obj/index.js +19 -0
- package/cjs/common/use-list-select/index.d.ts +5 -0
- package/cjs/common/use-list-select/index.d.ts.map +1 -0
- package/cjs/common/use-list-select/index.js +33 -0
- package/cjs/common/use-list-select/use-list-select-multiple.d.ts +29 -0
- package/cjs/common/use-list-select/use-list-select-multiple.d.ts.map +1 -0
- package/cjs/common/use-list-select/use-list-select-multiple.js +283 -0
- package/cjs/common/use-list-select/use-list-select-single.d.ts +24 -0
- package/cjs/common/use-list-select/use-list-select-single.d.ts.map +1 -0
- package/cjs/common/use-list-select/use-list-select-single.js +46 -0
- package/cjs/common/use-list-select/use-list-select.d.ts +49 -0
- package/cjs/common/use-list-select/use-list-select.d.ts.map +1 -0
- package/cjs/common/use-list-select/use-list-select.js +58 -0
- package/cjs/common/use-list-select/use-list.type.d.ts +26 -0
- package/cjs/common/use-list-select/use-list.type.d.ts.map +1 -0
- package/cjs/common/use-list-select/use-list.type.js +5 -0
- package/cjs/common/use-pagination-list/index.d.ts +27 -0
- package/cjs/common/use-pagination-list/index.d.ts.map +1 -0
- package/cjs/common/use-pagination-list/index.js +62 -0
- package/cjs/common/use-persist-fn/index.d.ts +9 -0
- package/cjs/common/use-persist-fn/index.d.ts.map +1 -0
- package/cjs/common/use-persist-fn/index.js +27 -0
- package/cjs/common/use-position-style/get-position-style.d.ts +6 -0
- package/cjs/common/use-position-style/get-position-style.d.ts.map +1 -0
- package/cjs/common/use-position-style/get-position-style.js +54 -0
- package/cjs/common/use-position-style/index.d.ts +21 -0
- package/cjs/common/use-position-style/index.d.ts.map +1 -0
- package/cjs/common/use-position-style/index.js +244 -0
- package/cjs/common/use-previous/index.d.ts +3 -0
- package/cjs/common/use-previous/index.d.ts.map +1 -0
- package/cjs/common/use-previous/index.js +19 -0
- package/cjs/common/use-render/index.d.ts +3 -0
- package/cjs/common/use-render/index.d.ts.map +1 -0
- package/cjs/common/use-render/index.js +28 -0
- package/cjs/common/use-resize/index.d.ts +13 -0
- package/cjs/common/use-resize/index.d.ts.map +1 -0
- package/cjs/common/use-resize/index.js +53 -0
- package/cjs/common/use-safe-state/index.d.ts +5 -0
- package/cjs/common/use-safe-state/index.d.ts.map +1 -0
- package/cjs/common/use-safe-state/index.js +27 -0
- package/cjs/common/use-style/index.d.ts +5 -0
- package/cjs/common/use-style/index.d.ts.map +1 -0
- package/cjs/common/use-style/index.js +31 -0
- package/cjs/common/use-toggle/index.d.ts +9 -0
- package/cjs/common/use-toggle/index.d.ts.map +1 -0
- package/cjs/common/use-toggle/index.js +45 -0
- package/cjs/common/use-transform/index.d.ts +2 -0
- package/cjs/common/use-transform/index.d.ts.map +1 -0
- package/cjs/common/use-transform/index.js +19 -0
- package/cjs/common/use-transform/use-transform.d.ts +21 -0
- package/cjs/common/use-transform/use-transform.d.ts.map +1 -0
- package/cjs/common/use-transform/use-transform.js +141 -0
- package/cjs/common/use-transform/use-transform.type.d.ts +19 -0
- package/cjs/common/use-transform/use-transform.type.d.ts.map +1 -0
- package/cjs/common/use-transform/use-transform.type.js +5 -0
- package/cjs/common/use-unmounted-ref/index.d.ts +4 -0
- package/cjs/common/use-unmounted-ref/index.d.ts.map +1 -0
- package/cjs/common/use-unmounted-ref/index.js +20 -0
- package/cjs/components/use-button/index.d.ts +3 -0
- package/cjs/components/use-button/index.d.ts.map +1 -0
- package/cjs/components/use-button/index.js +19 -0
- package/cjs/components/use-button/use-button-group.type.d.ts +8 -0
- package/cjs/components/use-button/use-button-group.type.d.ts.map +1 -0
- package/cjs/components/use-button/use-button-group.type.js +5 -0
- package/cjs/components/use-button/use-button.d.ts +38 -0
- package/cjs/components/use-button/use-button.d.ts.map +1 -0
- package/cjs/components/use-button/use-button.js +85 -0
- package/cjs/components/use-button/use-button.type.d.ts +35 -0
- package/cjs/components/use-button/use-button.type.d.ts.map +1 -0
- package/cjs/components/use-button/use-button.type.js +5 -0
- package/cjs/components/use-carousel/index.d.ts +2 -0
- package/cjs/components/use-carousel/index.d.ts.map +1 -0
- package/cjs/components/use-carousel/index.js +19 -0
- package/cjs/components/use-carousel/use-carousel.d.ts +27 -0
- package/cjs/components/use-carousel/use-carousel.d.ts.map +1 -0
- package/cjs/components/use-carousel/use-carousel.js +102 -0
- package/cjs/components/use-check/index.d.ts +3 -0
- package/cjs/components/use-check/index.d.ts.map +1 -0
- package/cjs/components/use-check/index.js +19 -0
- package/cjs/components/use-check/use-check.d.ts +32 -0
- package/cjs/components/use-check/use-check.d.ts.map +1 -0
- package/cjs/components/use-check/use-check.js +103 -0
- package/cjs/components/use-check/use-check.type.d.ts +10 -0
- package/cjs/components/use-check/use-check.type.d.ts.map +1 -0
- package/cjs/components/use-check/use-check.type.js +5 -0
- package/cjs/components/use-datepicker/index.d.ts +10 -0
- package/cjs/components/use-datepicker/index.d.ts.map +1 -0
- package/cjs/components/use-datepicker/index.js +62 -0
- package/cjs/components/use-datepicker/use-date.d.ts +25 -0
- package/cjs/components/use-datepicker/use-date.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-date.js +181 -0
- package/cjs/components/use-datepicker/use-date.type.d.ts +19 -0
- package/cjs/components/use-datepicker/use-date.type.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-date.type.js +5 -0
- package/cjs/components/use-datepicker/use-datepicker-format.d.ts +29 -0
- package/cjs/components/use-datepicker/use-datepicker-format.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-datepicker-format.js +301 -0
- package/cjs/components/use-datepicker/use-datepicker-format.type.d.ts +27 -0
- package/cjs/components/use-datepicker/use-datepicker-format.type.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-datepicker-format.type.js +5 -0
- package/cjs/components/use-datepicker/use-datepicker-range.d.ts +22 -0
- package/cjs/components/use-datepicker/use-datepicker-range.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-datepicker-range.js +207 -0
- package/cjs/components/use-datepicker/use-datepicker-range.type.d.ts +25 -0
- package/cjs/components/use-datepicker/use-datepicker-range.type.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-datepicker-range.type.js +5 -0
- package/cjs/components/use-datepicker/use-month.d.ts +18 -0
- package/cjs/components/use-datepicker/use-month.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-month.js +121 -0
- package/cjs/components/use-datepicker/use-month.type.d.ts +16 -0
- package/cjs/components/use-datepicker/use-month.type.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-month.type.js +5 -0
- package/cjs/components/use-datepicker/use-quarter.d.ts +18 -0
- package/cjs/components/use-datepicker/use-quarter.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-quarter.js +121 -0
- package/cjs/components/use-datepicker/use-quarter.type.d.ts +16 -0
- package/cjs/components/use-datepicker/use-quarter.type.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-quarter.type.js +5 -0
- package/cjs/components/use-datepicker/use-time.d.ts +18 -0
- package/cjs/components/use-datepicker/use-time.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-time.js +169 -0
- package/cjs/components/use-datepicker/use-time.type.d.ts +17 -0
- package/cjs/components/use-datepicker/use-time.type.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-time.type.js +5 -0
- package/cjs/components/use-datepicker/use-year.d.ts +20 -0
- package/cjs/components/use-datepicker/use-year.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-year.js +122 -0
- package/cjs/components/use-datepicker/use-year.type.d.ts +16 -0
- package/cjs/components/use-datepicker/use-year.type.d.ts.map +1 -0
- package/cjs/components/use-datepicker/use-year.type.js +5 -0
- package/cjs/components/use-datepicker/util.d.ts +82 -0
- package/cjs/components/use-datepicker/util.d.ts.map +1 -0
- package/cjs/components/use-datepicker/util.js +405 -0
- package/cjs/components/use-form/Provider.d.ts +4 -0
- package/cjs/components/use-form/Provider.d.ts.map +1 -0
- package/cjs/components/use-form/Provider.js +34 -0
- package/cjs/components/use-form/form-bind-context.d.ts +5 -0
- package/cjs/components/use-form/form-bind-context.d.ts.map +1 -0
- package/cjs/components/use-form/form-bind-context.js +19 -0
- package/cjs/components/use-form/form-config-context.d.ts +5 -0
- package/cjs/components/use-form/form-config-context.d.ts.map +1 -0
- package/cjs/components/use-form/form-config-context.js +19 -0
- package/cjs/components/use-form/form-func-context.d.ts +5 -0
- package/cjs/components/use-form/form-func-context.d.ts.map +1 -0
- package/cjs/components/use-form/form-func-context.js +19 -0
- package/cjs/components/use-form/index.d.ts +9 -0
- package/cjs/components/use-form/index.d.ts.map +1 -0
- package/cjs/components/use-form/index.js +87 -0
- package/cjs/components/use-form/use-form-control/index.d.ts +3 -0
- package/cjs/components/use-form/use-form-control/index.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-control/index.js +19 -0
- package/cjs/components/use-form/use-form-control/use-form-control.d.ts +9 -0
- package/cjs/components/use-form/use-form-control/use-form-control.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-control/use-form-control.js +196 -0
- package/cjs/components/use-form/use-form-control/use-form-control.type.d.ts +36 -0
- package/cjs/components/use-form/use-form-control/use-form-control.type.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-control/use-form-control.type.js +5 -0
- package/cjs/components/use-form/use-form-fieldset/fieldset-context.d.ts +14 -0
- package/cjs/components/use-form/use-form-fieldset/fieldset-context.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-fieldset/fieldset-context.js +47 -0
- package/cjs/components/use-form/use-form-fieldset/index.d.ts +4 -0
- package/cjs/components/use-form/use-form-fieldset/index.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-fieldset/index.js +26 -0
- package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.d.ts +15 -0
- package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.js +52 -0
- package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.type.d.ts +5 -0
- package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.type.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.type.js +5 -0
- package/cjs/components/use-form/use-form-flow/index.d.ts +5 -0
- package/cjs/components/use-form/use-form-flow/index.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-flow/index.js +26 -0
- package/cjs/components/use-form/use-form-flow/use-form-datum.d.ts +9 -0
- package/cjs/components/use-form/use-form-flow/use-form-datum.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-flow/use-form-datum.js +18 -0
- package/cjs/components/use-form/use-form-flow/use-form-flow.d.ts +4 -0
- package/cjs/components/use-form/use-form-flow/use-form-flow.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-flow/use-form-flow.js +30 -0
- package/cjs/components/use-form/use-form-flow/use-form-flow.type.d.ts +4 -0
- package/cjs/components/use-form/use-form-flow/use-form-flow.type.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-flow/use-form-flow.type.js +5 -0
- package/cjs/components/use-form/use-form-item/form-item-context.d.ts +6 -0
- package/cjs/components/use-form/use-form-item/form-item-context.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-item/form-item-context.js +17 -0
- package/cjs/components/use-form/use-form-item/index.d.ts +2 -0
- package/cjs/components/use-form/use-form-item/index.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-item/index.js +19 -0
- package/cjs/components/use-form/use-form-item/use-form-item.d.ts +12 -0
- package/cjs/components/use-form/use-form-item/use-form-item.d.ts.map +1 -0
- package/cjs/components/use-form/use-form-item/use-form-item.js +62 -0
- package/cjs/components/use-form/use-form.d.ts +41 -0
- package/cjs/components/use-form/use-form.d.ts.map +1 -0
- package/cjs/components/use-form/use-form.js +427 -0
- package/cjs/components/use-form/use-form.type.d.ts +168 -0
- package/cjs/components/use-form/use-form.type.d.ts.map +1 -0
- package/cjs/components/use-form/use-form.type.js +5 -0
- package/cjs/components/use-image/index.d.ts +9 -0
- package/cjs/components/use-image/index.d.ts.map +1 -0
- package/cjs/components/use-image/index.js +40 -0
- package/cjs/components/use-image/use-image-gallery.d.ts +25 -0
- package/cjs/components/use-image/use-image-gallery.d.ts.map +1 -0
- package/cjs/components/use-image/use-image-gallery.js +168 -0
- package/cjs/components/use-image/use-image-gallery.type.d.ts +9 -0
- package/cjs/components/use-image/use-image-gallery.type.d.ts.map +1 -0
- package/cjs/components/use-image/use-image-gallery.type.js +5 -0
- package/cjs/components/use-image/use-image-group.d.ts +27 -0
- package/cjs/components/use-image/use-image-group.d.ts.map +1 -0
- package/cjs/components/use-image/use-image-group.js +107 -0
- package/cjs/components/use-image/use-image-group.type.d.ts +13 -0
- package/cjs/components/use-image/use-image-group.type.d.ts.map +1 -0
- package/cjs/components/use-image/use-image-group.type.js +5 -0
- package/cjs/components/use-image/use-image-magnify.d.ts +17 -0
- package/cjs/components/use-image/use-image-magnify.d.ts.map +1 -0
- package/cjs/components/use-image/use-image-magnify.js +104 -0
- package/cjs/components/use-image/use-image-magnify.type.d.ts +9 -0
- package/cjs/components/use-image/use-image-magnify.type.d.ts.map +1 -0
- package/cjs/components/use-image/use-image-magnify.type.js +5 -0
- package/cjs/components/use-image/use-image.d.ts +27 -0
- package/cjs/components/use-image/use-image.d.ts.map +1 -0
- package/cjs/components/use-image/use-image.js +164 -0
- package/cjs/components/use-image/use-image.type.d.ts +63 -0
- package/cjs/components/use-image/use-image.type.d.ts.map +1 -0
- package/cjs/components/use-image/use-image.type.js +5 -0
- package/cjs/components/use-input/index.d.ts +9 -0
- package/cjs/components/use-input/index.d.ts.map +1 -0
- package/cjs/components/use-input/index.js +40 -0
- package/cjs/components/use-input/use-input-format.d.ts +11 -0
- package/cjs/components/use-input/use-input-format.d.ts.map +1 -0
- package/cjs/components/use-input/use-input-format.js +136 -0
- package/cjs/components/use-input/use-input-format.type.d.ts +32 -0
- package/cjs/components/use-input/use-input-format.type.d.ts.map +1 -0
- package/cjs/components/use-input/use-input-format.type.js +5 -0
- package/cjs/components/use-input/use-input-number.d.ts +13 -0
- package/cjs/components/use-input/use-input-number.d.ts.map +1 -0
- package/cjs/components/use-input/use-input-number.js +129 -0
- package/cjs/components/use-input/use-input-number.type.d.ts +12 -0
- package/cjs/components/use-input/use-input-number.type.d.ts.map +1 -0
- package/cjs/components/use-input/use-input-number.type.js +5 -0
- package/cjs/components/use-input/use-input-password.d.ts +16 -0
- package/cjs/components/use-input/use-input-password.d.ts.map +1 -0
- package/cjs/components/use-input/use-input-password.js +64 -0
- package/cjs/components/use-input/use-input-password.type.d.ts +11 -0
- package/cjs/components/use-input/use-input-password.type.d.ts.map +1 -0
- package/cjs/components/use-input/use-input-password.type.js +5 -0
- package/cjs/components/use-input/use-input.d.ts +12 -0
- package/cjs/components/use-input/use-input.d.ts.map +1 -0
- package/cjs/components/use-input/use-input.js +157 -0
- package/cjs/components/use-input/use-input.type.d.ts +42 -0
- package/cjs/components/use-input/use-input.type.d.ts.map +1 -0
- package/cjs/components/use-input/use-input.type.js +5 -0
- package/cjs/components/use-menu/index.d.ts +4 -0
- package/cjs/components/use-menu/index.d.ts.map +1 -0
- package/cjs/components/use-menu/index.js +20 -0
- package/cjs/components/use-menu/use-menu-item.d.ts +16 -0
- package/cjs/components/use-menu/use-menu-item.d.ts.map +1 -0
- package/cjs/components/use-menu/use-menu-item.js +155 -0
- package/cjs/components/use-menu/use-menu.d.ts +11 -0
- package/cjs/components/use-menu/use-menu.d.ts.map +1 -0
- package/cjs/components/use-menu/use-menu.js +94 -0
- package/cjs/components/use-menu/use-menu.type.d.ts +31 -0
- package/cjs/components/use-menu/use-menu.type.d.ts.map +1 -0
- package/cjs/components/use-menu/use-menu.type.js +5 -0
- package/cjs/components/use-pagination/index.d.ts +3 -0
- package/cjs/components/use-pagination/index.d.ts.map +1 -0
- package/cjs/components/use-pagination/index.js +19 -0
- package/cjs/components/use-pagination/use-pagination.d.ts +16 -0
- package/cjs/components/use-pagination/use-pagination.d.ts.map +1 -0
- package/cjs/components/use-pagination/use-pagination.js +60 -0
- package/cjs/components/use-pagination/use-pagination.type.d.ts +9 -0
- package/cjs/components/use-pagination/use-pagination.type.d.ts.map +1 -0
- package/cjs/components/use-pagination/use-pagination.type.js +5 -0
- package/cjs/components/use-popup/index.d.ts +3 -0
- package/cjs/components/use-popup/index.d.ts.map +1 -0
- package/cjs/components/use-popup/index.js +19 -0
- package/cjs/components/use-popup/popup-context.d.ts +7 -0
- package/cjs/components/use-popup/popup-context.d.ts.map +1 -0
- package/cjs/components/use-popup/popup-context.js +14 -0
- package/cjs/components/use-popup/use-popup.d.ts +51 -0
- package/cjs/components/use-popup/use-popup.d.ts.map +1 -0
- package/cjs/components/use-popup/use-popup.js +197 -0
- package/cjs/components/use-popup/use-popup.type.d.ts +35 -0
- package/cjs/components/use-popup/use-popup.type.d.ts.map +1 -0
- package/cjs/components/use-popup/use-popup.type.js +5 -0
- package/cjs/components/use-select/index.d.ts +3 -0
- package/cjs/components/use-select/index.d.ts.map +1 -0
- package/cjs/components/use-select/index.js +19 -0
- package/cjs/components/use-select/use-select.d.ts +52 -0
- package/cjs/components/use-select/use-select.d.ts.map +1 -0
- package/cjs/components/use-select/use-select.js +47 -0
- package/cjs/components/use-select/use-select.type.d.ts +14 -0
- package/cjs/components/use-select/use-select.type.d.ts.map +1 -0
- package/cjs/components/use-select/use-select.type.js +5 -0
- package/cjs/components/use-slider/index.d.ts +3 -0
- package/cjs/components/use-slider/index.d.ts.map +1 -0
- package/cjs/components/use-slider/index.js +19 -0
- package/cjs/components/use-slider/use-slider.d.ts +28 -0
- package/cjs/components/use-slider/use-slider.d.ts.map +1 -0
- package/cjs/components/use-slider/use-slider.js +177 -0
- package/cjs/components/use-slider/use-slider.type.d.ts +10 -0
- package/cjs/components/use-slider/use-slider.type.d.ts.map +1 -0
- package/cjs/components/use-slider/use-slider.type.js +5 -0
- package/cjs/components/use-table/index.d.ts +10 -0
- package/cjs/components/use-table/index.d.ts.map +1 -0
- package/cjs/components/use-table/index.js +68 -0
- package/cjs/components/use-table/use-table-columns.d.ts +18 -0
- package/cjs/components/use-table/use-table-columns.d.ts.map +1 -0
- package/cjs/components/use-table/use-table-columns.js +89 -0
- package/cjs/components/use-table/use-table-expand.d.ts +10 -0
- package/cjs/components/use-table/use-table-expand.d.ts.map +1 -0
- package/cjs/components/use-table/use-table-expand.js +74 -0
- package/cjs/components/use-table/use-table-group.d.ts +11 -0
- package/cjs/components/use-table/use-table-group.d.ts.map +1 -0
- package/cjs/components/use-table/use-table-group.js +73 -0
- package/cjs/components/use-table/use-table-layout.d.ts +29 -0
- package/cjs/components/use-table/use-table-layout.d.ts.map +1 -0
- package/cjs/components/use-table/use-table-layout.js +300 -0
- package/cjs/components/use-table/use-table-row.d.ts +32 -0
- package/cjs/components/use-table/use-table-row.d.ts.map +1 -0
- package/cjs/components/use-table/use-table-row.js +117 -0
- package/cjs/components/use-table/use-table-sort.d.ts +20 -0
- package/cjs/components/use-table/use-table-sort.d.ts.map +1 -0
- package/cjs/components/use-table/use-table-sort.js +169 -0
- package/cjs/components/use-table/use-table-tree.d.ts +18 -0
- package/cjs/components/use-table/use-table-tree.d.ts.map +1 -0
- package/cjs/components/use-table/use-table-tree.js +115 -0
- package/cjs/components/use-table/use-table-virtual.d.ts +28 -0
- package/cjs/components/use-table/use-table-virtual.d.ts.map +1 -0
- package/cjs/components/use-table/use-table-virtual.js +195 -0
- package/cjs/components/use-table/use-table.type.d.ts +270 -0
- package/cjs/components/use-table/use-table.type.d.ts.map +1 -0
- package/cjs/components/use-table/use-table.type.js +5 -0
- package/cjs/components/use-tabs/context.d.ts +6 -0
- package/cjs/components/use-tabs/context.d.ts.map +1 -0
- package/cjs/components/use-tabs/context.js +29 -0
- package/cjs/components/use-tabs/context.type.d.ts +17 -0
- package/cjs/components/use-tabs/context.type.d.ts.map +1 -0
- package/cjs/components/use-tabs/context.type.js +5 -0
- package/cjs/components/use-tabs/index.d.ts +5 -0
- package/cjs/components/use-tabs/index.d.ts.map +1 -0
- package/cjs/components/use-tabs/index.js +26 -0
- package/cjs/components/use-tabs/use-tabs.d.ts +9 -0
- package/cjs/components/use-tabs/use-tabs.d.ts.map +1 -0
- package/cjs/components/use-tabs/use-tabs.js +37 -0
- package/cjs/components/use-tabs/use-tabs.type.d.ts +7 -0
- package/cjs/components/use-tabs/use-tabs.type.d.ts.map +1 -0
- package/cjs/components/use-tabs/use-tabs.type.js +5 -0
- package/cjs/components/use-textarea/index.d.ts +4 -0
- package/cjs/components/use-textarea/index.d.ts.map +1 -0
- package/cjs/components/use-textarea/index.js +26 -0
- package/cjs/components/use-textarea/use-textarea-format.d.ts +9 -0
- package/cjs/components/use-textarea/use-textarea-format.d.ts.map +1 -0
- package/cjs/components/use-textarea/use-textarea-format.js +42 -0
- package/cjs/components/use-textarea/use-textarea-format.type.d.ts +16 -0
- package/cjs/components/use-textarea/use-textarea-format.type.d.ts.map +1 -0
- package/cjs/components/use-textarea/use-textarea-format.type.js +5 -0
- package/cjs/components/use-textarea/use-textarea.d.ts +10 -0
- package/cjs/components/use-textarea/use-textarea.d.ts.map +1 -0
- package/cjs/components/use-textarea/use-textarea.js +105 -0
- package/cjs/components/use-textarea/use-textarea.type.d.ts +30 -0
- package/cjs/components/use-textarea/use-textarea.type.d.ts.map +1 -0
- package/cjs/components/use-textarea/use-textarea.type.js +5 -0
- package/cjs/components/use-transfer/index.d.ts +3 -0
- package/cjs/components/use-transfer/index.d.ts.map +1 -0
- package/cjs/components/use-transfer/index.js +19 -0
- package/cjs/components/use-transfer/use-transfer.d.ts +94 -0
- package/cjs/components/use-transfer/use-transfer.d.ts.map +1 -0
- package/cjs/components/use-transfer/use-transfer.js +162 -0
- package/cjs/components/use-transfer/use-transfer.type.d.ts +31 -0
- package/cjs/components/use-transfer/use-transfer.type.d.ts.map +1 -0
- package/cjs/components/use-transfer/use-transfer.type.js +5 -0
- package/cjs/components/use-tree/index.d.ts +6 -0
- package/cjs/components/use-tree/index.d.ts.map +1 -0
- package/cjs/components/use-tree/index.js +33 -0
- package/cjs/components/use-tree/use-placement.d.ts +6 -0
- package/cjs/components/use-tree/use-placement.d.ts.map +1 -0
- package/cjs/components/use-tree/use-placement.js +25 -0
- package/cjs/components/use-tree/use-placement.type.d.ts +4 -0
- package/cjs/components/use-tree/use-placement.type.d.ts.map +1 -0
- package/cjs/components/use-tree/use-placement.type.js +5 -0
- package/cjs/components/use-tree/use-tree-node.d.ts +13 -0
- package/cjs/components/use-tree/use-tree-node.d.ts.map +1 -0
- package/cjs/components/use-tree/use-tree-node.js +78 -0
- package/cjs/components/use-tree/use-tree-node.type.d.ts +26 -0
- package/cjs/components/use-tree/use-tree-node.type.d.ts.map +1 -0
- package/cjs/components/use-tree/use-tree-node.type.js +5 -0
- package/cjs/components/use-tree/use-tree.d.ts +44 -0
- package/cjs/components/use-tree/use-tree.d.ts.map +1 -0
- package/cjs/components/use-tree/use-tree.js +360 -0
- package/cjs/components/use-tree/use-tree.type.d.ts +36 -0
- package/cjs/components/use-tree/use-tree.type.d.ts.map +1 -0
- package/cjs/components/use-tree/use-tree.type.js +5 -0
- package/cjs/components/use-upload/index.d.ts +3 -0
- package/cjs/components/use-upload/index.d.ts.map +1 -0
- package/cjs/components/use-upload/index.js +19 -0
- package/cjs/components/use-upload/use-upload.d.ts +15 -0
- package/cjs/components/use-upload/use-upload.d.ts.map +1 -0
- package/cjs/components/use-upload/use-upload.js +492 -0
- package/cjs/components/use-upload/use-upload.type.d.ts +257 -0
- package/cjs/components/use-upload/use-upload.type.d.ts.map +1 -0
- package/cjs/components/use-upload/use-upload.type.js +5 -0
- package/cjs/components/use-upload/xhr.d.ts +3 -0
- package/cjs/components/use-upload/xhr.d.ts.map +1 -0
- package/cjs/components/use-upload/xhr.js +63 -0
- package/cjs/components/use-validate/index.d.ts +3 -0
- package/cjs/components/use-validate/index.d.ts.map +1 -0
- package/cjs/components/use-validate/index.js +19 -0
- package/cjs/components/use-validate/use-validate.d.ts +7 -0
- package/cjs/components/use-validate/use-validate.d.ts.map +1 -0
- package/cjs/components/use-validate/use-validate.js +45 -0
- package/cjs/components/use-validate/use-validate.type.d.ts +8 -0
- package/cjs/components/use-validate/use-validate.type.d.ts.map +1 -0
- package/cjs/components/use-validate/use-validate.type.js +5 -0
- package/cjs/index.d.ts +44 -0
- package/cjs/index.d.ts.map +1 -0
- package/cjs/index.js +490 -0
- package/cjs/utils/accept.d.ts +4 -0
- package/cjs/utils/accept.d.ts.map +1 -0
- package/cjs/utils/accept.js +30 -0
- package/cjs/utils/array.d.ts +2 -0
- package/cjs/utils/array.d.ts.map +1 -0
- package/cjs/utils/array.js +13 -0
- package/cjs/utils/attribute.d.ts +3 -0
- package/cjs/utils/attribute.d.ts.map +1 -0
- package/cjs/utils/attribute.js +18 -0
- package/cjs/utils/clone.d.ts +4 -0
- package/cjs/utils/clone.d.ts.map +1 -0
- package/cjs/utils/clone.js +69 -0
- package/cjs/utils/document.d.ts +10 -0
- package/cjs/utils/document.d.ts.map +1 -0
- package/cjs/utils/document.js +39 -0
- package/cjs/utils/dom/element.d.ts +16 -0
- package/cjs/utils/dom/element.d.ts.map +1 -0
- package/cjs/utils/dom/element.js +132 -0
- package/cjs/utils/dom/index.d.ts +5 -0
- package/cjs/utils/dom/index.d.ts.map +1 -0
- package/cjs/utils/dom/index.js +47 -0
- package/cjs/utils/dom/normalize-wheel.d.ts +8 -0
- package/cjs/utils/dom/normalize-wheel.d.ts.map +1 -0
- package/cjs/utils/dom/normalize-wheel.js +65 -0
- package/cjs/utils/dom/normalize-wheel.type.d.ts +8 -0
- package/cjs/utils/dom/normalize-wheel.type.d.ts.map +1 -0
- package/cjs/utils/dom/normalize-wheel.type.js +5 -0
- package/cjs/utils/dom/ready.d.ts +2 -0
- package/cjs/utils/dom/ready.d.ts.map +1 -0
- package/cjs/utils/dom/ready.js +12 -0
- package/cjs/utils/dom/scroll-behavior.d.ts +2 -0
- package/cjs/utils/dom/scroll-behavior.d.ts.map +1 -0
- package/cjs/utils/dom/scroll-behavior.js +30 -0
- package/cjs/utils/extract-event-handlers.d.ts +10 -0
- package/cjs/utils/extract-event-handlers.d.ts.map +1 -0
- package/cjs/utils/extract-event-handlers.js +32 -0
- package/cjs/utils/func.d.ts +3 -0
- package/cjs/utils/func.d.ts.map +1 -0
- package/cjs/utils/func.js +43 -0
- package/cjs/utils/index.d.ts +21 -0
- package/cjs/utils/index.d.ts.map +1 -0
- package/cjs/utils/index.js +245 -0
- package/cjs/utils/is.d.ts +25 -0
- package/cjs/utils/is.d.ts.map +1 -0
- package/cjs/utils/is.js +123 -0
- package/cjs/utils/lazyload.d.ts +13 -0
- package/cjs/utils/lazyload.d.ts.map +1 -0
- package/cjs/utils/lazyload.js +112 -0
- package/cjs/utils/number.d.ts +7 -0
- package/cjs/utils/number.d.ts.map +1 -0
- package/cjs/utils/number.js +80 -0
- package/cjs/utils/object.d.ts +26 -0
- package/cjs/utils/object.d.ts.map +1 -0
- package/cjs/utils/object.js +290 -0
- package/cjs/utils/position.d.ts +2 -0
- package/cjs/utils/position.d.ts.map +1 -0
- package/cjs/utils/position.js +79 -0
- package/cjs/utils/react-render.d.ts +10 -0
- package/cjs/utils/react-render.d.ts.map +1 -0
- package/cjs/utils/react-render.js +85 -0
- package/cjs/utils/render.d.ts +6 -0
- package/cjs/utils/render.d.ts.map +1 -0
- package/cjs/utils/render.js +31 -0
- package/cjs/utils/rule/index.d.ts +3 -0
- package/cjs/utils/rule/index.d.ts.map +1 -0
- package/cjs/utils/rule/index.js +19 -0
- package/cjs/utils/rule/length.d.ts +11 -0
- package/cjs/utils/rule/length.d.ts.map +1 -0
- package/cjs/utils/rule/length.js +54 -0
- package/cjs/utils/rule/regexp.d.ts +6 -0
- package/cjs/utils/rule/regexp.d.ts.map +1 -0
- package/cjs/utils/rule/regexp.js +34 -0
- package/cjs/utils/rule/required.d.ts +8 -0
- package/cjs/utils/rule/required.d.ts.map +1 -0
- package/cjs/utils/rule/required.js +30 -0
- package/cjs/utils/rule/rule.d.ts +16 -0
- package/cjs/utils/rule/rule.d.ts.map +1 -0
- package/cjs/utils/rule/rule.js +84 -0
- package/cjs/utils/rule/rule.type.d.ts +135 -0
- package/cjs/utils/rule/rule.type.d.ts.map +1 -0
- package/cjs/utils/rule/rule.type.js +5 -0
- package/cjs/utils/rule/type.d.ts +9 -0
- package/cjs/utils/rule/type.d.ts.map +1 -0
- package/cjs/utils/rule/type.js +31 -0
- package/cjs/utils/shallow-equal.d.ts +8 -0
- package/cjs/utils/shallow-equal.d.ts.map +1 -0
- package/cjs/utils/shallow-equal.js +82 -0
- package/cjs/utils/string.d.ts +14 -0
- package/cjs/utils/string.d.ts.map +1 -0
- package/cjs/utils/string.js +54 -0
- package/cjs/utils/style-unit.d.ts +5 -0
- package/cjs/utils/style-unit.d.ts.map +1 -0
- package/cjs/utils/style-unit.js +31 -0
- package/cjs/utils/uid.d.ts +3 -0
- package/cjs/utils/uid.d.ts.map +1 -0
- package/cjs/utils/uid.js +40 -0
- package/cjs/utils/validate/error.d.ts +7 -0
- package/cjs/utils/validate/error.d.ts.map +1 -0
- package/cjs/utils/validate/error.js +47 -0
- package/cjs/utils/validate/get-rule.d.ts +4 -0
- package/cjs/utils/validate/get-rule.d.ts.map +1 -0
- package/cjs/utils/validate/get-rule.js +116 -0
- package/cjs/utils/validate/index.d.ts +6 -0
- package/cjs/utils/validate/index.d.ts.map +1 -0
- package/cjs/utils/validate/index.js +73 -0
- package/cjs/utils/validate/isJson.d.ts +2 -0
- package/cjs/utils/validate/isJson.d.ts.map +1 -0
- package/cjs/utils/validate/isJson.js +47 -0
- package/cjs/utils/validate/nullable.d.ts +4 -0
- package/cjs/utils/validate/nullable.d.ts.map +1 -0
- package/cjs/utils/validate/nullable.js +18 -0
- package/cjs/utils/validate/type.d.ts +16 -0
- package/cjs/utils/validate/type.d.ts.map +1 -0
- package/cjs/utils/validate/type.js +98 -0
- package/esm/common/type.d.ts +22 -0
- package/esm/common/type.d.ts.map +1 -0
- package/esm/common/type.js +5 -0
- package/esm/common/use-click-away/index.d.ts +10 -0
- package/esm/common/use-click-away/index.d.ts.map +1 -0
- package/esm/common/use-click-away/index.js +50 -0
- package/esm/common/use-default-value/index.d.ts +3 -0
- package/esm/common/use-default-value/index.d.ts.map +1 -0
- package/esm/common/use-default-value/index.js +26 -0
- package/esm/common/use-default-value/use-default-value.d.ts +7 -0
- package/esm/common/use-default-value/use-default-value.d.ts.map +1 -0
- package/esm/common/use-default-value/use-default-value.js +35 -0
- package/esm/common/use-default-value/use-previous.d.ts +3 -0
- package/esm/common/use-default-value/use-previous.d.ts.map +1 -0
- package/esm/common/use-default-value/use-previous.js +14 -0
- package/esm/common/use-drag-mock/index.d.ts +12 -0
- package/esm/common/use-drag-mock/index.d.ts.map +1 -0
- package/esm/common/use-drag-mock/index.js +62 -0
- package/esm/common/use-fork-ref/index.d.ts +5 -0
- package/esm/common/use-fork-ref/index.d.ts.map +1 -0
- package/esm/common/use-fork-ref/index.js +43 -0
- package/esm/common/use-fork-ref/setRef.d.ts +16 -0
- package/esm/common/use-fork-ref/setRef.d.ts.map +1 -0
- package/esm/common/use-fork-ref/setRef.js +26 -0
- package/esm/common/use-func-change/index.d.ts +2 -0
- package/esm/common/use-func-change/index.d.ts.map +1 -0
- package/esm/common/use-func-change/index.js +19 -0
- package/esm/common/use-func-change/use-func-change.d.ts +10 -0
- package/esm/common/use-func-change/use-func-change.d.ts.map +1 -0
- package/esm/common/use-func-change/use-func-change.js +30 -0
- package/esm/common/use-input-able/index.d.ts +2 -0
- package/esm/common/use-input-able/index.d.ts.map +1 -0
- package/esm/common/use-input-able/index.js +19 -0
- package/esm/common/use-input-able/use-Input-able.d.ts +7 -0
- package/esm/common/use-input-able/use-Input-able.d.ts.map +1 -0
- package/esm/common/use-input-able/use-Input-able.js +90 -0
- package/esm/common/use-input-able/use-Input-able.type.d.ts +10 -0
- package/esm/common/use-input-able/use-Input-able.type.d.ts.map +1 -0
- package/esm/common/use-input-able/use-Input-able.type.js +5 -0
- package/esm/common/use-key-event/index.d.ts +10 -0
- package/esm/common/use-key-event/index.d.ts.map +1 -0
- package/esm/common/use-key-event/index.js +31 -0
- package/esm/common/use-latest-obj/index.d.ts +5 -0
- package/esm/common/use-latest-obj/index.d.ts.map +1 -0
- package/esm/common/use-latest-obj/index.js +19 -0
- package/esm/common/use-list-select/index.d.ts +5 -0
- package/esm/common/use-list-select/index.d.ts.map +1 -0
- package/esm/common/use-list-select/index.js +33 -0
- package/esm/common/use-list-select/use-list-select-multiple.d.ts +29 -0
- package/esm/common/use-list-select/use-list-select-multiple.d.ts.map +1 -0
- package/esm/common/use-list-select/use-list-select-multiple.js +283 -0
- package/esm/common/use-list-select/use-list-select-single.d.ts +24 -0
- package/esm/common/use-list-select/use-list-select-single.d.ts.map +1 -0
- package/esm/common/use-list-select/use-list-select-single.js +46 -0
- package/esm/common/use-list-select/use-list-select.d.ts +49 -0
- package/esm/common/use-list-select/use-list-select.d.ts.map +1 -0
- package/esm/common/use-list-select/use-list-select.js +58 -0
- package/esm/common/use-list-select/use-list.type.d.ts +26 -0
- package/esm/common/use-list-select/use-list.type.d.ts.map +1 -0
- package/esm/common/use-list-select/use-list.type.js +5 -0
- package/esm/common/use-pagination-list/index.d.ts +27 -0
- package/esm/common/use-pagination-list/index.d.ts.map +1 -0
- package/esm/common/use-pagination-list/index.js +62 -0
- package/esm/common/use-persist-fn/index.d.ts +9 -0
- package/esm/common/use-persist-fn/index.d.ts.map +1 -0
- package/esm/common/use-persist-fn/index.js +27 -0
- package/esm/common/use-position-style/get-position-style.d.ts +6 -0
- package/esm/common/use-position-style/get-position-style.d.ts.map +1 -0
- package/esm/common/use-position-style/get-position-style.js +54 -0
- package/esm/common/use-position-style/index.d.ts +21 -0
- package/esm/common/use-position-style/index.d.ts.map +1 -0
- package/esm/common/use-position-style/index.js +244 -0
- package/esm/common/use-previous/index.d.ts +3 -0
- package/esm/common/use-previous/index.d.ts.map +1 -0
- package/esm/common/use-previous/index.js +19 -0
- package/esm/common/use-render/index.d.ts +3 -0
- package/esm/common/use-render/index.d.ts.map +1 -0
- package/esm/common/use-render/index.js +28 -0
- package/esm/common/use-resize/index.d.ts +13 -0
- package/esm/common/use-resize/index.d.ts.map +1 -0
- package/esm/common/use-resize/index.js +53 -0
- package/esm/common/use-safe-state/index.d.ts +5 -0
- package/esm/common/use-safe-state/index.d.ts.map +1 -0
- package/esm/common/use-safe-state/index.js +27 -0
- package/esm/common/use-style/index.d.ts +5 -0
- package/esm/common/use-style/index.d.ts.map +1 -0
- package/esm/common/use-style/index.js +31 -0
- package/esm/common/use-toggle/index.d.ts +9 -0
- package/esm/common/use-toggle/index.d.ts.map +1 -0
- package/esm/common/use-toggle/index.js +45 -0
- package/esm/common/use-transform/index.d.ts +2 -0
- package/esm/common/use-transform/index.d.ts.map +1 -0
- package/esm/common/use-transform/index.js +19 -0
- package/esm/common/use-transform/use-transform.d.ts +21 -0
- package/esm/common/use-transform/use-transform.d.ts.map +1 -0
- package/esm/common/use-transform/use-transform.js +141 -0
- package/esm/common/use-transform/use-transform.type.d.ts +19 -0
- package/esm/common/use-transform/use-transform.type.d.ts.map +1 -0
- package/esm/common/use-transform/use-transform.type.js +5 -0
- package/esm/common/use-unmounted-ref/index.d.ts +4 -0
- package/esm/common/use-unmounted-ref/index.d.ts.map +1 -0
- package/esm/common/use-unmounted-ref/index.js +20 -0
- package/esm/components/use-button/index.d.ts +3 -0
- package/esm/components/use-button/index.d.ts.map +1 -0
- package/esm/components/use-button/index.js +19 -0
- package/esm/components/use-button/use-button-group.type.d.ts +8 -0
- package/esm/components/use-button/use-button-group.type.d.ts.map +1 -0
- package/esm/components/use-button/use-button-group.type.js +5 -0
- package/esm/components/use-button/use-button.d.ts +38 -0
- package/esm/components/use-button/use-button.d.ts.map +1 -0
- package/esm/components/use-button/use-button.js +85 -0
- package/esm/components/use-button/use-button.type.d.ts +35 -0
- package/esm/components/use-button/use-button.type.d.ts.map +1 -0
- package/esm/components/use-button/use-button.type.js +5 -0
- package/esm/components/use-carousel/index.d.ts +2 -0
- package/esm/components/use-carousel/index.d.ts.map +1 -0
- package/esm/components/use-carousel/index.js +19 -0
- package/esm/components/use-carousel/use-carousel.d.ts +27 -0
- package/esm/components/use-carousel/use-carousel.d.ts.map +1 -0
- package/esm/components/use-carousel/use-carousel.js +102 -0
- package/esm/components/use-check/index.d.ts +3 -0
- package/esm/components/use-check/index.d.ts.map +1 -0
- package/esm/components/use-check/index.js +19 -0
- package/esm/components/use-check/use-check.d.ts +32 -0
- package/esm/components/use-check/use-check.d.ts.map +1 -0
- package/esm/components/use-check/use-check.js +103 -0
- package/esm/components/use-check/use-check.type.d.ts +10 -0
- package/esm/components/use-check/use-check.type.d.ts.map +1 -0
- package/esm/components/use-check/use-check.type.js +5 -0
- package/esm/components/use-datepicker/index.d.ts +10 -0
- package/esm/components/use-datepicker/index.d.ts.map +1 -0
- package/esm/components/use-datepicker/index.js +62 -0
- package/esm/components/use-datepicker/use-date.d.ts +25 -0
- package/esm/components/use-datepicker/use-date.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-date.js +181 -0
- package/esm/components/use-datepicker/use-date.type.d.ts +19 -0
- package/esm/components/use-datepicker/use-date.type.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-date.type.js +5 -0
- package/esm/components/use-datepicker/use-datepicker-format.d.ts +29 -0
- package/esm/components/use-datepicker/use-datepicker-format.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-datepicker-format.js +301 -0
- package/esm/components/use-datepicker/use-datepicker-format.type.d.ts +27 -0
- package/esm/components/use-datepicker/use-datepicker-format.type.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-datepicker-format.type.js +5 -0
- package/esm/components/use-datepicker/use-datepicker-range.d.ts +22 -0
- package/esm/components/use-datepicker/use-datepicker-range.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-datepicker-range.js +207 -0
- package/esm/components/use-datepicker/use-datepicker-range.type.d.ts +25 -0
- package/esm/components/use-datepicker/use-datepicker-range.type.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-datepicker-range.type.js +5 -0
- package/esm/components/use-datepicker/use-month.d.ts +18 -0
- package/esm/components/use-datepicker/use-month.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-month.js +121 -0
- package/esm/components/use-datepicker/use-month.type.d.ts +16 -0
- package/esm/components/use-datepicker/use-month.type.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-month.type.js +5 -0
- package/esm/components/use-datepicker/use-quarter.d.ts +18 -0
- package/esm/components/use-datepicker/use-quarter.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-quarter.js +121 -0
- package/esm/components/use-datepicker/use-quarter.type.d.ts +16 -0
- package/esm/components/use-datepicker/use-quarter.type.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-quarter.type.js +5 -0
- package/esm/components/use-datepicker/use-time.d.ts +18 -0
- package/esm/components/use-datepicker/use-time.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-time.js +169 -0
- package/esm/components/use-datepicker/use-time.type.d.ts +17 -0
- package/esm/components/use-datepicker/use-time.type.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-time.type.js +5 -0
- package/esm/components/use-datepicker/use-year.d.ts +20 -0
- package/esm/components/use-datepicker/use-year.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-year.js +122 -0
- package/esm/components/use-datepicker/use-year.type.d.ts +16 -0
- package/esm/components/use-datepicker/use-year.type.d.ts.map +1 -0
- package/esm/components/use-datepicker/use-year.type.js +5 -0
- package/esm/components/use-datepicker/util.d.ts +82 -0
- package/esm/components/use-datepicker/util.d.ts.map +1 -0
- package/esm/components/use-datepicker/util.js +405 -0
- package/esm/components/use-form/Provider.d.ts +4 -0
- package/esm/components/use-form/Provider.d.ts.map +1 -0
- package/esm/components/use-form/Provider.js +34 -0
- package/esm/components/use-form/form-bind-context.d.ts +5 -0
- package/esm/components/use-form/form-bind-context.d.ts.map +1 -0
- package/esm/components/use-form/form-bind-context.js +19 -0
- package/esm/components/use-form/form-config-context.d.ts +5 -0
- package/esm/components/use-form/form-config-context.d.ts.map +1 -0
- package/esm/components/use-form/form-config-context.js +19 -0
- package/esm/components/use-form/form-func-context.d.ts +5 -0
- package/esm/components/use-form/form-func-context.d.ts.map +1 -0
- package/esm/components/use-form/form-func-context.js +19 -0
- package/esm/components/use-form/index.d.ts +9 -0
- package/esm/components/use-form/index.d.ts.map +1 -0
- package/esm/components/use-form/index.js +87 -0
- package/esm/components/use-form/use-form-control/index.d.ts +3 -0
- package/esm/components/use-form/use-form-control/index.d.ts.map +1 -0
- package/esm/components/use-form/use-form-control/index.js +19 -0
- package/esm/components/use-form/use-form-control/use-form-control.d.ts +9 -0
- package/esm/components/use-form/use-form-control/use-form-control.d.ts.map +1 -0
- package/esm/components/use-form/use-form-control/use-form-control.js +196 -0
- package/esm/components/use-form/use-form-control/use-form-control.type.d.ts +36 -0
- package/esm/components/use-form/use-form-control/use-form-control.type.d.ts.map +1 -0
- package/esm/components/use-form/use-form-control/use-form-control.type.js +5 -0
- package/esm/components/use-form/use-form-fieldset/fieldset-context.d.ts +14 -0
- package/esm/components/use-form/use-form-fieldset/fieldset-context.d.ts.map +1 -0
- package/esm/components/use-form/use-form-fieldset/fieldset-context.js +47 -0
- package/esm/components/use-form/use-form-fieldset/index.d.ts +4 -0
- package/esm/components/use-form/use-form-fieldset/index.d.ts.map +1 -0
- package/esm/components/use-form/use-form-fieldset/index.js +26 -0
- package/esm/components/use-form/use-form-fieldset/use-form-fieldset.d.ts +15 -0
- package/esm/components/use-form/use-form-fieldset/use-form-fieldset.d.ts.map +1 -0
- package/esm/components/use-form/use-form-fieldset/use-form-fieldset.js +52 -0
- package/esm/components/use-form/use-form-fieldset/use-form-fieldset.type.d.ts +5 -0
- package/esm/components/use-form/use-form-fieldset/use-form-fieldset.type.d.ts.map +1 -0
- package/esm/components/use-form/use-form-fieldset/use-form-fieldset.type.js +5 -0
- package/esm/components/use-form/use-form-flow/index.d.ts +5 -0
- package/esm/components/use-form/use-form-flow/index.d.ts.map +1 -0
- package/esm/components/use-form/use-form-flow/index.js +26 -0
- package/esm/components/use-form/use-form-flow/use-form-datum.d.ts +9 -0
- package/esm/components/use-form/use-form-flow/use-form-datum.d.ts.map +1 -0
- package/esm/components/use-form/use-form-flow/use-form-datum.js +18 -0
- package/esm/components/use-form/use-form-flow/use-form-flow.d.ts +4 -0
- package/esm/components/use-form/use-form-flow/use-form-flow.d.ts.map +1 -0
- package/esm/components/use-form/use-form-flow/use-form-flow.js +30 -0
- package/esm/components/use-form/use-form-flow/use-form-flow.type.d.ts +4 -0
- package/esm/components/use-form/use-form-flow/use-form-flow.type.d.ts.map +1 -0
- package/esm/components/use-form/use-form-flow/use-form-flow.type.js +5 -0
- package/esm/components/use-form/use-form-item/form-item-context.d.ts +6 -0
- package/esm/components/use-form/use-form-item/form-item-context.d.ts.map +1 -0
- package/esm/components/use-form/use-form-item/form-item-context.js +17 -0
- package/esm/components/use-form/use-form-item/index.d.ts +2 -0
- package/esm/components/use-form/use-form-item/index.d.ts.map +1 -0
- package/esm/components/use-form/use-form-item/index.js +19 -0
- package/esm/components/use-form/use-form-item/use-form-item.d.ts +12 -0
- package/esm/components/use-form/use-form-item/use-form-item.d.ts.map +1 -0
- package/esm/components/use-form/use-form-item/use-form-item.js +62 -0
- package/esm/components/use-form/use-form.d.ts +41 -0
- package/esm/components/use-form/use-form.d.ts.map +1 -0
- package/esm/components/use-form/use-form.js +427 -0
- package/esm/components/use-form/use-form.type.d.ts +168 -0
- package/esm/components/use-form/use-form.type.d.ts.map +1 -0
- package/esm/components/use-form/use-form.type.js +5 -0
- package/esm/components/use-image/index.d.ts +9 -0
- package/esm/components/use-image/index.d.ts.map +1 -0
- package/esm/components/use-image/index.js +40 -0
- package/esm/components/use-image/use-image-gallery.d.ts +25 -0
- package/esm/components/use-image/use-image-gallery.d.ts.map +1 -0
- package/esm/components/use-image/use-image-gallery.js +168 -0
- package/esm/components/use-image/use-image-gallery.type.d.ts +9 -0
- package/esm/components/use-image/use-image-gallery.type.d.ts.map +1 -0
- package/esm/components/use-image/use-image-gallery.type.js +5 -0
- package/esm/components/use-image/use-image-group.d.ts +27 -0
- package/esm/components/use-image/use-image-group.d.ts.map +1 -0
- package/esm/components/use-image/use-image-group.js +107 -0
- package/esm/components/use-image/use-image-group.type.d.ts +13 -0
- package/esm/components/use-image/use-image-group.type.d.ts.map +1 -0
- package/esm/components/use-image/use-image-group.type.js +5 -0
- package/esm/components/use-image/use-image-magnify.d.ts +17 -0
- package/esm/components/use-image/use-image-magnify.d.ts.map +1 -0
- package/esm/components/use-image/use-image-magnify.js +104 -0
- package/esm/components/use-image/use-image-magnify.type.d.ts +9 -0
- package/esm/components/use-image/use-image-magnify.type.d.ts.map +1 -0
- package/esm/components/use-image/use-image-magnify.type.js +5 -0
- package/esm/components/use-image/use-image.d.ts +27 -0
- package/esm/components/use-image/use-image.d.ts.map +1 -0
- package/esm/components/use-image/use-image.js +164 -0
- package/esm/components/use-image/use-image.type.d.ts +63 -0
- package/esm/components/use-image/use-image.type.d.ts.map +1 -0
- package/esm/components/use-image/use-image.type.js +5 -0
- package/esm/components/use-input/index.d.ts +9 -0
- package/esm/components/use-input/index.d.ts.map +1 -0
- package/esm/components/use-input/index.js +40 -0
- package/esm/components/use-input/use-input-format.d.ts +11 -0
- package/esm/components/use-input/use-input-format.d.ts.map +1 -0
- package/esm/components/use-input/use-input-format.js +136 -0
- package/esm/components/use-input/use-input-format.type.d.ts +32 -0
- package/esm/components/use-input/use-input-format.type.d.ts.map +1 -0
- package/esm/components/use-input/use-input-format.type.js +5 -0
- package/esm/components/use-input/use-input-number.d.ts +13 -0
- package/esm/components/use-input/use-input-number.d.ts.map +1 -0
- package/esm/components/use-input/use-input-number.js +129 -0
- package/esm/components/use-input/use-input-number.type.d.ts +12 -0
- package/esm/components/use-input/use-input-number.type.d.ts.map +1 -0
- package/esm/components/use-input/use-input-number.type.js +5 -0
- package/esm/components/use-input/use-input-password.d.ts +16 -0
- package/esm/components/use-input/use-input-password.d.ts.map +1 -0
- package/esm/components/use-input/use-input-password.js +64 -0
- package/esm/components/use-input/use-input-password.type.d.ts +11 -0
- package/esm/components/use-input/use-input-password.type.d.ts.map +1 -0
- package/esm/components/use-input/use-input-password.type.js +5 -0
- package/esm/components/use-input/use-input.d.ts +12 -0
- package/esm/components/use-input/use-input.d.ts.map +1 -0
- package/esm/components/use-input/use-input.js +157 -0
- package/esm/components/use-input/use-input.type.d.ts +42 -0
- package/esm/components/use-input/use-input.type.d.ts.map +1 -0
- package/esm/components/use-input/use-input.type.js +5 -0
- package/esm/components/use-menu/index.d.ts +4 -0
- package/esm/components/use-menu/index.d.ts.map +1 -0
- package/esm/components/use-menu/index.js +20 -0
- package/esm/components/use-menu/use-menu-item.d.ts +16 -0
- package/esm/components/use-menu/use-menu-item.d.ts.map +1 -0
- package/esm/components/use-menu/use-menu-item.js +155 -0
- package/esm/components/use-menu/use-menu.d.ts +11 -0
- package/esm/components/use-menu/use-menu.d.ts.map +1 -0
- package/esm/components/use-menu/use-menu.js +94 -0
- package/esm/components/use-menu/use-menu.type.d.ts +31 -0
- package/esm/components/use-menu/use-menu.type.d.ts.map +1 -0
- package/esm/components/use-menu/use-menu.type.js +5 -0
- package/esm/components/use-pagination/index.d.ts +3 -0
- package/esm/components/use-pagination/index.d.ts.map +1 -0
- package/esm/components/use-pagination/index.js +19 -0
- package/esm/components/use-pagination/use-pagination.d.ts +16 -0
- package/esm/components/use-pagination/use-pagination.d.ts.map +1 -0
- package/esm/components/use-pagination/use-pagination.js +60 -0
- package/esm/components/use-pagination/use-pagination.type.d.ts +9 -0
- package/esm/components/use-pagination/use-pagination.type.d.ts.map +1 -0
- package/esm/components/use-pagination/use-pagination.type.js +5 -0
- package/esm/components/use-popup/index.d.ts +3 -0
- package/esm/components/use-popup/index.d.ts.map +1 -0
- package/esm/components/use-popup/index.js +19 -0
- package/esm/components/use-popup/popup-context.d.ts +7 -0
- package/esm/components/use-popup/popup-context.d.ts.map +1 -0
- package/esm/components/use-popup/popup-context.js +14 -0
- package/esm/components/use-popup/use-popup.d.ts +51 -0
- package/esm/components/use-popup/use-popup.d.ts.map +1 -0
- package/esm/components/use-popup/use-popup.js +197 -0
- package/esm/components/use-popup/use-popup.type.d.ts +35 -0
- package/esm/components/use-popup/use-popup.type.d.ts.map +1 -0
- package/esm/components/use-popup/use-popup.type.js +5 -0
- package/esm/components/use-select/index.d.ts +3 -0
- package/esm/components/use-select/index.d.ts.map +1 -0
- package/esm/components/use-select/index.js +19 -0
- package/esm/components/use-select/use-select.d.ts +52 -0
- package/esm/components/use-select/use-select.d.ts.map +1 -0
- package/esm/components/use-select/use-select.js +47 -0
- package/esm/components/use-select/use-select.type.d.ts +14 -0
- package/esm/components/use-select/use-select.type.d.ts.map +1 -0
- package/esm/components/use-select/use-select.type.js +5 -0
- package/esm/components/use-slider/index.d.ts +3 -0
- package/esm/components/use-slider/index.d.ts.map +1 -0
- package/esm/components/use-slider/index.js +19 -0
- package/esm/components/use-slider/use-slider.d.ts +28 -0
- package/esm/components/use-slider/use-slider.d.ts.map +1 -0
- package/esm/components/use-slider/use-slider.js +177 -0
- package/esm/components/use-slider/use-slider.type.d.ts +10 -0
- package/esm/components/use-slider/use-slider.type.d.ts.map +1 -0
- package/esm/components/use-slider/use-slider.type.js +5 -0
- package/esm/components/use-table/index.d.ts +10 -0
- package/esm/components/use-table/index.d.ts.map +1 -0
- package/esm/components/use-table/index.js +68 -0
- package/esm/components/use-table/use-table-columns.d.ts +18 -0
- package/esm/components/use-table/use-table-columns.d.ts.map +1 -0
- package/esm/components/use-table/use-table-columns.js +89 -0
- package/esm/components/use-table/use-table-expand.d.ts +10 -0
- package/esm/components/use-table/use-table-expand.d.ts.map +1 -0
- package/esm/components/use-table/use-table-expand.js +74 -0
- package/esm/components/use-table/use-table-group.d.ts +11 -0
- package/esm/components/use-table/use-table-group.d.ts.map +1 -0
- package/esm/components/use-table/use-table-group.js +73 -0
- package/esm/components/use-table/use-table-layout.d.ts +29 -0
- package/esm/components/use-table/use-table-layout.d.ts.map +1 -0
- package/esm/components/use-table/use-table-layout.js +300 -0
- package/esm/components/use-table/use-table-row.d.ts +32 -0
- package/esm/components/use-table/use-table-row.d.ts.map +1 -0
- package/esm/components/use-table/use-table-row.js +117 -0
- package/esm/components/use-table/use-table-sort.d.ts +20 -0
- package/esm/components/use-table/use-table-sort.d.ts.map +1 -0
- package/esm/components/use-table/use-table-sort.js +169 -0
- package/esm/components/use-table/use-table-tree.d.ts +18 -0
- package/esm/components/use-table/use-table-tree.d.ts.map +1 -0
- package/esm/components/use-table/use-table-tree.js +115 -0
- package/esm/components/use-table/use-table-virtual.d.ts +28 -0
- package/esm/components/use-table/use-table-virtual.d.ts.map +1 -0
- package/esm/components/use-table/use-table-virtual.js +195 -0
- package/esm/components/use-table/use-table.type.d.ts +270 -0
- package/esm/components/use-table/use-table.type.d.ts.map +1 -0
- package/esm/components/use-table/use-table.type.js +5 -0
- package/esm/components/use-tabs/context.d.ts +6 -0
- package/esm/components/use-tabs/context.d.ts.map +1 -0
- package/esm/components/use-tabs/context.js +29 -0
- package/esm/components/use-tabs/context.type.d.ts +17 -0
- package/esm/components/use-tabs/context.type.d.ts.map +1 -0
- package/esm/components/use-tabs/context.type.js +5 -0
- package/esm/components/use-tabs/index.d.ts +5 -0
- package/esm/components/use-tabs/index.d.ts.map +1 -0
- package/esm/components/use-tabs/index.js +26 -0
- package/esm/components/use-tabs/use-tabs.d.ts +9 -0
- package/esm/components/use-tabs/use-tabs.d.ts.map +1 -0
- package/esm/components/use-tabs/use-tabs.js +37 -0
- package/esm/components/use-tabs/use-tabs.type.d.ts +7 -0
- package/esm/components/use-tabs/use-tabs.type.d.ts.map +1 -0
- package/esm/components/use-tabs/use-tabs.type.js +5 -0
- package/esm/components/use-textarea/index.d.ts +4 -0
- package/esm/components/use-textarea/index.d.ts.map +1 -0
- package/esm/components/use-textarea/index.js +26 -0
- package/esm/components/use-textarea/use-textarea-format.d.ts +9 -0
- package/esm/components/use-textarea/use-textarea-format.d.ts.map +1 -0
- package/esm/components/use-textarea/use-textarea-format.js +42 -0
- package/esm/components/use-textarea/use-textarea-format.type.d.ts +16 -0
- package/esm/components/use-textarea/use-textarea-format.type.d.ts.map +1 -0
- package/esm/components/use-textarea/use-textarea-format.type.js +5 -0
- package/esm/components/use-textarea/use-textarea.d.ts +10 -0
- package/esm/components/use-textarea/use-textarea.d.ts.map +1 -0
- package/esm/components/use-textarea/use-textarea.js +105 -0
- package/esm/components/use-textarea/use-textarea.type.d.ts +30 -0
- package/esm/components/use-textarea/use-textarea.type.d.ts.map +1 -0
- package/esm/components/use-textarea/use-textarea.type.js +5 -0
- package/esm/components/use-transfer/index.d.ts +3 -0
- package/esm/components/use-transfer/index.d.ts.map +1 -0
- package/esm/components/use-transfer/index.js +19 -0
- package/esm/components/use-transfer/use-transfer.d.ts +94 -0
- package/esm/components/use-transfer/use-transfer.d.ts.map +1 -0
- package/esm/components/use-transfer/use-transfer.js +162 -0
- package/esm/components/use-transfer/use-transfer.type.d.ts +31 -0
- package/esm/components/use-transfer/use-transfer.type.d.ts.map +1 -0
- package/esm/components/use-transfer/use-transfer.type.js +5 -0
- package/esm/components/use-tree/index.d.ts +6 -0
- package/esm/components/use-tree/index.d.ts.map +1 -0
- package/esm/components/use-tree/index.js +33 -0
- package/esm/components/use-tree/use-placement.d.ts +6 -0
- package/esm/components/use-tree/use-placement.d.ts.map +1 -0
- package/esm/components/use-tree/use-placement.js +25 -0
- package/esm/components/use-tree/use-placement.type.d.ts +4 -0
- package/esm/components/use-tree/use-placement.type.d.ts.map +1 -0
- package/esm/components/use-tree/use-placement.type.js +5 -0
- package/esm/components/use-tree/use-tree-node.d.ts +13 -0
- package/esm/components/use-tree/use-tree-node.d.ts.map +1 -0
- package/esm/components/use-tree/use-tree-node.js +78 -0
- package/esm/components/use-tree/use-tree-node.type.d.ts +26 -0
- package/esm/components/use-tree/use-tree-node.type.d.ts.map +1 -0
- package/esm/components/use-tree/use-tree-node.type.js +5 -0
- package/esm/components/use-tree/use-tree.d.ts +44 -0
- package/esm/components/use-tree/use-tree.d.ts.map +1 -0
- package/esm/components/use-tree/use-tree.js +360 -0
- package/esm/components/use-tree/use-tree.type.d.ts +36 -0
- package/esm/components/use-tree/use-tree.type.d.ts.map +1 -0
- package/esm/components/use-tree/use-tree.type.js +5 -0
- package/esm/components/use-upload/index.d.ts +3 -0
- package/esm/components/use-upload/index.d.ts.map +1 -0
- package/esm/components/use-upload/index.js +19 -0
- package/esm/components/use-upload/use-upload.d.ts +15 -0
- package/esm/components/use-upload/use-upload.d.ts.map +1 -0
- package/esm/components/use-upload/use-upload.js +492 -0
- package/esm/components/use-upload/use-upload.type.d.ts +257 -0
- package/esm/components/use-upload/use-upload.type.d.ts.map +1 -0
- package/esm/components/use-upload/use-upload.type.js +5 -0
- package/esm/components/use-upload/xhr.d.ts +3 -0
- package/esm/components/use-upload/xhr.d.ts.map +1 -0
- package/esm/components/use-upload/xhr.js +63 -0
- package/esm/components/use-validate/index.d.ts +3 -0
- package/esm/components/use-validate/index.d.ts.map +1 -0
- package/esm/components/use-validate/index.js +19 -0
- package/esm/components/use-validate/use-validate.d.ts +7 -0
- package/esm/components/use-validate/use-validate.d.ts.map +1 -0
- package/esm/components/use-validate/use-validate.js +45 -0
- package/esm/components/use-validate/use-validate.type.d.ts +8 -0
- package/esm/components/use-validate/use-validate.type.d.ts.map +1 -0
- package/esm/components/use-validate/use-validate.type.js +5 -0
- package/esm/index.d.ts +44 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +490 -0
- package/esm/utils/accept.d.ts +4 -0
- package/esm/utils/accept.d.ts.map +1 -0
- package/esm/utils/accept.js +30 -0
- package/esm/utils/array.d.ts +2 -0
- package/esm/utils/array.d.ts.map +1 -0
- package/esm/utils/array.js +13 -0
- package/esm/utils/attribute.d.ts +3 -0
- package/esm/utils/attribute.d.ts.map +1 -0
- package/esm/utils/attribute.js +18 -0
- package/esm/utils/clone.d.ts +4 -0
- package/esm/utils/clone.d.ts.map +1 -0
- package/esm/utils/clone.js +69 -0
- package/esm/utils/document.d.ts +10 -0
- package/esm/utils/document.d.ts.map +1 -0
- package/esm/utils/document.js +39 -0
- package/esm/utils/dom/element.d.ts +16 -0
- package/esm/utils/dom/element.d.ts.map +1 -0
- package/esm/utils/dom/element.js +132 -0
- package/esm/utils/dom/index.d.ts +5 -0
- package/esm/utils/dom/index.d.ts.map +1 -0
- package/esm/utils/dom/index.js +47 -0
- package/esm/utils/dom/normalize-wheel.d.ts +8 -0
- package/esm/utils/dom/normalize-wheel.d.ts.map +1 -0
- package/esm/utils/dom/normalize-wheel.js +65 -0
- package/esm/utils/dom/normalize-wheel.type.d.ts +8 -0
- package/esm/utils/dom/normalize-wheel.type.d.ts.map +1 -0
- package/esm/utils/dom/normalize-wheel.type.js +5 -0
- package/esm/utils/dom/ready.d.ts +2 -0
- package/esm/utils/dom/ready.d.ts.map +1 -0
- package/esm/utils/dom/ready.js +12 -0
- package/esm/utils/dom/scroll-behavior.d.ts +2 -0
- package/esm/utils/dom/scroll-behavior.d.ts.map +1 -0
- package/esm/utils/dom/scroll-behavior.js +30 -0
- package/esm/utils/extract-event-handlers.d.ts +10 -0
- package/esm/utils/extract-event-handlers.d.ts.map +1 -0
- package/esm/utils/extract-event-handlers.js +32 -0
- package/esm/utils/func.d.ts +3 -0
- package/esm/utils/func.d.ts.map +1 -0
- package/esm/utils/func.js +43 -0
- package/esm/utils/index.d.ts +21 -0
- package/esm/utils/index.d.ts.map +1 -0
- package/esm/utils/index.js +245 -0
- package/esm/utils/is.d.ts +25 -0
- package/esm/utils/is.d.ts.map +1 -0
- package/esm/utils/is.js +123 -0
- package/esm/utils/lazyload.d.ts +13 -0
- package/esm/utils/lazyload.d.ts.map +1 -0
- package/esm/utils/lazyload.js +112 -0
- package/esm/utils/number.d.ts +7 -0
- package/esm/utils/number.d.ts.map +1 -0
- package/esm/utils/number.js +80 -0
- package/esm/utils/object.d.ts +26 -0
- package/esm/utils/object.d.ts.map +1 -0
- package/esm/utils/object.js +290 -0
- package/esm/utils/position.d.ts +2 -0
- package/esm/utils/position.d.ts.map +1 -0
- package/esm/utils/position.js +79 -0
- package/esm/utils/react-render.d.ts +10 -0
- package/esm/utils/react-render.d.ts.map +1 -0
- package/esm/utils/react-render.js +85 -0
- package/esm/utils/render.d.ts +6 -0
- package/esm/utils/render.d.ts.map +1 -0
- package/esm/utils/render.js +31 -0
- package/esm/utils/rule/index.d.ts +3 -0
- package/esm/utils/rule/index.d.ts.map +1 -0
- package/esm/utils/rule/index.js +19 -0
- package/esm/utils/rule/length.d.ts +11 -0
- package/esm/utils/rule/length.d.ts.map +1 -0
- package/esm/utils/rule/length.js +54 -0
- package/esm/utils/rule/regexp.d.ts +6 -0
- package/esm/utils/rule/regexp.d.ts.map +1 -0
- package/esm/utils/rule/regexp.js +34 -0
- package/esm/utils/rule/required.d.ts +8 -0
- package/esm/utils/rule/required.d.ts.map +1 -0
- package/esm/utils/rule/required.js +30 -0
- package/esm/utils/rule/rule.d.ts +16 -0
- package/esm/utils/rule/rule.d.ts.map +1 -0
- package/esm/utils/rule/rule.js +84 -0
- package/esm/utils/rule/rule.type.d.ts +135 -0
- package/esm/utils/rule/rule.type.d.ts.map +1 -0
- package/esm/utils/rule/rule.type.js +5 -0
- package/esm/utils/rule/type.d.ts +9 -0
- package/esm/utils/rule/type.d.ts.map +1 -0
- package/esm/utils/rule/type.js +31 -0
- package/esm/utils/shallow-equal.d.ts +8 -0
- package/esm/utils/shallow-equal.d.ts.map +1 -0
- package/esm/utils/shallow-equal.js +82 -0
- package/esm/utils/string.d.ts +14 -0
- package/esm/utils/string.d.ts.map +1 -0
- package/esm/utils/string.js +54 -0
- package/esm/utils/style-unit.d.ts +5 -0
- package/esm/utils/style-unit.d.ts.map +1 -0
- package/esm/utils/style-unit.js +31 -0
- package/esm/utils/uid.d.ts +3 -0
- package/esm/utils/uid.d.ts.map +1 -0
- package/esm/utils/uid.js +40 -0
- package/esm/utils/validate/error.d.ts +7 -0
- package/esm/utils/validate/error.d.ts.map +1 -0
- package/esm/utils/validate/error.js +47 -0
- package/esm/utils/validate/get-rule.d.ts +4 -0
- package/esm/utils/validate/get-rule.d.ts.map +1 -0
- package/esm/utils/validate/get-rule.js +116 -0
- package/esm/utils/validate/index.d.ts +6 -0
- package/esm/utils/validate/index.d.ts.map +1 -0
- package/esm/utils/validate/index.js +73 -0
- package/esm/utils/validate/isJson.d.ts +2 -0
- package/esm/utils/validate/isJson.d.ts.map +1 -0
- package/esm/utils/validate/isJson.js +47 -0
- package/esm/utils/validate/nullable.d.ts +4 -0
- package/esm/utils/validate/nullable.d.ts.map +1 -0
- package/esm/utils/validate/nullable.js +18 -0
- package/esm/utils/validate/type.d.ts +16 -0
- package/esm/utils/validate/type.d.ts.map +1 -0
- package/esm/utils/validate/type.js +98 -0
- 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 @@
|
|
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 @@
|
|
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,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 @@
|
|
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
|