tdesign-react 0.25.1 → 0.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/dist/tdesign.css +124 -46
- package/dist/tdesign.css.map +1 -1
- package/dist/tdesign.js +1673 -1269
- package/dist/tdesign.js.map +1 -1
- package/dist/tdesign.min.css +1 -1
- package/dist/tdesign.min.css.map +1 -1
- package/dist/tdesign.min.js +4 -4
- package/dist/tdesign.min.js.map +1 -1
- package/es/_chunks/{dep-f9242fec.js → dep-04a6c042.js} +2 -2
- package/es/_chunks/dep-04a6c042.js.map +1 -0
- package/es/_chunks/{dep-a180486a.js → dep-0529bc9f.js} +8 -8
- package/{esm/_chunks/dep-a180486a.js.map → es/_chunks/dep-0529bc9f.js.map} +1 -1
- package/es/_chunks/{dep-ff79fb39.js → dep-0c0fc89b.js} +7 -7
- package/es/_chunks/{dep-ff79fb39.js.map → dep-0c0fc89b.js.map} +1 -1
- package/{esm/_chunks/dep-b327e031.js → es/_chunks/dep-0c32a524.js} +15 -15
- package/es/_chunks/{dep-b327e031.js.map → dep-0c32a524.js.map} +1 -1
- package/{esm/_chunks/dep-65c1d541.js → es/_chunks/dep-10b8d252.js} +3 -3
- package/es/_chunks/{dep-65c1d541.js.map → dep-10b8d252.js.map} +1 -1
- package/{esm/_chunks/dep-48a0d26a.js → es/_chunks/dep-1a698d53.js} +5 -5
- package/es/_chunks/{dep-48a0d26a.js.map → dep-1a698d53.js.map} +1 -1
- package/es/_chunks/{dep-90eb9c48.js → dep-1aa31dc5.js} +5 -5
- package/{esm/_chunks/dep-90eb9c48.js.map → es/_chunks/dep-1aa31dc5.js.map} +1 -1
- package/{esm/_chunks/dep-7b5ee09e.js → es/_chunks/dep-1dcd6f7a.js} +2 -2
- package/es/_chunks/{dep-7b5ee09e.js.map → dep-1dcd6f7a.js.map} +1 -1
- package/es/_chunks/{dep-861da54c.js → dep-2837cbee.js} +8 -8
- package/es/_chunks/{dep-861da54c.js.map → dep-2837cbee.js.map} +1 -1
- package/{esm/_chunks/dep-bce0ce39.js → es/_chunks/dep-301db282.js} +3 -3
- package/es/_chunks/{dep-bce0ce39.js.map → dep-301db282.js.map} +1 -1
- package/{esm/_chunks/dep-9b59ab07.js → es/_chunks/dep-34ec8ef2.js} +3 -3
- package/es/_chunks/{dep-9b59ab07.js.map → dep-34ec8ef2.js.map} +1 -1
- package/{esm/_chunks/dep-491ab1c7.js → es/_chunks/dep-3e5f80c6.js} +7 -7
- package/es/_chunks/{dep-491ab1c7.js.map → dep-3e5f80c6.js.map} +1 -1
- package/es/_chunks/{dep-0b5c7f77.js → dep-46c643ed.js} +16 -16
- package/{esm/_chunks/dep-0b5c7f77.js.map → es/_chunks/dep-46c643ed.js.map} +1 -1
- package/es/_chunks/{dep-8f43c3b0.js → dep-46cc1aa3.js} +9 -9
- package/{esm/_chunks/dep-8f43c3b0.js.map → es/_chunks/dep-46cc1aa3.js.map} +1 -1
- package/es/_chunks/{dep-c0b93c23.js → dep-4b07e198.js} +2 -2
- package/es/_chunks/{dep-c0b93c23.js.map → dep-4b07e198.js.map} +1 -1
- package/es/_chunks/{dep-c1490cf6.js → dep-4cc11596.js} +8 -8
- package/es/_chunks/{dep-c1490cf6.js.map → dep-4cc11596.js.map} +1 -1
- package/{esm/_chunks/dep-695a3ead.js → es/_chunks/dep-4e18f91a.js} +4 -4
- package/es/_chunks/{dep-695a3ead.js.map → dep-4e18f91a.js.map} +1 -1
- package/{esm/_chunks/dep-bb55dd2f.js → es/_chunks/dep-50c12e42.js} +6 -6
- package/es/_chunks/{dep-bb55dd2f.js.map → dep-50c12e42.js.map} +1 -1
- package/es/_chunks/dep-5303d900.js +303 -0
- package/es/_chunks/dep-5303d900.js.map +1 -0
- package/{esm/_chunks/dep-c008b410.js → es/_chunks/dep-5a75ddfa.js} +4 -4
- package/es/_chunks/{dep-c008b410.js.map → dep-5a75ddfa.js.map} +1 -1
- package/{esm/_chunks/dep-a62bdfd5.js → es/_chunks/dep-5c961b06.js} +8 -8
- package/es/_chunks/{dep-a62bdfd5.js.map → dep-5c961b06.js.map} +1 -1
- package/es/_chunks/{dep-f7f44030.js → dep-5e33104a.js} +2 -2
- package/es/_chunks/{dep-f7f44030.js.map → dep-5e33104a.js.map} +1 -1
- package/{esm/_chunks/dep-6d5c2511.js → es/_chunks/dep-660f1c88.js} +6 -6
- package/es/_chunks/{dep-6d5c2511.js.map → dep-660f1c88.js.map} +1 -1
- package/{esm/_chunks/dep-0b34f475.js → es/_chunks/dep-6ad29962.js} +6 -6
- package/{esm/_chunks/dep-0b34f475.js.map → es/_chunks/dep-6ad29962.js.map} +1 -1
- package/es/_chunks/dep-6fb8cfe3.js +8 -0
- package/es/_chunks/dep-6fb8cfe3.js.map +1 -0
- package/es/_chunks/{dep-8823a92e.js → dep-70c9bb2d.js} +7 -7
- package/{esm/_chunks/dep-8823a92e.js.map → es/_chunks/dep-70c9bb2d.js.map} +1 -1
- package/{esm/_chunks/dep-c50b5bb9.js → es/_chunks/dep-75144258.js} +4 -4
- package/es/_chunks/{dep-c50b5bb9.js.map → dep-75144258.js.map} +1 -1
- package/{esm/_chunks/dep-f3331392.js → es/_chunks/dep-7d734ce4.js} +3 -3
- package/es/_chunks/{dep-f3331392.js.map → dep-7d734ce4.js.map} +1 -1
- package/{esm/_chunks/dep-4ba0cdcf.js → es/_chunks/dep-7f022b70.js} +5 -5
- package/es/_chunks/{dep-4ba0cdcf.js.map → dep-7f022b70.js.map} +1 -1
- package/es/_chunks/{dep-c5782559.js → dep-81c9a485.js} +7 -7
- package/es/_chunks/{dep-c5782559.js.map → dep-81c9a485.js.map} +1 -1
- package/es/_chunks/{dep-1d476548.js → dep-8210af29.js} +3 -3
- package/es/_chunks/{dep-1d476548.js.map → dep-8210af29.js.map} +1 -1
- package/{esm/_chunks/dep-3f70a0f5.js → es/_chunks/dep-8a07113f.js} +3 -3
- package/es/_chunks/{dep-3f70a0f5.js.map → dep-8a07113f.js.map} +1 -1
- package/es/_chunks/{dep-fd49ee45.js → dep-8aee3ad0.js} +4 -4
- package/{esm/_chunks/dep-fd49ee45.js.map → es/_chunks/dep-8aee3ad0.js.map} +1 -1
- package/{esm/_chunks/dep-4979c2b8.js → es/_chunks/dep-98412f1b.js} +5 -5
- package/es/_chunks/{dep-4979c2b8.js.map → dep-98412f1b.js.map} +1 -1
- package/{esm/_chunks/dep-e3baf9a5.js → es/_chunks/dep-a64706b5.js} +13 -13
- package/es/_chunks/{dep-e3baf9a5.js.map → dep-a64706b5.js.map} +1 -1
- package/{esm/_chunks/dep-deeece0d.js → es/_chunks/dep-a9ccbf72.js} +4 -4
- package/{esm/_chunks/dep-deeece0d.js.map → es/_chunks/dep-a9ccbf72.js.map} +1 -1
- package/{esm/_chunks/dep-a7731315.js → es/_chunks/dep-aabdac78.js} +4 -4
- package/es/_chunks/{dep-a7731315.js.map → dep-aabdac78.js.map} +1 -1
- package/es/_chunks/{dep-35ecd49c.js → dep-ac5499d2.js} +7 -7
- package/es/_chunks/{dep-35ecd49c.js.map → dep-ac5499d2.js.map} +1 -1
- package/{esm/_chunks/dep-611402ed.js → es/_chunks/dep-b260b040.js} +9 -9
- package/{esm/_chunks/dep-611402ed.js.map → es/_chunks/dep-b260b040.js.map} +1 -1
- package/es/_chunks/{dep-91fd8fa6.js → dep-bce06e2a.js} +5 -5
- package/{esm/_chunks/dep-91fd8fa6.js.map → es/_chunks/dep-bce06e2a.js.map} +1 -1
- package/{esm/_chunks/dep-fc9c9fdd.js → es/_chunks/dep-bf036b5a.js} +7 -7
- package/{esm/_chunks/dep-fc9c9fdd.js.map → es/_chunks/dep-bf036b5a.js.map} +1 -1
- package/es/_chunks/{dep-896efa92.js → dep-bfb938d4.js} +4 -4
- package/es/_chunks/{dep-896efa92.js.map → dep-bfb938d4.js.map} +1 -1
- package/es/_chunks/{dep-09442174.js → dep-c323da2e.js} +9 -9
- package/{esm/_chunks/dep-09442174.js.map → es/_chunks/dep-c323da2e.js.map} +1 -1
- package/{esm/_chunks/dep-2f489a35.js → es/_chunks/dep-d02297e1.js} +4 -4
- package/{esm/_chunks/dep-2f489a35.js.map → es/_chunks/dep-d02297e1.js.map} +1 -1
- package/{esm/_chunks/dep-427158bb.js → es/_chunks/dep-dceb9e91.js} +4 -4
- package/es/_chunks/{dep-427158bb.js.map → dep-dceb9e91.js.map} +1 -1
- package/es/_chunks/{dep-0ff35b5e.js → dep-ddc8d78b.js} +5 -5
- package/es/_chunks/{dep-0ff35b5e.js.map → dep-ddc8d78b.js.map} +1 -1
- package/{esm/_chunks/dep-360d6135.js → es/_chunks/dep-df7c3c40.js} +7 -7
- package/es/_chunks/{dep-360d6135.js.map → dep-df7c3c40.js.map} +1 -1
- package/es/_chunks/{dep-c869a7bd.js → dep-e4bd3f59.js} +2 -2
- package/es/_chunks/{dep-c869a7bd.js.map → dep-e4bd3f59.js.map} +1 -1
- package/{esm/_chunks/dep-36516db7.js → es/_chunks/dep-e6b11dd2.js} +10 -8
- package/es/_chunks/dep-e6b11dd2.js.map +1 -0
- package/{esm/_chunks/dep-989dca4b.js → es/_chunks/dep-e7080b2b.js} +4 -4
- package/{esm/_chunks/dep-989dca4b.js.map → es/_chunks/dep-e7080b2b.js.map} +1 -1
- package/{esm/_chunks/dep-46120f73.js → es/_chunks/dep-ed38fb3f.js} +3 -3
- package/es/_chunks/{dep-46120f73.js.map → dep-ed38fb3f.js.map} +1 -1
- package/es/_chunks/{dep-aa302200.js → dep-f6c4b0e3.js} +5 -5
- package/{esm/_chunks/dep-aa302200.js.map → es/_chunks/dep-f6c4b0e3.js.map} +1 -1
- package/es/_chunks/{dep-2e56daa5.js → dep-f8ed3d80.js} +4 -4
- package/es/_chunks/{dep-2e56daa5.js.map → dep-f8ed3d80.js.map} +1 -1
- package/es/_chunks/dep-fc73063f.js +146 -0
- package/es/_chunks/dep-fc73063f.js.map +1 -0
- package/{esm/_chunks/dep-bfd83090.js → es/_chunks/dep-fe1a5fed.js} +9 -9
- package/es/_chunks/{dep-bfd83090.js.map → dep-fe1a5fed.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.js +1 -1
- package/es/_common/js/locale/zh_CN.js +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 -151
- package/es/_common/js/tree/tree-node-model.js.map +1 -1
- package/es/_common/js/tree/tree-node.js +27 -26
- package/es/_common/js/tree/tree-node.js.map +1 -1
- package/es/_common/js/tree/tree-store.js +35 -34
- 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/calcTextareaHeight.js.map +1 -1
- package/es/_common/js/utils/helper.js +5 -5
- package/es/_common/js/utils/set-style.js +1 -1
- package/es/_util/callBoth.js +1 -1
- package/es/_util/composeRefs.js +1 -1
- package/es/_util/dom.js +8 -8
- package/es/_util/easing.js +1 -1
- package/es/_util/forwardRefWithStatics.js +1 -1
- package/es/_util/getScrollbarWidth.js +1 -1
- package/es/_util/hasScrollBar.js +1 -1
- package/es/_util/helper.js +16 -16
- package/es/_util/injectValue.js +1 -1
- package/es/_util/insertCSS.js +1 -1
- package/es/_util/isCallable.js +1 -1
- package/es/_util/linearGradient.js +2 -2
- package/es/_util/noop.js +1 -1
- package/es/_util/number.js +1 -1
- package/es/_util/setStyle.js +1 -1
- package/es/_util/useClickOutside.js +1 -1
- package/es/_util/useCommonClassName.js +20 -20
- package/es/_util/useConfig.js +20 -20
- package/es/_util/useDefault.js +3 -3
- package/es/_util/useDefaultValue.js +5 -5
- package/es/_util/useDragSorter.d.ts +24 -0
- package/es/_util/useDragSorter.js +96 -0
- package/es/_util/useDragSorter.js.map +1 -0
- 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 +21 -21
- package/es/_util/useSetState.js +4 -4
- package/es/_util/useUpdateEffect.js +8 -8
- package/es/addon/Addon.js +21 -21
- package/es/addon/index.js +21 -21
- package/es/affix/Affix.js +23 -23
- package/es/affix/index.js +23 -23
- package/es/affix/style/index.js +1 -1
- package/es/affix/type.js +1 -1
- package/es/alert/Alert.js +23 -23
- package/es/alert/index.js +23 -23
- package/es/alert/style/index.js +1 -1
- package/es/alert/type.js +1 -1
- package/es/anchor/Anchor.js +26 -26
- package/es/anchor/AnchorContext.js +1 -1
- package/es/anchor/AnchorItem.js +21 -21
- package/es/anchor/AnchorTarget.js +24 -24
- package/es/anchor/_util/clipboard.js +1 -1
- package/es/anchor/_util/dom.js +1 -1
- package/es/anchor/index.js +26 -26
- package/es/anchor/style/index.js +1 -1
- package/es/anchor/type.js +1 -1
- package/es/avatar/AvararGroup.js +25 -25
- package/es/avatar/Avatar.js +25 -25
- package/es/avatar/AvatarContext.js +1 -1
- package/es/avatar/index.js +25 -25
- package/es/avatar/style/index.js +1 -1
- package/es/avatar/type.js +1 -1
- package/es/badge/Badge.js +21 -21
- package/es/badge/index.js +21 -21
- package/es/badge/style/index.js +1 -1
- package/es/badge/type.js +1 -1
- package/es/breadcrumb/Breadcrumb.js +21 -21
- package/es/breadcrumb/BreadcrumbContext.js +1 -1
- package/es/breadcrumb/BreadcrumbItem.js +21 -21
- package/es/breadcrumb/BreadcrumbProps.js +1 -1
- package/es/breadcrumb/index.js +21 -21
- package/es/breadcrumb/style/index.js +1 -1
- package/es/breadcrumb/type.js +1 -1
- package/es/button/Button.js +24 -24
- package/es/button/index.js +24 -24
- package/es/button/style/index.css +7 -0
- package/es/button/style/index.js +1 -1
- package/es/button/type.js +1 -1
- package/es/calendar/Calendar.js +34 -34
- package/es/calendar/_util.js +1 -1
- package/es/calendar/index.js +34 -34
- 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 +55 -48
- package/es/cascader/Cascader.js.map +1 -1
- package/es/cascader/components/InputContent.js +25 -25
- package/es/cascader/components/Item.js +32 -32
- package/es/cascader/components/Panel.js +38 -38
- package/es/cascader/components/Panel.js.map +1 -1
- package/es/cascader/components/style/index.js +1 -1
- package/es/cascader/index.js +46 -45
- package/es/cascader/index.js.map +1 -1
- package/es/cascader/interface.js +27 -26
- package/es/cascader/interface.js.map +1 -1
- package/es/cascader/style/index.js +1 -1
- package/es/cascader/type.js +1 -1
- package/es/cascader/utils/cascader.js +10 -5
- package/es/cascader/utils/cascader.js.map +1 -1
- package/es/cascader/utils/helper.js +2 -2
- package/es/cascader/utils/inputContent.js +17 -17
- package/es/cascader/utils/inputContent.js.map +1 -1
- package/es/cascader/utils/item.js +4 -4
- package/es/cascader/utils/panel.js +8 -8
- package/es/checkbox/Checkbox.js +30 -30
- package/es/checkbox/CheckboxGroup.js +30 -30
- package/es/checkbox/index.js +30 -30
- package/es/checkbox/style/index.js +1 -1
- package/es/checkbox/type.d.ts +7 -5
- package/es/checkbox/type.js +1 -1
- package/es/comment/Comment.js +20 -20
- package/es/comment/index.js +20 -20
- package/es/comment/style/index.js +1 -1
- package/es/comment/type.js +1 -1
- package/es/common/Check.js +28 -28
- package/es/common/FakeArrow.js +20 -20
- package/es/common/Portal.js +8 -8
- package/es/common.js +1 -1
- package/es/config-provider/ConfigContext.js +20 -20
- package/es/config-provider/ConfigProvider.js +20 -20
- package/es/config-provider/defaultConfig.js +1 -1
- package/es/config-provider/index.js +20 -20
- package/es/config-provider/type.js +1 -1
- package/es/date-picker/DatePicker.js +33 -33
- package/es/date-picker/base/CalendarPresets.js +24 -24
- package/es/date-picker/base/Cell.js +20 -20
- package/es/date-picker/base/Header.js +24 -24
- package/es/date-picker/base/Table.js +22 -22
- package/es/date-picker/base/style/index.js +1 -1
- package/es/date-picker/index.js +33 -33
- package/es/date-picker/panel/Date.js +28 -28
- package/es/date-picker/panel/DateRange.js +28 -28
- 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 +24 -24
- package/es/dialog/RenderDialog.js +22 -13
- package/es/dialog/RenderDialog.js.map +1 -1
- package/es/dialog/index.js +24 -24
- package/es/dialog/plugin.js +24 -24
- package/es/dialog/style/index.js +1 -1
- package/es/dialog/type.js +1 -1
- package/es/divider/Divider.js +21 -21
- package/es/divider/index.js +21 -21
- package/es/divider/style/index.css +3 -4
- package/es/divider/style/index.js +1 -1
- package/es/divider/type.js +1 -1
- package/es/drawer/Drawer.js +24 -24
- package/es/drawer/DrawerWrapper.js +8 -8
- package/es/drawer/index.js +24 -24
- package/es/drawer/style/index.js +1 -1
- package/es/drawer/type.js +1 -1
- package/es/dropdown/Dropdown.js +38 -38
- package/es/dropdown/DropdownItem.js +29 -29
- package/es/dropdown/DropdownMenu.js +30 -30
- package/es/dropdown/index.js +38 -38
- package/es/dropdown/style/index.js +1 -1
- package/es/dropdown/type.js +1 -1
- package/es/form/Form.js +46 -46
- package/es/form/FormContext.js +1 -1
- package/es/form/FormItem.js +44 -44
- package/es/form/formModel.js +26 -26
- package/es/form/index.js +46 -46
- package/es/form/style/index.js +1 -1
- package/es/form/type.js +1 -1
- package/es/grid/Col.js +21 -21
- package/es/grid/Row.js +24 -24
- package/es/grid/index.js +24 -24
- package/es/grid/style/index.js +1 -1
- package/es/grid/type.js +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +63 -57
- package/es/index.js.map +1 -1
- package/es/input/Input.js +48 -30
- package/es/input/Input.js.map +1 -1
- package/es/input/InputGroup.js +21 -21
- package/es/input/index.js +23 -23
- package/es/input/style/index.css +12 -2
- package/es/input/style/index.js +1 -1
- package/es/input/type.d.ts +14 -4
- package/es/input/type.js +1 -1
- package/es/input-number/InputNumber.js +24 -24
- package/es/input-number/StepHandler.js +24 -24
- package/es/input-number/index.js +24 -24
- 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 +21 -21
- package/es/layout/Layout.js +24 -24
- package/es/layout/Layout.js.map +1 -1
- package/es/layout/index.js +23 -23
- package/es/layout/style/index.js +1 -1
- package/es/layout/type.js +1 -1
- package/es/list/List.js +24 -24
- package/es/list/ListItem.js +20 -20
- package/es/list/ListItemMeta.js +20 -20
- package/es/list/index.js +24 -24
- package/es/list/style/index.js +1 -1
- package/es/list/type.js +1 -1
- package/es/loading/gradient.js +23 -23
- package/es/loading/index.js +24 -24
- package/es/loading/loading.js +24 -24
- package/es/loading/plugin.js +24 -24
- package/es/loading/style/index.js +1 -1
- package/es/loading/type.js +1 -1
- package/es/locale/LocalReceiver.js +20 -20
- package/es/locale/en_US.js +1 -1
- package/es/locale/zh_CN.js +1 -1
- package/es/menu/HeadMenu.js +24 -24
- package/es/menu/Menu.js +24 -24
- package/es/menu/MenuContext.js +1 -1
- package/es/menu/MenuGroup.js +20 -20
- package/es/menu/MenuItem.js +21 -21
- package/es/menu/SubMenu.js +23 -23
- 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 +24 -24
- package/es/menu/style/index.css +4 -2
- package/es/menu/style/index.js +1 -1
- package/es/menu/type.js +1 -1
- package/es/message/Message.js +24 -24
- package/es/message/MessageClose.js +20 -20
- package/es/message/MessageComponent.js +24 -24
- package/es/message/MessageIcon.js +24 -24
- package/es/message/const.js +1 -1
- package/es/message/index.js +24 -24
- package/es/message/style/index.js +1 -1
- package/es/message/type.js +1 -1
- package/es/message/useMessageClass.js +20 -20
- package/es/notification/Notification.d.ts +1 -0
- package/es/notification/Notification.js +29 -172
- package/es/notification/Notification.js.map +1 -1
- package/es/notification/NotificationList.d.ts +2 -0
- package/es/notification/NotificationList.js +28 -186
- package/es/notification/NotificationList.js.map +1 -1
- package/es/notification/NotificationPlugin.js +25 -26
- package/es/notification/NotificationPlugin.js.map +1 -1
- package/es/notification/index.js +26 -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 +30 -30
- package/es/pagination/index.js +30 -30
- 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 +24 -24
- package/es/popconfirm/PopContent.js +24 -24
- package/es/popconfirm/index.js +24 -24
- package/es/popconfirm/style/index.js +1 -1
- package/es/popconfirm/type.js +1 -1
- package/es/popup/Popup.js +44 -26
- package/es/popup/Popup.js.map +1 -1
- package/es/popup/hooks/useTriggerProps.js +1 -1
- package/es/popup/index.js +23 -23
- package/es/popup/style/index.css +4 -4
- package/es/popup/style/index.js +1 -1
- package/es/popup/type.d.ts +7 -2
- package/es/popup/type.js +1 -1
- package/es/popup/utils/getTransitionParams.js +1 -1
- package/es/progress/Progress.js +21 -21
- package/es/progress/index.js +21 -21
- package/es/progress/style/index.js +1 -1
- package/es/progress/type.js +1 -1
- package/es/radio/Radio.js +29 -29
- package/es/radio/RadioGroup.js +29 -29
- package/es/radio/index.js +29 -29
- package/es/radio/style/index.css +8 -4
- 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 +26 -26
- package/es/select/base/OptionGroup.js +20 -20
- package/es/select/base/PopupContent.js +30 -30
- package/es/select/base/Select.js +30 -30
- package/es/select/base/style/index.js +1 -1
- package/es/select/index.js +30 -30
- package/es/select/style/index.js +1 -1
- package/es/select/type.js +1 -1
- package/es/select/util/helper.js +28 -28
- package/es/select-input/SelectInput.d.ts +7 -0
- package/es/select-input/SelectInput.js +153 -0
- package/es/select-input/SelectInput.js.map +1 -0
- package/es/select-input/index.d.ts +6 -0
- package/es/select-input/index.js +92 -0
- package/es/select-input/index.js.map +1 -0
- package/es/select-input/style/css.d.ts +1 -0
- package/es/select-input/style/css.js +1 -0
- package/es/select-input/style/index.css +41 -0
- package/es/select-input/style/index.d.ts +1 -0
- package/es/select-input/style/index.js +7 -0
- package/es/select-input/style/index.js.map +1 -0
- package/es/select-input/type.d.ts +197 -0
- package/es/select-input/type.js +7 -0
- package/es/select-input/type.js.map +1 -0
- package/es/select-input/useMultiple.d.ts +15 -0
- package/es/select-input/useMultiple.js +140 -0
- package/es/select-input/useMultiple.js.map +1 -0
- package/es/select-input/useOverlayStyle.d.ts +8 -0
- package/es/select-input/useOverlayStyle.js +72 -0
- package/es/select-input/useOverlayStyle.js.map +1 -0
- package/es/select-input/useSingle.d.ts +14 -0
- package/es/select-input/useSingle.js +137 -0
- package/es/select-input/useSingle.js.map +1 -0
- package/es/skeleton/Skeleton.js +30 -30
- package/es/skeleton/index.js +30 -30
- package/es/skeleton/style/index.js +1 -1
- package/es/skeleton/type.js +1 -1
- package/es/slider/Slider.js +37 -38
- package/es/slider/Slider.js.map +1 -1
- package/es/slider/SliderHandleButton.js +29 -29
- package/es/slider/SliderHandleButton.js.map +1 -1
- package/es/slider/index.js +24 -24
- package/es/slider/style/index.css +6 -0
- 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 +20 -20
- package/es/steps/Steps.js +20 -20
- package/es/steps/StepsContext.js +1 -1
- package/es/steps/index.js +20 -20
- 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 +22 -22
- package/es/swiper/SwiperItem.js +1 -1
- package/es/swiper/index.js +22 -22
- package/es/swiper/style/index.js +1 -1
- package/es/swiper/type.js +1 -1
- package/es/switch/Switch.js +24 -24
- package/es/switch/index.js +24 -24
- package/es/switch/style/index.js +1 -1
- package/es/switch/type.js +1 -1
- package/es/table/base/Table.d.ts +2 -10
- package/es/table/base/Table.js +32 -32
- package/es/table/base/Table.js.map +1 -1
- package/es/table/base/TableAsyncLoadingBody.js +24 -24
- package/es/table/base/TableBody.d.ts +2 -1
- package/es/table/base/TableBody.js +28 -28
- package/es/table/base/TableBody.js.map +1 -1
- package/es/table/base/TableCell.js +56 -28
- package/es/table/base/TableCell.js.map +1 -1
- package/es/table/base/TableColGroup.js +1 -1
- package/es/table/base/TableContext.js +1 -1
- package/es/table/base/TableEmptyBody.js +22 -22
- package/es/table/base/TableFooter.js +1 -1
- package/es/table/base/TableHeader.js +25 -25
- package/es/table/base/TableLoadingBody.js +5 -5
- package/es/table/base/TableRow.d.ts +2 -1
- package/es/table/base/TableRow.js +28 -28
- package/es/table/base/TableRow.js.map +1 -1
- package/es/table/base/style/index.js +1 -1
- package/es/table/enhanced/Table.js +38 -38
- package/es/table/enhanced/TableContext.js +1 -1
- package/es/table/enhanced/style/index.js +1 -1
- package/es/table/enhanced/useTree.js +27 -27
- package/es/table/hooks/useColumns.js +4 -4
- package/es/table/index.js +38 -38
- package/es/table/primary/FilterButton.js +32 -32
- package/es/table/primary/SorterButton.js +24 -24
- package/es/table/primary/Table.js +42 -42
- package/es/table/primary/Table.js.map +1 -1
- package/es/table/primary/expand-box.js +20 -20
- package/es/table/primary/style/index.js +1 -1
- package/es/table/primary/useExpand.js +27 -27
- package/es/table/primary/useFilter.js +32 -32
- package/es/table/primary/useSelect.js +32 -32
- package/es/table/primary/useSorter.js +29 -29
- package/es/table/style/index.css +31 -0
- 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 +22 -22
- package/es/tabs/TabNav.js +23 -23
- package/es/tabs/TabNavItem.js +21 -21
- package/es/tabs/TabPanel.js +20 -20
- package/es/tabs/Tabs.js +23 -23
- package/es/tabs/index.js +23 -23
- package/es/tabs/style/index.js +1 -1
- package/es/tabs/type.js +1 -1
- package/es/tabs/useTabClass.js +20 -20
- package/es/tag/CheckTag.js +23 -23
- package/es/tag/Tag.js +23 -23
- package/es/tag/index.js +23 -23
- package/es/tag/style/index.js +1 -1
- package/es/tag/type.js +1 -1
- package/es/tag-input/TagInput.js +62 -33
- package/es/tag-input/TagInput.js.map +1 -1
- package/es/tag-input/index.js +25 -24
- package/es/tag-input/index.js.map +1 -1
- package/es/tag-input/style/index.css +10 -33
- package/es/tag-input/style/index.js +1 -1
- package/es/tag-input/type.d.ts +22 -4
- package/es/tag-input/type.js +1 -1
- package/es/tag-input/useHover.d.ts +13 -2
- package/es/tag-input/useHover.js +3 -3
- package/es/tag-input/useHover.js.map +1 -1
- package/es/tag-input/useTagList.d.ts +6 -2
- package/es/tag-input/useTagList.js +37 -36
- package/es/tag-input/useTagList.js.map +1 -1
- package/es/tag-input/useTagScroll.js +3 -3
- package/es/textarea/Textarea.js +28 -28
- package/es/textarea/index.js +28 -28
- package/es/textarea/style/index.css +1 -1
- package/es/textarea/style/index.js +1 -1
- package/es/textarea/type.js +1 -1
- package/es/time-picker/InputItems.js +31 -31
- package/es/time-picker/TimePicker.js +34 -34
- package/es/time-picker/TimeRangePicker.js +34 -34
- package/es/time-picker/consts.js +22 -22
- package/es/time-picker/index.js +34 -34
- package/es/time-picker/interfaces.js +1 -1
- package/es/time-picker/panel/SinglePanel.js +31 -31
- package/es/time-picker/panel/TimePickerPanel.js +33 -33
- package/es/time-picker/panel/TimePickerRangePanel.js +33 -33
- 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 +24 -24
- package/es/tooltip/index.js +24 -24
- package/es/tooltip/style/index.js +1 -1
- package/es/tooltip/type.js +1 -1
- package/es/transfer/Transfer.js +40 -40
- package/es/transfer/TransferList.js +36 -36
- package/es/transfer/index.js +40 -40
- 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 +47 -46
- package/es/tree/Tree.js.map +1 -1
- package/es/tree/TreeItem.js +31 -31
- package/es/tree/index.js +47 -46
- package/es/tree/index.js.map +1 -1
- package/es/tree/interface.js +1 -1
- package/es/tree/style/index.js +1 -1
- package/es/tree/type.js +1 -1
- package/es/tree/useControllable.js +3 -3
- package/es/tree/useStore.js +41 -40
- package/es/tree/useStore.js.map +1 -1
- package/es/tree/useTreeConfig.js +22 -22
- package/es/tree-select/TreeSelect.js +48 -47
- package/es/tree-select/TreeSelect.js.map +1 -1
- package/es/tree-select/TreeSelectInput.js +26 -26
- package/es/tree-select/TreeSelectSuffix.js +26 -26
- package/es/tree-select/TreeSelectTags.js +23 -23
- package/es/tree-select/index.js +48 -47
- package/es/tree-select/index.js.map +1 -1
- package/es/tree-select/style/index.js +1 -1
- package/es/tree-select/type.js +1 -1
- package/es/tree-select/useTreeSelectConfig.js +20 -20
- package/es/upload/boolean-render.js +1 -1
- package/es/upload/dragger.js +25 -25
- package/es/upload/hooks/useDefaultValue.js +7 -7
- package/es/upload/hooks/useSizeLimit.js +22 -22
- package/es/upload/index.js +39 -39
- package/es/upload/style/index.js +1 -1
- package/es/upload/themes/dragger-progress.js +25 -25
- package/es/upload/themes/flow-list/file-list.js +25 -25
- package/es/upload/themes/flow-list/img-list.js +25 -25
- package/es/upload/themes/flow-list/index.js +25 -25
- package/es/upload/themes/flow-list/style/index.js +1 -1
- package/es/upload/themes/image-card.js +25 -25
- package/es/upload/themes/single-file.js +24 -24
- package/es/upload/themes/style/index.js +1 -1
- package/es/upload/tips.js +20 -20
- package/es/upload/type.js +1 -1
- package/es/upload/types.js +1 -1
- package/es/upload/upload-trigger.js +24 -24
- package/es/upload/upload.js +39 -39
- package/es/upload/util.js +3 -3
- package/esm/_chunks/{dep-f9242fec.js → dep-04a6c042.js} +2 -2
- package/esm/_chunks/dep-04a6c042.js.map +1 -0
- package/esm/_chunks/{dep-a180486a.js → dep-0529bc9f.js} +8 -8
- package/{es/_chunks/dep-a180486a.js.map → esm/_chunks/dep-0529bc9f.js.map} +1 -1
- package/esm/_chunks/{dep-ff79fb39.js → dep-0c0fc89b.js} +7 -7
- package/esm/_chunks/{dep-ff79fb39.js.map → dep-0c0fc89b.js.map} +1 -1
- package/{es/_chunks/dep-b327e031.js → esm/_chunks/dep-0c32a524.js} +15 -15
- package/esm/_chunks/{dep-b327e031.js.map → dep-0c32a524.js.map} +1 -1
- package/{es/_chunks/dep-65c1d541.js → esm/_chunks/dep-10b8d252.js} +3 -3
- package/esm/_chunks/{dep-65c1d541.js.map → dep-10b8d252.js.map} +1 -1
- package/{es/_chunks/dep-48a0d26a.js → esm/_chunks/dep-1a698d53.js} +5 -5
- package/esm/_chunks/{dep-48a0d26a.js.map → dep-1a698d53.js.map} +1 -1
- package/esm/_chunks/{dep-90eb9c48.js → dep-1aa31dc5.js} +5 -5
- package/{es/_chunks/dep-90eb9c48.js.map → esm/_chunks/dep-1aa31dc5.js.map} +1 -1
- package/{es/_chunks/dep-7b5ee09e.js → esm/_chunks/dep-1dcd6f7a.js} +2 -2
- package/esm/_chunks/{dep-7b5ee09e.js.map → dep-1dcd6f7a.js.map} +1 -1
- package/esm/_chunks/{dep-861da54c.js → dep-2837cbee.js} +8 -8
- package/esm/_chunks/{dep-861da54c.js.map → dep-2837cbee.js.map} +1 -1
- package/{es/_chunks/dep-bce0ce39.js → esm/_chunks/dep-301db282.js} +3 -3
- package/esm/_chunks/{dep-bce0ce39.js.map → dep-301db282.js.map} +1 -1
- package/{es/_chunks/dep-9b59ab07.js → esm/_chunks/dep-34ec8ef2.js} +3 -3
- package/esm/_chunks/{dep-9b59ab07.js.map → dep-34ec8ef2.js.map} +1 -1
- package/{es/_chunks/dep-491ab1c7.js → esm/_chunks/dep-3e5f80c6.js} +7 -7
- package/esm/_chunks/{dep-491ab1c7.js.map → dep-3e5f80c6.js.map} +1 -1
- package/esm/_chunks/{dep-0b5c7f77.js → dep-46c643ed.js} +16 -16
- package/{es/_chunks/dep-0b5c7f77.js.map → esm/_chunks/dep-46c643ed.js.map} +1 -1
- package/esm/_chunks/{dep-8f43c3b0.js → dep-46cc1aa3.js} +9 -9
- package/{es/_chunks/dep-8f43c3b0.js.map → esm/_chunks/dep-46cc1aa3.js.map} +1 -1
- package/esm/_chunks/{dep-c0b93c23.js → dep-4b07e198.js} +2 -2
- package/esm/_chunks/{dep-c0b93c23.js.map → dep-4b07e198.js.map} +1 -1
- package/esm/_chunks/{dep-c1490cf6.js → dep-4cc11596.js} +8 -8
- package/esm/_chunks/{dep-c1490cf6.js.map → dep-4cc11596.js.map} +1 -1
- package/{es/_chunks/dep-695a3ead.js → esm/_chunks/dep-4e18f91a.js} +4 -4
- package/esm/_chunks/{dep-695a3ead.js.map → dep-4e18f91a.js.map} +1 -1
- package/{es/_chunks/dep-bb55dd2f.js → esm/_chunks/dep-50c12e42.js} +6 -6
- package/esm/_chunks/{dep-bb55dd2f.js.map → dep-50c12e42.js.map} +1 -1
- package/esm/_chunks/dep-5303d900.js +303 -0
- package/esm/_chunks/dep-5303d900.js.map +1 -0
- package/{es/_chunks/dep-c008b410.js → esm/_chunks/dep-5a75ddfa.js} +4 -4
- package/esm/_chunks/{dep-c008b410.js.map → dep-5a75ddfa.js.map} +1 -1
- package/{es/_chunks/dep-a62bdfd5.js → esm/_chunks/dep-5c961b06.js} +8 -8
- package/esm/_chunks/{dep-a62bdfd5.js.map → dep-5c961b06.js.map} +1 -1
- package/esm/_chunks/{dep-f7f44030.js → dep-5e33104a.js} +2 -2
- package/esm/_chunks/{dep-f7f44030.js.map → dep-5e33104a.js.map} +1 -1
- package/{es/_chunks/dep-6d5c2511.js → esm/_chunks/dep-660f1c88.js} +6 -6
- package/esm/_chunks/{dep-6d5c2511.js.map → dep-660f1c88.js.map} +1 -1
- package/{es/_chunks/dep-0b34f475.js → esm/_chunks/dep-6ad29962.js} +6 -6
- package/{es/_chunks/dep-0b34f475.js.map → esm/_chunks/dep-6ad29962.js.map} +1 -1
- package/esm/_chunks/dep-6fb8cfe3.js +8 -0
- package/esm/_chunks/dep-6fb8cfe3.js.map +1 -0
- package/esm/_chunks/{dep-8823a92e.js → dep-70c9bb2d.js} +7 -7
- package/{es/_chunks/dep-8823a92e.js.map → esm/_chunks/dep-70c9bb2d.js.map} +1 -1
- package/{es/_chunks/dep-c50b5bb9.js → esm/_chunks/dep-75144258.js} +4 -4
- package/esm/_chunks/{dep-c50b5bb9.js.map → dep-75144258.js.map} +1 -1
- package/{es/_chunks/dep-f3331392.js → esm/_chunks/dep-7d734ce4.js} +3 -3
- package/esm/_chunks/{dep-f3331392.js.map → dep-7d734ce4.js.map} +1 -1
- package/{es/_chunks/dep-4ba0cdcf.js → esm/_chunks/dep-7f022b70.js} +5 -5
- package/esm/_chunks/{dep-4ba0cdcf.js.map → dep-7f022b70.js.map} +1 -1
- package/esm/_chunks/{dep-c5782559.js → dep-81c9a485.js} +7 -7
- package/esm/_chunks/{dep-c5782559.js.map → dep-81c9a485.js.map} +1 -1
- package/esm/_chunks/{dep-1d476548.js → dep-8210af29.js} +3 -3
- package/esm/_chunks/{dep-1d476548.js.map → dep-8210af29.js.map} +1 -1
- package/{es/_chunks/dep-3f70a0f5.js → esm/_chunks/dep-8a07113f.js} +3 -3
- package/{lib/_chunks/dep-da5c2a7e.js.map → esm/_chunks/dep-8a07113f.js.map} +1 -1
- package/esm/_chunks/{dep-fd49ee45.js → dep-8aee3ad0.js} +4 -4
- package/{es/_chunks/dep-fd49ee45.js.map → esm/_chunks/dep-8aee3ad0.js.map} +1 -1
- package/{es/_chunks/dep-4979c2b8.js → esm/_chunks/dep-98412f1b.js} +5 -5
- package/esm/_chunks/{dep-4979c2b8.js.map → dep-98412f1b.js.map} +1 -1
- package/{es/_chunks/dep-e3baf9a5.js → esm/_chunks/dep-a64706b5.js} +13 -13
- package/esm/_chunks/{dep-e3baf9a5.js.map → dep-a64706b5.js.map} +1 -1
- package/{es/_chunks/dep-deeece0d.js → esm/_chunks/dep-a9ccbf72.js} +4 -4
- package/{es/_chunks/dep-deeece0d.js.map → esm/_chunks/dep-a9ccbf72.js.map} +1 -1
- package/{es/_chunks/dep-a7731315.js → esm/_chunks/dep-aabdac78.js} +4 -4
- package/esm/_chunks/{dep-a7731315.js.map → dep-aabdac78.js.map} +1 -1
- package/esm/_chunks/{dep-35ecd49c.js → dep-ac5499d2.js} +7 -7
- package/esm/_chunks/{dep-35ecd49c.js.map → dep-ac5499d2.js.map} +1 -1
- package/{es/_chunks/dep-611402ed.js → esm/_chunks/dep-b260b040.js} +9 -9
- package/{es/_chunks/dep-611402ed.js.map → esm/_chunks/dep-b260b040.js.map} +1 -1
- package/esm/_chunks/{dep-91fd8fa6.js → dep-bce06e2a.js} +5 -5
- package/{es/_chunks/dep-91fd8fa6.js.map → esm/_chunks/dep-bce06e2a.js.map} +1 -1
- package/{es/_chunks/dep-fc9c9fdd.js → esm/_chunks/dep-bf036b5a.js} +7 -7
- package/{es/_chunks/dep-fc9c9fdd.js.map → esm/_chunks/dep-bf036b5a.js.map} +1 -1
- package/esm/_chunks/{dep-896efa92.js → dep-bfb938d4.js} +4 -4
- package/esm/_chunks/{dep-896efa92.js.map → dep-bfb938d4.js.map} +1 -1
- package/esm/_chunks/{dep-09442174.js → dep-c323da2e.js} +9 -9
- package/{es/_chunks/dep-09442174.js.map → esm/_chunks/dep-c323da2e.js.map} +1 -1
- package/{es/_chunks/dep-2f489a35.js → esm/_chunks/dep-d02297e1.js} +4 -4
- package/{es/_chunks/dep-2f489a35.js.map → esm/_chunks/dep-d02297e1.js.map} +1 -1
- package/{es/_chunks/dep-427158bb.js → esm/_chunks/dep-dceb9e91.js} +4 -4
- package/esm/_chunks/{dep-427158bb.js.map → dep-dceb9e91.js.map} +1 -1
- package/esm/_chunks/{dep-0ff35b5e.js → dep-ddc8d78b.js} +5 -5
- package/esm/_chunks/{dep-0ff35b5e.js.map → dep-ddc8d78b.js.map} +1 -1
- package/{es/_chunks/dep-360d6135.js → esm/_chunks/dep-df7c3c40.js} +7 -7
- package/esm/_chunks/{dep-360d6135.js.map → dep-df7c3c40.js.map} +1 -1
- package/esm/_chunks/{dep-c869a7bd.js → dep-e4bd3f59.js} +2 -2
- package/esm/_chunks/{dep-c869a7bd.js.map → dep-e4bd3f59.js.map} +1 -1
- package/{es/_chunks/dep-36516db7.js → esm/_chunks/dep-e6b11dd2.js} +10 -8
- package/esm/_chunks/dep-e6b11dd2.js.map +1 -0
- package/{es/_chunks/dep-989dca4b.js → esm/_chunks/dep-e7080b2b.js} +4 -4
- package/{es/_chunks/dep-989dca4b.js.map → esm/_chunks/dep-e7080b2b.js.map} +1 -1
- package/{es/_chunks/dep-46120f73.js → esm/_chunks/dep-ed38fb3f.js} +3 -3
- package/esm/_chunks/{dep-46120f73.js.map → dep-ed38fb3f.js.map} +1 -1
- package/esm/_chunks/{dep-aa302200.js → dep-f6c4b0e3.js} +5 -5
- package/{es/_chunks/dep-aa302200.js.map → esm/_chunks/dep-f6c4b0e3.js.map} +1 -1
- package/esm/_chunks/{dep-2e56daa5.js → dep-f8ed3d80.js} +4 -4
- package/esm/_chunks/{dep-2e56daa5.js.map → dep-f8ed3d80.js.map} +1 -1
- package/esm/_chunks/dep-fc73063f.js +146 -0
- package/esm/_chunks/dep-fc73063f.js.map +1 -0
- package/{es/_chunks/dep-bfd83090.js → esm/_chunks/dep-fe1a5fed.js} +9 -9
- package/esm/_chunks/{dep-bfd83090.js.map → dep-fe1a5fed.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.js +1 -1
- package/esm/_common/js/locale/zh_CN.js +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 -151
- package/esm/_common/js/tree/tree-node-model.js.map +1 -1
- package/esm/_common/js/tree/tree-node.js +27 -26
- package/esm/_common/js/tree/tree-node.js.map +1 -1
- package/esm/_common/js/tree/tree-store.js +35 -34
- 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/calcTextareaHeight.js.map +1 -1
- package/esm/_common/js/utils/helper.js +5 -5
- package/esm/_common/js/utils/set-style.js +1 -1
- package/esm/_common/style/web/components/anchor/_mixin.less +0 -24
- package/esm/_common/style/web/components/avatar/_index.less +1 -1
- package/esm/_common/style/web/components/avatar/_var.less +2 -2
- package/esm/_common/style/web/components/button/_index.less +1 -0
- package/esm/_common/style/web/components/divider/_index.less +1 -3
- package/esm/_common/style/web/components/input/_index.less +12 -2
- package/esm/_common/style/web/components/menu/_index.less +5 -2
- package/esm/_common/style/web/components/menu/_var.less +2 -0
- package/esm/_common/style/web/components/popup/_var.less +3 -6
- package/esm/_common/style/web/components/radio/_index.less +7 -4
- package/esm/_common/style/web/components/select-input/_index.less +52 -0
- package/esm/_common/style/web/components/select-input/_var.less +2 -0
- package/esm/_common/style/web/components/slider/_index.less +5 -1
- package/esm/_common/style/web/components/table/_index.less +37 -0
- package/esm/_common/style/web/components/tag-input/_index.less +12 -33
- package/esm/_common/style/web/components/textarea/_var.less +1 -1
- package/esm/_common/style/web/components/tooltip/_docs.less +1 -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/useClickOutside.js +1 -1
- package/esm/_util/useCommonClassName.js +20 -20
- package/esm/_util/useConfig.js +20 -20
- package/esm/_util/useDefault.js +3 -3
- package/esm/_util/useDefaultValue.js +5 -5
- package/esm/_util/useDragSorter.d.ts +24 -0
- package/esm/_util/useDragSorter.js +96 -0
- package/esm/_util/useDragSorter.js.map +1 -0
- 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 +21 -21
- package/esm/_util/useSetState.js +4 -4
- package/esm/_util/useUpdateEffect.js +8 -8
- package/esm/addon/Addon.js +21 -21
- package/esm/addon/index.js +21 -21
- package/esm/affix/Affix.js +23 -23
- package/esm/affix/index.js +23 -23
- package/esm/affix/type.js +1 -1
- package/esm/alert/Alert.js +23 -23
- package/esm/alert/index.js +23 -23
- package/esm/alert/type.js +1 -1
- package/esm/anchor/Anchor.js +26 -26
- package/esm/anchor/AnchorContext.js +1 -1
- package/esm/anchor/AnchorItem.js +21 -21
- package/esm/anchor/AnchorTarget.js +24 -24
- package/esm/anchor/_util/clipboard.js +1 -1
- package/esm/anchor/_util/dom.js +1 -1
- package/esm/anchor/index.js +26 -26
- package/esm/anchor/type.js +1 -1
- package/esm/avatar/AvararGroup.js +25 -25
- package/esm/avatar/Avatar.js +25 -25
- package/esm/avatar/AvatarContext.js +1 -1
- package/esm/avatar/index.js +25 -25
- package/esm/avatar/type.js +1 -1
- package/esm/badge/Badge.js +21 -21
- package/esm/badge/index.js +21 -21
- package/esm/badge/type.js +1 -1
- package/esm/breadcrumb/Breadcrumb.js +21 -21
- package/esm/breadcrumb/BreadcrumbContext.js +1 -1
- package/esm/breadcrumb/BreadcrumbItem.js +21 -21
- package/esm/breadcrumb/BreadcrumbProps.js +1 -1
- package/esm/breadcrumb/index.js +21 -21
- package/esm/breadcrumb/type.js +1 -1
- package/esm/button/Button.js +24 -24
- package/esm/button/index.js +24 -24
- package/esm/button/type.js +1 -1
- package/esm/calendar/Calendar.js +34 -34
- package/esm/calendar/_util.js +1 -1
- package/esm/calendar/index.js +34 -34
- package/esm/calendar/type.js +1 -1
- package/esm/card/type.js +1 -1
- package/esm/cascader/Cascader.js +55 -48
- package/esm/cascader/Cascader.js.map +1 -1
- package/esm/cascader/components/InputContent.js +25 -25
- package/esm/cascader/components/Item.js +32 -32
- package/esm/cascader/components/Panel.js +38 -38
- package/esm/cascader/components/Panel.js.map +1 -1
- package/esm/cascader/index.js +46 -45
- package/esm/cascader/index.js.map +1 -1
- package/esm/cascader/interface.js +27 -26
- package/esm/cascader/interface.js.map +1 -1
- package/esm/cascader/type.js +1 -1
- package/esm/cascader/utils/cascader.js +10 -5
- package/esm/cascader/utils/cascader.js.map +1 -1
- package/esm/cascader/utils/helper.js +2 -2
- package/esm/cascader/utils/inputContent.js +17 -17
- package/esm/cascader/utils/inputContent.js.map +1 -1
- package/esm/cascader/utils/item.js +4 -4
- package/esm/cascader/utils/panel.js +8 -8
- package/esm/checkbox/Checkbox.js +30 -30
- package/esm/checkbox/CheckboxGroup.js +30 -30
- package/esm/checkbox/index.js +30 -30
- package/esm/checkbox/type.d.ts +7 -5
- package/esm/checkbox/type.js +1 -1
- package/esm/comment/Comment.js +20 -20
- package/esm/comment/index.js +20 -20
- package/esm/comment/type.js +1 -1
- package/esm/common/Check.js +28 -28
- package/esm/common/FakeArrow.js +20 -20
- package/esm/common/Portal.js +8 -8
- package/esm/common.js +1 -1
- package/esm/config-provider/ConfigContext.js +20 -20
- package/esm/config-provider/ConfigProvider.js +20 -20
- package/esm/config-provider/defaultConfig.js +1 -1
- package/esm/config-provider/index.js +20 -20
- package/esm/config-provider/type.js +1 -1
- package/esm/date-picker/DatePicker.js +33 -33
- package/esm/date-picker/base/CalendarPresets.js +24 -24
- package/esm/date-picker/base/Cell.js +20 -20
- package/esm/date-picker/base/Header.js +24 -24
- package/esm/date-picker/base/Table.js +22 -22
- package/esm/date-picker/index.js +33 -33
- package/esm/date-picker/panel/Date.js +28 -28
- package/esm/date-picker/panel/DateRange.js +28 -28
- package/esm/date-picker/type.js +1 -1
- package/esm/dialog/Dialog.js +24 -24
- package/esm/dialog/RenderDialog.js +22 -13
- package/esm/dialog/RenderDialog.js.map +1 -1
- package/esm/dialog/index.js +24 -24
- package/esm/dialog/plugin.js +24 -24
- package/esm/dialog/type.js +1 -1
- package/esm/divider/Divider.js +21 -21
- package/esm/divider/index.js +21 -21
- package/esm/divider/type.js +1 -1
- package/esm/drawer/Drawer.js +24 -24
- package/esm/drawer/DrawerWrapper.js +8 -8
- package/esm/drawer/index.js +24 -24
- package/esm/drawer/type.js +1 -1
- package/esm/dropdown/Dropdown.js +38 -38
- package/esm/dropdown/DropdownItem.js +29 -29
- package/esm/dropdown/DropdownMenu.js +30 -30
- package/esm/dropdown/index.js +38 -38
- package/esm/dropdown/type.js +1 -1
- package/esm/form/Form.js +46 -46
- package/esm/form/FormContext.js +1 -1
- package/esm/form/FormItem.js +44 -44
- package/esm/form/formModel.js +26 -26
- package/esm/form/index.js +46 -46
- package/esm/form/type.js +1 -1
- package/esm/grid/Col.js +21 -21
- package/esm/grid/Row.js +24 -24
- package/esm/grid/index.js +24 -24
- package/esm/grid/type.js +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.js +64 -57
- package/esm/index.js.map +1 -1
- package/esm/input/Input.js +48 -30
- package/esm/input/Input.js.map +1 -1
- package/esm/input/InputGroup.js +21 -21
- package/esm/input/index.js +23 -23
- package/esm/input/type.d.ts +14 -4
- package/esm/input/type.js +1 -1
- package/esm/input-number/InputNumber.js +24 -24
- package/esm/input-number/StepHandler.js +24 -24
- package/esm/input-number/index.js +24 -24
- package/esm/input-number/type.js +1 -1
- package/esm/input-number/utils/numberUtils.js +1 -1
- package/esm/layout/Aside.js +21 -21
- package/esm/layout/Layout.js +24 -24
- package/esm/layout/Layout.js.map +1 -1
- package/esm/layout/index.js +23 -23
- package/esm/layout/type.js +1 -1
- package/esm/list/List.js +24 -24
- package/esm/list/ListItem.js +20 -20
- package/esm/list/ListItemMeta.js +20 -20
- package/esm/list/index.js +24 -24
- package/esm/list/type.js +1 -1
- package/esm/loading/gradient.js +23 -23
- package/esm/loading/index.js +24 -24
- package/esm/loading/loading.js +24 -24
- package/esm/loading/plugin.js +24 -24
- package/esm/loading/type.js +1 -1
- package/esm/locale/LocalReceiver.js +20 -20
- package/esm/locale/en_US.js +1 -1
- package/esm/locale/zh_CN.js +1 -1
- package/esm/menu/HeadMenu.js +24 -24
- package/esm/menu/Menu.js +24 -24
- package/esm/menu/MenuContext.js +1 -1
- package/esm/menu/MenuGroup.js +20 -20
- package/esm/menu/MenuItem.js +21 -21
- package/esm/menu/SubMenu.js +23 -23
- 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 +24 -24
- package/esm/menu/type.js +1 -1
- package/esm/message/Message.js +24 -24
- package/esm/message/MessageClose.js +20 -20
- package/esm/message/MessageComponent.js +24 -24
- package/esm/message/MessageIcon.js +24 -24
- package/esm/message/const.js +1 -1
- package/esm/message/index.js +24 -24
- package/esm/message/type.js +1 -1
- package/esm/message/useMessageClass.js +20 -20
- package/esm/notification/Notification.d.ts +1 -0
- package/esm/notification/Notification.js +29 -172
- package/esm/notification/Notification.js.map +1 -1
- package/esm/notification/NotificationList.d.ts +2 -0
- package/esm/notification/NotificationList.js +28 -186
- package/esm/notification/NotificationList.js.map +1 -1
- package/esm/notification/NotificationPlugin.js +25 -26
- package/esm/notification/NotificationPlugin.js.map +1 -1
- package/esm/notification/index.js +26 -27
- package/esm/notification/index.js.map +1 -1
- package/esm/notification/type.js +1 -1
- package/esm/pagination/Pagination.js +30 -30
- package/esm/pagination/index.js +30 -30
- package/esm/pagination/type.js +1 -1
- package/esm/pagination/validators.js +1 -1
- package/esm/popconfirm/PopConfirm.js +24 -24
- package/esm/popconfirm/PopContent.js +24 -24
- package/esm/popconfirm/index.js +24 -24
- package/esm/popconfirm/type.js +1 -1
- package/esm/popup/Popup.js +44 -26
- package/esm/popup/Popup.js.map +1 -1
- package/esm/popup/hooks/useTriggerProps.js +1 -1
- package/esm/popup/index.js +23 -23
- package/esm/popup/type.d.ts +7 -2
- package/esm/popup/type.js +1 -1
- package/esm/popup/utils/getTransitionParams.js +1 -1
- package/esm/progress/Progress.js +21 -21
- package/esm/progress/index.js +21 -21
- package/esm/progress/type.js +1 -1
- package/esm/radio/Radio.js +29 -29
- package/esm/radio/RadioGroup.js +29 -29
- package/esm/radio/index.js +29 -29
- package/esm/radio/type.js +1 -1
- package/esm/rate/type.js +1 -1
- package/esm/select/base/Option.js +26 -26
- package/esm/select/base/OptionGroup.js +20 -20
- package/esm/select/base/PopupContent.js +30 -30
- package/esm/select/base/Select.js +30 -30
- package/esm/select/index.js +30 -30
- package/esm/select/type.js +1 -1
- package/esm/select/util/helper.js +28 -28
- package/esm/select-input/SelectInput.d.ts +7 -0
- package/esm/select-input/SelectInput.js +156 -0
- package/esm/select-input/SelectInput.js.map +1 -0
- package/esm/select-input/index.d.ts +6 -0
- package/esm/select-input/index.js +96 -0
- package/esm/select-input/index.js.map +1 -0
- package/esm/select-input/style/css.d.ts +1 -0
- package/esm/select-input/style/index.d.ts +1 -0
- package/esm/select-input/style/index.js +1 -0
- package/esm/select-input/type.d.ts +197 -0
- package/esm/select-input/type.js +7 -0
- package/esm/select-input/type.js.map +1 -0
- package/esm/select-input/useMultiple.d.ts +15 -0
- package/esm/select-input/useMultiple.js +142 -0
- package/esm/select-input/useMultiple.js.map +1 -0
- package/esm/select-input/useOverlayStyle.d.ts +8 -0
- package/esm/select-input/useOverlayStyle.js +72 -0
- package/esm/select-input/useOverlayStyle.js.map +1 -0
- package/esm/select-input/useSingle.d.ts +14 -0
- package/esm/select-input/useSingle.js +137 -0
- package/esm/select-input/useSingle.js.map +1 -0
- package/esm/skeleton/Skeleton.js +30 -30
- package/esm/skeleton/index.js +30 -30
- package/esm/skeleton/type.js +1 -1
- package/esm/slider/Slider.js +37 -38
- package/esm/slider/Slider.js.map +1 -1
- package/esm/slider/SliderHandleButton.js +29 -29
- package/esm/slider/SliderHandleButton.js.map +1 -1
- package/esm/slider/index.js +24 -24
- package/esm/slider/type.js +1 -1
- package/esm/slider/utils/handleNumber.js +1 -1
- package/esm/steps/StepItem.js +20 -20
- package/esm/steps/Steps.js +20 -20
- package/esm/steps/StepsContext.js +1 -1
- package/esm/steps/index.js +20 -20
- package/esm/steps/type.js +1 -1
- package/esm/sticky-tool/type.js +1 -1
- package/esm/swiper/Swiper.js +22 -22
- package/esm/swiper/SwiperItem.js +1 -1
- package/esm/swiper/index.js +22 -22
- package/esm/swiper/type.js +1 -1
- package/esm/switch/Switch.js +24 -24
- package/esm/switch/index.js +24 -24
- package/esm/switch/type.js +1 -1
- package/esm/table/base/Table.d.ts +2 -10
- package/esm/table/base/Table.js +32 -32
- package/esm/table/base/Table.js.map +1 -1
- package/esm/table/base/TableAsyncLoadingBody.js +24 -24
- package/esm/table/base/TableBody.d.ts +2 -1
- package/esm/table/base/TableBody.js +28 -28
- package/esm/table/base/TableBody.js.map +1 -1
- package/esm/table/base/TableCell.js +56 -28
- package/esm/table/base/TableCell.js.map +1 -1
- package/esm/table/base/TableColGroup.js +1 -1
- package/esm/table/base/TableContext.js +1 -1
- package/esm/table/base/TableEmptyBody.js +22 -22
- package/esm/table/base/TableFooter.js +1 -1
- package/esm/table/base/TableHeader.js +25 -25
- package/esm/table/base/TableLoadingBody.js +5 -5
- package/esm/table/base/TableRow.d.ts +2 -1
- package/esm/table/base/TableRow.js +28 -28
- package/esm/table/base/TableRow.js.map +1 -1
- package/esm/table/enhanced/Table.js +38 -38
- package/esm/table/enhanced/TableContext.js +1 -1
- package/esm/table/enhanced/useTree.js +27 -27
- package/esm/table/hooks/useColumns.js +4 -4
- package/esm/table/index.js +38 -38
- package/esm/table/primary/FilterButton.js +32 -32
- package/esm/table/primary/SorterButton.js +24 -24
- package/esm/table/primary/Table.js +42 -42
- package/esm/table/primary/Table.js.map +1 -1
- package/esm/table/primary/expand-box.js +20 -20
- package/esm/table/primary/useExpand.js +27 -27
- package/esm/table/primary/useFilter.js +32 -32
- package/esm/table/primary/useSelect.js +32 -32
- package/esm/table/primary/useSorter.js +29 -29
- 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 +22 -22
- package/esm/tabs/TabNav.js +23 -23
- package/esm/tabs/TabNavItem.js +21 -21
- package/esm/tabs/TabPanel.js +20 -20
- package/esm/tabs/Tabs.js +23 -23
- package/esm/tabs/index.js +23 -23
- package/esm/tabs/type.js +1 -1
- package/esm/tabs/useTabClass.js +20 -20
- package/esm/tag/CheckTag.js +23 -23
- package/esm/tag/Tag.js +23 -23
- package/esm/tag/index.js +23 -23
- package/esm/tag/type.js +1 -1
- package/esm/tag-input/TagInput.js +62 -33
- package/esm/tag-input/TagInput.js.map +1 -1
- package/esm/tag-input/index.js +25 -24
- package/esm/tag-input/index.js.map +1 -1
- package/esm/tag-input/type.d.ts +22 -4
- package/esm/tag-input/type.js +1 -1
- package/esm/tag-input/useHover.d.ts +13 -2
- package/esm/tag-input/useHover.js +3 -3
- package/esm/tag-input/useHover.js.map +1 -1
- package/esm/tag-input/useTagList.d.ts +6 -2
- package/esm/tag-input/useTagList.js +37 -36
- package/esm/tag-input/useTagList.js.map +1 -1
- package/esm/tag-input/useTagScroll.js +3 -3
- package/esm/textarea/Textarea.js +28 -28
- package/esm/textarea/index.js +28 -28
- package/esm/textarea/type.js +1 -1
- package/esm/time-picker/InputItems.js +31 -31
- package/esm/time-picker/TimePicker.js +34 -34
- package/esm/time-picker/TimeRangePicker.js +34 -34
- package/esm/time-picker/consts.js +22 -22
- package/esm/time-picker/index.js +34 -34
- package/esm/time-picker/interfaces.js +1 -1
- package/esm/time-picker/panel/SinglePanel.js +31 -31
- package/esm/time-picker/panel/TimePickerPanel.js +33 -33
- package/esm/time-picker/panel/TimePickerRangePanel.js +33 -33
- package/esm/time-picker/type.js +1 -1
- package/esm/tooltip/Tooltip.js +24 -24
- package/esm/tooltip/index.js +24 -24
- package/esm/tooltip/type.js +1 -1
- package/esm/transfer/Transfer.js +40 -40
- package/esm/transfer/TransferList.js +36 -36
- package/esm/transfer/index.js +40 -40
- package/esm/transfer/type.js +1 -1
- package/esm/transfer/utils.js +17 -17
- package/esm/tree/Tree.js +47 -46
- package/esm/tree/Tree.js.map +1 -1
- package/esm/tree/TreeItem.js +31 -31
- package/esm/tree/index.js +47 -46
- package/esm/tree/index.js.map +1 -1
- package/esm/tree/interface.js +1 -1
- package/esm/tree/type.js +1 -1
- package/esm/tree/useControllable.js +3 -3
- package/esm/tree/useStore.js +41 -40
- package/esm/tree/useStore.js.map +1 -1
- package/esm/tree/useTreeConfig.js +22 -22
- package/esm/tree-select/TreeSelect.js +48 -47
- package/esm/tree-select/TreeSelect.js.map +1 -1
- package/esm/tree-select/TreeSelectInput.js +26 -26
- package/esm/tree-select/TreeSelectSuffix.js +26 -26
- package/esm/tree-select/TreeSelectTags.js +23 -23
- package/esm/tree-select/index.js +48 -47
- package/esm/tree-select/index.js.map +1 -1
- package/esm/tree-select/type.js +1 -1
- package/esm/tree-select/useTreeSelectConfig.js +20 -20
- package/esm/upload/boolean-render.js +1 -1
- package/esm/upload/dragger.js +25 -25
- package/esm/upload/hooks/useDefaultValue.js +7 -7
- package/esm/upload/hooks/useSizeLimit.js +22 -22
- package/esm/upload/index.js +39 -39
- package/esm/upload/themes/dragger-progress.js +25 -25
- package/esm/upload/themes/flow-list/file-list.js +25 -25
- package/esm/upload/themes/flow-list/img-list.js +25 -25
- package/esm/upload/themes/flow-list/index.js +25 -25
- package/esm/upload/themes/image-card.js +25 -25
- package/esm/upload/themes/single-file.js +24 -24
- package/esm/upload/tips.js +20 -20
- package/esm/upload/type.js +1 -1
- package/esm/upload/types.js +1 -1
- package/esm/upload/upload-trigger.js +24 -24
- package/esm/upload/upload.js +39 -39
- package/esm/upload/util.js +3 -3
- package/lib/_chunks/{dep-da5c2a7e.js → dep-0706ae8b.js} +2 -2
- package/{esm/_chunks/dep-3f70a0f5.js.map → lib/_chunks/dep-0706ae8b.js.map} +1 -1
- package/lib/_chunks/{dep-31e5288f.js → dep-08fec65f.js} +5 -5
- package/lib/_chunks/{dep-31e5288f.js.map → dep-08fec65f.js.map} +1 -1
- package/lib/_chunks/{dep-5725aa0d.js → dep-0a2d9525.js} +4 -4
- package/lib/_chunks/{dep-5725aa0d.js.map → dep-0a2d9525.js.map} +1 -1
- package/lib/_chunks/{dep-2a90d480.js → dep-0b78165a.js} +4 -4
- package/lib/_chunks/{dep-2a90d480.js.map → dep-0b78165a.js.map} +1 -1
- package/lib/_chunks/{dep-c44bb200.js → dep-140a2995.js} +3 -3
- package/lib/_chunks/{dep-c44bb200.js.map → dep-140a2995.js.map} +1 -1
- package/lib/_chunks/{dep-8694c320.js → dep-14fcdbd0.js} +3 -3
- package/lib/_chunks/{dep-8694c320.js.map → dep-14fcdbd0.js.map} +1 -1
- package/lib/_chunks/{dep-d6d15e85.js → dep-186436f8.js} +4 -4
- package/lib/_chunks/{dep-d6d15e85.js.map → dep-186436f8.js.map} +1 -1
- package/lib/_chunks/{dep-b38beed2.js → dep-1ad5853c.js} +6 -6
- package/lib/_chunks/{dep-b38beed2.js.map → dep-1ad5853c.js.map} +1 -1
- package/lib/_chunks/{dep-6223e889.js → dep-207637ec.js} +5 -5
- package/lib/_chunks/{dep-6223e889.js.map → dep-207637ec.js.map} +1 -1
- package/lib/_chunks/{dep-ab7e56ed.js → dep-22e00850.js} +2 -2
- package/lib/_chunks/{dep-ab7e56ed.js.map → dep-22e00850.js.map} +1 -1
- package/lib/_chunks/{dep-4e4ea898.js → dep-24860d3b.js} +2 -2
- package/lib/_chunks/{dep-4e4ea898.js.map → dep-24860d3b.js.map} +1 -1
- package/lib/_chunks/{dep-dc65ecc4.js → dep-37d3829a.js} +2 -2
- package/lib/_chunks/{dep-dc65ecc4.js.map → dep-37d3829a.js.map} +1 -1
- package/lib/_chunks/{dep-d0e8adc2.js → dep-3b2b764c.js} +7 -7
- package/lib/_chunks/{dep-d0e8adc2.js.map → dep-3b2b764c.js.map} +1 -1
- package/lib/_chunks/{dep-11f68241.js → dep-3b34147d.js} +14 -14
- package/lib/_chunks/{dep-11f68241.js.map → dep-3b34147d.js.map} +1 -1
- package/lib/_chunks/{dep-be015aaa.js → dep-3cfc5c96.js} +5 -5
- package/lib/_chunks/{dep-be015aaa.js.map → dep-3cfc5c96.js.map} +1 -1
- package/lib/_chunks/dep-3eab429c.js +313 -0
- package/lib/_chunks/dep-3eab429c.js.map +1 -0
- package/lib/_chunks/{dep-c67594a4.js → dep-43d2b778.js} +5 -5
- package/lib/_chunks/{dep-c67594a4.js.map → dep-43d2b778.js.map} +1 -1
- package/lib/_chunks/{dep-d02f776a.js → dep-4fa0c97c.js} +6 -6
- package/lib/_chunks/{dep-d02f776a.js.map → dep-4fa0c97c.js.map} +1 -1
- package/lib/_chunks/{dep-2c3f65c5.js → dep-54e5d466.js} +2 -2
- package/lib/_chunks/{dep-2c3f65c5.js.map → dep-54e5d466.js.map} +1 -1
- package/lib/_chunks/{dep-401ea197.js → dep-551cd0f7.js} +3 -3
- package/lib/_chunks/{dep-401ea197.js.map → dep-551cd0f7.js.map} +1 -1
- package/lib/_chunks/{dep-f31f59e5.js → dep-56f3eb6f.js} +3 -3
- package/lib/_chunks/{dep-f31f59e5.js.map → dep-56f3eb6f.js.map} +1 -1
- package/lib/_chunks/{dep-907a36e3.js → dep-5d12d655.js} +4 -4
- package/lib/_chunks/{dep-907a36e3.js.map → dep-5d12d655.js.map} +1 -1
- package/lib/_chunks/{dep-d9f6accc.js → dep-5f511a24.js} +3 -3
- package/lib/_chunks/{dep-d9f6accc.js.map → dep-5f511a24.js.map} +1 -1
- package/lib/_chunks/{dep-d4e84af2.js → dep-640aadbb.js} +3 -3
- package/lib/_chunks/{dep-d4e84af2.js.map → dep-640aadbb.js.map} +1 -1
- package/lib/_chunks/{dep-52073669.js → dep-6c84bdfe.js} +2 -2
- package/lib/_chunks/{dep-52073669.js.map → dep-6c84bdfe.js.map} +1 -1
- package/lib/_chunks/{dep-ab1e2a32.js → dep-6e0dd2d3.js} +6 -6
- package/lib/_chunks/{dep-ab1e2a32.js.map → dep-6e0dd2d3.js.map} +1 -1
- package/lib/_chunks/{dep-d31b7e6c.js → dep-71acee8a.js} +4 -4
- package/lib/_chunks/{dep-d31b7e6c.js.map → dep-71acee8a.js.map} +1 -1
- package/lib/_chunks/{dep-bad88682.js → dep-7bbe83c7.js} +3 -3
- package/lib/_chunks/{dep-bad88682.js.map → dep-7bbe83c7.js.map} +1 -1
- package/lib/_chunks/{dep-1ea6e69a.js → dep-866e7a44.js} +6 -6
- package/lib/_chunks/{dep-1ea6e69a.js.map → dep-866e7a44.js.map} +1 -1
- package/lib/_chunks/{dep-b2b05055.js → dep-8a5b02c3.js} +4 -4
- package/lib/_chunks/{dep-b2b05055.js.map → dep-8a5b02c3.js.map} +1 -1
- package/lib/_chunks/{dep-9ee3b6d6.js → dep-908b0c0a.js} +5 -5
- package/lib/_chunks/{dep-9ee3b6d6.js.map → dep-908b0c0a.js.map} +1 -1
- package/lib/_chunks/{dep-1626b298.js → dep-955ec2f5.js} +11 -11
- package/lib/_chunks/{dep-1626b298.js.map → dep-955ec2f5.js.map} +1 -1
- package/lib/_chunks/{dep-0c9ff57a.js → dep-9d1b3eff.js} +7 -7
- package/lib/_chunks/{dep-0c9ff57a.js.map → dep-9d1b3eff.js.map} +1 -1
- package/lib/_chunks/{dep-d8f3ac59.js → dep-a02ab8da.js} +7 -7
- package/lib/_chunks/{dep-d8f3ac59.js.map → dep-a02ab8da.js.map} +1 -1
- package/lib/_chunks/{dep-ac761868.js → dep-a19cf0b0.js} +3 -3
- package/lib/_chunks/{dep-ac761868.js.map → dep-a19cf0b0.js.map} +1 -1
- package/lib/_chunks/{dep-b6642355.js → dep-a2676c39.js} +7 -7
- package/lib/_chunks/{dep-b6642355.js.map → dep-a2676c39.js.map} +1 -1
- package/lib/_chunks/{dep-4012a1e4.js → dep-a4e63197.js} +5 -5
- package/lib/_chunks/{dep-4012a1e4.js.map → dep-a4e63197.js.map} +1 -1
- package/lib/_chunks/{dep-78e96941.js → dep-a7e4c0ea.js} +2 -2
- package/lib/_chunks/{dep-78e96941.js.map → dep-a7e4c0ea.js.map} +1 -1
- package/lib/_chunks/{dep-3db8ada5.js → dep-a958b70e.js} +7 -7
- package/lib/_chunks/{dep-3db8ada5.js.map → dep-a958b70e.js.map} +1 -1
- package/lib/_chunks/dep-ac45a626.js +147 -0
- package/lib/_chunks/dep-ac45a626.js.map +1 -0
- package/lib/_chunks/{dep-08835dba.js → dep-adbe0cba.js} +5 -5
- package/lib/_chunks/{dep-08835dba.js.map → dep-adbe0cba.js.map} +1 -1
- package/lib/_chunks/{dep-661ad10f.js → dep-b7cfec4d.js} +3 -3
- package/lib/_chunks/{dep-661ad10f.js.map → dep-b7cfec4d.js.map} +1 -1
- package/lib/_chunks/{dep-51f98d04.js → dep-c4204176.js} +12 -12
- package/lib/_chunks/{dep-51f98d04.js.map → dep-c4204176.js.map} +1 -1
- package/lib/_chunks/{dep-78e94fbb.js → dep-c8336573.js} +3 -3
- package/lib/_chunks/{dep-78e94fbb.js.map → dep-c8336573.js.map} +1 -1
- package/lib/_chunks/{dep-f0d462cc.js → dep-cb10b3ee.js} +7 -7
- package/lib/_chunks/{dep-f0d462cc.js.map → dep-cb10b3ee.js.map} +1 -1
- package/lib/_chunks/{dep-4a4d4119.js → dep-d2ca8f73.js} +7 -7
- package/lib/_chunks/{dep-4a4d4119.js.map → dep-d2ca8f73.js.map} +1 -1
- package/lib/_chunks/{dep-4cdae517.js → dep-d5d51090.js} +2 -2
- package/lib/_chunks/{dep-4cdae517.js.map → dep-d5d51090.js.map} +1 -1
- package/lib/_chunks/{dep-ab3cca64.js → dep-d616be9f.js} +3 -3
- package/lib/_chunks/{dep-ab3cca64.js.map → dep-d616be9f.js.map} +1 -1
- package/lib/_chunks/{dep-8cd47785.js → dep-e69612eb.js} +4 -4
- package/lib/_chunks/{dep-8cd47785.js.map → dep-e69612eb.js.map} +1 -1
- package/lib/_chunks/{dep-23ee43e6.js → dep-e8666a80.js} +10 -8
- package/lib/_chunks/dep-e8666a80.js.map +1 -0
- package/lib/_chunks/{dep-f2c71809.js → dep-e8b2b2fc.js} +6 -6
- package/lib/_chunks/{dep-f2c71809.js.map → dep-e8b2b2fc.js.map} +1 -1
- package/lib/_chunks/{dep-3dfbfa1e.js → dep-ec6a3b8b.js} +2 -2
- package/lib/_chunks/{dep-3dfbfa1e.js.map → dep-ec6a3b8b.js.map} +1 -1
- package/lib/_chunks/{dep-3a9ef687.js → dep-eedee13a.js} +2 -2
- package/lib/_chunks/{dep-3a9ef687.js.map → dep-eedee13a.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.js +1 -1
- package/lib/_common/js/locale/zh_CN.js +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 +21 -150
- package/lib/_common/js/tree/tree-node-model.js.map +1 -1
- package/lib/_common/js/tree/tree-node.js +25 -24
- package/lib/_common/js/tree/tree-node.js.map +1 -1
- package/lib/_common/js/tree/tree-store.js +33 -32
- 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/calcTextareaHeight.js.map +1 -1
- package/lib/_common/js/utils/helper.js +5 -5
- package/lib/_common/js/utils/set-style.js +1 -1
- package/lib/_util/callBoth.js +1 -1
- package/lib/_util/composeRefs.js +1 -1
- package/lib/_util/dom.js +6 -6
- package/lib/_util/easing.js +1 -1
- package/lib/_util/forwardRefWithStatics.js +1 -1
- package/lib/_util/getScrollbarWidth.js +1 -1
- package/lib/_util/hasScrollBar.js +1 -1
- package/lib/_util/helper.js +14 -14
- package/lib/_util/injectValue.js +1 -1
- package/lib/_util/insertCSS.js +1 -1
- package/lib/_util/isCallable.js +1 -1
- package/lib/_util/linearGradient.js +2 -2
- package/lib/_util/noop.js +1 -1
- package/lib/_util/number.js +1 -1
- package/lib/_util/setStyle.js +1 -1
- package/lib/_util/useClickOutside.js +1 -1
- package/lib/_util/useCommonClassName.js +18 -18
- package/lib/_util/useConfig.js +18 -18
- package/lib/_util/useDefault.js +3 -3
- package/lib/_util/useDefaultValue.js +5 -5
- package/lib/_util/useDragSorter.d.ts +24 -0
- package/lib/_util/useDragSorter.js +99 -0
- package/lib/_util/useDragSorter.js.map +1 -0
- 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 +19 -19
- package/lib/_util/useSetState.js +4 -4
- package/lib/_util/useUpdateEffect.js +6 -6
- package/lib/addon/Addon.js +19 -19
- package/lib/addon/index.js +19 -19
- package/lib/affix/Affix.js +21 -21
- package/lib/affix/index.js +21 -21
- package/lib/affix/type.js +1 -1
- package/lib/alert/Alert.js +21 -21
- package/lib/alert/index.js +21 -21
- package/lib/alert/type.js +1 -1
- package/lib/anchor/Anchor.js +24 -24
- package/lib/anchor/AnchorContext.js +1 -1
- package/lib/anchor/AnchorItem.js +19 -19
- package/lib/anchor/AnchorTarget.js +22 -22
- package/lib/anchor/_util/clipboard.js +1 -1
- package/lib/anchor/_util/dom.js +1 -1
- package/lib/anchor/index.js +24 -24
- package/lib/anchor/type.js +1 -1
- package/lib/avatar/AvararGroup.js +23 -23
- package/lib/avatar/Avatar.js +23 -23
- package/lib/avatar/AvatarContext.js +1 -1
- package/lib/avatar/index.js +23 -23
- package/lib/avatar/type.js +1 -1
- package/lib/badge/Badge.js +19 -19
- package/lib/badge/index.js +19 -19
- package/lib/badge/type.js +1 -1
- package/lib/breadcrumb/Breadcrumb.js +19 -19
- package/lib/breadcrumb/BreadcrumbContext.js +1 -1
- package/lib/breadcrumb/BreadcrumbItem.js +19 -19
- package/lib/breadcrumb/BreadcrumbProps.js +1 -1
- package/lib/breadcrumb/index.js +19 -19
- package/lib/breadcrumb/type.js +1 -1
- package/lib/button/Button.js +22 -22
- package/lib/button/index.js +22 -22
- package/lib/button/type.js +1 -1
- package/lib/calendar/Calendar.js +32 -32
- package/lib/calendar/_util.js +1 -1
- package/lib/calendar/index.js +32 -32
- package/lib/calendar/type.js +1 -1
- package/lib/card/type.js +1 -1
- package/lib/cascader/Cascader.js +53 -46
- package/lib/cascader/Cascader.js.map +1 -1
- package/lib/cascader/components/InputContent.js +23 -23
- package/lib/cascader/components/Item.js +30 -30
- package/lib/cascader/components/Panel.js +36 -36
- package/lib/cascader/components/Panel.js.map +1 -1
- package/lib/cascader/index.js +44 -43
- package/lib/cascader/index.js.map +1 -1
- package/lib/cascader/interface.js +25 -24
- package/lib/cascader/interface.js.map +1 -1
- package/lib/cascader/type.js +1 -1
- package/lib/cascader/utils/cascader.js +10 -5
- package/lib/cascader/utils/cascader.js.map +1 -1
- package/lib/cascader/utils/helper.js +2 -2
- package/lib/cascader/utils/inputContent.js +15 -15
- package/lib/cascader/utils/inputContent.js.map +1 -1
- package/lib/cascader/utils/item.js +4 -4
- package/lib/cascader/utils/panel.js +7 -7
- package/lib/checkbox/Checkbox.js +28 -28
- package/lib/checkbox/CheckboxGroup.js +28 -28
- package/lib/checkbox/index.js +28 -28
- package/lib/checkbox/type.d.ts +7 -5
- package/lib/checkbox/type.js +1 -1
- package/lib/comment/Comment.js +18 -18
- package/lib/comment/index.js +18 -18
- package/lib/comment/type.js +1 -1
- package/lib/common/Check.js +26 -26
- package/lib/common/FakeArrow.js +18 -18
- package/lib/common/Portal.js +6 -6
- package/lib/common.js +1 -1
- package/lib/config-provider/ConfigContext.js +18 -18
- package/lib/config-provider/ConfigProvider.js +18 -18
- package/lib/config-provider/defaultConfig.js +1 -1
- package/lib/config-provider/index.js +18 -18
- package/lib/config-provider/type.js +1 -1
- package/lib/date-picker/DatePicker.js +31 -31
- package/lib/date-picker/base/CalendarPresets.js +22 -22
- package/lib/date-picker/base/Cell.js +18 -18
- package/lib/date-picker/base/Header.js +22 -22
- package/lib/date-picker/base/Table.js +20 -20
- package/lib/date-picker/index.js +31 -31
- package/lib/date-picker/panel/Date.js +26 -26
- package/lib/date-picker/panel/DateRange.js +26 -26
- package/lib/date-picker/type.js +1 -1
- package/lib/dialog/Dialog.js +22 -22
- package/lib/dialog/RenderDialog.js +20 -11
- package/lib/dialog/RenderDialog.js.map +1 -1
- package/lib/dialog/index.js +22 -22
- package/lib/dialog/plugin.js +22 -22
- package/lib/dialog/type.js +1 -1
- package/lib/divider/Divider.js +19 -19
- package/lib/divider/index.js +19 -19
- package/lib/divider/type.js +1 -1
- package/lib/drawer/Drawer.js +22 -22
- package/lib/drawer/DrawerWrapper.js +6 -6
- package/lib/drawer/index.js +22 -22
- package/lib/drawer/type.js +1 -1
- package/lib/dropdown/Dropdown.js +36 -36
- package/lib/dropdown/DropdownItem.js +27 -27
- package/lib/dropdown/DropdownMenu.js +28 -28
- package/lib/dropdown/index.js +36 -36
- package/lib/dropdown/type.js +1 -1
- package/lib/form/Form.js +44 -44
- package/lib/form/FormContext.js +1 -1
- package/lib/form/FormItem.js +42 -42
- package/lib/form/formModel.js +24 -24
- package/lib/form/index.js +44 -44
- package/lib/form/type.js +1 -1
- package/lib/grid/Col.js +19 -19
- package/lib/grid/Row.js +22 -22
- package/lib/grid/index.js +22 -22
- package/lib/grid/type.js +1 -1
- package/lib/index-lib.js +61 -55
- package/lib/index-lib.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +61 -55
- package/lib/index.js.map +1 -1
- package/lib/input/Input.js +45 -27
- package/lib/input/Input.js.map +1 -1
- package/lib/input/InputGroup.js +19 -19
- package/lib/input/index.js +21 -21
- package/lib/input/type.d.ts +14 -4
- package/lib/input/type.js +1 -1
- package/lib/input-number/InputNumber.js +22 -22
- package/lib/input-number/StepHandler.js +22 -22
- package/lib/input-number/index.js +22 -22
- package/lib/input-number/type.js +1 -1
- package/lib/input-number/utils/numberUtils.js +1 -1
- package/lib/layout/Aside.js +19 -19
- package/lib/layout/Layout.js +22 -22
- package/lib/layout/Layout.js.map +1 -1
- package/lib/layout/index.js +21 -21
- package/lib/layout/type.js +1 -1
- package/lib/list/List.js +22 -22
- package/lib/list/ListItem.js +18 -18
- package/lib/list/ListItemMeta.js +18 -18
- package/lib/list/index.js +22 -22
- package/lib/list/type.js +1 -1
- package/lib/loading/gradient.js +21 -21
- package/lib/loading/index.js +22 -22
- package/lib/loading/loading.js +22 -22
- package/lib/loading/plugin.js +22 -22
- package/lib/loading/type.js +1 -1
- package/lib/locale/LocalReceiver.js +18 -18
- package/lib/locale/en_US.js +1 -1
- package/lib/locale/zh_CN.js +1 -1
- package/lib/menu/HeadMenu.js +22 -22
- package/lib/menu/Menu.js +22 -22
- package/lib/menu/MenuContext.js +1 -1
- package/lib/menu/MenuGroup.js +18 -18
- package/lib/menu/MenuItem.js +19 -19
- package/lib/menu/SubMenu.js +21 -21
- 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 +22 -22
- package/lib/menu/type.js +1 -1
- package/lib/message/Message.js +22 -22
- package/lib/message/MessageClose.js +18 -18
- package/lib/message/MessageComponent.js +22 -22
- package/lib/message/MessageIcon.js +22 -22
- package/lib/message/const.js +1 -1
- package/lib/message/index.js +22 -22
- package/lib/message/type.js +1 -1
- package/lib/message/useMessageClass.js +18 -18
- package/lib/notification/Notification.d.ts +1 -0
- package/lib/notification/Notification.js +29 -172
- package/lib/notification/Notification.js.map +1 -1
- package/lib/notification/NotificationList.d.ts +2 -0
- package/lib/notification/NotificationList.js +29 -187
- package/lib/notification/NotificationList.js.map +1 -1
- package/lib/notification/NotificationPlugin.js +23 -24
- package/lib/notification/NotificationPlugin.js.map +1 -1
- package/lib/notification/index.js +25 -26
- package/lib/notification/index.js.map +1 -1
- package/lib/notification/type.js +1 -1
- package/lib/pagination/Pagination.js +28 -28
- package/lib/pagination/index.js +28 -28
- package/lib/pagination/type.js +1 -1
- package/lib/pagination/validators.js +1 -1
- package/lib/popconfirm/PopConfirm.js +22 -22
- package/lib/popconfirm/PopContent.js +22 -22
- package/lib/popconfirm/index.js +22 -22
- package/lib/popconfirm/type.js +1 -1
- package/lib/popup/Popup.js +41 -23
- package/lib/popup/Popup.js.map +1 -1
- package/lib/popup/hooks/useTriggerProps.js +1 -1
- package/lib/popup/index.js +21 -21
- package/lib/popup/type.d.ts +7 -2
- package/lib/popup/type.js +1 -1
- package/lib/popup/utils/getTransitionParams.js +1 -1
- package/lib/progress/Progress.js +19 -19
- package/lib/progress/index.js +19 -19
- package/lib/progress/type.js +1 -1
- package/lib/radio/Radio.js +27 -27
- package/lib/radio/RadioGroup.js +27 -27
- package/lib/radio/index.js +27 -27
- package/lib/radio/type.js +1 -1
- package/lib/rate/type.js +1 -1
- package/lib/select/base/Option.js +24 -24
- package/lib/select/base/OptionGroup.js +18 -18
- package/lib/select/base/PopupContent.js +28 -28
- package/lib/select/base/Select.js +28 -28
- package/lib/select/index.js +28 -28
- package/lib/select/type.js +1 -1
- package/lib/select/util/helper.js +26 -26
- package/lib/select-input/SelectInput.d.ts +7 -0
- package/lib/select-input/SelectInput.js +154 -0
- package/lib/select-input/SelectInput.js.map +1 -0
- package/lib/select-input/index.d.ts +6 -0
- package/lib/select-input/index.js +88 -0
- package/lib/select-input/index.js.map +1 -0
- package/lib/select-input/style/css.d.ts +1 -0
- package/lib/select-input/style/index.d.ts +1 -0
- package/lib/select-input/type.d.ts +197 -0
- package/lib/select-input/type.js +9 -0
- package/lib/select-input/type.js.map +1 -0
- package/lib/select-input/useMultiple.d.ts +15 -0
- package/lib/select-input/useMultiple.js +141 -0
- package/lib/select-input/useMultiple.js.map +1 -0
- package/lib/select-input/useOverlayStyle.d.ts +8 -0
- package/lib/select-input/useOverlayStyle.js +75 -0
- package/lib/select-input/useOverlayStyle.js.map +1 -0
- package/lib/select-input/useSingle.d.ts +14 -0
- package/lib/select-input/useSingle.js +140 -0
- package/lib/select-input/useSingle.js.map +1 -0
- package/lib/skeleton/Skeleton.js +28 -28
- package/lib/skeleton/index.js +28 -28
- package/lib/skeleton/type.js +1 -1
- package/lib/slider/Slider.js +35 -36
- package/lib/slider/Slider.js.map +1 -1
- package/lib/slider/SliderHandleButton.js +27 -27
- package/lib/slider/SliderHandleButton.js.map +1 -1
- package/lib/slider/index.js +22 -22
- package/lib/slider/type.js +1 -1
- package/lib/slider/utils/handleNumber.js +1 -1
- package/lib/steps/StepItem.js +18 -18
- package/lib/steps/Steps.js +18 -18
- package/lib/steps/StepsContext.js +1 -1
- package/lib/steps/index.js +18 -18
- package/lib/steps/type.js +1 -1
- package/lib/sticky-tool/type.js +1 -1
- package/lib/swiper/Swiper.js +20 -20
- package/lib/swiper/SwiperItem.js +1 -1
- package/lib/swiper/index.js +20 -20
- package/lib/swiper/type.js +1 -1
- package/lib/switch/Switch.js +22 -22
- package/lib/switch/index.js +22 -22
- package/lib/switch/type.js +1 -1
- package/lib/table/base/Table.d.ts +2 -10
- package/lib/table/base/Table.js +30 -30
- package/lib/table/base/Table.js.map +1 -1
- package/lib/table/base/TableAsyncLoadingBody.js +22 -22
- package/lib/table/base/TableBody.d.ts +2 -1
- package/lib/table/base/TableBody.js +26 -26
- package/lib/table/base/TableBody.js.map +1 -1
- package/lib/table/base/TableCell.js +54 -26
- package/lib/table/base/TableCell.js.map +1 -1
- package/lib/table/base/TableColGroup.js +1 -1
- package/lib/table/base/TableContext.js +1 -1
- package/lib/table/base/TableEmptyBody.js +20 -20
- package/lib/table/base/TableFooter.js +1 -1
- package/lib/table/base/TableHeader.js +23 -23
- package/lib/table/base/TableLoadingBody.js +4 -4
- package/lib/table/base/TableRow.d.ts +2 -1
- package/lib/table/base/TableRow.js +26 -26
- package/lib/table/base/TableRow.js.map +1 -1
- package/lib/table/enhanced/Table.js +36 -36
- package/lib/table/enhanced/TableContext.js +1 -1
- package/lib/table/enhanced/useTree.js +25 -25
- package/lib/table/hooks/useColumns.js +4 -4
- package/lib/table/index.js +36 -36
- package/lib/table/primary/FilterButton.js +30 -30
- package/lib/table/primary/SorterButton.js +22 -22
- package/lib/table/primary/Table.js +40 -40
- package/lib/table/primary/Table.js.map +1 -1
- package/lib/table/primary/expand-box.js +18 -18
- package/lib/table/primary/useExpand.js +25 -25
- package/lib/table/primary/useFilter.js +30 -30
- package/lib/table/primary/useSelect.js +30 -30
- package/lib/table/primary/useSorter.js +27 -27
- 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 +20 -20
- package/lib/tabs/TabNav.js +21 -21
- package/lib/tabs/TabNavItem.js +19 -19
- package/lib/tabs/TabPanel.js +18 -18
- package/lib/tabs/Tabs.js +21 -21
- package/lib/tabs/index.js +21 -21
- package/lib/tabs/type.js +1 -1
- package/lib/tabs/useTabClass.js +18 -18
- package/lib/tag/CheckTag.js +21 -21
- package/lib/tag/Tag.js +21 -21
- package/lib/tag/index.js +21 -21
- package/lib/tag/type.js +1 -1
- package/lib/tag-input/TagInput.js +60 -31
- package/lib/tag-input/TagInput.js.map +1 -1
- package/lib/tag-input/index.js +23 -22
- package/lib/tag-input/index.js.map +1 -1
- package/lib/tag-input/type.d.ts +22 -4
- package/lib/tag-input/type.js +1 -1
- package/lib/tag-input/useHover.d.ts +13 -2
- package/lib/tag-input/useHover.js +3 -3
- package/lib/tag-input/useHover.js.map +1 -1
- package/lib/tag-input/useTagList.d.ts +6 -2
- package/lib/tag-input/useTagList.js +35 -34
- package/lib/tag-input/useTagList.js.map +1 -1
- package/lib/tag-input/useTagScroll.js +3 -3
- package/lib/textarea/Textarea.js +26 -26
- package/lib/textarea/index.js +26 -26
- package/lib/textarea/type.js +1 -1
- package/lib/time-picker/InputItems.js +29 -29
- package/lib/time-picker/TimePicker.js +32 -32
- package/lib/time-picker/TimeRangePicker.js +32 -32
- package/lib/time-picker/consts.js +20 -20
- package/lib/time-picker/index.js +32 -32
- package/lib/time-picker/interfaces.js +1 -1
- package/lib/time-picker/panel/SinglePanel.js +29 -29
- package/lib/time-picker/panel/TimePickerPanel.js +31 -31
- package/lib/time-picker/panel/TimePickerRangePanel.js +31 -31
- package/lib/time-picker/type.js +1 -1
- package/lib/tooltip/Tooltip.js +22 -22
- package/lib/tooltip/index.js +22 -22
- package/lib/tooltip/type.js +1 -1
- package/lib/transfer/Transfer.js +38 -38
- package/lib/transfer/TransferList.js +34 -34
- package/lib/transfer/index.js +38 -38
- package/lib/transfer/type.js +1 -1
- package/lib/transfer/utils.js +15 -15
- package/lib/tree/Tree.js +45 -44
- package/lib/tree/Tree.js.map +1 -1
- package/lib/tree/TreeItem.js +29 -29
- package/lib/tree/index.js +45 -44
- package/lib/tree/index.js.map +1 -1
- package/lib/tree/interface.js +1 -1
- package/lib/tree/type.js +1 -1
- package/lib/tree/useControllable.js +3 -3
- package/lib/tree/useStore.js +39 -38
- package/lib/tree/useStore.js.map +1 -1
- package/lib/tree/useTreeConfig.js +20 -20
- package/lib/tree-select/TreeSelect.js +46 -45
- package/lib/tree-select/TreeSelect.js.map +1 -1
- package/lib/tree-select/TreeSelectInput.js +24 -24
- package/lib/tree-select/TreeSelectSuffix.js +24 -24
- package/lib/tree-select/TreeSelectTags.js +21 -21
- package/lib/tree-select/index.js +46 -45
- package/lib/tree-select/index.js.map +1 -1
- package/lib/tree-select/type.js +1 -1
- package/lib/tree-select/useTreeSelectConfig.js +18 -18
- package/lib/upload/boolean-render.js +1 -1
- package/lib/upload/dragger.js +23 -23
- package/lib/upload/hooks/useDefaultValue.js +6 -6
- package/lib/upload/hooks/useSizeLimit.js +20 -20
- package/lib/upload/index.js +37 -37
- package/lib/upload/themes/dragger-progress.js +23 -23
- package/lib/upload/themes/flow-list/file-list.js +23 -23
- package/lib/upload/themes/flow-list/img-list.js +23 -23
- package/lib/upload/themes/flow-list/index.js +23 -23
- package/lib/upload/themes/image-card.js +23 -23
- package/lib/upload/themes/single-file.js +22 -22
- package/lib/upload/tips.js +18 -18
- package/lib/upload/type.js +1 -1
- package/lib/upload/types.js +1 -1
- package/lib/upload/upload-trigger.js +22 -22
- package/lib/upload/upload.js +37 -37
- package/lib/upload/util.js +3 -3
- package/package.json +9 -6
- package/es/_chunks/dep-36516db7.js.map +0 -1
- package/es/_chunks/dep-72e1bd13.js +0 -8
- package/es/_chunks/dep-72e1bd13.js.map +0 -1
- package/es/_chunks/dep-f9242fec.js.map +0 -1
- package/es/table/primary/useDragSorter.d.ts +0 -4
- package/es/table/primary/useDragSorter.js +0 -74
- package/es/table/primary/useDragSorter.js.map +0 -1
- package/esm/_chunks/dep-36516db7.js.map +0 -1
- package/esm/_chunks/dep-72e1bd13.js +0 -8
- package/esm/_chunks/dep-72e1bd13.js.map +0 -1
- package/esm/_chunks/dep-f9242fec.js.map +0 -1
- package/esm/table/primary/useDragSorter.d.ts +0 -4
- package/esm/table/primary/useDragSorter.js +0 -74
- package/esm/table/primary/useDragSorter.js.map +0 -1
- package/lib/_chunks/dep-23ee43e6.js.map +0 -1
- package/lib/table/primary/useDragSorter.d.ts +0 -4
- package/lib/table/primary/useDragSorter.js +0 -77
- package/lib/table/primary/useDragSorter.js.map +0 -1
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* tdesign v0.25.2
|
|
3
|
+
* (c) 2022 tdesign
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { _ as _slicedToArray } from './dep-301db282.js';
|
|
8
|
+
import React, { forwardRef, useState, useImperativeHandle, useContext } from 'react';
|
|
9
|
+
import { CheckCircleFilledIcon, InfoCircleFilledIcon, CloseIcon } from 'tdesign-icons-react';
|
|
10
|
+
import { _ as _defineProperty } from './dep-1dcd6f7a.js';
|
|
11
|
+
import { _ as _toConsumableArray } from './dep-ed38fb3f.js';
|
|
12
|
+
import ReactDOM from 'react-dom';
|
|
13
|
+
import useConfig from '../_util/useConfig.js';
|
|
14
|
+
import noop from '../_util/noop.js';
|
|
15
|
+
|
|
16
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
17
|
+
|
|
18
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
19
|
+
var seed = 0;
|
|
20
|
+
var listMap = /* @__PURE__ */new Map();
|
|
21
|
+
var NotificationRemoveContext = /*#__PURE__*/React.createContext(noop);
|
|
22
|
+
var NotificationList = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
23
|
+
var placement = props.placement,
|
|
24
|
+
zIndex = props.zIndex;
|
|
25
|
+
|
|
26
|
+
var _useConfig = useConfig(),
|
|
27
|
+
classPrefix = _useConfig.classPrefix;
|
|
28
|
+
|
|
29
|
+
var _useState = useState([]),
|
|
30
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
31
|
+
list = _useState2[0],
|
|
32
|
+
setList = _useState2[1];
|
|
33
|
+
|
|
34
|
+
var remove = function remove(key) {
|
|
35
|
+
setList(function (oldList) {
|
|
36
|
+
var index = oldList.findIndex(function (item) {
|
|
37
|
+
return item.key === key;
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
if (index !== -1) {
|
|
41
|
+
var tempList = _toConsumableArray(oldList);
|
|
42
|
+
|
|
43
|
+
tempList.splice(index, 1);
|
|
44
|
+
return _toConsumableArray(tempList);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return oldList;
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
var calOffset = function calOffset(offset) {
|
|
52
|
+
if (!offset) return "16px";
|
|
53
|
+
return isNaN(Number(offset)) ? offset : "".concat(offset, "px");
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
var push = function push(theme, options) {
|
|
57
|
+
var key = String(seed += 1);
|
|
58
|
+
var style = {
|
|
59
|
+
margin: "16px"
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
if (Array.isArray(options.offset)) {
|
|
63
|
+
var _ref = _toConsumableArray(options.offset),
|
|
64
|
+
horizontal = _ref[0],
|
|
65
|
+
vertical = _ref[1];
|
|
66
|
+
|
|
67
|
+
var horizontalOffset = calOffset(horizontal);
|
|
68
|
+
var verticalOffset = calOffset(vertical);
|
|
69
|
+
style = {
|
|
70
|
+
marginTop: verticalOffset,
|
|
71
|
+
marginBottom: verticalOffset,
|
|
72
|
+
marginLeft: horizontalOffset,
|
|
73
|
+
marginRight: horizontalOffset
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
var ref2 = /*#__PURE__*/React.createRef();
|
|
78
|
+
setList(function (oldList) {
|
|
79
|
+
return [].concat(_toConsumableArray(oldList), [_objectSpread(_objectSpread({}, options), {}, {
|
|
80
|
+
key: key,
|
|
81
|
+
theme: theme,
|
|
82
|
+
style: style,
|
|
83
|
+
ref: ref2,
|
|
84
|
+
id: key
|
|
85
|
+
})]);
|
|
86
|
+
});
|
|
87
|
+
return Promise.resolve(ref2.current);
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
var removeAll = function removeAll() {
|
|
91
|
+
setList([]);
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
useImperativeHandle(ref, function () {
|
|
95
|
+
return {
|
|
96
|
+
push: push,
|
|
97
|
+
remove: remove,
|
|
98
|
+
removeAll: removeAll
|
|
99
|
+
};
|
|
100
|
+
});
|
|
101
|
+
return /* @__PURE__ */React.createElement(NotificationRemoveContext.Provider, {
|
|
102
|
+
value: remove
|
|
103
|
+
}, /* @__PURE__ */React.createElement("div", {
|
|
104
|
+
className: "".concat(classPrefix, "-notification__show--").concat(placement),
|
|
105
|
+
style: {
|
|
106
|
+
zIndex: zIndex
|
|
107
|
+
}
|
|
108
|
+
}, list.map(function (props2) {
|
|
109
|
+
var _props2$onDurationEnd = props2.onDurationEnd,
|
|
110
|
+
_onDurationEnd = _props2$onDurationEnd === void 0 ? noop : _props2$onDurationEnd,
|
|
111
|
+
_props2$onCloseBtnCli = props2.onCloseBtnClick,
|
|
112
|
+
_onCloseBtnClick = _props2$onCloseBtnCli === void 0 ? noop : _props2$onCloseBtnCli;
|
|
113
|
+
|
|
114
|
+
return /* @__PURE__ */React.createElement(NotificationComponent, _objectSpread(_objectSpread({
|
|
115
|
+
ref: props2.ref,
|
|
116
|
+
key: props2.key
|
|
117
|
+
}, props2), {}, {
|
|
118
|
+
onDurationEnd: function onDurationEnd() {
|
|
119
|
+
remove(props2.key);
|
|
120
|
+
|
|
121
|
+
_onDurationEnd();
|
|
122
|
+
},
|
|
123
|
+
onCloseBtnClick: function onCloseBtnClick(e) {
|
|
124
|
+
remove(props2.key);
|
|
125
|
+
|
|
126
|
+
_onCloseBtnClick(e);
|
|
127
|
+
}
|
|
128
|
+
}));
|
|
129
|
+
})));
|
|
130
|
+
});
|
|
131
|
+
var fetchListInstance = function fetchListInstance(placement, attach, zIndex) {
|
|
132
|
+
return new Promise(function (resolve) {
|
|
133
|
+
if (listMap.has(placement)) {
|
|
134
|
+
resolve(listMap.get(placement));
|
|
135
|
+
} else {
|
|
136
|
+
var hasExec = false;
|
|
137
|
+
ReactDOM.render( /* @__PURE__ */React.createElement(NotificationList, {
|
|
138
|
+
attach: attach,
|
|
139
|
+
placement: placement,
|
|
140
|
+
zIndex: Number(zIndex),
|
|
141
|
+
ref: function ref(instance) {
|
|
142
|
+
if (!hasExec) {
|
|
143
|
+
hasExec = true;
|
|
144
|
+
listMap.set(placement, instance);
|
|
145
|
+
resolve(instance);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}), attach);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
var blockName = "notification";
|
|
154
|
+
var NotificationComponent = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
155
|
+
var _props$title = props.title,
|
|
156
|
+
title = _props$title === void 0 ? null : _props$title,
|
|
157
|
+
_props$content = props.content,
|
|
158
|
+
content = _props$content === void 0 ? null : _props$content,
|
|
159
|
+
_props$theme = props.theme,
|
|
160
|
+
theme = _props$theme === void 0 ? null : _props$theme,
|
|
161
|
+
_props$icon = props.icon,
|
|
162
|
+
icon = _props$icon === void 0 ? null : _props$icon,
|
|
163
|
+
closeBtn = props.closeBtn,
|
|
164
|
+
_props$footer = props.footer,
|
|
165
|
+
footer = _props$footer === void 0 ? null : _props$footer,
|
|
166
|
+
_props$duration = props.duration,
|
|
167
|
+
duration = _props$duration === void 0 ? 3e3 : _props$duration,
|
|
168
|
+
_props$onCloseBtnClic = props.onCloseBtnClick,
|
|
169
|
+
onCloseBtnClick = _props$onCloseBtnClic === void 0 ? noop : _props$onCloseBtnClic,
|
|
170
|
+
_props$onDurationEnd = props.onDurationEnd,
|
|
171
|
+
onDurationEnd = _props$onDurationEnd === void 0 ? noop : _props$onDurationEnd,
|
|
172
|
+
style = props.style,
|
|
173
|
+
_props$id = props.id,
|
|
174
|
+
id = _props$id === void 0 ? "" : _props$id;
|
|
175
|
+
|
|
176
|
+
var _useConfig = useConfig(),
|
|
177
|
+
classPrefix = _useConfig.classPrefix;
|
|
178
|
+
|
|
179
|
+
var prefixCls = React.useCallback(function () {
|
|
180
|
+
var className = "";
|
|
181
|
+
|
|
182
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
183
|
+
args[_key] = arguments[_key];
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
args.forEach(function (item, index) {
|
|
187
|
+
if (item && index > 0) className = className.concat(" ");
|
|
188
|
+
|
|
189
|
+
if (item instanceof Array) {
|
|
190
|
+
var _item = _slicedToArray(item, 3),
|
|
191
|
+
block = _item[0],
|
|
192
|
+
element = _item[1],
|
|
193
|
+
modifier = _item[2];
|
|
194
|
+
|
|
195
|
+
className = className.concat(classPrefix, "-", block);
|
|
196
|
+
if (element) className = className.concat("__", element);
|
|
197
|
+
if (modifier) className = className.concat("--", modifier);
|
|
198
|
+
} else if (typeof item === "string") {
|
|
199
|
+
className = className.concat(classPrefix, "-", item);
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
return className;
|
|
203
|
+
}, [classPrefix]);
|
|
204
|
+
var remove = useContext(NotificationRemoveContext);
|
|
205
|
+
React.useImperativeHandle(ref, function () {
|
|
206
|
+
return {
|
|
207
|
+
close: function close() {
|
|
208
|
+
return remove(id);
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
});
|
|
212
|
+
React.useEffect(function () {
|
|
213
|
+
var timer;
|
|
214
|
+
|
|
215
|
+
if (duration > 0) {
|
|
216
|
+
timer = setTimeout(function () {
|
|
217
|
+
clearTimeout(timer);
|
|
218
|
+
onDurationEnd();
|
|
219
|
+
}, duration);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
return function () {
|
|
223
|
+
if (timer) clearTimeout(timer);
|
|
224
|
+
};
|
|
225
|
+
}, []);
|
|
226
|
+
|
|
227
|
+
var renderIcon = function renderIcon() {
|
|
228
|
+
var IconWrapper = function IconWrapper(_ref) {
|
|
229
|
+
var children = _ref.children;
|
|
230
|
+
return /* @__PURE__ */React.createElement("div", {
|
|
231
|
+
className: "".concat(classPrefix, "-notification__icon")
|
|
232
|
+
}, children);
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
if ( /*#__PURE__*/React.isValidElement(icon)) {
|
|
236
|
+
return /* @__PURE__ */React.createElement(IconWrapper, null, icon);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
if (theme && theme === "success") {
|
|
240
|
+
return /* @__PURE__ */React.createElement(IconWrapper, null, /* @__PURE__ */React.createElement(CheckCircleFilledIcon, {
|
|
241
|
+
className: prefixCls("is-success")
|
|
242
|
+
}));
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
if (theme && ["info", "warning", "error"].indexOf(theme) >= 0) {
|
|
246
|
+
return /* @__PURE__ */React.createElement(IconWrapper, null, /* @__PURE__ */React.createElement(InfoCircleFilledIcon, {
|
|
247
|
+
className: prefixCls("is-".concat(theme))
|
|
248
|
+
}));
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
return null;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
return /* @__PURE__ */React.createElement("div", {
|
|
255
|
+
className: prefixCls(blockName),
|
|
256
|
+
style: style
|
|
257
|
+
}, renderIcon(), /* @__PURE__ */React.createElement("div", {
|
|
258
|
+
className: prefixCls([blockName, "main"])
|
|
259
|
+
}, /* @__PURE__ */React.createElement("div", {
|
|
260
|
+
className: prefixCls([blockName, "title__wrap"])
|
|
261
|
+
}, /* @__PURE__ */React.createElement("span", {
|
|
262
|
+
className: prefixCls([blockName, "title"])
|
|
263
|
+
}, title), function () {
|
|
264
|
+
if (typeof closeBtn === "boolean" && closeBtn) {
|
|
265
|
+
return /* @__PURE__ */React.createElement(CloseIcon, {
|
|
266
|
+
className: prefixCls("icon-close"),
|
|
267
|
+
onClick: function onClick(e) {
|
|
268
|
+
onCloseBtnClick({
|
|
269
|
+
e: e
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
if ( /*#__PURE__*/React.isValidElement(closeBtn)) {
|
|
276
|
+
return /* @__PURE__ */React.createElement("div", {
|
|
277
|
+
onClick: function onClick(e) {
|
|
278
|
+
onCloseBtnClick({
|
|
279
|
+
e: e
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
}, closeBtn);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
return null;
|
|
286
|
+
}()), function () {
|
|
287
|
+
if (typeof content === "string") {
|
|
288
|
+
return /* @__PURE__ */React.createElement("div", {
|
|
289
|
+
className: prefixCls([blockName, "content"])
|
|
290
|
+
}, content);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
if ( /*#__PURE__*/React.isValidElement(content)) return content;
|
|
294
|
+
return null;
|
|
295
|
+
}(), /*#__PURE__*/React.isValidElement(footer) && /* @__PURE__ */React.createElement("div", {
|
|
296
|
+
className: prefixCls([blockName, "detail"])
|
|
297
|
+
}, footer), typeof footer === "function" && /* @__PURE__ */React.createElement("div", {
|
|
298
|
+
className: prefixCls([blockName, "detail"])
|
|
299
|
+
}, footer())));
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
export { NotificationComponent as N, NotificationRemoveContext as a, fetchListInstance as f, listMap as l };
|
|
303
|
+
//# sourceMappingURL=dep-5303d900.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dep-5303d900.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) => [...oldList, {\n ...options,\n key,\n theme,\n style,\n ref,\n id: key,\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 })}\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,GAA8BH,KAA9B,CAAmBG,MAAnB;;AACA,mBAAwBC,SAAS,EAAjC;AAAA,MAAQC,WAAR,cAAQA,WAAR;;AACA,kBAAwBC,QAAQ,CAAC,EAAD,CAAhC;AAAA;AAAA,MAAOC,IAAP;AAAA,MAAaC,OAAb;;AACA,MAAMC,MAAM,GAAG,SAATA,MAAS,CAACC,GAAD,EAAS;AACtBF,IAAAA,OAAO,CAAC,UAACG,OAAD,EAAa;AACnB,UAAMC,KAAK,GAAGD,OAAO,CAACE,SAAR,CAAkB,UAACC,IAAD;AAAA,eAAUA,IAAI,CAACJ,GAAL,KAAaA,GAAvB;AAAA,OAAlB,CAAd;;AACA,UAAIE,KAAK,KAAK,CAAC,CAAf,EAAkB;AAChB,YAAMG,QAAQ,sBAAOJ,OAAP,CAAd;;AACAI,QAAAA,QAAQ,CAACC,MAAT,CAAgBJ,KAAhB,EAAuB,CAAvB;AACA,kCAAWG,QAAX;AACD;;AACD,aAAOJ,OAAP;AACD,KARM,CAAP;AASD,GAVD;;AAWA,MAAMM,SAAS,GAAG,SAAZA,SAAY,CAACC,MAAD,EAAY;AAC5B,QAAI,CAACA,MAAL,EACE,OAAO,MAA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,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.25.
|
|
2
|
+
* tdesign v0.25.2
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import './dep-
|
|
8
|
-
import './dep-
|
|
7
|
+
import './dep-98412f1b.js';
|
|
8
|
+
import './dep-04a6c042.js';
|
|
9
9
|
|
|
10
10
|
/** Used as references for various `Number` constants. */
|
|
11
11
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
@@ -43,4 +43,4 @@ function isLength(value) {
|
|
|
43
43
|
var isLength_1 = isLength;
|
|
44
44
|
|
|
45
45
|
export { isLength_1 as i };
|
|
46
|
-
//# sourceMappingURL=dep-
|
|
46
|
+
//# sourceMappingURL=dep-5a75ddfa.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-5a75ddfa.js","sources":["../../node_modules/lodash/isLength.js"],"sourcesContent":["/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\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 a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n"],"names":["MAX_SAFE_INTEGER","isLength","value","isLength_1"],"mappings":";;;;;;;;;;AACA,IAAIA,gBAAgB,GAAG,gBAAvB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;AACvB,SAAO,OAAOA,KAAP,IAAgB,QAAhB,IACLA,KAAK,GAAG,CAAC,CADJ,IACSA,KAAK,GAAG,CAAR,IAAa,CADtB,IAC2BA,KAAK,IAAIF,gBAD3C;AAED;;IAEDG,UAAc,GAAGF;;;;"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.25.
|
|
2
|
+
* tdesign v0.25.2
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import './dep-
|
|
8
|
-
import { b as _baseFindIndex, _ as _SetCache, a as _cacheHas } from './dep-
|
|
9
|
-
import { _ as _arrayMap } from './dep-
|
|
10
|
-
import { _ as _baseUnary } from './dep-
|
|
11
|
-
import { _ as _baseFlatten } from './dep-
|
|
12
|
-
import { _ as _baseRest, i as isArrayLikeObject_1 } from './dep-
|
|
7
|
+
import './dep-04a6c042.js';
|
|
8
|
+
import { b as _baseFindIndex, _ as _SetCache, a as _cacheHas } from './dep-a9ccbf72.js';
|
|
9
|
+
import { _ as _arrayMap } from './dep-df7c3c40.js';
|
|
10
|
+
import { _ as _baseUnary } from './dep-10b8d252.js';
|
|
11
|
+
import { _ as _baseFlatten } from './dep-2837cbee.js';
|
|
12
|
+
import { _ as _baseRest, i as isArrayLikeObject_1 } from './dep-0529bc9f.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* The base implementation of `_.isNaN` without support for number objects.
|
|
@@ -216,4 +216,4 @@ var difference = baseRest(function (array, values) {
|
|
|
216
216
|
var difference_1 = difference;
|
|
217
217
|
|
|
218
218
|
export { difference_1 as d };
|
|
219
|
-
//# sourceMappingURL=dep-
|
|
219
|
+
//# sourceMappingURL=dep-5c961b06.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-a62bdfd5.js","sources":["../../node_modules/lodash/_baseIsNaN.js","../../node_modules/lodash/_strictIndexOf.js","../../node_modules/lodash/_baseIndexOf.js","../../node_modules/lodash/_arrayIncludes.js","../../node_modules/lodash/_arrayIncludesWith.js","../../node_modules/lodash/_baseDifference.js","../../node_modules/lodash/difference.js"],"sourcesContent":["/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\nfunction baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseDifference;\n","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\nvar difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n});\n\nmodule.exports = difference;\n"],"names":["baseIsNaN","value","_baseIsNaN","strictIndexOf","array","fromIndex","index","length","_strictIndexOf","baseFindIndex","require$$0","require$$1","require$$2","baseIndexOf","_baseIndexOf","arrayIncludes","_arrayIncludes","arrayIncludesWith","comparator","_arrayIncludesWith","SetCache","arrayMap","require$$3","baseUnary","require$$4","cacheHas","require$$5","LARGE_ARRAY_SIZE","baseDifference","values","iteratee","includes","isCommon","result","valuesLength","outer","computed","valuesIndex","push","_baseDifference","baseFlatten","baseRest","isArrayLikeObject","difference","difference_1"],"mappings":";;;;;;;;;;;;;;;;;;;;;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A;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,IAAIqB,UAAU,GAAGF,QAAQ,CAAC,UAASrC,KAAT,EAAgByB,MAAhB,EAAwB;AAChD,SAAOa,iBAAiB,CAACtC,KAAD,CAAjB,GACHwB,cAAc,CAACxB,KAAD,EAAQoC,WAAW,CAACX,MAAD,EAAS,CAAT,EAAYa,iBAAZ,EAA+B,IAA/B,CAAnB,CADX,GAEH,EAFJ;AAGD,CAJwB,CAAzB;IAMAE,YAAc,GAAGD;;;;"}
|
|
1
|
+
{"version":3,"file":"dep-5c961b06.js","sources":["../../node_modules/lodash/_baseIsNaN.js","../../node_modules/lodash/_strictIndexOf.js","../../node_modules/lodash/_baseIndexOf.js","../../node_modules/lodash/_arrayIncludes.js","../../node_modules/lodash/_arrayIncludesWith.js","../../node_modules/lodash/_baseDifference.js","../../node_modules/lodash/difference.js"],"sourcesContent":["/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n","/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n","var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n","/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n","var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n arrayMap = require('./_arrayMap'),\n baseUnary = require('./_baseUnary'),\n cacheHas = require('./_cacheHas');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\nfunction baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseDifference;\n","var baseDifference = require('./_baseDifference'),\n baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\nvar difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n});\n\nmodule.exports = difference;\n"],"names":["baseIsNaN","value","_baseIsNaN","strictIndexOf","array","fromIndex","index","length","_strictIndexOf","baseFindIndex","require$$0","require$$1","require$$2","baseIndexOf","_baseIndexOf","arrayIncludes","_arrayIncludes","arrayIncludesWith","comparator","_arrayIncludesWith","SetCache","arrayMap","require$$3","baseUnary","require$$4","cacheHas","require$$5","LARGE_ARRAY_SIZE","baseDifference","values","iteratee","includes","isCommon","result","valuesLength","outer","computed","valuesIndex","push","_baseDifference","baseFlatten","baseRest","isArrayLikeObject","difference","difference_1"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAOA,SAASA,WAAT,CAAmBC,KAAnB,EAA0B;AACxB,SAAOA,KAAK,KAAKA,KAAjB;AACD;;IAEDC,UAAc,GAAGF;;;;;;;;;;;;;ACDjB,SAASG,eAAT,CAAuBC,KAAvB,EAA8BH,KAA9B,EAAqCI,SAArC,EAAgD;AAC9C,MAAIC,KAAK,GAAGD,SAAS,GAAG,CAAxB;AAAA,MACIE,MAAM,GAAGH,KAAK,CAACG,MADnB;;AAGA,SAAO,EAAED,KAAF,GAAUC,MAAjB,EAAyB;AACvB,QAAIH,KAAK,CAACE,KAAD,CAAL,KAAiBL,KAArB,EAA4B;AAC1B,aAAOK,KAAP;AACD;AACF;;AACD,SAAO,CAAC,CAAR;AACD;;IAEDE,cAAc,GAAGL;;ACtBjB,IAAIM,aAAa,GAAGC,cAApB;AAAA,IACIV,SAAS,GAAGW,UADhB;AAAA,IAEIR,aAAa,GAAGS,cAFpB;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,aAAT,CAAqBT,KAArB,EAA4BH,KAA5B,EAAmCI,SAAnC,EAA8C;AAC5C,SAAOJ,KAAK,KAAKA,KAAV,GACHE,aAAa,CAACC,KAAD,EAAQH,KAAR,EAAeI,SAAf,CADV,GAEHI,aAAa,CAACL,KAAD,EAAQJ,SAAR,EAAmBK,SAAnB,CAFjB;AAGD;;IAEDS,YAAc,GAAGD;;ACnBjB,IAAIA,WAAW,GAAGH,YAAlB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASK,eAAT,CAAuBX,KAAvB,EAA8BH,KAA9B,EAAqC;AACnC,MAAIM,MAAM,GAAGH,KAAK,IAAI,IAAT,GAAgB,CAAhB,GAAoBA,KAAK,CAACG,MAAvC;AACA,SAAO,CAAC,CAACA,MAAF,IAAYM,WAAW,CAACT,KAAD,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,IAGI8B,iBAAiB,GAAGpB,mBAHxB;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,IAAIqB,UAAU,GAAGF,QAAQ,CAAC,UAASrC,KAAT,EAAgByB,MAAhB,EAAwB;AAChD,SAAOa,iBAAiB,CAACtC,KAAD,CAAjB,GACHwB,cAAc,CAACxB,KAAD,EAAQoC,WAAW,CAACX,MAAD,EAAS,CAAT,EAAYa,iBAAZ,EAA+B,IAA/B,CAAnB,CADX,GAEH,EAFJ;AAGD,CAJwB,CAAzB;IAMAE,YAAc,GAAGD;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.25.
|
|
2
|
+
* tdesign v0.25.2
|
|
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-5e33104a.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-5e33104a.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,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.25.
|
|
2
|
+
* tdesign v0.25.2
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { _ as _typeof } from './dep-
|
|
8
|
-
import './dep-
|
|
9
|
-
import { _ as _baseGetTag } from './dep-
|
|
10
|
-
import { i as isObjectLike_1 } from './dep-
|
|
7
|
+
import { _ as _typeof } from './dep-e4bd3f59.js';
|
|
8
|
+
import './dep-04a6c042.js';
|
|
9
|
+
import { _ as _baseGetTag } from './dep-8aee3ad0.js';
|
|
10
|
+
import { i as isObjectLike_1 } from './dep-75144258.js';
|
|
11
11
|
|
|
12
12
|
var baseGetTag = _baseGetTag,
|
|
13
13
|
isObjectLike = isObjectLike_1;
|
|
@@ -39,4 +39,4 @@ function isSymbol(value) {
|
|
|
39
39
|
var isSymbol_1 = isSymbol;
|
|
40
40
|
|
|
41
41
|
export { isSymbol_1 as i };
|
|
42
|
-
//# sourceMappingURL=dep-
|
|
42
|
+
//# sourceMappingURL=dep-660f1c88.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-
|
|
1
|
+
{"version":3,"file":"dep-660f1c88.js","sources":["../../node_modules/lodash/isSymbol.js"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or 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 a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"names":["baseGetTag","require$$0","isObjectLike","require$$1","symbolTag","isSymbol","value","isSymbol_1"],"mappings":";;;;;;;;;;;AAAA,IAAIA,UAAU,GAAGC,WAAjB;AAAA,IACIC,YAAY,GAAGC,cADnB;AAGA;;AACA,IAAIC,SAAS,GAAG,iBAAhB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,KAAlB,EAAyB;AACvB,SAAO,QAAOA,KAAP,KAAgB,QAAhB,IACJJ,YAAY,CAACI,KAAD,CAAZ,IAAuBN,UAAU,CAACM,KAAD,CAAV,IAAqBF,SAD/C;AAED;;IAEDG,UAAc,GAAGF;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v0.25.
|
|
2
|
+
* tdesign v0.25.2
|
|
3
3
|
* (c) 2022 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import './dep-
|
|
8
|
-
import { a as isObject_1 } from './dep-
|
|
9
|
-
import { b as _root } from './dep-
|
|
10
|
-
import { t as toNumber_1 } from './dep-
|
|
7
|
+
import './dep-04a6c042.js';
|
|
8
|
+
import { a as isObject_1 } from './dep-98412f1b.js';
|
|
9
|
+
import { b as _root } from './dep-8aee3ad0.js';
|
|
10
|
+
import { t as toNumber_1 } from './dep-bce06e2a.js';
|
|
11
11
|
|
|
12
12
|
var root = _root;
|
|
13
13
|
/**
|
|
@@ -228,4 +228,4 @@ function debounce(func, wait, options) {
|
|
|
228
228
|
var debounce_1 = debounce;
|
|
229
229
|
|
|
230
230
|
export { debounce_1 as d };
|
|
231
|
-
//# sourceMappingURL=dep-
|
|
231
|
+
//# sourceMappingURL=dep-6ad29962.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dep-0b34f475.js","sources":["../../node_modules/lodash/now.js","../../node_modules/lodash/debounce.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"names":["root","require$$0","now","Date","now_1","isObject","require$$1","toNumber","require$$2","FUNC_ERROR_TEXT","nativeMax","Math","max","nativeMin","min","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","leadingEdge","setTimeout","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","arguments","debounce_1"],"mappings":";;;;;;;;;;;AAAA,IAAIA,IAAI,GAAGC,KAAX;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,IAAIC,KAAG,GAAG,SAANA,GAAM,GAAW;AACnB,SAAOF,IAAI,CAACG,IAAL,CAAUD,GAAV,EAAP;AACD,CAFD;;IAIAE,KAAc,GAAGF;;ACtBjB,IAAIG,QAAQ,GAAGJ,UAAf;AAAA,IACIC,GAAG,GAAGI,KADV;AAAA,IAEIC,QAAQ,GAAGC,UAFf;AAIA;;AACA,IAAIC,eAAe,GAAG,qBAAtB;AAEA;;AACA,IAAIC,SAAS,GAAGC,IAAI,CAACC,GAArB;AAAA,IACIC,SAAS,GAAGF,IAAI,CAACG,GADrB;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,IAAlB,EAAwBC,IAAxB,EAA8BC,OAA9B,EAAuC;AACrC,MAAIC,QAAJ;AAAA,MACIC,QADJ;AAAA,MAEIC,OAFJ;AAAA,MAGIC,MAHJ;AAAA,MAIIC,OAJJ;AAAA,MAKIC,YALJ;AAAA,MAMIC,cAAc,GAAG,CANrB;AAAA,MAOIC,OAAO,GAAG,KAPd;AAAA,MAQIC,MAAM,GAAG,KARb;AAAA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AAO,KAAKW,SAAZ,GAAwBZ,MAAxB,GAAiCsB,YAAY,CAAC1C,GAAG,EAAJ,CAApD;AACD;;AAED,WAAS8C,SAAT,GAAqB;AACnB,QAAIjB,IAAI,GAAG7B,GAAG,EAAd;AAAA,QACI+C,UAAU,GAAGN,YAAY,CAACZ,IAAD,CAD7B;AAGAZ,IAAAA,QAAQ,GAAG+B,SAAX;AACA9B,IAAAA,QAAQ,GAAG,IAAX;AACAI,IAAAA,YAAY,GAAGO,IAAf;;AAEA,QAAIkB,UAAJ,EAAgB;AACd,UAAI1B,OAAO,KAAKW,SAAhB,EAA2B;AACzB,eAAOE,WAAW,CAACZ,YAAD,CAAlB;AACD;;AACD,UAAIG,MAAJ,EAAY;;AAEVmB,QAAAA,YAAY,CAACvB,OAAD,CAAZ;AACAA,QAAAA,OAAO,GAAGc,UAAU,CAACC,YAAD,EAAerB,IAAf,CAApB;AACA,eAAOa,UAAU,CAACN,YAAD,CAAjB;AACD;AACF;;AACD,QAAID,OAAO,KAAKW,SAAhB,EAA2B;AACzBX,MAAAA,OAAO,GAAGc,UAAU,CAACC,YAAD,EAAerB,IAAf,CAApB;AACD;;AACD,WAAOK,MAAP;AACD;;AACD0B,EAAAA,SAAS,CAACH,MAAV,GAAmBA,MAAnB;AACAG,EAAAA,SAAS,CAACD,KAAV,GAAkBA,KAAlB;AACA,SAAOC,SAAP;AACD;;IAEDG,UAAc,GAAGpC;;;;"}
|
|
1
|
+
{"version":3,"file":"dep-6ad29962.js","sources":["../../node_modules/lodash/now.js","../../node_modules/lodash/debounce.js"],"sourcesContent":["var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"names":["root","require$$0","now","Date","now_1","isObject","require$$1","toNumber","require$$2","FUNC_ERROR_TEXT","nativeMax","Math","max","nativeMin","min","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","undefined","apply","leadingEdge","setTimeout","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","arguments","debounce_1"],"mappings":";;;;;;;;;;;AAAA,IAAIA,IAAI,GAAGC,KAAX;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,IAAIC,KAAG,GAAG,SAANA,GAAM,GAAW;AACnB,SAAOF,IAAI,CAACG,IAAL,CAAUD,GAAV,EAAP;AACD,CAFD;;IAIAE,KAAc,GAAGF;;ACtBjB,I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