tdesign-react 0.23.1 → 0.24.2
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/CHANGELOG.md +53 -0
- package/dist/tdesign.css +866 -815
- package/dist/tdesign.css.map +1 -1
- package/dist/tdesign.js +16093 -14953
- package/dist/tdesign.js.map +1 -1
- package/dist/tdesign.min.css +1 -1
- package/dist/tdesign.min.css.map +1 -1
- package/dist/tdesign.min.js +5 -5
- package/dist/tdesign.min.js.map +1 -1
- package/{esm/_chunks/dep-ea6cd97e.js → es/_chunks/dep-042bedbb.js} +14 -7
- package/es/_chunks/dep-042bedbb.js.map +1 -0
- package/es/_chunks/{dep-d605b249.js → dep-0abff330.js} +5 -5
- package/es/_chunks/{dep-d605b249.js.map → dep-0abff330.js.map} +1 -1
- package/es/_chunks/{dep-e2086850.js → dep-0cd35a58.js} +4 -4
- package/{esm/_chunks/dep-e2086850.js.map → es/_chunks/dep-0cd35a58.js.map} +1 -1
- package/{esm/_chunks/dep-c35a0ebd.js → es/_chunks/dep-111de74b.js} +5 -5
- package/es/_chunks/{dep-c35a0ebd.js.map → dep-111de74b.js.map} +1 -1
- package/es/_chunks/{dep-543c3536.js → dep-227e0bb8.js} +3 -3
- package/es/_chunks/{dep-543c3536.js.map → dep-227e0bb8.js.map} +1 -1
- package/{esm/_chunks/dep-c1bcd3ad.js → es/_chunks/dep-22a86c87.js} +5 -6
- package/{esm/_chunks/dep-c1bcd3ad.js.map → es/_chunks/dep-22a86c87.js.map} +1 -1
- package/es/_chunks/dep-27f1e824.js +369 -0
- package/es/_chunks/dep-27f1e824.js.map +1 -0
- package/{esm/_chunks/dep-f91a0619.js → es/_chunks/dep-2c2a1ed3.js} +67 -12
- package/es/_chunks/dep-2c2a1ed3.js.map +1 -0
- package/es/_chunks/dep-2e248bfc.js +33 -0
- package/es/_chunks/dep-2e248bfc.js.map +1 -0
- package/{esm/_chunks/dep-8a6e2075.js → es/_chunks/dep-30cfd706.js} +7 -7
- package/{esm/_chunks/dep-8a6e2075.js.map → es/_chunks/dep-30cfd706.js.map} +1 -1
- package/es/_chunks/dep-35873096.js +509 -0
- package/es/_chunks/dep-35873096.js.map +1 -0
- package/{esm/_chunks/dep-b946aae4.js → es/_chunks/dep-37c74e3e.js} +22 -305
- package/es/_chunks/dep-37c74e3e.js.map +1 -0
- package/{esm/_chunks/dep-56f9520b.js → es/_chunks/dep-3b0053d3.js} +4 -4
- package/{esm/_chunks/dep-56f9520b.js.map → es/_chunks/dep-3b0053d3.js.map} +1 -1
- package/es/_chunks/dep-3c451e24.js +72 -0
- package/es/_chunks/dep-3c451e24.js.map +1 -0
- package/{esm/_chunks/dep-e50910a4.js → es/_chunks/dep-48b4ec57.js} +9 -9
- package/{esm/_chunks/dep-e50910a4.js.map → es/_chunks/dep-48b4ec57.js.map} +1 -1
- package/es/_chunks/{dep-60f5bd8f.js → dep-5eae925d.js} +2 -2
- package/es/_chunks/dep-5eae925d.js.map +1 -0
- package/es/_chunks/{dep-c7bc4d7c.js → dep-61b31811.js} +2 -2
- package/es/_chunks/{dep-c7bc4d7c.js.map → dep-61b31811.js.map} +1 -1
- package/{esm/_chunks/dep-8f1f4b9f.js → es/_chunks/dep-649af003.js} +6 -6
- package/es/_chunks/{dep-8f1f4b9f.js.map → dep-649af003.js.map} +1 -1
- package/es/_chunks/{dep-178c8e4e.js → dep-6fade4e3.js} +376 -353
- package/es/_chunks/dep-6fade4e3.js.map +1 -0
- package/{esm/_chunks/dep-adec0da9.js → es/_chunks/dep-727523bf.js} +4 -4
- package/{esm/_chunks/dep-adec0da9.js.map → es/_chunks/dep-727523bf.js.map} +1 -1
- package/{esm/_chunks/dep-93fce92a.js → es/_chunks/dep-73b99331.js} +8 -8
- package/es/_chunks/{dep-93fce92a.js.map → dep-73b99331.js.map} +1 -1
- package/{esm/_chunks/dep-b71058fe.js → es/_chunks/dep-77e8c4b5.js} +2 -2
- package/es/_chunks/{dep-b71058fe.js.map → dep-77e8c4b5.js.map} +1 -1
- package/es/_chunks/dep-7b6a3ec4.js +177 -0
- package/es/_chunks/dep-7b6a3ec4.js.map +1 -0
- package/es/_chunks/dep-830a9fa5.js +43 -0
- package/es/_chunks/dep-830a9fa5.js.map +1 -0
- package/es/_chunks/dep-8aa68030.js +8 -0
- package/es/_chunks/dep-8aa68030.js.map +1 -0
- package/es/_chunks/{dep-98fc0271.js → dep-8b8704a1.js} +8 -63
- package/es/_chunks/dep-8b8704a1.js.map +1 -0
- package/{esm/_chunks/dep-7b191072.js → es/_chunks/dep-932974e4.js} +5 -6
- package/es/_chunks/{dep-7b191072.js.map → dep-932974e4.js.map} +1 -1
- package/{esm/_chunks/dep-668799a7.js → es/_chunks/dep-938d7916.js} +8 -8
- package/{esm/_chunks/dep-668799a7.js.map → es/_chunks/dep-938d7916.js.map} +1 -1
- package/{esm/_chunks/dep-53dd2095.js → es/_chunks/dep-9610b602.js} +4 -4
- package/es/_chunks/{dep-53dd2095.js.map → dep-9610b602.js.map} +1 -1
- package/es/_chunks/{dep-09adce29.js → dep-983f4fe8.js} +6 -7
- package/es/_chunks/{dep-09adce29.js.map → dep-983f4fe8.js.map} +1 -1
- package/es/_chunks/{dep-a63e82ae.js → dep-9bca7361.js} +61 -7
- package/es/_chunks/dep-9bca7361.js.map +1 -0
- package/es/_chunks/dep-9d7b45c8.js +145 -0
- package/es/_chunks/dep-9d7b45c8.js.map +1 -0
- package/es/_chunks/dep-9dab94c3.js +29 -0
- package/es/_chunks/dep-9dab94c3.js.map +1 -0
- package/es/_chunks/{dep-27b799a5.js → dep-9e014651.js} +7 -7
- package/es/_chunks/{dep-27b799a5.js.map → dep-9e014651.js.map} +1 -1
- package/es/_chunks/{dep-1bb17190.js → dep-9fa63e33.js} +3 -3
- package/es/_chunks/{dep-1bb17190.js.map → dep-9fa63e33.js.map} +1 -1
- package/es/_chunks/{dep-5056c08a.js → dep-a3b8ffa0.js} +4 -4
- package/es/_chunks/{dep-5056c08a.js.map → dep-a3b8ffa0.js.map} +1 -1
- package/{esm/_chunks/dep-3222ad5b.js → es/_chunks/dep-a442ec03.js} +3 -3
- package/es/_chunks/{dep-3222ad5b.js.map → dep-a442ec03.js.map} +1 -1
- package/{esm/_chunks/dep-3078962f.js → es/_chunks/dep-a47c4980.js} +4 -4
- package/es/_chunks/{dep-3078962f.js.map → dep-a47c4980.js.map} +1 -1
- package/es/_chunks/{dep-fee68d62.js → dep-abdadc25.js} +9 -8
- package/es/_chunks/{dep-fee68d62.js.map → dep-abdadc25.js.map} +1 -1
- package/{esm/_chunks/dep-cf8954fb.js → es/_chunks/dep-b0578a3e.js} +7 -7
- package/es/_chunks/{dep-cf8954fb.js.map → dep-b0578a3e.js.map} +1 -1
- package/es/_chunks/{dep-a0283fb8.js → dep-b4e3cb44.js} +4 -4
- package/es/_chunks/{dep-a0283fb8.js.map → dep-b4e3cb44.js.map} +1 -1
- package/{esm/_chunks/dep-f0919110.js → es/_chunks/dep-bce28960.js} +3 -3
- package/es/_chunks/{dep-f0919110.js.map → dep-bce28960.js.map} +1 -1
- package/es/_chunks/{dep-fe3c82a4.js → dep-c2c4686e.js} +5 -5
- package/{esm/_chunks/dep-fe3c82a4.js.map → es/_chunks/dep-c2c4686e.js.map} +1 -1
- package/{esm/_chunks/dep-71e7a5f0.js → es/_chunks/dep-c5ce2ac5.js} +4 -3
- package/{esm/_chunks/dep-71e7a5f0.js.map → es/_chunks/dep-c5ce2ac5.js.map} +1 -1
- package/es/_chunks/{dep-2f14ad8e.js → dep-d74460c1.js} +24 -11
- package/es/_chunks/dep-d74460c1.js.map +1 -0
- package/es/_chunks/dep-d8fd6317.js +208 -0
- package/es/_chunks/dep-d8fd6317.js.map +1 -0
- package/{esm/_chunks/dep-a3d78aac.js → es/_chunks/dep-d9a945d8.js} +4 -4
- package/es/_chunks/{dep-a3d78aac.js.map → dep-d9a945d8.js.map} +1 -1
- package/es/_chunks/{dep-6cb7fff9.js → dep-ddc1a5af.js} +3 -3
- package/es/_chunks/{dep-6cb7fff9.js.map → dep-ddc1a5af.js.map} +1 -1
- package/es/_chunks/{dep-195c3d75.js → dep-e2c3e976.js} +2 -2
- package/es/_chunks/{dep-195c3d75.js.map → dep-e2c3e976.js.map} +1 -1
- package/{esm/_chunks/dep-d879782b.js → es/_chunks/dep-e5760bc1.js} +7 -9
- package/es/_chunks/{dep-d879782b.js.map → dep-e5760bc1.js.map} +1 -1
- package/es/_chunks/dep-e669a217.js +252 -0
- package/es/_chunks/dep-e669a217.js.map +1 -0
- package/es/_chunks/{dep-bc6012b1.js → dep-f28d087e.js} +2 -2
- package/es/_chunks/{dep-bc6012b1.js.map → dep-f28d087e.js.map} +1 -1
- package/{esm/_chunks/dep-6c7ebad8.js → es/_chunks/dep-faf5fda7.js} +4 -4
- package/es/_chunks/{dep-6c7ebad8.js.map → dep-faf5fda7.js.map} +1 -1
- package/es/_common/js/common.js +1 -1
- package/es/_common/js/date-picker/utils.js +32 -19
- package/es/_common/js/date-picker/utils.js.map +1 -1
- package/es/_common/js/loading/circle-adapter.js +5 -5
- package/es/_common/js/locale/en_US.d.ts +139 -0
- package/es/_common/js/locale/en_US.js +147 -0
- package/es/_common/js/locale/en_US.js.map +1 -0
- package/es/_common/js/locale/zh_CN.d.ts +132 -0
- package/es/_common/js/locale/zh_CN.js +140 -0
- package/es/_common/js/locale/zh_CN.js.map +1 -0
- package/es/_common/js/log/index.js +9 -0
- package/es/_common/js/log/index.js.map +1 -0
- package/es/_common/js/log/log.js +1 -1
- package/es/_common/js/log/types.js +1 -1
- package/es/_common/js/tree/tree-node-model.js +21 -26
- package/es/_common/js/tree/tree-node-model.js.map +1 -1
- package/es/_common/js/tree/tree-node.js +26 -31
- package/es/_common/js/tree/tree-node.js.map +1 -1
- package/es/_common/js/tree/tree-store.js +34 -40
- package/es/_common/js/tree/tree-store.js.map +1 -1
- package/es/_common/js/tree/types.js +1 -1
- package/es/_common/js/upload/types.js +1 -1
- package/es/_common/js/upload/xhr.js +1 -1
- package/es/_common/js/utils/helper.js +5 -5
- package/es/_common/js/utils/set-style.js +1 -1
- package/es/_util/callBoth.js +1 -1
- package/es/_util/composeRefs.js +1 -1
- package/es/_util/dom.js +8 -8
- package/es/_util/easing.js +1 -1
- package/es/_util/forwardRefWithStatics.js +1 -1
- package/es/_util/getScrollbarWidth.js +1 -1
- package/es/_util/hasScrollBar.js +1 -1
- package/es/_util/helper.js +16 -16
- package/es/_util/injectValue.js +1 -1
- package/es/_util/insertCSS.js +1 -1
- package/es/_util/isCallable.js +1 -1
- package/es/_util/linearGradient.js +2 -2
- package/es/_util/noop.js +1 -1
- package/es/_util/number.js +1 -1
- package/es/_util/setStyle.js +1 -1
- package/es/_util/useClickOutside.js +1 -1
- package/es/_util/useCommonClassName.js +22 -2
- package/es/_util/useCommonClassName.js.map +1 -1
- package/es/_util/useConfig.d.ts +2 -1
- package/es/_util/useConfig.js +23 -3
- package/es/_util/useConfig.js.map +1 -1
- package/es/_util/useDefault.js +3 -3
- package/es/_util/useDefaultValue.js +5 -5
- package/es/_util/usePersistFn.js +1 -1
- package/es/_util/usePrevious.js +1 -1
- package/es/_util/useRefAndForward.js +1 -1
- package/es/_util/useRipple.js +22 -2
- package/es/_util/useRipple.js.map +1 -1
- package/es/_util/useSetState.js +4 -4
- package/es/_util/useUpdateEffect.js +1 -1
- package/es/addon/Addon.js +23 -4
- package/es/addon/Addon.js.map +1 -1
- package/es/addon/index.js +23 -4
- package/es/addon/index.js.map +1 -1
- package/es/affix/Affix.d.ts +1 -0
- package/es/affix/Affix.js +25 -15
- package/es/affix/Affix.js.map +1 -1
- package/es/affix/index.js +25 -15
- package/es/affix/index.js.map +1 -1
- package/es/affix/style/index.js +1 -1
- package/es/affix/type.js +1 -1
- package/es/alert/Alert.js +25 -6
- package/es/alert/Alert.js.map +1 -1
- package/es/alert/index.js +25 -6
- package/es/alert/index.js.map +1 -1
- package/es/alert/style/index.js +1 -1
- package/es/alert/type.js +1 -1
- package/es/anchor/Anchor.js +28 -26
- package/es/anchor/Anchor.js.map +1 -1
- package/es/anchor/AnchorContext.js +1 -1
- package/es/anchor/AnchorItem.js +23 -4
- package/es/anchor/AnchorItem.js.map +1 -1
- package/es/anchor/AnchorTarget.js +26 -13
- package/es/anchor/AnchorTarget.js.map +1 -1
- package/es/anchor/_util/clipboard.js +1 -1
- package/es/anchor/_util/dom.js +1 -1
- package/es/anchor/index.js +28 -26
- package/es/anchor/index.js.map +1 -1
- package/es/anchor/style/index.js +1 -1
- package/es/anchor/type.js +1 -1
- package/es/avatar/AvararGroup.js +26 -8
- package/es/avatar/AvararGroup.js.map +1 -1
- package/es/avatar/Avatar.js +26 -8
- package/es/avatar/Avatar.js.map +1 -1
- package/es/avatar/AvatarContext.js +1 -1
- package/es/avatar/index.js +26 -8
- package/es/avatar/index.js.map +1 -1
- package/es/avatar/style/index.js +1 -1
- package/es/avatar/type.js +1 -1
- package/es/badge/Badge.js +23 -4
- package/es/badge/Badge.js.map +1 -1
- package/es/badge/index.js +23 -4
- package/es/badge/index.js.map +1 -1
- package/es/badge/style/index.js +1 -1
- package/es/badge/type.js +1 -1
- package/es/breadcrumb/Breadcrumb.js +27 -6
- package/es/breadcrumb/Breadcrumb.js.map +1 -1
- package/es/breadcrumb/BreadcrumbContext.d.ts +1 -0
- package/es/breadcrumb/BreadcrumbContext.js +3 -2
- package/es/breadcrumb/BreadcrumbContext.js.map +1 -1
- package/es/breadcrumb/BreadcrumbItem.js +26 -6
- package/es/breadcrumb/BreadcrumbItem.js.map +1 -1
- package/es/breadcrumb/BreadcrumbProps.js +1 -1
- package/es/breadcrumb/index.js +23 -4
- package/es/breadcrumb/index.js.map +1 -1
- package/es/breadcrumb/style/index.css +4 -4
- package/es/breadcrumb/style/index.js +1 -1
- package/es/breadcrumb/type.d.ts +6 -2
- package/es/breadcrumb/type.js +1 -1
- package/es/button/Button.js +26 -13
- package/es/button/Button.js.map +1 -1
- package/es/button/index.js +26 -13
- package/es/button/index.js.map +1 -1
- package/es/button/style/index.css +285 -255
- package/es/button/style/index.js +1 -1
- package/es/button/type.js +1 -1
- package/es/calendar/Calendar.js +39 -31
- package/es/calendar/Calendar.js.map +1 -1
- package/es/calendar/_util.js +1 -1
- package/es/calendar/index.js +36 -29
- package/es/calendar/index.js.map +1 -1
- package/es/calendar/style/index.css +0 -3
- package/es/calendar/style/index.js +1 -1
- package/es/calendar/type.js +1 -1
- package/es/card/type.js +1 -1
- package/es/cascader/Cascader.js +60 -59
- package/es/cascader/Cascader.js.map +1 -1
- package/es/cascader/components/InputContent.js +27 -25
- package/es/cascader/components/InputContent.js.map +1 -1
- package/es/cascader/components/Item.js +39 -23
- package/es/cascader/components/Item.js.map +1 -1
- package/es/cascader/components/Panel.js +34 -21
- package/es/cascader/components/Panel.js.map +1 -1
- package/es/cascader/components/style/index.js +1 -1
- package/es/cascader/index.js +47 -49
- package/es/cascader/index.js.map +1 -1
- package/es/cascader/interface.d.ts +1 -1
- package/es/cascader/interface.js +26 -31
- package/es/cascader/interface.js.map +1 -1
- package/es/cascader/style/index.css +4 -5
- package/es/cascader/style/index.js +1 -1
- package/es/cascader/type.js +1 -1
- package/es/cascader/utils/cascader.js +4 -4
- package/es/cascader/utils/helper.js +2 -2
- package/es/cascader/utils/inputContent.js +16 -21
- package/es/cascader/utils/inputContent.js.map +1 -1
- package/es/cascader/utils/item.js +4 -4
- package/es/cascader/utils/panel.js +8 -8
- package/es/checkbox/Checkbox.js +32 -19
- package/es/checkbox/Checkbox.js.map +1 -1
- package/es/checkbox/CheckboxGroup.js +32 -19
- package/es/checkbox/CheckboxGroup.js.map +1 -1
- package/es/checkbox/index.js +32 -19
- package/es/checkbox/index.js.map +1 -1
- package/es/checkbox/style/index.js +1 -1
- package/es/checkbox/type.js +1 -1
- package/es/comment/Comment.js +22 -2
- package/es/comment/Comment.js.map +1 -1
- package/es/comment/index.js +22 -2
- package/es/comment/index.js.map +1 -1
- package/es/comment/style/index.js +1 -1
- package/es/comment/type.js +1 -1
- package/es/common/Check.d.ts +1 -1
- package/es/common/Check.js +30 -17
- package/es/common/Check.js.map +1 -1
- package/es/common/FakeArrow.js +22 -3
- package/es/common/FakeArrow.js.map +1 -1
- package/es/common/Portal.js +2 -2
- package/es/common.js +1 -1
- package/es/config-provider/ConfigContext.d.ts +335 -43
- package/es/config-provider/ConfigContext.js +24 -12
- package/es/config-provider/ConfigContext.js.map +1 -1
- package/es/config-provider/ConfigProvider.d.ts +8 -1
- package/es/config-provider/ConfigProvider.js +29 -13
- package/es/config-provider/ConfigProvider.js.map +1 -1
- package/es/config-provider/defaultConfig.d.ts +3 -0
- package/es/config-provider/defaultConfig.js +47 -0
- package/es/config-provider/defaultConfig.js.map +1 -0
- package/es/config-provider/index.d.ts +3 -3
- package/es/config-provider/index.js +23 -5
- package/es/config-provider/index.js.map +1 -1
- package/es/config-provider/type.d.ts +164 -20
- package/es/config-provider/type.js +1 -1
- package/es/date-picker/DatePicker.js +35 -34
- package/es/date-picker/DatePicker.js.map +1 -1
- package/es/date-picker/base/CalendarPresets.js +26 -13
- package/es/date-picker/base/CalendarPresets.js.map +1 -1
- package/es/date-picker/base/Cell.js +22 -3
- package/es/date-picker/base/Cell.js.map +1 -1
- package/es/date-picker/base/Header.js +26 -13
- package/es/date-picker/base/Header.js.map +1 -1
- package/es/date-picker/base/Table.js +24 -6
- package/es/date-picker/base/Table.js.map +1 -1
- package/es/date-picker/base/style/index.js +1 -1
- package/es/date-picker/index.js +35 -34
- package/es/date-picker/index.js.map +1 -1
- package/es/date-picker/panel/Date.js +30 -27
- package/es/date-picker/panel/Date.js.map +1 -1
- package/es/date-picker/panel/DateRange.js +30 -27
- package/es/date-picker/panel/DateRange.js.map +1 -1
- package/es/date-picker/panel/style/index.js +1 -1
- package/es/date-picker/style/index.js +1 -1
- package/es/date-picker/type.js +1 -1
- package/es/dialog/Dialog.js +30 -17
- package/es/dialog/Dialog.js.map +1 -1
- package/es/dialog/RenderDialog.js +3 -3
- package/es/dialog/index.js +26 -13
- package/es/dialog/index.js.map +1 -1
- package/es/dialog/plugin.js +26 -13
- package/es/dialog/plugin.js.map +1 -1
- package/es/dialog/style/index.js +1 -1
- package/es/dialog/type.js +1 -1
- package/es/divider/Divider.js +23 -4
- package/es/divider/Divider.js.map +1 -1
- package/es/divider/index.js +23 -4
- package/es/divider/index.js.map +1 -1
- package/es/divider/style/index.js +1 -1
- package/es/divider/type.js +1 -1
- package/es/drawer/Drawer.js +36 -23
- package/es/drawer/Drawer.js.map +1 -1
- package/es/drawer/DrawerWrapper.js +4 -4
- package/es/drawer/DrawerWrapper.js.map +1 -1
- package/es/drawer/index.js +26 -13
- package/es/drawer/index.js.map +1 -1
- package/es/drawer/style/index.js +1 -1
- package/es/drawer/type.js +1 -1
- package/es/dropdown/Dropdown.d.ts +2 -1
- package/es/dropdown/Dropdown.js +46 -49
- package/es/dropdown/Dropdown.js.map +1 -1
- package/es/dropdown/DropdownItem.js +30 -17
- package/es/dropdown/DropdownItem.js.map +1 -1
- package/es/dropdown/DropdownMenu.js +31 -18
- package/es/dropdown/DropdownMenu.js.map +1 -1
- package/es/dropdown/index.d.ts +2 -1
- package/es/dropdown/index.js +40 -44
- package/es/dropdown/index.js.map +1 -1
- package/es/dropdown/style/index.css +1 -1
- package/es/dropdown/style/index.js +1 -1
- package/es/dropdown/type.js +1 -1
- package/es/form/Form.d.ts +2 -2
- package/es/form/Form.js +155 -98
- package/es/form/Form.js.map +1 -1
- package/es/form/FormContext.d.ts +2 -0
- package/es/form/FormContext.js +2 -1
- package/es/form/FormContext.js.map +1 -1
- package/es/form/FormItem.js +59 -56
- package/es/form/FormItem.js.map +1 -1
- package/es/form/formModel.js +26 -31
- package/es/form/formModel.js.map +1 -1
- package/es/form/index.js +48 -48
- package/es/form/style/index.css +36 -33
- package/es/form/style/index.js +1 -1
- package/es/form/type.d.ts +127 -28
- package/es/form/type.js +1 -1
- package/es/grid/Col.js +23 -7
- package/es/grid/Col.js.map +1 -1
- package/es/grid/Row.js +25 -9
- package/es/grid/Row.js.map +1 -1
- package/es/grid/index.js +25 -9
- package/es/grid/index.js.map +1 -1
- package/es/grid/style/index.js +1 -1
- package/es/grid/type.d.ts +1 -2
- package/es/grid/type.js +1 -1
- package/es/index.js +62 -63
- package/es/index.js.map +1 -1
- package/es/input/Input.js +28 -8
- package/es/input/Input.js.map +1 -1
- package/es/input/InputGroup.js +23 -4
- package/es/input/InputGroup.js.map +1 -1
- package/es/input/index.js +25 -6
- package/es/input/index.js.map +1 -1
- package/es/input/style/index.css +52 -16
- package/es/input/style/index.js +1 -1
- package/es/input/type.d.ts +10 -1
- package/es/input/type.js +1 -1
- package/es/input-number/InputNumber.js +26 -13
- package/es/input-number/InputNumber.js.map +1 -1
- package/es/input-number/StepHandler.js +26 -13
- package/es/input-number/StepHandler.js.map +1 -1
- package/es/input-number/index.js +26 -13
- package/es/input-number/index.js.map +1 -1
- package/es/input-number/style/index.css +77 -1
- package/es/input-number/style/index.js +1 -1
- package/es/input-number/type.js +1 -1
- package/es/input-number/utils/numberUtils.js +1 -1
- package/es/layout/Aside.js +23 -4
- package/es/layout/Aside.js.map +1 -1
- package/es/layout/Layout.js +25 -7
- package/es/layout/Layout.js.map +1 -1
- package/es/layout/index.js +25 -7
- package/es/layout/index.js.map +1 -1
- package/es/layout/style/index.js +1 -1
- package/es/layout/type.js +1 -1
- package/es/list/List.js +35 -14
- package/es/list/List.js.map +1 -1
- package/es/list/ListItem.js +22 -2
- package/es/list/ListItem.js.map +1 -1
- package/es/list/ListItemMeta.js +22 -2
- package/es/list/ListItemMeta.js.map +1 -1
- package/es/list/index.js +29 -13
- package/es/list/index.js.map +1 -1
- package/es/list/style/index.js +1 -1
- package/es/list/type.js +1 -1
- package/es/loading/gradient.js +25 -6
- package/es/loading/gradient.js.map +1 -1
- package/es/loading/index.js +26 -13
- package/es/loading/index.js.map +1 -1
- package/es/loading/loading.js +26 -13
- package/es/loading/loading.js.map +1 -1
- package/es/loading/plugin.js +26 -13
- package/es/loading/plugin.js.map +1 -1
- package/es/loading/style/index.js +1 -1
- package/es/loading/type.js +1 -1
- package/es/locale/LocalReceiver.d.ts +43 -12
- package/es/locale/LocalReceiver.js +26 -8
- package/es/locale/LocalReceiver.js.map +1 -1
- package/es/locale/en_US.d.ts +2 -0
- package/es/locale/en_US.js +9 -0
- package/es/locale/en_US.js.map +1 -0
- package/es/locale/zh_CN.d.ts +2 -101
- package/es/locale/zh_CN.js +3 -103
- package/es/locale/zh_CN.js.map +1 -1
- package/es/menu/HeadMenu.js +25 -9
- package/es/menu/HeadMenu.js.map +1 -1
- package/es/menu/Menu.js +25 -9
- package/es/menu/Menu.js.map +1 -1
- package/es/menu/MenuContext.js +1 -1
- package/es/menu/MenuGroup.js +22 -2
- package/es/menu/MenuGroup.js.map +1 -1
- package/es/menu/MenuItem.js +22 -3
- package/es/menu/MenuItem.js.map +1 -1
- package/es/menu/SubMenu.js +24 -5
- package/es/menu/SubMenu.js.map +1 -1
- package/es/menu/_util/cacularPaddingLeft.js +1 -1
- package/es/menu/_util/checkMenuType.js +1 -1
- package/es/menu/_util/checkSubMenuActive.js +1 -1
- package/es/menu/_util/checkSubMenuChildExpanded.js +3 -3
- package/es/menu/_util/checkSubMenuChildrenActive.js +1 -1
- package/es/menu/_util/constant.js +1 -1
- package/es/menu/_util/getSubMenuChildStyle.js +1 -1
- package/es/menu/_util/type.js +1 -1
- package/es/menu/hooks/useMenuContext.js +5 -5
- package/es/menu/index.js +25 -9
- package/es/menu/index.js.map +1 -1
- package/es/menu/style/index.js +1 -1
- package/es/menu/type.js +1 -1
- package/es/message/Message.js +26 -13
- package/es/message/Message.js.map +1 -1
- package/es/message/MessageClose.js +22 -2
- package/es/message/MessageClose.js.map +1 -1
- package/es/message/MessageComponent.js +26 -13
- package/es/message/MessageComponent.js.map +1 -1
- package/es/message/MessageIcon.js +26 -13
- package/es/message/MessageIcon.js.map +1 -1
- package/es/message/const.js +1 -1
- package/es/message/index.js +26 -13
- package/es/message/index.js.map +1 -1
- package/es/message/style/index.js +1 -1
- package/es/message/type.js +1 -1
- package/es/message/useMessageClass.js +22 -2
- package/es/message/useMessageClass.js.map +1 -1
- package/es/notification/Notification.js +24 -4
- package/es/notification/Notification.js.map +1 -1
- package/es/notification/NotificationList.js +25 -6
- package/es/notification/NotificationList.js.map +1 -1
- package/es/notification/NotificationPlugin.js +25 -7
- package/es/notification/NotificationPlugin.js.map +1 -1
- package/es/notification/index.js +25 -7
- package/es/notification/index.js.map +1 -1
- package/es/notification/style/index.js +1 -1
- package/es/notification/type.js +1 -1
- package/es/pagination/Pagination.js +32 -25
- package/es/pagination/Pagination.js.map +1 -1
- package/es/pagination/index.js +32 -25
- package/es/pagination/index.js.map +1 -1
- package/es/pagination/style/index.js +1 -1
- package/es/pagination/type.js +1 -1
- package/es/pagination/validators.js +1 -1
- package/es/popconfirm/PopConfirm.js +45 -24
- package/es/popconfirm/PopConfirm.js.map +1 -1
- package/es/popconfirm/PopContent.js +29 -27
- package/es/popconfirm/PopContent.js.map +1 -1
- package/es/popconfirm/index.js +28 -16
- package/es/popconfirm/index.js.map +1 -1
- package/es/popconfirm/style/index.js +1 -1
- package/es/popconfirm/type.js +1 -1
- package/es/popup/Popup.js +30 -14
- package/es/popup/Popup.js.map +1 -1
- package/es/popup/hooks/usePopupCssTransition.js +4 -4
- package/es/popup/hooks/useTriggerProps.js +1 -1
- package/es/popup/index.js +24 -6
- package/es/popup/index.js.map +1 -1
- package/es/popup/style/index.js +1 -1
- package/es/popup/type.js +1 -1
- package/es/progress/Progress.js +23 -4
- package/es/progress/Progress.js.map +1 -1
- package/es/progress/index.js +23 -4
- package/es/progress/index.js.map +1 -1
- package/es/progress/style/index.js +1 -1
- package/es/progress/type.js +1 -1
- package/es/radio/Radio.js +31 -18
- package/es/radio/Radio.js.map +1 -1
- package/es/radio/RadioGroup.js +31 -18
- package/es/radio/RadioGroup.js.map +1 -1
- package/es/radio/index.js +31 -18
- package/es/radio/index.js.map +1 -1
- package/es/radio/style/index.js +1 -1
- package/es/radio/type.js +1 -1
- package/es/rate/type.js +1 -1
- package/es/select/base/Option.js +28 -21
- package/es/select/base/Option.js.map +1 -1
- package/es/select/base/OptionGroup.js +22 -3
- package/es/select/base/OptionGroup.js.map +1 -1
- package/es/select/base/PopupContent.js +35 -26
- package/es/select/base/PopupContent.js.map +1 -1
- package/es/select/base/Select.js +34 -27
- package/es/select/base/Select.js.map +1 -1
- package/es/select/base/style/index.js +1 -1
- package/es/select/index.js +32 -25
- package/es/select/index.js.map +1 -1
- package/es/select/style/index.css +2 -3
- package/es/select/style/index.js +1 -1
- package/es/select/type.js +1 -1
- package/es/select/util/helper.js +36 -35
- package/es/select/util/helper.js.map +1 -1
- package/es/skeleton/Skeleton.js +32 -19
- package/es/skeleton/Skeleton.js.map +1 -1
- package/es/skeleton/index.js +32 -19
- package/es/skeleton/index.js.map +1 -1
- package/es/skeleton/style/index.js +1 -1
- package/es/skeleton/type.js +1 -1
- package/es/slider/Slider.js +26 -13
- package/es/slider/Slider.js.map +1 -1
- package/es/slider/SliderHandleButton.js +25 -8
- package/es/slider/SliderHandleButton.js.map +1 -1
- package/es/slider/index.js +26 -13
- package/es/slider/index.js.map +1 -1
- package/es/slider/style/index.css +9 -3
- package/es/slider/style/index.js +1 -1
- package/es/slider/type.js +1 -1
- package/es/slider/utils/handleNumber.js +1 -1
- package/es/steps/StepItem.js +22 -3
- package/es/steps/StepItem.js.map +1 -1
- package/es/steps/Steps.js +22 -3
- package/es/steps/Steps.js.map +1 -1
- package/es/steps/StepsContext.js +1 -1
- package/es/steps/index.js +22 -3
- package/es/steps/index.js.map +1 -1
- package/es/steps/style/index.js +1 -1
- package/es/steps/type.js +1 -1
- package/es/sticky-tool/type.js +1 -1
- package/es/style/index.css +1 -1
- package/es/style/index.js +1 -1
- package/es/swiper/Swiper.js +24 -5
- package/es/swiper/Swiper.js.map +1 -1
- package/es/swiper/SwiperItem.js +1 -1
- package/es/swiper/index.js +24 -5
- package/es/swiper/index.js.map +1 -1
- package/es/swiper/style/index.js +1 -1
- package/es/swiper/type.js +1 -1
- package/es/switch/Switch.js +26 -13
- package/es/switch/Switch.js.map +1 -1
- package/es/switch/index.js +26 -13
- package/es/switch/index.js.map +1 -1
- package/es/switch/style/index.css +1 -1
- package/es/switch/style/index.js +1 -1
- package/es/switch/type.js +1 -1
- package/es/table/base/Table.js +48 -34
- package/es/table/base/Table.js.map +1 -1
- package/es/table/base/TableAsyncLoadingBody.js +35 -17
- package/es/table/base/TableAsyncLoadingBody.js.map +1 -1
- package/es/table/base/TableBody.js +36 -24
- package/es/table/base/TableBody.js.map +1 -1
- package/es/table/base/TableCell.js +31 -7
- package/es/table/base/TableCell.js.map +1 -1
- package/es/table/base/TableColGroup.js +1 -1
- package/es/table/base/TableContext.d.ts +5 -1
- package/es/table/base/TableContext.js +4 -2
- package/es/table/base/TableContext.js.map +1 -1
- package/es/table/base/TableEmptyBody.js +33 -3
- package/es/table/base/TableEmptyBody.js.map +1 -1
- package/es/table/base/TableFooter.js +1 -1
- package/es/table/base/TableHeader.js +26 -13
- package/es/table/base/TableHeader.js.map +1 -1
- package/es/table/base/TableLoadingBody.js +5 -7
- package/es/table/base/TableLoadingBody.js.map +1 -1
- package/es/table/base/TableRow.js +29 -22
- package/es/table/base/TableRow.js.map +1 -1
- package/es/table/base/style/index.js +1 -1
- package/es/table/enhanced/Table.d.ts +4 -0
- package/es/table/enhanced/Table.js +175 -0
- package/es/table/enhanced/Table.js.map +1 -0
- package/es/table/enhanced/TableContext.d.ts +12 -0
- package/es/table/enhanced/TableContext.js +19 -0
- package/es/table/enhanced/TableContext.js.map +1 -0
- package/es/table/enhanced/style/css.d.ts +1 -0
- package/es/table/enhanced/style/css.js +1 -0
- package/es/table/enhanced/style/index.d.ts +1 -0
- package/es/table/enhanced/style/index.js +7 -0
- package/es/table/enhanced/style/index.js.map +1 -0
- package/es/table/enhanced/useTree.d.ts +11 -0
- package/es/table/enhanced/useTree.js +219 -0
- package/es/table/enhanced/useTree.js.map +1 -0
- package/es/table/hooks/useColumns.js +4 -4
- package/es/table/index.d.ts +2 -0
- package/es/table/index.js +44 -33
- package/es/table/index.js.map +1 -1
- package/es/table/primary/FilterButton.js +47 -31
- package/es/table/primary/FilterButton.js.map +1 -1
- package/es/table/primary/SorterButton.js +42 -19
- package/es/table/primary/SorterButton.js.map +1 -1
- package/es/table/primary/Table.js +40 -32
- package/es/table/primary/Table.js.map +1 -1
- package/es/table/primary/expand-box.js +26 -9
- package/es/table/primary/expand-box.js.map +1 -1
- package/es/table/primary/style/index.js +1 -1
- package/es/table/primary/useDragSorter.js +3 -3
- package/es/table/primary/useExpand.js +34 -29
- package/es/table/primary/useExpand.js.map +1 -1
- package/es/table/primary/useFilter.js +35 -24
- package/es/table/primary/useFilter.js.map +1 -1
- package/es/table/primary/useSelect.js +295 -97
- package/es/table/primary/useSelect.js.map +1 -1
- package/es/table/primary/useSorter.js +38 -30
- package/es/table/primary/useSorter.js.map +1 -1
- package/es/table/style/index.js +1 -1
- package/es/table/type.js +1 -1
- package/es/table/util/getRowKeyFromRowKey.js +1 -1
- package/es/table/util/index.js +1 -1
- package/es/tabs/TabBar.js +24 -5
- package/es/tabs/TabBar.js.map +1 -1
- package/es/tabs/TabNav.js +24 -5
- package/es/tabs/TabNav.js.map +1 -1
- package/es/tabs/TabNavItem.js +22 -2
- package/es/tabs/TabNavItem.js.map +1 -1
- package/es/tabs/TabPanel.js +22 -2
- package/es/tabs/TabPanel.js.map +1 -1
- package/es/tabs/Tabs.js +24 -5
- package/es/tabs/Tabs.js.map +1 -1
- package/es/tabs/index.js +24 -5
- package/es/tabs/index.js.map +1 -1
- package/es/tabs/style/index.js +1 -1
- package/es/tabs/type.js +1 -1
- package/es/tabs/useTabClass.js +22 -2
- package/es/tabs/useTabClass.js.map +1 -1
- package/es/tag/CheckTag.js +33 -8
- package/es/tag/CheckTag.js.map +1 -1
- package/es/tag/Tag.js +31 -10
- package/es/tag/Tag.js.map +1 -1
- package/es/tag/index.js +25 -6
- package/es/tag/index.js.map +1 -1
- package/es/tag/style/index.js +1 -1
- package/es/tag/type.d.ts +7 -3
- package/es/tag/type.js +1 -1
- package/es/textarea/Textarea.js +30 -17
- package/es/textarea/Textarea.js.map +1 -1
- package/es/textarea/index.js +30 -17
- package/es/textarea/index.js.map +1 -1
- package/es/textarea/style/index.css +15 -0
- package/es/textarea/style/index.js +1 -1
- package/es/textarea/type.js +1 -1
- package/es/time-picker/InputItems.js +33 -23
- package/es/time-picker/InputItems.js.map +1 -1
- package/es/time-picker/TimePicker.js +36 -32
- package/es/time-picker/TimePicker.js.map +1 -1
- package/es/time-picker/TimeRangePicker.js +36 -32
- package/es/time-picker/TimeRangePicker.js.map +1 -1
- package/es/time-picker/consts.js +25 -7
- package/es/time-picker/consts.js.map +1 -1
- package/es/time-picker/index.js +36 -32
- package/es/time-picker/index.js.map +1 -1
- package/es/time-picker/interfaces.js +1 -1
- package/es/time-picker/panel/SinglePanel.js +33 -30
- package/es/time-picker/panel/SinglePanel.js.map +1 -1
- package/es/time-picker/panel/TimePickerPanel.js +35 -31
- package/es/time-picker/panel/TimePickerPanel.js.map +1 -1
- package/es/time-picker/panel/TimePickerRangePanel.js +35 -31
- package/es/time-picker/panel/TimePickerRangePanel.js.map +1 -1
- package/es/time-picker/panel/style/index.js +1 -1
- package/es/time-picker/style/index.js +1 -1
- package/es/time-picker/type.js +1 -1
- package/es/tooltip/Tooltip.js +25 -8
- package/es/tooltip/Tooltip.js.map +1 -1
- package/es/tooltip/index.js +25 -8
- package/es/tooltip/index.js.map +1 -1
- package/es/tooltip/style/index.js +1 -1
- package/es/tooltip/type.js +1 -1
- package/es/transfer/Transfer.js +96 -62
- package/es/transfer/Transfer.js.map +1 -1
- package/es/transfer/TransferList.d.ts +1 -1
- package/es/transfer/TransferList.js +66 -44
- package/es/transfer/TransferList.js.map +1 -1
- package/es/transfer/index.js +43 -43
- package/es/transfer/style/index.css +0 -1
- package/es/transfer/style/index.js +1 -1
- package/es/transfer/type.d.ts +6 -1
- package/es/transfer/type.js +1 -1
- package/es/transfer/utils.d.ts +4 -0
- package/es/transfer/utils.js +58 -22
- package/es/transfer/utils.js.map +1 -1
- package/es/tree/Tree.js +54 -60
- package/es/tree/Tree.js.map +1 -1
- package/es/tree/TreeItem.js +39 -22
- package/es/tree/TreeItem.js.map +1 -1
- package/es/tree/index.d.ts +1 -0
- package/es/tree/index.js +53 -55
- package/es/tree/index.js.map +1 -1
- package/es/tree/interface.js +1 -1
- package/es/tree/style/index.js +1 -1
- package/es/tree/type.js +1 -1
- package/es/tree/useControllable.js +3 -3
- package/es/tree/useStore.js +39 -44
- package/es/tree/useStore.js.map +1 -1
- package/es/tree/useTreeConfig.d.ts +1 -0
- package/es/tree/useTreeConfig.js +37 -4
- package/es/tree/useTreeConfig.js.map +1 -1
- package/es/tree-select/TreeSelect.js +61 -60
- package/es/tree-select/TreeSelect.js.map +1 -1
- package/es/tree-select/TreeSelectInput.js +28 -26
- package/es/tree-select/TreeSelectInput.js.map +1 -1
- package/es/tree-select/TreeSelectSuffix.js +28 -26
- package/es/tree-select/TreeSelectSuffix.js.map +1 -1
- package/es/tree-select/TreeSelectTags.js +25 -6
- package/es/tree-select/TreeSelectTags.js.map +1 -1
- package/es/tree-select/index.js +49 -51
- package/es/tree-select/index.js.map +1 -1
- package/es/tree-select/style/index.js +1 -1
- package/es/tree-select/type.js +1 -1
- package/es/tree-select/useTreeSelectConfig.js +22 -3
- package/es/tree-select/useTreeSelectConfig.js.map +1 -1
- package/es/upload/boolean-render.js +1 -1
- package/es/upload/dragger.js +42 -17
- package/es/upload/dragger.js.map +1 -1
- package/es/upload/hooks/useDefaultValue.js +7 -7
- package/es/upload/hooks/useSizeLimit.js +24 -6
- package/es/upload/hooks/useSizeLimit.js.map +1 -1
- package/es/upload/index.js +41 -41
- package/es/upload/style/index.css +0 -380
- package/es/upload/style/index.js +1 -1
- package/es/upload/themes/dragger-progress.js +45 -20
- package/es/upload/themes/dragger-progress.js.map +1 -1
- package/es/upload/themes/flow-list/file-list.js +44 -20
- package/es/upload/themes/flow-list/file-list.js.map +1 -1
- package/es/upload/themes/flow-list/img-list.js +37 -16
- package/es/upload/themes/flow-list/img-list.js.map +1 -1
- package/es/upload/themes/flow-list/index.js +41 -18
- package/es/upload/themes/flow-list/index.js.map +1 -1
- package/es/upload/themes/flow-list/style/index.js +1 -1
- package/es/upload/themes/image-card.js +37 -19
- package/es/upload/themes/image-card.js.map +1 -1
- package/es/upload/themes/single-file.js +26 -13
- package/es/upload/themes/single-file.js.map +1 -1
- package/es/upload/themes/style/index.js +1 -1
- package/es/upload/tips.js +22 -2
- package/es/upload/tips.js.map +1 -1
- package/es/upload/type.js +1 -1
- package/es/upload/types.js +1 -1
- package/es/upload/upload-trigger.js +35 -14
- package/es/upload/upload-trigger.js.map +1 -1
- package/es/upload/upload.js +53 -47
- package/es/upload/upload.js.map +1 -1
- package/es/upload/util.js +3 -3
- package/{es/_chunks/dep-ea6cd97e.js → esm/_chunks/dep-042bedbb.js} +14 -7
- package/esm/_chunks/dep-042bedbb.js.map +1 -0
- package/esm/_chunks/{dep-d605b249.js → dep-0abff330.js} +5 -5
- package/esm/_chunks/{dep-d605b249.js.map → dep-0abff330.js.map} +1 -1
- package/esm/_chunks/{dep-e2086850.js → dep-0cd35a58.js} +4 -4
- package/{es/_chunks/dep-e2086850.js.map → esm/_chunks/dep-0cd35a58.js.map} +1 -1
- package/{es/_chunks/dep-c35a0ebd.js → esm/_chunks/dep-111de74b.js} +5 -5
- package/esm/_chunks/{dep-c35a0ebd.js.map → dep-111de74b.js.map} +1 -1
- package/esm/_chunks/{dep-543c3536.js → dep-227e0bb8.js} +3 -3
- package/esm/_chunks/{dep-543c3536.js.map → dep-227e0bb8.js.map} +1 -1
- package/{es/_chunks/dep-c1bcd3ad.js → esm/_chunks/dep-22a86c87.js} +5 -6
- package/{es/_chunks/dep-c1bcd3ad.js.map → esm/_chunks/dep-22a86c87.js.map} +1 -1
- package/esm/_chunks/dep-27f1e824.js +369 -0
- package/esm/_chunks/dep-27f1e824.js.map +1 -0
- package/{es/_chunks/dep-f91a0619.js → esm/_chunks/dep-2c2a1ed3.js} +67 -12
- package/esm/_chunks/dep-2c2a1ed3.js.map +1 -0
- package/esm/_chunks/dep-2e248bfc.js +33 -0
- package/esm/_chunks/dep-2e248bfc.js.map +1 -0
- package/{es/_chunks/dep-8a6e2075.js → esm/_chunks/dep-30cfd706.js} +7 -7
- package/{es/_chunks/dep-8a6e2075.js.map → esm/_chunks/dep-30cfd706.js.map} +1 -1
- package/esm/_chunks/dep-35873096.js +509 -0
- package/esm/_chunks/dep-35873096.js.map +1 -0
- package/{es/_chunks/dep-b946aae4.js → esm/_chunks/dep-37c74e3e.js} +22 -305
- package/esm/_chunks/dep-37c74e3e.js.map +1 -0
- package/{es/_chunks/dep-56f9520b.js → esm/_chunks/dep-3b0053d3.js} +4 -4
- package/{es/_chunks/dep-56f9520b.js.map → esm/_chunks/dep-3b0053d3.js.map} +1 -1
- package/esm/_chunks/dep-3c451e24.js +72 -0
- package/esm/_chunks/dep-3c451e24.js.map +1 -0
- package/{es/_chunks/dep-e50910a4.js → esm/_chunks/dep-48b4ec57.js} +9 -9
- package/{es/_chunks/dep-e50910a4.js.map → esm/_chunks/dep-48b4ec57.js.map} +1 -1
- package/esm/_chunks/{dep-60f5bd8f.js → dep-5eae925d.js} +2 -2
- package/esm/_chunks/dep-5eae925d.js.map +1 -0
- package/esm/_chunks/{dep-c7bc4d7c.js → dep-61b31811.js} +2 -2
- package/esm/_chunks/{dep-c7bc4d7c.js.map → dep-61b31811.js.map} +1 -1
- package/{es/_chunks/dep-8f1f4b9f.js → esm/_chunks/dep-649af003.js} +6 -6
- package/esm/_chunks/{dep-8f1f4b9f.js.map → dep-649af003.js.map} +1 -1
- package/esm/_chunks/{dep-178c8e4e.js → dep-6fade4e3.js} +376 -353
- package/esm/_chunks/dep-6fade4e3.js.map +1 -0
- package/{es/_chunks/dep-adec0da9.js → esm/_chunks/dep-727523bf.js} +4 -4
- package/{es/_chunks/dep-adec0da9.js.map → esm/_chunks/dep-727523bf.js.map} +1 -1
- package/{es/_chunks/dep-93fce92a.js → esm/_chunks/dep-73b99331.js} +8 -8
- package/esm/_chunks/{dep-93fce92a.js.map → dep-73b99331.js.map} +1 -1
- package/{es/_chunks/dep-b71058fe.js → esm/_chunks/dep-77e8c4b5.js} +2 -2
- package/esm/_chunks/{dep-b71058fe.js.map → dep-77e8c4b5.js.map} +1 -1
- package/esm/_chunks/dep-7b6a3ec4.js +177 -0
- package/esm/_chunks/dep-7b6a3ec4.js.map +1 -0
- package/esm/_chunks/dep-830a9fa5.js +43 -0
- package/esm/_chunks/dep-830a9fa5.js.map +1 -0
- package/esm/_chunks/dep-8aa68030.js +8 -0
- package/esm/_chunks/dep-8aa68030.js.map +1 -0
- package/esm/_chunks/{dep-98fc0271.js → dep-8b8704a1.js} +8 -63
- package/esm/_chunks/dep-8b8704a1.js.map +1 -0
- package/{es/_chunks/dep-7b191072.js → esm/_chunks/dep-932974e4.js} +5 -6
- package/esm/_chunks/{dep-7b191072.js.map → dep-932974e4.js.map} +1 -1
- package/{es/_chunks/dep-668799a7.js → esm/_chunks/dep-938d7916.js} +8 -8
- package/{es/_chunks/dep-668799a7.js.map → esm/_chunks/dep-938d7916.js.map} +1 -1
- package/{es/_chunks/dep-53dd2095.js → esm/_chunks/dep-9610b602.js} +4 -4
- package/esm/_chunks/{dep-53dd2095.js.map → dep-9610b602.js.map} +1 -1
- package/esm/_chunks/{dep-09adce29.js → dep-983f4fe8.js} +6 -7
- package/esm/_chunks/{dep-09adce29.js.map → dep-983f4fe8.js.map} +1 -1
- package/esm/_chunks/{dep-a63e82ae.js → dep-9bca7361.js} +61 -7
- package/esm/_chunks/dep-9bca7361.js.map +1 -0
- package/esm/_chunks/dep-9d7b45c8.js +145 -0
- package/esm/_chunks/dep-9d7b45c8.js.map +1 -0
- package/esm/_chunks/dep-9dab94c3.js +29 -0
- package/esm/_chunks/dep-9dab94c3.js.map +1 -0
- package/esm/_chunks/{dep-27b799a5.js → dep-9e014651.js} +7 -7
- package/esm/_chunks/{dep-27b799a5.js.map → dep-9e014651.js.map} +1 -1
- package/esm/_chunks/{dep-1bb17190.js → dep-9fa63e33.js} +3 -3
- package/esm/_chunks/{dep-1bb17190.js.map → dep-9fa63e33.js.map} +1 -1
- package/esm/_chunks/{dep-5056c08a.js → dep-a3b8ffa0.js} +4 -4
- package/esm/_chunks/{dep-5056c08a.js.map → dep-a3b8ffa0.js.map} +1 -1
- package/{es/_chunks/dep-3222ad5b.js → esm/_chunks/dep-a442ec03.js} +3 -3
- package/{lib/_chunks/dep-06e9d05b.js.map → esm/_chunks/dep-a442ec03.js.map} +1 -1
- package/{es/_chunks/dep-3078962f.js → esm/_chunks/dep-a47c4980.js} +4 -4
- package/esm/_chunks/{dep-3078962f.js.map → dep-a47c4980.js.map} +1 -1
- package/esm/_chunks/{dep-fee68d62.js → dep-abdadc25.js} +9 -8
- package/esm/_chunks/{dep-fee68d62.js.map → dep-abdadc25.js.map} +1 -1
- package/{es/_chunks/dep-cf8954fb.js → esm/_chunks/dep-b0578a3e.js} +7 -7
- package/esm/_chunks/{dep-cf8954fb.js.map → dep-b0578a3e.js.map} +1 -1
- package/esm/_chunks/{dep-a0283fb8.js → dep-b4e3cb44.js} +4 -4
- package/esm/_chunks/{dep-a0283fb8.js.map → dep-b4e3cb44.js.map} +1 -1
- package/{es/_chunks/dep-f0919110.js → esm/_chunks/dep-bce28960.js} +3 -3
- package/esm/_chunks/{dep-f0919110.js.map → dep-bce28960.js.map} +1 -1
- package/esm/_chunks/{dep-fe3c82a4.js → dep-c2c4686e.js} +5 -5
- package/{es/_chunks/dep-fe3c82a4.js.map → esm/_chunks/dep-c2c4686e.js.map} +1 -1
- package/{es/_chunks/dep-71e7a5f0.js → esm/_chunks/dep-c5ce2ac5.js} +4 -3
- package/{lib/_chunks/dep-f9d6d07c.js.map → esm/_chunks/dep-c5ce2ac5.js.map} +1 -1
- package/esm/_chunks/{dep-2f14ad8e.js → dep-d74460c1.js} +24 -11
- package/esm/_chunks/dep-d74460c1.js.map +1 -0
- package/esm/_chunks/dep-d8fd6317.js +208 -0
- package/esm/_chunks/dep-d8fd6317.js.map +1 -0
- package/{es/_chunks/dep-a3d78aac.js → esm/_chunks/dep-d9a945d8.js} +4 -4
- package/esm/_chunks/{dep-a3d78aac.js.map → dep-d9a945d8.js.map} +1 -1
- package/esm/_chunks/{dep-6cb7fff9.js → dep-ddc1a5af.js} +3 -3
- package/esm/_chunks/{dep-6cb7fff9.js.map → dep-ddc1a5af.js.map} +1 -1
- package/esm/_chunks/{dep-195c3d75.js → dep-e2c3e976.js} +2 -2
- package/esm/_chunks/{dep-195c3d75.js.map → dep-e2c3e976.js.map} +1 -1
- package/{es/_chunks/dep-d879782b.js → esm/_chunks/dep-e5760bc1.js} +7 -9
- package/esm/_chunks/{dep-d879782b.js.map → dep-e5760bc1.js.map} +1 -1
- package/esm/_chunks/dep-e669a217.js +252 -0
- package/esm/_chunks/dep-e669a217.js.map +1 -0
- package/esm/_chunks/{dep-bc6012b1.js → dep-f28d087e.js} +2 -2
- package/esm/_chunks/{dep-bc6012b1.js.map → dep-f28d087e.js.map} +1 -1
- package/{es/_chunks/dep-6c7ebad8.js → esm/_chunks/dep-faf5fda7.js} +4 -4
- package/esm/_chunks/{dep-6c7ebad8.js.map → dep-faf5fda7.js.map} +1 -1
- package/esm/_common/js/common.js +1 -1
- package/esm/_common/js/date-picker/utils.js +32 -19
- package/esm/_common/js/date-picker/utils.js.map +1 -1
- package/esm/_common/js/loading/circle-adapter.js +5 -5
- package/esm/_common/js/locale/en_US.d.ts +139 -0
- package/esm/_common/js/locale/en_US.js +147 -0
- package/esm/_common/js/locale/en_US.js.map +1 -0
- package/esm/_common/js/locale/zh_CN.d.ts +132 -0
- package/esm/_common/js/locale/zh_CN.js +140 -0
- package/esm/_common/js/locale/zh_CN.js.map +1 -0
- package/esm/_common/js/log/index.js +9 -0
- package/esm/_common/js/log/index.js.map +1 -0
- package/esm/_common/js/log/log.js +1 -1
- package/esm/_common/js/log/types.js +1 -1
- package/esm/_common/js/tree/tree-node-model.js +21 -26
- package/esm/_common/js/tree/tree-node-model.js.map +1 -1
- package/esm/_common/js/tree/tree-node.js +26 -31
- package/esm/_common/js/tree/tree-node.js.map +1 -1
- package/esm/_common/js/tree/tree-store.js +34 -40
- package/esm/_common/js/tree/tree-store.js.map +1 -1
- package/esm/_common/js/tree/types.js +1 -1
- package/esm/_common/js/upload/types.js +1 -1
- package/esm/_common/js/upload/xhr.js +1 -1
- package/esm/_common/js/utils/helper.js +5 -5
- package/esm/_common/js/utils/set-style.js +1 -1
- package/esm/_common/style/web/_global.less +1 -1
- package/esm/_common/style/web/components/breadcrumb/_index.less +1 -1
- package/esm/_common/style/web/components/button/_index.less +61 -55
- package/esm/_common/style/web/components/button/_mixin.less +6 -4
- package/esm/_common/style/web/components/calendar/_index.less +3 -3
- package/esm/_common/style/web/components/cascader/_index.less +3 -5
- package/esm/_common/style/web/components/dropdown/_index.less +1 -1
- package/esm/_common/style/web/components/form/_index.less +9 -55
- package/esm/_common/style/web/components/form/_mixin.less +25 -3
- package/esm/_common/style/web/components/icon/_index.less +1 -1
- package/esm/_common/style/web/components/input/_index.less +12 -2
- package/esm/_common/style/web/components/input/_mixin.less +4 -12
- package/esm/_common/style/web/components/input/_var.less +1 -1
- package/esm/_common/style/web/components/input-number/_index.less +36 -1
- package/esm/_common/style/web/components/select/_index.less +8 -8
- package/esm/_common/style/web/components/slider/_index.less +4 -2
- package/esm/_common/style/web/components/switch/_var.less +1 -1
- package/esm/_common/style/web/components/textarea/_index.less +4 -0
- package/esm/_common/style/web/components/transfer/_index.less +0 -3
- package/esm/_common/style/web/components/transfer/_var.less +1 -3
- package/esm/_common/style/web/components/upload/_index.less +1 -3
- package/esm/_util/callBoth.js +1 -1
- package/esm/_util/composeRefs.js +1 -1
- package/esm/_util/dom.js +8 -8
- package/esm/_util/easing.js +1 -1
- package/esm/_util/forwardRefWithStatics.js +1 -1
- package/esm/_util/getScrollbarWidth.js +1 -1
- package/esm/_util/hasScrollBar.js +1 -1
- package/esm/_util/helper.js +16 -16
- package/esm/_util/injectValue.js +1 -1
- package/esm/_util/insertCSS.js +1 -1
- package/esm/_util/isCallable.js +1 -1
- package/esm/_util/linearGradient.js +2 -2
- package/esm/_util/noop.js +1 -1
- package/esm/_util/number.js +1 -1
- package/esm/_util/setStyle.js +1 -1
- package/esm/_util/useClickOutside.js +1 -1
- package/esm/_util/useCommonClassName.js +22 -2
- package/esm/_util/useCommonClassName.js.map +1 -1
- package/esm/_util/useConfig.d.ts +2 -1
- package/esm/_util/useConfig.js +23 -3
- package/esm/_util/useConfig.js.map +1 -1
- package/esm/_util/useDefault.js +3 -3
- package/esm/_util/useDefaultValue.js +5 -5
- package/esm/_util/usePersistFn.js +1 -1
- package/esm/_util/usePrevious.js +1 -1
- package/esm/_util/useRefAndForward.js +1 -1
- package/esm/_util/useRipple.js +22 -2
- package/esm/_util/useRipple.js.map +1 -1
- package/esm/_util/useSetState.js +4 -4
- package/esm/_util/useUpdateEffect.js +1 -1
- package/esm/addon/Addon.js +23 -4
- package/esm/addon/Addon.js.map +1 -1
- package/esm/addon/index.js +23 -4
- package/esm/addon/index.js.map +1 -1
- package/esm/affix/Affix.d.ts +1 -0
- package/esm/affix/Affix.js +25 -15
- package/esm/affix/Affix.js.map +1 -1
- package/esm/affix/index.js +25 -15
- package/esm/affix/index.js.map +1 -1
- package/esm/affix/type.js +1 -1
- package/esm/alert/Alert.js +25 -6
- package/esm/alert/Alert.js.map +1 -1
- package/esm/alert/index.js +25 -6
- package/esm/alert/index.js.map +1 -1
- package/esm/alert/type.js +1 -1
- package/esm/anchor/Anchor.js +28 -26
- package/esm/anchor/Anchor.js.map +1 -1
- package/esm/anchor/AnchorContext.js +1 -1
- package/esm/anchor/AnchorItem.js +23 -4
- package/esm/anchor/AnchorItem.js.map +1 -1
- package/esm/anchor/AnchorTarget.js +26 -13
- package/esm/anchor/AnchorTarget.js.map +1 -1
- package/esm/anchor/_util/clipboard.js +1 -1
- package/esm/anchor/_util/dom.js +1 -1
- package/esm/anchor/index.js +28 -26
- package/esm/anchor/index.js.map +1 -1
- package/esm/anchor/type.js +1 -1
- package/esm/avatar/AvararGroup.js +26 -8
- package/esm/avatar/AvararGroup.js.map +1 -1
- package/esm/avatar/Avatar.js +26 -8
- package/esm/avatar/Avatar.js.map +1 -1
- package/esm/avatar/AvatarContext.js +1 -1
- package/esm/avatar/index.js +26 -8
- package/esm/avatar/index.js.map +1 -1
- package/esm/avatar/type.js +1 -1
- package/esm/badge/Badge.js +23 -4
- package/esm/badge/Badge.js.map +1 -1
- package/esm/badge/index.js +23 -4
- package/esm/badge/index.js.map +1 -1
- package/esm/badge/type.js +1 -1
- package/esm/breadcrumb/Breadcrumb.js +27 -6
- package/esm/breadcrumb/Breadcrumb.js.map +1 -1
- package/esm/breadcrumb/BreadcrumbContext.d.ts +1 -0
- package/esm/breadcrumb/BreadcrumbContext.js +3 -2
- package/esm/breadcrumb/BreadcrumbContext.js.map +1 -1
- package/esm/breadcrumb/BreadcrumbItem.js +26 -6
- package/esm/breadcrumb/BreadcrumbItem.js.map +1 -1
- package/esm/breadcrumb/BreadcrumbProps.js +1 -1
- package/esm/breadcrumb/index.js +23 -4
- package/esm/breadcrumb/index.js.map +1 -1
- package/esm/breadcrumb/type.d.ts +6 -2
- package/esm/breadcrumb/type.js +1 -1
- package/esm/button/Button.js +26 -13
- package/esm/button/Button.js.map +1 -1
- package/esm/button/index.js +26 -13
- package/esm/button/index.js.map +1 -1
- package/esm/button/type.js +1 -1
- package/esm/calendar/Calendar.js +39 -31
- package/esm/calendar/Calendar.js.map +1 -1
- package/esm/calendar/_util.js +1 -1
- package/esm/calendar/index.js +36 -29
- package/esm/calendar/index.js.map +1 -1
- package/esm/calendar/type.js +1 -1
- package/esm/card/type.js +1 -1
- package/esm/cascader/Cascader.js +60 -59
- package/esm/cascader/Cascader.js.map +1 -1
- package/esm/cascader/components/InputContent.js +27 -25
- package/esm/cascader/components/InputContent.js.map +1 -1
- package/esm/cascader/components/Item.js +39 -23
- package/esm/cascader/components/Item.js.map +1 -1
- package/esm/cascader/components/Panel.js +34 -21
- package/esm/cascader/components/Panel.js.map +1 -1
- package/esm/cascader/index.js +47 -49
- package/esm/cascader/index.js.map +1 -1
- package/esm/cascader/interface.d.ts +1 -1
- package/esm/cascader/interface.js +26 -31
- package/esm/cascader/interface.js.map +1 -1
- package/esm/cascader/type.js +1 -1
- package/esm/cascader/utils/cascader.js +4 -4
- package/esm/cascader/utils/helper.js +2 -2
- package/esm/cascader/utils/inputContent.js +16 -21
- package/esm/cascader/utils/inputContent.js.map +1 -1
- package/esm/cascader/utils/item.js +4 -4
- package/esm/cascader/utils/panel.js +8 -8
- package/esm/checkbox/Checkbox.js +32 -19
- package/esm/checkbox/Checkbox.js.map +1 -1
- package/esm/checkbox/CheckboxGroup.js +32 -19
- package/esm/checkbox/CheckboxGroup.js.map +1 -1
- package/esm/checkbox/index.js +32 -19
- package/esm/checkbox/index.js.map +1 -1
- package/esm/checkbox/type.js +1 -1
- package/esm/comment/Comment.js +22 -2
- package/esm/comment/Comment.js.map +1 -1
- package/esm/comment/index.js +22 -2
- package/esm/comment/index.js.map +1 -1
- package/esm/comment/type.js +1 -1
- package/esm/common/Check.d.ts +1 -1
- package/esm/common/Check.js +30 -17
- package/esm/common/Check.js.map +1 -1
- package/esm/common/FakeArrow.js +22 -3
- package/esm/common/FakeArrow.js.map +1 -1
- package/esm/common/Portal.js +2 -2
- package/esm/common.js +1 -1
- package/esm/config-provider/ConfigContext.d.ts +335 -43
- package/esm/config-provider/ConfigContext.js +24 -12
- package/esm/config-provider/ConfigContext.js.map +1 -1
- package/esm/config-provider/ConfigProvider.d.ts +8 -1
- package/esm/config-provider/ConfigProvider.js +29 -13
- package/esm/config-provider/ConfigProvider.js.map +1 -1
- package/esm/config-provider/defaultConfig.d.ts +3 -0
- package/esm/config-provider/defaultConfig.js +47 -0
- package/esm/config-provider/defaultConfig.js.map +1 -0
- package/esm/config-provider/index.d.ts +3 -3
- package/esm/config-provider/index.js +23 -5
- package/esm/config-provider/index.js.map +1 -1
- package/esm/config-provider/type.d.ts +164 -20
- package/esm/config-provider/type.js +1 -1
- package/esm/date-picker/DatePicker.js +35 -34
- package/esm/date-picker/DatePicker.js.map +1 -1
- package/esm/date-picker/base/CalendarPresets.js +26 -13
- package/esm/date-picker/base/CalendarPresets.js.map +1 -1
- package/esm/date-picker/base/Cell.js +22 -3
- package/esm/date-picker/base/Cell.js.map +1 -1
- package/esm/date-picker/base/Header.js +26 -13
- package/esm/date-picker/base/Header.js.map +1 -1
- package/esm/date-picker/base/Table.js +24 -6
- package/esm/date-picker/base/Table.js.map +1 -1
- package/esm/date-picker/index.js +35 -34
- package/esm/date-picker/index.js.map +1 -1
- package/esm/date-picker/panel/Date.js +30 -27
- package/esm/date-picker/panel/Date.js.map +1 -1
- package/esm/date-picker/panel/DateRange.js +30 -27
- package/esm/date-picker/panel/DateRange.js.map +1 -1
- package/esm/date-picker/type.js +1 -1
- package/esm/dialog/Dialog.js +30 -17
- package/esm/dialog/Dialog.js.map +1 -1
- package/esm/dialog/RenderDialog.js +3 -3
- package/esm/dialog/index.js +26 -13
- package/esm/dialog/index.js.map +1 -1
- package/esm/dialog/plugin.js +26 -13
- package/esm/dialog/plugin.js.map +1 -1
- package/esm/dialog/type.js +1 -1
- package/esm/divider/Divider.js +23 -4
- package/esm/divider/Divider.js.map +1 -1
- package/esm/divider/index.js +23 -4
- package/esm/divider/index.js.map +1 -1
- package/esm/divider/type.js +1 -1
- package/esm/drawer/Drawer.js +36 -23
- package/esm/drawer/Drawer.js.map +1 -1
- package/esm/drawer/DrawerWrapper.js +4 -4
- package/esm/drawer/DrawerWrapper.js.map +1 -1
- package/esm/drawer/index.js +26 -13
- package/esm/drawer/index.js.map +1 -1
- package/esm/drawer/type.js +1 -1
- package/esm/dropdown/Dropdown.d.ts +2 -1
- package/esm/dropdown/Dropdown.js +46 -49
- package/esm/dropdown/Dropdown.js.map +1 -1
- package/esm/dropdown/DropdownItem.js +30 -17
- package/esm/dropdown/DropdownItem.js.map +1 -1
- package/esm/dropdown/DropdownMenu.js +31 -18
- package/esm/dropdown/DropdownMenu.js.map +1 -1
- package/esm/dropdown/index.d.ts +2 -1
- package/esm/dropdown/index.js +40 -44
- package/esm/dropdown/index.js.map +1 -1
- package/esm/dropdown/type.js +1 -1
- package/esm/form/Form.d.ts +2 -2
- package/esm/form/Form.js +155 -98
- package/esm/form/Form.js.map +1 -1
- package/esm/form/FormContext.d.ts +2 -0
- package/esm/form/FormContext.js +2 -1
- package/esm/form/FormContext.js.map +1 -1
- package/esm/form/FormItem.js +59 -56
- package/esm/form/FormItem.js.map +1 -1
- package/esm/form/formModel.js +26 -31
- package/esm/form/formModel.js.map +1 -1
- package/esm/form/index.js +48 -48
- package/esm/form/type.d.ts +127 -28
- package/esm/form/type.js +1 -1
- package/esm/grid/Col.js +23 -7
- package/esm/grid/Col.js.map +1 -1
- package/esm/grid/Row.js +25 -9
- package/esm/grid/Row.js.map +1 -1
- package/esm/grid/index.js +25 -9
- package/esm/grid/index.js.map +1 -1
- package/esm/grid/type.d.ts +1 -2
- package/esm/grid/type.js +1 -1
- package/esm/index.js +63 -63
- package/esm/input/Input.js +28 -8
- package/esm/input/Input.js.map +1 -1
- package/esm/input/InputGroup.js +23 -4
- package/esm/input/InputGroup.js.map +1 -1
- package/esm/input/index.js +25 -6
- package/esm/input/index.js.map +1 -1
- package/esm/input/type.d.ts +10 -1
- package/esm/input/type.js +1 -1
- package/esm/input-number/InputNumber.js +26 -13
- package/esm/input-number/InputNumber.js.map +1 -1
- package/esm/input-number/StepHandler.js +26 -13
- package/esm/input-number/StepHandler.js.map +1 -1
- package/esm/input-number/index.js +26 -13
- package/esm/input-number/index.js.map +1 -1
- package/esm/input-number/type.js +1 -1
- package/esm/input-number/utils/numberUtils.js +1 -1
- package/esm/layout/Aside.js +23 -4
- package/esm/layout/Aside.js.map +1 -1
- package/esm/layout/Layout.js +25 -7
- package/esm/layout/Layout.js.map +1 -1
- package/esm/layout/index.js +25 -7
- package/esm/layout/index.js.map +1 -1
- package/esm/layout/type.js +1 -1
- package/esm/list/List.js +35 -14
- package/esm/list/List.js.map +1 -1
- package/esm/list/ListItem.js +22 -2
- package/esm/list/ListItem.js.map +1 -1
- package/esm/list/ListItemMeta.js +22 -2
- package/esm/list/ListItemMeta.js.map +1 -1
- package/esm/list/index.js +29 -13
- package/esm/list/index.js.map +1 -1
- package/esm/list/type.js +1 -1
- package/esm/loading/gradient.js +25 -6
- package/esm/loading/gradient.js.map +1 -1
- package/esm/loading/index.js +26 -13
- package/esm/loading/index.js.map +1 -1
- package/esm/loading/loading.js +26 -13
- package/esm/loading/loading.js.map +1 -1
- package/esm/loading/plugin.js +26 -13
- package/esm/loading/plugin.js.map +1 -1
- package/esm/loading/type.js +1 -1
- package/esm/locale/LocalReceiver.d.ts +43 -12
- package/esm/locale/LocalReceiver.js +26 -8
- package/esm/locale/LocalReceiver.js.map +1 -1
- package/esm/locale/en_US.d.ts +2 -0
- package/esm/locale/en_US.js +9 -0
- package/esm/locale/en_US.js.map +1 -0
- package/esm/locale/zh_CN.d.ts +2 -101
- package/esm/locale/zh_CN.js +3 -103
- package/esm/locale/zh_CN.js.map +1 -1
- package/esm/menu/HeadMenu.js +25 -9
- package/esm/menu/HeadMenu.js.map +1 -1
- package/esm/menu/Menu.js +25 -9
- package/esm/menu/Menu.js.map +1 -1
- package/esm/menu/MenuContext.js +1 -1
- package/esm/menu/MenuGroup.js +22 -2
- package/esm/menu/MenuGroup.js.map +1 -1
- package/esm/menu/MenuItem.js +22 -3
- package/esm/menu/MenuItem.js.map +1 -1
- package/esm/menu/SubMenu.js +24 -5
- package/esm/menu/SubMenu.js.map +1 -1
- package/esm/menu/_util/cacularPaddingLeft.js +1 -1
- package/esm/menu/_util/checkMenuType.js +1 -1
- package/esm/menu/_util/checkSubMenuActive.js +1 -1
- package/esm/menu/_util/checkSubMenuChildExpanded.js +3 -3
- package/esm/menu/_util/checkSubMenuChildrenActive.js +1 -1
- package/esm/menu/_util/constant.js +1 -1
- package/esm/menu/_util/getSubMenuChildStyle.js +1 -1
- package/esm/menu/_util/type.js +1 -1
- package/esm/menu/hooks/useMenuContext.js +5 -5
- package/esm/menu/index.js +25 -9
- package/esm/menu/index.js.map +1 -1
- package/esm/menu/type.js +1 -1
- package/esm/message/Message.js +26 -13
- package/esm/message/Message.js.map +1 -1
- package/esm/message/MessageClose.js +22 -2
- package/esm/message/MessageClose.js.map +1 -1
- package/esm/message/MessageComponent.js +26 -13
- package/esm/message/MessageComponent.js.map +1 -1
- package/esm/message/MessageIcon.js +26 -13
- package/esm/message/MessageIcon.js.map +1 -1
- package/esm/message/const.js +1 -1
- package/esm/message/index.js +26 -13
- package/esm/message/index.js.map +1 -1
- package/esm/message/type.js +1 -1
- package/esm/message/useMessageClass.js +22 -2
- package/esm/message/useMessageClass.js.map +1 -1
- package/esm/notification/Notification.js +24 -4
- package/esm/notification/Notification.js.map +1 -1
- package/esm/notification/NotificationList.js +25 -6
- package/esm/notification/NotificationList.js.map +1 -1
- package/esm/notification/NotificationPlugin.js +25 -7
- package/esm/notification/NotificationPlugin.js.map +1 -1
- package/esm/notification/index.js +25 -7
- package/esm/notification/index.js.map +1 -1
- package/esm/notification/type.js +1 -1
- package/esm/pagination/Pagination.js +32 -25
- package/esm/pagination/Pagination.js.map +1 -1
- package/esm/pagination/index.js +32 -25
- package/esm/pagination/index.js.map +1 -1
- package/esm/pagination/type.js +1 -1
- package/esm/pagination/validators.js +1 -1
- package/esm/popconfirm/PopConfirm.js +45 -24
- package/esm/popconfirm/PopConfirm.js.map +1 -1
- package/esm/popconfirm/PopContent.js +29 -27
- package/esm/popconfirm/PopContent.js.map +1 -1
- package/esm/popconfirm/index.js +28 -16
- package/esm/popconfirm/index.js.map +1 -1
- package/esm/popconfirm/type.js +1 -1
- package/esm/popup/Popup.js +30 -14
- package/esm/popup/Popup.js.map +1 -1
- package/esm/popup/hooks/usePopupCssTransition.js +4 -4
- package/esm/popup/hooks/useTriggerProps.js +1 -1
- package/esm/popup/index.js +24 -6
- package/esm/popup/index.js.map +1 -1
- package/esm/popup/type.js +1 -1
- package/esm/progress/Progress.js +23 -4
- package/esm/progress/Progress.js.map +1 -1
- package/esm/progress/index.js +23 -4
- package/esm/progress/index.js.map +1 -1
- package/esm/progress/type.js +1 -1
- package/esm/radio/Radio.js +31 -18
- package/esm/radio/Radio.js.map +1 -1
- package/esm/radio/RadioGroup.js +31 -18
- package/esm/radio/RadioGroup.js.map +1 -1
- package/esm/radio/index.js +31 -18
- package/esm/radio/index.js.map +1 -1
- package/esm/radio/type.js +1 -1
- package/esm/rate/type.js +1 -1
- package/esm/select/base/Option.js +28 -21
- package/esm/select/base/Option.js.map +1 -1
- package/esm/select/base/OptionGroup.js +22 -3
- package/esm/select/base/OptionGroup.js.map +1 -1
- package/esm/select/base/PopupContent.js +35 -26
- package/esm/select/base/PopupContent.js.map +1 -1
- package/esm/select/base/Select.js +34 -27
- package/esm/select/base/Select.js.map +1 -1
- package/esm/select/index.js +32 -25
- package/esm/select/index.js.map +1 -1
- package/esm/select/type.js +1 -1
- package/esm/select/util/helper.js +36 -35
- package/esm/select/util/helper.js.map +1 -1
- package/esm/skeleton/Skeleton.js +32 -19
- package/esm/skeleton/Skeleton.js.map +1 -1
- package/esm/skeleton/index.js +32 -19
- package/esm/skeleton/index.js.map +1 -1
- package/esm/skeleton/type.js +1 -1
- package/esm/slider/Slider.js +26 -13
- package/esm/slider/Slider.js.map +1 -1
- package/esm/slider/SliderHandleButton.js +25 -8
- package/esm/slider/SliderHandleButton.js.map +1 -1
- package/esm/slider/index.js +26 -13
- package/esm/slider/index.js.map +1 -1
- package/esm/slider/type.js +1 -1
- package/esm/slider/utils/handleNumber.js +1 -1
- package/esm/steps/StepItem.js +22 -3
- package/esm/steps/StepItem.js.map +1 -1
- package/esm/steps/Steps.js +22 -3
- package/esm/steps/Steps.js.map +1 -1
- package/esm/steps/StepsContext.js +1 -1
- package/esm/steps/index.js +22 -3
- package/esm/steps/index.js.map +1 -1
- package/esm/steps/type.js +1 -1
- package/esm/sticky-tool/type.js +1 -1
- package/esm/swiper/Swiper.js +24 -5
- package/esm/swiper/Swiper.js.map +1 -1
- package/esm/swiper/SwiperItem.js +1 -1
- package/esm/swiper/index.js +24 -5
- package/esm/swiper/index.js.map +1 -1
- package/esm/swiper/type.js +1 -1
- package/esm/switch/Switch.js +26 -13
- package/esm/switch/Switch.js.map +1 -1
- package/esm/switch/index.js +26 -13
- package/esm/switch/index.js.map +1 -1
- package/esm/switch/type.js +1 -1
- package/esm/table/base/Table.js +48 -34
- package/esm/table/base/Table.js.map +1 -1
- package/esm/table/base/TableAsyncLoadingBody.js +35 -17
- package/esm/table/base/TableAsyncLoadingBody.js.map +1 -1
- package/esm/table/base/TableBody.js +36 -24
- package/esm/table/base/TableBody.js.map +1 -1
- package/esm/table/base/TableCell.js +31 -7
- package/esm/table/base/TableCell.js.map +1 -1
- package/esm/table/base/TableColGroup.js +1 -1
- package/esm/table/base/TableContext.d.ts +5 -1
- package/esm/table/base/TableContext.js +4 -2
- package/esm/table/base/TableContext.js.map +1 -1
- package/esm/table/base/TableEmptyBody.js +33 -3
- package/esm/table/base/TableEmptyBody.js.map +1 -1
- package/esm/table/base/TableFooter.js +1 -1
- package/esm/table/base/TableHeader.js +26 -13
- package/esm/table/base/TableHeader.js.map +1 -1
- package/esm/table/base/TableLoadingBody.js +5 -7
- package/esm/table/base/TableLoadingBody.js.map +1 -1
- package/esm/table/base/TableRow.js +29 -22
- package/esm/table/base/TableRow.js.map +1 -1
- package/esm/table/enhanced/Table.d.ts +4 -0
- package/esm/table/enhanced/Table.js +185 -0
- package/esm/table/enhanced/Table.js.map +1 -0
- package/esm/table/enhanced/TableContext.d.ts +12 -0
- package/esm/table/enhanced/TableContext.js +19 -0
- package/esm/table/enhanced/TableContext.js.map +1 -0
- package/esm/table/enhanced/style/css.d.ts +1 -0
- package/esm/table/enhanced/style/index.d.ts +1 -0
- package/esm/table/enhanced/style/index.js +1 -0
- package/esm/table/enhanced/useTree.d.ts +11 -0
- package/esm/table/enhanced/useTree.js +219 -0
- package/esm/table/enhanced/useTree.js.map +1 -0
- package/esm/table/hooks/useColumns.js +4 -4
- package/esm/table/index.d.ts +2 -0
- package/esm/table/index.js +44 -33
- package/esm/table/index.js.map +1 -1
- package/esm/table/primary/FilterButton.js +47 -31
- package/esm/table/primary/FilterButton.js.map +1 -1
- package/esm/table/primary/SorterButton.js +42 -19
- package/esm/table/primary/SorterButton.js.map +1 -1
- package/esm/table/primary/Table.js +40 -32
- package/esm/table/primary/Table.js.map +1 -1
- package/esm/table/primary/expand-box.js +26 -9
- package/esm/table/primary/expand-box.js.map +1 -1
- package/esm/table/primary/useDragSorter.js +3 -3
- package/esm/table/primary/useExpand.js +34 -29
- package/esm/table/primary/useExpand.js.map +1 -1
- package/esm/table/primary/useFilter.js +35 -24
- package/esm/table/primary/useFilter.js.map +1 -1
- package/esm/table/primary/useSelect.js +295 -97
- package/esm/table/primary/useSelect.js.map +1 -1
- package/esm/table/primary/useSorter.js +38 -30
- package/esm/table/primary/useSorter.js.map +1 -1
- package/esm/table/type.js +1 -1
- package/esm/table/util/getRowKeyFromRowKey.js +1 -1
- package/esm/table/util/index.js +1 -1
- package/esm/tabs/TabBar.js +24 -5
- package/esm/tabs/TabBar.js.map +1 -1
- package/esm/tabs/TabNav.js +24 -5
- package/esm/tabs/TabNav.js.map +1 -1
- package/esm/tabs/TabNavItem.js +22 -2
- package/esm/tabs/TabNavItem.js.map +1 -1
- package/esm/tabs/TabPanel.js +22 -2
- package/esm/tabs/TabPanel.js.map +1 -1
- package/esm/tabs/Tabs.js +24 -5
- package/esm/tabs/Tabs.js.map +1 -1
- package/esm/tabs/index.js +24 -5
- package/esm/tabs/index.js.map +1 -1
- package/esm/tabs/type.js +1 -1
- package/esm/tabs/useTabClass.js +22 -2
- package/esm/tabs/useTabClass.js.map +1 -1
- package/esm/tag/CheckTag.js +33 -8
- package/esm/tag/CheckTag.js.map +1 -1
- package/esm/tag/Tag.js +31 -10
- package/esm/tag/Tag.js.map +1 -1
- package/esm/tag/index.js +25 -6
- package/esm/tag/index.js.map +1 -1
- package/esm/tag/type.d.ts +7 -3
- package/esm/tag/type.js +1 -1
- package/esm/textarea/Textarea.js +30 -17
- package/esm/textarea/Textarea.js.map +1 -1
- package/esm/textarea/index.js +30 -17
- package/esm/textarea/index.js.map +1 -1
- package/esm/textarea/type.js +1 -1
- package/esm/time-picker/InputItems.js +33 -23
- package/esm/time-picker/InputItems.js.map +1 -1
- package/esm/time-picker/TimePicker.js +36 -32
- package/esm/time-picker/TimePicker.js.map +1 -1
- package/esm/time-picker/TimeRangePicker.js +36 -32
- package/esm/time-picker/TimeRangePicker.js.map +1 -1
- package/esm/time-picker/consts.js +25 -7
- package/esm/time-picker/consts.js.map +1 -1
- package/esm/time-picker/index.js +36 -32
- package/esm/time-picker/index.js.map +1 -1
- package/esm/time-picker/interfaces.js +1 -1
- package/esm/time-picker/panel/SinglePanel.js +33 -30
- package/esm/time-picker/panel/SinglePanel.js.map +1 -1
- package/esm/time-picker/panel/TimePickerPanel.js +35 -31
- package/esm/time-picker/panel/TimePickerPanel.js.map +1 -1
- package/esm/time-picker/panel/TimePickerRangePanel.js +35 -31
- package/esm/time-picker/panel/TimePickerRangePanel.js.map +1 -1
- package/esm/time-picker/type.js +1 -1
- package/esm/tooltip/Tooltip.js +25 -8
- package/esm/tooltip/Tooltip.js.map +1 -1
- package/esm/tooltip/index.js +25 -8
- package/esm/tooltip/index.js.map +1 -1
- package/esm/tooltip/type.js +1 -1
- package/esm/transfer/Transfer.js +96 -62
- package/esm/transfer/Transfer.js.map +1 -1
- package/esm/transfer/TransferList.d.ts +1 -1
- package/esm/transfer/TransferList.js +66 -44
- package/esm/transfer/TransferList.js.map +1 -1
- package/esm/transfer/index.js +43 -43
- package/esm/transfer/type.d.ts +6 -1
- package/esm/transfer/type.js +1 -1
- package/esm/transfer/utils.d.ts +4 -0
- package/esm/transfer/utils.js +58 -22
- package/esm/transfer/utils.js.map +1 -1
- package/esm/tree/Tree.js +54 -60
- package/esm/tree/Tree.js.map +1 -1
- package/esm/tree/TreeItem.js +39 -22
- package/esm/tree/TreeItem.js.map +1 -1
- package/esm/tree/index.d.ts +1 -0
- package/esm/tree/index.js +53 -54
- package/esm/tree/index.js.map +1 -1
- package/esm/tree/interface.js +1 -1
- package/esm/tree/type.js +1 -1
- package/esm/tree/useControllable.js +3 -3
- package/esm/tree/useStore.js +39 -44
- package/esm/tree/useStore.js.map +1 -1
- package/esm/tree/useTreeConfig.d.ts +1 -0
- package/esm/tree/useTreeConfig.js +37 -4
- package/esm/tree/useTreeConfig.js.map +1 -1
- package/esm/tree-select/TreeSelect.js +62 -60
- package/esm/tree-select/TreeSelect.js.map +1 -1
- package/esm/tree-select/TreeSelectInput.js +28 -26
- package/esm/tree-select/TreeSelectInput.js.map +1 -1
- package/esm/tree-select/TreeSelectSuffix.js +28 -26
- package/esm/tree-select/TreeSelectSuffix.js.map +1 -1
- package/esm/tree-select/TreeSelectTags.js +25 -6
- package/esm/tree-select/TreeSelectTags.js.map +1 -1
- package/esm/tree-select/index.js +50 -51
- package/esm/tree-select/index.js.map +1 -1
- package/esm/tree-select/type.js +1 -1
- package/esm/tree-select/useTreeSelectConfig.js +22 -3
- package/esm/tree-select/useTreeSelectConfig.js.map +1 -1
- package/esm/upload/boolean-render.js +1 -1
- package/esm/upload/dragger.js +42 -17
- package/esm/upload/dragger.js.map +1 -1
- package/esm/upload/hooks/useDefaultValue.js +7 -7
- package/esm/upload/hooks/useSizeLimit.js +24 -6
- package/esm/upload/hooks/useSizeLimit.js.map +1 -1
- package/esm/upload/index.js +41 -41
- package/esm/upload/themes/dragger-progress.js +45 -20
- package/esm/upload/themes/dragger-progress.js.map +1 -1
- package/esm/upload/themes/flow-list/file-list.js +44 -20
- package/esm/upload/themes/flow-list/file-list.js.map +1 -1
- package/esm/upload/themes/flow-list/img-list.js +37 -16
- package/esm/upload/themes/flow-list/img-list.js.map +1 -1
- package/esm/upload/themes/flow-list/index.js +41 -18
- package/esm/upload/themes/flow-list/index.js.map +1 -1
- package/esm/upload/themes/image-card.js +37 -19
- package/esm/upload/themes/image-card.js.map +1 -1
- package/esm/upload/themes/single-file.js +26 -13
- package/esm/upload/themes/single-file.js.map +1 -1
- package/esm/upload/tips.js +22 -2
- package/esm/upload/tips.js.map +1 -1
- package/esm/upload/type.js +1 -1
- package/esm/upload/types.js +1 -1
- package/esm/upload/upload-trigger.js +35 -14
- package/esm/upload/upload-trigger.js.map +1 -1
- package/esm/upload/upload.js +53 -47
- package/esm/upload/upload.js.map +1 -1
- package/esm/upload/util.js +3 -3
- package/lib/_chunks/{dep-a58521d2.js → dep-013cf2de.js} +19 -2
- package/lib/_chunks/dep-013cf2de.js.map +1 -0
- package/lib/_chunks/{dep-29390a45.js → dep-04c4cfff.js} +9 -64
- package/lib/_chunks/dep-04c4cfff.js.map +1 -0
- package/lib/_chunks/{dep-74cde432.js → dep-084cee97.js} +10 -9
- package/lib/_chunks/{dep-74cde432.js.map → dep-084cee97.js.map} +1 -1
- package/lib/_chunks/{dep-36f97978.js → dep-1184898a.js} +2 -26
- package/lib/_chunks/dep-1184898a.js.map +1 -0
- package/lib/_chunks/{dep-7db6c96c.js → dep-129b4428.js} +5 -5
- package/lib/_chunks/{dep-7db6c96c.js.map → dep-129b4428.js.map} +1 -1
- package/lib/_chunks/dep-2d08f6ba.js +208 -0
- package/lib/_chunks/dep-2d08f6ba.js.map +1 -0
- package/lib/_chunks/{dep-cdba6d4f.js → dep-39285892.js} +3 -3
- package/lib/_chunks/{dep-cdba6d4f.js.map → dep-39285892.js.map} +1 -1
- package/lib/_chunks/{dep-e9b6be46.js → dep-39e97fe4.js} +2 -2
- package/lib/_chunks/{dep-e9b6be46.js.map → dep-39e97fe4.js.map} +1 -1
- package/lib/_chunks/{dep-f9d6d07c.js → dep-3d45cbc8.js} +2 -2
- package/{es/_chunks/dep-71e7a5f0.js.map → lib/_chunks/dep-3d45cbc8.js.map} +1 -1
- package/lib/_chunks/{dep-1de7481b.js → dep-3e28bd28.js} +5 -5
- package/lib/_chunks/{dep-1de7481b.js.map → dep-3e28bd28.js.map} +1 -1
- package/lib/_chunks/{dep-02537686.js → dep-46734f40.js} +5 -5
- package/lib/_chunks/{dep-02537686.js.map → dep-46734f40.js.map} +1 -1
- package/lib/_chunks/{dep-52fe1e25.js → dep-46a203a6.js} +4 -4
- package/lib/_chunks/{dep-52fe1e25.js.map → dep-46a203a6.js.map} +1 -1
- package/lib/_chunks/{dep-1e386cf9.js → dep-48784cef.js} +5 -5
- package/lib/_chunks/{dep-1e386cf9.js.map → dep-48784cef.js.map} +1 -1
- package/lib/_chunks/{dep-ec52862c.js → dep-4f657a93.js} +4 -4
- package/lib/_chunks/{dep-ec52862c.js.map → dep-4f657a93.js.map} +1 -1
- package/lib/_chunks/{dep-cb485461.js → dep-4fafcd23.js} +3 -3
- package/lib/_chunks/{dep-cb485461.js.map → dep-4fafcd23.js.map} +1 -1
- package/lib/_chunks/{dep-9c909570.js → dep-4fb5c464.js} +3 -3
- package/lib/_chunks/{dep-9c909570.js.map → dep-4fb5c464.js.map} +1 -1
- package/lib/_chunks/dep-53731324.js +30 -0
- package/lib/_chunks/dep-53731324.js.map +1 -0
- package/lib/_chunks/{dep-06e9d05b.js → dep-58b55d35.js} +2 -2
- package/{esm/_chunks/dep-3222ad5b.js.map → lib/_chunks/dep-58b55d35.js.map} +1 -1
- package/lib/_chunks/{dep-fe1db87d.js → dep-5c53bbaa.js} +8 -9
- package/lib/_chunks/{dep-fe1db87d.js.map → dep-5c53bbaa.js.map} +1 -1
- package/lib/_chunks/dep-5e8ba2b6.js +371 -0
- package/lib/_chunks/dep-5e8ba2b6.js.map +1 -0
- package/lib/_chunks/{dep-81a89c27.js → dep-64ced036.js} +2 -2
- package/lib/_chunks/{dep-81a89c27.js.map → dep-64ced036.js.map} +1 -1
- package/lib/_chunks/{dep-201e7b8c.js → dep-64dde8f1.js} +7 -7
- package/lib/_chunks/{dep-201e7b8c.js.map → dep-64dde8f1.js.map} +1 -1
- package/lib/_chunks/{dep-095a6366.js → dep-6dc159e8.js} +27 -2
- package/lib/_chunks/dep-6dc159e8.js.map +1 -0
- package/lib/_chunks/{dep-d004a138.js → dep-70ccd627.js} +2 -2
- package/lib/_chunks/{dep-d004a138.js.map → dep-70ccd627.js.map} +1 -1
- package/lib/_chunks/{dep-8f7cf7c0.js → dep-7316483e.js} +14 -5
- package/lib/_chunks/dep-7316483e.js.map +1 -0
- package/lib/_chunks/{dep-b9ea7adb.js → dep-7d88470d.js} +4 -4
- package/lib/_chunks/{dep-b9ea7adb.js.map → dep-7d88470d.js.map} +1 -1
- package/lib/_chunks/{dep-a3912276.js → dep-824a3ee6.js} +3 -3
- package/lib/_chunks/{dep-a3912276.js.map → dep-824a3ee6.js.map} +1 -1
- package/lib/_chunks/{dep-dd005d4e.js → dep-851964b6.js} +63 -7
- package/lib/_chunks/dep-851964b6.js.map +1 -0
- package/lib/_chunks/{dep-980a5bdc.js → dep-856aa3bf.js} +4 -4
- package/lib/_chunks/{dep-980a5bdc.js.map → dep-856aa3bf.js.map} +1 -1
- package/lib/_chunks/{dep-d01b2726.js → dep-8595bcca.js} +3 -3
- package/lib/_chunks/{dep-d01b2726.js.map → dep-8595bcca.js.map} +1 -1
- package/lib/_chunks/{dep-aa504dee.js → dep-89283728.js} +3 -3
- package/lib/_chunks/{dep-aa504dee.js.map → dep-89283728.js.map} +1 -1
- package/lib/_chunks/{dep-9877f338.js → dep-8f62190e.js} +380 -355
- package/lib/_chunks/dep-8f62190e.js.map +1 -0
- package/lib/_chunks/{dep-bf25d6c3.js → dep-92449e5d.js} +2 -2
- package/lib/_chunks/{dep-bf25d6c3.js.map → dep-92449e5d.js.map} +1 -1
- package/lib/_chunks/{dep-dffb4e64.js → dep-974d363a.js} +6 -6
- package/lib/_chunks/{dep-dffb4e64.js.map → dep-974d363a.js.map} +1 -1
- package/lib/_chunks/dep-a821562f.js +147 -0
- package/lib/_chunks/dep-a821562f.js.map +1 -0
- package/lib/_chunks/{dep-8a2f9905.js → dep-ad7b072b.js} +24 -11
- package/lib/_chunks/dep-ad7b072b.js.map +1 -0
- package/lib/_chunks/{dep-cf067838.js → dep-b04d0908.js} +5 -5
- package/lib/_chunks/{dep-cf067838.js.map → dep-b04d0908.js.map} +1 -1
- package/lib/_chunks/{dep-dcd8e953.js → dep-c419658d.js} +3 -3
- package/lib/_chunks/{dep-dcd8e953.js.map → dep-c419658d.js.map} +1 -1
- package/lib/_chunks/dep-c699e15c.js +255 -0
- package/lib/_chunks/dep-c699e15c.js.map +1 -0
- package/lib/_chunks/{dep-701cab80.js → dep-c98256d7.js} +7 -7
- package/lib/_chunks/{dep-701cab80.js.map → dep-c98256d7.js.map} +1 -1
- package/lib/_chunks/dep-c9e32bd4.js +181 -0
- package/lib/_chunks/dep-c9e32bd4.js.map +1 -0
- package/lib/_chunks/dep-cb0572c8.js +516 -0
- package/lib/_chunks/dep-cb0572c8.js.map +1 -0
- package/lib/_chunks/{dep-7c07d149.js → dep-cc673425.js} +4 -4
- package/lib/_chunks/{dep-7c07d149.js.map → dep-cc673425.js.map} +1 -1
- package/lib/_chunks/{dep-60e5ab16.js → dep-d569a74d.js} +2 -2
- package/lib/_chunks/{dep-60e5ab16.js.map → dep-d569a74d.js.map} +1 -1
- package/lib/_chunks/{dep-bbdfd0f9.js → dep-e0f1e391.js} +66 -9
- package/lib/_chunks/dep-e0f1e391.js.map +1 -0
- package/lib/_chunks/{dep-28650e61.js → dep-e160c5b3.js} +3 -3
- package/lib/_chunks/{dep-28650e61.js.map → dep-e160c5b3.js.map} +1 -1
- package/lib/_chunks/{dep-3c54ade0.js → dep-e27420a1.js} +44 -325
- package/lib/_chunks/dep-e27420a1.js.map +1 -0
- package/lib/_chunks/{dep-36ea35e1.js → dep-e3c82c49.js} +6 -6
- package/lib/_chunks/{dep-36ea35e1.js.map → dep-e3c82c49.js.map} +1 -1
- package/lib/_chunks/{dep-4e4f173b.js → dep-e8076836.js} +2 -2
- package/lib/_chunks/{dep-4e4f173b.js.map → dep-e8076836.js.map} +1 -1
- package/lib/_chunks/{dep-3927ac4b.js → dep-eeca3a4d.js} +7 -7
- package/lib/_chunks/{dep-3927ac4b.js.map → dep-eeca3a4d.js.map} +1 -1
- package/lib/_chunks/{dep-9df34d48.js → dep-f41855e1.js} +3 -3
- package/lib/_chunks/{dep-9df34d48.js.map → dep-f41855e1.js.map} +1 -1
- package/lib/_common/js/common.js +1 -1
- package/lib/_common/js/date-picker/utils.js +32 -17
- package/lib/_common/js/date-picker/utils.js.map +1 -1
- package/lib/_common/js/loading/circle-adapter.js +5 -5
- package/lib/_common/js/locale/en_US.d.ts +139 -0
- package/lib/_common/js/locale/en_US.js +151 -0
- package/lib/_common/js/locale/en_US.js.map +1 -0
- package/lib/_common/js/locale/zh_CN.d.ts +132 -0
- package/lib/_common/js/locale/zh_CN.js +144 -0
- package/lib/_common/js/locale/zh_CN.js.map +1 -0
- package/lib/_common/js/log/index.js +16 -0
- package/lib/_common/js/log/index.js.map +1 -0
- package/lib/_common/js/log/log.js +1 -1
- package/lib/_common/js/log/types.js +1 -1
- package/lib/_common/js/tree/tree-node-model.js +22 -25
- package/lib/_common/js/tree/tree-node-model.js.map +1 -1
- package/lib/_common/js/tree/tree-node.js +24 -27
- package/lib/_common/js/tree/tree-node.js.map +1 -1
- package/lib/_common/js/tree/tree-store.js +33 -37
- package/lib/_common/js/tree/tree-store.js.map +1 -1
- package/lib/_common/js/tree/types.js +1 -1
- package/lib/_common/js/upload/types.js +1 -1
- package/lib/_common/js/upload/xhr.js +1 -1
- package/lib/_common/js/utils/helper.js +5 -5
- package/lib/_common/js/utils/set-style.js +1 -1
- package/lib/_util/callBoth.js +1 -1
- package/lib/_util/composeRefs.js +1 -1
- package/lib/_util/dom.js +6 -6
- package/lib/_util/easing.js +1 -1
- package/lib/_util/forwardRefWithStatics.js +1 -1
- package/lib/_util/getScrollbarWidth.js +1 -1
- package/lib/_util/hasScrollBar.js +1 -1
- package/lib/_util/helper.js +14 -14
- package/lib/_util/injectValue.js +1 -1
- package/lib/_util/insertCSS.js +1 -1
- package/lib/_util/isCallable.js +1 -1
- package/lib/_util/linearGradient.js +2 -2
- package/lib/_util/noop.js +1 -1
- package/lib/_util/number.js +1 -1
- package/lib/_util/setStyle.js +1 -1
- package/lib/_util/useClickOutside.js +1 -1
- package/lib/_util/useCommonClassName.js +20 -3
- package/lib/_util/useCommonClassName.js.map +1 -1
- package/lib/_util/useConfig.d.ts +2 -1
- package/lib/_util/useConfig.js +21 -4
- package/lib/_util/useConfig.js.map +1 -1
- package/lib/_util/useDefault.js +3 -3
- package/lib/_util/useDefaultValue.js +5 -5
- package/lib/_util/usePersistFn.js +1 -1
- package/lib/_util/usePrevious.js +1 -1
- package/lib/_util/useRefAndForward.js +1 -1
- package/lib/_util/useRipple.js +20 -3
- package/lib/_util/useRipple.js.map +1 -1
- package/lib/_util/useSetState.js +4 -4
- package/lib/_util/useUpdateEffect.js +1 -1
- package/lib/addon/Addon.js +21 -5
- package/lib/addon/Addon.js.map +1 -1
- package/lib/addon/index.js +21 -5
- package/lib/addon/index.js.map +1 -1
- package/lib/affix/Affix.d.ts +1 -0
- package/lib/affix/Affix.js +23 -13
- package/lib/affix/Affix.js.map +1 -1
- package/lib/affix/index.js +23 -13
- package/lib/affix/index.js.map +1 -1
- package/lib/affix/type.js +1 -1
- package/lib/alert/Alert.js +23 -7
- package/lib/alert/Alert.js.map +1 -1
- package/lib/alert/index.js +23 -7
- package/lib/alert/index.js.map +1 -1
- package/lib/alert/type.js +1 -1
- package/lib/anchor/Anchor.js +26 -23
- package/lib/anchor/Anchor.js.map +1 -1
- package/lib/anchor/AnchorContext.js +1 -1
- package/lib/anchor/AnchorItem.js +21 -5
- package/lib/anchor/AnchorItem.js.map +1 -1
- package/lib/anchor/AnchorTarget.js +24 -12
- package/lib/anchor/AnchorTarget.js.map +1 -1
- package/lib/anchor/_util/clipboard.js +1 -1
- package/lib/anchor/_util/dom.js +1 -1
- package/lib/anchor/index.js +26 -23
- package/lib/anchor/index.js.map +1 -1
- package/lib/anchor/type.js +1 -1
- package/lib/avatar/AvararGroup.js +24 -9
- package/lib/avatar/AvararGroup.js.map +1 -1
- package/lib/avatar/Avatar.js +24 -9
- package/lib/avatar/Avatar.js.map +1 -1
- package/lib/avatar/AvatarContext.js +1 -1
- package/lib/avatar/index.js +24 -9
- package/lib/avatar/index.js.map +1 -1
- package/lib/avatar/type.js +1 -1
- package/lib/badge/Badge.js +21 -5
- package/lib/badge/Badge.js.map +1 -1
- package/lib/badge/index.js +21 -5
- package/lib/badge/index.js.map +1 -1
- package/lib/badge/type.js +1 -1
- package/lib/breadcrumb/Breadcrumb.js +25 -7
- package/lib/breadcrumb/Breadcrumb.js.map +1 -1
- package/lib/breadcrumb/BreadcrumbContext.d.ts +1 -0
- package/lib/breadcrumb/BreadcrumbContext.js +3 -2
- package/lib/breadcrumb/BreadcrumbContext.js.map +1 -1
- package/lib/breadcrumb/BreadcrumbItem.js +24 -7
- package/lib/breadcrumb/BreadcrumbItem.js.map +1 -1
- package/lib/breadcrumb/BreadcrumbProps.js +1 -1
- package/lib/breadcrumb/index.js +21 -5
- package/lib/breadcrumb/index.js.map +1 -1
- package/lib/breadcrumb/type.d.ts +6 -2
- package/lib/breadcrumb/type.js +1 -1
- package/lib/button/Button.js +24 -12
- package/lib/button/Button.js.map +1 -1
- package/lib/button/index.js +24 -12
- package/lib/button/index.js.map +1 -1
- package/lib/button/type.js +1 -1
- package/lib/calendar/Calendar.js +37 -28
- package/lib/calendar/Calendar.js.map +1 -1
- package/lib/calendar/_util.js +1 -1
- package/lib/calendar/index.js +34 -26
- package/lib/calendar/index.js.map +1 -1
- package/lib/calendar/type.js +1 -1
- package/lib/card/type.js +1 -1
- package/lib/cascader/Cascader.js +58 -56
- package/lib/cascader/Cascader.js.map +1 -1
- package/lib/cascader/components/InputContent.js +25 -22
- package/lib/cascader/components/InputContent.js.map +1 -1
- package/lib/cascader/components/Item.js +37 -22
- package/lib/cascader/components/Item.js.map +1 -1
- package/lib/cascader/components/Panel.js +32 -20
- package/lib/cascader/components/Panel.js.map +1 -1
- package/lib/cascader/index.js +45 -46
- package/lib/cascader/index.js.map +1 -1
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/cascader/interface.js +24 -27
- package/lib/cascader/interface.js.map +1 -1
- package/lib/cascader/type.js +1 -1
- package/lib/cascader/utils/cascader.js +4 -4
- package/lib/cascader/utils/helper.js +2 -2
- package/lib/cascader/utils/inputContent.js +14 -17
- package/lib/cascader/utils/inputContent.js.map +1 -1
- package/lib/cascader/utils/item.js +4 -4
- package/lib/cascader/utils/panel.js +7 -7
- package/lib/checkbox/Checkbox.js +30 -18
- package/lib/checkbox/Checkbox.js.map +1 -1
- package/lib/checkbox/CheckboxGroup.js +30 -18
- package/lib/checkbox/CheckboxGroup.js.map +1 -1
- package/lib/checkbox/index.js +30 -18
- package/lib/checkbox/index.js.map +1 -1
- package/lib/checkbox/type.js +1 -1
- package/lib/comment/Comment.js +20 -3
- package/lib/comment/Comment.js.map +1 -1
- package/lib/comment/index.js +20 -3
- package/lib/comment/index.js.map +1 -1
- package/lib/comment/type.js +1 -1
- package/lib/common/Check.d.ts +1 -1
- package/lib/common/Check.js +28 -16
- package/lib/common/Check.js.map +1 -1
- package/lib/common/FakeArrow.js +20 -4
- package/lib/common/FakeArrow.js.map +1 -1
- package/lib/common/Portal.js +2 -2
- package/lib/common.js +1 -1
- package/lib/config-provider/ConfigContext.d.ts +335 -43
- package/lib/config-provider/ConfigContext.js +26 -12
- package/lib/config-provider/ConfigContext.js.map +1 -1
- package/lib/config-provider/ConfigProvider.d.ts +8 -1
- package/lib/config-provider/ConfigProvider.js +28 -14
- package/lib/config-provider/ConfigProvider.js.map +1 -1
- package/lib/config-provider/defaultConfig.d.ts +3 -0
- package/lib/config-provider/defaultConfig.js +51 -0
- package/lib/config-provider/defaultConfig.js.map +1 -0
- package/lib/config-provider/index.d.ts +3 -3
- package/lib/config-provider/index.js +22 -6
- package/lib/config-provider/index.js.map +1 -1
- package/lib/config-provider/type.d.ts +164 -20
- package/lib/config-provider/type.js +1 -1
- package/lib/date-picker/DatePicker.js +36 -34
- package/lib/date-picker/DatePicker.js.map +1 -1
- package/lib/date-picker/base/CalendarPresets.js +24 -12
- package/lib/date-picker/base/CalendarPresets.js.map +1 -1
- package/lib/date-picker/base/Cell.js +20 -4
- package/lib/date-picker/base/Cell.js.map +1 -1
- package/lib/date-picker/base/Header.js +24 -12
- package/lib/date-picker/base/Header.js.map +1 -1
- package/lib/date-picker/base/Table.js +22 -6
- package/lib/date-picker/base/Table.js.map +1 -1
- package/lib/date-picker/index.js +33 -31
- package/lib/date-picker/index.js.map +1 -1
- package/lib/date-picker/panel/Date.js +28 -24
- package/lib/date-picker/panel/Date.js.map +1 -1
- package/lib/date-picker/panel/DateRange.js +28 -24
- package/lib/date-picker/panel/DateRange.js.map +1 -1
- package/lib/date-picker/type.js +1 -1
- package/lib/dialog/Dialog.js +27 -15
- package/lib/dialog/Dialog.js.map +1 -1
- package/lib/dialog/RenderDialog.js +3 -3
- package/lib/dialog/index.js +24 -12
- package/lib/dialog/index.js.map +1 -1
- package/lib/dialog/plugin.js +24 -12
- package/lib/dialog/plugin.js.map +1 -1
- package/lib/dialog/type.js +1 -1
- package/lib/divider/Divider.js +21 -5
- package/lib/divider/Divider.js.map +1 -1
- package/lib/divider/index.js +21 -5
- package/lib/divider/index.js.map +1 -1
- package/lib/divider/type.js +1 -1
- package/lib/drawer/Drawer.js +32 -20
- package/lib/drawer/Drawer.js.map +1 -1
- package/lib/drawer/DrawerWrapper.js +3 -3
- package/lib/drawer/DrawerWrapper.js.map +1 -1
- package/lib/drawer/index.js +24 -12
- package/lib/drawer/index.js.map +1 -1
- package/lib/drawer/type.js +1 -1
- package/lib/dropdown/Dropdown.d.ts +2 -1
- package/lib/dropdown/Dropdown.js +46 -48
- package/lib/dropdown/Dropdown.js.map +1 -1
- package/lib/dropdown/DropdownItem.js +28 -16
- package/lib/dropdown/DropdownItem.js.map +1 -1
- package/lib/dropdown/DropdownMenu.js +29 -17
- package/lib/dropdown/DropdownMenu.js.map +1 -1
- package/lib/dropdown/index.d.ts +2 -1
- package/lib/dropdown/index.js +37 -40
- package/lib/dropdown/index.js.map +1 -1
- package/lib/dropdown/type.js +1 -1
- package/lib/form/Form.d.ts +2 -2
- package/lib/form/Form.js +153 -95
- package/lib/form/Form.js.map +1 -1
- package/lib/form/FormContext.d.ts +2 -0
- package/lib/form/FormContext.js +2 -1
- package/lib/form/FormContext.js.map +1 -1
- package/lib/form/FormItem.js +57 -53
- package/lib/form/FormItem.js.map +1 -1
- package/lib/form/formModel.js +24 -27
- package/lib/form/formModel.js.map +1 -1
- package/lib/form/index.js +46 -45
- package/lib/form/index.js.map +1 -1
- package/lib/form/type.d.ts +127 -28
- package/lib/form/type.js +1 -1
- package/lib/grid/Col.js +24 -10
- package/lib/grid/Col.js.map +1 -1
- package/lib/grid/Row.js +26 -12
- package/lib/grid/Row.js.map +1 -1
- package/lib/grid/index.js +23 -9
- package/lib/grid/index.js.map +1 -1
- package/lib/grid/type.d.ts +1 -2
- package/lib/grid/type.js +1 -1
- package/lib/index-lib.js +61 -59
- package/lib/index-lib.js.map +1 -1
- package/lib/index.js +61 -59
- package/lib/index.js.map +1 -1
- package/lib/input/Input.js +26 -9
- package/lib/input/Input.js.map +1 -1
- package/lib/input/InputGroup.js +21 -5
- package/lib/input/InputGroup.js.map +1 -1
- package/lib/input/index.js +23 -7
- package/lib/input/index.js.map +1 -1
- package/lib/input/type.d.ts +10 -1
- package/lib/input/type.js +1 -1
- package/lib/input-number/InputNumber.js +24 -12
- package/lib/input-number/InputNumber.js.map +1 -1
- package/lib/input-number/StepHandler.js +24 -12
- package/lib/input-number/StepHandler.js.map +1 -1
- package/lib/input-number/index.js +24 -12
- package/lib/input-number/index.js.map +1 -1
- package/lib/input-number/type.js +1 -1
- package/lib/input-number/utils/numberUtils.js +1 -1
- package/lib/layout/Aside.js +21 -5
- package/lib/layout/Aside.js.map +1 -1
- package/lib/layout/Layout.js +23 -8
- package/lib/layout/Layout.js.map +1 -1
- package/lib/layout/index.js +23 -8
- package/lib/layout/index.js.map +1 -1
- package/lib/layout/type.js +1 -1
- package/lib/list/List.js +31 -13
- package/lib/list/List.js.map +1 -1
- package/lib/list/ListItem.js +20 -3
- package/lib/list/ListItem.js.map +1 -1
- package/lib/list/ListItemMeta.js +20 -3
- package/lib/list/ListItemMeta.js.map +1 -1
- package/lib/list/index.js +25 -12
- package/lib/list/index.js.map +1 -1
- package/lib/list/type.js +1 -1
- package/lib/loading/gradient.js +23 -7
- package/lib/loading/gradient.js.map +1 -1
- package/lib/loading/index.js +24 -12
- package/lib/loading/index.js.map +1 -1
- package/lib/loading/loading.js +24 -12
- package/lib/loading/loading.js.map +1 -1
- package/lib/loading/plugin.js +24 -12
- package/lib/loading/plugin.js.map +1 -1
- package/lib/loading/type.js +1 -1
- package/lib/locale/LocalReceiver.d.ts +43 -12
- package/lib/locale/LocalReceiver.js +25 -9
- package/lib/locale/LocalReceiver.js.map +1 -1
- package/lib/locale/en_US.d.ts +2 -0
- package/lib/locale/en_US.js +16 -0
- package/lib/locale/en_US.js.map +1 -0
- package/lib/locale/zh_CN.d.ts +2 -101
- package/lib/locale/zh_CN.js +5 -102
- package/lib/locale/zh_CN.js.map +1 -1
- package/lib/menu/HeadMenu.js +24 -10
- package/lib/menu/HeadMenu.js.map +1 -1
- package/lib/menu/Menu.js +23 -9
- package/lib/menu/Menu.js.map +1 -1
- package/lib/menu/MenuContext.js +1 -1
- package/lib/menu/MenuGroup.js +20 -3
- package/lib/menu/MenuGroup.js.map +1 -1
- package/lib/menu/MenuItem.js +20 -4
- package/lib/menu/MenuItem.js.map +1 -1
- package/lib/menu/SubMenu.js +22 -6
- package/lib/menu/SubMenu.js.map +1 -1
- package/lib/menu/_util/cacularPaddingLeft.js +1 -1
- package/lib/menu/_util/checkMenuType.js +1 -1
- package/lib/menu/_util/checkSubMenuActive.js +1 -1
- package/lib/menu/_util/checkSubMenuChildExpanded.js +3 -3
- package/lib/menu/_util/checkSubMenuChildrenActive.js +1 -1
- package/lib/menu/_util/constant.js +1 -1
- package/lib/menu/_util/getSubMenuChildStyle.js +1 -1
- package/lib/menu/_util/type.js +1 -1
- package/lib/menu/hooks/useMenuContext.js +5 -5
- package/lib/menu/index.js +23 -9
- package/lib/menu/index.js.map +1 -1
- package/lib/menu/type.js +1 -1
- package/lib/message/Message.js +24 -12
- package/lib/message/Message.js.map +1 -1
- package/lib/message/MessageClose.js +20 -3
- package/lib/message/MessageClose.js.map +1 -1
- package/lib/message/MessageComponent.js +24 -12
- package/lib/message/MessageComponent.js.map +1 -1
- package/lib/message/MessageIcon.js +24 -12
- package/lib/message/MessageIcon.js.map +1 -1
- package/lib/message/const.js +1 -1
- package/lib/message/index.js +24 -12
- package/lib/message/index.js.map +1 -1
- package/lib/message/type.js +1 -1
- package/lib/message/useMessageClass.js +20 -3
- package/lib/message/useMessageClass.js.map +1 -1
- package/lib/notification/Notification.js +22 -5
- package/lib/notification/Notification.js.map +1 -1
- package/lib/notification/NotificationList.js +23 -7
- package/lib/notification/NotificationList.js.map +1 -1
- package/lib/notification/NotificationPlugin.js +23 -8
- package/lib/notification/NotificationPlugin.js.map +1 -1
- package/lib/notification/index.js +23 -8
- package/lib/notification/index.js.map +1 -1
- package/lib/notification/type.js +1 -1
- package/lib/pagination/Pagination.js +30 -22
- package/lib/pagination/Pagination.js.map +1 -1
- package/lib/pagination/index.js +30 -22
- package/lib/pagination/index.js.map +1 -1
- package/lib/pagination/type.js +1 -1
- package/lib/pagination/validators.js +1 -1
- package/lib/popconfirm/PopConfirm.js +42 -22
- package/lib/popconfirm/PopConfirm.js.map +1 -1
- package/lib/popconfirm/PopContent.js +26 -23
- package/lib/popconfirm/PopContent.js.map +1 -1
- package/lib/popconfirm/index.js +25 -14
- package/lib/popconfirm/index.js.map +1 -1
- package/lib/popconfirm/type.js +1 -1
- package/lib/popup/Popup.js +28 -15
- package/lib/popup/Popup.js.map +1 -1
- package/lib/popup/hooks/usePopupCssTransition.js +4 -4
- package/lib/popup/hooks/useTriggerProps.js +1 -1
- package/lib/popup/index.js +22 -7
- package/lib/popup/index.js.map +1 -1
- package/lib/popup/type.js +1 -1
- package/lib/progress/Progress.js +21 -5
- package/lib/progress/Progress.js.map +1 -1
- package/lib/progress/index.js +21 -5
- package/lib/progress/index.js.map +1 -1
- package/lib/progress/type.js +1 -1
- package/lib/radio/Radio.js +29 -17
- package/lib/radio/Radio.js.map +1 -1
- package/lib/radio/RadioGroup.js +29 -17
- package/lib/radio/RadioGroup.js.map +1 -1
- package/lib/radio/index.js +29 -17
- package/lib/radio/index.js.map +1 -1
- package/lib/radio/type.js +1 -1
- package/lib/rate/type.js +1 -1
- package/lib/select/base/Option.js +26 -18
- package/lib/select/base/Option.js.map +1 -1
- package/lib/select/base/OptionGroup.js +20 -4
- package/lib/select/base/OptionGroup.js.map +1 -1
- package/lib/select/base/PopupContent.js +33 -23
- package/lib/select/base/PopupContent.js.map +1 -1
- package/lib/select/base/Select.js +32 -24
- package/lib/select/base/Select.js.map +1 -1
- package/lib/select/index.js +30 -22
- package/lib/select/index.js.map +1 -1
- package/lib/select/type.js +1 -1
- package/lib/select/util/helper.js +34 -32
- package/lib/select/util/helper.js.map +1 -1
- package/lib/skeleton/Skeleton.js +30 -18
- package/lib/skeleton/Skeleton.js.map +1 -1
- package/lib/skeleton/index.js +30 -18
- package/lib/skeleton/index.js.map +1 -1
- package/lib/skeleton/type.js +1 -1
- package/lib/slider/Slider.js +24 -12
- package/lib/slider/Slider.js.map +1 -1
- package/lib/slider/SliderHandleButton.js +23 -8
- package/lib/slider/SliderHandleButton.js.map +1 -1
- package/lib/slider/index.js +24 -12
- package/lib/slider/index.js.map +1 -1
- package/lib/slider/type.js +1 -1
- package/lib/slider/utils/handleNumber.js +1 -1
- package/lib/steps/StepItem.js +20 -4
- package/lib/steps/StepItem.js.map +1 -1
- package/lib/steps/Steps.js +20 -4
- package/lib/steps/Steps.js.map +1 -1
- package/lib/steps/StepsContext.js +1 -1
- package/lib/steps/index.js +20 -4
- package/lib/steps/index.js.map +1 -1
- package/lib/steps/type.js +1 -1
- package/lib/sticky-tool/type.js +1 -1
- package/lib/swiper/Swiper.js +22 -6
- package/lib/swiper/Swiper.js.map +1 -1
- package/lib/swiper/SwiperItem.js +1 -1
- package/lib/swiper/index.js +22 -6
- package/lib/swiper/index.js.map +1 -1
- package/lib/swiper/type.js +1 -1
- package/lib/switch/Switch.js +24 -12
- package/lib/switch/Switch.js.map +1 -1
- package/lib/switch/index.js +24 -12
- package/lib/switch/index.js.map +1 -1
- package/lib/switch/type.js +1 -1
- package/lib/table/base/Table.js +47 -32
- package/lib/table/base/Table.js.map +1 -1
- package/lib/table/base/TableAsyncLoadingBody.js +31 -15
- package/lib/table/base/TableAsyncLoadingBody.js.map +1 -1
- package/lib/table/base/TableBody.js +34 -21
- package/lib/table/base/TableBody.js.map +1 -1
- package/lib/table/base/TableCell.js +29 -8
- package/lib/table/base/TableCell.js.map +1 -1
- package/lib/table/base/TableColGroup.js +1 -1
- package/lib/table/base/TableContext.d.ts +5 -1
- package/lib/table/base/TableContext.js +4 -2
- package/lib/table/base/TableContext.js.map +1 -1
- package/lib/table/base/TableEmptyBody.js +29 -4
- package/lib/table/base/TableEmptyBody.js.map +1 -1
- package/lib/table/base/TableFooter.js +1 -1
- package/lib/table/base/TableHeader.js +24 -12
- package/lib/table/base/TableHeader.js.map +1 -1
- package/lib/table/base/TableLoadingBody.js +4 -5
- package/lib/table/base/TableLoadingBody.js.map +1 -1
- package/lib/table/base/TableRow.js +27 -19
- package/lib/table/base/TableRow.js.map +1 -1
- package/lib/table/enhanced/Table.d.ts +4 -0
- package/lib/table/enhanced/Table.js +166 -0
- package/lib/table/enhanced/Table.js.map +1 -0
- package/lib/table/enhanced/TableContext.d.ts +12 -0
- package/lib/table/enhanced/TableContext.js +25 -0
- package/lib/table/enhanced/TableContext.js.map +1 -0
- package/lib/table/enhanced/style/css.d.ts +1 -0
- package/lib/table/enhanced/style/index.d.ts +1 -0
- package/lib/table/enhanced/useTree.d.ts +11 -0
- package/lib/table/enhanced/useTree.js +224 -0
- package/lib/table/enhanced/useTree.js.map +1 -0
- package/lib/table/hooks/useColumns.js +4 -4
- package/lib/table/index.d.ts +2 -0
- package/lib/table/index.js +42 -29
- package/lib/table/index.js.map +1 -1
- package/lib/table/primary/FilterButton.js +42 -26
- package/lib/table/primary/FilterButton.js.map +1 -1
- package/lib/table/primary/SorterButton.js +37 -16
- package/lib/table/primary/SorterButton.js.map +1 -1
- package/lib/table/primary/Table.js +38 -29
- package/lib/table/primary/Table.js.map +1 -1
- package/lib/table/primary/expand-box.js +23 -6
- package/lib/table/primary/expand-box.js.map +1 -1
- package/lib/table/primary/useDragSorter.js +3 -3
- package/lib/table/primary/useExpand.js +30 -21
- package/lib/table/primary/useExpand.js.map +1 -1
- package/lib/table/primary/useFilter.js +33 -22
- package/lib/table/primary/useFilter.js.map +1 -1
- package/lib/table/primary/useSelect.js +291 -91
- package/lib/table/primary/useSelect.js.map +1 -1
- package/lib/table/primary/useSorter.js +32 -23
- package/lib/table/primary/useSorter.js.map +1 -1
- package/lib/table/type.js +1 -1
- package/lib/table/util/getRowKeyFromRowKey.js +1 -1
- package/lib/table/util/index.js +1 -1
- package/lib/tabs/TabBar.js +22 -6
- package/lib/tabs/TabBar.js.map +1 -1
- package/lib/tabs/TabNav.js +22 -6
- package/lib/tabs/TabNav.js.map +1 -1
- package/lib/tabs/TabNavItem.js +20 -3
- package/lib/tabs/TabNavItem.js.map +1 -1
- package/lib/tabs/TabPanel.js +20 -3
- package/lib/tabs/TabPanel.js.map +1 -1
- package/lib/tabs/Tabs.js +22 -6
- package/lib/tabs/Tabs.js.map +1 -1
- package/lib/tabs/index.js +22 -6
- package/lib/tabs/index.js.map +1 -1
- package/lib/tabs/type.js +1 -1
- package/lib/tabs/useTabClass.js +20 -3
- package/lib/tabs/useTabClass.js.map +1 -1
- package/lib/tag/CheckTag.js +31 -9
- package/lib/tag/CheckTag.js.map +1 -1
- package/lib/tag/Tag.js +29 -11
- package/lib/tag/Tag.js.map +1 -1
- package/lib/tag/index.js +23 -7
- package/lib/tag/index.js.map +1 -1
- package/lib/tag/type.d.ts +7 -3
- package/lib/tag/type.js +1 -1
- package/lib/textarea/Textarea.js +28 -16
- package/lib/textarea/Textarea.js.map +1 -1
- package/lib/textarea/index.js +28 -16
- package/lib/textarea/index.js.map +1 -1
- package/lib/textarea/type.js +1 -1
- package/lib/time-picker/InputItems.js +31 -20
- package/lib/time-picker/InputItems.js.map +1 -1
- package/lib/time-picker/TimePicker.js +34 -29
- package/lib/time-picker/TimePicker.js.map +1 -1
- package/lib/time-picker/TimeRangePicker.js +34 -29
- package/lib/time-picker/TimeRangePicker.js.map +1 -1
- package/lib/time-picker/consts.js +23 -7
- package/lib/time-picker/consts.js.map +1 -1
- package/lib/time-picker/index.js +34 -29
- package/lib/time-picker/index.js.map +1 -1
- package/lib/time-picker/interfaces.js +1 -1
- package/lib/time-picker/panel/SinglePanel.js +31 -26
- package/lib/time-picker/panel/SinglePanel.js.map +1 -1
- package/lib/time-picker/panel/TimePickerPanel.js +33 -28
- package/lib/time-picker/panel/TimePickerPanel.js.map +1 -1
- package/lib/time-picker/panel/TimePickerRangePanel.js +33 -28
- package/lib/time-picker/panel/TimePickerRangePanel.js.map +1 -1
- package/lib/time-picker/type.js +1 -1
- package/lib/tooltip/Tooltip.js +23 -8
- package/lib/tooltip/Tooltip.js.map +1 -1
- package/lib/tooltip/index.js +23 -8
- package/lib/tooltip/index.js.map +1 -1
- package/lib/tooltip/type.js +1 -1
- package/lib/transfer/Transfer.js +91 -56
- package/lib/transfer/Transfer.js.map +1 -1
- package/lib/transfer/TransferList.d.ts +1 -1
- package/lib/transfer/TransferList.js +62 -39
- package/lib/transfer/TransferList.js.map +1 -1
- package/lib/transfer/index.js +41 -40
- package/lib/transfer/index.js.map +1 -1
- package/lib/transfer/type.d.ts +6 -1
- package/lib/transfer/type.js +1 -1
- package/lib/transfer/utils.d.ts +4 -0
- package/lib/transfer/utils.js +58 -17
- package/lib/transfer/utils.js.map +1 -1
- package/lib/tree/Tree.js +50 -55
- package/lib/tree/Tree.js.map +1 -1
- package/lib/tree/TreeItem.js +35 -21
- package/lib/tree/TreeItem.js.map +1 -1
- package/lib/tree/index.d.ts +1 -0
- package/lib/tree/index.js +47 -48
- package/lib/tree/index.js.map +1 -1
- package/lib/tree/interface.js +1 -1
- package/lib/tree/type.js +1 -1
- package/lib/tree/useControllable.js +3 -3
- package/lib/tree/useStore.js +37 -40
- package/lib/tree/useStore.js.map +1 -1
- package/lib/tree/useTreeConfig.d.ts +1 -0
- package/lib/tree/useTreeConfig.js +33 -5
- package/lib/tree/useTreeConfig.js.map +1 -1
- package/lib/tree-select/TreeSelect.js +59 -57
- package/lib/tree-select/TreeSelect.js.map +1 -1
- package/lib/tree-select/TreeSelectInput.js +26 -23
- package/lib/tree-select/TreeSelectInput.js.map +1 -1
- package/lib/tree-select/TreeSelectSuffix.js +26 -23
- package/lib/tree-select/TreeSelectSuffix.js.map +1 -1
- package/lib/tree-select/TreeSelectTags.js +23 -7
- package/lib/tree-select/TreeSelectTags.js.map +1 -1
- package/lib/tree-select/index.js +47 -48
- package/lib/tree-select/index.js.map +1 -1
- package/lib/tree-select/type.js +1 -1
- package/lib/tree-select/useTreeSelectConfig.js +20 -4
- package/lib/tree-select/useTreeSelectConfig.js.map +1 -1
- package/lib/upload/boolean-render.js +1 -1
- package/lib/upload/dragger.js +38 -16
- package/lib/upload/dragger.js.map +1 -1
- package/lib/upload/hooks/useDefaultValue.js +6 -6
- package/lib/upload/hooks/useSizeLimit.js +22 -6
- package/lib/upload/hooks/useSizeLimit.js.map +1 -1
- package/lib/upload/index.js +39 -38
- package/lib/upload/index.js.map +1 -1
- package/lib/upload/themes/dragger-progress.js +41 -19
- package/lib/upload/themes/dragger-progress.js.map +1 -1
- package/lib/upload/themes/flow-list/file-list.js +40 -19
- package/lib/upload/themes/flow-list/file-list.js.map +1 -1
- package/lib/upload/themes/flow-list/img-list.js +33 -15
- package/lib/upload/themes/flow-list/img-list.js.map +1 -1
- package/lib/upload/themes/flow-list/index.js +37 -17
- package/lib/upload/themes/flow-list/index.js.map +1 -1
- package/lib/upload/themes/image-card.js +33 -16
- package/lib/upload/themes/image-card.js.map +1 -1
- package/lib/upload/themes/single-file.js +24 -12
- package/lib/upload/themes/single-file.js.map +1 -1
- package/lib/upload/tips.js +20 -3
- package/lib/upload/tips.js.map +1 -1
- package/lib/upload/type.js +1 -1
- package/lib/upload/types.js +1 -1
- package/lib/upload/upload-trigger.js +31 -13
- package/lib/upload/upload-trigger.js.map +1 -1
- package/lib/upload/upload.js +58 -51
- package/lib/upload/upload.js.map +1 -1
- package/lib/upload/util.js +3 -3
- package/package.json +2 -2
- package/es/_chunks/dep-178c8e4e.js.map +0 -1
- package/es/_chunks/dep-2f14ad8e.js.map +0 -1
- package/es/_chunks/dep-2fc7ff7b.js +0 -8
- package/es/_chunks/dep-2fc7ff7b.js.map +0 -1
- package/es/_chunks/dep-37aa0312.js +0 -49
- package/es/_chunks/dep-37aa0312.js.map +0 -1
- package/es/_chunks/dep-3ceef599.js +0 -85
- package/es/_chunks/dep-3ceef599.js.map +0 -1
- package/es/_chunks/dep-42d06a7e.js +0 -8
- package/es/_chunks/dep-42d06a7e.js.map +0 -1
- package/es/_chunks/dep-4bc313e1.js +0 -56
- package/es/_chunks/dep-4bc313e1.js.map +0 -1
- package/es/_chunks/dep-60f5bd8f.js.map +0 -1
- package/es/_chunks/dep-73c3d91b.js +0 -8
- package/es/_chunks/dep-73c3d91b.js.map +0 -1
- package/es/_chunks/dep-82c64961.js +0 -33
- package/es/_chunks/dep-82c64961.js.map +0 -1
- package/es/_chunks/dep-8ec2d92c.js +0 -305
- package/es/_chunks/dep-8ec2d92c.js.map +0 -1
- package/es/_chunks/dep-966f4d8b.js +0 -19
- package/es/_chunks/dep-966f4d8b.js.map +0 -1
- package/es/_chunks/dep-98fc0271.js.map +0 -1
- package/es/_chunks/dep-a63e82ae.js.map +0 -1
- package/es/_chunks/dep-a902ad33.js +0 -26
- package/es/_chunks/dep-a902ad33.js.map +0 -1
- package/es/_chunks/dep-b946aae4.js.map +0 -1
- package/es/_chunks/dep-c7e83c21.js +0 -197
- package/es/_chunks/dep-c7e83c21.js.map +0 -1
- package/es/_chunks/dep-ca76867d.js +0 -48
- package/es/_chunks/dep-ca76867d.js.map +0 -1
- package/es/_chunks/dep-e492bdcc.js +0 -26
- package/es/_chunks/dep-e492bdcc.js.map +0 -1
- package/es/_chunks/dep-e4aca6cc.js +0 -27
- package/es/_chunks/dep-e4aca6cc.js.map +0 -1
- package/es/_chunks/dep-ea6cd97e.js.map +0 -1
- package/es/_chunks/dep-eae5e73b.js +0 -388
- package/es/_chunks/dep-eae5e73b.js.map +0 -1
- package/es/_chunks/dep-f479b641.js +0 -68
- package/es/_chunks/dep-f479b641.js.map +0 -1
- package/es/_chunks/dep-f91a0619.js.map +0 -1
- package/es/drawer/_util.d.ts +0 -15
- package/es/drawer/_util.js +0 -52
- package/es/drawer/_util.js.map +0 -1
- package/es/locale/type.d.ts +0 -7
- package/es/locale/type.js +0 -7
- package/es/locale/type.js.map +0 -1
- package/esm/_chunks/dep-178c8e4e.js.map +0 -1
- package/esm/_chunks/dep-2f14ad8e.js.map +0 -1
- package/esm/_chunks/dep-2fc7ff7b.js +0 -8
- package/esm/_chunks/dep-2fc7ff7b.js.map +0 -1
- package/esm/_chunks/dep-37aa0312.js +0 -49
- package/esm/_chunks/dep-37aa0312.js.map +0 -1
- package/esm/_chunks/dep-3ceef599.js +0 -85
- package/esm/_chunks/dep-3ceef599.js.map +0 -1
- package/esm/_chunks/dep-42d06a7e.js +0 -8
- package/esm/_chunks/dep-42d06a7e.js.map +0 -1
- package/esm/_chunks/dep-4bc313e1.js +0 -56
- package/esm/_chunks/dep-4bc313e1.js.map +0 -1
- package/esm/_chunks/dep-60f5bd8f.js.map +0 -1
- package/esm/_chunks/dep-73c3d91b.js +0 -8
- package/esm/_chunks/dep-73c3d91b.js.map +0 -1
- package/esm/_chunks/dep-82c64961.js +0 -33
- package/esm/_chunks/dep-82c64961.js.map +0 -1
- package/esm/_chunks/dep-8ec2d92c.js +0 -305
- package/esm/_chunks/dep-8ec2d92c.js.map +0 -1
- package/esm/_chunks/dep-966f4d8b.js +0 -19
- package/esm/_chunks/dep-966f4d8b.js.map +0 -1
- package/esm/_chunks/dep-98fc0271.js.map +0 -1
- package/esm/_chunks/dep-a63e82ae.js.map +0 -1
- package/esm/_chunks/dep-a902ad33.js +0 -26
- package/esm/_chunks/dep-a902ad33.js.map +0 -1
- package/esm/_chunks/dep-b946aae4.js.map +0 -1
- package/esm/_chunks/dep-c7e83c21.js +0 -197
- package/esm/_chunks/dep-c7e83c21.js.map +0 -1
- package/esm/_chunks/dep-ca76867d.js +0 -48
- package/esm/_chunks/dep-ca76867d.js.map +0 -1
- package/esm/_chunks/dep-e492bdcc.js +0 -26
- package/esm/_chunks/dep-e492bdcc.js.map +0 -1
- package/esm/_chunks/dep-e4aca6cc.js +0 -27
- package/esm/_chunks/dep-e4aca6cc.js.map +0 -1
- package/esm/_chunks/dep-ea6cd97e.js.map +0 -1
- package/esm/_chunks/dep-eae5e73b.js +0 -388
- package/esm/_chunks/dep-eae5e73b.js.map +0 -1
- package/esm/_chunks/dep-f479b641.js +0 -68
- package/esm/_chunks/dep-f479b641.js.map +0 -1
- package/esm/_chunks/dep-f91a0619.js.map +0 -1
- package/esm/drawer/_util.d.ts +0 -15
- package/esm/drawer/_util.js +0 -52
- package/esm/drawer/_util.js.map +0 -1
- package/esm/locale/type.d.ts +0 -7
- package/esm/locale/type.js +0 -7
- package/esm/locale/type.js.map +0 -1
- package/lib/_chunks/dep-095a6366.js.map +0 -1
- package/lib/_chunks/dep-13217692.js +0 -26
- package/lib/_chunks/dep-13217692.js.map +0 -1
- package/lib/_chunks/dep-1a5e5f30.js +0 -20
- package/lib/_chunks/dep-1a5e5f30.js.map +0 -1
- package/lib/_chunks/dep-22d0bd2e.js +0 -47
- package/lib/_chunks/dep-22d0bd2e.js.map +0 -1
- package/lib/_chunks/dep-29390a45.js.map +0 -1
- package/lib/_chunks/dep-36f97978.js.map +0 -1
- package/lib/_chunks/dep-3c54ade0.js.map +0 -1
- package/lib/_chunks/dep-53de9512.js +0 -200
- package/lib/_chunks/dep-53de9512.js.map +0 -1
- package/lib/_chunks/dep-6d4e028e.js +0 -69
- package/lib/_chunks/dep-6d4e028e.js.map +0 -1
- package/lib/_chunks/dep-7045ef4d.js +0 -395
- package/lib/_chunks/dep-7045ef4d.js.map +0 -1
- package/lib/_chunks/dep-8a2f9905.js.map +0 -1
- package/lib/_chunks/dep-8f7cf7c0.js.map +0 -1
- package/lib/_chunks/dep-8f8a4957.js +0 -308
- package/lib/_chunks/dep-8f8a4957.js.map +0 -1
- package/lib/_chunks/dep-97923f0c.js +0 -88
- package/lib/_chunks/dep-97923f0c.js.map +0 -1
- package/lib/_chunks/dep-9877f338.js.map +0 -1
- package/lib/_chunks/dep-a58521d2.js.map +0 -1
- package/lib/_chunks/dep-a72a2eef.js +0 -28
- package/lib/_chunks/dep-a72a2eef.js.map +0 -1
- package/lib/_chunks/dep-bbdfd0f9.js.map +0 -1
- package/lib/_chunks/dep-dd005d4e.js.map +0 -1
- package/lib/_chunks/dep-f2ec46ac.js +0 -34
- package/lib/_chunks/dep-f2ec46ac.js.map +0 -1
- package/lib/drawer/_util.d.ts +0 -15
- package/lib/drawer/_util.js +0 -58
- package/lib/drawer/_util.js.map +0 -1
- package/lib/locale/type.d.ts +0 -7
- package/lib/locale/type.js +0 -9
- package/lib/locale/type.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.24.2
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -23,5 +23,22 @@ function overArg(func, transform) {
|
|
|
23
23
|
|
|
24
24
|
var _overArg = overArg;
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* The base implementation of `_.unary` without support for storing metadata.
|
|
28
|
+
*
|
|
29
|
+
* @private
|
|
30
|
+
* @param {Function} func The function to cap arguments for.
|
|
31
|
+
* @returns {Function} Returns the new capped function.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
function baseUnary(func) {
|
|
35
|
+
return function (value) {
|
|
36
|
+
return func(value);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
var _baseUnary = baseUnary;
|
|
41
|
+
|
|
42
|
+
exports._baseUnary = _baseUnary;
|
|
26
43
|
exports._overArg = _overArg;
|
|
27
|
-
//# sourceMappingURL=dep-
|
|
44
|
+
//# sourceMappingURL=dep-013cf2de.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dep-013cf2de.js","sources":["../../node_modules/lodash/_overArg.js","../../node_modules/lodash/_baseUnary.js"],"sourcesContent":["/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n"],"names":["overArg","func","transform","arg","_overArg","baseUnary","value","_baseUnary"],"mappings":";;;;;;;;;;;;;;;;;AAQA,SAASA,OAAT,CAAiBC,IAAjB,EAAuBC,SAAvB,EAAkC;AAChC,SAAO,UAASC,GAAT,EAAc;AACnB,WAAOF,IAAI,CAACC,SAAS,CAACC,GAAD,CAAV,CAAX;AACD,GAFD;AAGD;;IAEDC,QAAc,GAAGJ;;;;;;;;;;ACPjB,SAASK,SAAT,CAAmBJ,IAAnB,EAAyB;AACvB,SAAO,UAASK,KAAT,EAAgB;AACrB,WAAOL,IAAI,CAACK,KAAD,CAAX;AACD,GAFD;AAGD;;IAEDC,UAAc,GAAGF;;;;;"}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.24.2
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var _cacheHas = require('./dep-
|
|
10
|
-
var toString = require('./dep-
|
|
11
|
-
var _baseUnary = require('./dep-
|
|
12
|
-
var _baseFlatten = require('./dep-
|
|
13
|
-
var
|
|
14
|
-
var _setToString = require('./dep-53de9512.js');
|
|
15
|
-
var isArrayLike$1 = require('./dep-52fe1e25.js');
|
|
16
|
-
var isObjectLike$1 = require('./dep-9c909570.js');
|
|
9
|
+
var _cacheHas = require('./dep-856aa3bf.js');
|
|
10
|
+
var toString = require('./dep-46734f40.js');
|
|
11
|
+
var _baseUnary = require('./dep-013cf2de.js');
|
|
12
|
+
var _baseFlatten = require('./dep-eeca3a4d.js');
|
|
13
|
+
var _baseRest = require('./dep-851964b6.js');
|
|
17
14
|
|
|
18
15
|
/**
|
|
19
16
|
* The base implementation of `_.isNaN` without support for number objects.
|
|
@@ -188,62 +185,10 @@ function baseDifference$1(array, values, iteratee, comparator) {
|
|
|
188
185
|
|
|
189
186
|
var _baseDifference = baseDifference$1;
|
|
190
187
|
|
|
191
|
-
var identity = identity$1.identity_1,
|
|
192
|
-
overRest = _setToString._overRest,
|
|
193
|
-
setToString = _setToString._setToString;
|
|
194
|
-
/**
|
|
195
|
-
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
|
|
196
|
-
*
|
|
197
|
-
* @private
|
|
198
|
-
* @param {Function} func The function to apply a rest parameter to.
|
|
199
|
-
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
200
|
-
* @returns {Function} Returns the new function.
|
|
201
|
-
*/
|
|
202
|
-
|
|
203
|
-
function baseRest$1(func, start) {
|
|
204
|
-
return setToString(overRest(func, start, identity), func + '');
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
var _baseRest = baseRest$1;
|
|
208
|
-
|
|
209
|
-
var isArrayLike = isArrayLike$1.isArrayLike_1,
|
|
210
|
-
isObjectLike = isObjectLike$1.isObjectLike_1;
|
|
211
|
-
/**
|
|
212
|
-
* This method is like `_.isArrayLike` except that it also checks if `value`
|
|
213
|
-
* is an object.
|
|
214
|
-
*
|
|
215
|
-
* @static
|
|
216
|
-
* @memberOf _
|
|
217
|
-
* @since 4.0.0
|
|
218
|
-
* @category Lang
|
|
219
|
-
* @param {*} value The value to check.
|
|
220
|
-
* @returns {boolean} Returns `true` if `value` is an array-like object,
|
|
221
|
-
* else `false`.
|
|
222
|
-
* @example
|
|
223
|
-
*
|
|
224
|
-
* _.isArrayLikeObject([1, 2, 3]);
|
|
225
|
-
* // => true
|
|
226
|
-
*
|
|
227
|
-
* _.isArrayLikeObject(document.body.children);
|
|
228
|
-
* // => true
|
|
229
|
-
*
|
|
230
|
-
* _.isArrayLikeObject('abc');
|
|
231
|
-
* // => false
|
|
232
|
-
*
|
|
233
|
-
* _.isArrayLikeObject(_.noop);
|
|
234
|
-
* // => false
|
|
235
|
-
*/
|
|
236
|
-
|
|
237
|
-
function isArrayLikeObject$1(value) {
|
|
238
|
-
return isObjectLike(value) && isArrayLike(value);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
var isArrayLikeObject_1 = isArrayLikeObject$1;
|
|
242
|
-
|
|
243
188
|
var baseDifference = _baseDifference,
|
|
244
189
|
baseFlatten = _baseFlatten._baseFlatten,
|
|
245
|
-
baseRest = _baseRest,
|
|
246
|
-
isArrayLikeObject = isArrayLikeObject_1;
|
|
190
|
+
baseRest = _baseRest._baseRest,
|
|
191
|
+
isArrayLikeObject = _baseRest.isArrayLikeObject_1;
|
|
247
192
|
/**
|
|
248
193
|
* Creates an array of `array` values not included in the other given arrays
|
|
249
194
|
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
@@ -272,4 +217,4 @@ var difference = baseRest(function (array, values) {
|
|
|
272
217
|
var difference_1 = difference;
|
|
273
218
|
|
|
274
219
|
exports.difference_1 = difference_1;
|
|
275
|
-
//# sourceMappingURL=dep-
|
|
220
|
+
//# sourceMappingURL=dep-04c4cfff.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dep-04c4cfff.js","sources":["../../node_modules/lodash/_baseIsNaN.js","../../node_modules/lodash/_strictIndexOf.js","../../node_modules/lodash/_baseIndexOf.js","../../node_modules/lodash/_arrayIncludes.js","../../node_modules/lodash/_arrayIncludesWith.js","../../node_modules/lodash/_baseDifference.js","../../node_modules/lodash/difference.js"],"sourcesContent":["/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\nfunction baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseDifference;\n","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\nvar difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n});\n\nmodule.exports = difference;\n"],"names":["baseIsNaN","value","_baseIsNaN","strictIndexOf","array","fromIndex","index","length","_strictIndexOf","baseFindIndex","require$$0","require$$1","require$$2","baseIndexOf","_baseIndexOf","arrayIncludes","_arrayIncludes","arrayIncludesWith","comparator","_arrayIncludesWith","SetCache","arrayMap","require$$3","baseUnary","require$$4","cacheHas","require$$5","LARGE_ARRAY_SIZE","baseDifference","values","iteratee","includes","isCommon","result","valuesLength","outer","computed","valuesIndex","push","_baseDifference","baseFlatten","baseRest","isArrayLikeObject","difference","difference_1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAOA,SAASA,WAAT,CAAmBC,KAAnB,EAA0B;AACxB,SAAOA,KAAK,KAAKA,KAAjB;AACD;;IAEDC,UAAc,GAAGF;;;;;;;;;;;;;ACDjB,SAASG,eAAT,CAAuBC,KAAvB,EAA8BH,KAA9B,EAAqCI,SAArC,EAAgD;AAC9C,MAAIC,KAAK,GAAGD,SAAS,GAAG,CAAxB;AAAA,MACIE,MAAM,GAAGH,KAAK,CAACG,MADnB;;AAGA,SAAO,EAAED,KAAF,GAAUC,MAAjB,EAAyB;AACvB,QAAIH,KAAK,CAACE,KAAD,CAAL,KAAiBL,KAArB,EAA4B;AAC1B,aAAOK,KAAP;AACD;AACF;;AACD,SAAO,CAAC,CAAR;AACD;;IAEDE,cAAc,GAAGL;;ACtBjB,IAAIM,aAAa,GAAGC,wBAApB;AAAA,IACIV,SAAS,GAAGW,UADhB;AAAA,IAEIR,aAAa,GAAGS,cAFpB;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,aAAT,CAAqBT,KAArB,EAA4BH,KAA5B,EAAmCI,SAAnC,EAA8C;AAC5C,SAAOJ,KAAK,KAAKA,KAAV,GACHE,aAAa,CAACC,KAAD,EAAQH,KAAR,EAAeI,SAAf,CADV,GAEHI,aAAa,CAACL,KAAD,EAAQJ,SAAR,EAAmBK,SAAnB,CAFjB;AAGD;;IAEDS,YAAc,GAAGD;;ACnBjB,IAAIA,WAAW,GAAGH,YAAlB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASK,eAAT,CAAuBX,KAAvB,EAA8BH,KAA9B,EAAqC;AAC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MAAP;AACD;;IAEDM,eAAc,GAAGX;;AClEjB,IAAIA,cAAc,GAAGlB,eAArB;AAAA,IACI8B,WAAW,GAAG7B,yBADlB;AAAA,IAEI8B,QAAQ,GAAG7B,mBAFf;AAAA,IAGI8B,iBAAiB,GAAGpB,6BAHxB;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,IAAIqB,UAAU,GAAGF,QAAQ,CAAC,UAASrC,KAAT,EAAgByB,MAAhB,EAAwB;AAChD,SAAOa,iBAAiB,CAACtC,KAAD,CAAjB,GACHwB,cAAc,CAACxB,KAAD,EAAQoC,WAAW,CAACX,MAAD,EAAS,CAAT,EAAYa,iBAAZ,EAA+B,IAA/B,CAAnB,CADX,GAEH,EAFJ;AAGD,CAJwB,CAAzB;IAMAE,YAAc,GAAGD;;;;"}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.24.2
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var _getTag = require('./dep-
|
|
10
|
-
var isArguments$1 = require('./dep-
|
|
11
|
-
var isArray$1 = require('./dep-
|
|
12
|
-
var isArrayLike$1 = require('./dep-
|
|
9
|
+
var _getTag = require('./dep-a821562f.js');
|
|
10
|
+
var isArguments$1 = require('./dep-e0f1e391.js');
|
|
11
|
+
var isArray$1 = require('./dep-58b55d35.js');
|
|
12
|
+
var isArrayLike$1 = require('./dep-46a203a6.js');
|
|
13
|
+
var isTypedArray$1 = require('./dep-2d08f6ba.js');
|
|
13
14
|
|
|
14
15
|
var baseKeys = _getTag._baseKeys,
|
|
15
16
|
getTag = _getTag._getTag,
|
|
16
17
|
isArguments = isArguments$1.isArguments_1,
|
|
17
18
|
isArray = isArray$1.isArray_1,
|
|
18
19
|
isArrayLike = isArrayLike$1.isArrayLike_1,
|
|
19
|
-
isBuffer =
|
|
20
|
-
isPrototype =
|
|
21
|
-
isTypedArray =
|
|
20
|
+
isBuffer = isTypedArray$1.isBuffer.exports,
|
|
21
|
+
isPrototype = isTypedArray$1._isPrototype,
|
|
22
|
+
isTypedArray = isTypedArray$1.isTypedArray_1;
|
|
22
23
|
/** `Object#toString` result references. */
|
|
23
24
|
|
|
24
25
|
var mapTag = '[object Map]',
|
|
@@ -94,4 +95,4 @@ function isEmpty(value) {
|
|
|
94
95
|
var isEmpty_1 = isEmpty;
|
|
95
96
|
|
|
96
97
|
exports.isEmpty_1 = isEmpty_1;
|
|
97
|
-
//# sourceMappingURL=dep-
|
|
98
|
+
//# sourceMappingURL=dep-084cee97.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-084cee97.js","sources":["../../node_modules/lodash/isEmpty.js"],"sourcesContent":["var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nmodule.exports = isEmpty;\n"],"names":["baseKeys","require$$0","getTag","require$$1","isArguments","require$$2","isArray","require$$3","isArrayLike","require$$4","isBuffer","require$$5","isPrototype","require$$6","isTypedArray","require$$7","mapTag","setTag","objectProto","Object","prototype","hasOwnProperty","isEmpty","value","splice","length","tag","size","key","call","isEmpty_1"],"mappings":";;;;;;;;;;;;;;AAAA,IAAIA,QAAQ,GAAGC,iBAAf;AAAA,IACIC,MAAM,GAAGC,eADb;AAAA,IAEIC,WAAW,GAAGC,2BAFlB;AAAA,IAGIC,OAAO,GAAGC,mBAHd;AAAA,IAIIC,WAAW,GAAGC,2BAJlB;AAAA,IAKIC,QAAQ,GAAGC,+BALf;AAAA,IAMIC,WAAW,GAAGC,2BANlB;AAAA,IAOIC,YAAY,GAAGC,6BAPnB;AASA;;AACA,IAAIC,MAAM,GAAG,cAAb;AAAA,IACIC,MAAM,GAAG,cADb;AAGA;;AACA,IAAIC,WAAW,GAAGC,MAAM,CAACC,SAAzB;AAEA;;AACA,IAAIC,cAAc,GAAGH,WAAW,CAACG,cAAjC;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,OAAT,CAAiBC,KAAjB,EAAwB;AACtB,MAAIA,KAAK,IAAI,IAAb,EAAmB;AACjB,WAAO,IAAP;AACD;;AACD,MAAIf,WAAW,CAACe,KAAD,CAAX,KACCjB,OAAO,CAACiB,KAAD,CAAP,IAAkB,OAAOA,KAAP,IAAgB,QAAlC,IAA8C,OAAOA,KAAK,CAACC,MAAb,IAAuB,UAArE,IACCd,QAAQ,CAACa,KAAD,CADT,IACoBT,YAAY,CAACS,KAAD,CADhC,IAC2CnB,WAAW,CAACmB,KAAD,CAFvD,CAAJ,EAEqE;AACnE,WAAO,CAACA,KAAK,CAACE,MAAd;AACD;;AACD,MAAIC,GAAG,GAAGxB,MAAM,CAACqB,KAAD,CAAhB;;AACA,MAAIG,GAAG,IAAIV,MAAP,IAAiBU,GAAG,IAAIT,MAA5B,EAAoC;AAClC,WAAO,CAACM,KAAK,CAACI,IAAd;AACD;;AACD,MAAIf,WAAW,CAACW,KAAD,CAAf,EAAwB;AACtB,WAAO,CAACvB,QAAQ,CAACuB,KAAD,CAAR,CAAgBE,MAAxB;AACD;;AACD,OAAK,IAAIG,GAAT,IAAgBL,KAAhB,EAAuB;AACrB,QAAIF,cAAc,CAACQ,IAAf,CAAoBN,KAApB,EAA2BK,GAA3B,CAAJ,EAAqC;AACnC,aAAO,KAAP;AACD;AACF;;AACD,SAAO,IAAP;AACD;;IAEDE,SAAc,GAAGR;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.24.2
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -29,29 +29,5 @@ function arrayPush(array, values) {
|
|
|
29
29
|
|
|
30
30
|
var _arrayPush = arrayPush;
|
|
31
31
|
|
|
32
|
-
/**
|
|
33
|
-
* This method returns the first argument it receives.
|
|
34
|
-
*
|
|
35
|
-
* @static
|
|
36
|
-
* @since 0.1.0
|
|
37
|
-
* @memberOf _
|
|
38
|
-
* @category Util
|
|
39
|
-
* @param {*} value Any value.
|
|
40
|
-
* @returns {*} Returns `value`.
|
|
41
|
-
* @example
|
|
42
|
-
*
|
|
43
|
-
* var object = { 'a': 1 };
|
|
44
|
-
*
|
|
45
|
-
* console.log(_.identity(object) === object);
|
|
46
|
-
* // => true
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
function identity(value) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
var identity_1 = identity;
|
|
54
|
-
|
|
55
32
|
exports._arrayPush = _arrayPush;
|
|
56
|
-
|
|
57
|
-
//# sourceMappingURL=dep-36f97978.js.map
|
|
33
|
+
//# sourceMappingURL=dep-1184898a.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dep-1184898a.js","sources":["../../node_modules/lodash/_arrayPush.js"],"sourcesContent":["/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n"],"names":["arrayPush","array","values","index","length","offset","_arrayPush"],"mappings":";;;;;;;;;;;;;;;;;AAQA,SAASA,SAAT,CAAmBC,KAAnB,EAA0BC,MAA1B,EAAkC;AAChC,MAAIC,KAAK,GAAG,CAAC,CAAb;AAAA,MACIC,MAAM,GAAGF,MAAM,CAACE,MADpB;AAAA,MAEIC,MAAM,GAAGJ,KAAK,CAACG,MAFnB;;AAIA,SAAO,EAAED,KAAF,GAAUC,MAAjB,EAAyB;AACvBH,IAAAA,KAAK,CAACI,MAAM,GAAGF,KAAV,CAAL,GAAwBD,MAAM,CAACC,KAAD,CAA9B;AACD;;AACD,SAAOF,KAAP;AACD;;IAEDK,UAAc,GAAGN;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.24.2
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
|
-
var defineProperty = require('./dep-
|
|
10
|
-
var slicedToArray = require('./dep-
|
|
11
|
-
var objectWithoutProperties = require('./dep-
|
|
9
|
+
var defineProperty = require('./dep-d569a74d.js');
|
|
10
|
+
var slicedToArray = require('./dep-c419658d.js');
|
|
11
|
+
var objectWithoutProperties = require('./dep-70ccd627.js');
|
|
12
12
|
var React = require('react');
|
|
13
13
|
var useResizeObserver = require('use-resize-observer');
|
|
14
14
|
var classNames = require('classnames');
|
|
@@ -227,4 +227,4 @@ Avatar.displayName = "Avatar";
|
|
|
227
227
|
|
|
228
228
|
exports.Avatar = Avatar;
|
|
229
229
|
exports.Group = Group;
|
|
230
|
-
//# sourceMappingURL=dep-
|
|
230
|
+
//# sourceMappingURL=dep-129b4428.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-7db6c96c.js","sources":["../../src/avatar/AvararGroup.tsx","../../src/avatar/Avatar.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\nimport Avatar from './Avatar';\nimport Popup from '../popup/Popup';\nimport useConfig from '../_util/useConfig';\nimport { AvatarContextProvider } from './AvatarContext';\nimport { TdAvatarGroupProps } from './type';\nimport { StyledProps } from '../common';\n\nexport interface AvatarGroupProps extends TdAvatarGroupProps, StyledProps {\n children?: React.ReactNode;\n}\nconst Group: React.FC<AvatarGroupProps> = (props) => {\n const { classPrefix } = useConfig();\n const preClass = `${classPrefix}-avatar`;\n const {\n className,\n cascading = 'right-up',\n collapseAvatar,\n max,\n placement,\n popupProps,\n size = 'medium',\n children,\n ...avatarGroupProps\n } = props;\n\n const childrenList = React.Children.toArray(children);\n let allChildrenList;\n if (childrenList.length > 0) {\n allChildrenList = childrenList.map((child: JSX.Element, index: number) =>\n React.cloneElement(child, { key: `avatar-group-item-${index}`, ...child.props }),\n );\n }\n const groupClass = classNames(`${preClass}-group`, className, {\n [`${preClass}--offset-right`]: cascading === 'right-up',\n [`${preClass}--offset-left`]: cascading === 'left-up',\n });\n const childrenCount = childrenList.length;\n if (max && childrenCount > max) {\n const showList = allChildrenList.slice(0, max);\n const hiddenList = allChildrenList.slice(max, childrenCount);\n const popupNum = `+${childrenCount - max}`;\n const popupMergeProps = { ...popupProps, placement };\n const popupNodes = popupProps ? (\n <Popup {...popupMergeProps}>\n {collapseAvatar ? <Avatar size={size}>{collapseAvatar}</Avatar> : <Avatar size={size}>{popupNum}</Avatar>}\n </Popup>\n ) : (\n <Popup key=\"avatar-popup-key\" placement={placement} content={hiddenList} trigger=\"hover\" showArrow>\n {collapseAvatar ? <Avatar size={size}>{collapseAvatar}</Avatar> : <Avatar size={size}>{popupNum}</Avatar>}\n </Popup>\n );\n showList.push(popupNodes);\n return (\n <AvatarContextProvider size={size}>\n <div className={groupClass}>{showList}</div>\n </AvatarContextProvider>\n );\n }\n return (\n <AvatarContextProvider size={size}>\n <div className={groupClass} {...avatarGroupProps}>\n {allChildrenList}\n </div>\n </AvatarContextProvider>\n );\n};\nexport default Group;\n","import React, { useRef, useState, useEffect, useContext, Ref } from 'react';\nimport useResizeObserver from 'use-resize-observer';\nimport classNames from 'classnames';\nimport useConfig from '../_util/useConfig';\nimport forwardRefWithStatics from '../_util/forwardRefWithStatics';\nimport useCommonClassName from '../_util/useCommonClassName';\nimport composeRefs from '../_util/composeRefs';\nimport { TdAvatarProps } from './type';\nimport { StyledProps } from '../common';\nimport AvatarContext from './AvatarContext';\nimport AvatarGroup from './AvararGroup';\n\nexport interface AvatarProps extends TdAvatarProps, StyledProps {\n children?: React.ReactNode;\n}\n\nconst Avatar = forwardRefWithStatics(\n (props: AvatarProps, ref: Ref<HTMLElement>) => {\n const {\n alt,\n hideOnLoadFailed = false,\n icon,\n image,\n shape = 'circle',\n size: avatarSize = 'default',\n onError,\n children,\n style,\n className,\n ...avatarProps\n } = props;\n const groupSize = useContext(AvatarContext);\n const { classPrefix } = useConfig();\n const [scale, setScale] = useState(1);\n const [isImgExist, setIsImgExist] = useState(true);\n const avatarRef = useRef<HTMLElement>(null);\n const avatarChildrenRef = useRef<HTMLElement>(null);\n const size = avatarSize === 'default' ? groupSize : avatarSize;\n const gap = 4;\n const handleScale = () => {\n if (!avatarChildrenRef.current || !avatarRef.current) {\n return;\n }\n const childrenWidth = avatarChildrenRef.current.offsetWidth;\n const avatarWidth = avatarRef.current.offsetWidth;\n\n if (childrenWidth !== 0 && avatarWidth !== 0) {\n if (gap * 2 < avatarWidth) {\n setScale(avatarWidth - gap * 2 < childrenWidth ? (avatarWidth - gap * 2) / childrenWidth : 1);\n }\n }\n };\n const { ref: observerRef } = useResizeObserver<HTMLDivElement>({\n onResize: handleScale,\n });\n\n const handleImgLoadError = () => {\n onError && onError();\n !hideOnLoadFailed && setIsImgExist(false);\n };\n\n useEffect(() => {\n setIsImgExist(true);\n setScale(1);\n }, [props.image]);\n\n useEffect(() => {\n handleScale();\n }, []);\n\n const { SIZE } = useCommonClassName();\n const numSizeStyle: React.CSSProperties =\n size && !SIZE[size]\n ? {\n width: size,\n height: size,\n fontSize: `${Number.parseInt(size, 10) / 2}px`,\n }\n : {};\n const imageStyle: React.CSSProperties =\n size && !SIZE[size]\n ? {\n width: size,\n height: size,\n }\n : {};\n\n const preClass = `${classPrefix}-avatar`;\n\n const avatarClass = classNames(preClass, className, {\n [SIZE[size]]: !!SIZE[size],\n [`${preClass}--${shape}`]: !!shape,\n [`${preClass}-icon`]: !!icon,\n });\n\n let content;\n if (image && isImgExist) {\n content = <img src={image} alt={alt} style={imageStyle} onError={handleImgLoadError} />;\n } else if (icon) {\n content = icon;\n } else {\n const childrenStyle: React.CSSProperties = {\n transform: `scale(${scale})`,\n };\n content = (\n <span ref={composeRefs(ref, avatarChildrenRef, observerRef) as any} style={childrenStyle}>\n {children}\n </span>\n );\n }\n return (\n <div\n ref={composeRefs(ref, avatarRef) as any}\n className={avatarClass}\n style={{ ...numSizeStyle, ...style }}\n {...avatarProps}\n >\n {content}\n </div>\n );\n },\n { Group: AvatarGroup },\n);\n\nAvatar.displayName = 'Avatar';\n\nexport default Avatar;\n"],"names":["Group","props","useConfig","classPrefix","preClass","className","cascading","collapseAvatar","max","placement","popupProps","size","children","avatarGroupProps","childrenList","React","Children","toArray","allChildrenList","length","map","child","index","cloneElement","key","groupClass","classNames","childrenCount","showList","slice","hiddenList","popupNum","popupMergeProps","popupNodes","createElement","Popup","Avatar","content","trigger","showArrow","push","AvatarContextProvider","forwardRefWithStatics","ref","alt","hideOnLoadFailed","icon","image","shape","avatarSize","onError","style","avatarProps","groupSize","useContext","AvatarContext","useState","scale","setScale","isImgExist","setIsImgExist","avatarRef","useRef","avatarChildrenRef","gap","handleScale","current","childrenWidth","offsetWidth","avatarWidth","useResizeObserver","onResize","observerRef","handleImgLoadError","useEffect","useCommonClassName","SIZE","numSizeStyle","width","height","fontSize","Number","parseInt","imageStyle","avatarClass","src","childrenStyle","transform","composeRefs","AvatarGroup","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMMA,KAAK,GAAG,SAARA,KAAQ,CAACC,KAAD,EAAW;AAAA;;AACvB,mBAAwBC,0BAAS,EAAjC;AAAA,MAAQC,WAAR,cAAQA,WAAR;;AACA,MAAMC,QAAQ,aAAMD,WAAN,YAAd;;AACA,MACEE,SADF,GAUIJ,KAVJ,CACEI,SADF;AAAA,yBAUIJ,KAVJ,CAEEK,SAFF;AAAA,MAEEA,SAFF,iCAEc,UAFd;AAAA,MAGEC,cAHF,GAUIN,KAVJ,CAGEM,cAHF;AAAA,MAIEC,GAJF,GAUIP,KAVJ,CAIEO,GAJF;AAAA,MAKEC,SALF,GAUIR,KAVJ,C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AC7C,GAAD,EAAMoB,iBAAN,EAAyBS,WAAzB,CADoC;AAEpDrB,MAAAA,KAAK,EAAEmC;AAF6C,KAA5B,EAGvB1E,QAHuB,CAA1B;AAID;;AACD,wBAAuBG,yBAAK,CAACmB,aAAN,CAAoB,KAApB;AACrBS,IAAAA,GAAG,EAAE6C,4BAAW,CAAC7C,GAAD,EAAMkB,SAAN,CADK;AAErBxD,IAAAA,SAAS,EAAE+E,WAFU;AAGrBjC,IAAAA,KAAK,kCAAO0B,YAAP,GAAwB1B,KAAxB;AAHgB,KAIlBC,WAJkB,GAKpBf,OALoB,CAAvB;AAMD,CAzFmC,EAyFjC;AAAErC,EAAAA,KAAK,EAAEyF;AAAT,CAzFiC;AA0FpCrD,MAAM,CAACsD,WAAP,GAAqB,QAArB;;;;;"}
|
|
1
|
+
{"version":3,"file":"dep-129b4428.js","sources":["../../src/avatar/AvararGroup.tsx","../../src/avatar/Avatar.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\nimport Avatar from './Avatar';\nimport Popup from '../popup/Popup';\nimport useConfig from '../_util/useConfig';\nimport { AvatarContextProvider } from './AvatarContext';\nimport { TdAvatarGroupProps } from './type';\nimport { StyledProps } from '../common';\n\nexport interface AvatarGroupProps extends TdAvatarGroupProps, StyledProps {\n children?: React.ReactNode;\n}\nconst Group: React.FC<AvatarGroupProps> = (props) => {\n const { classPrefix } = useConfig();\n const preClass = `${classPrefix}-avatar`;\n const {\n className,\n cascading = 'right-up',\n collapseAvatar,\n max,\n placement,\n popupProps,\n size = 'medium',\n children,\n ...avatarGroupProps\n } = props;\n\n const childrenList = React.Children.toArray(children);\n let allChildrenList;\n if (childrenList.length > 0) {\n allChildrenList = childrenList.map((child: JSX.Element, index: number) =>\n React.cloneElement(child, { key: `avatar-group-item-${index}`, ...child.props }),\n );\n }\n const groupClass = classNames(`${preClass}-group`, className, {\n [`${preClass}--offset-right`]: cascading === 'right-up',\n [`${preClass}--offset-left`]: cascading === 'left-up',\n });\n const childrenCount = childrenList.length;\n if (max && childrenCount > max) {\n const showList = allChildrenList.slice(0, max);\n const hiddenList = allChildrenList.slice(max, childrenCount);\n const popupNum = `+${childrenCount - max}`;\n const popupMergeProps = { ...popupProps, placement };\n const popupNodes = popupProps ? (\n <Popup {...popupMergeProps}>\n {collapseAvatar ? <Avatar size={size}>{collapseAvatar}</Avatar> : <Avatar size={size}>{popupNum}</Avatar>}\n </Popup>\n ) : (\n <Popup key=\"avatar-popup-key\" placement={placement} content={hiddenList} trigger=\"hover\" showArrow>\n {collapseAvatar ? <Avatar size={size}>{collapseAvatar}</Avatar> : <Avatar size={size}>{popupNum}</Avatar>}\n </Popup>\n );\n showList.push(popupNodes);\n return (\n <AvatarContextProvider size={size}>\n <div className={groupClass}>{showList}</div>\n </AvatarContextProvider>\n );\n }\n return (\n <AvatarContextProvider size={size}>\n <div className={groupClass} {...avatarGroupProps}>\n {allChildrenList}\n </div>\n </AvatarContextProvider>\n );\n};\nexport default Group;\n","import React, { useRef, useState, useEffect, useContext, Ref } from 'react';\nimport useResizeObserver from 'use-resize-observer';\nimport classNames from 'classnames';\nimport useConfig from '../_util/useConfig';\nimport forwardRefWithStatics from '../_util/forwardRefWithStatics';\nimport useCommonClassName from '../_util/useCommonClassName';\nimport composeRefs from '../_util/composeRefs';\nimport { TdAvatarProps } from './type';\nimport { StyledProps } from '../common';\nimport AvatarContext from './AvatarContext';\nimport AvatarGroup from './AvararGroup';\n\nexport interface AvatarProps extends TdAvatarProps, StyledProps {\n children?: React.ReactNode;\n}\n\nconst Avatar = forwardRefWithStatics(\n (props: AvatarProps, ref: Ref<HTMLElement>) => {\n const {\n alt,\n hideOnLoadFailed = false,\n icon,\n image,\n shape = 'circle',\n size: avatarSize = 'default',\n onError,\n children,\n style,\n className,\n ...avatarProps\n } = props;\n const groupSize = useContext(AvatarContext);\n const { classPrefix } = useConfig();\n const [scale, setScale] = useState(1);\n const [isImgExist, setIsImgExist] = useState(true);\n const avatarRef = useRef<HTMLElement>(null);\n const avatarChildrenRef = useRef<HTMLElement>(null);\n const size = avatarSize === 'default' ? groupSize : avatarSize;\n const gap = 4;\n const handleScale = () => {\n if (!avatarChildrenRef.current || !avatarRef.current) {\n return;\n }\n const childrenWidth = avatarChildrenRef.current.offsetWidth;\n const avatarWidth = avatarRef.current.offsetWidth;\n\n if (childrenWidth !== 0 && avatarWidth !== 0) {\n if (gap * 2 < avatarWidth) {\n setScale(avatarWidth - gap * 2 < childrenWidth ? (avatarWidth - gap * 2) / childrenWidth : 1);\n }\n }\n };\n const { ref: observerRef } = useResizeObserver<HTMLDivElement>({\n onResize: handleScale,\n });\n\n const handleImgLoadError = () => {\n onError && onError();\n !hideOnLoadFailed && setIsImgExist(false);\n };\n\n useEffect(() => {\n setIsImgExist(true);\n setScale(1);\n }, [props.image]);\n\n useEffect(() => {\n handleScale();\n }, []);\n\n const { SIZE } = useCommonClassName();\n const numSizeStyle: React.CSSProperties =\n size && !SIZE[size]\n ? {\n width: size,\n height: size,\n fontSize: `${Number.parseInt(size, 10) / 2}px`,\n }\n : {};\n const imageStyle: React.CSSProperties =\n size && !SIZE[size]\n ? {\n width: size,\n height: size,\n }\n : {};\n\n const preClass = `${classPrefix}-avatar`;\n\n const avatarClass = classNames(preClass, className, {\n [SIZE[size]]: !!SIZE[size],\n [`${preClass}--${shape}`]: !!shape,\n [`${preClass}-icon`]: !!icon,\n });\n\n let content;\n if (image && isImgExist) {\n content = <img src={image} alt={alt} style={imageStyle} onError={handleImgLoadError} />;\n } else if (icon) {\n content = icon;\n } else {\n const childrenStyle: React.CSSProperties = {\n transform: `scale(${scale})`,\n };\n content = (\n <span ref={composeRefs(ref, avatarChildrenRef, observerRef) as any} style={childrenStyle}>\n {children}\n </span>\n );\n }\n return (\n <div\n ref={composeRefs(ref, avatarRef) as any}\n className={avatarClass}\n style={{ ...numSizeStyle, ...style }}\n {...avatarProps}\n >\n {content}\n </div>\n );\n },\n { Group: AvatarGroup },\n);\n\nAvatar.displayName = 'Avatar';\n\nexport default Avatar;\n"],"names":["Group","props","useConfig","classPrefix","preClass","className","cascading","collapseAvatar","max","placement","popupProps","size","children","avatarGroupProps","childrenList","React","Children","toArray","allChildrenList","length","map","child","index","cloneElement","key","groupClass","classNames","childrenCount","showList","slice","hiddenList","popupNum","popupMergeProps","popupNodes","createElement","Popup","Avatar","content","trigger","showArrow","push","AvatarContextProvider","forwardRefWithStatics","ref","alt","hideOnLoadFailed","icon","image","shape","avatarSize","onError","style","avatarProps","groupSize","useContext","AvatarContext","useState","scale","setScale","isImgExist","setIsImgExist","avatarRef","useRef","avatarChildrenRef","gap","handleScale","current","childrenWidth","offsetWidth","avatarWidth","useResizeObserver","onResize","observerRef","handleImgLoadError","useEffect","useCommonClassName","SIZE","numSizeStyle","width","height","fontSize","Number","parseInt","imageStyle","avatarClass","src","childrenStyle","transform","composeRefs","AvatarGroup","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMMA,KAAK,GAAG,SAARA,KAAQ,CAACC,KAAD,EAAW;AAAA;;AACvB,mBAAwBC,0BAAS,EAAjC;AAAA,MAAQC,WAAR,cAAQA,WAAR;;AACA,MAAMC,QAAQ,aAAMD,WAAN,YAAd;;AACA,MACEE,SADF,GAUIJ,KAVJ,CACEI,SADF;AAAA,yBAUIJ,KAVJ,CAEEK,SAFF;AAAA,MAEEA,SAFF,iCAEc,UAFd;AAAA,MAGEC,cAHF,GAUIN,KAVJ,CAGEM,cAHF;AAAA,MAIEC,GAJF,GAUIP,KAVJ,CAIEO,GAJF;AAAA,MAKEC,SALF,GAUIR,KAVJ,CAKEQ,SALF;AAAA,MAMEC,UANF,GAUIT,KAVJ,CAMES,UANF;AAAA,oBAUIT,KAVJ,CAOEU,IAPF;AAAA,MAOEA,IAPF,4BAOS,QAPT;AAAA,MAQEC,QARF,GAUIX,KAVJ,CAQEW,QARF;AAAA,MASKC,gBATL,oDAUIZ,KAVJ;;AAWA,MAAMa,YAAY,GAAGC,yBAAK,CAACC,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AAErBxD,IAAAA,SAAS,EAAE+E,WAFU;AAGrBjC,IAAAA,KAAK,kCAAO0B,YAAP,GAAwB1B,KAAxB;AAHgB,KAIlBC,WAJkB,GAKpBf,OALoB,CAAvB;AAMD,CAzFmC,EAyFjC;AAAErC,EAAAA,KAAK,EAAEyF;AAAT,CAzFiC;AA0FpCrD,MAAM,CAACsD,WAAP,GAAqB,QAArB;;;;;"}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* tdesign v0.24.2
|
|
3
|
+
* (c) 2022 tdesign
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
'use strict';
|
|
8
|
+
|
|
9
|
+
var _baseGetTag = require('./dep-824a3ee6.js');
|
|
10
|
+
var isLength$1 = require('./dep-3d45cbc8.js');
|
|
11
|
+
var isObjectLike$1 = require('./dep-4fb5c464.js');
|
|
12
|
+
var _baseUnary = require('./dep-013cf2de.js');
|
|
13
|
+
|
|
14
|
+
/** Used for built-in method references. */
|
|
15
|
+
var objectProto = Object.prototype;
|
|
16
|
+
/**
|
|
17
|
+
* Checks if `value` is likely a prototype object.
|
|
18
|
+
*
|
|
19
|
+
* @private
|
|
20
|
+
* @param {*} value The value to check.
|
|
21
|
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
function isPrototype(value) {
|
|
25
|
+
var Ctor = value && value.constructor,
|
|
26
|
+
proto = typeof Ctor == 'function' && Ctor.prototype || objectProto;
|
|
27
|
+
return value === proto;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var _isPrototype = isPrototype;
|
|
31
|
+
|
|
32
|
+
var isBuffer = {exports: {}};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* This method returns `false`.
|
|
36
|
+
*
|
|
37
|
+
* @static
|
|
38
|
+
* @memberOf _
|
|
39
|
+
* @since 4.13.0
|
|
40
|
+
* @category Util
|
|
41
|
+
* @returns {boolean} Returns `false`.
|
|
42
|
+
* @example
|
|
43
|
+
*
|
|
44
|
+
* _.times(2, _.stubFalse);
|
|
45
|
+
* // => [false, false]
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
function stubFalse() {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
var stubFalse_1 = stubFalse;
|
|
53
|
+
|
|
54
|
+
(function (module, exports) {
|
|
55
|
+
var root = _baseGetTag._root,
|
|
56
|
+
stubFalse = stubFalse_1;
|
|
57
|
+
/** Detect free variable `exports`. */
|
|
58
|
+
|
|
59
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
60
|
+
/** Detect free variable `module`. */
|
|
61
|
+
|
|
62
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
63
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
64
|
+
|
|
65
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
66
|
+
/** Built-in value references. */
|
|
67
|
+
|
|
68
|
+
var Buffer = moduleExports ? root.Buffer : undefined;
|
|
69
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
70
|
+
|
|
71
|
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Checks if `value` is a buffer.
|
|
74
|
+
*
|
|
75
|
+
* @static
|
|
76
|
+
* @memberOf _
|
|
77
|
+
* @since 4.3.0
|
|
78
|
+
* @category Lang
|
|
79
|
+
* @param {*} value The value to check.
|
|
80
|
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
81
|
+
* @example
|
|
82
|
+
*
|
|
83
|
+
* _.isBuffer(new Buffer(2));
|
|
84
|
+
* // => true
|
|
85
|
+
*
|
|
86
|
+
* _.isBuffer(new Uint8Array(2));
|
|
87
|
+
* // => false
|
|
88
|
+
*/
|
|
89
|
+
|
|
90
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
|
91
|
+
module.exports = isBuffer;
|
|
92
|
+
})(isBuffer, isBuffer.exports);
|
|
93
|
+
|
|
94
|
+
var baseGetTag = _baseGetTag._baseGetTag,
|
|
95
|
+
isLength = isLength$1.isLength_1,
|
|
96
|
+
isObjectLike = isObjectLike$1.isObjectLike_1;
|
|
97
|
+
/** `Object#toString` result references. */
|
|
98
|
+
|
|
99
|
+
var argsTag = '[object Arguments]',
|
|
100
|
+
arrayTag = '[object Array]',
|
|
101
|
+
boolTag = '[object Boolean]',
|
|
102
|
+
dateTag = '[object Date]',
|
|
103
|
+
errorTag = '[object Error]',
|
|
104
|
+
funcTag = '[object Function]',
|
|
105
|
+
mapTag = '[object Map]',
|
|
106
|
+
numberTag = '[object Number]',
|
|
107
|
+
objectTag = '[object Object]',
|
|
108
|
+
regexpTag = '[object RegExp]',
|
|
109
|
+
setTag = '[object Set]',
|
|
110
|
+
stringTag = '[object String]',
|
|
111
|
+
weakMapTag = '[object WeakMap]';
|
|
112
|
+
var arrayBufferTag = '[object ArrayBuffer]',
|
|
113
|
+
dataViewTag = '[object DataView]',
|
|
114
|
+
float32Tag = '[object Float32Array]',
|
|
115
|
+
float64Tag = '[object Float64Array]',
|
|
116
|
+
int8Tag = '[object Int8Array]',
|
|
117
|
+
int16Tag = '[object Int16Array]',
|
|
118
|
+
int32Tag = '[object Int32Array]',
|
|
119
|
+
uint8Tag = '[object Uint8Array]',
|
|
120
|
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
121
|
+
uint16Tag = '[object Uint16Array]',
|
|
122
|
+
uint32Tag = '[object Uint32Array]';
|
|
123
|
+
/** Used to identify `toStringTag` values of typed arrays. */
|
|
124
|
+
|
|
125
|
+
var typedArrayTags = {};
|
|
126
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
|
127
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
|
128
|
+
/**
|
|
129
|
+
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
130
|
+
*
|
|
131
|
+
* @private
|
|
132
|
+
* @param {*} value The value to check.
|
|
133
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
134
|
+
*/
|
|
135
|
+
|
|
136
|
+
function baseIsTypedArray$1(value) {
|
|
137
|
+
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
var _baseIsTypedArray = baseIsTypedArray$1;
|
|
141
|
+
|
|
142
|
+
var _nodeUtil = {exports: {}};
|
|
143
|
+
|
|
144
|
+
(function (module, exports) {
|
|
145
|
+
var freeGlobal = _baseGetTag._freeGlobal;
|
|
146
|
+
/** Detect free variable `exports`. */
|
|
147
|
+
|
|
148
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
149
|
+
/** Detect free variable `module`. */
|
|
150
|
+
|
|
151
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
152
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
153
|
+
|
|
154
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
155
|
+
/** Detect free variable `process` from Node.js. */
|
|
156
|
+
|
|
157
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
|
158
|
+
/** Used to access faster Node.js helpers. */
|
|
159
|
+
|
|
160
|
+
var nodeUtil = function () {
|
|
161
|
+
try {
|
|
162
|
+
// Use `util.types` for Node.js 10+.
|
|
163
|
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
164
|
+
|
|
165
|
+
if (types) {
|
|
166
|
+
return types;
|
|
167
|
+
} // Legacy `process.binding('util')` for Node.js < 10.
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
171
|
+
} catch (e) {}
|
|
172
|
+
}();
|
|
173
|
+
|
|
174
|
+
module.exports = nodeUtil;
|
|
175
|
+
})(_nodeUtil, _nodeUtil.exports);
|
|
176
|
+
|
|
177
|
+
var baseIsTypedArray = _baseIsTypedArray,
|
|
178
|
+
baseUnary = _baseUnary._baseUnary,
|
|
179
|
+
nodeUtil = _nodeUtil.exports;
|
|
180
|
+
/* Node.js helper references. */
|
|
181
|
+
|
|
182
|
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
183
|
+
/**
|
|
184
|
+
* Checks if `value` is classified as a typed array.
|
|
185
|
+
*
|
|
186
|
+
* @static
|
|
187
|
+
* @memberOf _
|
|
188
|
+
* @since 3.0.0
|
|
189
|
+
* @category Lang
|
|
190
|
+
* @param {*} value The value to check.
|
|
191
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
192
|
+
* @example
|
|
193
|
+
*
|
|
194
|
+
* _.isTypedArray(new Uint8Array);
|
|
195
|
+
* // => true
|
|
196
|
+
*
|
|
197
|
+
* _.isTypedArray([]);
|
|
198
|
+
* // => false
|
|
199
|
+
*/
|
|
200
|
+
|
|
201
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
202
|
+
var isTypedArray_1 = isTypedArray;
|
|
203
|
+
|
|
204
|
+
exports._isPrototype = _isPrototype;
|
|
205
|
+
exports._nodeUtil = _nodeUtil;
|
|
206
|
+
exports.isBuffer = isBuffer;
|
|
207
|
+
exports.isTypedArray_1 = isTypedArray_1;
|
|
208
|
+
//# sourceMappingURL=dep-2d08f6ba.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dep-2d08f6ba.js","sources":["../../node_modules/lodash/_isPrototype.js","../../node_modules/lodash/stubFalse.js","../../node_modules/lodash/isBuffer.js","../../node_modules/lodash/_baseIsTypedArray.js","../../node_modules/lodash/_nodeUtil.js","../../node_modules/lodash/isTypedArray.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n"],"names":["objectProto","Object","prototype","isPrototype","value","Ctor","constructor","proto","_isPrototype","stubFalse","stubFalse_1","root","require$$0","require$$1","freeExports","exports","nodeType","freeModule","module","moduleExports","Buffer","undefined","nativeIsBuffer","isBuffer","baseGetTag","isLength","isObjectLike","require$$2","argsTag","arrayTag","boolTag","dateTag","errorTag","funcTag","mapTag","numberTag","objectTag","regexpTag","setTag","stringTag","weakMapTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","typedArrayTags","baseIsTypedArray","length","_baseIsTypedArray","freeGlobal","freeProcess","process","nodeUtil","types","require","binding","e","baseUnary","nodeIsTypedArray","isTypedArray","isTypedArray_1"],"mappings":";;;;;;;;;;;;;;AACA,IAAIA,WAAW,GAAGC,MAAM,CAACC,SAAzB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,WAAT,CAAqBC,KAArB,EAA4B;AAC1B,MAAIC,IAAI,GAAGD,KAAK,IAAIA,KAAK,CAACE,WAA1B;AAAA,MACIC,KAAK,GAAI,OAAOF,IAAP,IAAe,UAAf,IAA6BA,IAAI,CAACH,SAAnC,IAAiDF,WAD7D;AAGA,SAAOI,KAAK,KAAKG,KAAjB;AACD;;IAEDC,YAAc,GAAGL;;;;;;;;;;;;;;;;;;ACJjB,SAASM,SAAT,GAAqB;AACnB,SAAO,KAAP;AACD;;IAEDC,WAAc,GAAGD;;;ACjBjB,MAAIE,IAAI,GAAGC,iBAAX;AAAA,MACIH,SAAS,GAAGI,WADhB;AAGA;;AACA,MAAIC,WAAW,GAAiCC,OAA9B,IAAyC,CAACA,OAAO,CAACC,QAAlD,IAA8DD,OAAhF;AAEA;;AACA,MAAIE,UAAU,GAAGH,WAAW,IAAI,YAAiB,QAAhC,IAA4CI,MAA5C,IAAsD,CAACA,MAAM,CAACF,QAA9D,IAA0EE,MAA3F;AAEA;;AACA,MAAIC,aAAa,GAAGF,UAAU,IAAIA,UAAU,CAACF,OAAX,KAAuBD,WAAzD;AAEA;;AACA,MAAIM,MAAM,GAAGD,aAAa,GAAGR,IAAI,CAACS,MAAR,GAAiBC,SAA3C;AAEA;;AACA,MAAI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seFlatten = require('./dep-eeca3a4d.js');
|
|
10
10
|
|
|
11
11
|
var baseFlatten = _baseFlatten._baseFlatten;
|
|
12
12
|
/**
|
|
@@ -32,4 +32,4 @@ function flatten(array) {
|
|
|
32
32
|
var flatten_1 = flatten;
|
|
33
33
|
|
|
34
34
|
exports.flatten_1 = flatten_1;
|
|
35
|
-
//# sourceMappingURL=dep-
|
|
35
|
+
//# sourceMappingURL=dep-39285892.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-39285892.js","sources":["../../node_modules/lodash/flatten.js"],"sourcesContent":["var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n"],"names":["baseFlatten","require$$0","flatten","array","length","flatten_1"],"mappings":";;;;;;;;;;AAAA,IAAIA,WAAW,GAAGC,yBAAlB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,OAAT,CAAiBC,KAAjB,EAAwB;AACtB,MAAIC,MAAM,GAAGD,KAAK,IAAI,IAAT,GAAgB,CAAhB,GAAoBA,KAAK,CAACC,MAAvC;AACA,SAAOA,MAAM,GAAGJ,WAAW,CAACG,KAAD,EAAQ,CAAR,CAAd,GAA2B,EAAxC;AACD;;IAEDE,SAAc,GAAGH;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.24.2
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -27,4 +27,4 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
27
27
|
|
|
28
28
|
exports._arrayLikeToArray = _arrayLikeToArray;
|
|
29
29
|
exports._unsupportedIterableToArray = _unsupportedIterableToArray;
|
|
30
|
-
//# sourceMappingURL=dep-
|
|
30
|
+
//# sourceMappingURL=dep-39e97fe4.js.map
|