@sheinx/hooks 3.0.0-rc.2 → 3.0.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/common/type.d.ts +15 -15
- package/cjs/common/type.d.ts.map +1 -1
- package/cjs/common/use-click-away/index.d.ts +2 -2
- package/cjs/common/use-click-away/index.d.ts.map +1 -1
- package/cjs/common/use-click-away/index.js +2 -3
- package/cjs/common/use-default-value/index.js +2 -2
- package/cjs/common/use-default-value/use-default-value.js +9 -5
- package/cjs/common/use-drag-mock/index.js +2 -2
- package/cjs/common/use-drag-mock/use-drag-mock.js +11 -8
- package/cjs/common/use-drag-mock/use-drag-move.js +15 -11
- package/cjs/common/use-drag-mock/use-drag-resize.js +9 -5
- package/cjs/common/use-filter/index.js +2 -2
- package/cjs/common/use-filter/use-filter.js +17 -13
- package/cjs/common/use-fork-ref/index.js +5 -10
- package/cjs/common/use-func-change/index.js +2 -2
- package/cjs/common/use-func-change/use-func-change.d.ts +1 -1
- package/cjs/common/use-func-change/use-func-change.js +2 -3
- package/cjs/common/use-input-able/index.js +2 -2
- package/cjs/common/use-input-able/use-Input-able.js +8 -4
- package/cjs/common/use-input-able/use-Input-able.type.d.ts +1 -1
- package/cjs/common/use-input-able/use-Input-able.type.d.ts.map +1 -1
- package/cjs/common/use-key-event/index.js +6 -8
- package/cjs/common/use-latest-obj/index.js +1 -3
- package/cjs/common/use-list-select/index.js +2 -2
- package/cjs/common/use-list-select/use-list-select-multiple.js +20 -29
- package/cjs/common/use-list-select/use-list-select-single.js +9 -11
- package/cjs/common/use-list-select/use-list-select.js +10 -12
- package/cjs/common/use-pagination-list/index.js +17 -15
- package/cjs/common/use-persist-fn/index.js +1 -2
- package/cjs/common/use-position-style/get-position-style.js +10 -7
- package/cjs/common/use-position-style/index.d.ts +3 -3
- package/cjs/common/use-position-style/index.d.ts.map +1 -1
- package/cjs/common/use-position-style/index.js +16 -22
- package/cjs/common/use-previous/index.js +1 -2
- package/cjs/common/use-render/index.js +8 -5
- package/cjs/common/use-resize/index.js +11 -9
- package/cjs/common/use-safe-state/index.js +8 -5
- package/cjs/common/use-style/index.js +0 -2
- package/cjs/common/use-toggle/index.d.ts +1 -1
- package/cjs/common/use-toggle/index.d.ts.map +1 -1
- package/cjs/common/use-toggle/index.js +7 -3
- package/cjs/common/use-transform/index.js +2 -2
- package/cjs/common/use-transform/use-transform.js +13 -11
- package/cjs/common/use-unmounted-ref/index.js +1 -2
- package/cjs/components/use-button/index.js +2 -2
- package/cjs/components/use-button/use-button.d.ts +3 -3
- package/cjs/components/use-button/use-button.js +12 -13
- package/cjs/components/use-button/use-button.type.d.ts +3 -3
- package/cjs/components/use-button/use-button.type.d.ts.map +1 -1
- package/cjs/components/use-carousel/index.js +2 -2
- package/cjs/components/use-carousel/use-carousel.d.ts +1 -1
- package/cjs/components/use-carousel/use-carousel.d.ts.map +1 -1
- package/cjs/components/use-carousel/use-carousel.js +9 -5
- package/cjs/components/use-cascader/index.js +2 -2
- package/cjs/components/use-cascader/use-cascader.js +2 -3
- package/cjs/components/use-check/index.js +2 -2
- package/cjs/components/use-check/use-check.d.ts +3 -3
- package/cjs/components/use-check/use-check.js +24 -17
- package/cjs/components/use-collapse/index.js +2 -2
- package/cjs/components/use-collapse/use-collapse-item.d.ts +4 -4
- package/cjs/components/use-collapse/use-collapse-item.js +7 -10
- package/cjs/components/use-collapse/use-collapse-item.type.d.ts +1 -1
- package/cjs/components/use-collapse/use-collapse-item.type.d.ts.map +1 -1
- package/cjs/components/use-collapse/use-collapse.js +14 -13
- package/cjs/components/use-datepicker/index.js +2 -2
- package/cjs/components/use-datepicker/use-date.js +13 -11
- package/cjs/components/use-datepicker/use-datepicker-format.js +26 -21
- package/cjs/components/use-datepicker/use-datepicker-format.type.d.ts +4 -4
- package/cjs/components/use-datepicker/use-datepicker-format.type.d.ts.map +1 -1
- package/cjs/components/use-datepicker/use-datepicker-range.js +10 -7
- package/cjs/components/use-datepicker/use-datepicker-range.type.d.ts +1 -1
- package/cjs/components/use-datepicker/use-datepicker-range.type.d.ts.map +1 -1
- package/cjs/components/use-datepicker/use-month.js +13 -11
- package/cjs/components/use-datepicker/use-quarter.js +13 -12
- package/cjs/components/use-datepicker/use-time.js +3 -8
- package/cjs/components/use-datepicker/use-year.js +13 -11
- package/cjs/components/use-datepicker/util.d.ts +3 -3
- package/cjs/components/use-datepicker/util.d.ts.map +1 -1
- package/cjs/components/use-datepicker/util.js +13 -20
- package/cjs/components/use-descriptions/index.js +2 -2
- package/cjs/components/use-descriptions/use-descriptions.js +14 -11
- package/cjs/components/use-form/Provider.js +6 -10
- package/cjs/components/use-form/form-bind-context.js +6 -11
- package/cjs/components/use-form/form-config-context.js +6 -11
- package/cjs/components/use-form/form-func-context.js +6 -11
- package/cjs/components/use-form/index.js +2 -3
- package/cjs/components/use-form/use-form-control/index.js +2 -2
- package/cjs/components/use-form/use-form-control/use-form-control.js +23 -23
- package/cjs/components/use-form/use-form-fieldset/fieldset-context.js +10 -19
- package/cjs/components/use-form/use-form-fieldset/index.js +2 -2
- package/cjs/components/use-form/use-form-fieldset/use-form-fieldset.js +3 -5
- package/cjs/components/use-form/use-form-flow/index.js +2 -2
- package/cjs/components/use-form/use-form-flow/use-form-datum.js +1 -2
- package/cjs/components/use-form/use-form-flow/use-form-flow.js +2 -3
- package/cjs/components/use-form/use-form-item/form-item-context.js +5 -9
- package/cjs/components/use-form/use-form-item/index.js +2 -2
- package/cjs/components/use-form/use-form-item/use-form-item.js +12 -13
- package/cjs/components/use-form/use-form.d.ts +2 -2
- package/cjs/components/use-form/use-form.js +28 -37
- package/cjs/components/use-form/use-form.type.d.ts +4 -4
- package/cjs/components/use-form/use-form.type.d.ts.map +1 -1
- package/cjs/components/use-image/index.js +2 -2
- package/cjs/components/use-image/use-image-gallery.d.ts +4 -4
- package/cjs/components/use-image/use-image-gallery.d.ts.map +1 -1
- package/cjs/components/use-image/use-image-gallery.js +18 -15
- package/cjs/components/use-image/use-image-gallery.type.d.ts +1 -1
- package/cjs/components/use-image/use-image-gallery.type.d.ts.map +1 -1
- package/cjs/components/use-image/use-image-group.d.ts +2 -2
- package/cjs/components/use-image/use-image-group.d.ts.map +1 -1
- package/cjs/components/use-image/use-image-group.js +9 -12
- package/cjs/components/use-image/use-image-magnify.js +13 -13
- package/cjs/components/use-image/use-image.d.ts +3 -3
- package/cjs/components/use-image/use-image.d.ts.map +1 -1
- package/cjs/components/use-image/use-image.js +17 -23
- package/cjs/components/use-image/use-image.type.d.ts +4 -4
- package/cjs/components/use-image/use-image.type.d.ts.map +1 -1
- package/cjs/components/use-input/index.js +2 -2
- package/cjs/components/use-input/use-input-format.d.ts +1 -1
- package/cjs/components/use-input/use-input-format.js +13 -15
- package/cjs/components/use-input/use-input-format.type.d.ts +1 -1
- package/cjs/components/use-input/use-input-format.type.d.ts.map +1 -1
- package/cjs/components/use-input/use-input-number.d.ts +1 -1
- package/cjs/components/use-input/use-input-number.js +15 -16
- package/cjs/components/use-input/use-input-number.type.d.ts +1 -1
- package/cjs/components/use-input/use-input-number.type.d.ts.map +1 -1
- package/cjs/components/use-input/use-input-password.js +11 -9
- package/cjs/components/use-input/use-input-password.type.d.ts +1 -1
- package/cjs/components/use-input/use-input-password.type.d.ts.map +1 -1
- package/cjs/components/use-input/use-input.d.ts +3 -3
- package/cjs/components/use-input/use-input.js +30 -29
- package/cjs/components/use-input/use-input.type.d.ts +5 -5
- package/cjs/components/use-input/use-input.type.d.ts.map +1 -1
- package/cjs/components/use-menu/index.js +2 -2
- package/cjs/components/use-menu/use-menu-item.d.ts +1 -1
- package/cjs/components/use-menu/use-menu-item.d.ts.map +1 -1
- package/cjs/components/use-menu/use-menu-item.js +11 -12
- package/cjs/components/use-menu/use-menu.js +2 -8
- package/cjs/components/use-menu/use-menu.type.d.ts +1 -1
- package/cjs/components/use-menu/use-menu.type.d.ts.map +1 -1
- package/cjs/components/use-pagination/index.js +2 -2
- package/cjs/components/use-pagination/use-pagination.d.ts +1 -1
- package/cjs/components/use-pagination/use-pagination.js +16 -13
- package/cjs/components/use-popup/index.js +2 -2
- package/cjs/components/use-popup/popup-context.js +1 -2
- package/cjs/components/use-popup/use-popup.js +14 -11
- package/cjs/components/use-popup/use-popup.type.d.ts +1 -1
- package/cjs/components/use-popup/use-popup.type.d.ts.map +1 -1
- package/cjs/components/use-select/index.js +2 -2
- package/cjs/components/use-select/use-select-group.js +13 -10
- package/cjs/components/use-select/use-select.js +1 -2
- package/cjs/components/use-select/use-select.type.d.ts +1 -1
- package/cjs/components/use-select/use-select.type.d.ts.map +1 -1
- package/cjs/components/use-slider/index.js +2 -2
- package/cjs/components/use-slider/use-slider.js +15 -10
- package/cjs/components/use-table/index.js +2 -2
- package/cjs/components/use-table/use-table-columns.d.ts +1 -1
- package/cjs/components/use-table/use-table-columns.d.ts.map +1 -1
- package/cjs/components/use-table/use-table-columns.js +4 -8
- package/cjs/components/use-table/use-table-expand.js +19 -20
- package/cjs/components/use-table/use-table-group.js +1 -7
- package/cjs/components/use-table/use-table-layout.js +34 -34
- package/cjs/components/use-table/use-table-row.js +8 -9
- package/cjs/components/use-table/use-table-sort.d.ts +1 -1
- package/cjs/components/use-table/use-table-sort.d.ts.map +1 -1
- package/cjs/components/use-table/use-table-sort.js +21 -22
- package/cjs/components/use-table/use-table-tree.js +19 -26
- package/cjs/components/use-table/use-table-virtual.js +17 -13
- package/cjs/components/use-table/use-table.type.d.ts +4 -4
- package/cjs/components/use-table/use-table.type.d.ts.map +1 -1
- package/cjs/components/use-tabs/context.js +7 -13
- package/cjs/components/use-tabs/index.js +2 -2
- package/cjs/components/use-tabs/use-tabs.js +9 -6
- package/cjs/components/use-tabs/use-tabs.type.d.ts +1 -1
- package/cjs/components/use-tabs/use-tabs.type.d.ts.map +1 -1
- package/cjs/components/use-textarea/index.js +2 -2
- package/cjs/components/use-textarea/use-textarea-format.js +5 -7
- package/cjs/components/use-textarea/use-textarea-format.type.d.ts +1 -1
- package/cjs/components/use-textarea/use-textarea-format.type.d.ts.map +1 -1
- package/cjs/components/use-textarea/use-textarea.d.ts +2 -2
- package/cjs/components/use-textarea/use-textarea.js +23 -18
- package/cjs/components/use-textarea/use-textarea.type.d.ts +3 -3
- package/cjs/components/use-textarea/use-textarea.type.d.ts.map +1 -1
- package/cjs/components/use-transfer/index.js +2 -2
- package/cjs/components/use-transfer/use-transfer.js +20 -19
- package/cjs/components/use-transfer/use-transfer.type.d.ts +1 -1
- package/cjs/components/use-transfer/use-transfer.type.d.ts.map +1 -1
- package/cjs/components/use-tree/index.js +2 -2
- package/cjs/components/use-tree/use-tree-node.js +11 -7
- package/cjs/components/use-tree/use-tree-node.type.d.ts +2 -2
- package/cjs/components/use-tree/use-tree-node.type.d.ts.map +1 -1
- package/cjs/components/use-tree/use-tree.js +11 -16
- package/cjs/components/use-tree/use-tree.type.d.ts +3 -3
- package/cjs/components/use-tree/use-tree.type.d.ts.map +1 -1
- package/cjs/components/use-treeselect/index.js +2 -2
- package/cjs/components/use-treeselect/use-tiled.js +13 -9
- package/cjs/components/use-treeselect/use-tiled.type.d.ts +1 -1
- package/cjs/components/use-treeselect/use-tiled.type.d.ts.map +1 -1
- package/cjs/components/use-treeselect/use-treeselect.js +1 -2
- package/cjs/components/use-upload/index.js +2 -2
- package/cjs/components/use-upload/use-upload.js +36 -34
- package/cjs/components/use-upload/xhr.js +0 -1
- package/cjs/components/use-validate/index.js +2 -2
- package/cjs/components/use-validate/use-validate.js +9 -5
- package/cjs/index.js +4 -9
- package/cjs/utils/accept.d.ts +1 -1
- package/cjs/utils/accept.d.ts.map +1 -1
- package/cjs/utils/accept.js +0 -4
- package/cjs/utils/array.js +2 -4
- package/cjs/utils/attribute.js +3 -5
- package/cjs/utils/clone.js +11 -20
- package/cjs/utils/document.js +2 -4
- package/cjs/utils/dom/element.js +11 -11
- package/cjs/utils/dom/index.js +2 -3
- package/cjs/utils/dom/responsiveObserve.js +10 -15
- package/cjs/utils/dom/responsiveObserve.type.d.ts +4 -4
- package/cjs/utils/dom/responsiveObserve.type.d.ts.map +1 -1
- package/cjs/utils/dom/scroll-behavior.js +2 -3
- package/cjs/utils/extract-event-handlers.js +0 -6
- package/cjs/utils/func.js +3 -5
- package/cjs/utils/immer.d.ts +1 -8
- package/cjs/utils/immer.d.ts.map +1 -1
- package/cjs/utils/immer.js +11 -8
- package/cjs/utils/index.js +2 -3
- package/cjs/utils/is.d.ts +1 -1
- package/cjs/utils/is.d.ts.map +1 -1
- package/cjs/utils/is.js +30 -55
- package/cjs/utils/lazyload.d.ts +1 -1
- package/cjs/utils/lazyload.d.ts.map +1 -1
- package/cjs/utils/lazyload.js +0 -1
- package/cjs/utils/number.js +0 -7
- package/cjs/utils/object.d.ts +4 -4
- package/cjs/utils/object.d.ts.map +1 -1
- package/cjs/utils/object.js +18 -37
- package/cjs/utils/position.js +4 -3
- package/cjs/utils/react-render.d.ts +1 -1
- package/cjs/utils/react-render.d.ts.map +1 -1
- package/cjs/utils/react-render.js +17 -24
- package/cjs/utils/render.d.ts +1 -1
- package/cjs/utils/render.d.ts.map +1 -1
- package/cjs/utils/render.js +3 -5
- package/cjs/utils/rule/index.js +2 -2
- package/cjs/utils/rule/length.d.ts +1 -1
- package/cjs/utils/rule/length.js +9 -11
- package/cjs/utils/rule/regexp.d.ts +1 -1
- package/cjs/utils/rule/regexp.js +4 -9
- package/cjs/utils/rule/required.d.ts +1 -1
- package/cjs/utils/rule/required.js +3 -5
- package/cjs/utils/rule/rule.js +4 -9
- package/cjs/utils/rule/rule.type.d.ts +8 -8
- package/cjs/utils/rule/rule.type.d.ts.map +1 -1
- package/cjs/utils/rule/type.d.ts +1 -1
- package/cjs/utils/rule/type.js +3 -5
- package/cjs/utils/shallow-equal.js +4 -9
- package/cjs/utils/string.js +0 -7
- package/cjs/utils/style-unit.js +0 -2
- package/cjs/utils/tree.d.ts +1 -1
- package/cjs/utils/tree.d.ts.map +1 -1
- package/cjs/utils/tree.js +19 -21
- package/cjs/utils/uid.js +0 -11
- package/cjs/utils/validate/error.js +22 -18
- package/cjs/utils/validate/get-rule.js +1 -4
- package/cjs/utils/validate/index.d.ts +1 -1
- package/cjs/utils/validate/index.d.ts.map +1 -1
- package/cjs/utils/validate/index.js +13 -13
- package/cjs/utils/validate/isJson.js +2 -5
- package/cjs/utils/validate/nullable.js +2 -3
- package/cjs/utils/validate/type.d.ts +1 -1
- package/cjs/utils/validate/type.d.ts.map +1 -1
- package/cjs/utils/validate/type.js +4 -9
- package/esm/common/type.d.ts +15 -15
- package/esm/common/type.d.ts.map +1 -1
- package/esm/common/type.js +1 -5
- package/esm/common/use-click-away/index.d.ts +2 -2
- package/esm/common/use-click-away/index.d.ts.map +1 -1
- package/esm/common/use-click-away/index.js +8 -17
- package/esm/common/use-default-value/index.js +2 -26
- package/esm/common/use-default-value/use-default-value.js +16 -19
- package/esm/common/use-default-value/use-previous.js +4 -10
- package/esm/common/use-drag-mock/index.js +3 -33
- package/esm/common/use-drag-mock/use-drag-mock.js +17 -20
- package/esm/common/use-drag-mock/use-drag-move.js +25 -28
- package/esm/common/use-drag-mock/use-drag-resize.js +19 -22
- package/esm/common/use-filter/index.js +1 -19
- package/esm/common/use-filter/use-filter.js +34 -36
- package/esm/common/use-filter/use-filter.type.js +1 -5
- package/esm/common/use-fork-ref/index.js +5 -20
- package/esm/common/use-fork-ref/setRef.js +1 -7
- package/esm/common/use-func-change/index.js +1 -19
- package/esm/common/use-func-change/use-func-change.d.ts +1 -1
- package/esm/common/use-func-change/use-func-change.js +8 -16
- package/esm/common/use-input-able/index.js +1 -19
- package/esm/common/use-input-able/use-Input-able.js +25 -28
- package/esm/common/use-input-able/use-Input-able.type.d.ts +1 -1
- package/esm/common/use-input-able/use-Input-able.type.d.ts.map +1 -1
- package/esm/common/use-input-able/use-Input-able.type.js +1 -5
- package/esm/common/use-key-event/index.js +7 -15
- package/esm/common/use-latest-obj/index.js +4 -12
- package/esm/common/use-list-select/index.js +3 -33
- package/esm/common/use-list-select/use-list-select-multiple.js +35 -54
- package/esm/common/use-list-select/use-list-select-single.js +17 -26
- package/esm/common/use-list-select/use-list-select.js +16 -25
- package/esm/common/use-list-select/use-list.type.js +1 -5
- package/esm/common/use-pagination-list/index.js +22 -26
- package/esm/common/use-persist-fn/index.js +5 -11
- package/esm/common/use-position-style/get-position-style.js +10 -13
- package/esm/common/use-position-style/index.d.ts +3 -3
- package/esm/common/use-position-style/index.d.ts.map +1 -1
- package/esm/common/use-position-style/index.js +25 -41
- package/esm/common/use-previous/index.js +5 -13
- package/esm/common/use-render/index.js +15 -19
- package/esm/common/use-resize/index.js +17 -21
- package/esm/common/use-safe-state/index.js +15 -19
- package/esm/common/use-style/index.js +3 -11
- package/esm/common/use-toggle/index.d.ts +1 -1
- package/esm/common/use-toggle/index.d.ts.map +1 -1
- package/esm/common/use-toggle/index.js +12 -14
- package/esm/common/use-transform/index.js +1 -19
- package/esm/common/use-transform/use-transform.js +23 -27
- package/esm/common/use-transform/use-transform.type.js +1 -5
- package/esm/common/use-unmounted-ref/index.js +5 -13
- package/esm/components/use-button/index.js +1 -19
- package/esm/components/use-button/use-button-group.type.js +1 -5
- package/esm/components/use-button/use-button.d.ts +3 -3
- package/esm/components/use-button/use-button.js +17 -24
- package/esm/components/use-button/use-button.type.d.ts +3 -3
- package/esm/components/use-button/use-button.type.d.ts.map +1 -1
- package/esm/components/use-button/use-button.type.js +1 -5
- package/esm/components/use-carousel/index.js +1 -19
- package/esm/components/use-carousel/use-carousel.d.ts +1 -1
- package/esm/components/use-carousel/use-carousel.d.ts.map +1 -1
- package/esm/components/use-carousel/use-carousel.js +21 -24
- package/esm/components/use-cascader/index.js +1 -19
- package/esm/components/use-cascader/use-cascader.js +5 -13
- package/esm/components/use-cascader/use-cascader.type.js +1 -5
- package/esm/components/use-check/index.js +1 -19
- package/esm/components/use-check/use-check.d.ts +3 -3
- package/esm/components/use-check/use-check.js +32 -31
- package/esm/components/use-check/use-check.type.js +1 -5
- package/esm/components/use-collapse/index.js +2 -26
- package/esm/components/use-collapse/use-collapse-item.d.ts +4 -4
- package/esm/components/use-collapse/use-collapse-item.js +9 -18
- package/esm/components/use-collapse/use-collapse-item.type.d.ts +1 -1
- package/esm/components/use-collapse/use-collapse-item.type.d.ts.map +1 -1
- package/esm/components/use-collapse/use-collapse-item.type.js +1 -5
- package/esm/components/use-collapse/use-collapse.js +17 -22
- package/esm/components/use-collapse/use-collapse.type.js +1 -5
- package/esm/components/use-datepicker/index.js +8 -62
- package/esm/components/use-datepicker/use-date.js +53 -57
- package/esm/components/use-datepicker/use-date.type.js +1 -5
- package/esm/components/use-datepicker/use-datepicker-format.js +54 -56
- package/esm/components/use-datepicker/use-datepicker-format.type.d.ts +4 -4
- package/esm/components/use-datepicker/use-datepicker-format.type.d.ts.map +1 -1
- package/esm/components/use-datepicker/use-datepicker-format.type.js +1 -5
- package/esm/components/use-datepicker/use-datepicker-range.js +43 -47
- package/esm/components/use-datepicker/use-datepicker-range.type.d.ts +1 -1
- package/esm/components/use-datepicker/use-datepicker-range.type.d.ts.map +1 -1
- package/esm/components/use-datepicker/use-datepicker-range.type.js +1 -5
- package/esm/components/use-datepicker/use-month.js +37 -41
- package/esm/components/use-datepicker/use-month.type.js +1 -5
- package/esm/components/use-datepicker/use-quarter.js +36 -41
- package/esm/components/use-datepicker/use-quarter.type.js +1 -5
- package/esm/components/use-datepicker/use-time.js +23 -35
- package/esm/components/use-datepicker/use-time.type.js +1 -5
- package/esm/components/use-datepicker/use-year.js +37 -41
- package/esm/components/use-datepicker/use-year.type.js +1 -5
- package/esm/components/use-datepicker/util.d.ts +3 -3
- package/esm/components/use-datepicker/util.d.ts.map +1 -1
- package/esm/components/use-datepicker/util.js +67 -80
- package/esm/components/use-descriptions/index.js +1 -19
- package/esm/components/use-descriptions/use-descriptions.js +24 -27
- package/esm/components/use-descriptions/use-descriptions.type.js +1 -5
- package/esm/components/use-form/Provider.js +12 -26
- package/esm/components/use-form/form-bind-context.js +4 -17
- package/esm/components/use-form/form-config-context.js +4 -17
- package/esm/components/use-form/form-func-context.js +4 -17
- package/esm/components/use-form/index.js +7 -87
- package/esm/components/use-form/use-form-control/index.js +1 -19
- package/esm/components/use-form/use-form-control/use-form-control.js +57 -66
- package/esm/components/use-form/use-form-control/use-form-control.type.js +1 -5
- package/esm/components/use-form/use-form-fieldset/fieldset-context.js +13 -29
- package/esm/components/use-form/use-form-fieldset/index.js +2 -26
- package/esm/components/use-form/use-form-fieldset/use-form-fieldset.js +6 -15
- package/esm/components/use-form/use-form-fieldset/use-form-fieldset.type.js +1 -5
- package/esm/components/use-form/use-form-flow/index.js +2 -26
- package/esm/components/use-form/use-form-flow/use-form-datum.js +4 -11
- package/esm/components/use-form/use-form-flow/use-form-flow.js +9 -17
- package/esm/components/use-form/use-form-flow/use-form-flow.type.js +1 -5
- package/esm/components/use-form/use-form-item/form-item-context.js +3 -15
- package/esm/components/use-form/use-form-item/index.js +1 -19
- package/esm/components/use-form/use-form-item/use-form-item.js +21 -32
- package/esm/components/use-form/use-form.d.ts +2 -2
- package/esm/components/use-form/use-form.js +65 -83
- package/esm/components/use-form/use-form.type.d.ts +4 -4
- package/esm/components/use-form/use-form.type.d.ts.map +1 -1
- package/esm/components/use-form/use-form.type.js +1 -5
- package/esm/components/use-image/index.js +4 -40
- package/esm/components/use-image/use-image-gallery.d.ts +4 -4
- package/esm/components/use-image/use-image-gallery.d.ts.map +1 -1
- package/esm/components/use-image/use-image-gallery.js +34 -37
- package/esm/components/use-image/use-image-gallery.type.d.ts +1 -1
- package/esm/components/use-image/use-image-gallery.type.d.ts.map +1 -1
- package/esm/components/use-image/use-image-gallery.type.js +1 -5
- package/esm/components/use-image/use-image-group.d.ts +2 -2
- package/esm/components/use-image/use-image-group.d.ts.map +1 -1
- package/esm/components/use-image/use-image-group.js +15 -24
- package/esm/components/use-image/use-image-group.type.js +1 -5
- package/esm/components/use-image/use-image-magnify.js +17 -26
- package/esm/components/use-image/use-image-magnify.type.js +1 -5
- package/esm/components/use-image/use-image.d.ts +3 -3
- package/esm/components/use-image/use-image.d.ts.map +1 -1
- package/esm/components/use-image/use-image.js +28 -41
- package/esm/components/use-image/use-image.type.d.ts +4 -4
- package/esm/components/use-image/use-image.type.d.ts.map +1 -1
- package/esm/components/use-image/use-image.type.js +1 -5
- package/esm/components/use-input/index.js +4 -40
- package/esm/components/use-input/use-input-format.d.ts +1 -1
- package/esm/components/use-input/use-input-format.js +18 -27
- package/esm/components/use-input/use-input-format.type.d.ts +1 -1
- package/esm/components/use-input/use-input-format.type.d.ts.map +1 -1
- package/esm/components/use-input/use-input-format.type.js +1 -5
- package/esm/components/use-input/use-input-number.d.ts +1 -1
- package/esm/components/use-input/use-input-number.js +23 -31
- package/esm/components/use-input/use-input-number.type.d.ts +1 -1
- package/esm/components/use-input/use-input-number.type.d.ts.map +1 -1
- package/esm/components/use-input/use-input-number.type.js +1 -5
- package/esm/components/use-input/use-input-password.js +16 -21
- package/esm/components/use-input/use-input-password.type.d.ts +1 -1
- package/esm/components/use-input/use-input-password.type.d.ts.map +1 -1
- package/esm/components/use-input/use-input-password.type.js +1 -5
- package/esm/components/use-input/use-input.d.ts +3 -3
- package/esm/components/use-input/use-input.js +34 -42
- package/esm/components/use-input/use-input.type.d.ts +5 -5
- package/esm/components/use-input/use-input.type.d.ts.map +1 -1
- package/esm/components/use-input/use-input.type.js +1 -5
- package/esm/components/use-menu/index.js +2 -20
- package/esm/components/use-menu/use-menu-item.d.ts +1 -1
- package/esm/components/use-menu/use-menu-item.d.ts.map +1 -1
- package/esm/components/use-menu/use-menu-item.js +23 -31
- package/esm/components/use-menu/use-menu.js +15 -28
- package/esm/components/use-menu/use-menu.type.d.ts +1 -1
- package/esm/components/use-menu/use-menu.type.d.ts.map +1 -1
- package/esm/components/use-menu/use-menu.type.js +1 -5
- package/esm/components/use-pagination/index.js +1 -19
- package/esm/components/use-pagination/use-pagination.d.ts +1 -1
- package/esm/components/use-pagination/use-pagination.js +22 -25
- package/esm/components/use-pagination/use-pagination.type.js +1 -5
- package/esm/components/use-popup/index.js +1 -19
- package/esm/components/use-popup/popup-context.js +3 -9
- package/esm/components/use-popup/use-popup.js +35 -39
- package/esm/components/use-popup/use-popup.type.d.ts +1 -1
- package/esm/components/use-popup/use-popup.type.d.ts.map +1 -1
- package/esm/components/use-popup/use-popup.type.js +1 -5
- package/esm/components/use-select/index.js +2 -26
- package/esm/components/use-select/use-select-group.js +19 -22
- package/esm/components/use-select/use-select-group.type.js +1 -5
- package/esm/components/use-select/use-select.js +5 -12
- package/esm/components/use-select/use-select.type.d.ts +1 -1
- package/esm/components/use-select/use-select.type.d.ts.map +1 -1
- package/esm/components/use-select/use-select.type.js +1 -5
- package/esm/components/use-slider/index.js +1 -19
- package/esm/components/use-slider/use-slider.js +30 -32
- package/esm/components/use-slider/use-slider.type.js +1 -5
- package/esm/components/use-table/index.js +8 -68
- package/esm/components/use-table/use-table-columns.d.ts +1 -1
- package/esm/components/use-table/use-table-columns.d.ts.map +1 -1
- package/esm/components/use-table/use-table-columns.js +9 -20
- package/esm/components/use-table/use-table-expand.js +24 -35
- package/esm/components/use-table/use-table-group.js +5 -17
- package/esm/components/use-table/use-table-layout.js +66 -75
- package/esm/components/use-table/use-table-row.js +18 -25
- package/esm/components/use-table/use-table-sort.d.ts +1 -1
- package/esm/components/use-table/use-table-sort.d.ts.map +1 -1
- package/esm/components/use-table/use-table-sort.js +34 -41
- package/esm/components/use-table/use-table-tree.js +36 -49
- package/esm/components/use-table/use-table-virtual.js +34 -36
- package/esm/components/use-table/use-table.type.d.ts +4 -4
- package/esm/components/use-table/use-table.type.d.ts.map +1 -1
- package/esm/components/use-table/use-table.type.js +1 -5
- package/esm/components/use-tabs/context.js +7 -21
- package/esm/components/use-tabs/context.type.js +1 -5
- package/esm/components/use-tabs/index.js +2 -26
- package/esm/components/use-tabs/use-tabs.js +13 -16
- package/esm/components/use-tabs/use-tabs.type.d.ts +1 -1
- package/esm/components/use-tabs/use-tabs.type.d.ts.map +1 -1
- package/esm/components/use-tabs/use-tabs.type.js +1 -5
- package/esm/components/use-textarea/index.js +2 -26
- package/esm/components/use-textarea/use-textarea-format.js +6 -15
- package/esm/components/use-textarea/use-textarea-format.type.d.ts +1 -1
- package/esm/components/use-textarea/use-textarea-format.type.d.ts.map +1 -1
- package/esm/components/use-textarea/use-textarea-format.type.js +1 -5
- package/esm/components/use-textarea/use-textarea.d.ts +2 -2
- package/esm/components/use-textarea/use-textarea.js +31 -32
- package/esm/components/use-textarea/use-textarea.type.d.ts +3 -3
- package/esm/components/use-textarea/use-textarea.type.d.ts.map +1 -1
- package/esm/components/use-textarea/use-textarea.type.js +1 -5
- package/esm/components/use-transfer/index.js +1 -19
- package/esm/components/use-transfer/use-transfer.js +33 -38
- package/esm/components/use-transfer/use-transfer.type.d.ts +1 -1
- package/esm/components/use-transfer/use-transfer.type.d.ts.map +1 -1
- package/esm/components/use-transfer/use-transfer.type.js +1 -5
- package/esm/components/use-tree/index.js +2 -26
- package/esm/components/use-tree/use-tree-node.js +17 -20
- package/esm/components/use-tree/use-tree-node.type.d.ts +2 -2
- package/esm/components/use-tree/use-tree-node.type.d.ts.map +1 -1
- package/esm/components/use-tree/use-tree-node.type.js +1 -5
- package/esm/components/use-tree/use-tree.js +25 -37
- package/esm/components/use-tree/use-tree.type.d.ts +3 -3
- package/esm/components/use-tree/use-tree.type.d.ts.map +1 -1
- package/esm/components/use-tree/use-tree.type.js +1 -5
- package/esm/components/use-treeselect/index.js +2 -26
- package/esm/components/use-treeselect/use-tiled.js +22 -24
- package/esm/components/use-treeselect/use-tiled.type.d.ts +1 -1
- package/esm/components/use-treeselect/use-tiled.type.d.ts.map +1 -1
- package/esm/components/use-treeselect/use-tiled.type.js +1 -5
- package/esm/components/use-treeselect/use-treeselect.js +3 -10
- package/esm/components/use-treeselect/use-treeselect.type.js +1 -5
- package/esm/components/use-upload/index.js +1 -19
- package/esm/components/use-upload/use-upload.js +57 -62
- package/esm/components/use-upload/use-upload.type.js +1 -5
- package/esm/components/use-upload/xhr.js +1 -8
- package/esm/components/use-validate/index.js +1 -19
- package/esm/components/use-validate/use-validate.js +16 -19
- package/esm/components/use-validate/use-validate.type.js +1 -5
- package/esm/index.js +48 -547
- package/esm/utils/accept.d.ts +1 -1
- package/esm/utils/accept.d.ts.map +1 -1
- package/esm/utils/accept.js +1 -11
- package/esm/utils/array.js +2 -10
- package/esm/utils/attribute.js +3 -11
- package/esm/utils/clone.js +19 -34
- package/esm/utils/document.js +11 -20
- package/esm/utils/dom/element.js +23 -33
- package/esm/utils/dom/index.js +5 -69
- package/esm/utils/dom/normalize-wheel.js +1 -7
- package/esm/utils/dom/normalize-wheel.type.js +1 -5
- package/esm/utils/dom/ready.js +3 -9
- package/esm/utils/dom/responsiveObserve.js +10 -21
- package/esm/utils/dom/responsiveObserve.type.d.ts +4 -4
- package/esm/utils/dom/responsiveObserve.type.d.ts.map +1 -1
- package/esm/utils/dom/responsiveObserve.type.js +1 -5
- package/esm/utils/dom/scroll-behavior.js +2 -9
- package/esm/utils/extract-event-handlers.js +1 -13
- package/esm/utils/func.js +3 -11
- package/esm/utils/immer.d.ts +1 -8
- package/esm/utils/immer.d.ts.map +1 -1
- package/esm/utils/immer.js +12 -20
- package/esm/utils/index.js +22 -269
- package/esm/utils/is.d.ts +1 -1
- package/esm/utils/is.d.ts.map +1 -1
- package/esm/utils/is.js +33 -69
- package/esm/utils/lazyload.d.ts +1 -1
- package/esm/utils/lazyload.d.ts.map +1 -1
- package/esm/utils/lazyload.js +6 -15
- package/esm/utils/number.js +6 -24
- package/esm/utils/object.d.ts +4 -4
- package/esm/utils/object.d.ts.map +1 -1
- package/esm/utils/object.js +30 -59
- package/esm/utils/position.js +8 -13
- package/esm/utils/react-render.d.ts +1 -1
- package/esm/utils/react-render.d.ts.map +1 -1
- package/esm/utils/react-render.js +16 -31
- package/esm/utils/render.d.ts +1 -1
- package/esm/utils/render.d.ts.map +1 -1
- package/esm/utils/render.js +4 -13
- package/esm/utils/rule/index.js +1 -19
- package/esm/utils/rule/length.d.ts +1 -1
- package/esm/utils/rule/length.js +11 -19
- package/esm/utils/rule/regexp.d.ts +1 -1
- package/esm/utils/rule/regexp.js +7 -18
- package/esm/utils/rule/required.d.ts +1 -1
- package/esm/utils/rule/required.js +6 -14
- package/esm/utils/rule/rule.js +20 -33
- package/esm/utils/rule/rule.type.d.ts +8 -8
- package/esm/utils/rule/rule.type.d.ts.map +1 -1
- package/esm/utils/rule/rule.type.js +1 -5
- package/esm/utils/rule/type.d.ts +1 -1
- package/esm/utils/rule/type.js +6 -14
- package/esm/utils/shallow-equal.js +7 -21
- package/esm/utils/string.js +2 -16
- package/esm/utils/style-unit.js +3 -11
- package/esm/utils/tree.d.ts +1 -1
- package/esm/utils/tree.d.ts.map +1 -1
- package/esm/utils/tree.js +24 -32
- package/esm/utils/uid.js +2 -20
- package/esm/utils/validate/error.js +23 -26
- package/esm/utils/validate/get-rule.js +16 -26
- package/esm/utils/validate/index.d.ts +1 -1
- package/esm/utils/validate/index.d.ts.map +1 -1
- package/esm/utils/validate/index.js +20 -40
- package/esm/utils/validate/isJson.js +3 -12
- package/esm/utils/validate/nullable.js +2 -9
- package/esm/utils/validate/type.d.ts +1 -1
- package/esm/utils/validate/type.d.ts.map +1 -1
- package/esm/utils/validate/type.js +8 -19
- package/package.json +3 -2
package/esm/utils/index.js
CHANGED
@@ -1,269 +1,22 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
enumerable: true,
|
24
|
-
get: function get() {
|
25
|
-
return _is[key];
|
26
|
-
}
|
27
|
-
});
|
28
|
-
});
|
29
|
-
var _extractEventHandlers = _interopRequireDefault(require("./extract-event-handlers"));
|
30
|
-
var _clone = require("./clone");
|
31
|
-
Object.keys(_clone).forEach(function (key) {
|
32
|
-
if (key === "default" || key === "__esModule") return;
|
33
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
34
|
-
if (key in exports && exports[key] === _clone[key]) return;
|
35
|
-
Object.defineProperty(exports, key, {
|
36
|
-
enumerable: true,
|
37
|
-
get: function get() {
|
38
|
-
return _clone[key];
|
39
|
-
}
|
40
|
-
});
|
41
|
-
});
|
42
|
-
var _dom = require("./dom");
|
43
|
-
Object.keys(_dom).forEach(function (key) {
|
44
|
-
if (key === "default" || key === "__esModule") return;
|
45
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
46
|
-
if (key in exports && exports[key] === _dom[key]) return;
|
47
|
-
Object.defineProperty(exports, key, {
|
48
|
-
enumerable: true,
|
49
|
-
get: function get() {
|
50
|
-
return _dom[key];
|
51
|
-
}
|
52
|
-
});
|
53
|
-
});
|
54
|
-
var _object = require("./object");
|
55
|
-
Object.keys(_object).forEach(function (key) {
|
56
|
-
if (key === "default" || key === "__esModule") return;
|
57
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
58
|
-
if (key in exports && exports[key] === _object[key]) return;
|
59
|
-
Object.defineProperty(exports, key, {
|
60
|
-
enumerable: true,
|
61
|
-
get: function get() {
|
62
|
-
return _object[key];
|
63
|
-
}
|
64
|
-
});
|
65
|
-
});
|
66
|
-
var _string = require("./string");
|
67
|
-
Object.keys(_string).forEach(function (key) {
|
68
|
-
if (key === "default" || key === "__esModule") return;
|
69
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
70
|
-
if (key in exports && exports[key] === _string[key]) return;
|
71
|
-
Object.defineProperty(exports, key, {
|
72
|
-
enumerable: true,
|
73
|
-
get: function get() {
|
74
|
-
return _string[key];
|
75
|
-
}
|
76
|
-
});
|
77
|
-
});
|
78
|
-
var _func = require("./func");
|
79
|
-
Object.keys(_func).forEach(function (key) {
|
80
|
-
if (key === "default" || key === "__esModule") return;
|
81
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
82
|
-
if (key in exports && exports[key] === _func[key]) return;
|
83
|
-
Object.defineProperty(exports, key, {
|
84
|
-
enumerable: true,
|
85
|
-
get: function get() {
|
86
|
-
return _func[key];
|
87
|
-
}
|
88
|
-
});
|
89
|
-
});
|
90
|
-
var _validate = require("./validate");
|
91
|
-
Object.keys(_validate).forEach(function (key) {
|
92
|
-
if (key === "default" || key === "__esModule") return;
|
93
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
94
|
-
if (key in exports && exports[key] === _validate[key]) return;
|
95
|
-
Object.defineProperty(exports, key, {
|
96
|
-
enumerable: true,
|
97
|
-
get: function get() {
|
98
|
-
return _validate[key];
|
99
|
-
}
|
100
|
-
});
|
101
|
-
});
|
102
|
-
var _number = require("./number");
|
103
|
-
Object.keys(_number).forEach(function (key) {
|
104
|
-
if (key === "default" || key === "__esModule") return;
|
105
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
106
|
-
if (key in exports && exports[key] === _number[key]) return;
|
107
|
-
Object.defineProperty(exports, key, {
|
108
|
-
enumerable: true,
|
109
|
-
get: function get() {
|
110
|
-
return _number[key];
|
111
|
-
}
|
112
|
-
});
|
113
|
-
});
|
114
|
-
var _shallowEqual = require("./shallow-equal");
|
115
|
-
Object.keys(_shallowEqual).forEach(function (key) {
|
116
|
-
if (key === "default" || key === "__esModule") return;
|
117
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
118
|
-
if (key in exports && exports[key] === _shallowEqual[key]) return;
|
119
|
-
Object.defineProperty(exports, key, {
|
120
|
-
enumerable: true,
|
121
|
-
get: function get() {
|
122
|
-
return _shallowEqual[key];
|
123
|
-
}
|
124
|
-
});
|
125
|
-
});
|
126
|
-
var _uid = require("./uid");
|
127
|
-
Object.keys(_uid).forEach(function (key) {
|
128
|
-
if (key === "default" || key === "__esModule") return;
|
129
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
130
|
-
if (key in exports && exports[key] === _uid[key]) return;
|
131
|
-
Object.defineProperty(exports, key, {
|
132
|
-
enumerable: true,
|
133
|
-
get: function get() {
|
134
|
-
return _uid[key];
|
135
|
-
}
|
136
|
-
});
|
137
|
-
});
|
138
|
-
var _document = require("./document");
|
139
|
-
Object.keys(_document).forEach(function (key) {
|
140
|
-
if (key === "default" || key === "__esModule") return;
|
141
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
142
|
-
if (key in exports && exports[key] === _document[key]) return;
|
143
|
-
Object.defineProperty(exports, key, {
|
144
|
-
enumerable: true,
|
145
|
-
get: function get() {
|
146
|
-
return _document[key];
|
147
|
-
}
|
148
|
-
});
|
149
|
-
});
|
150
|
-
var _position = require("./position");
|
151
|
-
Object.keys(_position).forEach(function (key) {
|
152
|
-
if (key === "default" || key === "__esModule") return;
|
153
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
154
|
-
if (key in exports && exports[key] === _position[key]) return;
|
155
|
-
Object.defineProperty(exports, key, {
|
156
|
-
enumerable: true,
|
157
|
-
get: function get() {
|
158
|
-
return _position[key];
|
159
|
-
}
|
160
|
-
});
|
161
|
-
});
|
162
|
-
var _render = require("./render");
|
163
|
-
Object.keys(_render).forEach(function (key) {
|
164
|
-
if (key === "default" || key === "__esModule") return;
|
165
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
166
|
-
if (key in exports && exports[key] === _render[key]) return;
|
167
|
-
Object.defineProperty(exports, key, {
|
168
|
-
enumerable: true,
|
169
|
-
get: function get() {
|
170
|
-
return _render[key];
|
171
|
-
}
|
172
|
-
});
|
173
|
-
});
|
174
|
-
var _lazyload = require("./lazyload");
|
175
|
-
Object.keys(_lazyload).forEach(function (key) {
|
176
|
-
if (key === "default" || key === "__esModule") return;
|
177
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
178
|
-
if (key in exports && exports[key] === _lazyload[key]) return;
|
179
|
-
Object.defineProperty(exports, key, {
|
180
|
-
enumerable: true,
|
181
|
-
get: function get() {
|
182
|
-
return _lazyload[key];
|
183
|
-
}
|
184
|
-
});
|
185
|
-
});
|
186
|
-
var _reactRender = require("./react-render");
|
187
|
-
Object.keys(_reactRender).forEach(function (key) {
|
188
|
-
if (key === "default" || key === "__esModule") return;
|
189
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
190
|
-
if (key in exports && exports[key] === _reactRender[key]) return;
|
191
|
-
Object.defineProperty(exports, key, {
|
192
|
-
enumerable: true,
|
193
|
-
get: function get() {
|
194
|
-
return _reactRender[key];
|
195
|
-
}
|
196
|
-
});
|
197
|
-
});
|
198
|
-
var _styleUnit = require("./style-unit");
|
199
|
-
Object.keys(_styleUnit).forEach(function (key) {
|
200
|
-
if (key === "default" || key === "__esModule") return;
|
201
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
202
|
-
if (key in exports && exports[key] === _styleUnit[key]) return;
|
203
|
-
Object.defineProperty(exports, key, {
|
204
|
-
enumerable: true,
|
205
|
-
get: function get() {
|
206
|
-
return _styleUnit[key];
|
207
|
-
}
|
208
|
-
});
|
209
|
-
});
|
210
|
-
var _attribute = require("./attribute");
|
211
|
-
Object.keys(_attribute).forEach(function (key) {
|
212
|
-
if (key === "default" || key === "__esModule") return;
|
213
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
214
|
-
if (key in exports && exports[key] === _attribute[key]) return;
|
215
|
-
Object.defineProperty(exports, key, {
|
216
|
-
enumerable: true,
|
217
|
-
get: function get() {
|
218
|
-
return _attribute[key];
|
219
|
-
}
|
220
|
-
});
|
221
|
-
});
|
222
|
-
var _accept = require("./accept");
|
223
|
-
Object.keys(_accept).forEach(function (key) {
|
224
|
-
if (key === "default" || key === "__esModule") return;
|
225
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
226
|
-
if (key in exports && exports[key] === _accept[key]) return;
|
227
|
-
Object.defineProperty(exports, key, {
|
228
|
-
enumerable: true,
|
229
|
-
get: function get() {
|
230
|
-
return _accept[key];
|
231
|
-
}
|
232
|
-
});
|
233
|
-
});
|
234
|
-
var _array = require("./array");
|
235
|
-
Object.keys(_array).forEach(function (key) {
|
236
|
-
if (key === "default" || key === "__esModule") return;
|
237
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
238
|
-
if (key in exports && exports[key] === _array[key]) return;
|
239
|
-
Object.defineProperty(exports, key, {
|
240
|
-
enumerable: true,
|
241
|
-
get: function get() {
|
242
|
-
return _array[key];
|
243
|
-
}
|
244
|
-
});
|
245
|
-
});
|
246
|
-
var _tree = require("./tree");
|
247
|
-
Object.keys(_tree).forEach(function (key) {
|
248
|
-
if (key === "default" || key === "__esModule") return;
|
249
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
250
|
-
if (key in exports && exports[key] === _tree[key]) return;
|
251
|
-
Object.defineProperty(exports, key, {
|
252
|
-
enumerable: true,
|
253
|
-
get: function get() {
|
254
|
-
return _tree[key];
|
255
|
-
}
|
256
|
-
});
|
257
|
-
});
|
258
|
-
var _immer = require("./immer");
|
259
|
-
Object.keys(_immer).forEach(function (key) {
|
260
|
-
if (key === "default" || key === "__esModule") return;
|
261
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
262
|
-
if (key in exports && exports[key] === _immer[key]) return;
|
263
|
-
Object.defineProperty(exports, key, {
|
264
|
-
enumerable: true,
|
265
|
-
get: function get() {
|
266
|
-
return _immer[key];
|
267
|
-
}
|
268
|
-
});
|
269
|
-
});
|
1
|
+
export * from "./is";
|
2
|
+
export { default as extractEventHandlers } from "./extract-event-handlers";
|
3
|
+
export * from "./clone";
|
4
|
+
export * from "./dom";
|
5
|
+
export * from "./object";
|
6
|
+
export * from "./string";
|
7
|
+
export * from "./func";
|
8
|
+
export * from "./validate";
|
9
|
+
export * from "./number";
|
10
|
+
export * from "./shallow-equal";
|
11
|
+
export * from "./uid";
|
12
|
+
export * from "./document";
|
13
|
+
export * from "./position";
|
14
|
+
export * from "./render";
|
15
|
+
export * from "./lazyload";
|
16
|
+
export * from "./react-render";
|
17
|
+
export * from "./style-unit";
|
18
|
+
export * from "./attribute";
|
19
|
+
export * from "./accept";
|
20
|
+
export * from "./array";
|
21
|
+
export * from "./tree";
|
22
|
+
export * from "./immer";
|
package/esm/utils/is.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { UnMatchedData } from '../common/use-list-select/use-list.type';
|
|
3
3
|
import React from 'react';
|
4
4
|
export declare function isBrowser(): boolean;
|
5
5
|
export declare const isArray: (arg: any) => arg is any[];
|
6
|
-
export declare const isObject: (val: unknown) => val is ObjectType
|
6
|
+
export declare const isObject: (val: unknown) => val is ObjectType;
|
7
7
|
export declare const isDate: (val: unknown) => val is Date;
|
8
8
|
export declare const isBoolean: (val: unknown) => val is boolean;
|
9
9
|
export declare const isError: (val: unknown) => boolean;
|
package/esm/utils/is.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"is.d.ts","sourceRoot":"","sources":["is.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,wBAAgB,SAAS,YAExB;AASD,eAAO,MAAM,OAAO,4BAAgB,CAAC;AACrC,eAAO,MAAM,QAAQ,QAAS,OAAO,
|
1
|
+
{"version":3,"file":"is.d.ts","sourceRoot":"","sources":["is.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,wBAAgB,SAAS,YAExB;AASD,eAAO,MAAM,OAAO,4BAAgB,CAAC;AACrC,eAAO,MAAM,QAAQ,QAAS,OAAO,sBACc,CAAC;AACpD,eAAO,MAAM,MAAM,QAAS,OAAO,gBAAqC,CAAC;AACzE,eAAO,MAAM,SAAS,QAAS,OAAO,mBAA2C,CAAC;AAClF,eAAO,MAAM,OAAO,QAAS,OAAO,KAAG,OAA+B,CAAC;AACvE,eAAO,MAAM,QAAQ,MAAO,OAAO,gBAAuC,CAAC;AAC3E,eAAO,MAAM,QAAQ,QAAS,OAAO,KAAG,OAAgC,CAAC;AACzE,eAAO,MAAM,QAAQ,MAAO,OAAO,gBAAuC,CAAC;AAC3E,eAAO,MAAM,WAAW,QAAS,GAAG,qBAAwC,CAAC;AAC7E,eAAO,MAAM,KAAK,QAjBsB,OAAO,mBAiBb,CAAC;AACnC,eAAO,MAAM,KAAK,QAlBsB,OAAO,mBAkBb,CAAC;AACnC,eAAO,MAAM,QAAQ,QAAS,OAAO,KAAG,OAUvC,CAAC;AACF,eAAO,MAAM,eAAe,QAAS,OAAO,yBAE3C,CAAC;AACF,eAAO,MAAM,WAAW,QAAS,OAAO,KAAG,OAS1C,CAAC;AAEF,eAAO,MAAM,MAAM,MAAO,OAAO,kBAA2C,CAAC;AAE7E,eAAO,MAAM,SAAS,MAAO,OAAO,YACiC,CAAC;AAGtE,eAAO,MAAM,KAAK,MAAO,OAAO,KAAG,OAAkB,CAAC;AAEtD,eAAO,MAAM,OAAO,QAAS,OAAO,KAAG,OActC,CAAC;AAEF,eAAO,MAAM,MAAM,OAAQ,OAAO,6EASjC,CAAC;AAEF,eAAO,MAAM,OAAO,QAAO,OACqC,CAAC;AAEjE,eAAO,MAAM,SAAS,QAAO,OAG5B,CAAC;AAEF,wBAAgB,YAAY,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO,IAAI,WAAW,CAQjE"}
|
package/esm/utils/is.js
CHANGED
@@ -1,81 +1,53 @@
|
|
1
|
-
"
|
2
|
-
|
3
|
-
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
});
|
7
|
-
exports.isBoolean = exports.isArray = void 0;
|
8
|
-
exports.isBrowser = isBrowser;
|
9
|
-
exports.isDate = exports.isBuffer = void 0;
|
10
|
-
exports.isDomElement = isDomElement;
|
11
|
-
exports.isUndefined = exports.isUnMatchedData = exports.isString = exports.isSet = exports.isRegexp = exports.isPromise = exports.isObject = exports.isNumber = exports.isNan = exports.isMergeable = exports.isMap = exports.isMacOS = exports.isLink = exports.isFunc = exports.isFirefox = exports.isError = exports.isEmpty = void 0;
|
12
|
-
require("core-js/modules/es.regexp.constructor.js");
|
13
|
-
require("core-js/modules/es.regexp.exec.js");
|
14
|
-
require("core-js/modules/es.regexp.to-string.js");
|
15
|
-
require("core-js/modules/es.array.index-of.js");
|
16
|
-
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
17
|
-
var _react = _interopRequireDefault(require("react"));
|
18
|
-
function isBrowser() {
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
import React from 'react';
|
3
|
+
export function isBrowser() {
|
19
4
|
return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
|
20
5
|
}
|
21
6
|
var nameIs = function nameIs(name) {
|
22
7
|
return function (val) {
|
23
|
-
if ((
|
8
|
+
if (_typeof(val) === 'object') {
|
24
9
|
return val && val.constructor && val.constructor.name === name;
|
25
10
|
}
|
26
11
|
return false;
|
27
12
|
};
|
28
13
|
};
|
29
|
-
var isArray = Array.isArray;
|
30
|
-
|
31
|
-
|
32
|
-
return !!val && (0, _typeof2.default)(val) === 'object' && !isArray(val);
|
14
|
+
export var isArray = Array.isArray;
|
15
|
+
export var isObject = function isObject(val) {
|
16
|
+
return !!val && _typeof(val) === 'object' && !isArray(val);
|
33
17
|
};
|
34
|
-
|
35
|
-
var isDate = function isDate(val) {
|
18
|
+
export var isDate = function isDate(val) {
|
36
19
|
return val instanceof Date;
|
37
20
|
};
|
38
|
-
|
39
|
-
var isBoolean = function isBoolean(val) {
|
21
|
+
export var isBoolean = function isBoolean(val) {
|
40
22
|
return val instanceof Boolean;
|
41
23
|
};
|
42
|
-
|
43
|
-
var isError = function isError(val) {
|
24
|
+
export var isError = function isError(val) {
|
44
25
|
return val instanceof Error;
|
45
26
|
};
|
46
|
-
|
47
|
-
var isNumber = function isNumber(n) {
|
27
|
+
export var isNumber = function isNumber(n) {
|
48
28
|
return typeof n === 'number';
|
49
29
|
};
|
50
|
-
|
51
|
-
var isRegexp = function isRegexp(val) {
|
30
|
+
export var isRegexp = function isRegexp(val) {
|
52
31
|
return val instanceof RegExp;
|
53
32
|
};
|
54
|
-
|
55
|
-
var isString = function isString(s) {
|
33
|
+
export var isString = function isString(s) {
|
56
34
|
return typeof s === 'string';
|
57
35
|
};
|
58
|
-
|
59
|
-
var isUndefined = function isUndefined(obj) {
|
36
|
+
export var isUndefined = function isUndefined(obj) {
|
60
37
|
return obj === undefined;
|
61
38
|
};
|
62
|
-
|
63
|
-
var
|
64
|
-
|
65
|
-
|
66
|
-
exports.isSet = isSet;
|
67
|
-
var isBuffer = function isBuffer(val) {
|
68
|
-
if (val && (0, _typeof2.default)(val) === 'object' && val.constructor && typeof val.constructor.isBuffer === 'function') {
|
39
|
+
export var isMap = nameIs('Map');
|
40
|
+
export var isSet = nameIs('Set');
|
41
|
+
export var isBuffer = function isBuffer(val) {
|
42
|
+
if (val && _typeof(val) === 'object' && val.constructor && typeof val.constructor.isBuffer === 'function') {
|
69
43
|
return val.constructor.isBuffer(val);
|
70
44
|
}
|
71
45
|
return false;
|
72
46
|
};
|
73
|
-
|
74
|
-
var isUnMatchedData = function isUnMatchedData(val) {
|
47
|
+
export var isUnMatchedData = function isUnMatchedData(val) {
|
75
48
|
return isObject(val) && val.IS_NOT_MATCHED_VALUE;
|
76
49
|
};
|
77
|
-
|
78
|
-
var isMergeable = function isMergeable(val) {
|
50
|
+
export var isMergeable = function isMergeable(val) {
|
79
51
|
if (!isObject(val)) return false;
|
80
52
|
var fns = [isDate, isError, isRegexp, isMap, isSet, isBuffer];
|
81
53
|
for (var i = 0; i < fns.length; i++) {
|
@@ -84,51 +56,43 @@ var isMergeable = function isMergeable(val) {
|
|
84
56
|
return true;
|
85
57
|
};
|
86
58
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
87
|
-
|
88
|
-
var isFunc = function isFunc(f) {
|
59
|
+
export var isFunc = function isFunc(f) {
|
89
60
|
return typeof f === 'function';
|
90
61
|
};
|
91
|
-
|
92
|
-
var isPromise = function isPromise(p) {
|
62
|
+
export var isPromise = function isPromise(p) {
|
93
63
|
return p && (nameIs('Promise')(p) || isFunc(p.then));
|
94
64
|
};
|
95
65
|
|
96
66
|
// eslint-disable-next-line no-self-compare
|
97
|
-
|
98
|
-
var isNan = function isNan(a) {
|
67
|
+
export var isNan = function isNan(a) {
|
99
68
|
return a !== a;
|
100
69
|
};
|
101
|
-
|
102
|
-
var isEmpty = function isEmpty(val) {
|
70
|
+
export var isEmpty = function isEmpty(val) {
|
103
71
|
// eslint-disable-next-line eqeqeq
|
104
72
|
if (val == null) return true;
|
105
73
|
if (isNan(val)) return true;
|
106
74
|
if (val.length !== undefined) return val.length === 0;
|
107
75
|
if (val instanceof Date) return false;
|
108
|
-
if ((
|
76
|
+
if (_typeof(val) === 'object') return Object.keys(val).length === 0;
|
109
77
|
return false;
|
110
78
|
};
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
if (! /*#__PURE__*/_react.default.isValidElement(el)) return false;
|
79
|
+
export var isLink = function isLink(el) {
|
80
|
+
if (_typeof(el) === 'object') {
|
81
|
+
if (! /*#__PURE__*/React.isValidElement(el)) return false;
|
115
82
|
if (!el.type) return false;
|
116
83
|
if (el.type === 'a') return true;
|
117
84
|
if (el.props && el.props.to) return true;
|
118
85
|
}
|
119
86
|
return false;
|
120
87
|
};
|
121
|
-
|
122
|
-
var isMacOS = function isMacOS() {
|
88
|
+
export var isMacOS = function isMacOS() {
|
123
89
|
return isBrowser() && /macintosh|mac os x/i.test(navigator.userAgent);
|
124
90
|
};
|
125
|
-
|
126
|
-
var isFirefox = function isFirefox() {
|
91
|
+
export var isFirefox = function isFirefox() {
|
127
92
|
if (!isBrowser()) return false;
|
128
93
|
return navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
|
129
94
|
};
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
: element && (0, _typeof2.default)(element) === 'object' && element !== null && element.nodeType === 1 && typeof element.nodeName === 'string';
|
95
|
+
export function isDomElement(element) {
|
96
|
+
return (typeof HTMLElement === "undefined" ? "undefined" : _typeof(HTMLElement)) === 'object' ? element instanceof HTMLElement // DOM2
|
97
|
+
: element && _typeof(element) === 'object' && element !== null && element.nodeType === 1 && typeof element.nodeName === 'string';
|
134
98
|
}
|
package/esm/utils/lazyload.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lazyload.d.ts","sourceRoot":"","sources":["lazyload.ts"],"names":[],"mappings":"AAIA,
|
1
|
+
{"version":3,"file":"lazyload.d.ts","sourceRoot":"","sources":["lazyload.ts"],"names":[],"mappings":"AAIA,KAAK,UAAU,GAAG;IAChB,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CACjC,CAAC;AAoBF,wBAAgB,QAAQ,SAgBvB;AAWD,wBAAgB,WAAW,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,cAAc,CAAC,EAAE,OAAO,QAUvE;AAsBD,wBAAgB,QAAQ,CAAC,GAAG,EAAE,UAAU,iBA4BvC"}
|
package/esm/utils/lazyload.js
CHANGED
@@ -1,18 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.addStack = addStack;
|
7
|
-
exports.dispatch = dispatch;
|
8
|
-
exports.removeStack = removeStack;
|
9
|
-
require("core-js/modules/web.dom-collections.for-each.js");
|
10
|
-
var _utils = require("../utils");
|
1
|
+
import { generateUUID, docSize } from "../utils";
|
11
2
|
var throttle = 80;
|
12
3
|
var components = {};
|
13
4
|
var timeout = null;
|
14
5
|
var isLock = false;
|
15
|
-
var winHeight =
|
6
|
+
var winHeight = docSize.height;
|
16
7
|
var getRect = function getRect(el) {
|
17
8
|
// document or invalid element
|
18
9
|
if (!el || !el.getBoundingClientRect) {
|
@@ -24,7 +15,7 @@ var getRect = function getRect(el) {
|
|
24
15
|
}
|
25
16
|
return el.getBoundingClientRect();
|
26
17
|
};
|
27
|
-
function dispatch() {
|
18
|
+
export function dispatch() {
|
28
19
|
if (isLock) return;
|
29
20
|
isLock = true;
|
30
21
|
|
@@ -51,7 +42,7 @@ var handleScroll = function handleScroll() {
|
|
51
42
|
timeout = null;
|
52
43
|
}, throttle);
|
53
44
|
};
|
54
|
-
function removeStack(id, removeListener) {
|
45
|
+
export function removeStack(id, removeListener) {
|
55
46
|
if (!id || !components[id]) return;
|
56
47
|
var _components$id = components[id],
|
57
48
|
observer = _components$id.observer,
|
@@ -84,8 +75,8 @@ function getObserver(obj, id) {
|
|
84
75
|
obj.observer = observer;
|
85
76
|
return observer;
|
86
77
|
}
|
87
|
-
function addStack(obj) {
|
88
|
-
var id =
|
78
|
+
export function addStack(obj) {
|
79
|
+
var id = generateUUID();
|
89
80
|
var scrollEl = obj.container || document;
|
90
81
|
obj.offset = obj.offset || 0;
|
91
82
|
if (window.IntersectionObserver) {
|
package/esm/utils/number.js
CHANGED
@@ -1,22 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.getNumberPrecision = getNumberPrecision;
|
7
|
-
exports.isE = isE;
|
8
|
-
exports.range = range;
|
9
|
-
exports.sub = sub;
|
10
|
-
exports.toPrecision = toPrecision;
|
11
|
-
exports.validateNumber = validateNumber;
|
12
|
-
require("core-js/modules/es.array.from.js");
|
13
|
-
require("core-js/modules/es.regexp.exec.js");
|
14
|
-
require("core-js/modules/es.array.includes.js");
|
15
|
-
require("core-js/modules/es.string.includes.js");
|
16
|
-
require("core-js/modules/es.array.slice.js");
|
17
|
-
require("core-js/modules/es.array.index-of.js");
|
18
|
-
require("core-js/modules/es.string.match.js");
|
19
|
-
function range(end) {
|
1
|
+
export function range(end) {
|
20
2
|
var start = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
21
3
|
var delta = end - start;
|
22
4
|
if (typeof delta !== 'number' || Number.isNaN(delta)) {
|
@@ -28,11 +10,11 @@ function range(end) {
|
|
28
10
|
return k + start;
|
29
11
|
});
|
30
12
|
}
|
31
|
-
function toPrecision(num) {
|
13
|
+
export function toPrecision(num) {
|
32
14
|
var precision = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 12;
|
33
15
|
return +parseFloat(num.toPrecision(precision));
|
34
16
|
}
|
35
|
-
function validateNumber(num) {
|
17
|
+
export function validateNumber(num) {
|
36
18
|
if (typeof num === 'number') {
|
37
19
|
return !Number.isNaN(num);
|
38
20
|
}
|
@@ -50,11 +32,11 @@ function validateNumber(num) {
|
|
50
32
|
/^\s*-?\.\d+\s*$/.test(String(num))
|
51
33
|
);
|
52
34
|
}
|
53
|
-
function isE(number) {
|
35
|
+
export function isE(number) {
|
54
36
|
var str = String(number);
|
55
37
|
return !Number.isNaN(Number(str)) && str.includes('e');
|
56
38
|
}
|
57
|
-
function getNumberPrecision(number) {
|
39
|
+
export function getNumberPrecision(number) {
|
58
40
|
var numStr = String(number);
|
59
41
|
if (isE(number)) {
|
60
42
|
var precision = Number(numStr.slice(numStr.indexOf('e-') + 2));
|
@@ -66,7 +48,7 @@ function getNumberPrecision(number) {
|
|
66
48
|
}
|
67
49
|
return numStr.includes('.') && validateNumber(numStr) ? numStr.length - numStr.indexOf('.') - 1 : 0;
|
68
50
|
}
|
69
|
-
function sub(num1, num2) {
|
51
|
+
export function sub(num1, num2) {
|
70
52
|
var number = Number(num1) + Number(num2);
|
71
53
|
if (Number.isNaN(number)) return NaN;
|
72
54
|
if (number > Number.MAX_SAFE_INTEGER) {
|
package/esm/utils/object.d.ts
CHANGED
@@ -9,18 +9,18 @@ interface deepOptions {
|
|
9
9
|
removeUndefined?: boolean;
|
10
10
|
}
|
11
11
|
export declare const objectValues: (obj: ObjectType) => any[];
|
12
|
-
export declare const deepMerge: (target: ObjectType
|
12
|
+
export declare const deepMerge: (target: ObjectType | undefined, source: ObjectType, options?: deepOptions) => ObjectType;
|
13
13
|
export declare function pathGenerator(raw: string): [string | number, string | undefined, string | undefined][];
|
14
14
|
interface DeepSetOptions {
|
15
15
|
removeUndefined?: boolean;
|
16
16
|
skipUndefined?: boolean;
|
17
17
|
forceSet?: boolean;
|
18
18
|
}
|
19
|
-
export declare const deepSet: (target: ObjectType, path: string, value: any, options?: DeepSetOptions) => ObjectType
|
19
|
+
export declare const deepSet: (target: ObjectType, path: string, value: any, options?: DeepSetOptions) => ObjectType;
|
20
20
|
export declare const deepGet: (target: ObjectType, path: string, options?: deepOptions) => unknown;
|
21
|
-
export declare const deepRemove: (target: ObjectType, path: string) => ObjectType
|
21
|
+
export declare const deepRemove: (target: ObjectType, path: string) => ObjectType;
|
22
22
|
export declare const deepHas: (target: ObjectType, path: string) => boolean;
|
23
23
|
export declare const entries: (obj: ObjectType) => any[][];
|
24
|
-
export declare const removeProps: <T extends ObjectType
|
24
|
+
export declare const removeProps: <T extends ObjectType, K extends ObjectType>(target: T, remove: K) => Omit<T, keyof K>;
|
25
25
|
export {};
|
26
26
|
//# sourceMappingURL=object.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"object.d.ts","sourceRoot":"","sources":["object.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,UAGvC;AASD,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAGD,eAAO,MAAM,YAAY,QAAS,UAAU,UAG3C,CAAC;AAGF,eAAO,MAAM,SAAS,
|
1
|
+
{"version":3,"file":"object.d.ts","sourceRoot":"","sources":["object.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,UAGvC;AASD,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAGD,eAAO,MAAM,YAAY,QAAS,UAAU,UAG3C,CAAC;AAGF,eAAO,MAAM,SAAS,2CAEZ,UAAU,YACT,WAAW,eAwBrB,CAAC;AAEF,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,+DA4BxC;AAED,UAAU,cAAc;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,OAAO,WACV,UAAU,QACZ,MAAM,SACL,GAAG,YACD,cAAc,eAiDxB,CAAC;AAEF,eAAO,MAAM,OAAO,WAAY,UAAU,QAAQ,MAAM,YAAW,WAAW,YAyB7E,CAAC;AAEF,eAAO,MAAM,UAAU,WAAY,UAAU,QAAQ,MAAM,eA0B1D,CAAC;AAEF,eAAO,MAAM,OAAO,WAAY,UAAU,QAAQ,MAAM,YAavD,CAAC;AAEF,eAAO,MAAM,OAAO,QAAS,UAAU,YAItC,CAAC;AAEF,eAAO,MAAM,WAAW,wFAQvB,CAAC"}
|