tdesign-react 0.18.1 → 0.18.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/cjs/_chunks/{dep-5a0f8455.js → dep-17022fc3.js} +3 -3
- package/cjs/_chunks/{dep-5a0f8455.js.map → dep-17022fc3.js.map} +1 -1
- package/cjs/_chunks/{dep-37182cc2.js → dep-1d87ce38.js} +5 -5
- package/cjs/_chunks/{dep-37182cc2.js.map → dep-1d87ce38.js.map} +1 -1
- package/cjs/_chunks/{dep-cf433d12.js → dep-213765c2.js} +5 -5
- package/cjs/_chunks/{dep-cf433d12.js.map → dep-213765c2.js.map} +1 -1
- package/cjs/_chunks/{dep-9b9c0bdc.js → dep-21a4ea13.js} +3 -3
- package/cjs/_chunks/{dep-9b9c0bdc.js.map → dep-21a4ea13.js.map} +1 -1
- package/cjs/_chunks/{dep-35429fb7.js → dep-23a0863c.js} +5 -5
- package/cjs/_chunks/{dep-35429fb7.js.map → dep-23a0863c.js.map} +1 -1
- package/cjs/_chunks/{dep-b7fa187c.js → dep-26d8057f.js} +3 -3
- package/cjs/_chunks/{dep-b7fa187c.js.map → dep-26d8057f.js.map} +1 -1
- package/cjs/_chunks/{dep-9a470f87.js → dep-2bf84a94.js} +3 -3
- package/cjs/_chunks/{dep-9a470f87.js.map → dep-2bf84a94.js.map} +1 -1
- package/cjs/_chunks/{dep-1fca660d.js → dep-2c1076fc.js} +5 -5
- package/cjs/_chunks/{dep-1fca660d.js.map → dep-2c1076fc.js.map} +1 -1
- package/cjs/_chunks/{dep-99de493b.js → dep-3303f27e.js} +4 -4
- package/cjs/_chunks/{dep-99de493b.js.map → dep-3303f27e.js.map} +1 -1
- package/cjs/_chunks/{dep-79833567.js → dep-3690810b.js} +2 -2
- package/cjs/_chunks/{dep-79833567.js.map → dep-3690810b.js.map} +1 -1
- package/cjs/_chunks/{dep-31c1e318.js → dep-39714d3a.js} +3 -3
- package/cjs/_chunks/{dep-31c1e318.js.map → dep-39714d3a.js.map} +1 -1
- package/cjs/_chunks/{dep-30d6be99.js → dep-3a707dd3.js} +2 -2
- package/cjs/_chunks/{dep-30d6be99.js.map → dep-3a707dd3.js.map} +1 -1
- package/cjs/_chunks/{dep-f3958d67.js → dep-3e8d1212.js} +2 -2
- package/{esm/_chunks/dep-776ae9a7.js.map → cjs/_chunks/dep-3e8d1212.js.map} +1 -1
- package/cjs/_chunks/{dep-852077f1.js → dep-45c93631.js} +4 -4
- package/cjs/_chunks/{dep-852077f1.js.map → dep-45c93631.js.map} +1 -1
- package/cjs/_chunks/{dep-8c1b656d.js → dep-4a7d4d19.js} +87 -74
- package/cjs/_chunks/dep-4a7d4d19.js.map +1 -0
- package/cjs/_chunks/{dep-6f4cae41.js → dep-4ad44dd8.js} +5 -5
- package/cjs/_chunks/{dep-6f4cae41.js.map → dep-4ad44dd8.js.map} +1 -1
- package/cjs/_chunks/{dep-69ded822.js → dep-4eb371ce.js} +3 -3
- package/cjs/_chunks/{dep-69ded822.js.map → dep-4eb371ce.js.map} +1 -1
- package/cjs/_chunks/{dep-936920bd.js → dep-5226ed24.js} +6 -6
- package/cjs/_chunks/{dep-936920bd.js.map → dep-5226ed24.js.map} +1 -1
- package/cjs/_chunks/{dep-8971659a.js → dep-5ba782c6.js} +4 -4
- package/cjs/_chunks/{dep-8971659a.js.map → dep-5ba782c6.js.map} +1 -1
- package/cjs/_chunks/{dep-d9914aba.js → dep-6c7c7494.js} +5 -5
- package/cjs/_chunks/{dep-d9914aba.js.map → dep-6c7c7494.js.map} +1 -1
- package/cjs/_chunks/{dep-0649ba1d.js → dep-7555b3cd.js} +3 -3
- package/cjs/_chunks/{dep-0649ba1d.js.map → dep-7555b3cd.js.map} +1 -1
- package/cjs/_chunks/{dep-1f96439e.js → dep-7649e4c5.js} +2 -2
- package/cjs/_chunks/{dep-1f96439e.js.map → dep-7649e4c5.js.map} +1 -1
- package/cjs/_chunks/{dep-e6130b80.js → dep-76f334ae.js} +2 -2
- package/cjs/_chunks/{dep-e6130b80.js.map → dep-76f334ae.js.map} +1 -1
- package/cjs/_chunks/{dep-19d271ac.js → dep-78fa7073.js} +3 -3
- package/cjs/_chunks/{dep-19d271ac.js.map → dep-78fa7073.js.map} +1 -1
- package/cjs/_chunks/{dep-6c3918ff.js → dep-7a3bfc35.js} +2 -2
- package/cjs/_chunks/{dep-d6aa70dc.js.map → dep-7a3bfc35.js.map} +1 -1
- package/cjs/_chunks/dep-8fc609bb.js +197 -0
- package/cjs/_chunks/dep-8fc609bb.js.map +1 -0
- package/cjs/_chunks/{dep-da91b7c5.js → dep-90dd4b65.js} +4 -4
- package/cjs/_chunks/{dep-da91b7c5.js.map → dep-90dd4b65.js.map} +1 -1
- package/cjs/_chunks/{dep-cee0950d.js → dep-95812a03.js} +3 -3
- package/cjs/_chunks/{dep-cee0950d.js.map → dep-95812a03.js.map} +1 -1
- package/cjs/_chunks/{dep-ac507a9f.js → dep-aa6874cb.js} +5 -5
- package/cjs/_chunks/{dep-ac507a9f.js.map → dep-aa6874cb.js.map} +1 -1
- package/cjs/_chunks/{dep-777aec82.js → dep-acdae713.js} +8 -8
- package/cjs/_chunks/{dep-777aec82.js.map → dep-acdae713.js.map} +1 -1
- package/cjs/_chunks/{dep-1cd6fd78.js → dep-bfe5e12b.js} +4 -4
- package/cjs/_chunks/{dep-1cd6fd78.js.map → dep-bfe5e12b.js.map} +1 -1
- package/cjs/_chunks/{dep-9809040d.js → dep-c1d8e954.js} +4 -4
- package/cjs/_chunks/{dep-9809040d.js.map → dep-c1d8e954.js.map} +1 -1
- package/cjs/_chunks/{dep-245c1c30.js → dep-c66ba301.js} +7 -7
- package/cjs/_chunks/{dep-245c1c30.js.map → dep-c66ba301.js.map} +1 -1
- package/cjs/_chunks/{dep-edf226b0.js → dep-cd4964a2.js} +4 -4
- package/cjs/_chunks/{dep-edf226b0.js.map → dep-cd4964a2.js.map} +1 -1
- package/cjs/_chunks/{dep-6cfb645c.js → dep-cf70bbeb.js} +7 -7
- package/cjs/_chunks/{dep-6cfb645c.js.map → dep-cf70bbeb.js.map} +1 -1
- package/cjs/_chunks/{dep-00f12a3e.js → dep-cfa0c25c.js} +2 -2
- package/{es/_chunks/dep-766ddb96.js.map → cjs/_chunks/dep-cfa0c25c.js.map} +1 -1
- package/cjs/_chunks/{dep-6ab8175f.js → dep-d0bc53f1.js} +5 -5
- package/cjs/_chunks/{dep-6ab8175f.js.map → dep-d0bc53f1.js.map} +1 -1
- package/cjs/_chunks/{dep-d6aa70dc.js → dep-d2731646.js} +2 -2
- package/cjs/_chunks/{dep-6c3918ff.js.map → dep-d2731646.js.map} +1 -1
- package/cjs/_chunks/{dep-75ddac9a.js → dep-d3e9cd11.js} +3 -3
- package/cjs/_chunks/{dep-75ddac9a.js.map → dep-d3e9cd11.js.map} +1 -1
- package/cjs/_chunks/{dep-2b037b72.js → dep-d3f123c2.js} +6 -6
- package/cjs/_chunks/{dep-2b037b72.js.map → dep-d3f123c2.js.map} +1 -1
- package/cjs/_chunks/{dep-d1640c2c.js → dep-d3f303fd.js} +8 -8
- package/cjs/_chunks/{dep-d1640c2c.js.map → dep-d3f303fd.js.map} +1 -1
- package/cjs/_chunks/{dep-f0e8dd27.js → dep-d527c393.js} +2 -2
- package/cjs/_chunks/{dep-f0e8dd27.js.map → dep-d527c393.js.map} +1 -1
- package/cjs/_chunks/{dep-ec28b004.js → dep-dedf3e86.js} +2 -2
- package/cjs/_chunks/{dep-ec28b004.js.map → dep-dedf3e86.js.map} +1 -1
- package/cjs/_chunks/{dep-6675bbdd.js → dep-ec553228.js} +12 -12
- package/cjs/_chunks/{dep-6675bbdd.js.map → dep-ec553228.js.map} +1 -1
- package/cjs/_chunks/{dep-37c7b065.js → dep-f2a18e02.js} +2 -2
- package/cjs/_chunks/{dep-37c7b065.js.map → dep-f2a18e02.js.map} +1 -1
- package/cjs/_common/js/common.js +1 -1
- package/cjs/_common/js/tree/tree-node-model.js +18 -18
- package/cjs/_common/js/tree/tree-node.js +23 -23
- package/cjs/_common/js/tree/tree-store.d.ts +4 -0
- package/cjs/_common/js/tree/tree-store.js +29 -29
- package/cjs/_common/js/tree/types.js +1 -1
- package/cjs/_type/ControlledProps.js +1 -1
- package/cjs/_type/StyledProps.js +1 -1
- package/cjs/_type/common.js +1 -1
- package/cjs/_type/components/affix/index.js +1 -1
- package/cjs/_type/components/alert/index.js +1 -1
- package/cjs/_type/components/anchor/index.js +1 -1
- package/cjs/_type/components/anchor-item/index.js +1 -1
- package/cjs/_type/components/anchor-target/index.js +1 -1
- package/cjs/_type/components/badge/index.js +1 -1
- package/cjs/_type/components/breadcrumb/index.js +1 -1
- package/cjs/_type/components/button/index.js +1 -1
- package/cjs/_type/components/calendar/index.d.ts +5 -0
- package/cjs/_type/components/calendar/index.js +1 -1
- package/cjs/_type/components/cascader/index.js +1 -1
- package/cjs/_type/components/checkbox/index.js +1 -1
- package/cjs/_type/components/comment/index.js +1 -1
- package/cjs/_type/components/date-picker/index.js +1 -1
- package/cjs/_type/components/dialog/index.js +1 -1
- package/cjs/_type/components/divider/index.js +1 -1
- package/cjs/_type/components/drawer/index.js +1 -1
- package/cjs/_type/components/dropdown/index.js +1 -1
- package/cjs/_type/components/form/index.js +1 -1
- package/cjs/_type/components/grid/index.js +1 -1
- package/cjs/_type/components/icon/index.js +1 -1
- package/cjs/_type/components/icon-svg/index.js +1 -1
- package/cjs/_type/components/iconfont/index.js +1 -1
- package/cjs/_type/components/input/index.js +1 -1
- package/cjs/_type/components/input-number/index.js +1 -1
- package/cjs/_type/components/layout/index.js +1 -1
- package/cjs/_type/components/list/index.js +1 -1
- package/cjs/_type/components/loading/index.js +1 -1
- package/cjs/_type/components/menu/index.js +1 -1
- package/cjs/_type/components/message/index.js +1 -1
- package/cjs/_type/components/notification/index.js +1 -1
- package/cjs/_type/components/pagination/index.js +1 -1
- package/cjs/_type/components/popconfirm/index.js +1 -1
- package/cjs/_type/components/popup/index.js +1 -1
- package/cjs/_type/components/progress/index.js +1 -1
- package/cjs/_type/components/radio/index.js +1 -1
- package/cjs/_type/components/select/index.d.ts +62 -17
- package/cjs/_type/components/select/index.js +1 -1
- package/cjs/_type/components/slider/index.js +1 -1
- package/cjs/_type/components/steps/index.js +1 -1
- package/cjs/_type/components/swiper/index.js +1 -1
- package/cjs/_type/components/switch/index.js +1 -1
- package/cjs/_type/components/table/index.js +1 -1
- package/cjs/_type/components/tabs/index.js +1 -1
- package/cjs/_type/components/tag/index.d.ts +1 -1
- package/cjs/_type/components/tag/index.js +1 -1
- package/cjs/_type/components/textarea/index.js +1 -1
- package/cjs/_type/components/time-picker/index.js +1 -1
- package/cjs/_type/components/tooltip/index.js +1 -1
- package/cjs/_type/components/transfer/index.js +1 -1
- package/cjs/_type/components/tree/index.js +1 -1
- package/cjs/_type/components/tree-select/index.d.ts +16 -3
- package/cjs/_type/components/tree-select/index.js +1 -1
- package/cjs/_type/components/upload/index.js +1 -1
- package/cjs/_type/index.js +1 -1
- package/cjs/_type/util.js +1 -1
- package/cjs/_util/callBoth.js +1 -1
- package/cjs/_util/composeRefs.js +1 -1
- package/cjs/_util/dom.js +6 -6
- package/cjs/_util/easing.js +1 -1
- package/cjs/_util/forwardRefWithStatics.js +1 -1
- package/cjs/_util/getScrollbarWidth.js +1 -1
- package/cjs/_util/hasScrollBar.js +1 -1
- package/cjs/_util/helper.js +14 -14
- package/cjs/_util/injectValue.js +1 -1
- package/cjs/_util/insertCSS.js +1 -1
- package/cjs/_util/isCallable.js +1 -1
- package/cjs/_util/linearGradient.js +2 -2
- package/cjs/_util/noop.js +1 -1
- package/cjs/_util/number.js +1 -1
- package/cjs/_util/setStyle.js +1 -1
- package/cjs/_util/useClickOutside.js +1 -1
- package/cjs/_util/useCommonClassName.js +1 -1
- package/cjs/_util/useConfig.js +1 -1
- package/cjs/_util/useDefault.js +3 -3
- package/cjs/_util/useDefaultValue.js +5 -5
- package/cjs/_util/usePersistFn.js +1 -1
- package/cjs/_util/usePrevious.js +1 -1
- package/cjs/_util/useRefAndForward.js +1 -1
- package/cjs/_util/useRipple.js +1 -1
- package/cjs/_util/useSetState.js +4 -4
- package/cjs/_util/useUpdateEffect.js +1 -1
- package/cjs/addon/Addon.js +3 -3
- package/cjs/addon/index.js +3 -3
- package/cjs/affix/Affix.js +11 -11
- package/cjs/affix/index.js +11 -11
- package/cjs/alert/Alert.js +5 -5
- package/cjs/alert/index.js +5 -5
- package/cjs/anchor/Anchor.js +22 -18
- package/cjs/anchor/Anchor.js.map +1 -1
- package/cjs/anchor/AnchorContext.js +1 -1
- package/cjs/anchor/AnchorItem.js +2 -2
- package/cjs/anchor/AnchorTarget.js +16 -4
- package/cjs/anchor/AnchorTarget.js.map +1 -1
- package/cjs/anchor/_util/clipboard.js +1 -1
- package/cjs/anchor/_util/dom.js +1 -1
- package/cjs/anchor/index.js +22 -18
- package/cjs/anchor/index.js.map +1 -1
- package/cjs/badge/Badge.js +3 -3
- package/cjs/badge/index.js +3 -3
- package/cjs/breadcrumb/Breadcrumb.js +3 -3
- package/cjs/breadcrumb/BreadcrumbItem.js +3 -3
- package/cjs/breadcrumb/BreadcrumbProps.js +1 -1
- package/cjs/breadcrumb/index.js +3 -3
- package/cjs/button/Button.js +13 -12
- package/cjs/button/Button.js.map +1 -1
- package/cjs/button/index.js +11 -11
- package/cjs/calendar/Calendar.js +58 -35
- package/cjs/calendar/Calendar.js.map +1 -1
- package/cjs/calendar/_util.js +1 -1
- package/cjs/calendar/_util.js.map +1 -1
- package/cjs/calendar/index.js +27 -17
- package/cjs/calendar/index.js.map +1 -1
- package/cjs/cascader/Cascader.js +43 -36
- package/cjs/cascader/Cascader.js.map +1 -1
- package/cjs/cascader/components/InputContent.js +9 -9
- package/cjs/cascader/components/Item.js +32 -17
- package/cjs/cascader/components/Item.js.map +1 -1
- package/cjs/cascader/components/Panel.js +29 -16
- package/cjs/cascader/components/Panel.js.map +1 -1
- package/cjs/cascader/index.js +43 -36
- package/cjs/cascader/index.js.map +1 -1
- package/cjs/cascader/interface.js +23 -23
- package/cjs/cascader/utils/cascader.js +4 -4
- package/cjs/cascader/utils/helper.js +2 -2
- package/cjs/cascader/utils/inputContent.js +6 -6
- package/cjs/cascader/utils/item.js +4 -4
- package/cjs/cascader/utils/panel.js +9 -9
- package/cjs/checkbox/Checkbox.js +22 -29
- package/cjs/checkbox/Checkbox.js.map +1 -1
- package/cjs/checkbox/CheckboxGroup.js +26 -98
- package/cjs/checkbox/CheckboxGroup.js.map +1 -1
- package/cjs/checkbox/index.js +19 -12
- package/cjs/checkbox/index.js.map +1 -1
- package/cjs/comment/Comment.js +1 -1
- package/cjs/comment/index.js +1 -1
- package/cjs/common/Check.js +16 -6
- package/cjs/common/Check.js.map +1 -1
- package/cjs/common/FakeArrow.js +2 -2
- package/cjs/common/Portal.js +4 -4
- package/cjs/config-provider/ConfigContext.d.ts +1 -0
- package/cjs/config-provider/ConfigContext.js +1 -1
- package/cjs/config-provider/ConfigProvider.js +3 -3
- package/cjs/config-provider/index.js +3 -3
- package/cjs/date-picker/DatePicker.js +27 -27
- package/cjs/date-picker/base/CalendarPresets.js +11 -11
- package/cjs/date-picker/base/Cell.js +2 -2
- package/cjs/date-picker/base/Header.js +11 -11
- package/cjs/date-picker/base/Table.js +4 -4
- package/cjs/date-picker/index.js +27 -27
- package/cjs/date-picker/panel/Date.js +23 -23
- package/cjs/date-picker/panel/DateRange.js +23 -23
- package/cjs/date-picker/utils.js +19 -19
- package/cjs/dialog/Dialog.js +11 -11
- package/cjs/dialog/RenderDialog.js +5 -5
- package/cjs/dialog/index.js +11 -11
- package/cjs/dialog/plugin.js +11 -11
- package/cjs/divider/Divider.js +3 -3
- package/cjs/divider/index.js +3 -3
- package/cjs/drawer/Drawer.js +11 -11
- package/cjs/drawer/DrawerWrapper.js +4 -4
- package/cjs/drawer/_util.js +1 -1
- package/cjs/drawer/index.js +11 -11
- package/cjs/dropdown/Dropdown.js +6 -6
- package/cjs/dropdown/DropdownItem.js +3 -3
- package/cjs/dropdown/DropdownMenu.js +6 -6
- package/cjs/dropdown/index.js +6 -6
- package/cjs/form/Form.js +32 -33
- package/cjs/form/Form.js.map +1 -1
- package/cjs/form/FormContext.js +1 -1
- package/cjs/form/FormItem.js +31 -32
- package/cjs/form/FormItem.js.map +1 -1
- package/cjs/form/formModel.js +25 -25
- package/cjs/form/index.js +32 -33
- package/cjs/form/index.js.map +1 -1
- package/cjs/grid/Col.js +5 -5
- package/cjs/grid/Row.js +7 -7
- package/cjs/grid/index.js +7 -7
- package/cjs/icon/type.js +1 -1
- package/cjs/index.js +52 -49
- package/cjs/index.js.map +1 -1
- package/cjs/input/Input.js +9 -9
- package/cjs/input/InputGroup.js +3 -3
- package/cjs/input/index.js +9 -9
- package/cjs/input-number/InputNumber.js +13 -13
- package/cjs/input-number/StepHandler.js +11 -11
- package/cjs/input-number/index.js +13 -13
- package/cjs/input-number/utils/numberUtils.js +1 -1
- package/cjs/layout/Layout.js +5 -5
- package/cjs/layout/Sider.js +3 -3
- package/cjs/layout/index.js +5 -5
- package/cjs/list/List.js +20 -4
- package/cjs/list/List.js.map +1 -1
- package/cjs/list/ListItem.js +1 -1
- package/cjs/list/ListItemMeta.js +1 -1
- package/cjs/list/index.js +17 -3
- package/cjs/list/index.js.map +1 -1
- package/cjs/loading/index.js +10 -10
- package/cjs/loading/loading.d.ts +1 -0
- package/cjs/loading/loading.js +61 -14
- package/cjs/loading/loading.js.map +1 -1
- package/cjs/locale/LocalReceiver.js +2 -2
- package/cjs/locale/type.js +1 -1
- package/cjs/locale/zh_CN.d.ts +1 -0
- package/cjs/locale/zh_CN.js +2 -1
- package/cjs/locale/zh_CN.js.map +1 -1
- package/cjs/menu/HeadMenu.js +7 -7
- package/cjs/menu/Menu.js +7 -7
- package/cjs/menu/MenuContext.js +1 -1
- package/cjs/menu/MenuGroup.js +1 -1
- package/cjs/menu/MenuItem.js +2 -2
- package/cjs/menu/SubMenu.js +4 -4
- package/cjs/menu/_util/cacularPaddingLeft.js +1 -1
- package/cjs/menu/_util/checkMenuType.js +1 -1
- package/cjs/menu/_util/checkSubMenuActive.js +1 -1
- package/cjs/menu/_util/checkSubMenuChildExpanded.js +3 -3
- package/cjs/menu/_util/checkSubMenuChildrenActive.js +1 -1
- package/cjs/menu/_util/constant.js +1 -1
- package/cjs/menu/_util/getSubMenuChildStyle.js +1 -1
- package/cjs/menu/_util/type.js +1 -1
- package/cjs/menu/hooks/useMenuContext.js +5 -5
- package/cjs/menu/index.js +7 -7
- package/cjs/message/Message.js +16 -4
- package/cjs/message/Message.js.map +1 -1
- package/cjs/message/MessageClose.js +1 -1
- package/cjs/message/MessageComponent.js +17 -4
- package/cjs/message/MessageComponent.js.map +1 -1
- package/cjs/message/MessageIcon.js +29 -2
- package/cjs/message/MessageIcon.js.map +1 -1
- package/cjs/message/const.js +1 -1
- package/cjs/message/index.js +16 -4
- package/cjs/message/index.js.map +1 -1
- package/cjs/message/useMessageClass.js +1 -1
- package/cjs/notification/Notification.js +7 -7
- package/cjs/notification/NotificationList.js +7 -7
- package/cjs/notification/index.js +7 -7
- package/cjs/pagination/Pagination.js +29 -16
- package/cjs/pagination/Pagination.js.map +1 -1
- package/cjs/pagination/index.js +29 -16
- package/cjs/pagination/index.js.map +1 -1
- package/cjs/pagination/validators.js +1 -1
- package/cjs/popconfirm/PopConfirm.js +12 -12
- package/cjs/popconfirm/PopContent.js +11 -11
- package/cjs/popconfirm/index.js +12 -12
- package/cjs/popup/Popup.js +4 -4
- package/cjs/popup/Portal.js +1 -1
- package/cjs/popup/index.js +4 -4
- package/cjs/popup/useTriggerProps.js +1 -1
- package/cjs/progress/Progress.js +3 -3
- package/cjs/progress/index.js +3 -3
- package/cjs/radio/Radio.js +16 -6
- package/cjs/radio/Radio.js.map +1 -1
- package/cjs/radio/RadioGroup.js +16 -6
- package/cjs/radio/RadioGroup.js.map +1 -1
- package/cjs/radio/index.js +16 -6
- package/cjs/radio/index.js.map +1 -1
- package/cjs/select/base/Option.d.ts +5 -2
- package/cjs/select/base/Option.js +40 -28
- package/cjs/select/base/Option.js.map +1 -1
- package/cjs/select/base/OptionGroup.d.ts +1 -0
- package/cjs/select/base/OptionGroup.js +7 -4
- package/cjs/select/base/OptionGroup.js.map +1 -1
- package/cjs/select/base/PopupContent.d.ts +2 -1
- package/cjs/select/base/PopupContent.js +57 -19
- package/cjs/select/base/PopupContent.js.map +1 -1
- package/cjs/select/base/Select.d.ts +2 -1
- package/cjs/select/base/Select.js +111 -70
- package/cjs/select/base/Select.js.map +1 -1
- package/cjs/select/index.js +30 -17
- package/cjs/select/index.js.map +1 -1
- package/cjs/select/util/helper.d.ts +4 -5
- package/cjs/select/util/helper.js +14 -25
- package/cjs/select/util/helper.js.map +1 -1
- package/cjs/slider/Slider.js +13 -13
- package/cjs/slider/SliderHandleButton.js +6 -6
- package/cjs/slider/index.js +13 -13
- package/cjs/slider/utils/handleNumber.js +1 -1
- package/cjs/steps/StepItem.js +2 -2
- package/cjs/steps/Steps.js +2 -2
- package/cjs/steps/StepsContext.js +1 -1
- package/cjs/steps/index.js +2 -2
- package/cjs/swiper/Swiper.js +4 -4
- package/cjs/swiper/SwiperItem.js +1 -1
- package/cjs/swiper/index.js +4 -4
- package/cjs/switch/Switch.js +22 -7
- package/cjs/switch/Switch.js.map +1 -1
- package/cjs/switch/index.js +18 -6
- package/cjs/switch/index.js.map +1 -1
- package/cjs/table/base/Table.js +27 -27
- package/cjs/table/base/TableAsyncLoadingBody.js +12 -12
- package/cjs/table/base/TableBody.js +17 -17
- package/cjs/table/base/TableCell.js +4 -4
- package/cjs/table/base/TableColGroup.js +1 -1
- package/cjs/table/base/TableContext.js +1 -1
- package/cjs/table/base/TableEmptyBody.js +1 -1
- package/cjs/table/base/TableFooter.js +1 -1
- package/cjs/table/base/TableHeader.js +10 -10
- package/cjs/table/base/TableLoadingBody.js +5 -5
- package/cjs/table/base/TableRow.js +17 -17
- package/cjs/table/hooks/useColumns.js +4 -4
- package/cjs/table/index.js +37 -34
- package/cjs/table/index.js.map +1 -1
- package/cjs/table/primary/FilterButton.js +22 -16
- package/cjs/table/primary/FilterButton.js.map +1 -1
- package/cjs/table/primary/SorterButton.js +6 -6
- package/cjs/table/primary/Table.js +37 -34
- package/cjs/table/primary/Table.js.map +1 -1
- package/cjs/table/primary/expand-box.js +2 -2
- package/cjs/table/primary/useExpand.js +17 -17
- package/cjs/table/primary/useFilter.js +22 -16
- package/cjs/table/primary/useFilter.js.map +1 -1
- package/cjs/table/primary/useSelect.js +22 -15
- package/cjs/table/primary/useSelect.js.map +1 -1
- package/cjs/table/primary/useSorter.js +18 -18
- package/cjs/table/util/getRowKeyFromRowKey.js +1 -1
- package/cjs/table/util/index.js +1 -1
- package/cjs/tabs/TabBar.js +4 -4
- package/cjs/tabs/TabNav.js +4 -4
- package/cjs/tabs/TabNavItem.js +1 -1
- package/cjs/tabs/TabPanel.js +1 -1
- package/cjs/tabs/Tabs.js +4 -4
- package/cjs/tabs/index.js +4 -4
- package/cjs/tabs/useTabClass.js +1 -1
- package/cjs/tag/CheckTag.js +14 -8
- package/cjs/tag/CheckTag.js.map +1 -1
- package/cjs/tag/Tag.js +7 -6
- package/cjs/tag/Tag.js.map +1 -1
- package/cjs/tag/index.js +5 -5
- package/cjs/textarea/Textarea.js +5 -5
- package/cjs/textarea/index.js +5 -5
- package/cjs/time-picker/InputItems.js +17 -17
- package/cjs/time-picker/TimePicker.js +27 -27
- package/cjs/time-picker/TimeRangePicker.js +27 -27
- package/cjs/time-picker/consts.js +4 -4
- package/cjs/time-picker/index.js +27 -27
- package/cjs/time-picker/interfaces.js +1 -1
- package/cjs/time-picker/panel/SinglePanel.js +23 -23
- package/cjs/time-picker/panel/TimePickerPanel.js +26 -26
- package/cjs/time-picker/panel/TimePickerRangePanel.js +26 -26
- package/cjs/tooltip/Tooltip.js +6 -6
- package/cjs/tooltip/index.js +6 -6
- package/cjs/tree/Tree.d.ts +1 -2
- package/cjs/tree/Tree.js +44 -35
- package/cjs/tree/Tree.js.map +1 -1
- package/cjs/tree/TreeItem.js +28 -13
- package/cjs/tree/TreeItem.js.map +1 -1
- package/cjs/tree/index.js +44 -35
- package/cjs/tree/index.js.map +1 -1
- package/cjs/tree/interface.js +1 -1
- package/cjs/tree/useControllable.js +3 -3
- package/cjs/tree/useStore.js +30 -30
- package/cjs/tree/useTreeConfig.js +1 -1
- package/cjs/tree-select/TreeSelect.js +95 -190
- package/cjs/tree-select/TreeSelect.js.map +1 -1
- package/cjs/tree-select/TreeSelectInput.d.ts +11 -0
- package/cjs/tree-select/TreeSelectInput.js +138 -0
- package/cjs/tree-select/TreeSelectInput.js.map +1 -0
- package/cjs/tree-select/TreeSelectSuffix.d.ts +9 -0
- package/cjs/tree-select/TreeSelectSuffix.js +85 -0
- package/cjs/tree-select/TreeSelectSuffix.js.map +1 -0
- package/cjs/tree-select/TreeSelectTags.d.ts +6 -0
- package/cjs/tree-select/TreeSelectTags.js +85 -0
- package/cjs/tree-select/TreeSelectTags.js.map +1 -0
- package/cjs/tree-select/index.js +57 -46
- package/cjs/tree-select/index.js.map +1 -1
- package/cjs/tree-select/useTreeSelectConfig.d.ts +10 -0
- package/cjs/tree-select/useTreeSelectConfig.js +58 -0
- package/cjs/tree-select/useTreeSelectConfig.js.map +1 -0
- package/cjs/upload/dragger.js +12 -12
- package/cjs/upload/hooks/useDefaultValue.js +6 -6
- package/cjs/upload/index.js +21 -21
- package/cjs/upload/themes/dragger-progress.js +12 -12
- package/cjs/upload/themes/image-card.js +12 -12
- package/cjs/upload/themes/single-file.js +10 -10
- package/cjs/upload/tips.js +1 -1
- package/cjs/upload/types.js +1 -1
- package/cjs/upload/upload-trigger.js +11 -11
- package/cjs/upload/upload.js +21 -21
- package/cjs/upload/util.js +3 -3
- package/cjs/upload/utils/request.js +1 -1
- package/dist/tdesign.css +4704 -4678
- package/dist/tdesign.css.map +1 -1
- package/dist/tdesign.js +22305 -21993
- 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 +4 -4
- package/dist/tdesign.min.js.map +1 -1
- package/es/_chunks/{dep-79c7181c.js → dep-016d27a7.js} +2 -2
- package/{esm/_chunks/dep-79c7181c.js.map → es/_chunks/dep-016d27a7.js.map} +1 -1
- package/{esm/_chunks/dep-4adf27fa.js → es/_chunks/dep-039ac0dd.js} +6 -6
- package/{esm/_chunks/dep-4adf27fa.js.map → es/_chunks/dep-039ac0dd.js.map} +1 -1
- package/es/_chunks/{dep-ce96caf9.js → dep-0c106052.js} +3 -3
- package/es/_chunks/{dep-ce96caf9.js.map → dep-0c106052.js.map} +1 -1
- package/es/_chunks/{dep-6d4c74ed.js → dep-1189939f.js} +2 -2
- package/es/_chunks/{dep-45dee455.js.map → dep-1189939f.js.map} +1 -1
- package/es/_chunks/{dep-0e364f89.js → dep-11b4e1d1.js} +4 -4
- package/es/_chunks/{dep-0e364f89.js.map → dep-11b4e1d1.js.map} +1 -1
- package/{esm/_chunks/dep-1d2d6811.js → es/_chunks/dep-1b2238b1.js} +4 -4
- package/{esm/_chunks/dep-1d2d6811.js.map → es/_chunks/dep-1b2238b1.js.map} +1 -1
- package/{lib/_chunks/dep-222f3011.js → es/_chunks/dep-2eeaa58b.js} +3 -3
- package/{esm/_chunks/dep-222f3011.js.map → es/_chunks/dep-2eeaa58b.js.map} +1 -1
- package/{lib/_chunks/dep-24340815.js → es/_chunks/dep-2f008905.js} +3 -3
- package/es/_chunks/{dep-24340815.js.map → dep-2f008905.js.map} +1 -1
- package/{esm/_chunks/dep-7fd82250.js → es/_chunks/dep-32b70135.js} +7 -7
- package/es/_chunks/{dep-7fd82250.js.map → dep-32b70135.js.map} +1 -1
- package/{esm/_chunks/dep-cb44c6cb.js → es/_chunks/dep-3959464c.js} +8 -8
- package/es/_chunks/{dep-cb44c6cb.js.map → dep-3959464c.js.map} +1 -1
- package/es/_chunks/{dep-ee70bc2c.js → dep-3f11cde6.js} +2 -2
- package/es/_chunks/{dep-ee70bc2c.js.map → dep-3f11cde6.js.map} +1 -1
- package/{esm/_chunks/dep-f18dfb6c.js → es/_chunks/dep-43869d17.js} +7 -7
- package/{esm/_chunks/dep-f18dfb6c.js.map → es/_chunks/dep-43869d17.js.map} +1 -1
- package/es/_chunks/{dep-cbd5adc9.js → dep-462edfd5.js} +5 -5
- package/{esm/_chunks/dep-cbd5adc9.js.map → es/_chunks/dep-462edfd5.js.map} +1 -1
- package/es/_chunks/dep-47afb0bc.js +8 -0
- package/es/_chunks/dep-47afb0bc.js.map +1 -0
- package/es/_chunks/{dep-d0224a4e.js → dep-4901f712.js} +6 -6
- package/{esm/_chunks/dep-d0224a4e.js.map → es/_chunks/dep-4901f712.js.map} +1 -1
- package/es/_chunks/dep-4e491803.js +8 -0
- package/es/_chunks/dep-4e491803.js.map +1 -0
- package/es/_chunks/{dep-4758c2cb.js → dep-4e5953fc.js} +15 -15
- package/{esm/_chunks/dep-4758c2cb.js.map → es/_chunks/dep-4e5953fc.js.map} +1 -1
- package/{esm/_chunks/dep-b78554de.js → es/_chunks/dep-504203df.js} +4 -4
- package/es/_chunks/{dep-b78554de.js.map → dep-504203df.js.map} +1 -1
- package/{esm/_chunks/dep-96dea3bb.js → es/_chunks/dep-5e5c403a.js} +4 -4
- package/es/_chunks/{dep-96dea3bb.js.map → dep-5e5c403a.js.map} +1 -1
- package/{esm/_chunks/dep-bc117952.js → es/_chunks/dep-5ec09fbd.js} +4 -4
- package/es/_chunks/{dep-bc117952.js.map → dep-5ec09fbd.js.map} +1 -1
- package/{esm/_chunks/dep-45dee455.js → es/_chunks/dep-65c183dc.js} +2 -2
- package/es/_chunks/{dep-6d4c74ed.js.map → dep-65c183dc.js.map} +1 -1
- package/{esm/_chunks/dep-d056abc2.js → es/_chunks/dep-6a5b1968.js} +2 -2
- package/es/_chunks/{dep-d056abc2.js.map → dep-6a5b1968.js.map} +1 -1
- package/{esm/_chunks/dep-7500c6cf.js → es/_chunks/dep-6b58dff4.js} +6 -6
- package/es/_chunks/{dep-7500c6cf.js.map → dep-6b58dff4.js.map} +1 -1
- package/{esm/_chunks/dep-9a4e0e54.js → es/_chunks/dep-7100b11f.js} +7 -7
- package/{esm/_chunks/dep-9a4e0e54.js.map → es/_chunks/dep-7100b11f.js.map} +1 -1
- package/{esm/_chunks/dep-cd8b9911.js → es/_chunks/dep-744f52b3.js} +11 -11
- package/{esm/_chunks/dep-cd8b9911.js.map → es/_chunks/dep-744f52b3.js.map} +1 -1
- package/es/_chunks/dep-74a044dc.js +8 -0
- package/es/_chunks/dep-74a044dc.js.map +1 -0
- package/es/_chunks/{dep-8d2e5702.js → dep-8037ad24.js} +5 -5
- package/{esm/_chunks/dep-8d2e5702.js.map → es/_chunks/dep-8037ad24.js.map} +1 -1
- package/es/_chunks/{dep-53a5fcb7.js → dep-83646039.js} +6 -6
- package/es/_chunks/{dep-53a5fcb7.js.map → dep-83646039.js.map} +1 -1
- package/{esm/_chunks/dep-bbdfa874.js → es/_chunks/dep-8faed49a.js} +8 -8
- package/es/_chunks/{dep-bbdfa874.js.map → dep-8faed49a.js.map} +1 -1
- package/{esm/_chunks/dep-d039e373.js → es/_chunks/dep-90c49b9c.js} +6 -6
- package/es/_chunks/{dep-bd19faa8.js.map → dep-90c49b9c.js.map} +1 -1
- package/es/_chunks/{dep-9144317e.js → dep-9135789f.js} +9 -9
- package/{esm/_chunks/dep-9144317e.js.map → es/_chunks/dep-9135789f.js.map} +1 -1
- package/{esm/_chunks/dep-776ae9a7.js → es/_chunks/dep-9ad4f4b7.js} +3 -3
- package/{cjs/_chunks/dep-f3958d67.js.map → es/_chunks/dep-9ad4f4b7.js.map} +1 -1
- package/{esm/_chunks/dep-bf9ecece.js → es/_chunks/dep-9bab9f6f.js} +4 -4
- package/es/_chunks/{dep-bf9ecece.js.map → dep-9bab9f6f.js.map} +1 -1
- package/{esm/_chunks/dep-420a010b.js → es/_chunks/dep-9c56e17c.js} +9 -9
- package/{esm/_chunks/dep-420a010b.js.map → es/_chunks/dep-9c56e17c.js.map} +1 -1
- package/es/_chunks/{dep-0a958aee.js → dep-9d2e7b62.js} +6 -6
- package/{esm/_chunks/dep-0a958aee.js.map → es/_chunks/dep-9d2e7b62.js.map} +1 -1
- package/es/_chunks/{dep-99336593.js → dep-b44aec31.js} +88 -75
- package/es/_chunks/dep-b44aec31.js.map +1 -0
- package/es/_chunks/{dep-2fdea8b5.js → dep-b6158110.js} +4 -4
- package/es/_chunks/{dep-2fdea8b5.js.map → dep-b6158110.js.map} +1 -1
- package/es/_chunks/{dep-2f74dba2.js → dep-b6ff8559.js} +4 -4
- package/es/_chunks/{dep-2f74dba2.js.map → dep-b6ff8559.js.map} +1 -1
- package/es/_chunks/{dep-766ddb96.js → dep-bb05ae7d.js} +3 -3
- package/{cjs/_chunks/dep-00f12a3e.js.map → es/_chunks/dep-bb05ae7d.js.map} +1 -1
- package/{esm/_chunks/dep-9052d175.js → es/_chunks/dep-cb80da27.js} +2 -2
- package/es/_chunks/dep-cb80da27.js.map +1 -0
- package/es/_chunks/{dep-8bc12c0f.js → dep-e507e9db.js} +7 -7
- package/{esm/_chunks/dep-8bc12c0f.js.map → es/_chunks/dep-e507e9db.js.map} +1 -1
- package/es/_chunks/{dep-ac24e8fd.js → dep-e83a1558.js} +8 -8
- package/es/_chunks/{dep-ac24e8fd.js.map → dep-e83a1558.js.map} +1 -1
- package/es/_chunks/{dep-9c3437dc.js → dep-ed9505a3.js} +3 -3
- package/es/_chunks/{dep-9c3437dc.js.map → dep-ed9505a3.js.map} +1 -1
- package/es/_chunks/dep-edb4c08f.js +190 -0
- package/es/_chunks/dep-edb4c08f.js.map +1 -0
- package/es/_chunks/{dep-eb51ffd0.js → dep-ee3e1923.js} +6 -6
- package/{esm/_chunks/dep-eb51ffd0.js.map → es/_chunks/dep-ee3e1923.js.map} +1 -1
- package/es/_chunks/{dep-b5420e42.js → dep-efa4ba54.js} +5 -5
- package/{esm/_chunks/dep-b5420e42.js.map → es/_chunks/dep-efa4ba54.js.map} +1 -1
- package/es/_chunks/{dep-b05711f1.js → dep-efe7433b.js} +2 -2
- package/es/_chunks/{dep-b05711f1.js.map → dep-efe7433b.js.map} +1 -1
- package/es/_chunks/{dep-7e897399.js → dep-f3eac264.js} +4 -4
- package/es/_chunks/{dep-7e897399.js.map → dep-f3eac264.js.map} +1 -1
- package/es/_chunks/{dep-40f6ccc8.js → dep-f7d3ea79.js} +3 -3
- package/es/_chunks/{dep-40f6ccc8.js.map → dep-f7d3ea79.js.map} +1 -1
- package/es/_common/js/common.js +1 -1
- package/es/_common/js/tree/tree-node-model.js +22 -22
- package/es/_common/js/tree/tree-node.js +27 -27
- package/es/_common/js/tree/tree-store.d.ts +4 -0
- package/es/_common/js/tree/tree-store.js +33 -33
- package/es/_common/js/tree/types.js +1 -1
- package/es/_type/ControlledProps.js +1 -1
- package/es/_type/StyledProps.js +1 -1
- package/es/_type/common.js +1 -1
- package/es/_type/components/affix/index.js +1 -1
- package/es/_type/components/alert/index.js +1 -1
- package/es/_type/components/anchor/index.js +1 -1
- package/es/_type/components/anchor-item/index.js +1 -1
- package/es/_type/components/anchor-target/index.js +1 -1
- package/es/_type/components/badge/index.js +1 -1
- package/es/_type/components/breadcrumb/index.js +1 -1
- package/es/_type/components/button/index.js +1 -1
- package/es/_type/components/calendar/index.d.ts +5 -0
- package/es/_type/components/calendar/index.js +1 -6
- package/es/_type/components/calendar/index.js.map +1 -1
- package/es/_type/components/cascader/index.js +1 -1
- package/es/_type/components/checkbox/index.js +1 -1
- package/es/_type/components/comment/index.js +1 -1
- package/es/_type/components/date-picker/index.js +1 -1
- package/es/_type/components/dialog/index.js +1 -1
- package/es/_type/components/divider/index.js +1 -1
- package/es/_type/components/drawer/index.js +1 -1
- package/es/_type/components/dropdown/index.js +1 -1
- package/es/_type/components/form/index.js +1 -1
- package/es/_type/components/grid/index.js +1 -1
- package/es/_type/components/icon/index.js +1 -1
- package/es/_type/components/icon-svg/index.js +1 -1
- package/es/_type/components/iconfont/index.js +1 -1
- package/es/_type/components/input/index.js +1 -1
- package/es/_type/components/input-number/index.js +1 -1
- package/es/_type/components/layout/index.js +1 -1
- package/es/_type/components/list/index.js +1 -1
- package/es/_type/components/loading/index.js +1 -1
- package/es/_type/components/menu/index.js +1 -1
- package/es/_type/components/message/index.js +1 -1
- package/es/_type/components/notification/index.js +1 -1
- package/es/_type/components/pagination/index.js +1 -1
- package/es/_type/components/popconfirm/index.js +1 -1
- package/es/_type/components/popup/index.js +1 -1
- package/es/_type/components/progress/index.js +1 -1
- package/es/_type/components/radio/index.js +1 -1
- package/es/_type/components/select/index.d.ts +62 -17
- package/es/_type/components/select/index.js +1 -1
- package/es/_type/components/slider/index.js +1 -1
- package/es/_type/components/steps/index.js +1 -1
- package/es/_type/components/swiper/index.js +1 -1
- package/es/_type/components/switch/index.js +1 -1
- package/es/_type/components/table/index.js +1 -1
- package/es/_type/components/tabs/index.js +1 -1
- package/es/_type/components/tag/index.d.ts +1 -1
- package/es/_type/components/tag/index.js +1 -1
- package/es/_type/components/textarea/index.js +1 -1
- package/es/_type/components/time-picker/index.js +1 -1
- package/es/_type/components/tooltip/index.js +1 -1
- package/es/_type/components/transfer/index.js +1 -1
- package/es/_type/components/tree/index.js +1 -1
- package/es/_type/components/tree-select/index.d.ts +16 -3
- package/es/_type/components/tree-select/index.js +3 -1
- package/es/_type/components/tree-select/index.js.map +1 -1
- package/es/_type/components/upload/index.js +1 -1
- package/es/_type/index.js +1 -1
- package/es/_type/util.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 +1 -1
- package/es/_util/useConfig.js +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 +1 -1
- package/es/_util/useSetState.js +4 -4
- package/es/_util/useUpdateEffect.js +1 -1
- package/es/addon/Addon.js +3 -3
- package/es/addon/index.js +3 -3
- package/es/affix/Affix.js +14 -14
- package/es/affix/index.js +14 -14
- package/es/affix/style/index.css +106 -106
- package/es/affix/style/index.js +1 -1
- package/es/alert/Alert.js +5 -5
- package/es/alert/index.js +5 -5
- package/es/alert/style/index.css +107 -107
- package/es/alert/style/index.js +1 -1
- package/es/anchor/Anchor.js +27 -22
- package/es/anchor/Anchor.js.map +1 -1
- package/es/anchor/AnchorContext.js +1 -1
- package/es/anchor/AnchorItem.js +2 -2
- package/es/anchor/AnchorTarget.js +19 -4
- 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 +27 -22
- package/es/anchor/index.js.map +1 -1
- package/es/anchor/style/index.css +106 -106
- package/es/anchor/style/index.js +1 -1
- package/es/badge/Badge.js +3 -3
- package/es/badge/index.js +3 -3
- package/es/badge/style/index.css +106 -106
- package/es/badge/style/index.js +1 -1
- package/es/breadcrumb/Breadcrumb.js +3 -3
- package/es/breadcrumb/BreadcrumbItem.js +3 -3
- package/es/breadcrumb/BreadcrumbProps.js +1 -1
- package/es/breadcrumb/index.js +3 -3
- package/es/breadcrumb/style/index.css +114 -114
- package/es/breadcrumb/style/index.js +1 -1
- package/es/button/Button.js +15 -14
- package/es/button/Button.js.map +1 -1
- package/es/button/index.js +13 -13
- package/es/button/style/index.css +116 -114
- package/es/button/style/index.js +1 -1
- package/es/calendar/Calendar.js +62 -38
- package/es/calendar/Calendar.js.map +1 -1
- package/es/calendar/_util.js +1 -1
- package/es/calendar/_util.js.map +1 -1
- package/es/calendar/index.js +31 -20
- package/es/calendar/index.js.map +1 -1
- package/es/calendar/style/index.css +114 -114
- package/es/calendar/style/index.js +1 -1
- package/es/cascader/Cascader.js +49 -41
- package/es/cascader/Cascader.js.map +1 -1
- package/es/cascader/components/InputContent.js +11 -11
- package/es/cascader/components/Item.js +36 -19
- package/es/cascader/components/Item.js.map +1 -1
- package/es/cascader/components/Panel.js +34 -19
- package/es/cascader/components/Panel.js.map +1 -1
- package/es/cascader/components/style/index.js +1 -1
- package/es/cascader/index.js +48 -40
- package/es/cascader/index.js.map +1 -1
- package/es/cascader/interface.js +27 -27
- package/es/cascader/style/index.css +124 -135
- package/es/cascader/style/index.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 +8 -8
- package/es/cascader/utils/item.js +4 -4
- package/es/cascader/utils/panel.js +11 -11
- package/es/checkbox/Checkbox.js +23 -29
- package/es/checkbox/Checkbox.js.map +1 -1
- package/es/checkbox/CheckboxGroup.js +27 -97
- package/es/checkbox/CheckboxGroup.js.map +1 -1
- package/es/checkbox/index.js +20 -12
- package/es/checkbox/index.js.map +1 -1
- package/es/checkbox/style/index.css +107 -107
- package/es/checkbox/style/index.js +1 -1
- package/es/comment/Comment.js +1 -1
- package/es/comment/index.js +1 -1
- package/es/comment/style/index.css +106 -106
- package/es/comment/style/index.js +1 -1
- package/es/common/Check.js +18 -6
- package/es/common/Check.js.map +1 -1
- package/es/common/FakeArrow.js +2 -2
- package/es/common/Portal.js +4 -4
- package/es/config-provider/ConfigContext.d.ts +1 -0
- package/es/config-provider/ConfigContext.js +1 -1
- package/es/config-provider/ConfigProvider.js +3 -3
- package/es/config-provider/index.js +3 -3
- package/es/date-picker/DatePicker.js +31 -31
- package/es/date-picker/base/CalendarPresets.js +13 -13
- package/es/date-picker/base/Cell.js +2 -2
- package/es/date-picker/base/Header.js +13 -13
- package/es/date-picker/base/Table.js +5 -5
- package/es/date-picker/base/style/index.js +1 -1
- package/es/date-picker/index.js +31 -31
- package/es/date-picker/panel/Date.js +27 -27
- package/es/date-picker/panel/DateRange.js +27 -27
- package/es/date-picker/panel/style/index.js +1 -1
- package/es/date-picker/style/index.css +113 -113
- package/es/date-picker/style/index.js +1 -1
- package/es/date-picker/utils.js +22 -22
- package/es/dialog/Dialog.js +13 -13
- package/es/dialog/RenderDialog.js +5 -5
- package/es/dialog/index.js +13 -13
- package/es/dialog/plugin.js +13 -13
- package/es/dialog/style/index.css +107 -106
- package/es/dialog/style/index.js +1 -1
- package/es/divider/Divider.js +3 -3
- package/es/divider/index.js +3 -3
- package/es/divider/style/index.css +107 -109
- package/es/divider/style/index.js +1 -1
- package/es/drawer/Drawer.js +13 -13
- package/es/drawer/DrawerWrapper.js +4 -4
- package/es/drawer/_util.js +1 -1
- package/es/drawer/index.js +13 -13
- package/es/drawer/style/index.css +106 -106
- package/es/drawer/style/index.js +1 -1
- package/es/dropdown/Dropdown.js +6 -6
- package/es/dropdown/DropdownItem.js +3 -3
- package/es/dropdown/DropdownMenu.js +6 -6
- package/es/dropdown/index.js +6 -6
- package/es/dropdown/style/index.css +109 -107
- package/es/dropdown/style/index.js +1 -1
- package/es/form/Form.js +38 -39
- package/es/form/Form.js.map +1 -1
- package/es/form/FormContext.js +1 -1
- package/es/form/FormItem.js +35 -36
- package/es/form/FormItem.js.map +1 -1
- package/es/form/formModel.js +29 -29
- package/es/form/index.js +36 -37
- package/es/form/index.js.map +1 -1
- package/es/form/style/index.css +106 -106
- package/es/form/style/index.js +1 -1
- package/es/grid/Col.js +6 -6
- package/es/grid/Row.js +8 -8
- package/es/grid/index.js +8 -8
- package/es/grid/style/index.css +106 -106
- package/es/grid/style/index.js +1 -1
- package/es/icon/type.js +1 -1
- package/es/index.js +56 -53
- package/es/index.js.map +1 -1
- package/es/input/Input.js +11 -11
- package/es/input/InputGroup.js +3 -3
- package/es/input/index.js +11 -11
- package/es/input/style/index.css +111 -106
- package/es/input/style/index.js +1 -1
- package/es/input-number/InputNumber.js +16 -16
- package/es/input-number/StepHandler.js +13 -13
- package/es/input-number/index.js +16 -16
- package/es/input-number/style/index.css +106 -107
- package/es/input-number/style/index.js +1 -1
- package/es/input-number/utils/numberUtils.js +1 -1
- package/es/layout/Layout.js +5 -5
- package/es/layout/Sider.js +3 -3
- package/es/layout/index.js +5 -5
- package/es/layout/style/index.css +106 -106
- package/es/layout/style/index.js +1 -1
- package/es/list/List.js +24 -4
- package/es/list/List.js.map +1 -1
- package/es/list/ListItem.js +1 -1
- package/es/list/ListItemMeta.js +1 -1
- package/es/list/index.js +20 -3
- package/es/list/index.js.map +1 -1
- package/es/list/style/index.css +106 -106
- package/es/list/style/index.js +1 -1
- package/es/loading/index.js +12 -12
- package/es/loading/loading.d.ts +1 -0
- package/es/loading/loading.js +64 -17
- package/es/loading/loading.js.map +1 -1
- package/es/loading/style/index.css +107 -107
- package/es/loading/style/index.js +1 -1
- package/es/locale/LocalReceiver.js +3 -3
- package/es/locale/type.js +1 -1
- package/es/locale/zh_CN.d.ts +1 -0
- package/es/locale/zh_CN.js +2 -1
- package/es/locale/zh_CN.js.map +1 -1
- package/es/menu/HeadMenu.js +8 -8
- package/es/menu/Menu.js +8 -8
- package/es/menu/MenuContext.js +1 -1
- package/es/menu/MenuGroup.js +1 -1
- package/es/menu/MenuItem.js +2 -2
- package/es/menu/SubMenu.js +4 -4
- 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 +8 -8
- package/es/menu/style/index.css +107 -107
- package/es/menu/style/index.js +1 -1
- package/es/message/Message.js +20 -4
- package/es/message/Message.js.map +1 -1
- package/es/message/MessageClose.js +1 -1
- package/es/message/MessageComponent.js +21 -4
- package/es/message/MessageComponent.js.map +1 -1
- package/es/message/MessageIcon.js +34 -3
- package/es/message/MessageIcon.js.map +1 -1
- package/es/message/const.js +1 -1
- package/es/message/index.js +19 -4
- package/es/message/index.js.map +1 -1
- package/es/message/style/index.css +106 -106
- package/es/message/style/index.js +1 -1
- package/es/message/useMessageClass.js +1 -1
- package/es/notification/Notification.js +7 -7
- package/es/notification/NotificationList.js +7 -7
- package/es/notification/index.js +7 -7
- package/es/notification/style/index.css +107 -107
- package/es/notification/style/index.js +1 -1
- package/es/pagination/Pagination.js +35 -20
- package/es/pagination/Pagination.js.map +1 -1
- package/es/pagination/index.js +34 -19
- package/es/pagination/index.js.map +1 -1
- package/es/pagination/style/index.css +106 -106
- package/es/pagination/style/index.js +1 -1
- package/es/pagination/validators.js +1 -1
- package/es/popconfirm/PopConfirm.js +14 -14
- package/es/popconfirm/PopContent.js +13 -13
- package/es/popconfirm/index.js +14 -14
- package/es/popconfirm/style/index.css +106 -106
- package/es/popconfirm/style/index.js +1 -1
- package/es/popup/Popup.js +4 -4
- package/es/popup/Portal.js +1 -1
- package/es/popup/index.js +4 -4
- package/es/popup/style/index.css +160 -158
- package/es/popup/style/index.js +1 -1
- package/es/popup/useTriggerProps.js +1 -1
- package/es/progress/Progress.js +3 -3
- package/es/progress/index.js +3 -3
- package/es/progress/style/index.css +115 -109
- package/es/progress/style/index.js +1 -1
- package/es/radio/Radio.js +18 -6
- package/es/radio/Radio.js.map +1 -1
- package/es/radio/RadioGroup.js +18 -6
- package/es/radio/RadioGroup.js.map +1 -1
- package/es/radio/index.js +18 -6
- package/es/radio/index.js.map +1 -1
- package/es/radio/style/index.css +106 -106
- package/es/radio/style/index.js +1 -1
- package/es/select/base/Option.d.ts +5 -2
- package/es/select/base/Option.js +44 -30
- package/es/select/base/Option.js.map +1 -1
- package/es/select/base/OptionGroup.d.ts +1 -0
- package/es/select/base/OptionGroup.js +6 -4
- package/es/select/base/OptionGroup.js.map +1 -1
- package/es/select/base/PopupContent.d.ts +2 -1
- package/es/select/base/PopupContent.js +61 -22
- package/es/select/base/PopupContent.js.map +1 -1
- package/es/select/base/Select.d.ts +2 -1
- package/es/select/base/Select.js +117 -74
- package/es/select/base/Select.js.map +1 -1
- package/es/select/base/style/index.js +1 -1
- package/es/select/index.js +35 -20
- package/es/select/index.js.map +1 -1
- package/es/select/style/index.css +132 -124
- package/es/select/style/index.js +1 -1
- package/es/select/util/helper.d.ts +4 -5
- package/es/select/util/helper.js +15 -26
- package/es/select/util/helper.js.map +1 -1
- package/es/slider/Slider.js +16 -16
- package/es/slider/SliderHandleButton.js +7 -7
- package/es/slider/index.js +16 -16
- package/es/slider/style/index.css +106 -106
- package/es/slider/style/index.js +1 -1
- package/es/slider/utils/handleNumber.js +1 -1
- package/es/steps/StepItem.js +2 -2
- package/es/steps/Steps.js +2 -2
- package/es/steps/StepsContext.js +1 -1
- package/es/steps/index.js +2 -2
- package/es/steps/style/index.css +142 -138
- package/es/steps/style/index.js +1 -1
- package/es/style/index.js +1 -1
- package/es/swiper/Swiper.js +4 -4
- package/es/swiper/SwiperItem.js +1 -1
- package/es/swiper/index.js +4 -4
- package/es/swiper/style/index.css +107 -107
- package/es/swiper/style/index.js +1 -1
- package/es/switch/Switch.js +26 -7
- package/es/switch/Switch.js.map +1 -1
- package/es/switch/index.js +21 -6
- package/es/switch/index.js.map +1 -1
- package/es/switch/style/index.css +106 -106
- package/es/switch/style/index.js +1 -1
- package/es/table/base/Table.js +32 -32
- package/es/table/base/TableAsyncLoadingBody.js +15 -15
- package/es/table/base/TableBody.js +21 -21
- package/es/table/base/TableCell.js +4 -4
- package/es/table/base/TableColGroup.js +1 -1
- package/es/table/base/TableContext.js +1 -1
- package/es/table/base/TableEmptyBody.js +1 -1
- package/es/table/base/TableFooter.js +1 -1
- package/es/table/base/TableHeader.js +12 -12
- package/es/table/base/TableLoadingBody.js +7 -7
- package/es/table/base/TableRow.js +21 -21
- package/es/table/base/style/index.js +1 -1
- package/es/table/hooks/useColumns.js +4 -4
- package/es/table/index.js +42 -39
- package/es/table/index.js.map +1 -1
- package/es/table/primary/FilterButton.js +25 -19
- package/es/table/primary/FilterButton.js.map +1 -1
- package/es/table/primary/SorterButton.js +7 -7
- package/es/table/primary/Table.js +43 -40
- package/es/table/primary/Table.js.map +1 -1
- package/es/table/primary/expand-box.js +3 -3
- package/es/table/primary/style/index.js +1 -1
- package/es/table/primary/useExpand.js +22 -22
- package/es/table/primary/useFilter.js +25 -19
- package/es/table/primary/useFilter.js.map +1 -1
- package/es/table/primary/useSelect.js +25 -17
- package/es/table/primary/useSelect.js.map +1 -1
- package/es/table/primary/useSorter.js +22 -22
- package/es/table/style/index.css +122 -118
- package/es/table/style/index.js +1 -1
- package/es/table/util/getRowKeyFromRowKey.js +1 -1
- package/es/table/util/index.js +1 -1
- package/es/tabs/TabBar.js +4 -4
- package/es/tabs/TabNav.js +4 -4
- package/es/tabs/TabNavItem.js +1 -1
- package/es/tabs/TabPanel.js +1 -1
- package/es/tabs/Tabs.js +4 -4
- package/es/tabs/index.js +4 -4
- package/es/tabs/style/index.css +113 -111
- package/es/tabs/style/index.js +1 -1
- package/es/tabs/useTabClass.js +1 -1
- package/es/tag/CheckTag.js +14 -8
- package/es/tag/CheckTag.js.map +1 -1
- package/es/tag/Tag.js +7 -6
- package/es/tag/Tag.js.map +1 -1
- package/es/tag/index.js +5 -5
- package/es/tag/style/index.css +121 -122
- package/es/tag/style/index.js +1 -1
- package/es/textarea/Textarea.js +5 -5
- package/es/textarea/index.js +5 -5
- package/es/textarea/style/index.css +106 -106
- package/es/textarea/style/index.js +1 -1
- package/es/time-picker/InputItems.js +21 -21
- package/es/time-picker/TimePicker.js +31 -31
- package/es/time-picker/TimeRangePicker.js +31 -31
- package/es/time-picker/consts.js +5 -5
- package/es/time-picker/index.js +31 -31
- package/es/time-picker/interfaces.js +1 -1
- package/es/time-picker/panel/SinglePanel.js +28 -28
- package/es/time-picker/panel/TimePickerPanel.js +30 -30
- package/es/time-picker/panel/TimePickerRangePanel.js +30 -30
- package/es/time-picker/panel/style/index.js +1 -1
- package/es/time-picker/style/index.css +112 -112
- package/es/time-picker/style/index.js +1 -1
- package/es/tooltip/Tooltip.js +7 -7
- package/es/tooltip/index.js +7 -7
- package/es/tooltip/style/index.css +109 -109
- package/es/tooltip/style/index.js +1 -1
- package/es/tree/Tree.d.ts +1 -2
- package/es/tree/Tree.js +50 -40
- package/es/tree/Tree.js.map +1 -1
- package/es/tree/TreeItem.js +33 -16
- package/es/tree/TreeItem.js.map +1 -1
- package/es/tree/index.js +50 -40
- package/es/tree/index.js.map +1 -1
- package/es/tree/interface.js +1 -1
- package/es/tree/style/index.css +120 -118
- package/es/tree/style/index.js +1 -1
- package/es/tree/useControllable.js +3 -3
- package/es/tree/useStore.js +34 -34
- package/es/tree/useTreeConfig.js +1 -1
- package/es/tree-select/TreeSelect.js +101 -194
- package/es/tree-select/TreeSelect.js.map +1 -1
- package/es/tree-select/TreeSelectInput.d.ts +11 -0
- package/es/tree-select/TreeSelectInput.js +136 -0
- package/es/tree-select/TreeSelectInput.js.map +1 -0
- package/es/tree-select/TreeSelectSuffix.d.ts +9 -0
- package/es/tree-select/TreeSelectSuffix.js +82 -0
- package/es/tree-select/TreeSelectSuffix.js.map +1 -0
- package/es/tree-select/TreeSelectTags.d.ts +6 -0
- package/es/tree-select/TreeSelectTags.js +79 -0
- package/es/tree-select/TreeSelectTags.js.map +1 -0
- package/es/tree-select/index.js +63 -51
- package/es/tree-select/index.js.map +1 -1
- package/es/tree-select/style/index.js +1 -1
- package/es/tree-select/useTreeSelectConfig.d.ts +10 -0
- package/es/tree-select/useTreeSelectConfig.js +50 -0
- package/es/tree-select/useTreeSelectConfig.js.map +1 -0
- package/es/upload/dragger.js +14 -14
- package/es/upload/hooks/useDefaultValue.js +7 -7
- package/es/upload/index.js +25 -25
- package/es/upload/style/index.css +119 -114
- package/es/upload/style/index.js +1 -1
- package/es/upload/themes/dragger-progress.js +14 -14
- package/es/upload/themes/image-card.js +14 -14
- package/es/upload/themes/single-file.js +12 -12
- package/es/upload/themes/style/index.js +1 -1
- package/es/upload/tips.js +1 -1
- package/es/upload/types.js +1 -1
- package/es/upload/upload-trigger.js +13 -13
- package/es/upload/upload.js +25 -25
- package/es/upload/util.js +3 -3
- package/es/upload/utils/request.js +1 -1
- package/esm/_chunks/{dep-79c7181c.js → dep-016d27a7.js} +2 -2
- package/{es/_chunks/dep-79c7181c.js.map → esm/_chunks/dep-016d27a7.js.map} +1 -1
- package/{es/_chunks/dep-4adf27fa.js → esm/_chunks/dep-039ac0dd.js} +6 -6
- package/{es/_chunks/dep-4adf27fa.js.map → esm/_chunks/dep-039ac0dd.js.map} +1 -1
- package/esm/_chunks/{dep-ce96caf9.js → dep-0c106052.js} +3 -3
- package/esm/_chunks/{dep-ce96caf9.js.map → dep-0c106052.js.map} +1 -1
- package/esm/_chunks/{dep-6d4c74ed.js → dep-1189939f.js} +2 -2
- package/esm/_chunks/{dep-45dee455.js.map → dep-1189939f.js.map} +1 -1
- package/esm/_chunks/{dep-0e364f89.js → dep-11b4e1d1.js} +4 -4
- package/esm/_chunks/{dep-0e364f89.js.map → dep-11b4e1d1.js.map} +1 -1
- package/{es/_chunks/dep-1d2d6811.js → esm/_chunks/dep-1b2238b1.js} +4 -4
- package/{es/_chunks/dep-1d2d6811.js.map → esm/_chunks/dep-1b2238b1.js.map} +1 -1
- package/esm/_chunks/{dep-222f3011.js → dep-2eeaa58b.js} +3 -3
- package/{es/_chunks/dep-222f3011.js.map → esm/_chunks/dep-2eeaa58b.js.map} +1 -1
- package/{es/_chunks/dep-24340815.js → esm/_chunks/dep-2f008905.js} +3 -3
- package/esm/_chunks/{dep-24340815.js.map → dep-2f008905.js.map} +1 -1
- package/{es/_chunks/dep-7fd82250.js → esm/_chunks/dep-32b70135.js} +7 -7
- package/esm/_chunks/{dep-7fd82250.js.map → dep-32b70135.js.map} +1 -1
- package/{es/_chunks/dep-cb44c6cb.js → esm/_chunks/dep-3959464c.js} +8 -8
- package/esm/_chunks/{dep-cb44c6cb.js.map → dep-3959464c.js.map} +1 -1
- package/esm/_chunks/{dep-ee70bc2c.js → dep-3f11cde6.js} +2 -2
- package/esm/_chunks/{dep-ee70bc2c.js.map → dep-3f11cde6.js.map} +1 -1
- package/{es/_chunks/dep-f18dfb6c.js → esm/_chunks/dep-43869d17.js} +7 -7
- package/{es/_chunks/dep-f18dfb6c.js.map → esm/_chunks/dep-43869d17.js.map} +1 -1
- package/esm/_chunks/{dep-cbd5adc9.js → dep-462edfd5.js} +5 -5
- package/{es/_chunks/dep-cbd5adc9.js.map → esm/_chunks/dep-462edfd5.js.map} +1 -1
- package/esm/_chunks/dep-47afb0bc.js +8 -0
- package/esm/_chunks/dep-47afb0bc.js.map +1 -0
- package/esm/_chunks/{dep-d0224a4e.js → dep-4901f712.js} +6 -6
- package/{es/_chunks/dep-d0224a4e.js.map → esm/_chunks/dep-4901f712.js.map} +1 -1
- package/esm/_chunks/dep-4e491803.js +8 -0
- package/esm/_chunks/dep-4e491803.js.map +1 -0
- package/esm/_chunks/{dep-4758c2cb.js → dep-4e5953fc.js} +15 -15
- package/{es/_chunks/dep-4758c2cb.js.map → esm/_chunks/dep-4e5953fc.js.map} +1 -1
- package/{es/_chunks/dep-b78554de.js → esm/_chunks/dep-504203df.js} +4 -4
- package/esm/_chunks/{dep-b78554de.js.map → dep-504203df.js.map} +1 -1
- package/{es/_chunks/dep-96dea3bb.js → esm/_chunks/dep-5e5c403a.js} +4 -4
- package/esm/_chunks/{dep-96dea3bb.js.map → dep-5e5c403a.js.map} +1 -1
- package/{es/_chunks/dep-bc117952.js → esm/_chunks/dep-5ec09fbd.js} +4 -4
- package/esm/_chunks/{dep-bc117952.js.map → dep-5ec09fbd.js.map} +1 -1
- package/{es/_chunks/dep-45dee455.js → esm/_chunks/dep-65c183dc.js} +2 -2
- package/esm/_chunks/{dep-6d4c74ed.js.map → dep-65c183dc.js.map} +1 -1
- package/{es/_chunks/dep-d056abc2.js → esm/_chunks/dep-6a5b1968.js} +2 -2
- package/esm/_chunks/{dep-d056abc2.js.map → dep-6a5b1968.js.map} +1 -1
- package/{es/_chunks/dep-7500c6cf.js → esm/_chunks/dep-6b58dff4.js} +6 -6
- package/esm/_chunks/{dep-7500c6cf.js.map → dep-6b58dff4.js.map} +1 -1
- package/{es/_chunks/dep-9a4e0e54.js → esm/_chunks/dep-7100b11f.js} +7 -7
- package/{es/_chunks/dep-9a4e0e54.js.map → esm/_chunks/dep-7100b11f.js.map} +1 -1
- package/{es/_chunks/dep-cd8b9911.js → esm/_chunks/dep-744f52b3.js} +11 -11
- package/{es/_chunks/dep-cd8b9911.js.map → esm/_chunks/dep-744f52b3.js.map} +1 -1
- package/esm/_chunks/dep-74a044dc.js +8 -0
- package/esm/_chunks/dep-74a044dc.js.map +1 -0
- package/esm/_chunks/{dep-8d2e5702.js → dep-8037ad24.js} +5 -5
- package/{es/_chunks/dep-8d2e5702.js.map → esm/_chunks/dep-8037ad24.js.map} +1 -1
- package/esm/_chunks/{dep-53a5fcb7.js → dep-83646039.js} +6 -6
- package/esm/_chunks/{dep-53a5fcb7.js.map → dep-83646039.js.map} +1 -1
- package/{es/_chunks/dep-bbdfa874.js → esm/_chunks/dep-8faed49a.js} +8 -8
- package/esm/_chunks/{dep-bbdfa874.js.map → dep-8faed49a.js.map} +1 -1
- package/esm/_chunks/{dep-9144317e.js → dep-9135789f.js} +9 -9
- package/{es/_chunks/dep-9144317e.js.map → esm/_chunks/dep-9135789f.js.map} +1 -1
- package/{es/_chunks/dep-776ae9a7.js → esm/_chunks/dep-9ad4f4b7.js} +3 -3
- package/{es/_chunks/dep-776ae9a7.js.map → esm/_chunks/dep-9ad4f4b7.js.map} +1 -1
- package/{es/_chunks/dep-bf9ecece.js → esm/_chunks/dep-9bab9f6f.js} +4 -4
- package/esm/_chunks/{dep-bf9ecece.js.map → dep-9bab9f6f.js.map} +1 -1
- package/{es/_chunks/dep-420a010b.js → esm/_chunks/dep-9c56e17c.js} +9 -9
- package/{es/_chunks/dep-420a010b.js.map → esm/_chunks/dep-9c56e17c.js.map} +1 -1
- package/esm/_chunks/{dep-0a958aee.js → dep-9d2e7b62.js} +6 -6
- package/{es/_chunks/dep-0a958aee.js.map → esm/_chunks/dep-9d2e7b62.js.map} +1 -1
- package/esm/_chunks/{dep-99336593.js → dep-b44aec31.js} +88 -75
- package/esm/_chunks/dep-b44aec31.js.map +1 -0
- package/esm/_chunks/{dep-2fdea8b5.js → dep-b6158110.js} +4 -4
- package/esm/_chunks/{dep-2fdea8b5.js.map → dep-b6158110.js.map} +1 -1
- package/esm/_chunks/{dep-2f74dba2.js → dep-b6ff8559.js} +4 -4
- package/esm/_chunks/{dep-2f74dba2.js.map → dep-b6ff8559.js.map} +1 -1
- package/{es/_chunks/dep-bd19faa8.js → esm/_chunks/dep-b926b443.js} +6 -6
- package/esm/_chunks/{dep-d039e373.js.map → dep-b926b443.js.map} +1 -1
- package/esm/_chunks/{dep-766ddb96.js → dep-bb05ae7d.js} +3 -3
- package/esm/_chunks/{dep-766ddb96.js.map → dep-bb05ae7d.js.map} +1 -1
- package/{es/_chunks/dep-9052d175.js → esm/_chunks/dep-cb80da27.js} +2 -2
- package/esm/_chunks/dep-cb80da27.js.map +1 -0
- package/esm/_chunks/{dep-8bc12c0f.js → dep-e507e9db.js} +7 -7
- package/{es/_chunks/dep-8bc12c0f.js.map → esm/_chunks/dep-e507e9db.js.map} +1 -1
- package/esm/_chunks/{dep-ac24e8fd.js → dep-e83a1558.js} +8 -8
- package/esm/_chunks/{dep-ac24e8fd.js.map → dep-e83a1558.js.map} +1 -1
- package/esm/_chunks/{dep-9c3437dc.js → dep-ed9505a3.js} +3 -3
- package/esm/_chunks/{dep-9c3437dc.js.map → dep-ed9505a3.js.map} +1 -1
- package/esm/_chunks/dep-edb4c08f.js +190 -0
- package/esm/_chunks/dep-edb4c08f.js.map +1 -0
- package/esm/_chunks/{dep-eb51ffd0.js → dep-ee3e1923.js} +6 -6
- package/{es/_chunks/dep-eb51ffd0.js.map → esm/_chunks/dep-ee3e1923.js.map} +1 -1
- package/esm/_chunks/{dep-b5420e42.js → dep-efa4ba54.js} +5 -5
- package/{es/_chunks/dep-b5420e42.js.map → esm/_chunks/dep-efa4ba54.js.map} +1 -1
- package/esm/_chunks/{dep-b05711f1.js → dep-efe7433b.js} +2 -2
- package/esm/_chunks/{dep-b05711f1.js.map → dep-efe7433b.js.map} +1 -1
- package/esm/_chunks/{dep-7e897399.js → dep-f3eac264.js} +4 -4
- package/esm/_chunks/{dep-7e897399.js.map → dep-f3eac264.js.map} +1 -1
- package/esm/_chunks/{dep-40f6ccc8.js → dep-f7d3ea79.js} +3 -3
- package/esm/_chunks/{dep-40f6ccc8.js.map → dep-f7d3ea79.js.map} +1 -1
- package/esm/_common/js/common.js +1 -1
- package/esm/_common/js/tree/tree-node-model.js +22 -22
- package/esm/_common/js/tree/tree-node.js +27 -27
- package/esm/_common/js/tree/tree-store.d.ts +4 -0
- package/esm/_common/js/tree/tree-store.js +33 -33
- package/esm/_common/js/tree/types.js +1 -1
- package/esm/_common/style/web/_global.less +0 -3
- package/esm/_common/style/web/_reset.less +1 -0
- package/esm/_common/style/web/_variables.less +52 -32
- package/esm/_common/style/web/components/_docs.less +23 -0
- package/esm/_common/style/web/components/_index.less +45 -0
- package/esm/_common/style/web/components/a-template/_index.less +2 -1
- package/esm/_common/style/web/components/affix/_index.less +0 -1
- package/esm/_common/style/web/components/alert/_docs.less +1 -1
- package/esm/_common/style/web/components/alert/_index.less +5 -3
- package/esm/_common/style/web/components/alert/_var.less +1 -1
- package/esm/_common/style/web/components/anchor/_docs.less +4 -2
- package/esm/_common/style/web/components/anchor/_index.less +3 -1
- package/esm/_common/style/web/components/anchor/_mixin.less +1 -1
- package/esm/_common/style/web/components/avatar/_index.less +6 -4
- package/esm/_common/style/web/components/avatar/_mixin.less +3 -1
- package/esm/_common/style/web/components/avatar/_var.less +2 -4
- package/esm/_common/style/web/components/badge/_docs.less +2 -0
- package/esm/_common/style/web/components/badge/_index.less +3 -1
- package/esm/_common/style/web/components/breadcrumb/_index.less +10 -11
- package/esm/_common/style/web/components/breadcrumb/_mixin.less +2 -4
- package/esm/_common/style/web/components/breadcrumb/_var.less +0 -3
- package/esm/_common/style/web/components/button/_docs.less +5 -2
- package/esm/_common/style/web/components/button/_index.less +25 -19
- package/esm/_common/style/web/components/button/_var.less +7 -2
- package/esm/_common/style/web/components/calendar/_index.less +16 -16
- package/esm/_common/style/web/components/calendar/_var.less +5 -6
- package/esm/_common/style/web/components/cascader/_index.less +41 -54
- package/esm/_common/style/web/components/cascader/_var.less +0 -1
- package/esm/_common/style/web/components/checkbox/_index.less +11 -2
- package/esm/_common/style/web/components/checkbox/_var.less +1 -1
- package/esm/_common/style/web/components/comment/_index.less +3 -2
- package/esm/_common/style/web/components/comment/_var.less +0 -7
- package/esm/_common/style/web/components/date-picker/_docs.less +1 -1
- package/esm/_common/style/web/components/date-picker/_index.less +38 -30
- package/esm/_common/style/web/components/dialog/_animate.less +7 -15
- package/esm/_common/style/web/components/dialog/_docs.less +0 -2
- package/esm/_common/style/web/components/dialog/_index.less +5 -4
- package/esm/_common/style/web/components/divider/_index.less +5 -7
- package/esm/_common/style/web/components/divider/_mixin.less +1 -1
- package/esm/_common/style/web/components/drawer/_index.less +3 -3
- package/esm/_common/style/web/components/dropdown/_index.less +10 -5
- package/esm/_common/style/web/components/dropdown/_var.less +1 -1
- package/esm/_common/style/web/components/form/_docs.less +0 -1
- package/esm/_common/style/web/components/form/_index.less +15 -4
- package/esm/_common/style/web/components/form/_mixin.less +4 -1
- package/esm/_common/style/web/components/form/_var.less +2 -2
- package/esm/_common/style/web/components/grid/_docs.less +2 -1
- package/esm/_common/style/web/components/grid/_index.less +2 -0
- package/esm/_common/style/web/components/grid/_mixin.less +12 -0
- package/esm/_common/style/web/components/icon/_index.less +3 -0
- package/esm/_common/style/web/components/input/_index.less +35 -2
- package/esm/_common/style/web/components/input/_mixin.less +16 -2
- package/esm/_common/style/web/components/input/_var.less +11 -4
- package/esm/_common/style/web/components/input-number/_docs.less +1 -0
- package/esm/_common/style/web/components/input-number/_index.less +21 -6
- package/esm/_common/style/web/components/layout/_docs.less +6 -11
- package/esm/_common/style/web/components/layout/_index.less +2 -0
- package/esm/_common/style/web/components/list/_index.less +11 -4
- package/esm/_common/style/web/components/loading/_index.less +3 -3
- package/esm/_common/style/web/components/loading/_var.less +0 -1
- package/esm/_common/style/web/components/menu/_docs.less +15 -13
- package/esm/_common/style/web/components/menu/_index.less +43 -25
- package/esm/_common/style/web/components/menu/_transition.less +23 -5
- package/esm/_common/style/web/components/menu/_var.less +1 -2
- package/esm/_common/style/web/components/message/_docs.less +1 -1
- package/esm/_common/style/web/components/message/_index.less +7 -1
- package/esm/_common/style/web/components/message/_var.less +0 -1
- package/esm/_common/style/web/components/notification/_index.less +2 -7
- package/esm/_common/style/web/components/pagination/_docs.less +3 -3
- package/esm/_common/style/web/components/pagination/_index.less +8 -1
- package/esm/_common/style/web/components/popconfirm/_docs.less +5 -3
- package/esm/_common/style/web/components/popconfirm/_index.less +6 -4
- package/esm/_common/style/web/components/popconfirm/_var.less +2 -2
- package/esm/_common/style/web/components/popup/_index.less +15 -5
- package/esm/_common/style/web/components/popup/_mixin.less +33 -17
- package/esm/_common/style/web/components/popup/_var.less +4 -3
- package/esm/_common/style/web/components/progress/_index.less +23 -5
- package/esm/_common/style/web/components/progress/_var.less +1 -1
- package/esm/_common/style/web/components/radio/_index.less +22 -3
- package/esm/_common/style/web/components/select/_index.less +28 -9
- package/esm/_common/style/web/components/select/_var.less +2 -2
- package/esm/_common/style/web/components/slider/_index.less +42 -40
- package/esm/_common/style/web/components/slider/_var.less +41 -10
- package/esm/_common/style/web/components/steps/_docs.less +1 -2
- package/esm/_common/style/web/components/steps/_index.less +12 -4
- package/esm/_common/style/web/components/steps/_mixin.less +30 -28
- package/esm/_common/style/web/components/steps/_var.less +10 -11
- package/esm/_common/style/web/components/swiper/_docs.less +1 -1
- package/esm/_common/style/web/components/swiper/_index.less +3 -1
- package/esm/_common/style/web/components/swiper/_var.less +1 -1
- package/esm/_common/style/web/components/switch/_docs.less +1 -0
- package/esm/_common/style/web/components/switch/_index.less +26 -2
- package/esm/_common/style/web/components/switch/_var.less +0 -1
- package/esm/_common/style/web/components/table/_docs.less +3 -6
- package/esm/_common/style/web/components/table/_index.less +44 -50
- package/esm/_common/style/web/components/table/_var.less +2 -1
- package/esm/_common/style/web/components/tabs/_index.less +14 -10
- package/esm/_common/style/web/components/tabs/_var.less +1 -1
- package/esm/_common/style/web/components/tag/_index.less +28 -16
- package/esm/_common/style/web/components/tag/_mixin.less +1 -1
- package/esm/_common/style/web/components/tag/_var.less +1 -1
- package/esm/_common/style/web/components/textarea/_index.less +2 -1
- package/esm/_common/style/web/components/time-picker/_index.less +15 -11
- package/esm/_common/style/web/components/time-picker/_var.less +1 -1
- package/esm/_common/style/web/components/tooltip/_docs.less +4 -2
- package/esm/_common/style/web/components/tooltip/_index.less +5 -3
- package/esm/_common/style/web/components/tooltip/_var.less +4 -5
- package/esm/_common/style/web/components/transfer/_index.less +23 -4
- package/esm/_common/style/web/components/transfer/_var.less +2 -2
- package/esm/_common/style/web/components/tree/_docs.less +15 -16
- package/esm/_common/style/web/components/tree/_index.less +28 -13
- package/esm/_common/style/web/components/upload/_docs.less +2 -5
- package/esm/_common/style/web/components/upload/_index.less +37 -21
- package/esm/_common/style/web/components/upload/_mixin.less +1 -1
- package/esm/_common/style/web/docs.less +9 -6
- package/esm/_common/style/web/mixins/_clearfix.less +1 -2
- package/esm/_common/style/web/mixins/_index.less +3 -0
- package/esm/_common/style/web/theme/_dark.less +69 -77
- package/esm/_common/style/web/theme/_index.less +2 -1
- package/esm/_common/style/web/theme/_light.less +68 -80
- package/esm/_common/style/web/utilities/_animation.less +2 -17
- package/esm/_common/style/web/utilities/_float.less +1 -1
- package/esm/_common/style/web/utilities/_index.less +1 -0
- package/esm/_type/ControlledProps.js +1 -1
- package/esm/_type/StyledProps.js +1 -1
- package/esm/_type/common.js +1 -1
- package/esm/_type/components/affix/index.js +1 -1
- package/esm/_type/components/alert/index.js +1 -1
- package/esm/_type/components/anchor/index.js +1 -1
- package/esm/_type/components/anchor-item/index.js +1 -1
- package/esm/_type/components/anchor-target/index.js +1 -1
- package/esm/_type/components/badge/index.js +1 -1
- package/esm/_type/components/breadcrumb/index.js +1 -1
- package/esm/_type/components/button/index.js +1 -1
- package/esm/_type/components/calendar/index.d.ts +5 -0
- package/esm/_type/components/calendar/index.js +1 -6
- package/esm/_type/components/calendar/index.js.map +1 -1
- package/esm/_type/components/cascader/index.js +1 -1
- package/esm/_type/components/checkbox/index.js +1 -1
- package/esm/_type/components/comment/index.js +1 -1
- package/esm/_type/components/date-picker/index.js +1 -1
- package/esm/_type/components/dialog/index.js +1 -1
- package/esm/_type/components/divider/index.js +1 -1
- package/esm/_type/components/drawer/index.js +1 -1
- package/esm/_type/components/dropdown/index.js +1 -1
- package/esm/_type/components/form/index.js +1 -1
- package/esm/_type/components/grid/index.js +1 -1
- package/esm/_type/components/icon/index.js +1 -1
- package/esm/_type/components/icon-svg/index.js +1 -1
- package/esm/_type/components/iconfont/index.js +1 -1
- package/esm/_type/components/input/index.js +1 -1
- package/esm/_type/components/input-number/index.js +1 -1
- package/esm/_type/components/layout/index.js +1 -1
- package/esm/_type/components/list/index.js +1 -1
- package/esm/_type/components/loading/index.js +1 -1
- package/esm/_type/components/menu/index.js +1 -1
- package/esm/_type/components/message/index.js +1 -1
- package/esm/_type/components/notification/index.js +1 -1
- package/esm/_type/components/pagination/index.js +1 -1
- package/esm/_type/components/popconfirm/index.js +1 -1
- package/esm/_type/components/popup/index.js +1 -1
- package/esm/_type/components/progress/index.js +1 -1
- package/esm/_type/components/radio/index.js +1 -1
- package/esm/_type/components/select/index.d.ts +62 -17
- package/esm/_type/components/select/index.js +1 -1
- package/esm/_type/components/slider/index.js +1 -1
- package/esm/_type/components/steps/index.js +1 -1
- package/esm/_type/components/swiper/index.js +1 -1
- package/esm/_type/components/switch/index.js +1 -1
- package/esm/_type/components/table/index.js +1 -1
- package/esm/_type/components/tabs/index.js +1 -1
- package/esm/_type/components/tag/index.d.ts +1 -1
- package/esm/_type/components/tag/index.js +1 -1
- package/esm/_type/components/textarea/index.js +1 -1
- package/esm/_type/components/time-picker/index.js +1 -1
- package/esm/_type/components/tooltip/index.js +1 -1
- package/esm/_type/components/transfer/index.js +1 -1
- package/esm/_type/components/tree/index.js +1 -1
- package/esm/_type/components/tree-select/index.d.ts +16 -3
- package/esm/_type/components/tree-select/index.js +3 -1
- package/esm/_type/components/tree-select/index.js.map +1 -1
- package/esm/_type/components/upload/index.js +1 -1
- package/esm/_type/index.js +1 -1
- package/esm/_type/util.js +1 -1
- 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 +1 -1
- package/esm/_util/useConfig.js +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 +1 -1
- package/esm/_util/useSetState.js +4 -4
- package/esm/_util/useUpdateEffect.js +1 -1
- package/esm/addon/Addon.js +3 -3
- package/esm/addon/index.js +3 -3
- package/esm/affix/Affix.js +14 -14
- package/esm/affix/index.js +14 -14
- package/esm/alert/Alert.js +5 -5
- package/esm/alert/index.js +5 -5
- package/esm/anchor/Anchor.js +28 -22
- package/esm/anchor/Anchor.js.map +1 -1
- package/esm/anchor/AnchorContext.js +1 -1
- package/esm/anchor/AnchorItem.js +2 -2
- package/esm/anchor/AnchorTarget.js +20 -4
- 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 -22
- package/esm/anchor/index.js.map +1 -1
- package/esm/badge/Badge.js +3 -3
- package/esm/badge/index.js +3 -3
- package/esm/breadcrumb/Breadcrumb.js +3 -3
- package/esm/breadcrumb/BreadcrumbItem.js +3 -3
- package/esm/breadcrumb/BreadcrumbProps.js +1 -1
- package/esm/breadcrumb/index.js +3 -3
- package/esm/button/Button.js +15 -14
- package/esm/button/Button.js.map +1 -1
- package/esm/button/index.js +13 -13
- package/esm/calendar/Calendar.js +62 -38
- package/esm/calendar/Calendar.js.map +1 -1
- package/esm/calendar/_util.js +1 -1
- package/esm/calendar/_util.js.map +1 -1
- package/esm/calendar/index.js +31 -20
- package/esm/calendar/index.js.map +1 -1
- package/esm/cascader/Cascader.js +49 -40
- package/esm/cascader/Cascader.js.map +1 -1
- package/esm/cascader/components/InputContent.js +11 -11
- package/esm/cascader/components/Item.js +36 -18
- package/esm/cascader/components/Item.js.map +1 -1
- package/esm/cascader/components/Panel.js +34 -18
- package/esm/cascader/components/Panel.js.map +1 -1
- package/esm/cascader/index.js +49 -40
- package/esm/cascader/index.js.map +1 -1
- package/esm/cascader/interface.js +27 -27
- package/esm/cascader/utils/cascader.js +4 -4
- package/esm/cascader/utils/helper.js +2 -2
- package/esm/cascader/utils/inputContent.js +8 -8
- package/esm/cascader/utils/item.js +4 -4
- package/esm/cascader/utils/panel.js +11 -11
- package/esm/checkbox/Checkbox.js +23 -29
- package/esm/checkbox/Checkbox.js.map +1 -1
- package/esm/checkbox/CheckboxGroup.js +27 -97
- package/esm/checkbox/CheckboxGroup.js.map +1 -1
- package/esm/checkbox/index.js +20 -12
- package/esm/checkbox/index.js.map +1 -1
- package/esm/comment/Comment.js +1 -1
- package/esm/comment/index.js +1 -1
- package/esm/common/Check.js +18 -6
- package/esm/common/Check.js.map +1 -1
- package/esm/common/FakeArrow.js +2 -2
- package/esm/common/Portal.js +4 -4
- package/esm/config-provider/ConfigContext.d.ts +1 -0
- package/esm/config-provider/ConfigContext.js +1 -1
- package/esm/config-provider/ConfigProvider.js +3 -3
- package/esm/config-provider/index.js +3 -3
- package/esm/date-picker/DatePicker.js +31 -31
- package/esm/date-picker/base/CalendarPresets.js +13 -13
- package/esm/date-picker/base/Cell.js +2 -2
- package/esm/date-picker/base/Header.js +13 -13
- package/esm/date-picker/base/Table.js +5 -5
- package/esm/date-picker/index.js +31 -31
- package/esm/date-picker/panel/Date.js +27 -27
- package/esm/date-picker/panel/DateRange.js +27 -27
- package/esm/date-picker/utils.js +22 -22
- package/esm/dialog/Dialog.js +13 -13
- package/esm/dialog/RenderDialog.js +5 -5
- package/esm/dialog/index.js +13 -13
- package/esm/dialog/plugin.js +13 -13
- package/esm/divider/Divider.js +3 -3
- package/esm/divider/index.js +3 -3
- package/esm/drawer/Drawer.js +13 -13
- package/esm/drawer/DrawerWrapper.js +4 -4
- package/esm/drawer/_util.js +1 -1
- package/esm/drawer/index.js +13 -13
- package/esm/dropdown/Dropdown.js +6 -6
- package/esm/dropdown/DropdownItem.js +3 -3
- package/esm/dropdown/DropdownMenu.js +6 -6
- package/esm/dropdown/index.js +6 -6
- package/esm/form/Form.js +38 -39
- package/esm/form/Form.js.map +1 -1
- package/esm/form/FormContext.js +1 -1
- package/esm/form/FormItem.js +35 -36
- package/esm/form/FormItem.js.map +1 -1
- package/esm/form/formModel.js +29 -29
- package/esm/form/index.js +36 -37
- package/esm/form/index.js.map +1 -1
- package/esm/grid/Col.js +6 -6
- package/esm/grid/Row.js +8 -8
- package/esm/grid/index.js +8 -8
- package/esm/icon/type.js +1 -1
- package/esm/index.js +56 -53
- package/esm/index.js.map +1 -1
- package/esm/input/Input.js +11 -11
- package/esm/input/InputGroup.js +3 -3
- package/esm/input/index.js +11 -11
- package/esm/input-number/InputNumber.js +16 -16
- package/esm/input-number/StepHandler.js +13 -13
- package/esm/input-number/index.js +16 -16
- package/esm/input-number/utils/numberUtils.js +1 -1
- package/esm/layout/Layout.js +5 -5
- package/esm/layout/Sider.js +3 -3
- package/esm/layout/index.js +5 -5
- package/esm/list/List.js +24 -4
- package/esm/list/List.js.map +1 -1
- package/esm/list/ListItem.js +1 -1
- package/esm/list/ListItemMeta.js +1 -1
- package/esm/list/index.js +21 -3
- package/esm/list/index.js.map +1 -1
- package/esm/loading/index.js +12 -12
- package/esm/loading/loading.d.ts +1 -0
- package/esm/loading/loading.js +64 -17
- package/esm/loading/loading.js.map +1 -1
- package/esm/locale/LocalReceiver.js +3 -3
- package/esm/locale/type.js +1 -1
- package/esm/locale/zh_CN.d.ts +1 -0
- package/esm/locale/zh_CN.js +2 -1
- package/esm/locale/zh_CN.js.map +1 -1
- package/esm/menu/HeadMenu.js +8 -8
- package/esm/menu/Menu.js +8 -8
- package/esm/menu/MenuContext.js +1 -1
- package/esm/menu/MenuGroup.js +1 -1
- package/esm/menu/MenuItem.js +2 -2
- package/esm/menu/SubMenu.js +4 -4
- 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 +8 -8
- package/esm/message/Message.js +20 -4
- package/esm/message/Message.js.map +1 -1
- package/esm/message/MessageClose.js +1 -1
- package/esm/message/MessageComponent.js +21 -4
- package/esm/message/MessageComponent.js.map +1 -1
- package/esm/message/MessageIcon.js +34 -3
- package/esm/message/MessageIcon.js.map +1 -1
- package/esm/message/const.js +1 -1
- package/esm/message/index.js +20 -4
- package/esm/message/index.js.map +1 -1
- package/esm/message/useMessageClass.js +1 -1
- package/esm/notification/Notification.js +7 -7
- package/esm/notification/NotificationList.js +7 -7
- package/esm/notification/index.js +7 -7
- package/esm/pagination/Pagination.js +35 -19
- package/esm/pagination/Pagination.js.map +1 -1
- package/esm/pagination/index.js +35 -19
- package/esm/pagination/index.js.map +1 -1
- package/esm/pagination/validators.js +1 -1
- package/esm/popconfirm/PopConfirm.js +14 -14
- package/esm/popconfirm/PopContent.js +13 -13
- package/esm/popconfirm/index.js +14 -14
- package/esm/popup/Popup.js +4 -4
- package/esm/popup/Portal.js +1 -1
- package/esm/popup/index.js +4 -4
- package/esm/popup/useTriggerProps.js +1 -1
- package/esm/progress/Progress.js +3 -3
- package/esm/progress/index.js +3 -3
- package/esm/radio/Radio.js +18 -6
- package/esm/radio/Radio.js.map +1 -1
- package/esm/radio/RadioGroup.js +18 -6
- package/esm/radio/RadioGroup.js.map +1 -1
- package/esm/radio/index.js +18 -6
- package/esm/radio/index.js.map +1 -1
- package/esm/select/base/Option.d.ts +5 -2
- package/esm/select/base/Option.js +44 -30
- package/esm/select/base/Option.js.map +1 -1
- package/esm/select/base/OptionGroup.d.ts +1 -0
- package/esm/select/base/OptionGroup.js +6 -4
- package/esm/select/base/OptionGroup.js.map +1 -1
- package/esm/select/base/PopupContent.d.ts +2 -1
- package/esm/select/base/PopupContent.js +61 -22
- package/esm/select/base/PopupContent.js.map +1 -1
- package/esm/select/base/Select.d.ts +2 -1
- package/esm/select/base/Select.js +117 -73
- package/esm/select/base/Select.js.map +1 -1
- package/esm/select/index.js +36 -20
- package/esm/select/index.js.map +1 -1
- package/esm/select/util/helper.d.ts +4 -5
- package/esm/select/util/helper.js +15 -26
- package/esm/select/util/helper.js.map +1 -1
- package/esm/slider/Slider.js +16 -16
- package/esm/slider/SliderHandleButton.js +7 -7
- package/esm/slider/index.js +16 -16
- package/esm/slider/utils/handleNumber.js +1 -1
- package/esm/steps/StepItem.js +2 -2
- package/esm/steps/Steps.js +2 -2
- package/esm/steps/StepsContext.js +1 -1
- package/esm/steps/index.js +2 -2
- package/esm/swiper/Swiper.js +4 -4
- package/esm/swiper/SwiperItem.js +1 -1
- package/esm/swiper/index.js +4 -4
- package/esm/switch/Switch.js +26 -7
- package/esm/switch/Switch.js.map +1 -1
- package/esm/switch/index.js +22 -6
- package/esm/switch/index.js.map +1 -1
- package/esm/table/base/Table.js +33 -33
- package/esm/table/base/TableAsyncLoadingBody.js +15 -15
- package/esm/table/base/TableBody.js +21 -21
- package/esm/table/base/TableCell.js +4 -4
- package/esm/table/base/TableColGroup.js +1 -1
- package/esm/table/base/TableContext.js +1 -1
- package/esm/table/base/TableEmptyBody.js +1 -1
- package/esm/table/base/TableFooter.js +1 -1
- package/esm/table/base/TableHeader.js +12 -12
- package/esm/table/base/TableLoadingBody.js +7 -7
- package/esm/table/base/TableRow.js +21 -21
- package/esm/table/hooks/useColumns.js +4 -4
- package/esm/table/index.js +43 -40
- package/esm/table/index.js.map +1 -1
- package/esm/table/primary/FilterButton.js +25 -19
- package/esm/table/primary/FilterButton.js.map +1 -1
- package/esm/table/primary/SorterButton.js +7 -7
- package/esm/table/primary/Table.js +43 -40
- package/esm/table/primary/Table.js.map +1 -1
- package/esm/table/primary/expand-box.js +3 -3
- package/esm/table/primary/useExpand.js +22 -22
- package/esm/table/primary/useFilter.js +25 -19
- package/esm/table/primary/useFilter.js.map +1 -1
- package/esm/table/primary/useSelect.js +25 -17
- package/esm/table/primary/useSelect.js.map +1 -1
- package/esm/table/primary/useSorter.js +22 -22
- package/esm/table/util/getRowKeyFromRowKey.js +1 -1
- package/esm/table/util/index.js +1 -1
- package/esm/tabs/TabBar.js +4 -4
- package/esm/tabs/TabNav.js +4 -4
- package/esm/tabs/TabNavItem.js +1 -1
- package/esm/tabs/TabPanel.js +1 -1
- package/esm/tabs/Tabs.js +4 -4
- package/esm/tabs/index.js +4 -4
- package/esm/tabs/useTabClass.js +1 -1
- package/esm/tag/CheckTag.js +14 -8
- package/esm/tag/CheckTag.js.map +1 -1
- package/esm/tag/Tag.js +7 -6
- package/esm/tag/Tag.js.map +1 -1
- package/esm/tag/index.js +5 -5
- package/esm/textarea/Textarea.js +5 -5
- package/esm/textarea/index.js +5 -5
- package/esm/time-picker/InputItems.js +21 -21
- package/esm/time-picker/TimePicker.js +31 -31
- package/esm/time-picker/TimeRangePicker.js +31 -31
- package/esm/time-picker/consts.js +5 -5
- package/esm/time-picker/index.js +31 -31
- package/esm/time-picker/interfaces.js +1 -1
- package/esm/time-picker/panel/SinglePanel.js +28 -28
- package/esm/time-picker/panel/TimePickerPanel.js +30 -30
- package/esm/time-picker/panel/TimePickerRangePanel.js +30 -30
- package/esm/tooltip/Tooltip.js +7 -7
- package/esm/tooltip/index.js +7 -7
- package/esm/tree/Tree.d.ts +1 -2
- package/esm/tree/Tree.js +50 -39
- package/esm/tree/Tree.js.map +1 -1
- package/esm/tree/TreeItem.js +33 -15
- package/esm/tree/TreeItem.js.map +1 -1
- package/esm/tree/index.js +50 -39
- package/esm/tree/index.js.map +1 -1
- package/esm/tree/interface.js +1 -1
- package/esm/tree/useControllable.js +3 -3
- package/esm/tree/useStore.js +34 -34
- package/esm/tree/useTreeConfig.js +1 -1
- package/esm/tree-select/TreeSelect.js +103 -195
- package/esm/tree-select/TreeSelect.js.map +1 -1
- package/esm/tree-select/TreeSelectInput.d.ts +11 -0
- package/esm/tree-select/TreeSelectInput.js +136 -0
- package/esm/tree-select/TreeSelectInput.js.map +1 -0
- package/esm/tree-select/TreeSelectSuffix.d.ts +9 -0
- package/esm/tree-select/TreeSelectSuffix.js +82 -0
- package/esm/tree-select/TreeSelectSuffix.js.map +1 -0
- package/esm/tree-select/TreeSelectTags.d.ts +6 -0
- package/esm/tree-select/TreeSelectTags.js +79 -0
- package/esm/tree-select/TreeSelectTags.js.map +1 -0
- package/esm/tree-select/index.js +65 -52
- package/esm/tree-select/index.js.map +1 -1
- package/esm/tree-select/useTreeSelectConfig.d.ts +10 -0
- package/esm/tree-select/useTreeSelectConfig.js +50 -0
- package/esm/tree-select/useTreeSelectConfig.js.map +1 -0
- package/esm/upload/dragger.js +14 -14
- package/esm/upload/hooks/useDefaultValue.js +7 -7
- package/esm/upload/index.js +25 -25
- package/esm/upload/themes/dragger-progress.js +14 -14
- package/esm/upload/themes/image-card.js +14 -14
- package/esm/upload/themes/single-file.js +12 -12
- package/esm/upload/tips.js +1 -1
- package/esm/upload/types.js +1 -1
- package/esm/upload/upload-trigger.js +13 -13
- package/esm/upload/upload.js +25 -25
- package/esm/upload/util.js +3 -3
- package/esm/upload/utils/request.js +1 -1
- package/lib/_chunks/{dep-79c7181c.js → dep-016d27a7.js} +2 -2
- package/lib/_chunks/{dep-79c7181c.js.map → dep-016d27a7.js.map} +1 -1
- package/lib/_chunks/{dep-89afcace.js → dep-055db390.js} +4 -4
- package/lib/_chunks/{dep-89afcace.js.map → dep-055db390.js.map} +1 -1
- package/lib/_chunks/{dep-94878eaa.js → dep-074cf15e.js} +2 -2
- package/lib/_chunks/{dep-94878eaa.js.map → dep-074cf15e.js.map} +1 -1
- package/lib/_chunks/{dep-345c8a5b.js → dep-0880a342.js} +3 -3
- package/lib/_chunks/{dep-345c8a5b.js.map → dep-0880a342.js.map} +1 -1
- package/lib/_chunks/{dep-3fb30826.js → dep-0d083983.js} +4 -4
- package/lib/_chunks/{dep-3fb30826.js.map → dep-0d083983.js.map} +1 -1
- package/lib/_chunks/{dep-06e0856f.js → dep-10546ff8.js} +2 -2
- package/lib/_chunks/{dep-06e0856f.js.map → dep-10546ff8.js.map} +1 -1
- package/lib/_chunks/dep-1189939f.js +24 -0
- package/lib/_chunks/{dep-45dee455.js.map → dep-1189939f.js.map} +1 -1
- package/lib/_chunks/{dep-f6f5d8ab.js → dep-1599f0a8.js} +5 -5
- package/lib/_chunks/{dep-f6f5d8ab.js.map → dep-1599f0a8.js.map} +1 -1
- package/lib/_chunks/dep-1c0e13f0.js +189 -0
- package/lib/_chunks/dep-1c0e13f0.js.map +1 -0
- package/{es/_chunks/dep-222f3011.js → lib/_chunks/dep-2eeaa58b.js} +3 -3
- package/lib/_chunks/{dep-222f3011.js.map → dep-2eeaa58b.js.map} +1 -1
- package/{esm/_chunks/dep-24340815.js → lib/_chunks/dep-2f008905.js} +3 -3
- package/lib/_chunks/{dep-24340815.js.map → dep-2f008905.js.map} +1 -1
- package/lib/_chunks/{dep-0408250a.js → dep-3da59a88.js} +5 -5
- package/lib/_chunks/{dep-0408250a.js.map → dep-3da59a88.js.map} +1 -1
- package/lib/_chunks/{dep-ee70bc2c.js → dep-3f11cde6.js} +2 -2
- package/lib/_chunks/{dep-ee70bc2c.js.map → dep-3f11cde6.js.map} +1 -1
- package/lib/_chunks/{dep-41bdf3a7.js → dep-4250a6ff.js} +2 -2
- package/lib/_chunks/{dep-41bdf3a7.js.map → dep-4250a6ff.js.map} +1 -1
- package/lib/_chunks/{dep-18a13874.js → dep-4c6e8221.js} +3 -3
- package/lib/_chunks/{dep-18a13874.js.map → dep-4c6e8221.js.map} +1 -1
- package/lib/_chunks/{dep-e45cb572.js → dep-4fec9bd1.js} +3 -3
- package/lib/_chunks/{dep-e45cb572.js.map → dep-4fec9bd1.js.map} +1 -1
- package/lib/_chunks/{dep-e57e5828.js → dep-52c068bd.js} +5 -5
- package/lib/_chunks/{dep-e57e5828.js.map → dep-52c068bd.js.map} +1 -1
- package/lib/_chunks/{dep-ffc2cf12.js → dep-55f421f1.js} +12 -12
- package/lib/_chunks/{dep-ffc2cf12.js.map → dep-55f421f1.js.map} +1 -1
- package/lib/_chunks/{dep-22cad52a.js → dep-5a05d23d.js} +4 -4
- package/lib/_chunks/{dep-22cad52a.js.map → dep-5a05d23d.js.map} +1 -1
- package/lib/_chunks/{dep-3c1844a2.js → dep-5bf9b67f.js} +6 -6
- package/lib/_chunks/{dep-3c1844a2.js.map → dep-5bf9b67f.js.map} +1 -1
- package/lib/_chunks/dep-65c183dc.js +24 -0
- package/lib/_chunks/{dep-6d4c74ed.js.map → dep-65c183dc.js.map} +1 -1
- package/lib/_chunks/{dep-d056abc2.js → dep-6a5b1968.js} +2 -2
- package/lib/_chunks/{dep-d056abc2.js.map → dep-6a5b1968.js.map} +1 -1
- package/lib/_chunks/{dep-7500c6cf.js → dep-6b58dff4.js} +6 -6
- package/lib/_chunks/{dep-7500c6cf.js.map → dep-6b58dff4.js.map} +1 -1
- package/lib/_chunks/{dep-6e6249da.js → dep-748f57d4.js} +5 -5
- package/lib/_chunks/{dep-6e6249da.js.map → dep-748f57d4.js.map} +1 -1
- package/lib/_chunks/{dep-4b7d6550.js → dep-79cd2b4c.js} +5 -5
- package/lib/_chunks/{dep-4b7d6550.js.map → dep-79cd2b4c.js.map} +1 -1
- package/lib/_chunks/{dep-37d92e45.js → dep-7c923347.js} +8 -8
- package/lib/_chunks/{dep-37d92e45.js.map → dep-7c923347.js.map} +1 -1
- package/lib/_chunks/{dep-e07d5776.js → dep-8ee90a68.js} +3 -3
- package/lib/_chunks/{dep-e07d5776.js.map → dep-8ee90a68.js.map} +1 -1
- package/lib/_chunks/{dep-7cfd8084.js → dep-8feebb03.js} +3 -3
- package/lib/_chunks/{dep-7cfd8084.js.map → dep-8feebb03.js.map} +1 -1
- package/lib/_chunks/{dep-21b97e9f.js → dep-9ba235ac.js} +5 -5
- package/lib/_chunks/{dep-21b97e9f.js.map → dep-9ba235ac.js.map} +1 -1
- package/lib/_chunks/{dep-0d3baea9.js → dep-9bf1ae6b.js} +5 -5
- package/lib/_chunks/{dep-0d3baea9.js.map → dep-9bf1ae6b.js.map} +1 -1
- package/lib/_chunks/{dep-1ae4ec84.js → dep-9df99dbb.js} +4 -4
- package/lib/_chunks/{dep-1ae4ec84.js.map → dep-9df99dbb.js.map} +1 -1
- package/lib/_chunks/{dep-086ccf0a.js → dep-a04349e0.js} +4 -4
- package/lib/_chunks/{dep-086ccf0a.js.map → dep-a04349e0.js.map} +1 -1
- package/lib/_chunks/{dep-55fa7e41.js → dep-a573ca40.js} +9 -9
- package/lib/_chunks/{dep-55fa7e41.js.map → dep-a573ca40.js.map} +1 -1
- package/lib/_chunks/{dep-0ecefbbb.js → dep-a826f542.js} +3 -3
- package/lib/_chunks/{dep-0ecefbbb.js.map → dep-a826f542.js.map} +1 -1
- package/lib/_chunks/{dep-ebba70a3.js → dep-a9bd7f64.js} +7 -7
- package/lib/_chunks/{dep-ebba70a3.js.map → dep-a9bd7f64.js.map} +1 -1
- package/lib/_chunks/{dep-fc33357f.js → dep-abf83e45.js} +4 -4
- package/lib/_chunks/{dep-fc33357f.js.map → dep-abf83e45.js.map} +1 -1
- package/lib/_chunks/{dep-fea092d1.js → dep-c1308ed9.js} +2 -2
- package/lib/_chunks/{dep-fea092d1.js.map → dep-c1308ed9.js.map} +1 -1
- package/lib/_chunks/{dep-3b7115d6.js → dep-c57e4f2f.js} +3 -3
- package/lib/_chunks/{dep-3b7115d6.js.map → dep-c57e4f2f.js.map} +1 -1
- package/lib/_chunks/{dep-bb979172.js → dep-c6319c67.js} +2 -2
- package/lib/_chunks/{dep-bb979172.js.map → dep-c6319c67.js.map} +1 -1
- package/lib/_chunks/{dep-843d7b80.js → dep-cd28bcad.js} +5 -5
- package/lib/_chunks/{dep-843d7b80.js.map → dep-cd28bcad.js.map} +1 -1
- package/lib/_chunks/{dep-352c4cc5.js → dep-d5ea2e86.js} +4 -4
- package/lib/_chunks/{dep-352c4cc5.js.map → dep-d5ea2e86.js.map} +1 -1
- package/lib/_chunks/{dep-2a81ed9a.js → dep-ec7c70e8.js} +7 -7
- package/lib/_chunks/{dep-2a81ed9a.js.map → dep-ec7c70e8.js.map} +1 -1
- package/lib/_chunks/{dep-b05711f1.js → dep-efe7433b.js} +2 -2
- package/lib/_chunks/{dep-b05711f1.js.map → dep-efe7433b.js.map} +1 -1
- package/lib/_chunks/{dep-4d19a919.js → dep-f879eead.js} +3 -3
- package/lib/_chunks/{dep-4d19a919.js.map → dep-f879eead.js.map} +1 -1
- package/lib/_chunks/{dep-ad6ca60c.js → dep-fc7e0774.js} +87 -74
- package/lib/_chunks/dep-fc7e0774.js.map +1 -0
- package/lib/_common/js/common.js +1 -1
- package/lib/_common/js/tree/tree-node-model.js +18 -18
- package/lib/_common/js/tree/tree-node.js +23 -23
- package/lib/_common/js/tree/tree-store.d.ts +4 -0
- package/lib/_common/js/tree/tree-store.js +29 -29
- package/lib/_common/js/tree/types.js +1 -1
- package/lib/_type/ControlledProps.js +1 -1
- package/lib/_type/StyledProps.js +1 -1
- package/lib/_type/common.js +1 -1
- package/lib/_type/components/affix/index.js +1 -1
- package/lib/_type/components/alert/index.js +1 -1
- package/lib/_type/components/anchor/index.js +1 -1
- package/lib/_type/components/anchor-item/index.js +1 -1
- package/lib/_type/components/anchor-target/index.js +1 -1
- package/lib/_type/components/badge/index.js +1 -1
- package/lib/_type/components/breadcrumb/index.js +1 -1
- package/lib/_type/components/button/index.js +1 -1
- package/lib/_type/components/calendar/index.d.ts +5 -0
- package/lib/_type/components/calendar/index.js +1 -1
- package/lib/_type/components/cascader/index.js +1 -1
- package/lib/_type/components/checkbox/index.js +1 -1
- package/lib/_type/components/comment/index.js +1 -1
- package/lib/_type/components/date-picker/index.js +1 -1
- package/lib/_type/components/dialog/index.js +1 -1
- package/lib/_type/components/divider/index.js +1 -1
- package/lib/_type/components/drawer/index.js +1 -1
- package/lib/_type/components/dropdown/index.js +1 -1
- package/lib/_type/components/form/index.js +1 -1
- package/lib/_type/components/grid/index.js +1 -1
- package/lib/_type/components/icon/index.js +1 -1
- package/lib/_type/components/icon-svg/index.js +1 -1
- package/lib/_type/components/iconfont/index.js +1 -1
- package/lib/_type/components/input/index.js +1 -1
- package/lib/_type/components/input-number/index.js +1 -1
- package/lib/_type/components/layout/index.js +1 -1
- package/lib/_type/components/list/index.js +1 -1
- package/lib/_type/components/loading/index.js +1 -1
- package/lib/_type/components/menu/index.js +1 -1
- package/lib/_type/components/message/index.js +1 -1
- package/lib/_type/components/notification/index.js +1 -1
- package/lib/_type/components/pagination/index.js +1 -1
- package/lib/_type/components/popconfirm/index.js +1 -1
- package/lib/_type/components/popup/index.js +1 -1
- package/lib/_type/components/progress/index.js +1 -1
- package/lib/_type/components/radio/index.js +1 -1
- package/lib/_type/components/select/index.d.ts +62 -17
- package/lib/_type/components/select/index.js +1 -1
- package/lib/_type/components/slider/index.js +1 -1
- package/lib/_type/components/steps/index.js +1 -1
- package/lib/_type/components/swiper/index.js +1 -1
- package/lib/_type/components/switch/index.js +1 -1
- package/lib/_type/components/table/index.js +1 -1
- package/lib/_type/components/tabs/index.js +1 -1
- package/lib/_type/components/tag/index.d.ts +1 -1
- package/lib/_type/components/tag/index.js +1 -1
- package/lib/_type/components/textarea/index.js +1 -1
- package/lib/_type/components/time-picker/index.js +1 -1
- package/lib/_type/components/tooltip/index.js +1 -1
- package/lib/_type/components/transfer/index.js +1 -1
- package/lib/_type/components/tree/index.js +1 -1
- package/lib/_type/components/tree-select/index.d.ts +16 -3
- package/lib/_type/components/tree-select/index.js +1 -1
- package/lib/_type/components/upload/index.js +1 -1
- package/lib/_type/index.js +1 -1
- package/lib/_type/util.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 +1 -1
- package/lib/_util/useConfig.js +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 +1 -1
- package/lib/_util/useSetState.js +4 -4
- package/lib/_util/useUpdateEffect.js +1 -1
- package/lib/addon/Addon.js +3 -3
- package/lib/addon/index.js +3 -3
- package/lib/affix/Affix.js +11 -11
- package/lib/affix/index.js +11 -11
- package/lib/alert/Alert.js +5 -5
- package/lib/alert/index.js +5 -5
- package/lib/anchor/Anchor.js +22 -18
- package/lib/anchor/Anchor.js.map +1 -1
- package/lib/anchor/AnchorContext.js +1 -1
- package/lib/anchor/AnchorItem.js +2 -2
- package/lib/anchor/AnchorTarget.js +16 -4
- 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 +22 -18
- package/lib/anchor/index.js.map +1 -1
- package/lib/badge/Badge.js +3 -3
- package/lib/badge/index.js +3 -3
- package/lib/breadcrumb/Breadcrumb.js +3 -3
- package/lib/breadcrumb/BreadcrumbItem.js +3 -3
- package/lib/breadcrumb/BreadcrumbProps.js +1 -1
- package/lib/breadcrumb/index.js +3 -3
- package/lib/button/Button.js +13 -12
- package/lib/button/Button.js.map +1 -1
- package/lib/button/index.js +11 -11
- package/lib/calendar/Calendar.js +58 -35
- package/lib/calendar/Calendar.js.map +1 -1
- package/lib/calendar/_util.js +1 -1
- package/lib/calendar/_util.js.map +1 -1
- package/lib/calendar/index.js +27 -17
- package/lib/calendar/index.js.map +1 -1
- package/lib/cascader/Cascader.js +43 -36
- package/lib/cascader/Cascader.js.map +1 -1
- package/lib/cascader/components/InputContent.js +9 -9
- package/lib/cascader/components/Item.js +32 -17
- package/lib/cascader/components/Item.js.map +1 -1
- package/lib/cascader/components/Panel.js +29 -16
- package/lib/cascader/components/Panel.js.map +1 -1
- package/lib/cascader/index.js +43 -36
- package/lib/cascader/index.js.map +1 -1
- package/lib/cascader/interface.js +23 -23
- package/lib/cascader/utils/cascader.js +4 -4
- package/lib/cascader/utils/helper.js +2 -2
- package/lib/cascader/utils/inputContent.js +6 -6
- package/lib/cascader/utils/item.js +4 -4
- package/lib/cascader/utils/panel.js +9 -9
- package/lib/checkbox/Checkbox.js +21 -28
- package/lib/checkbox/Checkbox.js.map +1 -1
- package/lib/checkbox/CheckboxGroup.js +25 -96
- package/lib/checkbox/CheckboxGroup.js.map +1 -1
- package/lib/checkbox/index.js +18 -11
- package/lib/checkbox/index.js.map +1 -1
- package/lib/comment/Comment.js +1 -1
- package/lib/comment/index.js +1 -1
- package/lib/common/Check.js +16 -6
- package/lib/common/Check.js.map +1 -1
- package/lib/common/FakeArrow.js +2 -2
- package/lib/common/Portal.js +4 -4
- package/lib/config-provider/ConfigContext.d.ts +1 -0
- package/lib/config-provider/ConfigContext.js +1 -1
- package/lib/config-provider/ConfigProvider.js +3 -3
- package/lib/config-provider/index.js +3 -3
- package/lib/date-picker/DatePicker.js +27 -27
- package/lib/date-picker/base/CalendarPresets.js +11 -11
- package/lib/date-picker/base/Cell.js +2 -2
- package/lib/date-picker/base/Header.js +11 -11
- package/lib/date-picker/base/Table.js +4 -4
- package/lib/date-picker/index.js +27 -27
- package/lib/date-picker/panel/Date.js +23 -23
- package/lib/date-picker/panel/DateRange.js +23 -23
- package/lib/date-picker/utils.js +19 -19
- package/lib/dialog/Dialog.js +11 -11
- package/lib/dialog/RenderDialog.js +5 -5
- package/lib/dialog/index.js +11 -11
- package/lib/dialog/plugin.js +11 -11
- package/lib/divider/Divider.js +3 -3
- package/lib/divider/index.js +3 -3
- package/lib/drawer/Drawer.js +11 -11
- package/lib/drawer/DrawerWrapper.js +4 -4
- package/lib/drawer/_util.js +1 -1
- package/lib/drawer/index.js +11 -11
- package/lib/dropdown/Dropdown.js +6 -6
- package/lib/dropdown/DropdownItem.js +3 -3
- package/lib/dropdown/DropdownMenu.js +6 -6
- package/lib/dropdown/index.js +6 -6
- package/lib/form/Form.js +32 -33
- package/lib/form/Form.js.map +1 -1
- package/lib/form/FormContext.js +1 -1
- package/lib/form/FormItem.js +31 -32
- package/lib/form/FormItem.js.map +1 -1
- package/lib/form/formModel.js +25 -25
- package/lib/form/index.js +32 -33
- package/lib/form/index.js.map +1 -1
- package/lib/grid/Col.js +5 -5
- package/lib/grid/Row.js +7 -7
- package/lib/grid/index.js +7 -7
- package/lib/icon/type.js +1 -1
- package/lib/index.js +52 -49
- package/lib/index.js.map +1 -1
- package/lib/input/Input.js +9 -9
- package/lib/input/InputGroup.js +3 -3
- package/lib/input/index.js +9 -9
- package/lib/input-number/InputNumber.js +13 -13
- package/lib/input-number/StepHandler.js +11 -11
- package/lib/input-number/index.js +13 -13
- package/lib/input-number/utils/numberUtils.js +1 -1
- package/lib/layout/Layout.js +5 -5
- package/lib/layout/Sider.js +3 -3
- package/lib/layout/index.js +5 -5
- package/lib/list/List.js +20 -4
- package/lib/list/List.js.map +1 -1
- package/lib/list/ListItem.js +1 -1
- package/lib/list/ListItemMeta.js +1 -1
- package/lib/list/index.js +17 -3
- package/lib/list/index.js.map +1 -1
- package/lib/loading/index.js +10 -10
- package/lib/loading/loading.d.ts +1 -0
- package/lib/loading/loading.js +62 -15
- package/lib/loading/loading.js.map +1 -1
- package/lib/locale/LocalReceiver.js +2 -2
- package/lib/locale/type.js +1 -1
- package/lib/locale/zh_CN.d.ts +1 -0
- package/lib/locale/zh_CN.js +2 -1
- package/lib/locale/zh_CN.js.map +1 -1
- package/lib/menu/HeadMenu.js +7 -7
- package/lib/menu/Menu.js +7 -7
- package/lib/menu/MenuContext.js +1 -1
- package/lib/menu/MenuGroup.js +1 -1
- package/lib/menu/MenuItem.js +2 -2
- package/lib/menu/SubMenu.js +4 -4
- 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 +7 -7
- package/lib/message/Message.js +16 -4
- package/lib/message/Message.js.map +1 -1
- package/lib/message/MessageClose.js +1 -1
- package/lib/message/MessageComponent.js +17 -4
- package/lib/message/MessageComponent.js.map +1 -1
- package/lib/message/MessageIcon.js +30 -3
- package/lib/message/MessageIcon.js.map +1 -1
- package/lib/message/const.js +1 -1
- package/lib/message/index.js +16 -4
- package/lib/message/index.js.map +1 -1
- package/lib/message/useMessageClass.js +1 -1
- package/lib/notification/Notification.js +7 -7
- package/lib/notification/NotificationList.js +7 -7
- package/lib/notification/index.js +7 -7
- package/lib/pagination/Pagination.js +29 -16
- package/lib/pagination/Pagination.js.map +1 -1
- package/lib/pagination/index.js +29 -16
- package/lib/pagination/index.js.map +1 -1
- package/lib/pagination/validators.js +1 -1
- package/lib/popconfirm/PopConfirm.js +12 -12
- package/lib/popconfirm/PopContent.js +11 -11
- package/lib/popconfirm/index.js +12 -12
- package/lib/popup/Popup.js +4 -4
- package/lib/popup/Portal.js +1 -1
- package/lib/popup/index.js +4 -4
- package/lib/popup/useTriggerProps.js +1 -1
- package/lib/progress/Progress.js +3 -3
- package/lib/progress/index.js +3 -3
- package/lib/radio/Radio.js +16 -6
- package/lib/radio/Radio.js.map +1 -1
- package/lib/radio/RadioGroup.js +16 -6
- package/lib/radio/RadioGroup.js.map +1 -1
- package/lib/radio/index.js +16 -6
- package/lib/radio/index.js.map +1 -1
- package/lib/select/base/Option.d.ts +5 -2
- package/lib/select/base/Option.js +40 -28
- package/lib/select/base/Option.js.map +1 -1
- package/lib/select/base/OptionGroup.d.ts +1 -0
- package/lib/select/base/OptionGroup.js +6 -4
- package/lib/select/base/OptionGroup.js.map +1 -1
- package/lib/select/base/PopupContent.d.ts +2 -1
- package/lib/select/base/PopupContent.js +57 -19
- package/lib/select/base/PopupContent.js.map +1 -1
- package/lib/select/base/Select.d.ts +2 -1
- package/lib/select/base/Select.js +112 -71
- package/lib/select/base/Select.js.map +1 -1
- package/lib/select/index.js +30 -17
- package/lib/select/index.js.map +1 -1
- package/lib/select/util/helper.d.ts +4 -5
- package/lib/select/util/helper.js +15 -26
- package/lib/select/util/helper.js.map +1 -1
- package/lib/slider/Slider.js +13 -13
- package/lib/slider/SliderHandleButton.js +6 -6
- package/lib/slider/index.js +13 -13
- package/lib/slider/utils/handleNumber.js +1 -1
- package/lib/steps/StepItem.js +2 -2
- package/lib/steps/Steps.js +2 -2
- package/lib/steps/StepsContext.js +1 -1
- package/lib/steps/index.js +2 -2
- package/lib/swiper/Swiper.js +4 -4
- package/lib/swiper/SwiperItem.js +1 -1
- package/lib/swiper/index.js +4 -4
- package/lib/switch/Switch.js +22 -7
- package/lib/switch/Switch.js.map +1 -1
- package/lib/switch/index.js +18 -6
- package/lib/switch/index.js.map +1 -1
- package/lib/table/base/Table.js +27 -27
- package/lib/table/base/TableAsyncLoadingBody.js +12 -12
- package/lib/table/base/TableBody.js +17 -17
- package/lib/table/base/TableCell.js +4 -4
- package/lib/table/base/TableColGroup.js +1 -1
- package/lib/table/base/TableContext.js +1 -1
- package/lib/table/base/TableEmptyBody.js +1 -1
- package/lib/table/base/TableFooter.js +1 -1
- package/lib/table/base/TableHeader.js +10 -10
- package/lib/table/base/TableLoadingBody.js +5 -5
- package/lib/table/base/TableRow.js +17 -17
- package/lib/table/hooks/useColumns.js +4 -4
- package/lib/table/index.js +37 -34
- package/lib/table/index.js.map +1 -1
- package/lib/table/primary/FilterButton.js +22 -16
- package/lib/table/primary/FilterButton.js.map +1 -1
- package/lib/table/primary/SorterButton.js +6 -6
- package/lib/table/primary/Table.js +37 -34
- package/lib/table/primary/Table.js.map +1 -1
- package/lib/table/primary/expand-box.js +2 -2
- package/lib/table/primary/useExpand.js +17 -17
- package/lib/table/primary/useFilter.js +22 -16
- package/lib/table/primary/useFilter.js.map +1 -1
- package/lib/table/primary/useSelect.js +22 -15
- package/lib/table/primary/useSelect.js.map +1 -1
- package/lib/table/primary/useSorter.js +18 -18
- package/lib/table/util/getRowKeyFromRowKey.js +1 -1
- package/lib/table/util/index.js +1 -1
- package/lib/tabs/TabBar.js +4 -4
- package/lib/tabs/TabNav.js +4 -4
- package/lib/tabs/TabNavItem.js +1 -1
- package/lib/tabs/TabPanel.js +1 -1
- package/lib/tabs/Tabs.js +4 -4
- package/lib/tabs/index.js +4 -4
- package/lib/tabs/useTabClass.js +1 -1
- package/lib/tag/CheckTag.js +14 -8
- package/lib/tag/CheckTag.js.map +1 -1
- package/lib/tag/Tag.js +7 -6
- package/lib/tag/Tag.js.map +1 -1
- package/lib/tag/index.js +5 -5
- package/lib/textarea/Textarea.js +5 -5
- package/lib/textarea/index.js +5 -5
- package/lib/time-picker/InputItems.js +17 -17
- package/lib/time-picker/TimePicker.js +27 -27
- package/lib/time-picker/TimeRangePicker.js +27 -27
- package/lib/time-picker/consts.js +4 -4
- package/lib/time-picker/index.js +27 -27
- package/lib/time-picker/interfaces.js +1 -1
- package/lib/time-picker/panel/SinglePanel.js +23 -23
- package/lib/time-picker/panel/TimePickerPanel.js +26 -26
- package/lib/time-picker/panel/TimePickerRangePanel.js +26 -26
- package/lib/tooltip/Tooltip.js +6 -6
- package/lib/tooltip/index.js +6 -6
- package/lib/tree/Tree.d.ts +1 -2
- package/lib/tree/Tree.js +44 -35
- package/lib/tree/Tree.js.map +1 -1
- package/lib/tree/TreeItem.js +29 -14
- package/lib/tree/TreeItem.js.map +1 -1
- package/lib/tree/index.js +44 -35
- package/lib/tree/index.js.map +1 -1
- package/lib/tree/interface.js +1 -1
- package/lib/tree/useControllable.js +3 -3
- package/lib/tree/useStore.js +30 -30
- package/lib/tree/useTreeConfig.js +1 -1
- package/lib/tree-select/TreeSelect.js +95 -189
- package/lib/tree-select/TreeSelect.js.map +1 -1
- package/lib/tree-select/TreeSelectInput.d.ts +11 -0
- package/lib/tree-select/TreeSelectInput.js +130 -0
- package/lib/tree-select/TreeSelectInput.js.map +1 -0
- package/lib/tree-select/TreeSelectSuffix.d.ts +9 -0
- package/lib/tree-select/TreeSelectSuffix.js +76 -0
- package/lib/tree-select/TreeSelectSuffix.js.map +1 -0
- package/lib/tree-select/TreeSelectTags.d.ts +6 -0
- package/lib/tree-select/TreeSelectTags.js +77 -0
- package/lib/tree-select/TreeSelectTags.js.map +1 -0
- package/lib/tree-select/index.js +57 -46
- package/lib/tree-select/index.js.map +1 -1
- package/lib/tree-select/useTreeSelectConfig.d.ts +10 -0
- package/lib/tree-select/useTreeSelectConfig.js +50 -0
- package/lib/tree-select/useTreeSelectConfig.js.map +1 -0
- package/lib/upload/dragger.js +12 -12
- package/lib/upload/hooks/useDefaultValue.js +6 -6
- package/lib/upload/index.js +21 -21
- package/lib/upload/themes/dragger-progress.js +12 -12
- package/lib/upload/themes/image-card.js +12 -12
- package/lib/upload/themes/single-file.js +10 -10
- package/lib/upload/tips.js +1 -1
- package/lib/upload/types.js +1 -1
- package/lib/upload/upload-trigger.js +11 -11
- package/lib/upload/upload.js +21 -21
- package/lib/upload/util.js +3 -3
- package/lib/upload/utils/request.js +1 -1
- package/package.json +2 -2
- package/cjs/_chunks/dep-8c1b656d.js.map +0 -1
- package/es/_chunks/dep-66287469.js +0 -8
- package/es/_chunks/dep-66287469.js.map +0 -1
- package/es/_chunks/dep-9052d175.js.map +0 -1
- package/es/_chunks/dep-99336593.js.map +0 -1
- package/es/_chunks/dep-c4d6268b.js +0 -8
- package/es/_chunks/dep-c4d6268b.js.map +0 -1
- package/es/_chunks/dep-c7c70ac0.js +0 -8
- package/es/_chunks/dep-c7c70ac0.js.map +0 -1
- package/esm/_chunks/dep-66287469.js +0 -8
- package/esm/_chunks/dep-66287469.js.map +0 -1
- package/esm/_chunks/dep-9052d175.js.map +0 -1
- package/esm/_chunks/dep-99336593.js.map +0 -1
- package/esm/_chunks/dep-c4d6268b.js +0 -8
- package/esm/_chunks/dep-c4d6268b.js.map +0 -1
- package/esm/_chunks/dep-c7c70ac0.js +0 -8
- package/esm/_chunks/dep-c7c70ac0.js.map +0 -1
- package/lib/_chunks/dep-45dee455.js +0 -24
- package/lib/_chunks/dep-6d4c74ed.js +0 -24
- package/lib/_chunks/dep-ad6ca60c.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-65c183dc.js","sources":["../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}"],"names":["_typeof","obj","Symbol","iterator","constructor","prototype"],"mappings":";;;;;;AAAe,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;AACnC;;AAEA,MAAI,OAAOC,MAAP,KAAkB,UAAlB,IAAgC,OAAOA,MAAM,CAACC,QAAd,KAA2B,QAA/D,EAAyE;AACvEH,IAAAA,OAAO,GAAG,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;AAC9B,aAAO,OAAOA,GAAd;AACD,KAFD;AAGD,GAJD,MAIO;AACLD,IAAAA,OAAO,GAAG,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;AAC9B,aAAOA,GAAG,IAAI,OAAOC,MAAP,KAAkB,UAAzB,IAAuCD,GAAG,CAACG,WAAJ,KAAoBF,MAA3D,IAAqED,GAAG,KAAKC,MAAM,CAACG,SAApF,GAAgG,QAAhG,GAA2G,OAAOJ,GAAzH;AACD,KAFD;AAGD;;AAED,SAAOD,OAAO,CAACC,GAAD,CAAd;AACD;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.18.
|
|
2
|
+
* tdesign v0.18.2
|
|
3
3
|
* (c) 2021 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -24,4 +24,4 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export { _unsupportedIterableToArray as _, _arrayLikeToArray as a };
|
|
27
|
-
//# sourceMappingURL=dep-
|
|
27
|
+
//# sourceMappingURL=dep-6a5b1968.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-6a5b1968.js","sources":["../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"],"sourcesContent":["export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}"],"names":["_arrayLikeToArray","arr","len","length","i","arr2","Array","_unsupportedIterableToArray","o","minLen","arrayLikeToArray","n","Object","prototype","toString","call","slice","constructor","name","from","test"],"mappings":";;;;;;AAAe,SAASA,iBAAT,CAA2BC,GAA3B,EAAgCC,GAAhC,EAAqC;AAClD,MAAIA,GAAG,IAAI,IAAP,IAAeA,GAAG,GAAGD,GAAG,CAACE,MAA7B,EAAqCD,GAAG,GAAGD,GAAG,CAACE,MAAV;;AAErC,OAAK,IAAIC,CAAC,GAAG,CAAR,EAAWC,IAAI,GAAG,IAAIC,KAAJ,CAAUJ,GAAV,CAAvB,EAAuCE,CAAC,GAAGF,GAA3C,EAAgDE,CAAC,EAAjD,EAAqD;AACnDC,IAAAA,IAAI,CAACD,CAAD,CAAJ,GAAUH,GAAG,CAACG,CAAD,CAAb;AACD;;AAED,SAAOC,IAAP;AACD;;ACPc,SAASE,2BAAT,CAAqCC,CAArC,EAAwCC,MAAxC,EAAgD;AAC7D,MAAI,CAACD,CAAL,EAAQ;AACR,MAAI,OAAOA,CAAP,KAAa,QAAjB,EAA2B,OAAOE,iBAAgB,CAACF,CAAD,EAAIC,MAAJ,CAAvB;AAC3B,MAAIE,CAAC,GAAGC,MAAM,CAACC,SAAP,CAAiBC,QAAjB,CAA0BC,IAA1B,CAA+BP,CAA/B,EAAkCQ,KAAlC,CAAwC,CAAxC,EAA2C,CAAC,CAA5C,CAAR;AACA,MAAIL,CAAC,KAAK,QAAN,IAAkBH,CAAC,CAACS,WAAxB,EAAqCN,CAAC,GAAGH,CAAC,CAACS,WAAF,CAAcC,IAAlB;AACrC,MAAIP,CAAC,KAAK,KAAN,IAAeA,CAAC,KAAK,KAAzB,EAAgC,OAAOL,KAAK,CAACa,IAAN,CAAWX,CAAX,CAAP;AAChC,MAAIG,CAAC,KAAK,WAAN,IAAqB,2CAA2CS,IAA3C,CAAgDT,CAAhD,CAAzB,EAA6E,OAAOD,iBAAgB,CAACF,CAAD,EAAIC,MAAJ,CAAvB;AAC9E;;;;"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.18.
|
|
2
|
+
* tdesign v0.18.2
|
|
3
3
|
* (c) 2021 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { _ as _typeof } from './dep-
|
|
8
|
-
import { _ as _slicedToArray } from './dep-
|
|
7
|
+
import { _ as _typeof } from './dep-65c183dc.js';
|
|
8
|
+
import { _ as _slicedToArray } from './dep-2f008905.js';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
import { CheckCircleFilledIcon, InfoCircleFilledIcon, CloseIcon } from 'tdesign-icons-react';
|
|
11
11
|
import noop from '../_util/noop.js';
|
|
12
12
|
import useConfig from '../_util/useConfig.js';
|
|
13
|
-
import { _ as _defineProperty } from './dep-
|
|
14
|
-
import { _ as _toConsumableArray } from './dep-
|
|
13
|
+
import { _ as _defineProperty } from './dep-efe7433b.js';
|
|
14
|
+
import { _ as _toConsumableArray } from './dep-2eeaa58b.js';
|
|
15
15
|
import * as ReactDOM from 'react-dom';
|
|
16
16
|
|
|
17
17
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -378,4 +378,4 @@ Notification.closeAll = function () {
|
|
|
378
378
|
};
|
|
379
379
|
|
|
380
380
|
export { Notification as N, NotificationComponent as a, fetchListInstance as f, listMap as l };
|
|
381
|
-
//# sourceMappingURL=dep-
|
|
381
|
+
//# sourceMappingURL=dep-6b58dff4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-7500c6cf.js","sources":["../../src/notification/NotificationList.tsx","../../src/notification/Notification.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport useConfig from '../_util/useConfig';\nimport {\n NotificationInfoOptions,\n NotificationInstance,\n NotificationPlacementList,\n NotificationThemeList,\n TdNotificationProps,\n} from '../_type/components/notification';\nimport { Styles } from '../_type/common';\nimport noop from '../_util/noop';\nimport { NotificationComponent } from './Notification';\n\ninterface NotificationListInstance extends TdNotificationProps {\n push: (theme: NotificationThemeList, options: NotificationInfoOptions) => Promise<NotificationInstance>;\n remove: (key: string) => void;\n removeAll: () => void;\n}\n\ninterface NotificationListOpenOption extends NotificationInfoOptions {\n key: string;\n theme: NotificationThemeList;\n style: Styles;\n}\n\ninterface NotificationListProps {\n attach: HTMLElement;\n zIndex: number;\n placement: NotificationPlacementList;\n}\n\ntype NotificationRef = React.RefObject<React.ElementRef<'div'>> & React.RefObject<NotificationInstance>;\n\nlet seed = 0;\n\nexport const listMap: Map<NotificationPlacementList, NotificationListInstance> = new Map();\n\nconst NotificationList = React.forwardRef<NotificationListInstance, NotificationListProps>((props, ref) => {\n const { attach, placement, zIndex } = props;\n const { classPrefix } = useConfig();\n const [list, dispatchList] = React.useReducer(\n (\n state: NotificationListOpenOption[],\n action: {\n type: string;\n key?: string;\n value?: NotificationListOpenOption;\n },\n ) => {\n switch (action.type) {\n case 'push':\n return [...state, action.value];\n case 'remove':\n return state.filter((item) => item.key !== action.key).map((item) => item);\n case 'removeAll':\n return [];\n default:\n return state;\n }\n },\n [],\n );\n const notificationMap = React.useMemo<Map<string, NotificationRef>>(() => new Map(), []);\n\n const remove = React.useCallback(\n (key: string): void => {\n dispatchList({ type: 'remove', key });\n notificationMap.delete(key);\n },\n [notificationMap],\n );\n\n const calOffset = (offset: string | number) => {\n if (!offset) return '16px';\n return isNaN(Number(offset)) ? offset : `${offset}px`;\n };\n /* eslint-disable implicit-arrow-linebreak */\n const push = React.useCallback(\n (theme: NotificationThemeList, options: NotificationInfoOptions): Promise<NotificationInstance> =>\n new Promise((resolve) => {\n const key = String((seed += 1));\n const style: React.CSSProperties = (() => {\n if (Array.isArray(options.offset)) {\n const [horizontal, vertical] = [...options.offset];\n const horizontalOffset = calOffset(horizontal);\n const verticalOffset = calOffset(vertical);\n\n return {\n marginTop: verticalOffset,\n marginBottom: verticalOffset,\n marginLeft: horizontalOffset,\n marginRight: horizontalOffset,\n };\n }\n return {\n margin: '16px',\n };\n })();\n notificationMap.set(key, React.createRef());\n dispatchList({ type: 'push', value: { ...options, key, theme, style } });\n notificationMap.get(key).current.close = () => {\n remove(key);\n };\n resolve(notificationMap.get(key).current);\n }),\n [notificationMap, remove],\n );\n\n const removeAll = React.useCallback(() => {\n dispatchList({ type: 'removeAll' });\n notificationMap.clear();\n }, [notificationMap]);\n\n React.useImperativeHandle(ref, () => ({\n push,\n remove,\n removeAll,\n }));\n\n React.useEffect(() => {\n if (list.length === 0 && notificationMap.size === 0) {\n listMap.delete(placement);\n ReactDOM.unmountComponentAtNode(attach);\n attach.remove();\n }\n }, [list, attach, placement, notificationMap]);\n\n return (\n <div className={`${classPrefix}-notification__show--${placement}`} style={{ zIndex }}>\n {list.map((props) => {\n const { onDurationEnd = noop, onCloseBtnClick = noop } = props;\n\n return (\n <NotificationComponent\n theme={'warning'}\n ref={notificationMap.get(props.key)}\n key={props.key}\n {...props}\n onDurationEnd={() => {\n remove(props.key);\n onDurationEnd();\n }}\n onCloseBtnClick={(e) => {\n remove(props.key);\n onCloseBtnClick(e);\n }}\n />\n );\n })}\n </div>\n );\n});\n\nexport const fetchListInstance = (\n placement: NotificationPlacementList,\n attach: HTMLElement,\n zIndex: number,\n): Promise<NotificationListInstance> =>\n new Promise((resolve) => {\n if (listMap.has(placement)) {\n resolve(listMap.get(placement));\n } else {\n let hasExec = false;\n ReactDOM.render(\n <NotificationList\n attach={attach}\n placement={placement}\n zIndex={Number(zIndex)}\n ref={(instance) => {\n if (!hasExec) {\n hasExec = true;\n listMap.set(placement, instance);\n resolve(instance);\n }\n }}\n />,\n attach,\n );\n }\n });\n","import * as React from 'react';\nimport { CloseIcon, InfoCircleFilledIcon, CheckCircleFilledIcon } from 'tdesign-icons-react';\nimport noop from '../_util/noop';\nimport useConfig from '../_util/useConfig';\n\nimport {\n NotificationCloseMethod,\n NotificationErrorMethod,\n NotificationInfoMethod,\n NotificationSuccessMethod,\n NotificationWarningMethod,\n TdNotificationProps,\n NotificationThemeList,\n NotificationInfoOptions,\n NotificationInstance,\n NotificationPlacementList,\n NotificationCloseAllMethod,\n} from '../_type/components/notification';\nimport { Styles } from '../_type/common';\nimport { fetchListInstance, listMap } from './NotificationList';\n\nconst blockName = 'notification';\n\n// 扩展接口声明的结构,用户使用时可得到 .info 的 ts 提示\ninterface Notification extends React.FC<TdNotificationProps> {\n info: NotificationInfoMethod;\n success: NotificationSuccessMethod;\n warning: NotificationWarningMethod;\n error: NotificationErrorMethod;\n closeAll: NotificationCloseAllMethod;\n close: NotificationCloseMethod;\n}\n\ninterface NotificationProps extends TdNotificationProps {\n style?: Styles;\n}\n\nexport const NotificationComponent = React.forwardRef<any, NotificationProps>((props, ref) => {\n const {\n title = null,\n content = null,\n theme = null,\n icon = null,\n closeBtn,\n footer = null,\n duration = 3000,\n onCloseBtnClick = noop,\n onDurationEnd = noop,\n style,\n } = props;\n\n const { classPrefix } = useConfig();\n const prefixCls = React.useCallback(\n (...args: (string | [string, string?, string?])[]) => {\n let className = '';\n args.forEach((item, index) => {\n if (item && index > 0) className = className.concat(' ');\n if (item instanceof Array) {\n const [block, element, modifier] = item;\n className = className.concat(classPrefix, '-', block);\n if (element) className = className.concat('__', element);\n if (modifier) className = className.concat('--', modifier);\n } else if (typeof item === 'string') {\n className = className.concat(classPrefix, '-', item);\n }\n });\n return className;\n },\n [classPrefix],\n );\n\n React.useImperativeHandle(ref as React.Ref<NotificationInstance>, () => ({ close }), []);\n\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(() => {\n let timer;\n if (duration > 0) {\n timer = setTimeout(() => {\n clearTimeout(timer);\n onDurationEnd();\n }, duration);\n }\n return () => {\n if (timer) clearTimeout(timer);\n };\n }, []);\n\n const renderIcon = () => {\n const IconWrapper = ({ children }) => <div className={`${classPrefix}-notification__icon`}>{children}</div>;\n if (theme && theme === 'success') {\n return (\n <IconWrapper>\n <CheckCircleFilledIcon className={prefixCls('is-success')} />\n </IconWrapper>\n );\n }\n if (theme && ['info', 'warning', 'error'].indexOf(theme) >= 0) {\n return (\n <IconWrapper>\n <InfoCircleFilledIcon className={prefixCls(`is-${theme}`)} />\n </IconWrapper>\n );\n }\n if (React.isValidElement(icon)) return icon;\n return null;\n };\n\n return (\n <div ref={ref} className={prefixCls(blockName)} style={style}>\n {renderIcon()}\n <div className={prefixCls([blockName, 'main'])}>\n <div className={prefixCls([blockName, 'title__wrap'])}>\n <span className={prefixCls([blockName, 'title'])}>{title}</span>\n {((): React.ReactNode => {\n if (typeof closeBtn === 'boolean' && closeBtn) {\n return (\n <CloseIcon\n className={prefixCls('icon-close')}\n onClick={(e) => {\n onCloseBtnClick({ e });\n }}\n />\n );\n }\n if (React.isValidElement(closeBtn)) {\n return (\n <div\n onClick={(e) => {\n onCloseBtnClick({ e });\n }}\n >\n {closeBtn}\n </div>\n );\n }\n return null;\n })()}\n </div>\n {((): React.ReactNode => {\n if (typeof content === 'string') {\n return <div className={prefixCls([blockName, 'content'])}>{content}</div>;\n }\n if (React.isValidElement(content)) return content;\n return null;\n })()}\n {React.isValidElement(footer) && <div className={prefixCls([blockName, 'detail'])}>{footer}</div>}\n {typeof footer === 'function' && <div className={prefixCls([blockName, 'detail'])}>{footer()}</div>}\n </div>\n </div>\n );\n});\n\n/**\n * @author kenzyyang\n * @date 2021-05-30 22:54:39\n * @desc 函数调用时的渲染函数\n * @param theme 主题类型\n * @param options 通知的参数\n */\nconst renderNotification = (theme: NotificationThemeList, options: NotificationInfoOptions) => {\n if (typeof options !== 'object') return;\n\n const placement: NotificationPlacementList = (() => {\n if (['top-left', 'top-right', 'bottom-left', 'bottom-right'].indexOf(options.placement) >= 0) {\n return options.placement;\n }\n return 'top-right';\n })();\n\n const attach: HTMLElement = (() => {\n if (options.attach && typeof options.attach === 'string') {\n const element: Element = document.querySelector(options.attach);\n if (element instanceof HTMLElement) return element;\n }\n\n if (options.attach instanceof HTMLElement) return options.attach;\n\n const containerId = `tdesign-notification-${placement}`;\n const container = document.querySelector(`#${containerId}`);\n if (container && container instanceof HTMLElement) {\n return container;\n }\n\n const element: HTMLDivElement = document.createElement('div');\n element.setAttribute('id', containerId);\n document.body.appendChild(element);\n return element;\n })();\n\n const zIndex = options.zIndex || 6000;\n\n return fetchListInstance(placement, attach, zIndex).then((listInstance) => listInstance.push(theme, options));\n};\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nconst Notification: Notification = NotificationComponent;\n\n['info', 'success', 'warning', 'error'].forEach((theme: NotificationThemeList) => {\n Notification[theme] = (options) => renderNotification(theme, options);\n});\n\nNotification.close = (promise) => promise.then((instance) => instance.close());\n\nNotification.closeAll = () => listMap.forEach((list) => list.removeAll());\n\nexport default Notification;\n"],"names":["seed","listMap","Map","NotificationList","React","forwardRef","props","ref","attach","placement","zIndex","useConfig","classPrefix","useReducer","state","action","type","value","filter","item","key","map","list","dispatchList","notificationMap","useMemo","remove","useCallback","calOffset","offset","isNaN","Number","push","theme","options","Promise","resolve","String","style","Array","isArray","horizontal","vertical","horizontalOffset","verticalOffset","marginTop","marginBottom","marginLeft","marginRight","margin","set","createRef","get","current","close","removeAll","clear","useImperativeHandle","useEffect","length","size","unmountComponentAtNode","className","props2","onDurationEnd","noop","onCloseBtnClick","NotificationComponent","e","fetchListInstance","has","hasExec","render","instance","blockName","title","content","icon","closeBtn","footer","duration","prefixCls","args","forEach","index","concat","block","element","modifier","timer","setTimeout","renderIcon","IconWrapper","children","CheckCircleFilledIcon","indexOf","InfoCircleFilledIcon","isValidElement","CloseIcon","onClick","renderNotification","element2","document","querySelector","HTMLElement","containerId","container","createElement","setAttribute","body","appendChild","then","listInstance","Notification","promise","closeAll"],"mappings":";;;;;;;;;;;;;;;;;;;AAkCA,IAAIA,OAAO,CAA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;AAAA,WAAUA,KAAKiC,SAAL,EAAV;AAAA,GAAhB,CAAN;AAAA,CAAxB;;;;"}
|
|
1
|
+
{"version":3,"file":"dep-6b58dff4.js","sources":["../../src/notification/NotificationList.tsx","../../src/notification/Notification.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport useConfig from '../_util/useConfig';\nimport {\n NotificationInfoOptions,\n NotificationInstance,\n NotificationPlacementList,\n NotificationThemeList,\n TdNotificationProps,\n} from '../_type/components/notification';\nimport { Styles } from '../_type/common';\nimport noop from '../_util/noop';\nimport { NotificationComponent } from './Notification';\n\ninterface NotificationListInstance extends TdNotificationProps {\n push: (theme: NotificationThemeList, options: NotificationInfoOptions) => Promise<NotificationInstance>;\n remove: (key: string) => void;\n removeAll: () => void;\n}\n\ninterface NotificationListOpenOption extends NotificationInfoOptions {\n key: string;\n theme: NotificationThemeList;\n style: Styles;\n}\n\ninterface NotificationListProps {\n attach: HTMLElement;\n zIndex: number;\n placement: NotificationPlacementList;\n}\n\ntype NotificationRef = React.RefObject<React.ElementRef<'div'>> & React.RefObject<NotificationInstance>;\n\nlet seed = 0;\n\nexport const listMap: Map<NotificationPlacementList, NotificationListInstance> = new Map();\n\nconst NotificationList = React.forwardRef<NotificationListInstance, NotificationListProps>((props, ref) => {\n const { attach, placement, zIndex } = props;\n const { classPrefix } = useConfig();\n const [list, dispatchList] = React.useReducer(\n (\n state: NotificationListOpenOption[],\n action: {\n type: string;\n key?: string;\n value?: NotificationListOpenOption;\n },\n ) => {\n switch (action.type) {\n case 'push':\n return [...state, action.value];\n case 'remove':\n return state.filter((item) => item.key !== action.key).map((item) => item);\n case 'removeAll':\n return [];\n default:\n return state;\n }\n },\n [],\n );\n const notificationMap = React.useMemo<Map<string, NotificationRef>>(() => new Map(), []);\n\n const remove = React.useCallback(\n (key: string): void => {\n dispatchList({ type: 'remove', key });\n notificationMap.delete(key);\n },\n [notificationMap],\n );\n\n const calOffset = (offset: string | number) => {\n if (!offset) return '16px';\n return isNaN(Number(offset)) ? offset : `${offset}px`;\n };\n /* eslint-disable implicit-arrow-linebreak */\n const push = React.useCallback(\n (theme: NotificationThemeList, options: NotificationInfoOptions): Promise<NotificationInstance> =>\n new Promise((resolve) => {\n const key = String((seed += 1));\n const style: React.CSSProperties = (() => {\n if (Array.isArray(options.offset)) {\n const [horizontal, vertical] = [...options.offset];\n const horizontalOffset = calOffset(horizontal);\n const verticalOffset = calOffset(vertical);\n\n return {\n marginTop: verticalOffset,\n marginBottom: verticalOffset,\n marginLeft: horizontalOffset,\n marginRight: horizontalOffset,\n };\n }\n return {\n margin: '16px',\n };\n })();\n notificationMap.set(key, React.createRef());\n dispatchList({ type: 'push', value: { ...options, key, theme, style } });\n notificationMap.get(key).current.close = () => {\n remove(key);\n };\n resolve(notificationMap.get(key).current);\n }),\n [notificationMap, remove],\n );\n\n const removeAll = React.useCallback(() => {\n dispatchList({ type: 'removeAll' });\n notificationMap.clear();\n }, [notificationMap]);\n\n React.useImperativeHandle(ref, () => ({\n push,\n remove,\n removeAll,\n }));\n\n React.useEffect(() => {\n if (list.length === 0 && notificationMap.size === 0) {\n listMap.delete(placement);\n ReactDOM.unmountComponentAtNode(attach);\n attach.remove();\n }\n }, [list, attach, placement, notificationMap]);\n\n return (\n <div className={`${classPrefix}-notification__show--${placement}`} style={{ zIndex }}>\n {list.map((props) => {\n const { onDurationEnd = noop, onCloseBtnClick = noop } = props;\n\n return (\n <NotificationComponent\n theme={'warning'}\n ref={notificationMap.get(props.key)}\n key={props.key}\n {...props}\n onDurationEnd={() => {\n remove(props.key);\n onDurationEnd();\n }}\n onCloseBtnClick={(e) => {\n remove(props.key);\n onCloseBtnClick(e);\n }}\n />\n );\n })}\n </div>\n );\n});\n\nexport const fetchListInstance = (\n placement: NotificationPlacementList,\n attach: HTMLElement,\n zIndex: number,\n): Promise<NotificationListInstance> =>\n new Promise((resolve) => {\n if (listMap.has(placement)) {\n resolve(listMap.get(placement));\n } else {\n let hasExec = false;\n ReactDOM.render(\n <NotificationList\n attach={attach}\n placement={placement}\n zIndex={Number(zIndex)}\n ref={(instance) => {\n if (!hasExec) {\n hasExec = true;\n listMap.set(placement, instance);\n resolve(instance);\n }\n }}\n />,\n attach,\n );\n }\n });\n","import * as React from 'react';\nimport { CloseIcon, InfoCircleFilledIcon, CheckCircleFilledIcon } from 'tdesign-icons-react';\nimport noop from '../_util/noop';\nimport useConfig from '../_util/useConfig';\n\nimport {\n NotificationCloseMethod,\n NotificationErrorMethod,\n NotificationInfoMethod,\n NotificationSuccessMethod,\n NotificationWarningMethod,\n TdNotificationProps,\n NotificationThemeList,\n NotificationInfoOptions,\n NotificationInstance,\n NotificationPlacementList,\n NotificationCloseAllMethod,\n} from '../_type/components/notification';\nimport { Styles } from '../_type/common';\nimport { fetchListInstance, listMap } from './NotificationList';\n\nconst blockName = 'notification';\n\n// 扩展接口声明的结构,用户使用时可得到 .info 的 ts 提示\ninterface Notification extends React.FC<TdNotificationProps> {\n info: NotificationInfoMethod;\n success: NotificationSuccessMethod;\n warning: NotificationWarningMethod;\n error: NotificationErrorMethod;\n closeAll: NotificationCloseAllMethod;\n close: NotificationCloseMethod;\n}\n\ninterface NotificationProps extends TdNotificationProps {\n style?: Styles;\n}\n\nexport const NotificationComponent = React.forwardRef<any, NotificationProps>((props, ref) => {\n const {\n title = null,\n content = null,\n theme = null,\n icon = null,\n closeBtn,\n footer = null,\n duration = 3000,\n onCloseBtnClick = noop,\n onDurationEnd = noop,\n style,\n } = props;\n\n const { classPrefix } = useConfig();\n const prefixCls = React.useCallback(\n (...args: (string | [string, string?, string?])[]) => {\n let className = '';\n args.forEach((item, index) => {\n if (item && index > 0) className = className.concat(' ');\n if (item instanceof Array) {\n const [block, element, modifier] = item;\n className = className.concat(classPrefix, '-', block);\n if (element) className = className.concat('__', element);\n if (modifier) className = className.concat('--', modifier);\n } else if (typeof item === 'string') {\n className = className.concat(classPrefix, '-', item);\n }\n });\n return className;\n },\n [classPrefix],\n );\n\n React.useImperativeHandle(ref as React.Ref<NotificationInstance>, () => ({ close }), []);\n\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(() => {\n let timer;\n if (duration > 0) {\n timer = setTimeout(() => {\n clearTimeout(timer);\n onDurationEnd();\n }, duration);\n }\n return () => {\n if (timer) clearTimeout(timer);\n };\n }, []);\n\n const renderIcon = () => {\n const IconWrapper = ({ children }) => <div className={`${classPrefix}-notification__icon`}>{children}</div>;\n if (theme && theme === 'success') {\n return (\n <IconWrapper>\n <CheckCircleFilledIcon className={prefixCls('is-success')} />\n </IconWrapper>\n );\n }\n if (theme && ['info', 'warning', 'error'].indexOf(theme) >= 0) {\n return (\n <IconWrapper>\n <InfoCircleFilledIcon className={prefixCls(`is-${theme}`)} />\n </IconWrapper>\n );\n }\n if (React.isValidElement(icon)) return icon;\n return null;\n };\n\n return (\n <div ref={ref} className={prefixCls(blockName)} style={style}>\n {renderIcon()}\n <div className={prefixCls([blockName, 'main'])}>\n <div className={prefixCls([blockName, 'title__wrap'])}>\n <span className={prefixCls([blockName, 'title'])}>{title}</span>\n {((): React.ReactNode => {\n if (typeof closeBtn === 'boolean' && closeBtn) {\n return (\n <CloseIcon\n className={prefixCls('icon-close')}\n onClick={(e) => {\n onCloseBtnClick({ e });\n }}\n />\n );\n }\n if (React.isValidElement(closeBtn)) {\n return (\n <div\n onClick={(e) => {\n onCloseBtnClick({ e });\n }}\n >\n {closeBtn}\n </div>\n );\n }\n return null;\n })()}\n </div>\n {((): React.ReactNode => {\n if (typeof content === 'string') {\n return <div className={prefixCls([blockName, 'content'])}>{content}</div>;\n }\n if (React.isValidElement(content)) return content;\n return null;\n })()}\n {React.isValidElement(footer) && <div className={prefixCls([blockName, 'detail'])}>{footer}</div>}\n {typeof footer === 'function' && <div className={prefixCls([blockName, 'detail'])}>{footer()}</div>}\n </div>\n </div>\n );\n});\n\n/**\n * @author kenzyyang\n * @date 2021-05-30 22:54:39\n * @desc 函数调用时的渲染函数\n * @param theme 主题类型\n * @param options 通知的参数\n */\nconst renderNotification = (theme: NotificationThemeList, options: NotificationInfoOptions) => {\n if (typeof options !== 'object') return;\n\n const placement: NotificationPlacementList = (() => {\n if (['top-left', 'top-right', 'bottom-left', 'bottom-right'].indexOf(options.placement) >= 0) {\n return options.placement;\n }\n return 'top-right';\n })();\n\n const attach: HTMLElement = (() => {\n if (options.attach && typeof options.attach === 'string') {\n const element: Element = document.querySelector(options.attach);\n if (element instanceof HTMLElement) return element;\n }\n\n if (options.attach instanceof HTMLElement) return options.attach;\n\n const containerId = `tdesign-notification-${placement}`;\n const container = document.querySelector(`#${containerId}`);\n if (container && container instanceof HTMLElement) {\n return container;\n }\n\n const element: HTMLDivElement = document.createElement('div');\n element.setAttribute('id', containerId);\n document.body.appendChild(element);\n return element;\n })();\n\n const zIndex = options.zIndex || 6000;\n\n return fetchListInstance(placement, attach, zIndex).then((listInstance) => listInstance.push(theme, options));\n};\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nconst Notification: Notification = NotificationComponent;\n\n['info', 'success', 'warning', 'error'].forEach((theme: NotificationThemeList) => {\n Notification[theme] = (options) => renderNotification(theme, options);\n});\n\nNotification.close = (promise) => promise.then((instance) => instance.close());\n\nNotification.closeAll = () => listMap.forEach((list) => list.removeAll());\n\nexport default Notification;\n"],"names":["seed","listMap","Map","NotificationList","React","forwardRef","props","ref","attach","placement","zIndex","useConfig","classPrefix","useReducer","state","action","type","value","filter","item","key","map","list","dispatchList","notificationMap","useMemo","remove","useCallback","calOffset","offset","isNaN","Number","push","theme","options","Promise","resolve","String","style","Array","isArray","horizontal","vertical","horizontalOffset","verticalOffset","marginTop","marginBottom","marginLeft","marginRight","margin","set","createRef","get","current","close","removeAll","clear","useImperativeHandle","useEffect","length","size","unmountComponentAtNode","className","props2","onDurationEnd","noop","onCloseBtnClick","NotificationComponent","e","fetchListInstance","has","hasExec","render","instance","blockName","title","content","icon","closeBtn","footer","duration","prefixCls","args","forEach","index","concat","block","element","modifier","timer","setTimeout","renderIcon","IconWrapper","children","CheckCircleFilledIcon","indexOf","InfoCircleFilledIcon","isValidElement","CloseIcon","onClick","renderNotification","element2","document","querySelector","HTMLElement","containerId","container","createElement","setAttribute","body","appendChild","then","listInstance","Notification","promise","closeAll"],"mappings":";;;;;;;;;;;;;;;;;;;AAkCA,IAAIA,OAAO,CAAX;IAEaC,UAAoE,IAAIC,GAAJ;AAEjF,IAAMC,gCAAmBC,MAAMC,UAAN,CAAkE,UAACC,KAAD,EAAQC,GAAR,EAAgB;MACjGC,SAA8BF,MAA9BE;MAAQC,YAAsBH,MAAtBG;MAAWC,SAAWJ,MAAXI;;mBACHC;MAAhBC,yBAAAA;;0BACqBR,MAAMS,UAAN,CAC3B,UACEC,KADF,EAEEC,MAFF,EAOK;YACKA,OAAOC;WACR;4CACQF,SAAOC,OAAOE;;WACtB;eACIH,MAAMI,MAAN,CAAa,UAACC,IAAD;AAAA,iBAAUA,KAAKC,GAAL,KAAaL,OAAOK,GAA9B;AAAA,SAAb,EAAgDC,GAAhD,CAAoD,UAACF,IAAD;AAAA,iBAAUA,IAAV;AAAA,SAApD;;WACJ;eACI;;;eAEAL;;GAjBc,EAoB3B,EApB2B;;MAAtBQ;MAAMC;;MAsBPC,kBAAkBpB,MAAMqB,OAAN,CAA4C;AAAA,WAAM,IAAIvB,GAAJ,EAAN;AAAA,GAA5C,EAA6D,EAA7D;MAElBwB,SAAStB,MAAMuB,WAAN,CACb,UAACP,GAAD,EAAuB;iBACR;AAAEJ,MAAAA,MAAM,QAAR;AAAkBI,MAAAA,KAAAA;AAAlB;8BACUA;GAHZ,EAKb,CAACI,eAAD,CALa;;MAQTI,YAAY,SAAZA,SAAY,CAACC,MAAD,EAA6B;QACzC,CAACA,eAAe;WACbC,MAAMC,OAAOF,QAAb,GAAwBA,MAAxB,aAAoCA,MAApC;;;MAGHG,OAAO5B,MAAMuB,WAAN,CACX,UAACM,KAAD,EAA+BC,OAA/B;AAAA,WACE,IAAIC,OAAJ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Aa3D,KAAb,GAAqB,UAAC4D,OAAD;AAAA,SAAaA,QAAQH,IAAR,CAAa,UAACtC,QAAD;AAAA,WAAcA,SAASnB,KAAT,EAAd;AAAA,GAAb,CAAb;AAAA,CAArB;;AAEA2D,aAAaE,QAAb,GAAwB;AAAA,SAAMlH,QAAQkF,OAAR,CAAgB,UAAC7D,IAAD;AAAA,WAAUA,KAAKiC,SAAL,EAAV;AAAA,GAAhB,CAAN;AAAA,CAAxB;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.18.
|
|
2
|
+
* tdesign v0.18.2
|
|
3
3
|
* (c) 2021 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import './dep-
|
|
8
|
-
import { i as isObject_1 } from './dep-
|
|
9
|
-
import './dep-
|
|
10
|
-
import { a as _root } from './dep-
|
|
11
|
-
import { t as toNumber_1 } from './dep-
|
|
7
|
+
import './dep-cb80da27.js';
|
|
8
|
+
import { i as isObject_1 } from './dep-504203df.js';
|
|
9
|
+
import './dep-74a044dc.js';
|
|
10
|
+
import { a as _root } from './dep-b6ff8559.js';
|
|
11
|
+
import { t as toNumber_1 } from './dep-ee3e1923.js';
|
|
12
12
|
|
|
13
13
|
var root = _root;
|
|
14
14
|
/**
|
|
@@ -229,4 +229,4 @@ function debounce(func, wait, options) {
|
|
|
229
229
|
var debounce_1 = debounce;
|
|
230
230
|
|
|
231
231
|
export { debounce_1 as d };
|
|
232
|
-
//# sourceMappingURL=dep-
|
|
232
|
+
//# sourceMappingURL=dep-7100b11f.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-9a4e0e54.js","sources":["../../node_modules/lodash/now.js","../../node_modules/lodash/debounce.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"names":["root","require$$0","now","Date","now_1","isObject","require$$1","toNumber","require$$2","FUNC_ERROR_TEXT","nativeMax","Math","max","nativeMin","min","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","leadingEdge","setTimeout","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","arguments","debounce_1"],"mappings":";;;;;;;;;;;;AAAA,IAAIA,IAAI,GAAGC,KAAX;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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EA,QAAIkB,UAAJ,EAAgB;AACd,UAAI1B,OAAO,KAAKW,SAAhB,EAA2B;AACzB,eAAOE,WAAW,CAACZ,YAAD,CAAlB;AACD;;AACD,UAAIG,MAAJ,EAAY;;AAEVmB,QAAAA,YAAY,CAACvB,OAAD,CAAZ;AACAA,QAAAA,OAAO,GAAGc,UAAU,CAACC,YAAD,EAAerB,IAAf,CAApB;AACA,eAAOa,UAAU,CAACN,YAAD,CAAjB;AACD;AACF;;AACD,QAAID,OAAO,KAAKW,SAAhB,EAA2B;AACzBX,MAAAA,OAAO,GAAGc,UAAU,CAACC,YAAD,EAAerB,IAAf,CAApB;AACD;;AACD,WAAOK,MAAP;AACD;;AACD0B,EAAAA,SAAS,CAACH,MAAV,GAAmBA,MAAnB;AACAG,EAAAA,SAAS,CAACD,KAAV,GAAkBA,KAAlB;AACA,SAAOC,SAAP;AACD;;IAEDG,UAAc,GAAGpC;;;;"}
|
|
1
|
+
{"version":3,"file":"dep-7100b11f.js","sources":["../../node_modules/lodash/now.js","../../node_modules/lodash/debounce.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"names":["root","require$$0","now","Date","now_1","isObject","require$$1","toNumber","require$$2","FUNC_ERROR_TEXT","nativeMax","Math","max","nativeMin","min","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","leadingEdge","setTimeout","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","arguments","debounce_1"],"mappings":";;;;;;;;;;;;AAAA,IAAIA,IAAI,GAAGC,KAAX;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,IAAIC,KAAG,GAAG,SAANA,GAAM,GAAW;AACnB,SAAOF,IAAI,CAACG,IAAL,CAAUD,GAAV,EAAP;AACD,CAFD;;IAIAE,KAAc,GAAGF;;ACtBjB,IAAIG,QAAQ,GAAGJ,UAAf;AAAA,IACIC,GAAG,GAAGI,KADV;AAAA,IAEIC,QAAQ,GAAGC,UAFf;AAIA;;AACA,IAAIC,eAAe,GAAG,qBAAtB;AAEA;;AACA,IAAIC,SAAS,GAAGC,IAAI,CAACC,GAArB;AAAA,IACIC,SAAS,GAAGF,IAAI,CAACG,GADrB;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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AV,GAAmBA,MAAnB;AACAG,EAAAA,SAAS,CAACD,KAAV,GAAkBA,KAAlB;AACA,SAAOC,SAAP;AACD;;IAEDG,UAAc,GAAGpC;;;;"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.18.
|
|
2
|
+
* tdesign v0.18.2
|
|
3
3
|
* (c) 2021 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import './dep-
|
|
8
|
-
import { i as isArray_1 } from './dep-
|
|
9
|
-
import './dep-
|
|
10
|
-
import { _ as _typeof } from './dep-
|
|
11
|
-
import { i as isSymbol_1 } from './dep-
|
|
12
|
-
import { a as _getNative, _ as _Map } from './dep-
|
|
13
|
-
import { e as eq_1 } from './dep-
|
|
14
|
-
import { t as toString_1 } from './dep-
|
|
7
|
+
import './dep-cb80da27.js';
|
|
8
|
+
import { i as isArray_1 } from './dep-9ad4f4b7.js';
|
|
9
|
+
import './dep-4e491803.js';
|
|
10
|
+
import { _ as _typeof } from './dep-1189939f.js';
|
|
11
|
+
import { i as isSymbol_1 } from './dep-9d2e7b62.js';
|
|
12
|
+
import { a as _getNative, _ as _Map } from './dep-e83a1558.js';
|
|
13
|
+
import { e as eq_1 } from './dep-ed9505a3.js';
|
|
14
|
+
import { t as toString_1 } from './dep-43869d17.js';
|
|
15
15
|
|
|
16
16
|
var isArray$1 = isArray_1,
|
|
17
17
|
isSymbol$1 = isSymbol_1;
|
|
@@ -731,5 +731,5 @@ function baseGet(object, path) {
|
|
|
731
731
|
|
|
732
732
|
var _baseGet = baseGet;
|
|
733
733
|
|
|
734
|
-
export {
|
|
735
|
-
//# sourceMappingURL=dep-
|
|
734
|
+
export { _baseGet as _, _ListCache as a, _MapCache as b, _castPath as c, _toKey as d };
|
|
735
|
+
//# sourceMappingURL=dep-744f52b3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-cd8b9911.js","sources":["../../node_modules/lodash/_isKey.js","../../node_modules/lodash/_nativeCreate.js","../../node_modules/lodash/_hashClear.js","../../node_modules/lodash/_hashDelete.js","../../node_modules/lodash/_hashGet.js","../../node_modules/lodash/_hashHas.js","../../node_modules/lodash/_hashSet.js","../../node_modules/lodash/_Hash.js","../../node_modules/lodash/_listCacheClear.js","../../node_modules/lodash/_assocIndexOf.js","../../node_modules/lodash/_listCacheDelete.js","../../node_modules/lodash/_listCacheGet.js","../../node_modules/lodash/_listCacheHas.js","../../node_modules/lodash/_listCacheSet.js","../../node_modules/lodash/_ListCache.js","../../node_modules/lodash/_mapCacheClear.js","../../node_modules/lodash/_isKeyable.js","../../node_modules/lodash/_getMapData.js","../../node_modules/lodash/_mapCacheDelete.js","../../node_modules/lodash/_mapCacheGet.js","../../node_modules/lodash/_mapCacheHas.js","../../node_modules/lodash/_mapCacheSet.js","../../node_modules/lodash/_MapCache.js","../../node_modules/lodash/memoize.js","../../node_modules/lodash/_memoizeCapped.js","../../node_modules/lodash/_stringToPath.js","../../node_modules/lodash/_castPath.js","../../node_modules/lodash/_toKey.js","../../node_modules/lodash/_baseGet.js"],"sourcesContent":["var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\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 * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\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 a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n"],"names":["isArray","require$$0","isSymbol","require$$1","reIsDeepProp","reIsPlainProp","isKey","value","object","type","test","Object","_isKey","getNative","nativeCreate","_nativeCreate","hashClear","__data__","size","_hashClear","hashDelete","key","result","has","_hashDelete","HASH_UNDEFINED","objectProto","prototype","hasOwnProperty","hashGet","data","undefined","call","_hashGet","hashHas","_hashHas","hashSet","_hashSet","require$$2","require$$3","require$$4","Hash","entries","index","length","clear","entry","set","get","_Hash","listCacheClear","_listCacheClear","eq","assocIndexOf","array","_assocIndexOf","arrayProto","Array","splice","listCacheDelete","lastIndex","pop","_listCacheDelete","listCacheGet","_listCacheGet","listCacheHas","_listCacheHas","listCacheSet","push","_listCacheSet","ListCache","_ListCache","Map","mapCacheClear","_mapCacheClear","isKeyable","_isKeyable","getMapData","map","_getMapData","mapCacheDelete","_mapCacheDelete","mapCacheGet","_mapCacheGet","mapCacheHas","_mapCacheHas","mapCacheSet","_mapCacheSet","MapCache","_MapCache","FUNC_ERROR_TEXT","memoize","func","resolver","TypeError","memoized","args","arguments","apply","cache","Cache","memoize_1","MAX_MEMOIZE_SIZE","memoizeCapped","_memoizeCapped","rePropName","reEscapeChar","stringToPath","string","charCodeAt","replace","match","number","quote","subString","_stringToPath","toString","castPath","_castPath","INFINITY","toKey","_toKey","baseGet","path","_baseGet"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAIA,SAAO,GAAGC,SAAd;AAAA,I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;AACA;;AACA,SAASuH,OAAT,CAAiBlH,MAAjB,EAAyBmH,IAAzB,EAA+B;AAC7BA,EAAAA,IAAI,GAAGN,QAAQ,CAACM,IAAD,EAAOnH,MAAP,CAAf;AAEA,MAAImC,KAAK,GAAG,CAAZ;AAAA,MACIC,MAAM,GAAG+E,IAAI,CAAC/E,MADlB;;AAGA,SAAOpC,MAAM,IAAI,IAAV,IAAkBmC,KAAK,GAAGC,MAAjC,EAAyC;AACvCpC,IAAAA,MAAM,GAAGA,MAAM,CAACgH,KAAK,CAACG,IAAI,CAAChF,KAAK,EAAN,CAAL,CAAN,CAAf;AACD;;AACD,SAAQA,KAAK,IAAIA,KAAK,IAAIC,MAAnB,GAA6BpC,MAA7B,GAAsCuB,SAA7C;AACD;;IAED6F,QAAc,GAAGF;;;;"}
|
|
1
|
+
{"version":3,"file":"dep-744f52b3.js","sources":["../../node_modules/lodash/_isKey.js","../../node_modules/lodash/_nativeCreate.js","../../node_modules/lodash/_hashClear.js","../../node_modules/lodash/_hashDelete.js","../../node_modules/lodash/_hashGet.js","../../node_modules/lodash/_hashHas.js","../../node_modules/lodash/_hashSet.js","../../node_modules/lodash/_Hash.js","../../node_modules/lodash/_listCacheClear.js","../../node_modules/lodash/_assocIndexOf.js","../../node_modules/lodash/_listCacheDelete.js","../../node_modules/lodash/_listCacheGet.js","../../node_modules/lodash/_listCacheHas.js","../../node_modules/lodash/_listCacheSet.js","../../node_modules/lodash/_ListCache.js","../../node_modules/lodash/_mapCacheClear.js","../../node_modules/lodash/_isKeyable.js","../../node_modules/lodash/_getMapData.js","../../node_modules/lodash/_mapCacheDelete.js","../../node_modules/lodash/_mapCacheGet.js","../../node_modules/lodash/_mapCacheHas.js","../../node_modules/lodash/_mapCacheSet.js","../../node_modules/lodash/_MapCache.js","../../node_modules/lodash/memoize.js","../../node_modules/lodash/_memoizeCapped.js","../../node_modules/lodash/_stringToPath.js","../../node_modules/lodash/_castPath.js","../../node_modules/lodash/_toKey.js","../../node_modules/lodash/_baseGet.js"],"sourcesContent":["var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\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 * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\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 a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n"],"names":["isArray","require$$0","isSymbol","require$$1","reIsDeepProp","reIsPlainProp","isKey","value","object","type","test","Object","_isKey","getNative","nativeCreate","_nativeCreate","hashClear","__data__","size","_hashClear","hashDelete","key","result","has","_hashDelete","HASH_UNDEFINED","objectProto","prototype","hasOwnProperty","hashGet","data","undefined","call","_hashGet","hashHas","_hashHas","hashSet","_hashSet","require$$2","require$$3","require$$4","Hash","entries","index","length","clear","entry","set","get","_Hash","listCacheClear","_listCacheClear","eq","assocIndexOf","array","_assocIndexOf","arrayProto","Array","splice","listCacheDelete","lastIndex","pop","_listCacheDelete","listCacheGet","_listCacheGet","listCacheHas","_listCacheHas","listCacheSet","push","_listCacheSet","ListCache","_ListCache","Map","mapCacheClear","_mapCacheClear","isKeyable","_isKeyable","getMapData","map","_getMapData","mapCacheDelete","_mapCacheDelete","mapCacheGet","_mapCacheGet","mapCacheHas","_mapCacheHas","mapCacheSet","_mapCacheSet","MapCache","_MapCache","FUNC_ERROR_TEXT","memoize","func","resolver","TypeError","memoized","args","arguments","apply","cache","Cache","memoize_1","MAX_MEMOIZE_SIZE","memoizeCapped","_memoizeCapped","rePropName","reEscapeChar","stringToPath","string","charCodeAt","replace","match","number","quote","subString","_stringToPath","toString","castPath","_castPath","INFINITY","toKey","_toKey","baseGet","path","_baseGet"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAIA,SAAO,GAAGC,SAAd;AAAA,IACIC,UAAQ,GAAGC,UADf;AAGA;;AACA,IAAIC,YAAY,GAAG,kDAAnB;AAAA,IACIC,aAAa,GAAG,OADpB;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,OAAT,CAAeC,KAAf,EAAsBC,MAAtB,EAA8B;AAC5B,MAAIR,SAAO,CAACO,KAAD,CAAX,EAAoB;AAClB,WAAO,KAAP;AACD;;AACD,MAAIE,IAAI,WAAUF,KAAV,CAAR;;AACA,MAAIE,IAAI,IAAI,QAAR,IAAoBA,IAAI,IAAI,QAA5B,IAAwCA,IAAI,IAAI,SAAhD,IACAF,KAAK,IAAI,IADT,IACiBL,UAAQ,CAACK,KAAD,CAD7B,EACsC;AACpC,WAAO,IAAP;AACD;;AACD,SAAOF,aAAa,CAACK,IAAd,CAAmBH,KAAnB,KAA6B,CAACH,YAAY,CAACM,IAAb,CAAkBH,KAAlB,CAA9B,IACJC,MAAM,IAAI,IAAV,IAAkBD,KAAK,IAAII,MAAM,CAACH,MAAD,CADpC;AAED;;IAEDI,MAAc,GAAGN;;AC5BjB,IAAIO,SAA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* tdesign v0.18.2
|
|
3
3
|
* (c) 2021 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import './dep-
|
|
8
|
-
import { t as toString_1 } from './dep-
|
|
9
|
-
import { _ as _castSlice, a as _hasUnicode, b as _stringToArray } from './dep-
|
|
7
|
+
import './dep-cb80da27.js';
|
|
8
|
+
import { t as toString_1 } from './dep-43869d17.js';
|
|
9
|
+
import { _ as _castSlice, a as _hasUnicode, b as _stringToArray } from './dep-5ec09fbd.js';
|
|
10
10
|
|
|
11
11
|
var castSlice = _castSlice,
|
|
12
12
|
hasUnicode = _hasUnicode,
|
|
@@ -564,4 +564,4 @@ var camelCase = createCompounder(function (result, word, index) {
|
|
|
564
564
|
var camelCase_1 = camelCase;
|
|
565
565
|
|
|
566
566
|
export { camelCase_1 as c };
|
|
567
|
-
//# sourceMappingURL=dep-
|
|
567
|
+
//# sourceMappingURL=dep-8037ad24.js.map
|