@king-design/intact 3.0.1 → 3.1.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/affix/index.ts +2 -0
- package/components/affix/index.vdt +5 -4
- package/components/affix/styles.ts +1 -1
- package/components/badge/index.ts +3 -0
- package/components/badge/index.vdt +7 -5
- package/components/badge/styles.ts +6 -6
- package/components/breadcrumb/index.ts +4 -0
- package/components/breadcrumb/index.vdt +4 -3
- package/components/breadcrumb/item.ts +2 -0
- package/components/breadcrumb/item.vdt +5 -3
- package/components/breadcrumb/styles.ts +8 -8
- package/components/button/group.ts +3 -0
- package/components/button/group.vdt +6 -5
- package/components/button/index.ts +2 -0
- package/components/button/index.vdt +15 -13
- package/components/button/styles.ts +50 -50
- package/components/card/column.ts +3 -0
- package/components/card/column.vdt +4 -3
- package/components/card/index.ts +4 -1
- package/components/card/index.vdt +12 -11
- package/components/card/styles.ts +19 -19
- package/components/carousel/index.ts +3 -0
- package/components/carousel/index.vdt +13 -12
- package/components/carousel/item.ts +3 -0
- package/components/carousel/item.vdt +5 -4
- package/components/carousel/styles.ts +23 -23
- package/components/cascader/index.vdt +13 -13
- package/components/cascader/styles.ts +8 -8
- package/components/checkbox/index.ts +2 -0
- package/components/checkbox/index.vdt +8 -7
- package/components/checkbox/styles.ts +17 -17
- package/components/code/index.ts +2 -0
- package/components/code/index.vdt +3 -2
- package/components/code/styles.ts +1 -1
- package/components/collapse/index.ts +3 -0
- package/components/collapse/index.vdt +5 -4
- package/components/collapse/item.ts +2 -0
- package/components/collapse/item.vdt +9 -9
- package/components/collapse/styles.ts +13 -24
- package/components/colorpicker/drag.ts +2 -0
- package/components/colorpicker/drag.vdt +3 -1
- package/components/colorpicker/index.ts +3 -0
- package/components/colorpicker/index.vdt +8 -7
- package/components/colorpicker/panel.ts +2 -0
- package/components/colorpicker/panel.vdt +22 -21
- package/components/colorpicker/styles.ts +39 -39
- package/components/config/index.spec.ts +49 -0
- package/components/config/index.ts +28 -0
- package/components/context.ts +13 -3
- package/components/copy/index.ts +3 -1
- package/components/copy/index.vdt +5 -4
- package/components/copy/styles.ts +1 -1
- package/components/datepicker/calendar.ts +2 -0
- package/components/datepicker/calendar.vdt +31 -30
- package/components/datepicker/index.vdt +11 -10
- package/components/datepicker/styles.ts +31 -31
- package/components/datepicker/time.ts +2 -0
- package/components/datepicker/time.vdt +3 -2
- package/components/diagram/diagram.ts +2 -0
- package/components/diagram/diagram.vdt +5 -4
- package/components/diagram/styles.ts +1 -1
- package/components/dialog/alert.vdt +12 -11
- package/components/dialog/base.ts +2 -0
- package/components/dialog/base.vdt +17 -16
- package/components/dialog/index.ts +2 -1
- package/components/dialog/staticMethods.ts +0 -1
- package/components/dialog/styles.ts +31 -31
- package/components/drawer/index.vdt +5 -4
- package/components/drawer/styles.ts +8 -8
- package/components/dropdown/demos/nested.md +1 -1
- package/components/dropdown/dropdown.ts +4 -1
- package/components/dropdown/item.ts +2 -0
- package/components/dropdown/item.vdt +5 -4
- package/components/dropdown/menu.ts +2 -0
- package/components/dropdown/menu.vdt +3 -2
- package/components/dropdown/styles.ts +11 -11
- package/components/editable/index.ts +2 -0
- package/components/editable/index.vdt +7 -6
- package/components/editable/styles.ts +4 -4
- package/components/form/form.ts +2 -0
- package/components/form/form.vdt +5 -4
- package/components/form/item.ts +2 -0
- package/components/form/item.vdt +14 -13
- package/components/form/styles.ts +30 -30
- package/components/grid/col.ts +2 -0
- package/components/grid/col.vdt +10 -9
- package/components/grid/row.ts +2 -0
- package/components/grid/row.vdt +5 -4
- package/components/grid/styles.ts +23 -24
- package/components/grid/useBreakpoints.ts +2 -2
- package/components/icon/demos/icons.md +6 -3
- package/components/icon/index.ts +2 -0
- package/components/icon/index.vdt +10 -9
- package/components/icon/styles.ts +12 -11
- package/components/input/index.ts +3 -0
- package/components/input/index.vdt +32 -31
- package/components/input/search.ts +2 -0
- package/components/input/search.vdt +7 -6
- package/components/input/styles.ts +66 -66
- package/components/layout/aside.ts +2 -0
- package/components/layout/aside.vdt +8 -7
- package/components/layout/body.ts +4 -1
- package/components/layout/footer.ts +5 -1
- package/components/layout/header.ts +9 -6
- package/components/layout/layout.ts +6 -3
- package/components/layout/styles.ts +15 -15
- package/components/layout/template.vdt +2 -1
- package/components/menu/item.ts +2 -0
- package/components/menu/item.vdt +11 -10
- package/components/menu/menu.ts +2 -0
- package/components/menu/menu.vdt +9 -8
- package/components/menu/styles.ts +47 -47
- package/components/message/message.ts +2 -0
- package/components/message/message.vdt +12 -11
- package/components/message/messages.ts +2 -0
- package/components/message/messages.vdt +3 -1
- package/components/message/styles.ts +13 -13
- package/components/pagination/index.ts +2 -0
- package/components/pagination/index.vdt +14 -12
- package/components/pagination/styles.ts +19 -19
- package/components/popover/content.vdt +6 -5
- package/components/popover/styles.ts +6 -6
- package/components/portal.ts +3 -1
- package/components/progress/index.ts +2 -0
- package/components/progress/index.vdt +22 -21
- package/components/progress/styles.ts +35 -35
- package/components/radio/index.ts +2 -0
- package/components/radio/index.vdt +7 -6
- package/components/radio/styles.ts +11 -11
- package/components/rate/index.ts +2 -0
- package/components/rate/index.vdt +9 -8
- package/components/rate/styles.ts +9 -9
- package/components/scrollSelect/index.ts +2 -0
- package/components/scrollSelect/index.vdt +11 -10
- package/components/scrollSelect/styles.ts +11 -11
- package/components/select/base.ts +2 -0
- package/components/select/base.vdt +20 -19
- package/components/select/group.ts +2 -0
- package/components/select/group.vdt +4 -3
- package/components/select/menu.ts +2 -0
- package/components/select/menu.vdt +11 -10
- package/components/select/option.ts +2 -1
- package/components/select/option.vdt +4 -3
- package/components/select/styles.ts +52 -52
- package/components/skeleton/item.ts +3 -0
- package/components/skeleton/item.vdt +6 -5
- package/components/skeleton/skeleton.ts +3 -0
- package/components/skeleton/skeleton.vdt +8 -7
- package/components/skeleton/{style.ts → styles.ts} +19 -19
- package/components/slider/index.ts +2 -0
- package/components/slider/index.vdt +18 -17
- package/components/slider/styles.ts +23 -23
- package/components/spin/index.ts +3 -0
- package/components/spin/index.vdt +9 -8
- package/components/spin/styles.ts +9 -9
- package/components/spinner/index.ts +2 -0
- package/components/spinner/index.vdt +13 -12
- package/components/spinner/styles.ts +26 -26
- package/components/split/index.ts +3 -1
- package/components/split/index.vdt +13 -13
- package/components/split/{style.ts → styles.ts} +23 -23
- package/components/steps/index.ts +4 -0
- package/components/steps/index.vdt +7 -5
- package/components/steps/step.ts +3 -0
- package/components/steps/step.vdt +13 -12
- package/components/steps/styles.ts +100 -100
- package/components/switch/index.ts +2 -0
- package/components/switch/index.vdt +12 -11
- package/components/switch/styles.ts +38 -38
- package/components/table/cell.ts +3 -0
- package/components/table/cell.vdt +3 -2
- package/components/table/column.ts +2 -0
- package/components/table/column.vdt +15 -14
- package/components/table/row.ts +3 -0
- package/components/table/row.vdt +9 -7
- package/components/table/styles.ts +55 -55
- package/components/table/table.ts +2 -0
- package/components/table/table.vdt +17 -16
- package/components/tabs/index.ts +3 -0
- package/components/tabs/index.vdt +15 -13
- package/components/tabs/styles.ts +59 -59
- package/components/tabs/tab.ts +3 -1
- package/components/tabs/tab.vdt +5 -4
- package/components/tabs/useActiveBar.ts +2 -1
- package/components/tabs/useScroll.ts +2 -1
- package/components/tag/base.ts +3 -0
- package/components/tag/index.vdt +10 -9
- package/components/tag/styles.ts +13 -13
- package/components/tag/tags.ts +2 -0
- package/components/tag/tags.vdt +7 -6
- package/components/timeline/item.ts +4 -0
- package/components/timeline/item.vdt +10 -9
- package/components/timeline/styles.ts +13 -13
- package/components/timeline/timeline.ts +3 -0
- package/components/timeline/timeline.vdt +3 -2
- package/components/timepicker/panelPicker.vdt +13 -11
- package/components/timepicker/selectPicker.ts +2 -0
- package/components/timepicker/selectPicker.vdt +2 -1
- package/components/timepicker/styles.ts +10 -10
- package/components/tip/index.vdt +7 -6
- package/components/tip/styles.ts +7 -7
- package/components/tooltip/content.vdt +11 -10
- package/components/tooltip/styles.ts +21 -21
- package/components/transfer/index.ts +2 -0
- package/components/transfer/index.vdt +12 -11
- package/components/transfer/styles.ts +15 -15
- package/components/tree/index.ts +2 -0
- package/components/tree/index.vdt +21 -19
- package/components/tree/styles.ts +29 -29
- package/components/treeSelect/index.vdt +4 -2
- package/components/treeSelect/styles.ts +1 -1
- package/components/upload/index.ts +2 -0
- package/components/upload/index.vdt +34 -32
- package/components/upload/styles.ts +37 -37
- package/components/utils.ts +14 -8
- package/components/wave/index.ts +4 -2
- package/components/wave/styles.ts +3 -3
- package/es/components/affix/index.d.ts +1 -0
- package/es/components/affix/index.js +2 -0
- package/es/components/affix/index.vdt.js +5 -5
- package/es/components/affix/styles.d.ts +1 -1
- package/es/components/affix/styles.js +1 -1
- package/es/components/badge/index.d.ts +1 -0
- package/es/components/badge/index.js +13 -1
- package/es/components/badge/index.vdt.js +5 -4
- package/es/components/badge/styles.d.ts +1 -1
- package/es/components/badge/styles.js +2 -2
- package/es/components/breadcrumb/index.d.ts +1 -0
- package/es/components/breadcrumb/index.js +13 -1
- package/es/components/breadcrumb/index.vdt.js +4 -5
- package/es/components/breadcrumb/item.d.ts +1 -0
- package/es/components/breadcrumb/item.js +2 -0
- package/es/components/breadcrumb/item.vdt.js +4 -5
- package/es/components/breadcrumb/styles.d.ts +1 -1
- package/es/components/breadcrumb/styles.js +2 -2
- package/es/components/button/group.d.ts +1 -0
- package/es/components/button/group.js +13 -1
- package/es/components/button/group.vdt.js +2 -6
- package/es/components/button/index.d.ts +1 -0
- package/es/components/button/index.js +2 -0
- package/es/components/button/index.vdt.js +7 -7
- package/es/components/button/styles.d.ts +2 -4
- package/es/components/button/styles.js +19 -20
- package/es/components/card/column.d.ts +1 -0
- package/es/components/card/column.js +13 -1
- package/es/components/card/column.vdt.js +2 -5
- package/es/components/card/index.d.ts +1 -0
- package/es/components/card/index.js +13 -1
- package/es/components/card/index.vdt.js +5 -11
- package/es/components/card/styles.d.ts +1 -1
- package/es/components/card/styles.js +2 -2
- package/es/components/carousel/index.d.ts +1 -0
- package/es/components/carousel/index.js +2 -0
- package/es/components/carousel/index.vdt.js +15 -19
- package/es/components/carousel/item.d.ts +1 -0
- package/es/components/carousel/item.js +13 -1
- package/es/components/carousel/item.vdt.js +2 -3
- package/es/components/carousel/styles.d.ts +2 -2
- package/es/components/carousel/styles.js +4 -4
- package/es/components/cascader/index.vdt.js +20 -29
- package/es/components/cascader/styles.d.ts +2 -2
- package/es/components/cascader/styles.js +3 -3
- package/es/components/checkbox/index.d.ts +1 -0
- package/es/components/checkbox/index.js +2 -0
- package/es/components/checkbox/index.vdt.js +4 -8
- package/es/components/checkbox/styles.d.ts +1 -1
- package/es/components/checkbox/styles.js +2 -2
- package/es/components/code/index.d.ts +1 -0
- package/es/components/code/index.js +2 -0
- package/es/components/code/index.vdt.js +2 -3
- package/es/components/code/styles.d.ts +1 -1
- package/es/components/code/styles.js +1 -1
- package/es/components/collapse/index.d.ts +1 -0
- package/es/components/collapse/index.js +13 -1
- package/es/components/collapse/index.vdt.js +2 -3
- package/es/components/collapse/item.d.ts +1 -0
- package/es/components/collapse/item.js +2 -0
- package/es/components/collapse/item.vdt.js +6 -8
- package/es/components/collapse/styles.d.ts +2 -3
- package/es/components/collapse/styles.js +5 -9
- package/es/components/colorpicker/drag.d.ts +1 -0
- package/es/components/colorpicker/drag.js +2 -0
- package/es/components/colorpicker/drag.vdt.js +3 -2
- package/es/components/colorpicker/index.d.ts +1 -0
- package/es/components/colorpicker/index.js +13 -1
- package/es/components/colorpicker/index.vdt.js +5 -6
- package/es/components/colorpicker/panel.d.ts +1 -0
- package/es/components/colorpicker/panel.js +2 -0
- package/es/components/colorpicker/panel.vdt.js +16 -19
- package/es/components/colorpicker/styles.d.ts +3 -3
- package/es/components/colorpicker/styles.js +8 -8
- package/es/components/config/index.d.ts +10 -0
- package/es/components/config/index.js +23 -0
- package/es/components/config/index.spec.d.ts +1 -0
- package/es/components/config/index.spec.js +71 -0
- package/es/components/context.d.ts +2 -1
- package/es/components/context.js +8 -2
- package/es/components/copy/index.d.ts +1 -0
- package/es/components/copy/index.js +2 -0
- package/es/components/copy/index.vdt.js +9 -9
- package/es/components/copy/styles.d.ts +1 -1
- package/es/components/copy/styles.js +1 -1
- package/es/components/datepicker/calendar.d.ts +1 -0
- package/es/components/datepicker/calendar.js +2 -0
- package/es/components/datepicker/calendar.vdt.js +38 -51
- package/es/components/datepicker/index.vdt.js +13 -16
- package/es/components/datepicker/styles.d.ts +3 -3
- package/es/components/datepicker/styles.js +6 -6
- package/es/components/datepicker/time.d.ts +1 -0
- package/es/components/datepicker/time.js +2 -0
- package/es/components/datepicker/time.vdt.js +2 -3
- package/es/components/diagram/diagram.d.ts +1 -0
- package/es/components/diagram/diagram.js +2 -0
- package/es/components/diagram/diagram.vdt.js +3 -4
- package/es/components/diagram/styles.d.ts +1 -1
- package/es/components/diagram/styles.js +1 -1
- package/es/components/dialog/alert.vdt.js +6 -10
- package/es/components/dialog/base.d.ts +4 -0
- package/es/components/dialog/base.js +2 -0
- package/es/components/dialog/base.vdt.js +15 -21
- package/es/components/dialog/index.d.ts +1 -1
- package/es/components/dialog/styles.d.ts +3 -3
- package/es/components/dialog/styles.js +12 -12
- package/es/components/drawer/index.vdt.js +3 -4
- package/es/components/drawer/styles.d.ts +1 -1
- package/es/components/drawer/styles.js +3 -3
- package/es/components/dropdown/dropdown.d.ts +1 -0
- package/es/components/dropdown/dropdown.js +4 -3
- package/es/components/dropdown/item.d.ts +1 -0
- package/es/components/dropdown/item.js +2 -0
- package/es/components/dropdown/item.vdt.js +2 -4
- package/es/components/dropdown/menu.d.ts +1 -0
- package/es/components/dropdown/menu.js +2 -0
- package/es/components/dropdown/menu.vdt.js +2 -3
- package/es/components/dropdown/styles.d.ts +2 -2
- package/es/components/dropdown/styles.js +4 -4
- package/es/components/editable/index.d.ts +1 -0
- package/es/components/editable/index.js +2 -0
- package/es/components/editable/index.vdt.js +3 -7
- package/es/components/editable/styles.d.ts +1 -1
- package/es/components/editable/styles.js +2 -2
- package/es/components/form/form.d.ts +1 -0
- package/es/components/form/form.js +2 -0
- package/es/components/form/form.vdt.js +2 -3
- package/es/components/form/item.d.ts +1 -0
- package/es/components/form/item.js +2 -0
- package/es/components/form/item.vdt.js +13 -19
- package/es/components/form/styles.d.ts +2 -2
- package/es/components/form/styles.js +5 -5
- package/es/components/form/useError.d.ts +1 -0
- package/es/components/grid/col.d.ts +1 -0
- package/es/components/grid/col.js +2 -0
- package/es/components/grid/col.vdt.js +3 -6
- package/es/components/grid/row.d.ts +1 -0
- package/es/components/grid/row.js +2 -0
- package/es/components/grid/row.vdt.js +2 -3
- package/es/components/grid/styles.d.ts +2 -2
- package/es/components/grid/styles.js +8 -18
- package/es/components/grid/useBreakpoints.d.ts +1 -1
- package/es/components/grid/useBreakpoints.js +2 -2
- package/es/components/grid/useGutter.d.ts +1 -0
- package/es/components/icon/index.d.ts +1 -0
- package/es/components/icon/index.js +2 -0
- package/es/components/icon/index.vdt.js +7 -11
- package/es/components/icon/styles.d.ts +1 -2
- package/es/components/icon/styles.js +7 -5
- package/es/components/input/index.d.ts +1 -0
- package/es/components/input/index.js +2 -0
- package/es/components/input/index.vdt.js +16 -26
- package/es/components/input/search.d.ts +1 -0
- package/es/components/input/search.js +2 -0
- package/es/components/input/search.vdt.js +5 -7
- package/es/components/input/styles.d.ts +2 -2
- package/es/components/input/styles.js +11 -11
- package/es/components/layout/aside.d.ts +1 -0
- package/es/components/layout/aside.js +2 -0
- package/es/components/layout/aside.vdt.js +5 -8
- package/es/components/layout/body.d.ts +1 -0
- package/es/components/layout/body.js +4 -3
- package/es/components/layout/footer.d.ts +1 -0
- package/es/components/layout/footer.js +15 -4
- package/es/components/layout/header.d.ts +1 -0
- package/es/components/layout/header.js +4 -6
- package/es/components/layout/layout.d.ts +1 -0
- package/es/components/layout/layout.js +4 -3
- package/es/components/layout/styles.d.ts +3 -3
- package/es/components/layout/styles.js +8 -8
- package/es/components/layout/template.vdt.js +2 -1
- package/es/components/menu/item.d.ts +1 -0
- package/es/components/menu/item.js +2 -0
- package/es/components/menu/item.vdt.js +7 -12
- package/es/components/menu/menu.d.ts +1 -0
- package/es/components/menu/menu.js +2 -0
- package/es/components/menu/menu.vdt.js +3 -6
- package/es/components/menu/styles.d.ts +3 -3
- package/es/components/menu/styles.js +10 -10
- package/es/components/message/message.d.ts +1 -0
- package/es/components/message/message.js +2 -0
- package/es/components/message/message.vdt.js +12 -17
- package/es/components/message/messages.d.ts +1 -0
- package/es/components/message/messages.js +2 -0
- package/es/components/message/messages.vdt.js +2 -3
- package/es/components/message/styles.d.ts +2 -2
- package/es/components/message/styles.js +4 -4
- package/es/components/pagination/index.d.ts +1 -0
- package/es/components/pagination/index.js +2 -0
- package/es/components/pagination/index.vdt.js +14 -17
- package/es/components/pagination/styles.d.ts +1 -1
- package/es/components/pagination/styles.js +4 -4
- package/es/components/popover/content.vdt.js +5 -4
- package/es/components/popover/styles.d.ts +1 -1
- package/es/components/popover/styles.js +2 -2
- package/es/components/portal.d.ts +1 -0
- package/es/components/portal.js +3 -1
- package/es/components/progress/index.d.ts +1 -0
- package/es/components/progress/index.js +2 -0
- package/es/components/progress/index.vdt.js +14 -17
- package/es/components/progress/styles.d.ts +1 -1
- package/es/components/progress/styles.js +6 -6
- package/es/components/radio/index.d.ts +1 -0
- package/es/components/radio/index.js +2 -0
- package/es/components/radio/index.vdt.js +4 -7
- package/es/components/radio/styles.d.ts +1 -1
- package/es/components/radio/styles.js +2 -2
- package/es/components/rate/index.d.ts +1 -0
- package/es/components/rate/index.js +2 -0
- package/es/components/rate/index.vdt.js +4 -8
- package/es/components/rate/styles.d.ts +1 -1
- package/es/components/rate/styles.js +2 -2
- package/es/components/scrollSelect/index.d.ts +1 -0
- package/es/components/scrollSelect/index.js +2 -0
- package/es/components/scrollSelect/index.vdt.js +7 -12
- package/es/components/scrollSelect/styles.d.ts +1 -1
- package/es/components/scrollSelect/styles.js +2 -2
- package/es/components/select/base.d.ts +4 -0
- package/es/components/select/base.js +2 -0
- package/es/components/select/base.vdt.js +17 -21
- package/es/components/select/group.d.ts +1 -0
- package/es/components/select/group.js +2 -0
- package/es/components/select/group.vdt.js +3 -4
- package/es/components/select/menu.d.ts +1 -0
- package/es/components/select/menu.js +2 -0
- package/es/components/select/menu.vdt.js +9 -13
- package/es/components/select/option.d.ts +1 -0
- package/es/components/select/option.js +2 -0
- package/es/components/select/option.vdt.js +6 -8
- package/es/components/select/styles.d.ts +3 -3
- package/es/components/select/styles.js +8 -8
- package/es/components/select/useSearchable.d.ts +1 -0
- package/es/components/skeleton/item.d.ts +1 -0
- package/es/components/skeleton/item.js +13 -1
- package/es/components/skeleton/item.vdt.js +4 -7
- package/es/components/skeleton/skeleton.d.ts +1 -0
- package/es/components/skeleton/skeleton.js +13 -1
- package/es/components/skeleton/skeleton.vdt.js +4 -6
- package/es/components/skeleton/styles.d.ts +6 -0
- package/es/components/skeleton/styles.js +35 -0
- package/es/components/slider/index.d.ts +1 -0
- package/es/components/slider/index.js +2 -0
- package/es/components/slider/index.vdt.js +18 -22
- package/es/components/slider/styles.d.ts +1 -1
- package/es/components/slider/styles.js +2 -2
- package/es/components/spin/index.d.ts +1 -0
- package/es/components/spin/index.js +13 -1
- package/es/components/spin/index.vdt.js +6 -7
- package/es/components/spin/styles.d.ts +1 -1
- package/es/components/spin/styles.js +4 -4
- package/es/components/spinner/index.d.ts +1 -0
- package/es/components/spinner/index.js +2 -0
- package/es/components/spinner/index.vdt.js +15 -21
- package/es/components/spinner/styles.d.ts +1 -1
- package/es/components/spinner/styles.js +7 -7
- package/es/components/split/index.d.ts +2 -1
- package/es/components/split/index.js +2 -0
- package/es/components/split/index.vdt.js +7 -9
- package/es/components/split/styles.d.ts +4 -0
- package/es/components/split/styles.js +55 -0
- package/es/components/steps/context.d.ts +1 -0
- package/es/components/steps/index.d.ts +1 -0
- package/es/components/steps/index.js +13 -1
- package/es/components/steps/index.vdt.js +2 -3
- package/es/components/steps/step.d.ts +1 -0
- package/es/components/steps/step.js +13 -1
- package/es/components/steps/step.vdt.js +10 -16
- package/es/components/steps/styles.d.ts +3 -3
- package/es/components/steps/styles.js +18 -18
- package/es/components/switch/index.d.ts +1 -0
- package/es/components/switch/index.js +2 -0
- package/es/components/switch/index.vdt.js +6 -7
- package/es/components/switch/styles.d.ts +1 -1
- package/es/components/switch/styles.js +4 -4
- package/es/components/table/cell.d.ts +1 -0
- package/es/components/table/cell.js +13 -1
- package/es/components/table/cell.vdt.js +6 -6
- package/es/components/table/column.d.ts +1 -0
- package/es/components/table/column.js +2 -0
- package/es/components/table/column.vdt.js +24 -32
- package/es/components/table/row.d.ts +1 -0
- package/es/components/table/row.js +13 -1
- package/es/components/table/row.vdt.js +3 -10
- package/es/components/table/styles.d.ts +2 -2
- package/es/components/table/styles.js +6 -6
- package/es/components/table/table.d.ts +1 -0
- package/es/components/table/table.js +2 -0
- package/es/components/table/table.vdt.js +16 -20
- package/es/components/table/useColumns.d.ts +1 -0
- package/es/components/table/useFixedColumns.d.ts +2 -1
- package/es/components/table/useGroup.d.ts +1 -0
- package/es/components/table/useResizable.d.ts +1 -0
- package/es/components/table/useSortable.d.ts +1 -0
- package/es/components/tabs/index.d.ts +4 -0
- package/es/components/tabs/index.js +2 -0
- package/es/components/tabs/index.vdt.js +9 -10
- package/es/components/tabs/styles.d.ts +1 -1
- package/es/components/tabs/styles.js +15 -15
- package/es/components/tabs/tab.d.ts +1 -0
- package/es/components/tabs/tab.js +2 -0
- package/es/components/tabs/tab.vdt.js +3 -5
- package/es/components/tabs/useActiveBar.js +2 -1
- package/es/components/tabs/useScroll.js +2 -1
- package/es/components/tag/base.d.ts +1 -0
- package/es/components/tag/base.js +13 -1
- package/es/components/tag/index.vdt.js +4 -5
- package/es/components/tag/styles.d.ts +2 -2
- package/es/components/tag/styles.js +7 -7
- package/es/components/tag/tags.d.ts +1 -0
- package/es/components/tag/tags.js +2 -0
- package/es/components/tag/tags.vdt.js +5 -11
- package/es/components/timeline/item.d.ts +1 -0
- package/es/components/timeline/item.js +13 -1
- package/es/components/timeline/item.vdt.js +4 -5
- package/es/components/timeline/styles.d.ts +2 -2
- package/es/components/timeline/styles.js +6 -6
- package/es/components/timeline/timeline.d.ts +1 -0
- package/es/components/timeline/timeline.js +13 -1
- package/es/components/timeline/timeline.vdt.js +2 -3
- package/es/components/timepicker/index.d.ts +2 -1
- package/es/components/timepicker/panelPicker.vdt.js +13 -17
- package/es/components/timepicker/selectPicker.d.ts +1 -0
- package/es/components/timepicker/selectPicker.js +2 -0
- package/es/components/timepicker/selectPicker.vdt.js +4 -4
- package/es/components/timepicker/styles.d.ts +1 -1
- package/es/components/timepicker/styles.js +2 -2
- package/es/components/tip/index.vdt.js +5 -6
- package/es/components/tip/styles.d.ts +1 -1
- package/es/components/tip/styles.js +2 -2
- package/es/components/tooltip/content.vdt.js +4 -9
- package/es/components/tooltip/styles.d.ts +1 -1
- package/es/components/tooltip/styles.js +6 -6
- package/es/components/transfer/index.d.ts +1 -0
- package/es/components/transfer/index.js +2 -0
- package/es/components/transfer/index.vdt.js +20 -25
- package/es/components/transfer/styles.d.ts +1 -1
- package/es/components/transfer/styles.js +2 -2
- package/es/components/tree/index.d.ts +1 -0
- package/es/components/tree/index.js +2 -0
- package/es/components/tree/index.vdt.js +19 -30
- package/es/components/tree/styles.d.ts +1 -1
- package/es/components/tree/styles.js +2 -2
- package/es/components/treeSelect/index.vdt.js +2 -3
- package/es/components/treeSelect/styles.d.ts +1 -1
- package/es/components/treeSelect/styles.js +1 -1
- package/es/components/upload/index.d.ts +1 -0
- package/es/components/upload/index.js +2 -0
- package/es/components/upload/index.vdt.js +39 -50
- package/es/components/upload/styles.d.ts +2 -2
- package/es/components/upload/styles.js +3 -3
- package/es/components/utils.d.ts +2 -1
- package/es/components/utils.js +20 -9
- package/es/components/wave/index.d.ts +1 -0
- package/es/components/wave/index.js +4 -2
- package/es/components/wave/styles.d.ts +1 -1
- package/es/components/wave/styles.js +2 -2
- package/es/index.d.ts +3 -2
- package/es/index.js +3 -2
- package/es/site/data/components/icon/demos/icons/index.d.ts +1 -0
- package/es/site/data/components/icon/demos/icons/index.js +17 -5
- package/es/site/data/components/icon/demos/icons/react.d.ts +1 -0
- package/es/site/data/components/icon/demos/icons/react.js +4 -2
- package/es/site/src/client.js +1 -0
- package/es/site/src/pages/document/styles.d.ts +1 -1
- package/es/site/src/pages/document/styles.js +2 -2
- package/es/site/src/pages/layout.d.ts +4 -0
- package/es/site/src/pages/layout.js +13 -2
- package/es/site/src/pages/styles.d.ts +1 -1
- package/es/site/src/pages/styles.js +2 -2
- package/es/styles/fonts/iconfont.d.ts +1 -1
- package/es/styles/fonts/iconfont.js +4 -1
- package/es/styles/global.js +4 -4
- package/es/styles/theme.d.ts +1 -1
- package/es/styles/theme.js +4 -53
- package/index.ts +3 -2
- package/package.json +2 -2
- package/styles/fonts/iconfont.ts +304 -302
- package/styles/global.ts +4 -3
- package/styles/theme.ts +3 -57
- package/es/components/skeleton/style.d.ts +0 -6
- package/es/components/skeleton/style.js +0 -35
- package/es/components/split/style.d.ts +0 -4
- package/es/components/split/style.js +0 -55
|
@@ -2,6 +2,6 @@ import '../../styles/global';
|
|
|
2
2
|
declare type ValueOf<T extends readonly any[]> = T[number];
|
|
3
3
|
export declare type Types = ValueOf<typeof types>;
|
|
4
4
|
export declare const types: readonly ["primary", "warning", "danger", "success"];
|
|
5
|
-
export declare function makeStyles(): string;
|
|
6
|
-
export declare function makeItemStyles(): string;
|
|
5
|
+
export declare function makeStyles(k: string): string;
|
|
6
|
+
export declare function makeItemStyles(k: string): string;
|
|
7
7
|
export {};
|
|
@@ -48,18 +48,18 @@ setDefault(function () {
|
|
|
48
48
|
timeline: defaults
|
|
49
49
|
}).timeline;
|
|
50
50
|
});
|
|
51
|
-
export function makeStyles() {
|
|
51
|
+
export function makeStyles(k) {
|
|
52
52
|
return /*#__PURE__*/css("font-size:", timeline.fontSize, ";padding-top:calc(", theme.lineHeight, "em / 2);");
|
|
53
53
|
}
|
|
54
|
-
export function makeItemStyles() {
|
|
55
|
-
return /*#__PURE__*/css("position:relative;padding:", timeline.padding, ";.k-timeline-indicator{width:", timeline.indicator.width, ";position:absolute;left:0;top:0;height:100%;text-align:center;}.k-timeline-dot{position:relative;z-index:1;transform:translateY(-50%);}.k-timeline-circle{position:relative;background:", theme.color.primary, ";border-radius:50%;left:50%;}.k-timeline-line{position:absolute;height:100%;border-left:", timeline.lineBorder, ";top:0;left:50%;}.k-timeline-content{position:relative;top:calc(-0.5 * ", theme.lineHeight, "em);}&:last-of-type{.k-timeline-line{display:none;}}", _mapInstanceProperty(types).call(types, function (type) {
|
|
54
|
+
export function makeItemStyles(k) {
|
|
55
|
+
return /*#__PURE__*/css("position:relative;padding:", timeline.padding, ";.", k, "-timeline-indicator{width:", timeline.indicator.width, ";position:absolute;left:0;top:0;height:100%;text-align:center;}.", k, "-timeline-dot{position:relative;z-index:1;transform:translateY(-50%);}.", k, "-timeline-circle{position:relative;background:", theme.color.primary, ";border-radius:50%;left:50%;}.", k, "-timeline-line{position:absolute;height:100%;border-left:", timeline.lineBorder, ";top:0;left:50%;}.", k, "-timeline-content{position:relative;top:calc(-0.5 * ", theme.lineHeight, "em);}&:last-of-type{.", k, "-timeline-line{display:none;}}", _mapInstanceProperty(types).call(types, function (type) {
|
|
56
56
|
var typeStyles = timeline[type];
|
|
57
|
-
return /*#__PURE__*/css("&.k-", type, "{.k-timeline-indicator{color:", typeStyles.color, ";}.k-timeline-circle{background:", typeStyles.color, ";}}");
|
|
57
|
+
return /*#__PURE__*/css("&.", k, "-", type, "{.", k, "-timeline-indicator{color:", typeStyles.color, ";}.", k, "-timeline-circle{background:", typeStyles.color, ";}}");
|
|
58
58
|
}), _mapInstanceProperty(sizes).call(sizes, function (size) {
|
|
59
59
|
var styles = timeline[size];
|
|
60
|
-
var sizeClassName = /*#__PURE__*/css(".k-timeline-circle{width:", styles.width, ";height:", styles.width, ";margin-left:calc(-0.5 * ", styles.width, ");}");
|
|
60
|
+
var sizeClassName = /*#__PURE__*/css(".", k, "-timeline-circle{width:", styles.width, ";height:", styles.width, ";margin-left:calc(-0.5 * ", styles.width, ");}");
|
|
61
61
|
if (size === 'default') return sizeClassName;
|
|
62
|
-
return /*#__PURE__*/css("&.k-", size, "{", sizeClassName, ";}");
|
|
62
|
+
return /*#__PURE__*/css("&.", k, "-", size, "{", sizeClassName, ";}");
|
|
63
63
|
}), ";");
|
|
64
64
|
}
|
|
65
65
|
;
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
|
+
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
2
3
|
import { Component } from 'intact';
|
|
3
4
|
import template from './timeline.vdt';
|
|
5
|
+
import { useConfigContext } from '../config';
|
|
4
6
|
export var Timeline = /*#__PURE__*/function (_Component) {
|
|
5
7
|
_inheritsLoose(Timeline, _Component);
|
|
6
8
|
|
|
7
9
|
function Timeline() {
|
|
8
|
-
|
|
10
|
+
var _context;
|
|
11
|
+
|
|
12
|
+
var _this;
|
|
13
|
+
|
|
14
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
15
|
+
args[_key] = arguments[_key];
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
_this = _Component.call.apply(_Component, _concatInstanceProperty(_context = [this]).call(_context, args)) || this;
|
|
19
|
+
_this.config = useConfigContext();
|
|
20
|
+
return _this;
|
|
9
21
|
}
|
|
10
22
|
|
|
11
23
|
return Timeline;
|
|
@@ -13,9 +13,8 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
13
13
|
className = _this$get.className,
|
|
14
14
|
children = _this$get.children;
|
|
15
15
|
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
}, _classNameObj[className] = className, _classNameObj[makeStyles()] = true, _classNameObj);
|
|
16
|
+
var k = this.config.k;
|
|
17
|
+
var classNameObj = (_classNameObj = {}, _classNameObj[k + "-timeline"] = true, _classNameObj[className] = className, _classNameObj[makeStyles(k)] = true, _classNameObj);
|
|
19
18
|
return _$cv('div', _extends({
|
|
20
19
|
'className': _$cn(classNameObj)
|
|
21
20
|
}, getRestProps(this)), children);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Component } from 'intact';
|
|
2
2
|
import { TimepickerProps, TimepickerEvents, TimepickerBlocks } from './constants';
|
|
3
|
+
import { PanelPicker } from './panelPicker';
|
|
3
4
|
import { SelectPicker } from './selectPicker';
|
|
4
5
|
export type { TimepickerProps, TimepickerEvents, TimepickerBlocks };
|
|
5
6
|
export declare class Timepicker<Multipe extends boolean = false, Range extends boolean = false> extends Component<TimepickerProps<Multipe, Range>, TimepickerEvents, TimepickerBlocks<Range>> {
|
|
6
7
|
static $doubleVNodes: boolean;
|
|
7
|
-
static template(this: Timepicker): import("intact").VNode<typeof SelectPicker>;
|
|
8
|
+
static template(this: Timepicker): import("intact").VNode<typeof SelectPicker> | import("intact").VNode<typeof PanelPicker>;
|
|
8
9
|
static typeDefs: Required<import("intact").TypeDefs<TimepickerProps<boolean, boolean>>>;
|
|
9
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementVNode as _$ce, createUnknownComponentVNode as _$cc, superCall as _$su, extend as _$ex, EMPTY_OBJ as _$em,
|
|
1
|
+
import { createElementVNode as _$ce, className as _$cn, createUnknownComponentVNode as _$cc, superCall as _$su, extend as _$ex, EMPTY_OBJ as _$em, createTextVNode as _$ct } from 'intact';
|
|
2
2
|
import { Icon } from '../icon';
|
|
3
3
|
import { DropdownMenu } from '../dropdown';
|
|
4
4
|
import { makePanelStyles } from './styles';
|
|
@@ -8,12 +8,6 @@ import { Button } from '../button';
|
|
|
8
8
|
import { PanelFlags } from '../datepicker/usePanel';
|
|
9
9
|
import { last } from '../datepicker/helpers';
|
|
10
10
|
import { ScrollSelect } from '../scrollSelect';
|
|
11
|
-
var _$tmp0 = {
|
|
12
|
-
'className': 'k-timepicker'
|
|
13
|
-
};
|
|
14
|
-
var _$tmp1 = {
|
|
15
|
-
'className': 'k-icon-time'
|
|
16
|
-
};
|
|
17
11
|
export default function ($props, $blocks, $__proto__) {
|
|
18
12
|
var _classNameObj;
|
|
19
13
|
|
|
@@ -33,10 +27,8 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
33
27
|
onChangeTimeByStep = _this$value.onChangeTimeByStep,
|
|
34
28
|
getTimeValue = _this$value.getTimeValue;
|
|
35
29
|
var lastValue = last(value);
|
|
36
|
-
var
|
|
37
|
-
|
|
38
|
-
'k-range': range
|
|
39
|
-
}, _classNameObj[className] = className, _classNameObj[makePanelStyles()] = true, _classNameObj);
|
|
30
|
+
var k = this.config.k;
|
|
31
|
+
var classNameObj = (_classNameObj = {}, _classNameObj[k + "-time-content"] = true, _classNameObj[k + "-range"] = range, _classNameObj[className] = className, _classNameObj[makePanelStyles(k)] = true, _classNameObj);
|
|
40
32
|
var options = this.step.options.value;
|
|
41
33
|
var _this$disabled = this.disabled,
|
|
42
34
|
isDisabledTime = _this$disabled.isDisabledTime,
|
|
@@ -48,7 +40,7 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
48
40
|
|
|
49
41
|
var generatePanel = function generatePanel(flag) {
|
|
50
42
|
var timeValue = getTimeValue(flag);
|
|
51
|
-
return _$ce(2, 'div', [range ? _$ce(2, 'div', flag === PanelFlags.Start ? _$('开始时间') : _$('结束时间'), 0,
|
|
43
|
+
return _$ce(2, 'div', [range ? _$ce(2, 'div', flag === PanelFlags.Start ? _$('开始时间') : _$('结束时间'), 0, _$cn(k + "-timepicker-title")) : undefined, !options ? _$cc(DatepickerTime, {
|
|
52
44
|
'value': timeValue,
|
|
53
45
|
'ev-$change:value': function ev$changeValue(v) {
|
|
54
46
|
return onChangeTime(v, flag);
|
|
@@ -65,23 +57,25 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
65
57
|
'disable': function disable(v) {
|
|
66
58
|
return isDisabledTimeByStep(v, flag);
|
|
67
59
|
}
|
|
68
|
-
}), 2,
|
|
60
|
+
}), 2, _$cn(k + "-datepicker-time"))], 0, _$cn(k + "-datepicker-calendar-wrapper"));
|
|
69
61
|
};
|
|
70
62
|
|
|
71
|
-
return _$su.call($this,
|
|
63
|
+
return _$su.call($this, {
|
|
64
|
+
'className': _$cn(k + "-timepicker")
|
|
65
|
+
}, function ($blocks) {
|
|
72
66
|
var _$blocks = {},
|
|
73
67
|
__$blocks = _$ex({}, $blocks);
|
|
74
68
|
|
|
75
69
|
return (_$blocks['base-menu'] = function ($super) {
|
|
76
70
|
return _$cc(DropdownMenu, {
|
|
77
71
|
'className': _$cn(classNameObj),
|
|
78
|
-
'children': _$ce(2, 'div', [_$ce(2, 'div', [generatePanel(PanelFlags.Start), _$ct('\n '), range ? generatePanel(PanelFlags.End) : null], 0,
|
|
72
|
+
'children': _$ce(2, 'div', [_$ce(2, 'div', [generatePanel(PanelFlags.Start), _$ct('\n '), range ? generatePanel(PanelFlags.End) : null], 0, _$cn(k + "-datepicker-calendars")), _$ce(2, 'div', _$cc(Button, {
|
|
79
73
|
'type': 'primary',
|
|
80
74
|
'size': 'small',
|
|
81
75
|
'disabled': isDisabledConfirm(),
|
|
82
76
|
'ev-click': onConfirm,
|
|
83
77
|
'children': _$('确定')
|
|
84
|
-
}), 2,
|
|
78
|
+
}), 2, _$cn(k + "-datepicker-footer"))], 4, _$cn(k + "-datepicker-wrapper"))
|
|
85
79
|
});
|
|
86
80
|
}, __$blocks['base-menu'] = function ($super, data) {
|
|
87
81
|
var block = $blocks['base-menu'];
|
|
@@ -92,7 +86,9 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
92
86
|
|
|
93
87
|
return block ? block.call($this, callBlock, data) : callBlock();
|
|
94
88
|
}), (_$blocks['suffix'] = function ($super) {
|
|
95
|
-
return _$cc(Icon,
|
|
89
|
+
return _$cc(Icon, {
|
|
90
|
+
'className': _$cn(k + "-icon-time")
|
|
91
|
+
});
|
|
96
92
|
}, __$blocks['suffix'] = function ($super, data) {
|
|
97
93
|
var block = $blocks['suffix'];
|
|
98
94
|
|
|
@@ -6,6 +6,7 @@ import template from './selectPicker.vdt';
|
|
|
6
6
|
import { useFormats } from './useFormats';
|
|
7
7
|
import { useDisabled } from '../datepicker/useDisabled';
|
|
8
8
|
import { useStep } from './useStep';
|
|
9
|
+
import { useConfigContext } from '../config';
|
|
9
10
|
export var SelectPicker = /*#__PURE__*/function (_Component) {
|
|
10
11
|
_inheritsLoose(SelectPicker, _Component);
|
|
11
12
|
|
|
@@ -22,6 +23,7 @@ export var SelectPicker = /*#__PURE__*/function (_Component) {
|
|
|
22
23
|
_this.formats = useFormats();
|
|
23
24
|
_this.disabled = useDisabled(_this.formats);
|
|
24
25
|
_this.step = useStep(_this.disabled, _this.formats);
|
|
26
|
+
_this.config = useConfigContext();
|
|
25
27
|
return _this;
|
|
26
28
|
}
|
|
27
29
|
|
|
@@ -5,9 +5,6 @@ import { createUnknownComponentVNode as _$cc, className as _$cn, map as _$ma, ex
|
|
|
5
5
|
import { Select, Option } from '../select';
|
|
6
6
|
import { Icon } from '../icon';
|
|
7
7
|
import { _$ } from '../../i18n';
|
|
8
|
-
var _$tmp0 = {
|
|
9
|
-
'className': 'k-icon-time'
|
|
10
|
-
};
|
|
11
8
|
export default function ($props, $blocks, $__proto__) {
|
|
12
9
|
$blocks || ($blocks = {});
|
|
13
10
|
$props || ($props = {});
|
|
@@ -20,6 +17,7 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
20
17
|
rest = _objectWithoutPropertiesLoose(_this$get, _excluded);
|
|
21
18
|
|
|
22
19
|
var options = this.step.options.value;
|
|
20
|
+
var k = this.config.k;
|
|
23
21
|
return _$cc(Select, _extends({}, rest, {
|
|
24
22
|
'placeholder': placeholder || _$('请选择时间'),
|
|
25
23
|
'filterable': true,
|
|
@@ -35,7 +33,9 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
35
33
|
__$blocks = _$ex({}, $blocks);
|
|
36
34
|
|
|
37
35
|
return (_$blocks['suffix'] = function ($super) {
|
|
38
|
-
return _$cc(Icon,
|
|
36
|
+
return _$cc(Icon, {
|
|
37
|
+
'className': _$cn(k + "-icon-time")
|
|
38
|
+
});
|
|
39
39
|
}, __$blocks['suffix'] = function ($super, data) {
|
|
40
40
|
var block = $blocks['suffix'];
|
|
41
41
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '../../styles/global';
|
|
2
|
-
export declare function makePanelStyles(): string;
|
|
2
|
+
export declare function makePanelStyles(k: string): string;
|
|
@@ -24,6 +24,6 @@ setDefault(function () {
|
|
|
24
24
|
timepicker: defaults
|
|
25
25
|
}).timepicker;
|
|
26
26
|
});
|
|
27
|
-
export function makePanelStyles() {
|
|
28
|
-
return cx(makePanelStylesBase(), /*#__PURE__*/css("&.k-time-content{.k-datepicker-time{padding:", timepicker.padding, ";}.k-scroll-select{height:", timepicker.scrollHeight, ";}}&.k-range{.k-datepicker-time{width:auto;border:", timepicker.border, ";}.k-scroll-select{height:", timepicker.range.scrollHeight, ";}.k-datepicker-calendar-wrapper{padding:", timepicker.range.padding, ";width:", timepicker.range.width, ";border:none;}.k-timepicker-title{text-align:center;margin-bottom:", timepicker.range.titleGap, ";}}"));
|
|
27
|
+
export function makePanelStyles(k) {
|
|
28
|
+
return cx(makePanelStylesBase(k), /*#__PURE__*/css("&.", k, "-time-content{.", k, "-datepicker-time{padding:", timepicker.padding, ";}.", k, "-scroll-select{height:", timepicker.scrollHeight, ";}}&.", k, "-range{.", k, "-datepicker-time{width:auto;border:", timepicker.border, ";}.", k, "-scroll-select{height:", timepicker.range.scrollHeight, ";}.", k, "-datepicker-calendar-wrapper{padding:", timepicker.range.padding, ";width:", timepicker.range.width, ";border:none;}.", k, "-timepicker-title{text-align:center;margin-bottom:", timepicker.range.titleGap, ";}}"));
|
|
29
29
|
}
|
|
@@ -17,9 +17,8 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
17
17
|
type = _this$get.type,
|
|
18
18
|
disabled = _this$get.disabled;
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
}, _classNameObj[makeStyles()] = true, _classNameObj);
|
|
20
|
+
var k = this.config.k;
|
|
21
|
+
var classNameObj = (_classNameObj = {}, _classNameObj[k + "-tip"] = true, _classNameObj[makeStyles(k)] = true, _classNameObj);
|
|
23
22
|
return _$su.call($this, {
|
|
24
23
|
'className': _$cn(classNameObj),
|
|
25
24
|
'name': 'k-fade'
|
|
@@ -38,7 +37,7 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
38
37
|
};
|
|
39
38
|
|
|
40
39
|
return block ? block.call($this, callBlock, data) : callBlock();
|
|
41
|
-
}, __$blocks['title'](_$no)), 0,
|
|
40
|
+
}, __$blocks['title'](_$no)), 0, _$cn(k + "-tip-title")) : undefined, children], 0, _$cn(k + "-tip-wrapper"));
|
|
42
41
|
}, __$blocks['body'] = function ($super, data) {
|
|
43
42
|
var block = $blocks['body'];
|
|
44
43
|
|
|
@@ -52,10 +51,10 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
52
51
|
'type': !$blocks.close ? 'none' : 'link',
|
|
53
52
|
'icon': !$blocks.close,
|
|
54
53
|
'ev-click': this.onClose,
|
|
55
|
-
'className':
|
|
54
|
+
'className': _$cn(k + "-tip-close"),
|
|
56
55
|
'children': (_$blocks['close'] = function ($super) {
|
|
57
56
|
return _$cc(Icon, {
|
|
58
|
-
'className':
|
|
57
|
+
'className': _$cn(k + "-icon-close"),
|
|
59
58
|
'hoverable': !disabled
|
|
60
59
|
});
|
|
61
60
|
}, __$blocks['close'] = function ($super, data) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '../../styles/global';
|
|
2
|
-
export declare function makeStyles(): string;
|
|
2
|
+
export declare function makeStyles(k: string): string;
|
|
@@ -24,6 +24,6 @@ setDefault(function () {
|
|
|
24
24
|
tip: defaults
|
|
25
25
|
}).tip;
|
|
26
26
|
});
|
|
27
|
-
export function makeStyles() {
|
|
28
|
-
return /*#__PURE__*/css("&.k-tip{display:flex;height:auto;padding:0;color:", tip.color, "!important;align-items:flex-start;}.k-tip-wrapper{flex:1;padding:", tip.padding, ";}.k-tip-title{font-size:", tip.title.fontSize, ";margin-bottom:", tip.title.gap, ";font-weight:", tip.title.fontWeight, ";}&.k-fade-leave-active{position:relative;}.k-tip-close:hover{background:none;}");
|
|
27
|
+
export function makeStyles(k) {
|
|
28
|
+
return /*#__PURE__*/css("&.", k, "-tip{display:flex;height:auto;padding:0;color:", tip.color, "!important;align-items:flex-start;}.", k, "-tip-wrapper{flex:1;padding:", tip.padding, ";}.", k, "-tip-title{font-size:", tip.title.fontSize, ";margin-bottom:", tip.title.gap, ";font-weight:", tip.title.fontWeight, ";}&.", k, "-fade-leave-active{position:relative;}.", k, "-tip-close:hover{background:none;}");
|
|
29
29
|
}
|
|
@@ -29,15 +29,12 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
29
29
|
var _this$arrow = this.arrow,
|
|
30
30
|
arrowRef = _this$arrow.arrowRef,
|
|
31
31
|
arrowType = _this$arrow.arrowType;
|
|
32
|
-
var
|
|
33
|
-
|
|
34
|
-
'k-hoverable': hoverable || trigger === 'click',
|
|
35
|
-
'k-always': always
|
|
36
|
-
}, _classNameObj["k-" + theme] = true, _classNameObj["k-" + size] = size !== 'default', _classNameObj[className] = className, _classNameObj[makeStyles()] = true, _classNameObj[$props.className] = $props.className, _classNameObj);
|
|
32
|
+
var k = this.config.k;
|
|
33
|
+
var classNameObj = (_classNameObj = {}, _classNameObj[k + "-tooltip-content"] = true, _classNameObj[k + "-hoverable"] = hoverable || trigger === 'click', _classNameObj[k + "-always"] = always, _classNameObj[k + "-" + theme] = true, _classNameObj[k + "-" + size] = size !== 'default', _classNameObj[className] = className, _classNameObj[makeStyles(k)] = true, _classNameObj[$props.className] = $props.className, _classNameObj);
|
|
37
34
|
return _$su.call($this, {
|
|
38
35
|
'value': !!value && !this.isEmptyChildren,
|
|
39
36
|
'transition': {
|
|
40
|
-
name:
|
|
37
|
+
name: k + "-fade",
|
|
41
38
|
onEnter: this.onEnter,
|
|
42
39
|
onAfterLeave: this.onAfterLeave,
|
|
43
40
|
onLeaveCancelled: this.onAfterLeave
|
|
@@ -79,9 +76,7 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
79
76
|
};
|
|
80
77
|
|
|
81
78
|
return block ? block.call($this, callBlock, data) : callBlock();
|
|
82
|
-
}, __$blocks['footer'](_$no)), 0,
|
|
83
|
-
"k-tooltip-arrow": true
|
|
84
|
-
}, _$cn2["k-" + arrowType.value] = arrowType.value, _$cn2)), null, 'tooltip-arrow', arrowRef) : undefined];
|
|
79
|
+
}, __$blocks['footer'](_$no)), 0, _$cn(k + "-tooltip-footer"), null, 'tooltip-footer') : undefined, showArrow ? _$ce(2, 'i', null, 1, _$cn((_$cn2 = {}, _$cn2[k + "-tooltip-arrow"] = true, _$cn2[k + "-" + arrowType.value] = arrowType.value, _$cn2)), null, 'tooltip-arrow', arrowRef) : undefined];
|
|
85
80
|
}, __$blocks['children'] = function ($super, data) {
|
|
86
81
|
var block = $blocks['children'];
|
|
87
82
|
|
|
@@ -23,5 +23,5 @@ declare const defaults: {
|
|
|
23
23
|
export declare let tooltip: typeof defaults;
|
|
24
24
|
export declare type Theme = 'dark' | 'light';
|
|
25
25
|
export declare const themes: Theme[];
|
|
26
|
-
export default function makeStyles(): string;
|
|
26
|
+
export default function makeStyles(k: string): string;
|
|
27
27
|
export {};
|
|
@@ -56,11 +56,11 @@ var directionMap = {
|
|
|
56
56
|
left: 'right',
|
|
57
57
|
right: 'left'
|
|
58
58
|
};
|
|
59
|
-
export default function makeStyles() {
|
|
59
|
+
export default function makeStyles(k) {
|
|
60
60
|
var arrowLong = tooltip.arrow.width;
|
|
61
|
-
var arrowShort = "calc(" + arrowLong + " - 1px)"; // use
|
|
61
|
+
var arrowShort = "calc(" + arrowLong + " - 1px)"; // use &.${k}-tooltip-content to override css in dropdown menu
|
|
62
62
|
|
|
63
|
-
return /*#__PURE__*/css("&.k-tooltip-content{max-width:", tooltip.maxWidth, ";min-width:0;padding:", tooltip.padding, ";line-height:", tooltip.lineHeight, ";word-wrap:
|
|
63
|
+
return /*#__PURE__*/css("&.", k, "-tooltip-content{max-width:", tooltip.maxWidth, ";min-width:0;padding:", tooltip.padding, ";line-height:", tooltip.lineHeight, ";word-wrap:bre.", k, "-word;pointer-events:none;box-shadow:", tooltip.boxShadow, ";&.", k, "-hoverable,&.", k, "-always{pointer-events:all;}.", k, "-tooltip-arrow{pointer-events:none;&:before,&{position:absolute;display:block;border-style:solid;border-color:transparent;}&:before{content:' ';}&.", k, "-top,&.", k, "-bottom{&:before,&{border-width:", arrowLong, " ", arrowShort, ";}&:before{left:calc(-1 * ", arrowShort, ");}}&.", k, "-top{top:calc(-2 * ", arrowLong, ");&:before{top:calc(-", arrowLong, " + 1px);}}&.", k, "-bottom{bottom:calc(-2 * ", arrowLong, ");&:before{bottom:calc(-", arrowLong, " + 1px);}}&.", k, "-left,&.", k, "-right{&:before,&{border-width:", arrowShort, " ", arrowLong, ";}&:before{top:calc(-1 * ", arrowShort, ");}}&.", k, "-left{left:calc(-2 * ", arrowLong, ");&:before{left:calc(-", arrowLong, " + 1px);}}&.", k, "-right{right:calc(-2 * ", arrowLong, ");&:before{right:calc(-", arrowLong, " + 1px);}}}", _mapInstanceProperty(themes).call(themes, function (theme) {
|
|
64
64
|
var _context;
|
|
65
65
|
|
|
66
66
|
var borderColor;
|
|
@@ -77,9 +77,9 @@ export default function makeStyles() {
|
|
|
77
77
|
color = tooltip.color;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
return /*#__PURE__*/css("&.k-", theme, "{background:", bgColor, ";color:", color, ";.k-tooltip-arrow{", _mapInstanceProperty(_context = _Object$keys(directionMap)).call(_context, function (direction) {
|
|
80
|
+
return /*#__PURE__*/css("&.", k, "-", theme, "{background:", bgColor, ";color:", color, ";.", k, "-tooltip-arrow{", _mapInstanceProperty(_context = _Object$keys(directionMap)).call(_context, function (direction) {
|
|
81
81
|
var borderDirection = directionMap[direction];
|
|
82
|
-
return /*#__PURE__*/css("&.k-", direction, "{border-", borderDirection, "-color:", borderColor, ";&:before{border-", borderDirection, "-color:", bgColor, ";}}");
|
|
82
|
+
return /*#__PURE__*/css("&.", k, "-", direction, "{border-", borderDirection, "-color:", borderColor, ";&:before{border-", borderDirection, "-color:", bgColor, ";}}");
|
|
83
83
|
}), ";}}");
|
|
84
|
-
}), ".k-tooltip-footer{padding-top:", tooltip.confirm.gaps, ";.k-btn:not(:first-of-type){margin-left:", tooltip.confirm.gaps, ";}}&.k-small{padding:", tooltip.smallPadding, ";}}");
|
|
84
|
+
}), ".", k, "-tooltip-footer{padding-top:", tooltip.confirm.gaps, ";.", k, "-btn:not(:first-of-type){margin-left:", tooltip.confirm.gaps, ";}}&.", k, "-small{padding:", tooltip.smallPadding, ";}}");
|
|
85
85
|
}
|
|
@@ -7,6 +7,7 @@ import { _$ } from '../../i18n';
|
|
|
7
7
|
import { useTransfer } from './useTransfer';
|
|
8
8
|
import { useFilter } from './useFilter';
|
|
9
9
|
import { useCheck } from './useCheck';
|
|
10
|
+
import { useConfigContext } from '../config';
|
|
10
11
|
var typeDefs = {
|
|
11
12
|
data: Array,
|
|
12
13
|
keyName: String,
|
|
@@ -59,6 +60,7 @@ export var Transfer = /*#__PURE__*/function (_Component) {
|
|
|
59
60
|
_this.transfer = useTransfer();
|
|
60
61
|
_this.filter = useFilter(_this.transfer.rightData);
|
|
61
62
|
_this.check = useCheck(_filterInstanceProperty(_this));
|
|
63
|
+
_this.config = useConfigContext();
|
|
62
64
|
return _this;
|
|
63
65
|
}
|
|
64
66
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
2
2
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter";
|
|
3
|
-
import { createElementVNode as _$ce, createTextVNode as _$ct, createUnknownComponentVNode as _$cc, noop as _$no, extend as _$ex, EMPTY_OBJ as _$em, map as _$ma,
|
|
3
|
+
import { createElementVNode as _$ce, createTextVNode as _$ct, className as _$cn, createUnknownComponentVNode as _$cc, noop as _$no, extend as _$ex, EMPTY_OBJ as _$em, map as _$ma, createVNode as _$cv } from 'intact';
|
|
4
4
|
import { linkEvent, Transition, TransitionGroup } from 'intact';
|
|
5
5
|
import { getRestProps } from '../utils';
|
|
6
6
|
import { makeStyles } from './styles';
|
|
@@ -9,16 +9,6 @@ import { Checkbox } from '../checkbox';
|
|
|
9
9
|
import { Button } from '../button';
|
|
10
10
|
import { Tree } from '../tree';
|
|
11
11
|
import { Icon } from '../icon';
|
|
12
|
-
var _$tmp0 = {
|
|
13
|
-
'className': 'k-icon-search',
|
|
14
|
-
'size': 'small'
|
|
15
|
-
};
|
|
16
|
-
var _$tmp1 = {
|
|
17
|
-
'className': 'k-transfer-icon k-icon-left'
|
|
18
|
-
};
|
|
19
|
-
var _$tmp2 = {
|
|
20
|
-
'className': 'k-transfer-icon k-icon-right'
|
|
21
|
-
};
|
|
22
12
|
export default function ($props, $blocks, $__proto__) {
|
|
23
13
|
var _classNameObj,
|
|
24
14
|
_this = this;
|
|
@@ -50,16 +40,15 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
50
40
|
toggleCheckAll = _this$check.toggleCheckAll,
|
|
51
41
|
onCheckboxChange = _this$check.onCheckboxChange,
|
|
52
42
|
isIndeterminate = _this$check.isIndeterminate;
|
|
53
|
-
var
|
|
54
|
-
|
|
55
|
-
}, _classNameObj[className] = className, _classNameObj[makeStyles()] = true, _classNameObj);
|
|
43
|
+
var k = this.config.k;
|
|
44
|
+
var classNameObj = (_classNameObj = {}, _classNameObj[k + "-transfer"] = true, _classNameObj[className] = className, _classNameObj[makeStyles(k)] = true, _classNameObj);
|
|
56
45
|
|
|
57
46
|
var Panel = function Panel(model) {
|
|
58
47
|
var title = _this.get(model + "Title");
|
|
59
48
|
|
|
60
49
|
var data = getShowedData(model);
|
|
61
50
|
return _$ce(2, 'div', [_$ce(2, 'div', (_$blocks['header'] = function ($super) {
|
|
62
|
-
return [_$ce(2, 'div', [this.get(model + "CheckedKeys.length"), _$ct(' /\n '), data.length], 0,
|
|
51
|
+
return [_$ce(2, 'div', [this.get(model + "CheckedKeys.length"), _$ct(' /\n '), data.length], 0, _$cn(k + "-transfer-count")), _$cc(Checkbox, {
|
|
63
52
|
'className': 'c-ellipsis',
|
|
64
53
|
'value': isCheckAll(model),
|
|
65
54
|
'indeterminate': isIndeterminate(model),
|
|
@@ -74,7 +63,7 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
74
63
|
};
|
|
75
64
|
|
|
76
65
|
return block ? block.call($this, callBlock, data) : callBlock();
|
|
77
|
-
}, __$blocks['header'](_$no, model)), 0,
|
|
66
|
+
}, __$blocks['header'](_$no, model)), 0, _$cn(k + "-transfer-title")), filterable ? (_$blocks['filter'] = function ($super) {
|
|
78
67
|
return _$cc(Input, {
|
|
79
68
|
'placeholder': placeholder,
|
|
80
69
|
'clearable': true,
|
|
@@ -84,7 +73,10 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
84
73
|
__$blocks = _$ex({}, $blocks);
|
|
85
74
|
|
|
86
75
|
return (_$blocks['prefix'] = function ($super) {
|
|
87
|
-
return _$cc(Icon,
|
|
76
|
+
return _$cc(Icon, {
|
|
77
|
+
'className': _$cn(k + "-icon-search"),
|
|
78
|
+
'size': 'small'
|
|
79
|
+
});
|
|
88
80
|
}, __$blocks['prefix'] = function ($super, data) {
|
|
89
81
|
var block = $blocks['prefix'];
|
|
90
82
|
|
|
@@ -112,6 +104,8 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
112
104
|
return _$cc(TransitionGroup, {
|
|
113
105
|
'name': 'k-fade',
|
|
114
106
|
'children': _$ma(data, function ($value, $key) {
|
|
107
|
+
var _$cn2;
|
|
108
|
+
|
|
115
109
|
return _$ce(2, 'div', _$cc(Checkbox, {
|
|
116
110
|
'name': model,
|
|
117
111
|
'trueValue': $value[keyName],
|
|
@@ -132,10 +126,7 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
132
126
|
$this.set(model + "CheckedKeys", $v);
|
|
133
127
|
},
|
|
134
128
|
'value': $this.get(model + "CheckedKeys")
|
|
135
|
-
}), 2, _$cn({
|
|
136
|
-
"k-transfer-item": true,
|
|
137
|
-
"k-disabled": $value.disabled
|
|
138
|
-
}), null, $value[keyName] || $value[labelName] || $value);
|
|
129
|
+
}), 2, _$cn((_$cn2 = {}, _$cn2[k + "-transfer-item"] = true, _$cn2[k + "-disabled"] = $value.disabled, _$cn2)), null, $value[keyName] || $value[labelName] || $value);
|
|
139
130
|
}, $this)
|
|
140
131
|
});
|
|
141
132
|
}, __$blocks['list'] = function ($super, data) {
|
|
@@ -146,7 +137,7 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
146
137
|
};
|
|
147
138
|
|
|
148
139
|
return block ? block.call($this, callBlock, data) : callBlock();
|
|
149
|
-
}, __$blocks['list'](_$no, model)), 0,
|
|
140
|
+
}, __$blocks['list'](_$no, model)), 0, _$cn(k + "-transfer-list"))], 0, _$cn(k + "-transfer-panel"));
|
|
150
141
|
};
|
|
151
142
|
|
|
152
143
|
return _$cv('div', _extends({
|
|
@@ -158,7 +149,9 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
158
149
|
'ev-click': remove,
|
|
159
150
|
'type': 'primary',
|
|
160
151
|
'size': 'large',
|
|
161
|
-
'children': _$cc(Icon,
|
|
152
|
+
'children': _$cc(Icon, {
|
|
153
|
+
'className': _$cn(k + "-transfer-icon " + k + "-icon-left")
|
|
154
|
+
})
|
|
162
155
|
}), _$cc(Button, {
|
|
163
156
|
'circle': true,
|
|
164
157
|
'icon': true,
|
|
@@ -166,7 +159,9 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
166
159
|
'ev-click': add,
|
|
167
160
|
'type': 'primary',
|
|
168
161
|
'size': 'large',
|
|
169
|
-
'children': _$cc(Icon,
|
|
170
|
-
|
|
162
|
+
'children': _$cc(Icon, {
|
|
163
|
+
'className': _$cn(k + "-transfer-icon " + k + "-icon-right")
|
|
164
|
+
})
|
|
165
|
+
})], 4, _$cn(k + "-transfer-arrows")), Panel('right')]);
|
|
171
166
|
}
|
|
172
167
|
;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '../../styles/global';
|
|
2
|
-
export declare function makeStyles(): string;
|
|
2
|
+
export declare function makeStyles(k: string): string;
|
|
@@ -62,6 +62,6 @@ setDefault(function () {
|
|
|
62
62
|
transfer: defaults
|
|
63
63
|
}).transfer;
|
|
64
64
|
});
|
|
65
|
-
export function makeStyles() {
|
|
66
|
-
return /*#__PURE__*/css("font-size:", transfer.fontSize, ";.k-transfer-panel,.k-transfer-arrows{display:inline-block;vertical-align:middle;}.k-transfer-panel{width:", transfer.panel.width, ";border:", transfer.panel.border, ";border-radius:", transfer.panel.borderRadius, ";height:", transfer.panel.height, ";display:inline-flex;flex-direction:column;overflow:auto;}.k-transfer-title{line-height:", transfer.title.lineHeight, ";background:", transfer.title.bgColor, ";padding:", transfer.title.padding, ";.k-checkbox{color:", transfer.title.color, ";font-size:", transfer.title.fontSize, ";}}.k-transfer-count{float:right;margin-left:", transfer.title.countGap, ";}.k-transfer-list{overflow:auto;position:relative;flex:1;}.k-transfer-item{color:", transfer.item.color, ";background:", transfer.item.bgColor, ";user-select:none;width:100%;&:not(.k-disabled):hover{background:", transfer.item.hoverBgColor, ";color:", transfer.item.hoverColor, ";p{color:", transfer.item.hoverColor, ";}}.k-checkbox{padding:", transfer.item.padding, ";display:flex;}p{margin:0;color:", transfer.item.descColor, ";}&.k-disabled{p{color:", theme.color.disabled, ";}}}.k-input{width:auto;margin:", transfer.searchGap, ";}.k-transfer-arrows{.k-btn{display:flex;margin:", transfer.arrow.gap, ";}}");
|
|
65
|
+
export function makeStyles(k) {
|
|
66
|
+
return /*#__PURE__*/css("font-size:", transfer.fontSize, ";.", k, "-transfer-panel,.", k, "-transfer-arrows{display:inline-block;vertical-align:middle;}.", k, "-transfer-panel{width:", transfer.panel.width, ";border:", transfer.panel.border, ";border-radius:", transfer.panel.borderRadius, ";height:", transfer.panel.height, ";display:inline-flex;flex-direction:column;overflow:auto;}.", k, "-transfer-title{line-height:", transfer.title.lineHeight, ";background:", transfer.title.bgColor, ";padding:", transfer.title.padding, ";.", k, "-checkbox{color:", transfer.title.color, ";font-size:", transfer.title.fontSize, ";}}.", k, "-transfer-count{float:right;margin-left:", transfer.title.countGap, ";}.", k, "-transfer-list{overflow:auto;position:relative;flex:1;}.", k, "-transfer-item{color:", transfer.item.color, ";background:", transfer.item.bgColor, ";user-select:none;width:100%;&:not(.", k, "-disabled):hover{background:", transfer.item.hoverBgColor, ";color:", transfer.item.hoverColor, ";p{color:", transfer.item.hoverColor, ";}}.", k, "-checkbox{padding:", transfer.item.padding, ";display:flex;}p{margin:0;color:", transfer.item.descColor, ";}&.", k, "-disabled{p{color:", theme.color.disabled, ";}}}.", k, "-input{width:auto;margin:", transfer.searchGap, ";}.", k, "-transfer-arrows{.", k, "-btn{display:flex;margin:", transfer.arrow.gap, ";}}");
|
|
67
67
|
}
|
|
@@ -48,6 +48,7 @@ export declare class Tree<K extends Key = Key> extends Component<TreeProps<K>, T
|
|
|
48
48
|
private filter;
|
|
49
49
|
private draggable;
|
|
50
50
|
private transition;
|
|
51
|
+
private config;
|
|
51
52
|
getCheckedData(leafOnly?: boolean): DataItem<Key>[];
|
|
52
53
|
getSelectedData(): DataItem<Key>[];
|
|
53
54
|
expand(key: K): void;
|
|
@@ -12,6 +12,7 @@ import { useSelected } from './useSelected';
|
|
|
12
12
|
import { useFilter } from './useFilter';
|
|
13
13
|
import { useDraggable, Mode } from './useDraggable';
|
|
14
14
|
import { useTransitionEvent } from './useTransitionEvent';
|
|
15
|
+
import { useConfigContext } from '../config';
|
|
15
16
|
var typeDefs = {
|
|
16
17
|
data: Array,
|
|
17
18
|
filter: Function,
|
|
@@ -63,6 +64,7 @@ export var Tree = /*#__PURE__*/function (_Component) {
|
|
|
63
64
|
_this.filter = useFilter(_this.nodes.getNodes, _this.expanded.get);
|
|
64
65
|
_this.draggable = useDraggable();
|
|
65
66
|
_this.transition = useTransitionEvent();
|
|
67
|
+
_this.config = useConfigContext();
|
|
66
68
|
return _this;
|
|
67
69
|
}
|
|
68
70
|
|