tdesign-react 0.25.3-alpha.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/dist/tdesign.css +33 -13
- package/dist/tdesign.css.map +1 -1
- package/dist/tdesign.js +3550 -2856
- 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/{esm/_chunks/dep-9893f12f.js → es/_chunks/dep-08a538d7.js} +5 -5
- package/{esm/_chunks/dep-9893f12f.js.map → es/_chunks/dep-08a538d7.js.map} +1 -1
- package/{esm/_chunks/dep-b7d8b7af.js → es/_chunks/dep-0c320105.js} +6 -62
- package/es/_chunks/dep-0c320105.js.map +1 -0
- package/{esm/_chunks/dep-c26530c4.js → es/_chunks/dep-16ace5a1.js} +9 -9
- package/es/_chunks/{dep-c26530c4.js.map → dep-16ace5a1.js.map} +1 -1
- package/es/_chunks/{dep-0496aed2.js → dep-17843c23.js} +65 -10
- package/es/_chunks/dep-17843c23.js.map +1 -0
- package/es/_chunks/{dep-696e2cbf.js → dep-1f097e5c.js} +3 -3
- package/es/_chunks/{dep-696e2cbf.js.map → dep-1f097e5c.js.map} +1 -1
- package/{esm/_chunks/dep-980a6850.js → es/_chunks/dep-21e0b815.js} +4 -4
- package/{esm/_chunks/dep-980a6850.js.map → es/_chunks/dep-21e0b815.js.map} +1 -1
- package/{esm/_chunks/dep-29438cb9.js → es/_chunks/dep-27f0aed6.js} +4 -4
- package/es/_chunks/{dep-29438cb9.js.map → dep-27f0aed6.js.map} +1 -1
- package/{esm/_chunks/dep-7984fdcb.js → es/_chunks/dep-2a49e378.js} +5 -5
- package/{esm/_chunks/dep-7984fdcb.js.map → es/_chunks/dep-2a49e378.js.map} +1 -1
- package/{esm/_chunks/dep-2a73c180.js → es/_chunks/dep-2d596bd1.js} +8 -8
- package/{esm/_chunks/dep-2a73c180.js.map → es/_chunks/dep-2d596bd1.js.map} +1 -1
- package/es/_chunks/{dep-0058bc23.js → dep-2f1a6244.js} +7 -7
- package/es/_chunks/{dep-0058bc23.js.map → dep-2f1a6244.js.map} +1 -1
- package/es/_chunks/{dep-095add6c.js → dep-3d0febec.js} +4 -4
- package/es/_chunks/{dep-095add6c.js.map → dep-3d0febec.js.map} +1 -1
- package/es/_chunks/dep-43841bc9.js +8 -0
- package/es/_chunks/dep-43841bc9.js.map +1 -0
- package/es/_chunks/{dep-8b84448e.js → dep-4506ade7.js} +7 -7
- package/{esm/_chunks/dep-8b84448e.js.map → es/_chunks/dep-4506ade7.js.map} +1 -1
- package/{esm/_chunks/dep-6d9098b6.js → es/_chunks/dep-456d7444.js} +4 -4
- package/es/_chunks/{dep-6d9098b6.js.map → dep-456d7444.js.map} +1 -1
- package/es/_chunks/{dep-6bb965ec.js → dep-48303847.js} +8 -8
- package/es/_chunks/{dep-6bb965ec.js.map → dep-48303847.js.map} +1 -1
- package/es/_chunks/{dep-483d0d43.js → dep-4bde00b2.js} +5 -5
- package/es/_chunks/{dep-483d0d43.js.map → dep-4bde00b2.js.map} +1 -1
- package/es/_chunks/{dep-fa11f9ed.js → dep-4e3754ac.js} +4 -4
- package/es/_chunks/{dep-fa11f9ed.js.map → dep-4e3754ac.js.map} +1 -1
- package/es/_chunks/{dep-4afdc0f2.js → dep-5e81ed02.js} +7 -7
- package/{esm/_chunks/dep-4afdc0f2.js.map → es/_chunks/dep-5e81ed02.js.map} +1 -1
- package/es/_chunks/{dep-cb80eab2.js → dep-6a9e2ff5.js} +6 -6
- package/es/_chunks/{dep-cb80eab2.js.map → dep-6a9e2ff5.js.map} +1 -1
- package/{esm/_chunks/dep-e417d118.js → es/_chunks/dep-6ef661cb.js} +8 -8
- package/{esm/_chunks/dep-e417d118.js.map → es/_chunks/dep-6ef661cb.js.map} +1 -1
- package/es/_chunks/{dep-6f5ded5c.js → dep-722fe6eb.js} +2 -2
- package/es/_chunks/{dep-6f5ded5c.js.map → dep-722fe6eb.js.map} +1 -1
- package/es/_chunks/{dep-4b35aa34.js → dep-7243000c.js} +5 -5
- package/es/_chunks/dep-7243000c.js.map +1 -0
- package/es/_chunks/{dep-a2f13442.js → dep-76bc9a8e.js} +4 -4
- package/{esm/_chunks/dep-a2f13442.js.map → es/_chunks/dep-76bc9a8e.js.map} +1 -1
- package/{esm/_chunks/dep-21668d59.js → es/_chunks/dep-83d9f47c.js} +5 -5
- package/es/_chunks/{dep-21668d59.js.map → dep-83d9f47c.js.map} +1 -1
- package/es/_chunks/{dep-0edc09ed.js → dep-87647568.js} +2 -2
- package/es/_chunks/{dep-0edc09ed.js.map → dep-87647568.js.map} +1 -1
- package/es/_chunks/{dep-f6037fb6.js → dep-8d8a59c5.js} +9 -9
- package/{esm/_chunks/dep-f6037fb6.js.map → es/_chunks/dep-8d8a59c5.js.map} +1 -1
- package/es/_chunks/{dep-e5363865.js → dep-8fea0649.js} +13 -13
- package/es/_chunks/{dep-e5363865.js.map → dep-8fea0649.js.map} +1 -1
- package/{esm/_chunks/dep-a164f50b.js → es/_chunks/dep-93f0cc3c.js} +8 -8
- package/es/_chunks/{dep-a164f50b.js.map → dep-93f0cc3c.js.map} +1 -1
- package/{esm/_chunks/dep-ac1b23ff.js → es/_chunks/dep-96268fc3.js} +7 -7
- package/es/_chunks/{dep-ac1b23ff.js.map → dep-96268fc3.js.map} +1 -1
- package/{esm/_chunks/dep-ce5e6d7b.js → es/_chunks/dep-9c495ff4.js} +7 -7
- package/{esm/_chunks/dep-ce5e6d7b.js.map → es/_chunks/dep-9c495ff4.js.map} +1 -1
- package/{esm/_chunks/dep-497887bb.js → es/_chunks/dep-9f6be541.js} +2 -2
- package/es/_chunks/{dep-497887bb.js.map → dep-9f6be541.js.map} +1 -1
- package/{esm/_chunks/dep-6d297a9e.js → es/_chunks/dep-a1b98045.js} +5 -5
- package/es/_chunks/{dep-6d297a9e.js.map → dep-a1b98045.js.map} +1 -1
- package/es/_chunks/{dep-1af55183.js → dep-a3b25bd0.js} +5 -5
- package/{esm/_chunks/dep-1af55183.js.map → es/_chunks/dep-a3b25bd0.js.map} +1 -1
- package/es/_chunks/{dep-ec5725fb.js → dep-a3e8ed28.js} +3 -3
- package/es/_chunks/{dep-ec5725fb.js.map → dep-a3e8ed28.js.map} +1 -1
- package/es/_chunks/{dep-7e017026.js → dep-a8619fd7.js} +17 -17
- package/{esm/_chunks/dep-7e017026.js.map → es/_chunks/dep-a8619fd7.js.map} +1 -1
- package/{esm/_chunks/dep-41759a4c.js → es/_chunks/dep-abb47ab5.js} +6 -6
- package/{esm/_chunks/dep-41759a4c.js.map → es/_chunks/dep-abb47ab5.js.map} +1 -1
- package/es/_chunks/{dep-cad4c9bb.js → dep-ada514b9.js} +2 -2
- package/es/_chunks/{dep-cad4c9bb.js.map → dep-ada514b9.js.map} +1 -1
- package/es/_chunks/{dep-16671ec7.js → dep-b0d60167.js} +7 -7
- package/es/_chunks/{dep-16671ec7.js.map → dep-b0d60167.js.map} +1 -1
- package/{esm/_chunks/dep-ed441d47.js → es/_chunks/dep-b52934ba.js} +3 -3
- package/es/_chunks/{dep-ed441d47.js.map → dep-b52934ba.js.map} +1 -1
- package/{esm/_chunks/dep-5dd652ad.js → es/_chunks/dep-b59a613a.js} +4 -4
- package/es/_chunks/{dep-5dd652ad.js.map → dep-b59a613a.js.map} +1 -1
- package/es/_chunks/{dep-1a1c626e.js → dep-bce15148.js} +6 -6
- package/es/_chunks/{dep-1a1c626e.js.map → dep-bce15148.js.map} +1 -1
- package/{esm/_chunks/dep-224b99d5.js → es/_chunks/dep-bd1de886.js} +6 -6
- package/{esm/_chunks/dep-224b99d5.js.map → es/_chunks/dep-bd1de886.js.map} +1 -1
- package/{esm/_chunks/dep-45df395e.js → es/_chunks/dep-c5a4a84b.js} +4 -4
- package/es/_chunks/{dep-45df395e.js.map → dep-c5a4a84b.js.map} +1 -1
- package/es/_chunks/{dep-461ab060.js → dep-c5e6a539.js} +2 -2
- package/es/_chunks/dep-c5e6a539.js.map +1 -0
- package/{esm/_chunks/dep-07116ce5.js → es/_chunks/dep-cfa4c989.js} +4 -4
- package/es/_chunks/{dep-07116ce5.js.map → dep-cfa4c989.js.map} +1 -1
- package/es/_chunks/{dep-4a5a3bfe.js → dep-d08c8845.js} +3 -3
- package/es/_chunks/{dep-4a5a3bfe.js.map → dep-d08c8845.js.map} +1 -1
- package/es/_chunks/{dep-89ac56b6.js → dep-d945c24c.js} +3 -3
- package/{lib/_chunks/dep-3a37dd17.js.map → es/_chunks/dep-d945c24c.js.map} +1 -1
- package/{esm/_chunks/dep-967b9ccb.js → es/_chunks/dep-dd00374d.js} +7 -7
- package/{esm/_chunks/dep-967b9ccb.js.map → es/_chunks/dep-dd00374d.js.map} +1 -1
- package/es/_chunks/{dep-ed5b309f.js → dep-e1cc480b.js} +3 -3
- package/es/_chunks/{dep-ed5b309f.js.map → dep-e1cc480b.js.map} +1 -1
- package/{esm/_chunks/dep-ca97d683.js → es/_chunks/dep-e9eb270f.js} +3 -3
- package/es/_chunks/{dep-ca97d683.js.map → dep-e9eb270f.js.map} +1 -1
- package/{esm/_chunks/dep-02e6b611.js → es/_chunks/dep-f5031153.js} +7 -7
- package/{esm/_chunks/dep-02e6b611.js.map → es/_chunks/dep-f5031153.js.map} +1 -1
- package/es/_chunks/{dep-e6ae4561.js → dep-f5304919.js} +16 -16
- package/es/_chunks/{dep-e6ae4561.js.map → dep-f5304919.js.map} +1 -1
- package/{esm/_chunks/dep-a96d8a0e.js → es/_chunks/dep-f81e5642.js} +4 -4
- package/es/_chunks/{dep-a96d8a0e.js.map → dep-f81e5642.js.map} +1 -1
- package/{esm/_chunks/dep-3bbcba72.js → es/_chunks/dep-f93431de.js} +4 -4
- package/{esm/_chunks/dep-3bbcba72.js.map → es/_chunks/dep-f93431de.js.map} +1 -1
- package/es/_chunks/{dep-7cd5d204.js → dep-fad90f7c.js} +9 -9
- package/es/_chunks/{dep-7cd5d204.js.map → dep-fad90f7c.js.map} +1 -1
- package/es/_common/js/common.js +1 -1
- package/es/_common/js/date-picker/utils.js +14 -14
- package/es/_common/js/loading/circle-adapter.js +5 -5
- package/es/_common/js/locale/en_US.d.ts +4 -0
- package/es/_common/js/locale/en_US.js +5 -1
- package/es/_common/js/locale/en_US.js.map +1 -1
- package/es/_common/js/locale/zh_CN.d.ts +4 -0
- package/es/_common/js/locale/zh_CN.js +5 -1
- package/es/_common/js/locale/zh_CN.js.map +1 -1
- package/es/_common/js/log/index.js +1 -1
- package/es/_common/js/log/log.js +1 -1
- package/es/_common/js/log/types.js +1 -1
- package/es/_common/js/tree/tree-node-model.js +22 -22
- package/es/_common/js/tree/tree-node.js +27 -27
- package/es/_common/js/tree/tree-store.js +43 -46
- package/es/_common/js/tree/tree-store.js.map +1 -1
- package/es/_common/js/tree/types.js +1 -1
- package/es/_common/js/upload/types.js +1 -1
- package/es/_common/js/upload/xhr.js +1 -1
- package/es/_common/js/utils/calcTextareaHeight.js +5 -5
- package/es/_common/js/utils/helper.js +5 -5
- package/es/_common/js/utils/set-style.js +1 -1
- package/es/_util/callBoth.js +1 -1
- package/es/_util/composeRefs.js +1 -1
- package/es/_util/dom.js +8 -8
- package/es/_util/easing.js +1 -1
- package/es/_util/forwardRefWithStatics.js +1 -1
- package/es/_util/getScrollbarWidth.js +1 -1
- package/es/_util/hasScrollBar.js +1 -1
- package/es/_util/helper.js +16 -16
- package/es/_util/injectValue.js +1 -1
- package/es/_util/insertCSS.js +1 -1
- package/es/_util/isCallable.js +1 -1
- package/es/_util/linearGradient.js +2 -2
- package/es/_util/noop.js +1 -1
- package/es/_util/number.js +1 -1
- package/es/_util/setStyle.js +1 -1
- package/es/_util/useAnimation.js +21 -21
- package/es/_util/useClickOutside.js +1 -1
- package/es/_util/useCommonClassName.js +21 -21
- package/es/_util/useConfig.js +21 -21
- package/es/_util/useDefault.js +3 -3
- package/es/_util/useDefaultValue.js +5 -5
- package/es/_util/useDialogEsc.js +3 -3
- package/es/_util/useDragSorter.js +3 -3
- package/es/_util/useLayoutEffect.js +8 -8
- package/es/_util/usePersistFn.js +1 -1
- package/es/_util/usePrevious.js +1 -1
- package/es/_util/useRefAndForward.js +1 -1
- package/es/_util/useRipple.js +22 -22
- package/es/_util/useSetState.js +4 -4
- package/es/_util/useSwitch.d.ts +12 -0
- package/es/_util/useSwitch.js +32 -0
- package/es/_util/useSwitch.js.map +1 -0
- package/es/_util/useUpdateEffect.js +8 -8
- package/es/addon/Addon.js +22 -22
- package/es/addon/index.js +22 -22
- package/es/affix/Affix.js +24 -24
- package/es/affix/index.d.ts +2 -2
- package/es/affix/index.js +29 -26
- package/es/affix/index.js.map +1 -1
- package/es/affix/style/index.js +1 -1
- package/es/affix/type.js +1 -1
- package/es/alert/Alert.js +37 -28
- package/es/alert/Alert.js.map +1 -1
- package/es/alert/index.js +27 -24
- package/es/alert/index.js.map +1 -1
- package/es/alert/style/index.js +1 -1
- package/es/alert/type.js +1 -1
- package/es/anchor/Anchor.js +30 -30
- package/es/anchor/AnchorContext.js +1 -1
- package/es/anchor/AnchorItem.js +22 -22
- package/es/anchor/AnchorTarget.js +30 -30
- package/es/anchor/_util/clipboard.js +1 -1
- package/es/anchor/_util/dom.js +1 -1
- package/es/anchor/index.js +28 -28
- package/es/anchor/style/index.js +1 -1
- package/es/anchor/type.js +1 -1
- package/es/avatar/AvararGroup.js +26 -26
- package/es/avatar/Avatar.js +26 -26
- package/es/avatar/AvatarContext.js +1 -1
- package/es/avatar/index.js +26 -26
- package/es/avatar/style/index.js +1 -1
- package/es/avatar/type.js +1 -1
- package/es/badge/Badge.js +22 -22
- package/es/badge/index.js +22 -22
- package/es/badge/style/index.js +1 -1
- package/es/badge/type.js +1 -1
- package/es/breadcrumb/Breadcrumb.js +22 -22
- package/es/breadcrumb/BreadcrumbContext.js +1 -1
- package/es/breadcrumb/BreadcrumbItem.js +22 -22
- package/es/breadcrumb/BreadcrumbProps.js +1 -1
- package/es/breadcrumb/index.js +22 -22
- package/es/breadcrumb/style/index.js +1 -1
- package/es/breadcrumb/type.js +1 -1
- package/es/button/Button.js +26 -26
- package/es/button/index.js +26 -26
- package/es/button/style/index.js +1 -1
- package/es/button/type.js +1 -1
- package/es/calendar/Calendar.js +37 -37
- package/es/calendar/_util.js +1 -1
- package/es/calendar/index.js +37 -37
- package/es/calendar/style/index.js +1 -1
- package/es/calendar/type.js +1 -1
- package/es/card/type.js +1 -1
- package/es/cascader/Cascader.js +48 -48
- package/es/cascader/components/InputContent.js +32 -26
- package/es/cascader/components/InputContent.js.map +1 -1
- package/es/cascader/components/Item.js +34 -34
- package/es/cascader/components/Panel.js +34 -34
- package/es/cascader/components/style/index.js +1 -1
- package/es/cascader/index.js +48 -48
- package/es/cascader/interface.js +27 -27
- package/es/cascader/style/index.js +1 -1
- package/es/cascader/type.js +1 -1
- package/es/cascader/utils/cascader.js +4 -4
- package/es/cascader/utils/helper.js +2 -2
- package/es/cascader/utils/inputContent.js +16 -16
- package/es/cascader/utils/item.js +4 -4
- package/es/cascader/utils/panel.js +8 -8
- package/es/checkbox/Checkbox.js +31 -31
- package/es/checkbox/CheckboxGroup.js +31 -31
- package/es/checkbox/index.js +31 -31
- package/es/checkbox/style/index.js +1 -1
- package/es/checkbox/type.js +1 -1
- package/es/comment/Comment.js +21 -21
- package/es/comment/index.js +21 -21
- package/es/comment/style/index.js +1 -1
- package/es/comment/type.js +1 -1
- package/es/common/Check.js +29 -29
- package/es/common/FakeArrow.js +21 -21
- package/es/common/Portal.js +8 -8
- package/es/common.js +1 -1
- package/es/config-provider/ConfigContext.d.ts +12 -0
- package/es/config-provider/ConfigContext.js +21 -21
- package/es/config-provider/ConfigProvider.d.ts +4 -0
- package/es/config-provider/ConfigProvider.js +21 -21
- package/es/config-provider/en_US_config.d.ts +3 -0
- package/es/config-provider/en_US_config.js +145 -0
- package/es/config-provider/en_US_config.js.map +1 -0
- package/es/config-provider/index.js +21 -21
- package/es/config-provider/type.d.ts +6 -1
- package/es/config-provider/type.js +1 -1
- package/es/config-provider/zh_CN_config.d.ts +3 -0
- package/es/config-provider/zh_CN_config.js +152 -0
- package/es/config-provider/zh_CN_config.js.map +1 -0
- package/es/date-picker/DatePicker.js +43 -41
- package/es/date-picker/DatePicker.js.map +1 -1
- package/es/date-picker/base/CalendarPresets.js +26 -26
- package/es/date-picker/base/Cell.js +21 -21
- package/es/date-picker/base/Header.js +26 -26
- package/es/date-picker/base/Table.js +23 -23
- package/es/date-picker/base/style/index.js +1 -1
- package/es/date-picker/index.js +37 -35
- package/es/date-picker/index.js.map +1 -1
- package/es/date-picker/panel/Date.js +30 -30
- package/es/date-picker/panel/DateRange.js +30 -30
- package/es/date-picker/panel/style/index.js +1 -1
- package/es/date-picker/style/index.js +1 -1
- package/es/date-picker/type.js +1 -1
- package/es/dialog/Dialog.js +27 -27
- package/es/dialog/RenderDialog.js +11 -11
- package/es/dialog/index.d.ts +3 -1
- package/es/dialog/index.js +31 -29
- package/es/dialog/index.js.map +1 -1
- package/es/dialog/plugin.d.ts +0 -1
- package/es/dialog/plugin.js +33 -32
- package/es/dialog/plugin.js.map +1 -1
- package/es/dialog/style/index.js +1 -1
- package/es/dialog/type.js +1 -1
- package/es/divider/Divider.js +22 -22
- package/es/divider/index.js +22 -22
- package/es/divider/style/index.js +1 -1
- package/es/divider/type.js +1 -1
- package/es/drawer/Drawer.js +26 -26
- package/es/drawer/DrawerWrapper.js +8 -8
- package/es/drawer/index.js +26 -26
- package/es/drawer/style/index.js +1 -1
- package/es/drawer/type.js +1 -1
- package/es/dropdown/Dropdown.js +39 -39
- package/es/dropdown/DropdownItem.js +30 -30
- package/es/dropdown/DropdownMenu.js +31 -31
- package/es/dropdown/index.js +39 -39
- package/es/dropdown/style/index.js +1 -1
- package/es/dropdown/type.js +1 -1
- package/es/form/Form.d.ts +1 -1
- package/es/form/Form.js +108 -82
- package/es/form/Form.js.map +1 -1
- package/es/form/FormContext.d.ts +2 -0
- package/es/form/FormContext.js +2 -1
- package/es/form/FormContext.js.map +1 -1
- package/es/form/FormItem.d.ts +1 -1
- package/es/form/FormItem.js +671 -60
- package/es/form/FormItem.js.map +1 -1
- package/es/form/formModel.js +39 -28
- package/es/form/formModel.js.map +1 -1
- package/es/form/index.js +49 -49
- package/es/form/style/index.js +1 -1
- package/es/form/type.d.ts +14 -6
- package/es/form/type.js +1 -1
- package/es/grid/Col.js +22 -22
- package/es/grid/Row.d.ts +8 -3
- package/es/grid/Row.js +25 -25
- package/es/grid/index.d.ts +8 -3
- package/es/grid/index.js +25 -25
- package/es/grid/style/index.js +1 -1
- package/es/grid/type.js +1 -1
- package/es/index.js +76 -75
- package/es/index.js.map +1 -1
- package/es/input/Input.js +55 -42
- package/es/input/Input.js.map +1 -1
- package/es/input/InputGroup.js +22 -22
- package/es/input/index.js +30 -24
- package/es/input/index.js.map +1 -1
- package/es/input/style/index.js +1 -1
- package/es/input/type.d.ts +3 -2
- package/es/input/type.js +1 -1
- package/es/input-number/InputNumber.js +39 -31
- package/es/input-number/InputNumber.js.map +1 -1
- package/es/input-number/StepHandler.js +26 -26
- package/es/input-number/index.js +32 -26
- package/es/input-number/index.js.map +1 -1
- package/es/input-number/style/index.js +1 -1
- package/es/input-number/type.js +1 -1
- package/es/input-number/utils/numberUtils.js +1 -1
- package/es/layout/Aside.js +22 -22
- package/es/layout/Layout.js +24 -24
- package/es/layout/index.js +24 -24
- package/es/layout/style/index.js +1 -1
- package/es/layout/type.js +1 -1
- package/es/list/List.js +26 -26
- package/es/list/ListItem.js +21 -21
- package/es/list/ListItemMeta.js +21 -21
- package/es/list/index.js +26 -26
- package/es/list/style/index.js +1 -1
- package/es/list/type.js +1 -1
- package/es/loading/gradient.js +24 -24
- package/es/loading/index.d.ts +2 -1
- package/es/loading/index.js +29 -27
- package/es/loading/index.js.map +1 -1
- package/es/loading/loading.js +26 -26
- package/es/loading/loading.js.map +1 -1
- package/es/loading/plugin.d.ts +0 -1
- package/es/loading/plugin.js +26 -27
- package/es/loading/plugin.js.map +1 -1
- package/es/loading/style/index.js +1 -1
- package/es/loading/type.js +1 -1
- package/es/locale/LocalReceiver.d.ts +4 -0
- package/es/locale/LocalReceiver.js +21 -21
- package/es/locale/en_US.js +1 -1
- package/es/locale/zh_CN.js +1 -1
- package/es/menu/HeadMenu.js +25 -25
- package/es/menu/Menu.js +25 -25
- package/es/menu/MenuContext.js +1 -1
- package/es/menu/MenuGroup.js +21 -21
- package/es/menu/MenuItem.js +22 -22
- package/es/menu/SubMenu.js +24 -24
- 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 +6 -6
- package/es/menu/index.js +25 -25
- package/es/menu/style/index.js +1 -1
- package/es/menu/type.js +1 -1
- package/es/message/Message.d.ts +1 -2
- package/es/message/Message.js +35 -37
- package/es/message/Message.js.map +1 -1
- package/es/message/MessageClose.js +21 -21
- package/es/message/MessageComponent.js +26 -26
- package/es/message/MessageIcon.js +26 -26
- package/es/message/const.js +1 -1
- package/es/message/index.d.ts +3 -1
- package/es/message/index.js +30 -28
- package/es/message/index.js.map +1 -1
- package/es/message/style/index.js +1 -1
- package/es/message/type.js +1 -1
- package/es/message/useMessageClass.js +21 -21
- package/es/notification/Notification.js +25 -25
- package/es/notification/NotificationList.js +25 -25
- package/es/notification/NotificationPlugin.d.ts +1 -3
- package/es/notification/NotificationPlugin.js +26 -28
- package/es/notification/NotificationPlugin.js.map +1 -1
- package/es/notification/index.d.ts +2 -1
- package/es/notification/index.js +29 -27
- package/es/notification/index.js.map +1 -1
- package/es/notification/style/index.js +1 -1
- package/es/notification/type.js +1 -1
- package/es/pagination/Pagination.js +36 -32
- package/es/pagination/Pagination.js.map +1 -1
- package/es/pagination/index.js +36 -32
- package/es/pagination/index.js.map +1 -1
- package/es/pagination/style/index.js +1 -1
- package/es/pagination/type.js +1 -1
- package/es/pagination/validators.js +1 -1
- package/es/popconfirm/PopConfirm.js +26 -26
- package/es/popconfirm/PopContent.js +26 -26
- package/es/popconfirm/index.js +26 -26
- package/es/popconfirm/style/index.js +1 -1
- package/es/popconfirm/type.js +1 -1
- package/es/popup/Popup.js +24 -24
- package/es/popup/hooks/useTriggerProps.js +1 -1
- package/es/popup/index.js +24 -24
- package/es/popup/style/index.js +1 -1
- package/es/popup/type.js +1 -1
- package/es/popup/utils/getTransitionParams.js +1 -1
- package/es/progress/Progress.js +22 -22
- package/es/progress/index.js +22 -22
- package/es/progress/style/index.js +1 -1
- package/es/progress/type.js +1 -1
- package/es/radio/Radio.js +30 -30
- package/es/radio/RadioGroup.js +30 -30
- package/es/radio/index.js +30 -30
- package/es/radio/style/index.js +1 -1
- package/es/radio/type.js +1 -1
- package/es/rate/type.js +1 -1
- package/es/select/base/Option.js +27 -27
- package/es/select/base/OptionGroup.js +21 -21
- package/es/select/base/PopupContent.js +31 -31
- package/es/select/base/Select.js +36 -32
- package/es/select/base/Select.js.map +1 -1
- package/es/select/base/style/index.js +1 -1
- package/es/select/index.js +36 -32
- package/es/select/index.js.map +1 -1
- package/es/select/style/index.js +1 -1
- package/es/select/type.js +1 -1
- package/es/select/util/helper.js +29 -29
- package/es/select-input/SelectInput.js +55 -42
- package/es/select-input/SelectInput.js.map +1 -1
- package/es/select-input/index.js +47 -35
- package/es/select-input/index.js.map +1 -1
- package/es/select-input/style/index.css +11 -12
- package/es/select-input/style/index.js +1 -1
- package/es/select-input/type.d.ts +7 -2
- package/es/select-input/type.js +1 -1
- package/es/select-input/useMultiple.d.ts +1 -0
- package/es/select-input/useMultiple.js +45 -31
- package/es/select-input/useMultiple.js.map +1 -1
- package/es/select-input/useOverlayStyle.js +8 -8
- package/es/select-input/useSingle.d.ts +1 -1
- package/es/select-input/useSingle.js +79 -43
- package/es/select-input/useSingle.js.map +1 -1
- package/es/skeleton/Skeleton.js +31 -31
- package/es/skeleton/index.js +31 -31
- package/es/skeleton/style/index.js +1 -1
- package/es/skeleton/type.js +1 -1
- package/es/slider/Slider.js +32 -26
- package/es/slider/Slider.js.map +1 -1
- package/es/slider/SliderHandleButton.js +25 -25
- package/es/slider/index.js +32 -26
- package/es/slider/index.js.map +1 -1
- package/es/slider/style/index.js +1 -1
- package/es/slider/type.js +1 -1
- package/es/slider/utils/handleNumber.js +1 -1
- package/es/steps/StepItem.js +21 -21
- package/es/steps/Steps.js +21 -21
- package/es/steps/StepsContext.js +1 -1
- package/es/steps/index.js +21 -21
- package/es/steps/style/index.js +1 -1
- package/es/steps/type.js +1 -1
- package/es/sticky-tool/type.js +1 -1
- package/es/style/index.js +1 -1
- package/es/swiper/Swiper.js +23 -23
- package/es/swiper/SwiperItem.js +1 -1
- package/es/swiper/index.js +23 -23
- package/es/swiper/style/index.js +1 -1
- package/es/swiper/type.js +1 -1
- package/es/switch/Switch.js +26 -26
- package/es/switch/index.js +26 -26
- package/es/switch/style/index.js +1 -1
- package/es/switch/type.js +1 -1
- package/es/table/base/Table.js +38 -34
- package/es/table/base/Table.js.map +1 -1
- package/es/table/base/TableAsyncLoadingBody.js +26 -26
- package/es/table/base/TableBody.js +29 -29
- package/es/table/base/TableCell.js +24 -24
- package/es/table/base/TableColGroup.js +1 -1
- package/es/table/base/TableContext.js +1 -1
- package/es/table/base/TableEmptyBody.js +23 -23
- package/es/table/base/TableFooter.js +1 -1
- package/es/table/base/TableHeader.js +26 -26
- package/es/table/base/TableLoadingBody.js +5 -5
- package/es/table/base/TableRow.js +29 -29
- package/es/table/base/style/index.js +1 -1
- package/es/table/enhanced/Table.js +40 -40
- package/es/table/enhanced/TableContext.js +1 -1
- package/es/table/enhanced/style/index.js +1 -1
- package/es/table/enhanced/useTree.js +28 -28
- package/es/table/hooks/useColumns.js +4 -4
- package/es/table/index.js +40 -40
- package/es/table/primary/FilterButton.js +33 -33
- package/es/table/primary/SorterButton.js +25 -25
- package/es/table/primary/Table.js +40 -40
- package/es/table/primary/expand-box.js +21 -21
- package/es/table/primary/style/index.js +1 -1
- package/es/table/primary/useExpand.js +28 -28
- package/es/table/primary/useFilter.js +33 -33
- package/es/table/primary/useSelect.js +33 -33
- package/es/table/primary/useSorter.js +30 -30
- package/es/table/style/index.js +1 -1
- package/es/table/type.js +1 -1
- package/es/table/util/getRowKeyFromRowKey.js +1 -1
- package/es/table/util/index.js +1 -1
- package/es/tabs/TabBar.js +23 -23
- package/es/tabs/TabNav.js +24 -24
- package/es/tabs/TabNavItem.js +22 -22
- package/es/tabs/TabPanel.js +21 -21
- package/es/tabs/Tabs.d.ts +2 -1
- package/es/tabs/Tabs.js +29 -26
- package/es/tabs/Tabs.js.map +1 -1
- package/es/tabs/index.js +24 -24
- package/es/tabs/style/index.js +1 -1
- package/es/tabs/type.js +1 -1
- package/es/tabs/useTabClass.js +21 -21
- package/es/tag/CheckTag.js +24 -24
- package/es/tag/Tag.js +24 -24
- package/es/tag/index.js +24 -24
- package/es/tag/style/index.js +1 -1
- package/es/tag/type.js +1 -1
- package/es/tag-input/TagInput.js +31 -25
- package/es/tag-input/TagInput.js.map +1 -1
- package/es/tag-input/index.js +31 -25
- package/es/tag-input/index.js.map +1 -1
- package/es/tag-input/style/index.css +1 -1
- package/es/tag-input/style/index.js +1 -1
- package/es/tag-input/type.js +1 -1
- package/es/tag-input/useHover.js +3 -3
- package/es/tag-input/useTagList.js +28 -28
- package/es/tag-input/useTagList.js.map +1 -1
- package/es/tag-input/useTagScroll.js +3 -3
- package/es/textarea/Textarea.js +29 -29
- package/es/textarea/index.js +29 -29
- package/es/textarea/style/index.js +1 -1
- package/es/textarea/type.js +1 -1
- package/es/time-picker/InputItems.js +32 -32
- package/es/time-picker/TimePicker.js +164 -158
- package/es/time-picker/TimePicker.js.map +1 -1
- package/es/time-picker/TimeRangePicker.js +38 -36
- package/es/time-picker/TimeRangePicker.js.map +1 -1
- package/es/time-picker/consts.js +23 -23
- package/es/time-picker/index.js +38 -36
- package/es/time-picker/index.js.map +1 -1
- package/es/time-picker/interfaces.js +1 -1
- package/es/time-picker/panel/SinglePanel.js +32 -32
- package/es/time-picker/panel/TimePickerPanel.js +35 -35
- package/es/time-picker/panel/TimePickerRangePanel.js +35 -35
- package/es/time-picker/panel/style/index.js +1 -1
- package/es/time-picker/style/index.js +1 -1
- package/es/time-picker/type.js +1 -1
- package/es/tooltip/Tooltip.js +25 -25
- package/es/tooltip/index.js +25 -25
- package/es/tooltip/style/index.js +1 -1
- package/es/tooltip/type.js +1 -1
- package/es/transfer/Transfer.js +42 -42
- package/es/transfer/TransferList.js +38 -38
- package/es/transfer/index.js +42 -42
- package/es/transfer/style/index.js +1 -1
- package/es/transfer/type.js +1 -1
- package/es/transfer/utils.js +17 -17
- package/es/tree/Tree.js +49 -49
- package/es/tree/TreeItem.js +33 -33
- package/es/tree/index.js +49 -49
- package/es/tree/interface.js +1 -1
- package/es/tree/style/index.js +1 -1
- package/es/tree/type.js +1 -1
- package/es/tree/useControllable.js +3 -3
- package/es/tree/useStore.js +41 -41
- package/es/tree/useTreeConfig.js +23 -23
- package/es/tree-select/TreeSelect.d.ts +2 -2
- package/es/tree-select/TreeSelect.js +343 -431
- package/es/tree-select/TreeSelect.js.map +1 -1
- package/es/tree-select/TreeSelectArrow.d.ts +8 -0
- package/es/tree-select/TreeSelectArrow.js +52 -0
- package/es/tree-select/TreeSelectArrow.js.map +1 -0
- package/es/tree-select/index.js +90 -79
- package/es/tree-select/index.js.map +1 -1
- package/es/tree-select/style/css.js +1 -1
- package/es/tree-select/style/index.css +20 -0
- package/es/tree-select/style/index.d.ts +1 -0
- package/es/tree-select/style/index.js +1 -1
- package/es/tree-select/type.js +1 -1
- package/es/tree-select/useTreeSelectLocale.d.ts +7 -0
- package/es/tree-select/useTreeSelectLocale.js +65 -0
- package/es/tree-select/useTreeSelectLocale.js.map +1 -0
- package/es/tree-select/useTreeSelectPassthoughProps.d.ts +2 -0
- package/es/tree-select/useTreeSelectPassthoughProps.js +34 -0
- package/es/tree-select/useTreeSelectPassthoughProps.js.map +1 -0
- package/es/tree-select/useTreeSelectUtils.d.ts +14 -0
- package/es/tree-select/useTreeSelectUtils.js +95 -0
- package/es/tree-select/useTreeSelectUtils.js.map +1 -0
- package/es/upload/boolean-render.js +1 -1
- package/es/upload/dragger.js +31 -30
- package/es/upload/dragger.js.map +1 -1
- package/es/upload/hooks/useDefaultValue.js +7 -7
- package/es/upload/hooks/useSizeLimit.js +23 -23
- package/es/upload/index.js +42 -42
- package/es/upload/style/index.js +1 -1
- package/es/upload/themes/dragger-progress.d.ts +1 -0
- package/es/upload/themes/dragger-progress.js +29 -29
- package/es/upload/themes/dragger-progress.js.map +1 -1
- package/es/upload/themes/flow-list/file-list.js +26 -27
- package/es/upload/themes/flow-list/file-list.js.map +1 -1
- package/es/upload/themes/flow-list/img-list.js +26 -27
- package/es/upload/themes/flow-list/img-list.js.map +1 -1
- package/es/upload/themes/flow-list/index.js +26 -27
- package/es/upload/themes/flow-list/index.js.map +1 -1
- package/es/upload/themes/flow-list/style/index.js +1 -1
- package/es/upload/themes/image-card.js +28 -28
- package/es/upload/themes/single-file.js +26 -26
- package/es/upload/themes/style/index.js +1 -1
- package/es/upload/tips.js +21 -21
- package/es/upload/type.d.ts +4 -1
- package/es/upload/type.js +1 -1
- package/es/upload/types.d.ts +1 -0
- package/es/upload/types.js +1 -1
- package/es/upload/upload-trigger.js +26 -26
- package/es/upload/upload.js +183 -71
- package/es/upload/upload.js.map +1 -1
- package/es/upload/util.d.ts +0 -8
- package/es/upload/util.js +2 -27
- package/es/upload/util.js.map +1 -1
- package/{es/_chunks/dep-9893f12f.js → esm/_chunks/dep-08a538d7.js} +5 -5
- package/{es/_chunks/dep-9893f12f.js.map → esm/_chunks/dep-08a538d7.js.map} +1 -1
- package/{es/_chunks/dep-b7d8b7af.js → esm/_chunks/dep-0c320105.js} +6 -62
- package/esm/_chunks/dep-0c320105.js.map +1 -0
- package/{es/_chunks/dep-c26530c4.js → esm/_chunks/dep-16ace5a1.js} +9 -9
- package/esm/_chunks/{dep-c26530c4.js.map → dep-16ace5a1.js.map} +1 -1
- package/esm/_chunks/{dep-0496aed2.js → dep-17843c23.js} +65 -10
- package/esm/_chunks/dep-17843c23.js.map +1 -0
- package/esm/_chunks/{dep-696e2cbf.js → dep-1f097e5c.js} +3 -3
- package/esm/_chunks/{dep-696e2cbf.js.map → dep-1f097e5c.js.map} +1 -1
- package/{es/_chunks/dep-980a6850.js → esm/_chunks/dep-21e0b815.js} +4 -4
- package/{es/_chunks/dep-980a6850.js.map → esm/_chunks/dep-21e0b815.js.map} +1 -1
- package/{es/_chunks/dep-29438cb9.js → esm/_chunks/dep-27f0aed6.js} +4 -4
- package/esm/_chunks/{dep-29438cb9.js.map → dep-27f0aed6.js.map} +1 -1
- package/{es/_chunks/dep-7984fdcb.js → esm/_chunks/dep-2a49e378.js} +5 -5
- package/{es/_chunks/dep-7984fdcb.js.map → esm/_chunks/dep-2a49e378.js.map} +1 -1
- package/{es/_chunks/dep-2a73c180.js → esm/_chunks/dep-2d596bd1.js} +8 -8
- package/{es/_chunks/dep-2a73c180.js.map → esm/_chunks/dep-2d596bd1.js.map} +1 -1
- package/esm/_chunks/{dep-0058bc23.js → dep-2f1a6244.js} +7 -7
- package/esm/_chunks/{dep-0058bc23.js.map → dep-2f1a6244.js.map} +1 -1
- package/esm/_chunks/{dep-095add6c.js → dep-3d0febec.js} +4 -4
- package/esm/_chunks/{dep-095add6c.js.map → dep-3d0febec.js.map} +1 -1
- package/esm/_chunks/dep-43841bc9.js +8 -0
- package/esm/_chunks/dep-43841bc9.js.map +1 -0
- package/esm/_chunks/{dep-8b84448e.js → dep-4506ade7.js} +7 -7
- package/{es/_chunks/dep-8b84448e.js.map → esm/_chunks/dep-4506ade7.js.map} +1 -1
- package/{es/_chunks/dep-6d9098b6.js → esm/_chunks/dep-456d7444.js} +4 -4
- package/esm/_chunks/{dep-6d9098b6.js.map → dep-456d7444.js.map} +1 -1
- package/esm/_chunks/{dep-6bb965ec.js → dep-48303847.js} +8 -8
- package/esm/_chunks/{dep-6bb965ec.js.map → dep-48303847.js.map} +1 -1
- package/esm/_chunks/{dep-483d0d43.js → dep-4bde00b2.js} +5 -5
- package/esm/_chunks/{dep-483d0d43.js.map → dep-4bde00b2.js.map} +1 -1
- package/esm/_chunks/{dep-fa11f9ed.js → dep-4e3754ac.js} +4 -4
- package/esm/_chunks/{dep-fa11f9ed.js.map → dep-4e3754ac.js.map} +1 -1
- package/esm/_chunks/{dep-4afdc0f2.js → dep-5e81ed02.js} +7 -7
- package/{es/_chunks/dep-4afdc0f2.js.map → esm/_chunks/dep-5e81ed02.js.map} +1 -1
- package/esm/_chunks/{dep-cb80eab2.js → dep-6a9e2ff5.js} +6 -6
- package/esm/_chunks/{dep-cb80eab2.js.map → dep-6a9e2ff5.js.map} +1 -1
- package/{es/_chunks/dep-e417d118.js → esm/_chunks/dep-6ef661cb.js} +8 -8
- package/{es/_chunks/dep-e417d118.js.map → esm/_chunks/dep-6ef661cb.js.map} +1 -1
- package/esm/_chunks/{dep-6f5ded5c.js → dep-722fe6eb.js} +2 -2
- package/esm/_chunks/{dep-6f5ded5c.js.map → dep-722fe6eb.js.map} +1 -1
- package/esm/_chunks/{dep-4b35aa34.js → dep-7243000c.js} +5 -5
- package/esm/_chunks/dep-7243000c.js.map +1 -0
- package/esm/_chunks/{dep-a2f13442.js → dep-76bc9a8e.js} +4 -4
- package/{es/_chunks/dep-a2f13442.js.map → esm/_chunks/dep-76bc9a8e.js.map} +1 -1
- package/{es/_chunks/dep-21668d59.js → esm/_chunks/dep-83d9f47c.js} +5 -5
- package/esm/_chunks/{dep-21668d59.js.map → dep-83d9f47c.js.map} +1 -1
- package/esm/_chunks/{dep-0edc09ed.js → dep-87647568.js} +2 -2
- package/esm/_chunks/{dep-0edc09ed.js.map → dep-87647568.js.map} +1 -1
- package/esm/_chunks/{dep-f6037fb6.js → dep-8d8a59c5.js} +9 -9
- package/{es/_chunks/dep-f6037fb6.js.map → esm/_chunks/dep-8d8a59c5.js.map} +1 -1
- package/esm/_chunks/{dep-e5363865.js → dep-8fea0649.js} +13 -13
- package/esm/_chunks/{dep-e5363865.js.map → dep-8fea0649.js.map} +1 -1
- package/{es/_chunks/dep-a164f50b.js → esm/_chunks/dep-93f0cc3c.js} +8 -8
- package/esm/_chunks/{dep-a164f50b.js.map → dep-93f0cc3c.js.map} +1 -1
- package/{es/_chunks/dep-ac1b23ff.js → esm/_chunks/dep-96268fc3.js} +7 -7
- package/esm/_chunks/{dep-ac1b23ff.js.map → dep-96268fc3.js.map} +1 -1
- package/{es/_chunks/dep-ce5e6d7b.js → esm/_chunks/dep-9c495ff4.js} +7 -7
- package/{es/_chunks/dep-ce5e6d7b.js.map → esm/_chunks/dep-9c495ff4.js.map} +1 -1
- package/{es/_chunks/dep-497887bb.js → esm/_chunks/dep-9f6be541.js} +2 -2
- package/esm/_chunks/{dep-497887bb.js.map → dep-9f6be541.js.map} +1 -1
- package/{es/_chunks/dep-6d297a9e.js → esm/_chunks/dep-a1b98045.js} +5 -5
- package/esm/_chunks/{dep-6d297a9e.js.map → dep-a1b98045.js.map} +1 -1
- package/esm/_chunks/{dep-1af55183.js → dep-a3b25bd0.js} +5 -5
- package/{es/_chunks/dep-1af55183.js.map → esm/_chunks/dep-a3b25bd0.js.map} +1 -1
- package/esm/_chunks/{dep-ec5725fb.js → dep-a3e8ed28.js} +3 -3
- package/esm/_chunks/{dep-ec5725fb.js.map → dep-a3e8ed28.js.map} +1 -1
- package/esm/_chunks/{dep-7e017026.js → dep-a8619fd7.js} +17 -17
- package/{es/_chunks/dep-7e017026.js.map → esm/_chunks/dep-a8619fd7.js.map} +1 -1
- package/{es/_chunks/dep-41759a4c.js → esm/_chunks/dep-abb47ab5.js} +6 -6
- package/{es/_chunks/dep-41759a4c.js.map → esm/_chunks/dep-abb47ab5.js.map} +1 -1
- package/esm/_chunks/{dep-cad4c9bb.js → dep-ada514b9.js} +2 -2
- package/esm/_chunks/{dep-cad4c9bb.js.map → dep-ada514b9.js.map} +1 -1
- package/esm/_chunks/{dep-16671ec7.js → dep-b0d60167.js} +7 -7
- package/esm/_chunks/{dep-16671ec7.js.map → dep-b0d60167.js.map} +1 -1
- package/{es/_chunks/dep-ed441d47.js → esm/_chunks/dep-b52934ba.js} +3 -3
- package/esm/_chunks/{dep-ed441d47.js.map → dep-b52934ba.js.map} +1 -1
- package/{es/_chunks/dep-5dd652ad.js → esm/_chunks/dep-b59a613a.js} +4 -4
- package/esm/_chunks/{dep-5dd652ad.js.map → dep-b59a613a.js.map} +1 -1
- package/esm/_chunks/{dep-1a1c626e.js → dep-bce15148.js} +6 -6
- package/esm/_chunks/{dep-1a1c626e.js.map → dep-bce15148.js.map} +1 -1
- package/{es/_chunks/dep-224b99d5.js → esm/_chunks/dep-bd1de886.js} +6 -6
- package/{es/_chunks/dep-224b99d5.js.map → esm/_chunks/dep-bd1de886.js.map} +1 -1
- package/{es/_chunks/dep-45df395e.js → esm/_chunks/dep-c5a4a84b.js} +4 -4
- package/esm/_chunks/{dep-45df395e.js.map → dep-c5a4a84b.js.map} +1 -1
- package/esm/_chunks/{dep-461ab060.js → dep-c5e6a539.js} +2 -2
- package/esm/_chunks/dep-c5e6a539.js.map +1 -0
- package/{es/_chunks/dep-07116ce5.js → esm/_chunks/dep-cfa4c989.js} +4 -4
- package/esm/_chunks/{dep-07116ce5.js.map → dep-cfa4c989.js.map} +1 -1
- package/esm/_chunks/{dep-4a5a3bfe.js → dep-d08c8845.js} +3 -3
- package/esm/_chunks/{dep-4a5a3bfe.js.map → dep-d08c8845.js.map} +1 -1
- package/esm/_chunks/{dep-89ac56b6.js → dep-d945c24c.js} +3 -3
- package/{es/_chunks/dep-89ac56b6.js.map → esm/_chunks/dep-d945c24c.js.map} +1 -1
- package/{es/_chunks/dep-967b9ccb.js → esm/_chunks/dep-dd00374d.js} +7 -7
- package/{es/_chunks/dep-967b9ccb.js.map → esm/_chunks/dep-dd00374d.js.map} +1 -1
- package/esm/_chunks/{dep-ed5b309f.js → dep-e1cc480b.js} +3 -3
- package/esm/_chunks/{dep-ed5b309f.js.map → dep-e1cc480b.js.map} +1 -1
- package/{es/_chunks/dep-ca97d683.js → esm/_chunks/dep-e9eb270f.js} +3 -3
- package/esm/_chunks/{dep-ca97d683.js.map → dep-e9eb270f.js.map} +1 -1
- package/{es/_chunks/dep-02e6b611.js → esm/_chunks/dep-f5031153.js} +7 -7
- package/{es/_chunks/dep-02e6b611.js.map → esm/_chunks/dep-f5031153.js.map} +1 -1
- package/esm/_chunks/{dep-e6ae4561.js → dep-f5304919.js} +16 -16
- package/esm/_chunks/{dep-e6ae4561.js.map → dep-f5304919.js.map} +1 -1
- package/{es/_chunks/dep-a96d8a0e.js → esm/_chunks/dep-f81e5642.js} +4 -4
- package/esm/_chunks/{dep-a96d8a0e.js.map → dep-f81e5642.js.map} +1 -1
- package/{es/_chunks/dep-3bbcba72.js → esm/_chunks/dep-f93431de.js} +4 -4
- package/{es/_chunks/dep-3bbcba72.js.map → esm/_chunks/dep-f93431de.js.map} +1 -1
- package/esm/_chunks/{dep-7cd5d204.js → dep-fad90f7c.js} +9 -9
- package/esm/_chunks/{dep-7cd5d204.js.map → dep-fad90f7c.js.map} +1 -1
- package/esm/_common/js/common.js +1 -1
- package/esm/_common/js/date-picker/utils.js +14 -14
- package/esm/_common/js/loading/circle-adapter.js +5 -5
- package/esm/_common/js/locale/en_US.d.ts +4 -0
- package/esm/_common/js/locale/en_US.js +5 -1
- package/esm/_common/js/locale/en_US.js.map +1 -1
- package/esm/_common/js/locale/zh_CN.d.ts +4 -0
- package/esm/_common/js/locale/zh_CN.js +5 -1
- package/esm/_common/js/locale/zh_CN.js.map +1 -1
- package/esm/_common/js/log/index.js +1 -1
- package/esm/_common/js/log/log.js +1 -1
- package/esm/_common/js/log/types.js +1 -1
- package/esm/_common/js/tree/tree-node-model.js +22 -22
- package/esm/_common/js/tree/tree-node.js +27 -27
- package/esm/_common/js/tree/tree-store.js +43 -46
- package/esm/_common/js/tree/tree-store.js.map +1 -1
- package/esm/_common/js/tree/types.js +1 -1
- package/esm/_common/js/upload/types.js +1 -1
- package/esm/_common/js/upload/xhr.js +1 -1
- package/esm/_common/js/utils/calcTextareaHeight.js +5 -5
- package/esm/_common/js/utils/helper.js +5 -5
- package/esm/_common/js/utils/set-style.js +1 -1
- package/esm/_common/style/web/components/_index.less +2 -0
- package/esm/_common/style/web/components/select-input/_index.less +16 -12
- package/esm/_common/style/web/components/tag-input/_index.less +1 -1
- package/esm/_common/style/web/components/tree-select/_index.less +29 -0
- 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/useAnimation.js +21 -21
- package/esm/_util/useClickOutside.js +1 -1
- package/esm/_util/useCommonClassName.js +21 -21
- package/esm/_util/useConfig.js +21 -21
- package/esm/_util/useDefault.js +3 -3
- package/esm/_util/useDefaultValue.js +5 -5
- package/esm/_util/useDialogEsc.js +3 -3
- package/esm/_util/useDragSorter.js +3 -3
- package/esm/_util/useLayoutEffect.js +8 -8
- package/esm/_util/usePersistFn.js +1 -1
- package/esm/_util/usePrevious.js +1 -1
- package/esm/_util/useRefAndForward.js +1 -1
- package/esm/_util/useRipple.js +22 -22
- package/esm/_util/useSetState.js +4 -4
- package/esm/_util/useSwitch.d.ts +12 -0
- package/esm/_util/useSwitch.js +32 -0
- package/esm/_util/useSwitch.js.map +1 -0
- package/esm/_util/useUpdateEffect.js +8 -8
- package/esm/addon/Addon.js +22 -22
- package/esm/addon/index.js +22 -22
- package/esm/affix/Affix.js +24 -24
- package/esm/affix/index.d.ts +2 -2
- package/esm/affix/index.js +29 -26
- package/esm/affix/index.js.map +1 -1
- package/esm/affix/type.js +1 -1
- package/esm/alert/Alert.js +37 -28
- package/esm/alert/Alert.js.map +1 -1
- package/esm/alert/index.js +27 -24
- package/esm/alert/index.js.map +1 -1
- package/esm/alert/type.js +1 -1
- package/esm/anchor/Anchor.js +30 -30
- package/esm/anchor/AnchorContext.js +1 -1
- package/esm/anchor/AnchorItem.js +22 -22
- package/esm/anchor/AnchorTarget.js +31 -31
- package/esm/anchor/_util/clipboard.js +1 -1
- package/esm/anchor/_util/dom.js +1 -1
- package/esm/anchor/index.js +28 -28
- package/esm/anchor/type.js +1 -1
- package/esm/avatar/AvararGroup.js +26 -26
- package/esm/avatar/Avatar.js +26 -26
- package/esm/avatar/AvatarContext.js +1 -1
- package/esm/avatar/index.js +26 -26
- package/esm/avatar/type.js +1 -1
- package/esm/badge/Badge.js +22 -22
- package/esm/badge/index.js +22 -22
- package/esm/badge/type.js +1 -1
- package/esm/breadcrumb/Breadcrumb.js +22 -22
- package/esm/breadcrumb/BreadcrumbContext.js +1 -1
- package/esm/breadcrumb/BreadcrumbItem.js +22 -22
- package/esm/breadcrumb/BreadcrumbProps.js +1 -1
- package/esm/breadcrumb/index.js +22 -22
- package/esm/breadcrumb/type.js +1 -1
- package/esm/button/Button.js +26 -26
- package/esm/button/index.js +26 -26
- package/esm/button/type.js +1 -1
- package/esm/calendar/Calendar.js +37 -37
- package/esm/calendar/_util.js +1 -1
- package/esm/calendar/index.js +37 -37
- package/esm/calendar/type.js +1 -1
- package/esm/card/type.js +1 -1
- package/esm/cascader/Cascader.js +48 -48
- package/esm/cascader/components/InputContent.js +32 -26
- package/esm/cascader/components/InputContent.js.map +1 -1
- package/esm/cascader/components/Item.js +34 -34
- package/esm/cascader/components/Panel.js +34 -34
- package/esm/cascader/index.js +48 -48
- package/esm/cascader/interface.js +27 -27
- package/esm/cascader/type.js +1 -1
- package/esm/cascader/utils/cascader.js +4 -4
- package/esm/cascader/utils/helper.js +2 -2
- package/esm/cascader/utils/inputContent.js +16 -16
- package/esm/cascader/utils/item.js +4 -4
- package/esm/cascader/utils/panel.js +8 -8
- package/esm/checkbox/Checkbox.js +31 -31
- package/esm/checkbox/CheckboxGroup.js +31 -31
- package/esm/checkbox/index.js +31 -31
- package/esm/checkbox/type.js +1 -1
- package/esm/comment/Comment.js +21 -21
- package/esm/comment/index.js +21 -21
- package/esm/comment/type.js +1 -1
- package/esm/common/Check.js +29 -29
- package/esm/common/FakeArrow.js +21 -21
- package/esm/common/Portal.js +8 -8
- package/esm/common.js +1 -1
- package/esm/config-provider/ConfigContext.d.ts +12 -0
- package/esm/config-provider/ConfigContext.js +21 -21
- package/esm/config-provider/ConfigProvider.d.ts +4 -0
- package/esm/config-provider/ConfigProvider.js +21 -21
- package/esm/config-provider/en_US_config.d.ts +3 -0
- package/esm/config-provider/en_US_config.js +145 -0
- package/esm/config-provider/en_US_config.js.map +1 -0
- package/esm/config-provider/index.js +21 -21
- package/esm/config-provider/type.d.ts +6 -1
- package/esm/config-provider/type.js +1 -1
- package/esm/config-provider/zh_CN_config.d.ts +3 -0
- package/esm/config-provider/zh_CN_config.js +152 -0
- package/esm/config-provider/zh_CN_config.js.map +1 -0
- package/esm/date-picker/DatePicker.js +43 -41
- package/esm/date-picker/DatePicker.js.map +1 -1
- package/esm/date-picker/base/CalendarPresets.js +26 -26
- package/esm/date-picker/base/Cell.js +21 -21
- package/esm/date-picker/base/Header.js +26 -26
- package/esm/date-picker/base/Table.js +23 -23
- package/esm/date-picker/index.js +37 -35
- package/esm/date-picker/index.js.map +1 -1
- package/esm/date-picker/panel/Date.js +30 -30
- package/esm/date-picker/panel/DateRange.js +30 -30
- package/esm/date-picker/type.js +1 -1
- package/esm/dialog/Dialog.js +27 -27
- package/esm/dialog/RenderDialog.js +11 -11
- package/esm/dialog/index.d.ts +3 -1
- package/esm/dialog/index.js +31 -29
- package/esm/dialog/index.js.map +1 -1
- package/esm/dialog/plugin.d.ts +0 -1
- package/esm/dialog/plugin.js +33 -32
- package/esm/dialog/plugin.js.map +1 -1
- package/esm/dialog/type.js +1 -1
- package/esm/divider/Divider.js +22 -22
- package/esm/divider/index.js +22 -22
- package/esm/divider/type.js +1 -1
- package/esm/drawer/Drawer.js +26 -26
- package/esm/drawer/DrawerWrapper.js +8 -8
- package/esm/drawer/index.js +26 -26
- package/esm/drawer/type.js +1 -1
- package/esm/dropdown/Dropdown.js +39 -39
- package/esm/dropdown/DropdownItem.js +30 -30
- package/esm/dropdown/DropdownMenu.js +31 -31
- package/esm/dropdown/index.js +39 -39
- package/esm/dropdown/type.js +1 -1
- package/esm/form/Form.d.ts +1 -1
- package/esm/form/Form.js +108 -82
- package/esm/form/Form.js.map +1 -1
- package/esm/form/FormContext.d.ts +2 -0
- package/esm/form/FormContext.js +2 -1
- package/esm/form/FormContext.js.map +1 -1
- package/esm/form/FormItem.d.ts +1 -1
- package/esm/form/FormItem.js +671 -60
- package/esm/form/FormItem.js.map +1 -1
- package/esm/form/formModel.js +39 -28
- package/esm/form/formModel.js.map +1 -1
- package/esm/form/index.js +49 -49
- package/esm/form/type.d.ts +14 -6
- package/esm/form/type.js +1 -1
- package/esm/grid/Col.js +22 -22
- package/esm/grid/Row.d.ts +8 -3
- package/esm/grid/Row.js +25 -25
- package/esm/grid/index.d.ts +8 -3
- package/esm/grid/index.js +25 -25
- package/esm/grid/type.js +1 -1
- package/esm/index.js +77 -76
- package/esm/index.js.map +1 -1
- package/esm/input/Input.js +55 -42
- package/esm/input/Input.js.map +1 -1
- package/esm/input/InputGroup.js +22 -22
- package/esm/input/index.js +30 -24
- package/esm/input/index.js.map +1 -1
- package/esm/input/type.d.ts +3 -2
- package/esm/input/type.js +1 -1
- package/esm/input-number/InputNumber.js +39 -31
- package/esm/input-number/InputNumber.js.map +1 -1
- package/esm/input-number/StepHandler.js +26 -26
- package/esm/input-number/index.js +32 -26
- package/esm/input-number/index.js.map +1 -1
- package/esm/input-number/type.js +1 -1
- package/esm/input-number/utils/numberUtils.js +1 -1
- package/esm/layout/Aside.js +22 -22
- package/esm/layout/Layout.js +24 -24
- package/esm/layout/index.js +24 -24
- package/esm/layout/type.js +1 -1
- package/esm/list/List.js +26 -26
- package/esm/list/ListItem.js +21 -21
- package/esm/list/ListItemMeta.js +21 -21
- package/esm/list/index.js +26 -26
- package/esm/list/type.js +1 -1
- package/esm/loading/gradient.js +24 -24
- package/esm/loading/index.d.ts +2 -1
- package/esm/loading/index.js +29 -27
- package/esm/loading/index.js.map +1 -1
- package/esm/loading/loading.js +26 -26
- package/esm/loading/loading.js.map +1 -1
- package/esm/loading/plugin.d.ts +0 -1
- package/esm/loading/plugin.js +26 -27
- package/esm/loading/plugin.js.map +1 -1
- package/esm/loading/type.js +1 -1
- package/esm/locale/LocalReceiver.d.ts +4 -0
- package/esm/locale/LocalReceiver.js +21 -21
- package/esm/locale/en_US.js +1 -1
- package/esm/locale/zh_CN.js +1 -1
- package/esm/menu/HeadMenu.js +25 -25
- package/esm/menu/Menu.js +25 -25
- package/esm/menu/MenuContext.js +1 -1
- package/esm/menu/MenuGroup.js +21 -21
- package/esm/menu/MenuItem.js +22 -22
- package/esm/menu/SubMenu.js +24 -24
- 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 +6 -6
- package/esm/menu/index.js +25 -25
- package/esm/menu/type.js +1 -1
- package/esm/message/Message.d.ts +1 -2
- package/esm/message/Message.js +35 -37
- package/esm/message/Message.js.map +1 -1
- package/esm/message/MessageClose.js +21 -21
- package/esm/message/MessageComponent.js +26 -26
- package/esm/message/MessageIcon.js +26 -26
- package/esm/message/const.js +1 -1
- package/esm/message/index.d.ts +3 -1
- package/esm/message/index.js +30 -28
- package/esm/message/index.js.map +1 -1
- package/esm/message/type.js +1 -1
- package/esm/message/useMessageClass.js +21 -21
- package/esm/notification/Notification.js +25 -25
- package/esm/notification/NotificationList.js +25 -25
- package/esm/notification/NotificationPlugin.d.ts +1 -3
- package/esm/notification/NotificationPlugin.js +26 -28
- package/esm/notification/NotificationPlugin.js.map +1 -1
- package/esm/notification/index.d.ts +2 -1
- package/esm/notification/index.js +29 -27
- package/esm/notification/index.js.map +1 -1
- package/esm/notification/type.js +1 -1
- package/esm/pagination/Pagination.js +36 -32
- package/esm/pagination/Pagination.js.map +1 -1
- package/esm/pagination/index.js +36 -32
- package/esm/pagination/index.js.map +1 -1
- package/esm/pagination/type.js +1 -1
- package/esm/pagination/validators.js +1 -1
- package/esm/popconfirm/PopConfirm.js +26 -26
- package/esm/popconfirm/PopContent.js +26 -26
- package/esm/popconfirm/index.js +26 -26
- package/esm/popconfirm/type.js +1 -1
- package/esm/popup/Popup.js +24 -24
- package/esm/popup/hooks/useTriggerProps.js +1 -1
- package/esm/popup/index.js +24 -24
- package/esm/popup/type.js +1 -1
- package/esm/popup/utils/getTransitionParams.js +1 -1
- package/esm/progress/Progress.js +22 -22
- package/esm/progress/index.js +22 -22
- package/esm/progress/type.js +1 -1
- package/esm/radio/Radio.js +30 -30
- package/esm/radio/RadioGroup.js +30 -30
- package/esm/radio/index.js +30 -30
- package/esm/radio/type.js +1 -1
- package/esm/rate/type.js +1 -1
- package/esm/select/base/Option.js +27 -27
- package/esm/select/base/OptionGroup.js +21 -21
- package/esm/select/base/PopupContent.js +31 -31
- package/esm/select/base/Select.js +36 -32
- package/esm/select/base/Select.js.map +1 -1
- package/esm/select/index.js +36 -32
- package/esm/select/index.js.map +1 -1
- package/esm/select/type.js +1 -1
- package/esm/select/util/helper.js +29 -29
- package/esm/select-input/SelectInput.js +56 -42
- package/esm/select-input/SelectInput.js.map +1 -1
- package/esm/select-input/index.js +48 -35
- package/esm/select-input/index.js.map +1 -1
- package/esm/select-input/type.d.ts +7 -2
- package/esm/select-input/type.js +1 -1
- package/esm/select-input/useMultiple.d.ts +1 -0
- package/esm/select-input/useMultiple.js +45 -31
- package/esm/select-input/useMultiple.js.map +1 -1
- package/esm/select-input/useOverlayStyle.js +8 -8
- package/esm/select-input/useSingle.d.ts +1 -1
- package/esm/select-input/useSingle.js +80 -43
- package/esm/select-input/useSingle.js.map +1 -1
- package/esm/skeleton/Skeleton.js +31 -31
- package/esm/skeleton/index.js +31 -31
- package/esm/skeleton/type.js +1 -1
- package/esm/slider/Slider.js +32 -26
- package/esm/slider/Slider.js.map +1 -1
- package/esm/slider/SliderHandleButton.js +25 -25
- package/esm/slider/index.js +32 -26
- package/esm/slider/index.js.map +1 -1
- package/esm/slider/type.js +1 -1
- package/esm/slider/utils/handleNumber.js +1 -1
- package/esm/steps/StepItem.js +21 -21
- package/esm/steps/Steps.js +21 -21
- package/esm/steps/StepsContext.js +1 -1
- package/esm/steps/index.js +21 -21
- package/esm/steps/type.js +1 -1
- package/esm/sticky-tool/type.js +1 -1
- package/esm/swiper/Swiper.js +23 -23
- package/esm/swiper/SwiperItem.js +1 -1
- package/esm/swiper/index.js +23 -23
- package/esm/swiper/type.js +1 -1
- package/esm/switch/Switch.js +26 -26
- package/esm/switch/index.js +26 -26
- package/esm/switch/type.js +1 -1
- package/esm/table/base/Table.js +38 -34
- package/esm/table/base/Table.js.map +1 -1
- package/esm/table/base/TableAsyncLoadingBody.js +26 -26
- package/esm/table/base/TableBody.js +29 -29
- package/esm/table/base/TableCell.js +24 -24
- package/esm/table/base/TableColGroup.js +1 -1
- package/esm/table/base/TableContext.js +1 -1
- package/esm/table/base/TableEmptyBody.js +23 -23
- package/esm/table/base/TableFooter.js +1 -1
- package/esm/table/base/TableHeader.js +26 -26
- package/esm/table/base/TableLoadingBody.js +5 -5
- package/esm/table/base/TableRow.js +29 -29
- package/esm/table/enhanced/Table.js +40 -40
- package/esm/table/enhanced/TableContext.js +1 -1
- package/esm/table/enhanced/useTree.js +28 -28
- package/esm/table/hooks/useColumns.js +4 -4
- package/esm/table/index.js +40 -40
- package/esm/table/primary/FilterButton.js +33 -33
- package/esm/table/primary/SorterButton.js +25 -25
- package/esm/table/primary/Table.js +40 -40
- package/esm/table/primary/expand-box.js +21 -21
- package/esm/table/primary/useExpand.js +28 -28
- package/esm/table/primary/useFilter.js +33 -33
- package/esm/table/primary/useSelect.js +33 -33
- package/esm/table/primary/useSorter.js +30 -30
- package/esm/table/type.js +1 -1
- package/esm/table/util/getRowKeyFromRowKey.js +1 -1
- package/esm/table/util/index.js +1 -1
- package/esm/tabs/TabBar.js +23 -23
- package/esm/tabs/TabNav.js +24 -24
- package/esm/tabs/TabNavItem.js +22 -22
- package/esm/tabs/TabPanel.js +21 -21
- package/esm/tabs/Tabs.d.ts +2 -1
- package/esm/tabs/Tabs.js +29 -26
- package/esm/tabs/Tabs.js.map +1 -1
- package/esm/tabs/index.js +24 -24
- package/esm/tabs/type.js +1 -1
- package/esm/tabs/useTabClass.js +21 -21
- package/esm/tag/CheckTag.js +24 -24
- package/esm/tag/Tag.js +24 -24
- package/esm/tag/index.js +24 -24
- package/esm/tag/type.js +1 -1
- package/esm/tag-input/TagInput.js +31 -25
- package/esm/tag-input/TagInput.js.map +1 -1
- package/esm/tag-input/index.js +31 -25
- package/esm/tag-input/index.js.map +1 -1
- package/esm/tag-input/type.js +1 -1
- package/esm/tag-input/useHover.js +3 -3
- package/esm/tag-input/useTagList.js +28 -28
- package/esm/tag-input/useTagList.js.map +1 -1
- package/esm/tag-input/useTagScroll.js +3 -3
- package/esm/textarea/Textarea.js +29 -29
- package/esm/textarea/index.js +29 -29
- package/esm/textarea/type.js +1 -1
- package/esm/time-picker/InputItems.js +32 -32
- package/esm/time-picker/TimePicker.js +164 -158
- package/esm/time-picker/TimePicker.js.map +1 -1
- package/esm/time-picker/TimeRangePicker.js +38 -36
- package/esm/time-picker/TimeRangePicker.js.map +1 -1
- package/esm/time-picker/consts.js +23 -23
- package/esm/time-picker/index.js +38 -36
- package/esm/time-picker/index.js.map +1 -1
- package/esm/time-picker/interfaces.js +1 -1
- package/esm/time-picker/panel/SinglePanel.js +32 -32
- package/esm/time-picker/panel/TimePickerPanel.js +35 -35
- package/esm/time-picker/panel/TimePickerRangePanel.js +35 -35
- package/esm/time-picker/type.js +1 -1
- package/esm/tooltip/Tooltip.js +25 -25
- package/esm/tooltip/index.js +25 -25
- package/esm/tooltip/type.js +1 -1
- package/esm/transfer/Transfer.js +42 -42
- package/esm/transfer/TransferList.js +38 -38
- package/esm/transfer/index.js +42 -42
- package/esm/transfer/type.js +1 -1
- package/esm/transfer/utils.js +17 -17
- package/esm/tree/Tree.js +49 -49
- package/esm/tree/TreeItem.js +33 -33
- package/esm/tree/index.js +49 -49
- package/esm/tree/interface.js +1 -1
- package/esm/tree/type.js +1 -1
- package/esm/tree/useControllable.js +3 -3
- package/esm/tree/useStore.js +41 -41
- package/esm/tree/useTreeConfig.js +23 -23
- package/esm/tree-select/TreeSelect.d.ts +2 -2
- package/esm/tree-select/TreeSelect.js +345 -432
- package/esm/tree-select/TreeSelect.js.map +1 -1
- package/esm/tree-select/TreeSelectArrow.d.ts +8 -0
- package/esm/tree-select/TreeSelectArrow.js +52 -0
- package/esm/tree-select/TreeSelectArrow.js.map +1 -0
- package/esm/tree-select/index.js +93 -81
- package/esm/tree-select/index.js.map +1 -1
- package/esm/tree-select/style/index.d.ts +1 -0
- package/esm/tree-select/style/index.js +1 -0
- package/esm/tree-select/type.js +1 -1
- package/esm/tree-select/useTreeSelectLocale.d.ts +7 -0
- package/esm/tree-select/useTreeSelectLocale.js +65 -0
- package/esm/tree-select/useTreeSelectLocale.js.map +1 -0
- package/esm/tree-select/useTreeSelectPassthoughProps.d.ts +2 -0
- package/esm/tree-select/useTreeSelectPassthoughProps.js +34 -0
- package/esm/tree-select/useTreeSelectPassthoughProps.js.map +1 -0
- package/esm/tree-select/useTreeSelectUtils.d.ts +14 -0
- package/esm/tree-select/useTreeSelectUtils.js +95 -0
- package/esm/tree-select/useTreeSelectUtils.js.map +1 -0
- package/esm/upload/boolean-render.js +1 -1
- package/esm/upload/dragger.js +31 -30
- package/esm/upload/dragger.js.map +1 -1
- package/esm/upload/hooks/useDefaultValue.js +7 -7
- package/esm/upload/hooks/useSizeLimit.js +23 -23
- package/esm/upload/index.js +42 -42
- package/esm/upload/themes/dragger-progress.d.ts +1 -0
- package/esm/upload/themes/dragger-progress.js +29 -29
- package/esm/upload/themes/dragger-progress.js.map +1 -1
- package/esm/upload/themes/flow-list/file-list.js +26 -27
- package/esm/upload/themes/flow-list/file-list.js.map +1 -1
- package/esm/upload/themes/flow-list/img-list.js +26 -27
- package/esm/upload/themes/flow-list/img-list.js.map +1 -1
- package/esm/upload/themes/flow-list/index.js +26 -27
- package/esm/upload/themes/flow-list/index.js.map +1 -1
- package/esm/upload/themes/image-card.js +28 -28
- package/esm/upload/themes/single-file.js +26 -26
- package/esm/upload/tips.js +21 -21
- package/esm/upload/type.d.ts +4 -1
- package/esm/upload/type.js +1 -1
- package/esm/upload/types.d.ts +1 -0
- package/esm/upload/types.js +1 -1
- package/esm/upload/upload-trigger.js +26 -26
- package/esm/upload/upload.js +183 -71
- package/esm/upload/upload.js.map +1 -1
- package/esm/upload/util.d.ts +0 -8
- package/esm/upload/util.js +2 -27
- package/esm/upload/util.js.map +1 -1
- package/lib/_chunks/{dep-4a5ed63e.js → dep-00597010.js} +5 -5
- package/lib/_chunks/dep-00597010.js.map +1 -0
- package/lib/_chunks/{dep-0bd03489.js → dep-05fbc204.js} +2 -2
- package/lib/_chunks/{dep-0bd03489.js.map → dep-05fbc204.js.map} +1 -1
- package/lib/_chunks/{dep-aef3883a.js → dep-0dcb1822.js} +3 -3
- package/lib/_chunks/{dep-aef3883a.js.map → dep-0dcb1822.js.map} +1 -1
- package/lib/_chunks/{dep-7b67ce1a.js → dep-118265e9.js} +2 -2
- package/lib/_chunks/{dep-7b67ce1a.js.map → dep-118265e9.js.map} +1 -1
- package/lib/_chunks/{dep-9b2b1438.js → dep-16ed699d.js} +7 -7
- package/lib/_chunks/{dep-9b2b1438.js.map → dep-16ed699d.js.map} +1 -1
- package/lib/_chunks/{dep-402b9452.js → dep-1c9c3eb3.js} +3 -3
- package/lib/_chunks/{dep-402b9452.js.map → dep-1c9c3eb3.js.map} +1 -1
- package/lib/_chunks/{dep-523fa2b0.js → dep-24f2d7a4.js} +7 -7
- package/lib/_chunks/{dep-523fa2b0.js.map → dep-24f2d7a4.js.map} +1 -1
- package/lib/_chunks/{dep-cb1cdc62.js → dep-2e128b45.js} +14 -14
- package/lib/_chunks/{dep-cb1cdc62.js.map → dep-2e128b45.js.map} +1 -1
- package/lib/_chunks/{dep-bec18e34.js → dep-320842c6.js} +4 -4
- package/lib/_chunks/{dep-bec18e34.js.map → dep-320842c6.js.map} +1 -1
- package/lib/_chunks/{dep-a249cc5c.js → dep-32dd9030.js} +3 -3
- package/lib/_chunks/{dep-a249cc5c.js.map → dep-32dd9030.js.map} +1 -1
- package/lib/_chunks/{dep-0e51d993.js → dep-346e4fd6.js} +3 -3
- package/lib/_chunks/{dep-0e51d993.js.map → dep-346e4fd6.js.map} +1 -1
- package/lib/_chunks/{dep-2314d85c.js → dep-3ee89793.js} +3 -3
- package/lib/_chunks/{dep-2314d85c.js.map → dep-3ee89793.js.map} +1 -1
- package/lib/_chunks/{dep-a2749c28.js → dep-4aa7b082.js} +5 -5
- package/lib/_chunks/{dep-a2749c28.js.map → dep-4aa7b082.js.map} +1 -1
- package/lib/_chunks/{dep-f7cad145.js → dep-4f241655.js} +4 -4
- package/lib/_chunks/{dep-f7cad145.js.map → dep-4f241655.js.map} +1 -1
- package/lib/_chunks/{dep-5cb6eca3.js → dep-564b02a2.js} +5 -5
- package/lib/_chunks/{dep-5cb6eca3.js.map → dep-564b02a2.js.map} +1 -1
- package/lib/_chunks/{dep-f0aa9b09.js → dep-57ef2d3f.js} +4 -4
- package/lib/_chunks/{dep-f0aa9b09.js.map → dep-57ef2d3f.js.map} +1 -1
- package/lib/_chunks/{dep-daf50457.js → dep-5c2617db.js} +7 -7
- package/lib/_chunks/{dep-daf50457.js.map → dep-5c2617db.js.map} +1 -1
- package/lib/_chunks/{dep-620f8a64.js → dep-61436bd3.js} +6 -62
- package/lib/_chunks/dep-61436bd3.js.map +1 -0
- package/lib/_chunks/{dep-764e11be.js → dep-66cfe827.js} +5 -5
- package/lib/_chunks/{dep-764e11be.js.map → dep-66cfe827.js.map} +1 -1
- package/lib/_chunks/{dep-831366c2.js → dep-696addc0.js} +6 -6
- package/lib/_chunks/{dep-831366c2.js.map → dep-696addc0.js.map} +1 -1
- package/lib/_chunks/{dep-a4bdef9c.js → dep-71af112c.js} +3 -3
- package/lib/_chunks/{dep-a4bdef9c.js.map → dep-71af112c.js.map} +1 -1
- package/lib/_chunks/{dep-70273f39.js → dep-720aae66.js} +4 -4
- package/lib/_chunks/{dep-70273f39.js.map → dep-720aae66.js.map} +1 -1
- package/lib/_chunks/{dep-fe8b0b86.js → dep-7dafe964.js} +2 -2
- package/lib/_chunks/{dep-fe8b0b86.js.map → dep-7dafe964.js.map} +1 -1
- package/lib/_chunks/{dep-d5c34a19.js → dep-7f9dd76c.js} +6 -5
- package/lib/_chunks/{dep-d5c34a19.js.map → dep-7f9dd76c.js.map} +1 -1
- package/lib/_chunks/{dep-20cb3e75.js → dep-802cffb1.js} +2 -2
- package/lib/_chunks/{dep-20cb3e75.js.map → dep-802cffb1.js.map} +1 -1
- package/lib/_chunks/{dep-9ac45eb1.js → dep-81c8f336.js} +4 -4
- package/lib/_chunks/{dep-9ac45eb1.js.map → dep-81c8f336.js.map} +1 -1
- package/lib/_chunks/{dep-0819af1e.js → dep-8493ce5f.js} +7 -7
- package/lib/_chunks/{dep-0819af1e.js.map → dep-8493ce5f.js.map} +1 -1
- package/lib/_chunks/{dep-136475a2.js → dep-86dbecea.js} +3 -3
- package/lib/_chunks/{dep-136475a2.js.map → dep-86dbecea.js.map} +1 -1
- package/lib/_chunks/{dep-09c2324b.js → dep-91b0bcca.js} +3 -3
- package/lib/_chunks/{dep-09c2324b.js.map → dep-91b0bcca.js.map} +1 -1
- package/lib/_chunks/{dep-6e35a7fc.js → dep-929b29ba.js} +7 -7
- package/lib/_chunks/{dep-6e35a7fc.js.map → dep-929b29ba.js.map} +1 -1
- package/lib/_chunks/{dep-ca07041d.js → dep-a26677f7.js} +6 -6
- package/lib/_chunks/{dep-ca07041d.js.map → dep-a26677f7.js.map} +1 -1
- package/lib/_chunks/{dep-3bb6344b.js → dep-a63f9fa8.js} +2 -2
- package/lib/_chunks/{dep-3bb6344b.js.map → dep-a63f9fa8.js.map} +1 -1
- package/lib/_chunks/{dep-4f843491.js → dep-a6b63432.js} +6 -6
- package/lib/_chunks/{dep-4f843491.js.map → dep-a6b63432.js.map} +1 -1
- package/lib/_chunks/{dep-b41f5892.js → dep-aabd119c.js} +3 -3
- package/lib/_chunks/{dep-b41f5892.js.map → dep-aabd119c.js.map} +1 -1
- package/lib/_chunks/{dep-3d7dec14.js → dep-aabd5522.js} +4 -4
- package/lib/_chunks/{dep-3d7dec14.js.map → dep-aabd5522.js.map} +1 -1
- package/lib/_chunks/{dep-b81d09ba.js → dep-af5977f3.js} +5 -5
- package/lib/_chunks/{dep-b81d09ba.js.map → dep-af5977f3.js.map} +1 -1
- package/lib/_chunks/{dep-310c7b73.js → dep-b709e7a0.js} +6 -6
- package/lib/_chunks/{dep-310c7b73.js.map → dep-b709e7a0.js.map} +1 -1
- package/lib/_chunks/{dep-9aad9e16.js → dep-b9af0264.js} +14 -14
- package/lib/_chunks/{dep-9aad9e16.js.map → dep-b9af0264.js.map} +1 -1
- package/lib/_chunks/{dep-4d02f91f.js → dep-b9ebc0ad.js} +7 -7
- package/lib/_chunks/{dep-4d02f91f.js.map → dep-b9ebc0ad.js.map} +1 -1
- package/lib/_chunks/{dep-e92e2bb4.js → dep-bd8388db.js} +2 -2
- package/lib/_chunks/{dep-e92e2bb4.js.map → dep-bd8388db.js.map} +1 -1
- package/lib/_chunks/{dep-3a37dd17.js → dep-c093a95b.js} +2 -2
- package/{esm/_chunks/dep-89ac56b6.js.map → lib/_chunks/dep-c093a95b.js.map} +1 -1
- package/lib/_chunks/{dep-793b82fb.js → dep-c4ccee0d.js} +63 -7
- package/lib/_chunks/dep-c4ccee0d.js.map +1 -0
- package/lib/_chunks/{dep-728c3d30.js → dep-ca7914de.js} +2 -2
- package/lib/_chunks/{dep-728c3d30.js.map → dep-ca7914de.js.map} +1 -1
- package/lib/_chunks/{dep-94ac5bc2.js → dep-d260b48d.js} +11 -11
- package/lib/_chunks/{dep-94ac5bc2.js.map → dep-d260b48d.js.map} +1 -1
- package/lib/_chunks/{dep-b4f37218.js → dep-d55e22e6.js} +6 -6
- package/lib/_chunks/{dep-b4f37218.js.map → dep-d55e22e6.js.map} +1 -1
- package/lib/_chunks/{dep-9c3742b4.js → dep-dd7a6358.js} +5 -5
- package/lib/_chunks/{dep-9c3742b4.js.map → dep-dd7a6358.js.map} +1 -1
- package/lib/_chunks/{dep-29d6b175.js → dep-e3d1b0a1.js} +3 -3
- package/lib/_chunks/{dep-29d6b175.js.map → dep-e3d1b0a1.js.map} +1 -1
- package/lib/_chunks/{dep-32b793ca.js → dep-e5b97b7b.js} +6 -6
- package/lib/_chunks/{dep-32b793ca.js.map → dep-e5b97b7b.js.map} +1 -1
- package/lib/_chunks/{dep-cae98d84.js → dep-e9d8c343.js} +2 -2
- package/lib/_chunks/{dep-cae98d84.js.map → dep-e9d8c343.js.map} +1 -1
- package/lib/_chunks/{dep-cbdb9d60.js → dep-f11349dd.js} +5 -5
- package/lib/_chunks/{dep-cbdb9d60.js.map → dep-f11349dd.js.map} +1 -1
- package/lib/_chunks/{dep-dbb6c28d.js → dep-f3ebd593.js} +5 -4
- package/lib/_chunks/{dep-dbb6c28d.js.map → dep-f3ebd593.js.map} +1 -1
- package/lib/_chunks/{dep-d5b1028b.js → dep-fe548b95.js} +2 -2
- package/lib/_chunks/{dep-d5b1028b.js.map → dep-fe548b95.js.map} +1 -1
- package/lib/_chunks/{dep-10ea05c5.js → dep-fecbd34e.js} +3 -3
- package/lib/_chunks/{dep-10ea05c5.js.map → dep-fecbd34e.js.map} +1 -1
- package/lib/_common/js/common.js +1 -1
- package/lib/_common/js/date-picker/utils.js +13 -13
- package/lib/_common/js/loading/circle-adapter.js +5 -5
- package/lib/_common/js/locale/en_US.d.ts +4 -0
- package/lib/_common/js/locale/en_US.js +5 -1
- package/lib/_common/js/locale/en_US.js.map +1 -1
- package/lib/_common/js/locale/zh_CN.d.ts +4 -0
- package/lib/_common/js/locale/zh_CN.js +5 -1
- package/lib/_common/js/locale/zh_CN.js.map +1 -1
- package/lib/_common/js/log/index.js +1 -1
- package/lib/_common/js/log/log.js +1 -1
- package/lib/_common/js/log/types.js +1 -1
- package/lib/_common/js/tree/tree-node-model.js +20 -20
- package/lib/_common/js/tree/tree-node.js +25 -25
- package/lib/_common/js/tree/tree-store.js +41 -44
- package/lib/_common/js/tree/tree-store.js.map +1 -1
- package/lib/_common/js/tree/types.js +1 -1
- package/lib/_common/js/upload/types.js +1 -1
- package/lib/_common/js/upload/xhr.js +1 -1
- package/lib/_common/js/utils/calcTextareaHeight.js +5 -5
- package/lib/_common/js/utils/helper.js +5 -5
- package/lib/_common/js/utils/set-style.js +1 -1
- package/lib/_util/callBoth.js +1 -1
- package/lib/_util/composeRefs.js +1 -1
- package/lib/_util/dom.js +6 -6
- package/lib/_util/easing.js +1 -1
- package/lib/_util/forwardRefWithStatics.js +1 -1
- package/lib/_util/getScrollbarWidth.js +1 -1
- package/lib/_util/hasScrollBar.js +1 -1
- package/lib/_util/helper.js +14 -14
- package/lib/_util/injectValue.js +1 -1
- package/lib/_util/insertCSS.js +1 -1
- package/lib/_util/isCallable.js +1 -1
- package/lib/_util/linearGradient.js +2 -2
- package/lib/_util/noop.js +1 -1
- package/lib/_util/number.js +1 -1
- package/lib/_util/setStyle.js +1 -1
- package/lib/_util/useAnimation.js +19 -19
- package/lib/_util/useClickOutside.js +1 -1
- package/lib/_util/useCommonClassName.js +19 -19
- package/lib/_util/useConfig.js +19 -19
- package/lib/_util/useDefault.js +3 -3
- package/lib/_util/useDefaultValue.js +5 -5
- package/lib/_util/useDialogEsc.js +3 -3
- package/lib/_util/useDragSorter.js +3 -3
- package/lib/_util/useLayoutEffect.js +6 -6
- package/lib/_util/usePersistFn.js +1 -1
- package/lib/_util/usePrevious.js +1 -1
- package/lib/_util/useRefAndForward.js +1 -1
- package/lib/_util/useRipple.js +20 -20
- package/lib/_util/useSetState.js +4 -4
- package/lib/_util/useSwitch.d.ts +12 -0
- package/lib/_util/useSwitch.js +36 -0
- package/lib/_util/useSwitch.js.map +1 -0
- package/lib/_util/useUpdateEffect.js +6 -6
- package/lib/addon/Addon.js +20 -20
- package/lib/addon/index.js +20 -20
- package/lib/affix/Affix.js +22 -22
- package/lib/affix/index.d.ts +2 -2
- package/lib/affix/index.js +25 -25
- package/lib/affix/index.js.map +1 -1
- package/lib/affix/type.js +1 -1
- package/lib/alert/Alert.js +33 -26
- package/lib/alert/Alert.js.map +1 -1
- package/lib/alert/index.js +23 -22
- package/lib/alert/index.js.map +1 -1
- package/lib/alert/type.js +1 -1
- package/lib/anchor/Anchor.js +31 -29
- package/lib/anchor/Anchor.js.map +1 -1
- package/lib/anchor/AnchorContext.js +1 -1
- package/lib/anchor/AnchorItem.js +20 -20
- package/lib/anchor/AnchorTarget.js +27 -26
- 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 +29 -27
- package/lib/anchor/index.js.map +1 -1
- package/lib/anchor/type.js +1 -1
- package/lib/avatar/AvararGroup.js +24 -24
- package/lib/avatar/Avatar.js +24 -24
- package/lib/avatar/AvatarContext.js +1 -1
- package/lib/avatar/index.js +24 -24
- package/lib/avatar/type.js +1 -1
- package/lib/badge/Badge.js +20 -20
- package/lib/badge/index.js +20 -20
- package/lib/badge/type.js +1 -1
- package/lib/breadcrumb/Breadcrumb.js +20 -20
- package/lib/breadcrumb/BreadcrumbContext.js +1 -1
- package/lib/breadcrumb/BreadcrumbItem.js +20 -20
- package/lib/breadcrumb/BreadcrumbProps.js +1 -1
- package/lib/breadcrumb/index.js +20 -20
- package/lib/breadcrumb/type.js +1 -1
- package/lib/button/Button.js +23 -23
- package/lib/button/index.js +23 -23
- package/lib/button/type.js +1 -1
- package/lib/calendar/Calendar.js +34 -34
- package/lib/calendar/_util.js +1 -1
- package/lib/calendar/index.js +34 -34
- package/lib/calendar/type.js +1 -1
- package/lib/card/type.js +1 -1
- package/lib/cascader/Cascader.js +45 -45
- package/lib/cascader/components/InputContent.js +30 -24
- package/lib/cascader/components/InputContent.js.map +1 -1
- package/lib/cascader/components/Item.js +31 -31
- package/lib/cascader/components/Panel.js +31 -31
- package/lib/cascader/index.js +45 -45
- package/lib/cascader/interface.js +25 -25
- package/lib/cascader/type.js +1 -1
- package/lib/cascader/utils/cascader.js +4 -4
- package/lib/cascader/utils/helper.js +2 -2
- package/lib/cascader/utils/inputContent.js +14 -14
- package/lib/cascader/utils/item.js +4 -4
- package/lib/cascader/utils/panel.js +7 -7
- package/lib/checkbox/Checkbox.js +29 -29
- package/lib/checkbox/CheckboxGroup.js +29 -29
- package/lib/checkbox/index.js +29 -29
- package/lib/checkbox/type.js +1 -1
- package/lib/comment/Comment.js +19 -19
- package/lib/comment/index.js +19 -19
- package/lib/comment/type.js +1 -1
- package/lib/common/Check.js +27 -27
- package/lib/common/FakeArrow.js +19 -19
- package/lib/common/Portal.js +6 -6
- package/lib/common.js +1 -1
- package/lib/config-provider/ConfigContext.d.ts +12 -0
- package/lib/config-provider/ConfigContext.js +19 -19
- package/lib/config-provider/ConfigProvider.d.ts +4 -0
- package/lib/config-provider/ConfigProvider.js +19 -19
- package/lib/config-provider/en_US_config.d.ts +3 -0
- package/lib/config-provider/en_US_config.js +149 -0
- package/lib/config-provider/en_US_config.js.map +1 -0
- package/lib/config-provider/index.js +19 -19
- package/lib/config-provider/type.d.ts +6 -1
- package/lib/config-provider/type.js +1 -1
- package/lib/config-provider/zh_CN_config.d.ts +3 -0
- package/lib/config-provider/zh_CN_config.js +156 -0
- package/lib/config-provider/zh_CN_config.js.map +1 -0
- package/lib/date-picker/DatePicker.js +40 -38
- package/lib/date-picker/DatePicker.js.map +1 -1
- package/lib/date-picker/base/CalendarPresets.js +23 -23
- package/lib/date-picker/base/Cell.js +19 -19
- package/lib/date-picker/base/Header.js +23 -23
- package/lib/date-picker/base/Table.js +21 -21
- package/lib/date-picker/index.js +34 -32
- package/lib/date-picker/index.js.map +1 -1
- package/lib/date-picker/panel/Date.js +27 -27
- package/lib/date-picker/panel/DateRange.js +27 -27
- package/lib/date-picker/type.js +1 -1
- package/lib/dialog/Dialog.js +24 -24
- package/lib/dialog/RenderDialog.js +9 -9
- package/lib/dialog/index.d.ts +3 -1
- package/lib/dialog/index.js +28 -26
- package/lib/dialog/index.js.map +1 -1
- package/lib/dialog/plugin.d.ts +0 -1
- package/lib/dialog/plugin.js +28 -28
- package/lib/dialog/plugin.js.map +1 -1
- package/lib/dialog/type.js +1 -1
- package/lib/divider/Divider.js +20 -20
- package/lib/divider/index.js +20 -20
- package/lib/divider/type.js +1 -1
- package/lib/drawer/Drawer.js +23 -23
- package/lib/drawer/DrawerWrapper.js +6 -6
- package/lib/drawer/index.js +23 -23
- package/lib/drawer/type.js +1 -1
- package/lib/dropdown/Dropdown.js +37 -37
- package/lib/dropdown/DropdownItem.js +28 -28
- package/lib/dropdown/DropdownMenu.js +29 -29
- package/lib/dropdown/index.js +37 -37
- package/lib/dropdown/type.js +1 -1
- package/lib/form/Form.d.ts +1 -1
- package/lib/form/Form.js +104 -78
- package/lib/form/Form.js.map +1 -1
- package/lib/form/FormContext.d.ts +2 -0
- package/lib/form/FormContext.js +2 -1
- package/lib/form/FormContext.js.map +1 -1
- package/lib/form/FormItem.d.ts +1 -1
- package/lib/form/FormItem.js +661 -50
- package/lib/form/FormItem.js.map +1 -1
- package/lib/form/formModel.js +37 -26
- package/lib/form/formModel.js.map +1 -1
- package/lib/form/index.js +45 -45
- package/lib/form/type.d.ts +14 -6
- package/lib/form/type.js +1 -1
- package/lib/grid/Col.js +20 -20
- package/lib/grid/Row.d.ts +8 -3
- package/lib/grid/Row.js +23 -23
- package/lib/grid/index.d.ts +8 -3
- package/lib/grid/index.js +23 -23
- package/lib/grid/type.js +1 -1
- package/lib/index-lib.js +82 -80
- package/lib/index-lib.js.map +1 -1
- package/lib/index.js +78 -76
- package/lib/index.js.map +1 -1
- package/lib/input/Input.js +53 -40
- package/lib/input/Input.js.map +1 -1
- package/lib/input/InputGroup.js +20 -20
- package/lib/input/index.js +28 -22
- package/lib/input/index.js.map +1 -1
- package/lib/input/type.d.ts +3 -2
- package/lib/input/type.js +1 -1
- package/lib/input-number/InputNumber.js +36 -28
- package/lib/input-number/InputNumber.js.map +1 -1
- package/lib/input-number/StepHandler.js +23 -23
- package/lib/input-number/index.js +29 -23
- package/lib/input-number/index.js.map +1 -1
- package/lib/input-number/type.js +1 -1
- package/lib/input-number/utils/numberUtils.js +1 -1
- package/lib/layout/Aside.js +20 -20
- package/lib/layout/Layout.js +22 -22
- package/lib/layout/index.js +22 -22
- package/lib/layout/type.js +1 -1
- package/lib/list/List.js +23 -23
- package/lib/list/ListItem.js +19 -19
- package/lib/list/ListItemMeta.js +19 -19
- package/lib/list/index.js +23 -23
- package/lib/list/type.js +1 -1
- package/lib/loading/gradient.js +22 -22
- package/lib/loading/index.d.ts +2 -1
- package/lib/loading/index.js +27 -25
- package/lib/loading/index.js.map +1 -1
- package/lib/loading/loading.js +24 -24
- package/lib/loading/loading.js.map +1 -1
- package/lib/loading/plugin.d.ts +0 -1
- package/lib/loading/plugin.js +23 -25
- package/lib/loading/plugin.js.map +1 -1
- package/lib/loading/type.js +1 -1
- package/lib/locale/LocalReceiver.d.ts +4 -0
- package/lib/locale/LocalReceiver.js +19 -19
- package/lib/locale/en_US.js +1 -1
- package/lib/locale/zh_CN.js +1 -1
- package/lib/menu/HeadMenu.js +23 -23
- package/lib/menu/Menu.js +23 -23
- package/lib/menu/MenuContext.js +1 -1
- package/lib/menu/MenuGroup.js +19 -19
- package/lib/menu/MenuItem.js +20 -20
- package/lib/menu/SubMenu.js +22 -22
- package/lib/menu/_util/cacularPaddingLeft.js +1 -1
- package/lib/menu/_util/checkMenuType.js +1 -1
- package/lib/menu/_util/checkSubMenuActive.js +1 -1
- package/lib/menu/_util/checkSubMenuChildExpanded.js +3 -3
- package/lib/menu/_util/checkSubMenuChildrenActive.js +1 -1
- package/lib/menu/_util/constant.js +1 -1
- package/lib/menu/_util/getSubMenuChildStyle.js +1 -1
- package/lib/menu/_util/type.js +1 -1
- package/lib/menu/hooks/useMenuContext.js +5 -5
- package/lib/menu/index.js +23 -23
- package/lib/menu/type.js +1 -1
- package/lib/message/Message.d.ts +1 -2
- package/lib/message/Message.js +31 -34
- package/lib/message/Message.js.map +1 -1
- package/lib/message/MessageClose.js +19 -19
- package/lib/message/MessageComponent.js +23 -23
- package/lib/message/MessageIcon.js +23 -23
- package/lib/message/const.js +1 -1
- package/lib/message/index.d.ts +3 -1
- package/lib/message/index.js +27 -25
- package/lib/message/index.js.map +1 -1
- package/lib/message/type.js +1 -1
- package/lib/message/useMessageClass.js +19 -19
- package/lib/notification/Notification.js +23 -23
- package/lib/notification/NotificationList.js +23 -23
- package/lib/notification/NotificationPlugin.d.ts +1 -3
- package/lib/notification/NotificationPlugin.js +23 -26
- package/lib/notification/NotificationPlugin.js.map +1 -1
- package/lib/notification/index.d.ts +2 -1
- package/lib/notification/index.js +27 -25
- package/lib/notification/index.js.map +1 -1
- package/lib/notification/type.js +1 -1
- package/lib/pagination/Pagination.js +33 -29
- package/lib/pagination/Pagination.js.map +1 -1
- package/lib/pagination/index.js +33 -29
- package/lib/pagination/index.js.map +1 -1
- package/lib/pagination/type.js +1 -1
- package/lib/pagination/validators.js +1 -1
- package/lib/popconfirm/PopConfirm.js +23 -23
- package/lib/popconfirm/PopContent.js +23 -23
- package/lib/popconfirm/index.js +23 -23
- package/lib/popconfirm/type.js +1 -1
- package/lib/popup/Popup.js +22 -22
- package/lib/popup/hooks/useTriggerProps.js +1 -1
- package/lib/popup/index.js +22 -22
- package/lib/popup/type.js +1 -1
- package/lib/popup/utils/getTransitionParams.js +1 -1
- package/lib/progress/Progress.js +20 -20
- package/lib/progress/index.js +20 -20
- package/lib/progress/type.js +1 -1
- package/lib/radio/Radio.js +28 -28
- package/lib/radio/RadioGroup.js +28 -28
- package/lib/radio/index.js +28 -28
- package/lib/radio/type.js +1 -1
- package/lib/rate/type.js +1 -1
- package/lib/select/base/Option.js +25 -25
- package/lib/select/base/OptionGroup.js +19 -19
- package/lib/select/base/PopupContent.js +29 -29
- package/lib/select/base/Select.js +33 -29
- package/lib/select/base/Select.js.map +1 -1
- package/lib/select/index.js +33 -29
- package/lib/select/index.js.map +1 -1
- package/lib/select/type.js +1 -1
- package/lib/select/util/helper.js +27 -27
- package/lib/select-input/SelectInput.js +52 -40
- package/lib/select-input/SelectInput.js.map +1 -1
- package/lib/select-input/index.js +44 -33
- package/lib/select-input/index.js.map +1 -1
- package/lib/select-input/type.d.ts +7 -2
- package/lib/select-input/type.js +1 -1
- package/lib/select-input/useMultiple.d.ts +1 -0
- package/lib/select-input/useMultiple.js +43 -28
- package/lib/select-input/useMultiple.js.map +1 -1
- package/lib/select-input/useOverlayStyle.js +7 -7
- package/lib/select-input/useSingle.d.ts +1 -1
- package/lib/select-input/useSingle.js +76 -40
- package/lib/select-input/useSingle.js.map +1 -1
- package/lib/skeleton/Skeleton.js +29 -29
- package/lib/skeleton/index.js +29 -29
- package/lib/skeleton/type.js +1 -1
- package/lib/slider/Slider.js +29 -23
- package/lib/slider/Slider.js.map +1 -1
- package/lib/slider/SliderHandleButton.js +23 -23
- package/lib/slider/index.js +29 -23
- package/lib/slider/index.js.map +1 -1
- package/lib/slider/type.js +1 -1
- package/lib/slider/utils/handleNumber.js +1 -1
- package/lib/steps/StepItem.js +19 -19
- package/lib/steps/Steps.js +19 -19
- package/lib/steps/StepsContext.js +1 -1
- package/lib/steps/index.js +19 -19
- package/lib/steps/type.js +1 -1
- package/lib/sticky-tool/type.js +1 -1
- package/lib/swiper/Swiper.js +21 -21
- package/lib/swiper/SwiperItem.js +1 -1
- package/lib/swiper/index.js +21 -21
- package/lib/swiper/type.js +1 -1
- package/lib/switch/Switch.js +23 -23
- package/lib/switch/index.js +23 -23
- package/lib/switch/type.js +1 -1
- package/lib/table/base/Table.js +35 -31
- package/lib/table/base/Table.js.map +1 -1
- package/lib/table/base/TableAsyncLoadingBody.js +23 -23
- package/lib/table/base/TableBody.js +27 -27
- package/lib/table/base/TableCell.js +22 -22
- package/lib/table/base/TableColGroup.js +1 -1
- package/lib/table/base/TableContext.js +1 -1
- package/lib/table/base/TableEmptyBody.js +21 -21
- package/lib/table/base/TableFooter.js +1 -1
- package/lib/table/base/TableHeader.js +24 -24
- package/lib/table/base/TableLoadingBody.js +4 -4
- package/lib/table/base/TableRow.js +27 -27
- package/lib/table/enhanced/Table.js +37 -37
- package/lib/table/enhanced/TableContext.js +1 -1
- package/lib/table/enhanced/useTree.js +26 -26
- package/lib/table/hooks/useColumns.js +4 -4
- package/lib/table/index.js +37 -37
- package/lib/table/primary/FilterButton.js +31 -31
- package/lib/table/primary/SorterButton.js +23 -23
- package/lib/table/primary/Table.js +37 -37
- package/lib/table/primary/expand-box.js +19 -19
- package/lib/table/primary/useExpand.js +26 -26
- package/lib/table/primary/useFilter.js +31 -31
- package/lib/table/primary/useSelect.js +31 -31
- package/lib/table/primary/useSorter.js +28 -28
- package/lib/table/type.js +1 -1
- package/lib/table/util/getRowKeyFromRowKey.js +1 -1
- package/lib/table/util/index.js +1 -1
- package/lib/tabs/TabBar.js +21 -21
- package/lib/tabs/TabNav.js +22 -22
- package/lib/tabs/TabNavItem.js +20 -20
- package/lib/tabs/TabPanel.js +19 -19
- package/lib/tabs/Tabs.d.ts +2 -1
- package/lib/tabs/Tabs.js +27 -24
- package/lib/tabs/Tabs.js.map +1 -1
- package/lib/tabs/index.js +22 -22
- package/lib/tabs/type.js +1 -1
- package/lib/tabs/useTabClass.js +19 -19
- package/lib/tag/CheckTag.js +22 -22
- package/lib/tag/Tag.js +22 -22
- package/lib/tag/index.js +22 -22
- package/lib/tag/type.js +1 -1
- package/lib/tag-input/TagInput.js +29 -23
- package/lib/tag-input/TagInput.js.map +1 -1
- package/lib/tag-input/index.js +29 -23
- package/lib/tag-input/index.js.map +1 -1
- package/lib/tag-input/type.js +1 -1
- package/lib/tag-input/useHover.js +3 -3
- package/lib/tag-input/useTagList.js +25 -25
- package/lib/tag-input/useTagList.js.map +1 -1
- package/lib/tag-input/useTagScroll.js +3 -3
- package/lib/textarea/Textarea.js +27 -27
- package/lib/textarea/index.js +27 -27
- package/lib/textarea/type.js +1 -1
- package/lib/time-picker/InputItems.js +30 -30
- package/lib/time-picker/TimePicker.js +163 -157
- package/lib/time-picker/TimePicker.js.map +1 -1
- package/lib/time-picker/TimeRangePicker.js +35 -33
- package/lib/time-picker/TimeRangePicker.js.map +1 -1
- package/lib/time-picker/consts.js +21 -21
- package/lib/time-picker/index.js +35 -33
- package/lib/time-picker/index.js.map +1 -1
- package/lib/time-picker/interfaces.js +1 -1
- package/lib/time-picker/panel/SinglePanel.js +30 -30
- package/lib/time-picker/panel/TimePickerPanel.js +32 -32
- package/lib/time-picker/panel/TimePickerRangePanel.js +32 -32
- package/lib/time-picker/type.js +1 -1
- package/lib/tooltip/Tooltip.js +23 -23
- package/lib/tooltip/index.js +23 -23
- package/lib/tooltip/type.js +1 -1
- package/lib/transfer/Transfer.js +39 -39
- package/lib/transfer/TransferList.js +35 -35
- package/lib/transfer/index.js +39 -39
- package/lib/transfer/type.js +1 -1
- package/lib/transfer/utils.js +15 -15
- package/lib/tree/Tree.js +46 -46
- package/lib/tree/TreeItem.js +30 -30
- package/lib/tree/index.js +46 -46
- package/lib/tree/interface.js +1 -1
- package/lib/tree/type.js +1 -1
- package/lib/tree/useControllable.js +3 -3
- package/lib/tree/useStore.js +39 -39
- package/lib/tree/useTreeConfig.js +21 -21
- package/lib/tree-select/TreeSelect.d.ts +2 -2
- package/lib/tree-select/TreeSelect.js +335 -423
- package/lib/tree-select/TreeSelect.js.map +1 -1
- package/lib/tree-select/TreeSelectArrow.d.ts +8 -0
- package/lib/tree-select/TreeSelectArrow.js +58 -0
- package/lib/tree-select/TreeSelectArrow.js.map +1 -0
- package/lib/tree-select/index.js +82 -72
- package/lib/tree-select/index.js.map +1 -1
- package/lib/tree-select/style/index.d.ts +1 -0
- package/lib/tree-select/type.js +1 -1
- package/lib/tree-select/useTreeSelectLocale.d.ts +7 -0
- package/lib/tree-select/useTreeSelectLocale.js +68 -0
- package/lib/tree-select/useTreeSelectLocale.js.map +1 -0
- package/lib/tree-select/useTreeSelectPassthoughProps.d.ts +2 -0
- package/lib/tree-select/useTreeSelectPassthoughProps.js +36 -0
- package/lib/tree-select/useTreeSelectPassthoughProps.js.map +1 -0
- package/lib/tree-select/useTreeSelectUtils.d.ts +14 -0
- package/lib/tree-select/useTreeSelectUtils.js +97 -0
- package/lib/tree-select/useTreeSelectUtils.js.map +1 -0
- package/lib/upload/boolean-render.js +1 -1
- package/lib/upload/dragger.js +28 -27
- package/lib/upload/dragger.js.map +1 -1
- package/lib/upload/hooks/useDefaultValue.js +6 -6
- package/lib/upload/hooks/useSizeLimit.js +21 -21
- package/lib/upload/index.js +38 -38
- package/lib/upload/themes/dragger-progress.d.ts +1 -0
- package/lib/upload/themes/dragger-progress.js +26 -26
- package/lib/upload/themes/dragger-progress.js.map +1 -1
- package/lib/upload/themes/flow-list/file-list.js +23 -24
- package/lib/upload/themes/flow-list/file-list.js.map +1 -1
- package/lib/upload/themes/flow-list/img-list.js +23 -24
- package/lib/upload/themes/flow-list/img-list.js.map +1 -1
- package/lib/upload/themes/flow-list/index.js +23 -24
- package/lib/upload/themes/flow-list/index.js.map +1 -1
- package/lib/upload/themes/image-card.js +24 -24
- package/lib/upload/themes/single-file.js +23 -23
- package/lib/upload/tips.js +19 -19
- package/lib/upload/type.d.ts +4 -1
- package/lib/upload/type.js +1 -1
- package/lib/upload/types.d.ts +1 -0
- package/lib/upload/types.js +1 -1
- package/lib/upload/upload-trigger.js +23 -23
- package/lib/upload/upload.js +178 -66
- package/lib/upload/upload.js.map +1 -1
- package/lib/upload/util.d.ts +0 -8
- package/lib/upload/util.js +1 -27
- package/lib/upload/util.js.map +1 -1
- package/package.json +9 -10
- package/es/_chunks/dep-0496aed2.js.map +0 -1
- package/es/_chunks/dep-461ab060.js.map +0 -1
- package/es/_chunks/dep-4b35aa34.js.map +0 -1
- package/es/_chunks/dep-b15d6ac2.js +0 -8
- package/es/_chunks/dep-b15d6ac2.js.map +0 -1
- package/es/_chunks/dep-b7d8b7af.js.map +0 -1
- package/es/config-provider/defaultConfig.d.ts +0 -3
- package/es/config-provider/defaultConfig.js +0 -47
- package/es/config-provider/defaultConfig.js.map +0 -1
- package/es/tree-select/TreeSelectInput.d.ts +0 -11
- package/es/tree-select/TreeSelectInput.js +0 -147
- package/es/tree-select/TreeSelectInput.js.map +0 -1
- package/es/tree-select/TreeSelectSuffix.d.ts +0 -9
- package/es/tree-select/TreeSelectSuffix.js +0 -91
- package/es/tree-select/TreeSelectSuffix.js.map +0 -1
- package/es/tree-select/TreeSelectTags.d.ts +0 -7
- package/es/tree-select/TreeSelectTags.js +0 -111
- package/es/tree-select/TreeSelectTags.js.map +0 -1
- package/es/tree-select/useTreeSelectConfig.d.ts +0 -10
- package/es/tree-select/useTreeSelectConfig.js +0 -69
- package/es/tree-select/useTreeSelectConfig.js.map +0 -1
- package/esm/_chunks/dep-0496aed2.js.map +0 -1
- package/esm/_chunks/dep-461ab060.js.map +0 -1
- package/esm/_chunks/dep-4b35aa34.js.map +0 -1
- package/esm/_chunks/dep-b15d6ac2.js +0 -8
- package/esm/_chunks/dep-b15d6ac2.js.map +0 -1
- package/esm/_chunks/dep-b7d8b7af.js.map +0 -1
- package/esm/config-provider/defaultConfig.d.ts +0 -3
- package/esm/config-provider/defaultConfig.js +0 -47
- package/esm/config-provider/defaultConfig.js.map +0 -1
- package/esm/tree-select/TreeSelectInput.d.ts +0 -11
- package/esm/tree-select/TreeSelectInput.js +0 -147
- package/esm/tree-select/TreeSelectInput.js.map +0 -1
- package/esm/tree-select/TreeSelectSuffix.d.ts +0 -9
- package/esm/tree-select/TreeSelectSuffix.js +0 -91
- package/esm/tree-select/TreeSelectSuffix.js.map +0 -1
- package/esm/tree-select/TreeSelectTags.d.ts +0 -7
- package/esm/tree-select/TreeSelectTags.js +0 -111
- package/esm/tree-select/TreeSelectTags.js.map +0 -1
- package/esm/tree-select/useTreeSelectConfig.d.ts +0 -10
- package/esm/tree-select/useTreeSelectConfig.js +0 -69
- package/esm/tree-select/useTreeSelectConfig.js.map +0 -1
- package/lib/_chunks/dep-4a5ed63e.js.map +0 -1
- package/lib/_chunks/dep-620f8a64.js.map +0 -1
- package/lib/_chunks/dep-793b82fb.js.map +0 -1
- package/lib/config-provider/defaultConfig.d.ts +0 -3
- package/lib/config-provider/defaultConfig.js +0 -51
- package/lib/config-provider/defaultConfig.js.map +0 -1
- package/lib/tree-select/TreeSelectInput.d.ts +0 -11
- package/lib/tree-select/TreeSelectInput.js +0 -150
- package/lib/tree-select/TreeSelectInput.js.map +0 -1
- package/lib/tree-select/TreeSelectSuffix.d.ts +0 -9
- package/lib/tree-select/TreeSelectSuffix.js +0 -95
- package/lib/tree-select/TreeSelectSuffix.js.map +0 -1
- package/lib/tree-select/TreeSelectTags.d.ts +0 -7
- package/lib/tree-select/TreeSelectTags.js +0 -114
- package/lib/tree-select/TreeSelectTags.js.map +0 -1
- package/lib/tree-select/useTreeSelectConfig.d.ts +0 -10
- package/lib/tree-select/useTreeSelectConfig.js +0 -74
- package/lib/tree-select/useTreeSelectConfig.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-6ef661cb.js","sources":["../../node_modules/lodash/_getPrototype.js","../../node_modules/lodash/isArrayLikeObject.js","../../node_modules/lodash/isPlainObject.js","../../node_modules/lodash/_baseRest.js"],"sourcesContent":["var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n"],"names":["overArg","require$$0","getPrototype","Object","getPrototypeOf","_getPrototype","isArrayLike","isObjectLike","require$$1","isArrayLikeObject","value","isArrayLikeObject_1","baseGetTag","require$$2","objectTag","funcProto","Function","prototype","objectProto","funcToString","toString","hasOwnProperty","objectCtorString","call","isPlainObject","proto","Ctor","constructor","isPlainObject_1","identity","overRest","setToString","baseRest","func","start","_baseRest"],"mappings":";;;;;;;;;;;;;AAAA,IAAIA,OAAO,GAAGC,QAAd;AAEA;;AACA,IAAIC,cAAY,GAAGF,OAAO,CAACG,MAAM,CAACC,cAAR,EAAwBD,MAAxB,CAA1B;IAEAE,a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ApB,EAA2B,aAA3B,KAA6CA,KAAK,CAACE,WAA9D;AACA,SAAO,OAAOD,IAAP,IAAe,UAAf,IAA6BA,IAAI,YAAYA,IAA7C,IACLP,YAAY,CAACI,IAAb,CAAkBG,IAAlB,KAA2BJ,gBAD7B;AAED;;IAEDM,eAAc,GAAGJ;;AC7DjB,IAAIK,QAAQ,GAAG5B,UAAf;AAAA,IACI6B,QAAQ,GAAGtB,SADf;AAAA,IAEIuB,WAAW,GAAGlB,YAFlB;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASmB,QAAT,CAAkBC,IAAlB,EAAwBC,KAAxB,EAA+B;AAC7B,SAAOH,WAAW,CAACD,QAAQ,CAACG,IAAD,EAAOC,KAAP,EAAcL,QAAd,CAAT,EAAkCI,IAAI,GAAG,EAAzC,CAAlB;AACD;;IAEDE,SAAc,GAAGH;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.26.0
|
|
3
3
|
* (c) 2022 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-722fe6eb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-722fe6eb.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,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.26.0
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { _ as _slicedToArray } from './dep-
|
|
7
|
+
import { _ as _slicedToArray } from './dep-e9eb270f.js';
|
|
8
8
|
import React, { forwardRef, useState, useImperativeHandle, useContext } from 'react';
|
|
9
9
|
import { CheckCircleFilledIcon, InfoCircleFilledIcon, CloseIcon } from 'tdesign-icons-react';
|
|
10
|
-
import { _ as _defineProperty } from './dep-
|
|
11
|
-
import { _ as _toConsumableArray } from './dep-
|
|
10
|
+
import { _ as _defineProperty } from './dep-ada514b9.js';
|
|
11
|
+
import { _ as _toConsumableArray } from './dep-d08c8845.js';
|
|
12
12
|
import ReactDOM from 'react-dom';
|
|
13
13
|
import useConfig from '../_util/useConfig.js';
|
|
14
14
|
import noop from '../_util/noop.js';
|
|
@@ -300,4 +300,4 @@ var NotificationComponent = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
300
300
|
});
|
|
301
301
|
|
|
302
302
|
export { NotificationComponent as N, NotificationRemoveContext as a, fetchListInstance as f, listMap as l };
|
|
303
|
-
//# sourceMappingURL=dep-
|
|
303
|
+
//# sourceMappingURL=dep-7243000c.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dep-7243000c.js","sources":["../../src/notification/NotificationList.tsx","../../src/notification/Notification.tsx"],"sourcesContent":["import React, { forwardRef, useImperativeHandle, useState } from 'react';\nimport ReactDOM from 'react-dom';\nimport useConfig from '../_util/useConfig';\nimport {\n NotificationInfoOptions,\n NotificationInstance,\n NotificationPlacementList,\n NotificationThemeList,\n TdNotificationProps,\n} from './type';\nimport { Styles } from '../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 id: string;\n key: string;\n theme: NotificationThemeList;\n style: Styles;\n ref: React.RefObject<NotificationInstance>;\n}\n\ninterface NotificationListProps {\n attach: HTMLElement;\n zIndex: number;\n placement: NotificationPlacementList;\n}\n\nlet seed = 0;\n\nexport const listMap: Map<NotificationPlacementList, NotificationListInstance> = new Map();\n\nexport const NotificationRemoveContext = React.createContext<(key: string) => void>(noop);\n\nconst NotificationList = forwardRef<NotificationListInstance, NotificationListProps>((props, ref) => {\n const { placement, zIndex } = props;\n const { classPrefix } = useConfig();\n const [list, setList] = useState<NotificationListOpenOption[]>([]);\n\n const remove = (key: string) => {\n setList((oldList) => {\n const index = oldList.findIndex((item) => item.key === key);\n if (index !== -1) {\n const tempList = [...oldList];\n tempList.splice(index, 1);\n return [...tempList];\n }\n return oldList;\n });\n };\n\n const calOffset = (offset: string | number) => {\n if (!offset) return '16px';\n return isNaN(Number(offset)) ? offset : `${offset}px`;\n };\n\n const push = (theme: NotificationThemeList, options: NotificationInfoOptions): Promise<NotificationInstance> => {\n const key = String((seed += 1));\n let style: React.CSSProperties = {\n margin: '16px',\n };\n if (Array.isArray(options.offset)) {\n const [horizontal, vertical] = [...options.offset];\n const horizontalOffset = calOffset(horizontal);\n const verticalOffset = calOffset(vertical);\n\n style = {\n marginTop: verticalOffset,\n marginBottom: verticalOffset,\n marginLeft: horizontalOffset,\n marginRight: horizontalOffset,\n };\n }\n const ref = React.createRef<NotificationInstance>();\n\n setList((oldList) => [\n ...oldList,\n {\n ...options,\n key,\n theme,\n style,\n ref,\n id: key,\n },\n ]);\n\n return Promise.resolve(ref.current);\n };\n\n const removeAll = () => {\n setList([]);\n };\n\n useImperativeHandle(ref, () => ({\n push,\n remove,\n removeAll,\n }));\n\n return (\n <NotificationRemoveContext.Provider value={remove}>\n <div className={`${classPrefix}-notification__show--${placement}`} style={{ zIndex }}>\n {list.map((props) => {\n const { onDurationEnd = noop, onCloseBtnClick = noop } = props;\n return (\n <NotificationComponent\n ref={props.ref}\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 </NotificationRemoveContext.Provider>\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 React, { forwardRef, useContext } from 'react';\nimport { CheckCircleFilledIcon, CloseIcon, InfoCircleFilledIcon } from 'tdesign-icons-react';\nimport { NotificationRemoveContext } from './NotificationList';\nimport noop from '../_util/noop';\nimport useConfig from '../_util/useConfig';\n\nimport { NotificationInstance, TdNotificationProps } from './type';\nimport { Styles } from '../common';\n\nconst blockName = 'notification';\n\nexport interface NotificationProps extends TdNotificationProps {\n style?: Styles;\n id?: string;\n}\n\nexport const NotificationComponent = 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 id = '',\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 const remove = useContext(NotificationRemoveContext);\n React.useImperativeHandle(ref as React.Ref<NotificationInstance>, () => ({ close: () => remove(id) }));\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\n // 调整优先级,icon 优先级最高\n if (React.isValidElement(icon)) {\n return <IconWrapper>{icon}</IconWrapper>;\n }\n\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 return null;\n };\n\n return (\n <div 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\nexport default NotificationComponent;\n"],"names":["seed","listMap","Map","NotificationRemoveContext","React","createContext","noop","NotificationList","forwardRef","props","ref","placement","zIndex","useConfig","classPrefix","useState","list","setList","remove","key","oldList","index","findIndex","item","tempList","splice","calOffset","offset","isNaN","Number","push","theme","options","String","style","margin","Array","isArray","horizontal","vertical","horizontalOffset","verticalOffset","marginTop","marginBottom","marginLeft","marginRight","ref2","createRef","id","Promise","resolve","current","removeAll","useImperativeHandle","createElement","Provider","value","className","map","props2","onDurationEnd","onCloseBtnClick","NotificationComponent","e","fetchListInstance","attach","has","get","hasExec","ReactDOM","render","instance","set","blockName","title","content","icon","closeBtn","footer","duration","prefixCls","useCallback","args","forEach","concat","block","element","modifier","useContext","close","useEffect","timer","setTimeout","clearTimeout","renderIcon","IconWrapper","children","isValidElement","CheckCircleFilledIcon","indexOf","InfoCircleFilledIcon","CloseIcon","onClick"],"mappings":";;;;;;;;;;;;;;;;;;AAKA,IAAIA,IAAI,GAAG,CAAX;IACaC,OAAO,kBAAmB,IAAIC,GAAJ;IAC1BC,yBAAyB,gBAAGC,KAAK,CAACC,aAAN,CAAoBC,IAApB;AACzC,IAAMC,gBAAgB,gBAAGC,UAAU,CAAC,UAACC,KAAD,EAAQC,GAAR,EAAgB;AAClD,MAAQC,SAAR,GAA8BF,KAA9B,CAAQE,SAAR;AAAA,MAAmBC,MAAnB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A,CAAC,EAADA;AAAF,WAAD,CAAf;AACD;AAH+C,OAA3B,EAIpBc,QAJoB,CAAvB;AAKD;;AACD,WAAO,IAAP;AACD,GAjBU,EAJQ,CAFc,EAuBzB,YAAM;AACZ,QAAI,OAAOF,OAAP,KAAmB,QAAvB,EAAiC;AAC/B,4BAAuBvE,KAAK,CAACkD,aAAN,CAAoB,KAApB,EAA2B;AAChDG,QAAAA,SAAS,EAAEuB,SAAS,CAAC,CAACP,SAAD,EAAY,SAAZ,CAAD;AAD4B,OAA3B,EAEpBE,OAFoB,CAAvB;AAGD;;AACD,sBAAIvE,KAAK,CAAC6F,cAAN,CAAqBtB,OAArB,CAAJ,EACE,OAAOA,OAAP;AACF,WAAO,IAAP;AACD,GATM,EAvB0B,eAgC3BvE,KAAK,CAAC6F,cAAN,CAAqBnB,MAArB,oBAAgD1E,KAAK,CAACkD,aAAN,CAAoB,KAApB,EAA2B;AAC/EG,IAAAA,SAAS,EAAEuB,SAAS,CAAC,CAACP,SAAD,EAAY,QAAZ,CAAD;AAD2D,GAA3B,EAEnDK,MAFmD,CAhCrB,EAkCrB,OAAOA,MAAP,KAAkB,UAAlB,mBAAgD1E,KAAK,CAACkD,aAAN,CAAoB,KAApB,EAA2B;AACrFG,IAAAA,SAAS,EAAEuB,SAAS,CAAC,CAACP,SAAD,EAAY,QAAZ,CAAD;AADiE,GAA3B,EAEzDK,MAAM,EAFmD,CAlC3B,CAHV,CAAvB;AAwCD,CA3G8C;;;;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.26.0
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { c as commonjsGlobal } from './dep-
|
|
8
|
-
import { _ as _typeof } from './dep-
|
|
7
|
+
import { c as commonjsGlobal } from './dep-c5e6a539.js';
|
|
8
|
+
import { _ as _typeof } from './dep-87647568.js';
|
|
9
9
|
|
|
10
10
|
var freeGlobal$1 = _typeof(commonjsGlobal) == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
11
11
|
var _freeGlobal = freeGlobal$1;
|
|
@@ -126,4 +126,4 @@ function baseGetTag(value) {
|
|
|
126
126
|
var _baseGetTag = baseGetTag;
|
|
127
127
|
|
|
128
128
|
export { _baseGetTag as _, _Symbol$2 as a, _root as b, _freeGlobal as c };
|
|
129
|
-
//# sourceMappingURL=dep-
|
|
129
|
+
//# sourceMappingURL=dep-76bc9a8e.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-76bc9a8e.js","sources":["../../node_modules/lodash/_freeGlobal.js","../../node_modules/lodash/_root.js","../../node_modules/lodash/_Symbol.js","../../node_modules/lodash/_getRawTag.js","../../node_modules/lodash/_objectToString.js","../../node_modules/lodash/_baseGetTag.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\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 * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n"],"names":["freeGlobal","global","Object","_freeGlobal","require$$0","freeSelf","self","root","Function","_root","Symbol","_Symbol","objectProto","prototype","hasOwnProperty","nativeObjectToString","toString","symToStringTag","toStringTag","undefined","getRawTag","value","isOwn","call","tag","unmasked","e","result","_getRawTag","objectToString","_objectToString","require$$1","require$$2","nullTag","undefinedTag","base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
|
|
2
|
+
* tdesign v0.26.0
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { _ as _defineProperty } from './dep-
|
|
8
|
-
import { _ as _slicedToArray } from './dep-
|
|
9
|
-
import { _ as _objectWithoutProperties } from './dep-
|
|
7
|
+
import { _ as _defineProperty } from './dep-ada514b9.js';
|
|
8
|
+
import { _ as _slicedToArray } from './dep-e9eb270f.js';
|
|
9
|
+
import { _ as _objectWithoutProperties } from './dep-9f6be541.js';
|
|
10
10
|
import React, { useContext, useState, useRef, useEffect } from 'react';
|
|
11
11
|
import useResizeObserver from 'use-resize-observer';
|
|
12
12
|
import classNames from 'classnames';
|
|
@@ -219,4 +219,4 @@ Avatar.displayName = "Avatar";
|
|
|
219
219
|
var _Avatar = Avatar;
|
|
220
220
|
|
|
221
221
|
export { Group as G, _Avatar as _ };
|
|
222
|
-
//# sourceMappingURL=dep-
|
|
222
|
+
//# sourceMappingURL=dep-83d9f47c.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-21668d59.js","sources":["../../src/avatar/AvararGroup.tsx","../../src/avatar/Avatar.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\nimport Avatar from './Avatar';\nimport Popup from '../popup/Popup';\nimport useConfig from '../_util/useConfig';\nimport { AvatarContextProvider } from './AvatarContext';\nimport { TdAvatarGroupProps } from './type';\nimport { StyledProps } from '../common';\n\nexport interface AvatarGroupProps extends TdAvatarGroupProps, StyledProps {\n children?: React.ReactNode;\n}\nconst Group: React.FC<AvatarGroupProps> = (props) => {\n const { classPrefix } = useConfig();\n const preClass = `${classPrefix}-avatar`;\n const {\n className,\n cascading = 'right-up',\n collapseAvatar,\n max,\n placement,\n popupProps,\n size = 'medium',\n children,\n ...avatarGroupProps\n } = props;\n\n const childrenList = React.Children.toArray(children);\n let allChildrenList;\n if (childrenList.length > 0) {\n allChildrenList = childrenList.map((child: JSX.Element, index: number) =>\n React.cloneElement(child, { key: `avatar-group-item-${index}`, ...child.props }),\n );\n }\n const groupClass = classNames(`${preClass}-group`, className, {\n [`${preClass}--offset-right`]: cascading === 'right-up',\n [`${preClass}--offset-left`]: cascading === 'left-up',\n });\n const childrenCount = childrenList.length;\n if (max && childrenCount > max) {\n const showList = allChildrenList.slice(0, max);\n const hiddenList = allChildrenList.slice(max, childrenCount);\n const popupNum = `+${childrenCount - max}`;\n const popupMergeProps = { ...popupProps, placement };\n const popupNodes = popupProps ? (\n <Popup {...popupMergeProps}>\n {collapseAvatar ? <Avatar size={size}>{collapseAvatar}</Avatar> : <Avatar size={size}>{popupNum}</Avatar>}\n </Popup>\n ) : (\n <Popup key=\"avatar-popup-key\" placement={placement} content={hiddenList} trigger=\"hover\" showArrow>\n {collapseAvatar ? <Avatar size={size}>{collapseAvatar}</Avatar> : <Avatar size={size}>{popupNum}</Avatar>}\n </Popup>\n );\n showList.push(popupNodes);\n return (\n <AvatarContextProvider size={size}>\n <div className={groupClass}>{showList}</div>\n </AvatarContextProvider>\n );\n }\n return (\n <AvatarContextProvider size={size}>\n <div className={groupClass} {...avatarGroupProps}>\n {allChildrenList}\n </div>\n </AvatarContextProvider>\n );\n};\nexport default Group;\n","import React, { useRef, useState, useEffect, useContext, Ref } from 'react';\nimport useResizeObserver from 'use-resize-observer';\nimport classNames from 'classnames';\nimport useConfig from '../_util/useConfig';\nimport forwardRefWithStatics from '../_util/forwardRefWithStatics';\nimport useCommonClassName from '../_util/useCommonClassName';\nimport composeRefs from '../_util/composeRefs';\nimport { TdAvatarProps } from './type';\nimport { StyledProps } from '../common';\nimport AvatarContext from './AvatarContext';\nimport AvatarGroup from './AvararGroup';\n\nexport interface AvatarProps extends TdAvatarProps, StyledProps {\n children?: React.ReactNode;\n}\n\nconst Avatar = forwardRefWithStatics(\n (props: AvatarProps, ref: Ref<HTMLElement>) => {\n const {\n alt,\n hideOnLoadFailed = false,\n icon,\n image,\n shape = 'circle',\n size: avatarSize = 'default',\n onError,\n children,\n style,\n className,\n ...avatarProps\n } = props;\n const groupSize = useContext(AvatarContext);\n const { classPrefix } = useConfig();\n const [scale, setScale] = useState(1);\n const [isImgExist, setIsImgExist] = useState(true);\n const avatarRef = useRef<HTMLElement>(null);\n const avatarChildrenRef = useRef<HTMLElement>(null);\n const size = avatarSize === 'default' ? groupSize : avatarSize;\n const gap = 4;\n const handleScale = () => {\n if (!avatarChildrenRef.current || !avatarRef.current) {\n return;\n }\n const childrenWidth = avatarChildrenRef.current.offsetWidth;\n const avatarWidth = avatarRef.current.offsetWidth;\n\n if (childrenWidth !== 0 && avatarWidth !== 0) {\n if (gap * 2 < avatarWidth) {\n setScale(avatarWidth - gap * 2 < childrenWidth ? (avatarWidth - gap * 2) / childrenWidth : 1);\n }\n }\n };\n const { ref: observerRef } = useResizeObserver<HTMLDivElement>({\n onResize: handleScale,\n });\n\n const handleImgLoadError = () => {\n onError && onError();\n !hideOnLoadFailed && setIsImgExist(false);\n };\n\n useEffect(() => {\n setIsImgExist(true);\n setScale(1);\n }, [props.image]);\n\n useEffect(() => {\n handleScale();\n }, []);\n\n const { SIZE } = useCommonClassName();\n const numSizeStyle: React.CSSProperties =\n size && !SIZE[size]\n ? {\n width: size,\n height: size,\n fontSize: `${Number.parseInt(size, 10) / 2}px`,\n }\n : {};\n const imageStyle: React.CSSProperties =\n size && !SIZE[size]\n ? {\n width: size,\n height: size,\n }\n : {};\n\n const preClass = `${classPrefix}-avatar`;\n\n const avatarClass = classNames(preClass, className, {\n [SIZE[size]]: !!SIZE[size],\n [`${preClass}--${shape}`]: !!shape,\n [`${preClass}-icon`]: !!icon,\n });\n\n let content;\n if (image && isImgExist) {\n content = <img src={image} alt={alt} style={imageStyle} onError={handleImgLoadError} />;\n } else if (icon) {\n content = icon;\n } else {\n const childrenStyle: React.CSSProperties = {\n transform: `scale(${scale})`,\n };\n content = (\n <span ref={composeRefs(ref, avatarChildrenRef, observerRef) as any} style={childrenStyle}>\n {children}\n </span>\n );\n }\n return (\n <div\n ref={composeRefs(ref, avatarRef) as any}\n className={avatarClass}\n style={{ ...numSizeStyle, ...style }}\n {...avatarProps}\n >\n {content}\n </div>\n );\n },\n { Group: AvatarGroup },\n);\n\nAvatar.displayName = 'Avatar';\n\nexport default Avatar;\n"],"names":["Group","props","useConfig","classPrefix","preClass","className","cascading","collapseAvatar","max","placement","popupProps","size","children","avatarGroupProps","childrenList","React","Children","toArray","allChildrenList","length","map","child","index","cloneElement","key","groupClass","classNames","childrenCount","showList","slice","hiddenList","popupNum","popupMergeProps","popupNodes","createElement","Popup","Avatar","content","trigger","showArrow","push","AvatarContextProvider","forwardRefWithStatics","ref","alt","hideOnLoadFailed","icon","image","shape","avatarSize","onError","style","avatarProps","groupSize","useContext","AvatarContext","useState","scale","setScale","isImgExist","setIsImgExist","avatarRef","useRef","avatarChildrenRef","gap","handleScale","current","childrenWidth","offsetWidth","avatarWidth","useResizeObserver","onResize","observerRef","handleImgLoadError","useEffect","useCommonClassName","SIZE","numSizeStyle","width","height","fontSize","Number","parseInt","imageStyle","avatarClass","src","childrenStyle","transform","composeRefs","AvatarGroup","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;IAMMA,KAAK,GAAG,SAARA,KAAQ,CAACC,KAAD,EAAW;AAAA;;AACvB,mBAAwBC,SAAS,EAAjC;AAAA,MAAQC,WAAR,cAAQA,WAAR;;AACA,MAAMC,QAAQ,aAAMD,WAAN,YAAd;;AACA,MACEE,SADF,GAUIJ,KAVJ,CACEI,SADF;AAAA,yBAUIJ,KAVJ,CAEEK,SAFF;AAAA,MAEEA,SAFF,iCAEc,UAFd;AAAA,MAGEC,cAHF,GAUIN,KAVJ,CAGEM,cAHF;AAAA,MAIEC,GAJF,GAUIP,KAVJ,CAIEO,GAJF;AAAA,MAKEC,SALF,GAUIR,KAVJ,CAKEQ,SALF;AAAA,MAMEC,UANF,GAUIT,KAVJ,CAMES,UANF;AAAA,oBAUIT,KAVJ,CAOEU,I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AHuB,CAA1B;AAID;;AACD,wBAAuBG,KAAK,CAACmB,aAAN,CAAoB,KAApB;AACrBS,IAAAA,GAAG,EAAE6C,WAAW,CAAC7C,GAAD,EAAMkB,SAAN,CADK;AAErBxD,IAAAA,SAAS,EAAE+E,WAFU;AAGrBjC,IAAAA,KAAK,kCAAO0B,YAAP,GAAwB1B,KAAxB;AAHgB,KAIlBC,WAJkB,GAKpBf,OALoB,CAAvB;AAMD,CAzFmC,EAyFjC;AAAErC,EAAAA,KAAK,EAAEyF;AAAT,CAzFiC,CAApC;AA0FArD,MAAM,CAACsD,WAAP,GAAqB,QAArB;AACA,cAAetD,MAAf;;;;"}
|
|
1
|
+
{"version":3,"file":"dep-83d9f47c.js","sources":["../../src/avatar/AvararGroup.tsx","../../src/avatar/Avatar.tsx"],"sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\nimport Avatar from './Avatar';\nimport Popup from '../popup/Popup';\nimport useConfig from '../_util/useConfig';\nimport { AvatarContextProvider } from './AvatarContext';\nimport { TdAvatarGroupProps } from './type';\nimport { StyledProps } from '../common';\n\nexport interface AvatarGroupProps extends TdAvatarGroupProps, StyledProps {\n children?: React.ReactNode;\n}\nconst Group: React.FC<AvatarGroupProps> = (props) => {\n const { classPrefix } = useConfig();\n const preClass = `${classPrefix}-avatar`;\n const {\n className,\n cascading = 'right-up',\n collapseAvatar,\n max,\n placement,\n popupProps,\n size = 'medium',\n children,\n ...avatarGroupProps\n } = props;\n\n const childrenList = React.Children.toArray(children);\n let allChildrenList;\n if (childrenList.length > 0) {\n allChildrenList = childrenList.map((child: JSX.Element, index: number) =>\n React.cloneElement(child, { key: `avatar-group-item-${index}`, ...child.props }),\n );\n }\n const groupClass = classNames(`${preClass}-group`, className, {\n [`${preClass}--offset-right`]: cascading === 'right-up',\n [`${preClass}--offset-left`]: cascading === 'left-up',\n });\n const childrenCount = childrenList.length;\n if (max && childrenCount > max) {\n const showList = allChildrenList.slice(0, max);\n const hiddenList = allChildrenList.slice(max, childrenCount);\n const popupNum = `+${childrenCount - max}`;\n const popupMergeProps = { ...popupProps, placement };\n const popupNodes = popupProps ? (\n <Popup {...popupMergeProps}>\n {collapseAvatar ? <Avatar size={size}>{collapseAvatar}</Avatar> : <Avatar size={size}>{popupNum}</Avatar>}\n </Popup>\n ) : (\n <Popup key=\"avatar-popup-key\" placement={placement} content={hiddenList} trigger=\"hover\" showArrow>\n {collapseAvatar ? <Avatar size={size}>{collapseAvatar}</Avatar> : <Avatar size={size}>{popupNum}</Avatar>}\n </Popup>\n );\n showList.push(popupNodes);\n return (\n <AvatarContextProvider size={size}>\n <div className={groupClass}>{showList}</div>\n </AvatarContextProvider>\n );\n }\n return (\n <AvatarContextProvider size={size}>\n <div className={groupClass} {...avatarGroupProps}>\n {allChildrenList}\n </div>\n </AvatarContextProvider>\n );\n};\nexport default Group;\n","import React, { useRef, useState, useEffect, useContext, Ref } from 'react';\nimport useResizeObserver from 'use-resize-observer';\nimport classNames from 'classnames';\nimport useConfig from '../_util/useConfig';\nimport forwardRefWithStatics from '../_util/forwardRefWithStatics';\nimport useCommonClassName from '../_util/useCommonClassName';\nimport composeRefs from '../_util/composeRefs';\nimport { TdAvatarProps } from './type';\nimport { StyledProps } from '../common';\nimport AvatarContext from './AvatarContext';\nimport AvatarGroup from './AvararGroup';\n\nexport interface AvatarProps extends TdAvatarProps, StyledProps {\n children?: React.ReactNode;\n}\n\nconst Avatar = forwardRefWithStatics(\n (props: AvatarProps, ref: Ref<HTMLElement>) => {\n const {\n alt,\n hideOnLoadFailed = false,\n icon,\n image,\n shape = 'circle',\n size: avatarSize = 'default',\n onError,\n children,\n style,\n className,\n ...avatarProps\n } = props;\n const groupSize = useContext(AvatarContext);\n const { classPrefix } = useConfig();\n const [scale, setScale] = useState(1);\n const [isImgExist, setIsImgExist] = useState(true);\n const avatarRef = useRef<HTMLElement>(null);\n const avatarChildrenRef = useRef<HTMLElement>(null);\n const size = avatarSize === 'default' ? groupSize : avatarSize;\n const gap = 4;\n const handleScale = () => {\n if (!avatarChildrenRef.current || !avatarRef.current) {\n return;\n }\n const childrenWidth = avatarChildrenRef.current.offsetWidth;\n const avatarWidth = avatarRef.current.offsetWidth;\n\n if (childrenWidth !== 0 && avatarWidth !== 0) {\n if (gap * 2 < avatarWidth) {\n setScale(avatarWidth - gap * 2 < childrenWidth ? (avatarWidth - gap * 2) / childrenWidth : 1);\n }\n }\n };\n const { ref: observerRef } = useResizeObserver<HTMLDivElement>({\n onResize: handleScale,\n });\n\n const handleImgLoadError = () => {\n onError && onError();\n !hideOnLoadFailed && setIsImgExist(false);\n };\n\n useEffect(() => {\n setIsImgExist(true);\n setScale(1);\n }, [props.image]);\n\n useEffect(() => {\n handleScale();\n }, []);\n\n const { SIZE } = useCommonClassName();\n const numSizeStyle: React.CSSProperties =\n size && !SIZE[size]\n ? {\n width: size,\n height: size,\n fontSize: `${Number.parseInt(size, 10) / 2}px`,\n }\n : {};\n const imageStyle: React.CSSProperties =\n size && !SIZE[size]\n ? {\n width: size,\n height: size,\n }\n : {};\n\n const preClass = `${classPrefix}-avatar`;\n\n const avatarClass = classNames(preClass, className, {\n [SIZE[size]]: !!SIZE[size],\n [`${preClass}--${shape}`]: !!shape,\n [`${preClass}-icon`]: !!icon,\n });\n\n let content;\n if (image && isImgExist) {\n content = <img src={image} alt={alt} style={imageStyle} onError={handleImgLoadError} />;\n } else if (icon) {\n content = icon;\n } else {\n const childrenStyle: React.CSSProperties = {\n transform: `scale(${scale})`,\n };\n content = (\n <span ref={composeRefs(ref, avatarChildrenRef, observerRef) as any} style={childrenStyle}>\n {children}\n </span>\n );\n }\n return (\n <div\n ref={composeRefs(ref, avatarRef) as any}\n className={avatarClass}\n style={{ ...numSizeStyle, ...style }}\n {...avatarProps}\n >\n {content}\n </div>\n );\n },\n { Group: AvatarGroup },\n);\n\nAvatar.displayName = 'Avatar';\n\nexport default Avatar;\n"],"names":["Group","props","useConfig","classPrefix","preClass","className","cascading","collapseAvatar","max","placement","popupProps","size","children","avatarGroupProps","childrenList","React","Children","toArray","allChildrenList","length","map","child","index","cloneElement","key","groupClass","classNames","childrenCount","showList","slice","hiddenList","popupNum","popupMergeProps","popupNodes","createElement","Popup","Avatar","content","trigger","showArrow","push","AvatarContextProvider","forwardRefWithStatics","ref","alt","hideOnLoadFailed","icon","image","shape","avatarSize","onError","style","avatarProps","groupSize","useContext","AvatarContext","useState","scale","setScale","isImgExist","setIsImgExist","avatarRef","useRef","avatarChildrenRef","gap","handleScale","current","childrenWidth","offsetWidth","avatarWidth","useResizeObserver","onResize","observerRef","handleImgLoadError","useEffect","useCommonClassName","SIZE","numSizeStyle","width","height","fontSize","Number","parseInt","imageStyle","avatarClass","src","childrenStyle","transform","composeRefs","AvatarGroup","displayName"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;IAMMA,KAAK,GAAG,SAARA,KAAQ,CAACC,KAAD,EAAW;AAAA;;AACvB,mBAAwBC,SAAS,EAAjC;AAAA,MAAQC,WAAR,cAAQA,WAAR;;AACA,MAAMC,QAAQ,aAAMD,WAAN,YAAd;;AACA,MACEE,SADF,GAUIJ,KAVJ,CACEI,SADF;AAAA,yBAUIJ,KAVJ,CAEEK,SAFF;AAAA,MAEEA,SAFF,iCAEc,UAFd;AAAA,MAGEC,cAHF,GAUIN,KAVJ,CAGEM,cAHF;AAAA,MAIEC,GAJF,GAUIP,KAVJ,CAIEO,GAJF;AAAA,MAKEC,SALF,GAUIR,KAVJ,CAKEQ,SALF;AAAA,MAMEC,UANF,GAUIT,KAVJ,CAMES,UANF;AAAA,oBAUIT,KAVJ,CAOEU,IAPF;AAAA,MAOEA,IAPF,4BAOS,QAPT;AAAA,MAQEC,QARF,GAUIX,KAVJ,CAQEW,QARF;AAAA,MASKC,gBATL,4BAUIZ,KAVJ;;AAWA,MAAMa,YAAY,GAAGC,KAAK,CAACC,QAAN,CAAeC,OAAf,CAAuBL,QAAvB,CAArB;AACA,MAAIM,eAAJ;;AACA,MAAIJ,YAAY,CAACK,MAAb,GAAs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Bf,OALoB,CAAvB;AAMD,CAzFmC,EAyFjC;AAAErC,EAAAA,KAAK,EAAEyF;AAAT,CAzFiC,CAApC;AA0FArD,MAAM,CAACsD,WAAP,GAAqB,QAArB;AACA,cAAetD,MAAf;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.26.0
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -15,4 +15,4 @@ function _typeof(obj) {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export { _typeof as _ };
|
|
18
|
-
//# sourceMappingURL=dep-
|
|
18
|
+
//# sourceMappingURL=dep-87647568.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-87647568.js","sources":["../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}"],"names":["_typeof","obj","Symbol","iterator","constructor","prototype"],"mappings":";;;;;;AAAe,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;AACnC;;AAEA,SAAOD,OAAO,GAAG,cAAc,OAAOE,MAArB,IAA+B,YAAY,OAAOA,MAAM,CAACC,QAAzD,GAAoE,UAAUF,GAAV,EAAe;AAClG,WAAO,OAAOA,GAAd;AACD,GAFgB,GAEb,UAAUA,GAAV,EAAe;AACjB,WAAOA,GAAG,IAAI,cAAc,OAAOC,MAA5B,IAAsCD,GAAG,CAACG,WAAJ,KAAoBF,MAA1D,IAAoED,GAAG,KAAKC,MAAM,CAACG,SAAnF,GAA+F,QAA/F,GAA0G,OAAOJ,GAAxH;AACD,GAJM,EAIJD,OAAO,CAACC,GAAD,CAJV;AAKD;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.26.0
|
|
3
3
|
* (c) 2022 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 {
|
|
13
|
-
import { t as toString_1 } from './dep-
|
|
7
|
+
import './dep-c5e6a539.js';
|
|
8
|
+
import { i as isArray_1 } from './dep-d945c24c.js';
|
|
9
|
+
import './dep-43841bc9.js';
|
|
10
|
+
import { _ as _typeof } from './dep-87647568.js';
|
|
11
|
+
import { i as isSymbol_1 } from './dep-6a9e2ff5.js';
|
|
12
|
+
import { b as _MapCache } from './dep-4506ade7.js';
|
|
13
|
+
import { t as toString_1 } from './dep-9c495ff4.js';
|
|
14
14
|
|
|
15
15
|
var isArray$1 = isArray_1,
|
|
16
16
|
isSymbol$1 = isSymbol_1;
|
|
@@ -249,4 +249,4 @@ function baseGet(object, path) {
|
|
|
249
249
|
var _baseGet = baseGet;
|
|
250
250
|
|
|
251
251
|
export { _baseGet as _, _castPath as a, _toKey as b, _isKey as c };
|
|
252
|
-
//# sourceMappingURL=dep-
|
|
252
|
+
//# sourceMappingURL=dep-8d8a59c5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-f6037fb6.js","sources":["../../node_modules/lodash/_isKey.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 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","MapCache","FUNC_ERROR_TEXT","memoize","func","resolver","TypeError","memoized","args","arguments","key","apply","cache","has","get","result","set","Cache","memoize_1","MAX_MEMOIZE_SIZE","memoizeCapped","size","clear","_memoizeCapped","rePropName","reEscapeChar","stringToPath","string","charCodeAt","push","replace","match","number","quote","subString","_stringToPath","require$$2","toString","require$$3","castPath","_castPath","INFINITY","toKey","_toKey","baseGet","path","index","length","undefined","_baseGet"],"mappings":";;;;;;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;AACA,SAASC,OAAT,CAAe/C,KAAf,EAAsB;AACpB,MAAI,OAAOA,KAAP,IAAgB,QAAhB,IAA4BL,QAAQ,CAACK,KAAD,CAAxC,EAAiD;AAC/C,WAAOA,KAAP;AACD;;AACD,MAAIoB,MAAM,GAAIpB,KAAK,GAAG,EAAtB;AACA,SAAQoB,MAAM,IAAI,GAAV,IAAkB,IAAIpB,KAAL,IAAe,CAAC8C,QAAlC,GAA8C,IAA9C,GAAqD1B,MAA5D;AACD;;IAED4B,MAAc,GAAGD;;ACpBjB,IAAIH,QAAQ,GAAGlD,SAAf;AAAA,IACIqD,KAAK,GAAGnD,MADZ;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASqD,OAAT,CAAiBhD,MAAjB,EAAyBiD,IAAzB,EAA+B;AAC7BA,EAAAA,IAAI,GAAGN,QAAQ,CAACM,IAAD,EAAOjD,MAAP,CAAf;AAEA,MAAIkD,KAAK,GAAG,CAAZ;AAAA,MACIC,MAAM,GAAGF,IAAI,CAACE,MADlB;;AAGA,SAAOnD,MAAM,IAAI,IAAV,IAAkBkD,KAAK,GAAGC,MAAjC,EAAyC;AACvCnD,IAAAA,MAAM,GAAGA,MAAM,CAAC8C,KAAK,CAACG,IAAI,CAACC,KAAK,EAAN,CAAL,CAAN,CAAf;AACD;;AACD,SAAQA,KAAK,IAAIA,KAAK,IAAIC,MAAnB,GAA6BnD,MAA7B,GAAsCoD,SAA7C;AACD;;IAEDC,QAAc,GAAGL;;;;"}
|
|
1
|
+
{"version":3,"file":"dep-8d8a59c5.js","sources":["../../node_modules/lodash/_isKey.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 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","MapCache","FUNC_ERROR_TEXT","memoize","func","resolver","TypeError","memoized","args","arguments","key","apply","cache","has","get","result","set","Cache","memoize_1","MAX_MEMOIZE_SIZE","memoizeCapped","size","clear","_memoizeCapped","rePropName","reEscapeChar","stringToPath","string","charCodeAt","push","replace","match","number","quote","subString","_stringToPath","require$$2","toString","require$$3","castPath","_castPath","INFINITY","toKey","_toKey","baseGet","path","index","length","undefined","_baseGet"],"mappings":";;;;;;;;;;;;;;AAAA,IAAIA,SAAO,GAAGC,SAAd;AAAA,IACIC,UAAQ,GAAGC,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gB,QAAhB,IAA4BL,QAAQ,CAACK,KAAD,CAAxC,EAAiD;AAC/C,WAAOA,KAAP;AACD;;AACD,MAAIoB,MAAM,GAAIpB,KAAK,GAAG,EAAtB;AACA,SAAQoB,MAAM,IAAI,GAAV,IAAkB,IAAIpB,KAAL,IAAe,CAAC8C,QAAlC,GAA8C,IAA9C,GAAqD1B,MAA5D;AACD;;IAED4B,MAAc,GAAGD;;ACpBjB,IAAIH,QAAQ,GAAGlD,SAAf;AAAA,IACIqD,KAAK,GAAGnD,MADZ;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASqD,OAAT,CAAiBhD,MAAjB,EAAyBiD,IAAzB,EAA+B;AAC7BA,EAAAA,IAAI,GAAGN,QAAQ,CAACM,IAAD,EAAOjD,MAAP,CAAf;AAEA,MAAIkD,KAAK,GAAG,CAAZ;AAAA,MACIC,MAAM,GAAGF,IAAI,CAACE,MADlB;;AAGA,SAAOnD,MAAM,IAAI,IAAV,IAAkBkD,KAAK,GAAGC,MAAjC,EAAyC;AACvCnD,IAAAA,MAAM,GAAGA,MAAM,CAAC8C,KAAK,CAACG,IAAI,CAACC,KAAK,EAAN,CAAL,CAAN,CAAf;AACD;;AACD,SAAQA,KAAK,IAAIA,KAAK,IAAIC,MAAnB,GAA6BnD,MAA7B,GAAsCoD,SAA7C;AACD;;IAEDC,QAAc,GAAGL;;;;"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.
|
|
2
|
+
* tdesign v0.26.0
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import './dep-
|
|
8
|
-
import {
|
|
9
|
-
import { a as _Map, i as isArguments_1 } from './dep-
|
|
10
|
-
import { b as _root } from './dep-
|
|
11
|
-
import { a as isObject_1 } from './dep-
|
|
12
|
-
import { b as _getPrototype } from './dep-
|
|
13
|
-
import { b as _isPrototype, i as isBuffer$1, a as isTypedArray_1 } from './dep-
|
|
14
|
-
import { i as isArray_1 } from './dep-
|
|
15
|
-
import './dep-
|
|
16
|
-
import { _ as _isIndex } from './dep-
|
|
17
|
-
import { i as isArrayLike_1 } from './dep-
|
|
7
|
+
import './dep-c5e6a539.js';
|
|
8
|
+
import { f as _ListCache, b as _MapCache, e as _assignValue, _ as _baseAssignValue } from './dep-4506ade7.js';
|
|
9
|
+
import { a as _Map, i as isArguments_1 } from './dep-96268fc3.js';
|
|
10
|
+
import { b as _root } from './dep-76bc9a8e.js';
|
|
11
|
+
import { a as isObject_1 } from './dep-08a538d7.js';
|
|
12
|
+
import { b as _getPrototype } from './dep-6ef661cb.js';
|
|
13
|
+
import { b as _isPrototype, i as isBuffer$1, a as isTypedArray_1 } from './dep-5e81ed02.js';
|
|
14
|
+
import { i as isArray_1 } from './dep-d945c24c.js';
|
|
15
|
+
import './dep-43841bc9.js';
|
|
16
|
+
import { _ as _isIndex } from './dep-f81e5642.js';
|
|
17
|
+
import { i as isArrayLike_1 } from './dep-a3b25bd0.js';
|
|
18
18
|
|
|
19
19
|
var ListCache$2 = _ListCache;
|
|
20
20
|
/**
|
|
@@ -506,4 +506,4 @@ function keysIn(object) {
|
|
|
506
506
|
var keysIn_1 = keysIn;
|
|
507
507
|
|
|
508
508
|
export { _copyObject as _, _cloneBuffer$1 as a, _cloneTypedArray as b, _copyArray as c, _initCloneObject as d, _Stack as e, _Uint8Array as f, _cloneArrayBuffer as g, _arrayLikeKeys as h, keysIn_1 as k };
|
|
509
|
-
//# sourceMappingURL=dep-
|
|
509
|
+
//# sourceMappingURL=dep-8fea0649.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-e5363865.js","sources":["../../node_modules/lodash/_stackClear.js","../../node_modules/lodash/_stackDelete.js","../../node_modules/lodash/_stackGet.js","../../node_modules/lodash/_stackHas.js","../../node_modules/lodash/_stackSet.js","../../node_modules/lodash/_Stack.js","../../node_modules/lodash/_cloneBuffer.js","../../node_modules/lodash/_Uint8Array.js","../../node_modules/lodash/_cloneArrayBuffer.js","../../node_modules/lodash/_cloneTypedArray.js","../../node_modules/lodash/_copyArray.js","../../node_modules/lodash/_baseCreate.js","../../node_modules/lodash/_initCloneObject.js","../../node_modules/lodash/_copyObject.js","../../node_modules/lodash/_baseTimes.js","../../node_modules/lodash/_arrayLikeKeys.js","../../node_modules/lodash/_nativeKeysIn.js","../../node_modules/lodash/_baseKeysIn.js","../../node_modules/lodash/keysIn.js"],"sourcesContent":["var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\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 stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\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 stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\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 * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\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 * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n"],"names":["ListCache","require$$0","stackClear","__data__","size","_stackClear","stackDelete","key","data","result","_stackDelete","stackGet","get","_stackGet","stackHas","has","_stackHas","Map","require$$1","MapCache","require$$2","LARGE_ARRAY_SIZE","stackSet","value","pairs","length","push","set","_stackSet","require$$3","require$$4","require$$5","Stack","entries","prototype","clear","_Stack","root","freeExports","exports","nodeType","freeModule","module","moduleExports","Buffer","undefined","allocUnsafe","cloneBuffer","buffer","isDeep","slice","constructor","copy","Uint8Array","_Uint8Array","cloneArrayBuffer","arrayBuffer","byteLength","_cloneArrayBuffer","cloneTypedArray","typedArray","byteOffset","_cloneTypedArray","copyArray","source","array","index","Array","_copyArray","isObject","objectCreate","Object","create","baseCreate","object","proto","_baseCreate","getPrototype","isPrototype","initCloneObject","_initCloneObject","assignValue","baseAssignValue","copyObject","props","customizer","isNew","newValue","_copyObject","baseTimes","n","iteratee","_baseTimes","isArguments","isArray","isBuffer","isIndex","isTypedArray","objectProto","hasOwnProperty","arrayLikeKeys","inherited","isArr","isArg","isBuff","isType","skipIndexes","String","call","_arrayLikeKeys","nativeKeysIn","_nativeKeysIn","baseKeysIn","isProto","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MAAD,EAAS,IAAT,CAAnC,GAAoDsC,UAAU,CAACtC,MAAD,CAArE;AACD;;IAED2C,QAAc,GAAGD;;;;"}
|
|
1
|
+
{"version":3,"file":"dep-8fea0649.js","sources":["../../node_modules/lodash/_stackClear.js","../../node_modules/lodash/_stackDelete.js","../../node_modules/lodash/_stackGet.js","../../node_modules/lodash/_stackHas.js","../../node_modules/lodash/_stackSet.js","../../node_modules/lodash/_Stack.js","../../node_modules/lodash/_cloneBuffer.js","../../node_modules/lodash/_Uint8Array.js","../../node_modules/lodash/_cloneArrayBuffer.js","../../node_modules/lodash/_cloneTypedArray.js","../../node_modules/lodash/_copyArray.js","../../node_modules/lodash/_baseCreate.js","../../node_modules/lodash/_initCloneObject.js","../../node_modules/lodash/_copyObject.js","../../node_modules/lodash/_baseTimes.js","../../node_modules/lodash/_arrayLikeKeys.js","../../node_modules/lodash/_nativeKeysIn.js","../../node_modules/lodash/_baseKeysIn.js","../../node_modules/lodash/keysIn.js"],"sourcesContent":["var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\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 stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\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 stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\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 * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\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 * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n"],"names":["ListCache","require$$0","stackClear","__data__","size","_stackClear","stackDelete","key","data","result","_stackDelete","stackGet","get","_stackGet","stackHas","has","_stackHas","Map","require$$1","MapCache","require$$2","LARGE_ARRAY_SIZE","stackSet","value","pairs","length","push","set","_stackSet","require$$3","require$$4","require$$5","Stack","entries","prototype","clear","_Stack","root","freeExports","exports","nodeType","freeModule","module","moduleExports","Buffer","undefined","allocUnsafe","cloneBuffer","buffer","isDeep","slice","constructor","copy","Uint8Array","_Uint8Array","cloneArrayBuffer","arrayBuffer","byteLength","_cloneArrayBuffer","cloneTypedArray","typedArray","byteOffset","_cloneTypedArray","copyArray","source","array","index","Array","_copyArray","isObject","objectCreate","Object","create","baseCreate","object","proto","_baseCreate","getPrototype","isPrototype","initCloneObject","_initCloneObject","assignValue","baseAssignValue","copyObject","props","customizer","isNew","newValue","_copyObject","baseTimes","n","iteratee","_baseTimes","isArguments","isArray","isBuffer","isIndex","isTypedArray","objectProto","hasOwnProperty","arrayLikeKeys","inherited","isArr","isArg","isBuff","isType","skipIndexes","String","call","_arrayLikeKeys","nativeKeysIn","_nativeKeysIn","baseKeysIn","isProto","_baseKeysIn","isArrayLike","keysIn","keysIn_1"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAIA,WAAS,GAAGC,UAAhB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,YAAT,GAAsB;AACpB,OAAKC,QAAL,GAAgB,IAAIH,WAAJ,EAAhB;AACA,OAAKI,IAAL,GAAY,CAAZ;AACD;;IAEDC,WAAc,GAAGH;;;;;;;;;;;;ACLjB,SAASI,aAAT,CAAqBC,GAArB,EAA0B;AACxB,MAAIC,IAAI,GAAG,KAAKL,QAAhB;AAAA,MACIM,MAAM,GAAGD,IAAI,CAAC,QAAD,CAAJ,CAAeD,GAAf,CADb;AAGA,OAAKH,IAAL,GAAYI,IAAI,CAACJ,IAAjB;AACA,SAAOK,MAAP;AACD;;IAEDC,YAAc,GAAGJ;;;;;;;;;;;;ACRjB,SAASK,UAAT,CAAkBJ,GAAlB,EAAuB;AACrB,SAAO,KAAKJ,QAAL,CAAcS,GAAd,CAAkBL,GAAlB,CAAP;AACD;;IAEDM,SAAc,GAAGF;;;;;;;;;;;;ACJjB,SAASG,UAAT,CAAkBP,GAAlB,EAAuB;AACrB,SAAO,KAAKJ,QAAL,CAAcY,GAAd,CAAkBR,GAAlB,CAAP;AACD;;IAEDS,SAAc,GAAGF;;ACbjB,IAAId,WAAS,GAAGC,UAAhB;AAAA,IACIgB,GAAG,GAAGC,IADV;AAAA,IAEIC,QAAQ,GAAGC,SAFf;AAIA;;AACA,IAAIC,gBAAgB,GAAG,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