ods-component-lib 1.22.2 → 1.22.3
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/dist/_virtual/index5.js +2 -3
- package/dist/_virtual/index5.js.map +1 -1
- package/dist/_virtual/index6.js +3 -2
- package/dist/_virtual/index6.js.map +1 -1
- package/dist/components/antd/currencyInput/CurrencySelect.js +15 -14
- package/dist/components/antd/currencyInput/CurrencySelect.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js +6 -6
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +20 -20
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +101 -98
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js.map +1 -1
- package/dist/node_modules/@ant-design/cssinjs/es/util/index.js +29 -27
- package/dist/node_modules/@ant-design/cssinjs/es/util/index.js.map +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/index.js +20 -20
- package/dist/node_modules/@rc-component/async-validator/es/index.js.map +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/messages.js +1 -0
- package/dist/node_modules/@rc-component/async-validator/es/messages.js.map +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/rule/type.js +18 -8
- package/dist/node_modules/@rc-component/async-validator/es/rule/type.js.map +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/util.js +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/util.js.map +1 -1
- package/dist/node_modules/@rc-component/async-validator/es/validator/index.js +1 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/index.js.map +1 -1
- package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js +88 -68
- package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js.map +1 -1
- package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js +75 -96
- package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js.map +1 -1
- package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js +22 -20
- package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js.map +1 -1
- package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js +92 -100
- package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js.map +1 -1
- package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js +40 -29
- package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js.map +1 -1
- package/dist/node_modules/@rc-component/form/es/hooks/useForm.js +115 -100
- package/dist/node_modules/@rc-component/form/es/hooks/useForm.js.map +1 -1
- package/dist/node_modules/@rc-component/form/es/utils/NameMap.js +28 -22
- package/dist/node_modules/@rc-component/form/es/utils/NameMap.js.map +1 -1
- package/dist/node_modules/@rc-component/form/es/utils/messages.js +1 -0
- package/dist/node_modules/@rc-component/form/es/utils/messages.js.map +1 -1
- package/dist/node_modules/@rc-component/image/es/Preview/index.js +111 -105
- package/dist/node_modules/@rc-component/image/es/Preview/index.js.map +1 -1
- package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js +42 -22
- package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js.map +1 -1
- package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js +18 -54
- package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js.map +1 -1
- package/dist/node_modules/@rc-component/resize-observer/es/index.js.map +1 -1
- package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js +50 -0
- package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js.map +1 -0
- package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js +50 -50
- package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js.map +1 -1
- package/dist/node_modules/@rc-component/select/es/SelectInput/index.js +85 -80
- package/dist/node_modules/@rc-component/select/es/SelectInput/index.js.map +1 -1
- package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js +85 -80
- package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.js +74 -72
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js +10 -9
- package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +27 -27
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js.map +1 -1
- package/dist/node_modules/@rc-component/trigger/es/index.js +150 -140
- package/dist/node_modules/@rc-component/trigger/es/index.js.map +1 -1
- package/dist/node_modules/@rc-component/util/es/Dom/focus.js +65 -20
- package/dist/node_modules/@rc-component/util/es/Dom/focus.js.map +1 -1
- package/dist/node_modules/@rc-component/util/es/ref.js +1 -1
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +53 -48
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.js.map +1 -1
- package/dist/node_modules/antd/es/_util/wave/style.js +8 -7
- package/dist/node_modules/antd/es/_util/wave/style.js.map +1 -1
- package/dist/node_modules/antd/es/alert/Alert.js +133 -128
- package/dist/node_modules/antd/es/alert/Alert.js.map +1 -1
- package/dist/node_modules/antd/es/badge/Badge.js +29 -28
- package/dist/node_modules/antd/es/badge/Badge.js.map +1 -1
- package/dist/node_modules/antd/es/badge/style/index.js +1 -1
- package/dist/node_modules/antd/es/badge/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/button/buttonHelpers.js +47 -41
- package/dist/node_modules/antd/es/button/buttonHelpers.js.map +1 -1
- package/dist/node_modules/antd/es/button/style/variant.js +132 -132
- package/dist/node_modules/antd/es/button/style/variant.js.map +1 -1
- package/dist/node_modules/antd/es/calendar/generateCalendar.js +55 -57
- package/dist/node_modules/antd/es/calendar/generateCalendar.js.map +1 -1
- package/dist/node_modules/antd/es/calendar/style/index.js +18 -18
- package/dist/node_modules/antd/es/calendar/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/card/CardGrid.js.map +1 -1
- package/dist/node_modules/antd/es/card/style/index.js +15 -7
- package/dist/node_modules/antd/es/card/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/checkbox/Group.js +32 -30
- package/dist/node_modules/antd/es/checkbox/Group.js.map +1 -1
- package/dist/node_modules/antd/es/collapse/Collapse.js +61 -61
- package/dist/node_modules/antd/es/collapse/Collapse.js.map +1 -1
- package/dist/node_modules/antd/es/config-provider/index.js +76 -71
- package/dist/node_modules/antd/es/config-provider/index.js.map +1 -1
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js +29 -31
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js.map +1 -1
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js +7 -9
- package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js.map +1 -1
- package/dist/node_modules/antd/es/date-picker/generatePicker/{SuffixIcon.js → useSuffixIcon.js} +4 -4
- package/dist/node_modules/antd/es/date-picker/generatePicker/useSuffixIcon.js.map +1 -0
- package/dist/node_modules/antd/es/date-picker/style/panel.js +4 -4
- package/dist/node_modules/antd/es/date-picker/style/panel.js.map +1 -1
- package/dist/node_modules/antd/es/drawer/useFocusable.js +14 -0
- package/dist/node_modules/antd/es/drawer/useFocusable.js.map +1 -0
- package/dist/node_modules/antd/es/form/style/index.js +24 -24
- package/dist/node_modules/antd/es/form/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/grid/col.js +56 -54
- package/dist/node_modules/antd/es/grid/col.js.map +1 -1
- package/dist/node_modules/antd/es/grid/style/index.js +50 -50
- package/dist/node_modules/antd/es/grid/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/input/style/index.js +1 -0
- package/dist/node_modules/antd/es/input/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/input-number/index.js +91 -91
- package/dist/node_modules/antd/es/input-number/index.js.map +1 -1
- package/dist/node_modules/antd/es/input-number/style/index.js +80 -79
- package/dist/node_modules/antd/es/input-number/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/layout/style/sider.js +9 -9
- package/dist/node_modules/antd/es/layout/style/sider.js.map +1 -1
- package/dist/node_modules/antd/es/menu/MenuItem.js +6 -6
- package/dist/node_modules/antd/es/menu/MenuItem.js.map +1 -1
- package/dist/node_modules/antd/es/menu/SubMenu.js +8 -8
- package/dist/node_modules/antd/es/menu/SubMenu.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/horizontal.js +1 -1
- package/dist/node_modules/antd/es/menu/style/horizontal.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/index.js +58 -58
- package/dist/node_modules/antd/es/menu/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/menu/style/vertical.js +1 -1
- package/dist/node_modules/antd/es/menu/style/vertical.js.map +1 -1
- package/dist/node_modules/antd/es/modal/ConfirmDialog.js +117 -112
- package/dist/node_modules/antd/es/modal/ConfirmDialog.js.map +1 -1
- package/dist/node_modules/antd/es/modal/Modal.js +115 -109
- package/dist/node_modules/antd/es/modal/Modal.js.map +1 -1
- package/dist/node_modules/antd/es/modal/style/index.js +83 -80
- package/dist/node_modules/antd/es/modal/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/pagination/Pagination.js +85 -81
- package/dist/node_modules/antd/es/pagination/Pagination.js.map +1 -1
- package/dist/node_modules/antd/es/pagination/style/bordered.js +2 -2
- package/dist/node_modules/antd/es/pagination/style/bordered.js.map +1 -1
- package/dist/node_modules/antd/es/pagination/style/index.js +98 -132
- package/dist/node_modules/antd/es/pagination/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/popover/index.js +77 -82
- package/dist/node_modules/antd/es/popover/index.js.map +1 -1
- package/dist/node_modules/antd/es/popover/style/index.js +65 -63
- package/dist/node_modules/antd/es/popover/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/radio/context.js +3 -3
- package/dist/node_modules/antd/es/radio/context.js.map +1 -1
- package/dist/node_modules/antd/es/radio/group.js +31 -29
- package/dist/node_modules/antd/es/radio/group.js.map +1 -1
- package/dist/node_modules/antd/es/radio/style/index.js +1 -1
- package/dist/node_modules/antd/es/radio/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/select/style/dropdown.js +1 -1
- package/dist/node_modules/antd/es/select/style/dropdown.js.map +1 -1
- package/dist/node_modules/antd/es/select/style/select-input-multiple.js +71 -69
- package/dist/node_modules/antd/es/select/style/select-input-multiple.js.map +1 -1
- package/dist/node_modules/antd/es/select/style/select-input.js +104 -98
- package/dist/node_modules/antd/es/select/style/select-input.js.map +1 -1
- package/dist/node_modules/antd/es/space/Item.js +2 -2
- package/dist/node_modules/antd/es/space/Item.js.map +1 -1
- package/dist/node_modules/antd/es/space/index.js +4 -4
- package/dist/node_modules/antd/es/space/index.js.map +1 -1
- package/dist/node_modules/antd/es/space/style/addon.js +47 -46
- package/dist/node_modules/antd/es/space/style/addon.js.map +1 -1
- package/dist/node_modules/antd/es/steps/PanelArrow.js +2 -2
- package/dist/node_modules/antd/es/steps/PanelArrow.js.map +1 -1
- package/dist/node_modules/antd/es/steps/ProgressIcon.js +12 -10
- package/dist/node_modules/antd/es/steps/ProgressIcon.js.map +1 -1
- package/dist/node_modules/antd/es/steps/index.js +108 -106
- package/dist/node_modules/antd/es/steps/index.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/horizontal.js +13 -11
- package/dist/node_modules/antd/es/steps/style/horizontal.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/icon.js +23 -18
- package/dist/node_modules/antd/es/steps/style/icon.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/index.js +41 -41
- package/dist/node_modules/antd/es/steps/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/inline.js +28 -23
- package/dist/node_modules/antd/es/steps/style/inline.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/label-placement.js +44 -39
- package/dist/node_modules/antd/es/steps/style/label-placement.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/nav.js +29 -27
- package/dist/node_modules/antd/es/steps/style/nav.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/panel.js +61 -56
- package/dist/node_modules/antd/es/steps/style/panel.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/progress-dot.js +28 -26
- package/dist/node_modules/antd/es/steps/style/progress-dot.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/progress.js +24 -57
- package/dist/node_modules/antd/es/steps/style/progress.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/rtl.js +10 -8
- package/dist/node_modules/antd/es/steps/style/rtl.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/small.js +21 -16
- package/dist/node_modules/antd/es/steps/style/small.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/status.js +187 -176
- package/dist/node_modules/antd/es/steps/style/status.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/util.js +18 -16
- package/dist/node_modules/antd/es/steps/style/util.js.map +1 -1
- package/dist/node_modules/antd/es/steps/style/vertical.js +21 -16
- package/dist/node_modules/antd/es/steps/style/vertical.js.map +1 -1
- package/dist/node_modules/antd/es/style/placementArrow.js +31 -29
- package/dist/node_modules/antd/es/style/placementArrow.js.map +1 -1
- package/dist/node_modules/antd/es/table/InternalTable.js +65 -62
- package/dist/node_modules/antd/es/table/InternalTable.js.map +1 -1
- package/dist/node_modules/antd/es/table/TableMeasureRowContext.js +6 -0
- package/dist/node_modules/antd/es/table/TableMeasureRowContext.js.map +1 -0
- package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js +145 -137
- package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js.map +1 -1
- package/dist/node_modules/antd/es/table/style/index.js +3 -3
- package/dist/node_modules/antd/es/table/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/table/style/radius.js +10 -0
- package/dist/node_modules/antd/es/table/style/radius.js.map +1 -1
- package/dist/node_modules/antd/es/table/style/virtual.js +5 -5
- package/dist/node_modules/antd/es/table/style/virtual.js.map +1 -1
- package/dist/node_modules/antd/es/theme/util/genStyleUtils.js +29 -32
- package/dist/node_modules/antd/es/theme/util/genStyleUtils.js.map +1 -1
- package/dist/node_modules/antd/es/timeline/Timeline.js +76 -74
- package/dist/node_modules/antd/es/timeline/Timeline.js.map +1 -1
- package/dist/node_modules/antd/es/timeline/style/horizontal.js +21 -18
- package/dist/node_modules/antd/es/timeline/style/horizontal.js.map +1 -1
- package/dist/node_modules/antd/es/timeline/style/index.js +85 -70
- package/dist/node_modules/antd/es/timeline/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/timeline/useItems.js +38 -37
- package/dist/node_modules/antd/es/timeline/useItems.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/PurePanel.js +27 -27
- package/dist/node_modules/antd/es/tooltip/PurePanel.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js +17 -22
- package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js +27 -26
- package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/index.js +50 -50
- package/dist/node_modules/antd/es/tooltip/index.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/style/index.js +55 -52
- package/dist/node_modules/antd/es/tooltip/style/index.js.map +1 -1
- package/dist/node_modules/antd/es/tooltip/util.js +13 -12
- package/dist/node_modules/antd/es/tooltip/util.js.map +1 -1
- package/dist/node_modules/antd/es/tree/DirectoryTree.js +42 -41
- package/dist/node_modules/antd/es/tree/DirectoryTree.js.map +1 -1
- package/dist/node_modules/antd/es/version/version.js +1 -1
- package/dist/node_modules/antd/es/version/version.js.map +1 -1
- package/dist/node_modules/canvg/lib/index.es.js +84 -84
- package/dist/node_modules/canvg/lib/index.es.js.map +1 -1
- package/dist/node_modules/compute-scroll-into-view/dist/index.js +17 -17
- package/dist/node_modules/compute-scroll-into-view/dist/index.js.map +1 -1
- package/dist/node_modules/dompurify/dist/purify.es.js +217 -223
- package/dist/node_modules/dompurify/dist/purify.es.js.map +1 -1
- package/dist/node_modules/fflate/esm/browser.js +295 -335
- package/dist/node_modules/fflate/esm/browser.js.map +1 -1
- package/dist/node_modules/jspdf/dist/jspdf.es.min.js +1771 -1781
- package/dist/node_modules/jspdf/dist/jspdf.es.min.js.map +1 -1
- package/dist/node_modules/raf/index.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +6 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
- package/package.json +1 -1
- package/dist/node_modules/antd/es/date-picker/generatePicker/SuffixIcon.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/timeline/style/index.js"],"sourcesContent":["import { resetComponent } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport genHorizontalStyle from './horizontal';\nconst genTimelineStyle = token => {\n const {\n componentCls,\n tailColor\n } = token;\n const itemCls = `${componentCls}-item`;\n return {\n [componentCls]: [\n // ==============================================================\n // == Item ==\n // ==============================================================\n {\n ...resetComponent(token),\n [itemCls]: {\n '--steps-title-horizontal-title-height': token.fontHeight,\n '--steps-vertical-rail-margin': '0px',\n '--steps-title-horizontal-rail-gap': '0px',\n // Root Level: Record Steps icon size and support fallback\n '--steps-icon-dot-size-origin': 'var(--steps-icon-size-active)',\n '--steps-icon-dot-size-custom': token.dotSize,\n // Item Level: Record Steps icon color and support fallback\n '--steps-item-icon-dot-bg-color-origin': 'var(--steps-item-icon-dot-bg-color)',\n '--steps-item-icon-dot-bg-color-custom': token.dotBg,\n '--steps-icon-size': 'var(--steps-icon-dot-size-custom, var(--steps-icon-dot-size-origin))',\n // Icon\n [`${itemCls}-icon`]: {\n '--steps-dot-icon-border-width': token.dotBorderWidth,\n '--steps-dot-icon-size': 'var(--steps-icon-size)',\n '--steps-item-icon-dot-bg-color': 'var(--steps-item-icon-dot-bg-color-custom, var(--steps-item-icon-dot-bg-color-origin))'\n },\n // Title\n [`${itemCls}-title`]: {\n fontSize: token.fontSize,\n lineHeight: token.lineHeight\n },\n // Content\n [`${itemCls}-content`]: {\n color: token.colorText\n },\n // Rail\n [`${itemCls}-rail`]: {\n '--steps-item-solid-line-color': tailColor,\n '--steps-rail-size': token.tailWidth\n }\n }\n },\n // ==============================================================\n // == Status ==\n // ==============================================================\n {\n [itemCls]: {\n '--steps-item-process-rail-line-style': 'dotted'\n },\n [`${itemCls}${itemCls}${itemCls}-color`]: {\n '&-blue': {\n '--steps-item-icon-dot-color': token.colorPrimary\n },\n '&-red': {\n '--steps-item-icon-dot-color': token.colorError\n },\n '&-green': {\n '--steps-item-icon-dot-color': token.colorSuccess\n },\n '&-gray': {\n '--steps-item-icon-dot-color': token.colorTextDisabled\n }\n }\n }]\n };\n};\nconst genVerticalStyle = token => {\n const {\n calc,\n componentCls,\n itemPaddingBottom\n } = token;\n const itemCls = `${componentCls}-item`;\n return {\n [`${componentCls}:not(${componentCls}-horizontal)`]: {\n '--timeline-head-span': '12',\n '--timeline-head-span-ptg': 'calc(var(--timeline-head-span) / 24 * 100%)',\n // =============================================================\n // == Alternate ==\n // =============================================================\n [`&${componentCls}-layout-alternate`]: {\n [itemCls]: {\n '--timeline-alternate-gap': calc(token.margin).mul(2).add('var(--steps-dot-icon-size)').equal(),\n minHeight: 'auto',\n paddingBottom: itemPaddingBottom,\n // Icon & Rail\n [`${itemCls}-icon, ${itemCls}-rail`]: {\n position: 'absolute',\n insetInlineStart: 'var(--timeline-head-span-ptg)'\n },\n // Icon\n [`${itemCls}-icon`]: {\n marginInlineStart: `calc(var(--steps-icon-size) / -2)`\n },\n // Section\n [`${itemCls}-section`]: {\n display: 'flex',\n flexWrap: 'nowrap',\n gap: 'var(--timeline-alternate-gap)'\n },\n // >>> Header\n [`${itemCls}-header`]: {\n textAlign: 'end',\n flexDirection: 'column',\n alignItems: 'stretch',\n flex: '1 1 calc(var(--timeline-head-span-ptg) - var(--timeline-alternate-gap) / 2)'\n },\n // >>> Content\n [`${itemCls}-content`]: {\n textAlign: 'start',\n flex: '1 1 calc(100% - var(--timeline-head-span-ptg) - var(--timeline-alternate-gap) / 2)'\n },\n // Placement\n '&-placement-end': {\n [`${itemCls}-header`]: {\n textAlign: 'start',\n order: 1\n },\n [`${itemCls}-content`]: {\n textAlign: 'end'\n },\n [`${itemCls}-icon, ${itemCls}-rail`]: {\n insetInlineStart: 'calc(100% - var(--timeline-head-span-ptg))'\n }\n }\n }\n },\n // =============================================================\n // == Same Side ==\n // =============================================================\n [`&:not(${componentCls}-layout-alternate)`]: {\n [`${itemCls}-placement-end`]: {\n textAlign: 'end',\n [`${itemCls}-icon`]: {\n order: 1\n },\n [`${itemCls}-rail`]: {\n insetInlineStart: 'auto',\n insetInlineEnd: 'calc(var(--steps-icon-size) / 2)',\n marginInlineEnd: `calc(var(--steps-rail-size) / -2)`\n }\n }\n }\n }\n };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => ({\n tailColor: token.colorSplit,\n tailWidth: token.lineWidthBold,\n dotBorderWidth: token.lineWidthBold,\n dotBg: undefined,\n dotSize: undefined,\n itemPaddingBottom: token.padding * 1.25\n});\nexport default genStyleHooks('Timeline', token => {\n const timeLineToken = mergeToken(token, {\n itemHeadSize: 10,\n customHeadPaddingVertical: token.paddingXXS,\n paddingInlineEnd: 2\n });\n return [genTimelineStyle(timeLineToken), genVerticalStyle(timeLineToken), genHorizontalStyle(timeLineToken)];\n}, prepareComponentToken);"],"names":["genTimelineStyle","token","componentCls","tailColor","itemCls","resetComponent","genVerticalStyle","calc","itemPaddingBottom","prepareComponentToken","useStyle","genStyleHooks","timeLineToken","mergeToken","genHorizontalStyle"],"mappings":";;;;AAGA,MAAMA,IAAmB,CAAAC,MAAS;AAChC,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,WAAAC;AAAA,EACJ,IAAMF,GACEG,IAAU,GAAGF,CAAY;AAC/B,SAAO;AAAA,IACL,CAACA,CAAY,GAAG;AAAA;AAAA;AAAA;AAAA,MAIhB;AAAA,QACE,GAAGG,EAAeJ,CAAK;AAAA,QACvB,CAACG,CAAO,GAAG;AAAA,UACT,yCAAyCH,EAAM;AAAA,UAC/C,gCAAgC;AAAA,UAChC,qCAAqC;AAAA;AAAA,UAErC,gCAAgC;AAAA,UAChC,gCAAgCA,EAAM;AAAA;AAAA,UAEtC,yCAAyC;AAAA,UACzC,yCAAyCA,EAAM;AAAA,UAC/C,qBAAqB;AAAA;AAAA,UAErB,CAAC,GAAGG,CAAO,OAAO,GAAG;AAAA,YACnB,iCAAiCH,EAAM;AAAA,YACvC,yBAAyB;AAAA,YACzB,kCAAkC;AAAA,UAC5C;AAAA;AAAA,UAEQ,CAAC,GAAGG,CAAO,QAAQ,GAAG;AAAA,YACpB,UAAUH,EAAM;AAAA,YAChB,YAAYA,EAAM;AAAA,UAC5B;AAAA;AAAA,UAEQ,CAAC,GAAGG,CAAO,UAAU,GAAG;AAAA,YACtB,OAAOH,EAAM;AAAA,UACvB;AAAA;AAAA,UAEQ,CAAC,GAA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gBC,EAAWZ,GAAO;AAAA,IACtC,cAAc;AAAA,IACd,2BAA2BA,EAAM;AAAA,IACjC,kBAAkB;AAAA,EACtB,CAAG;AACD,SAAO,CAACD,EAAiBY,CAAa,GAAGN,EAAiBM,CAAa,GAAGE,EAAmBF,CAAa,CAAC;AAC7G,GAAGH,CAAqB;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/timeline/style/index.js"],"sourcesContent":["import { resetComponent } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport { genCssVar } from '../../theme/util/genStyleUtils';\nimport genHorizontalStyle from './horizontal';\nconst genTimelineStyle = token => {\n const {\n componentCls,\n tailColor,\n fontHeight,\n dotSize,\n dotBg,\n dotBorderWidth,\n fontSize,\n lineHeight,\n colorText,\n tailWidth,\n colorPrimary,\n colorError,\n colorSuccess,\n colorTextDisabled,\n antCls\n } = token;\n const itemCls = `${componentCls}-item`;\n const [varName, varRef] = genCssVar(antCls, 'cmp-steps');\n return {\n [componentCls]: [\n // ==============================================================\n // == Item ==\n // ==============================================================\n {\n ...resetComponent(token),\n [itemCls]: {\n [varName('title-horizontal-title-height')]: fontHeight,\n [varName('vertical-rail-margin')]: '0px',\n [varName('title-horizontal-rail-gap')]: '0px',\n // Root Level: Record Steps icon size and support fallback\n [varName('icon-dot-size-origin')]: varRef('icon-size-active'),\n [varName('icon-dot-size-custom')]: dotSize,\n // Item Level: Record Steps icon color and support fallback\n [varName('item-icon-dot-bg-color-origin')]: varRef('item-icon-dot-bg-color'),\n [varName('item-icon-dot-bg-color-custom')]: dotBg,\n [varName('icon-size')]: varRef('icon-dot-size-custom', varRef('icon-dot-size-origin')),\n // Icon\n [`${itemCls}-icon`]: {\n [varName('dot-icon-border-width')]: dotBorderWidth,\n [varName('dot-icon-size')]: varRef('icon-size'),\n [varName('item-icon-dot-bg-color')]: varRef('item-icon-dot-bg-color-custom', varRef('item-icon-dot-bg-color-origin'))\n },\n // Title\n [`${itemCls}-title`]: {\n fontSize,\n lineHeight\n },\n // Content\n [`${itemCls}-content`]: {\n color: colorText\n },\n // Rail\n [`${itemCls}-rail`]: {\n [varName('item-solid-line-color')]: tailColor,\n [varName('rail-size')]: tailWidth\n }\n }\n },\n // ==============================================================\n // == Status ==\n // ==============================================================\n {\n [itemCls]: {\n [varName('item-process-rail-line-style')]: 'dotted'\n },\n [`${itemCls}${itemCls}${itemCls}-color`]: {\n '&-blue': {\n [varName('item-icon-dot-color')]: colorPrimary\n },\n '&-red': {\n [varName('item-icon-dot-color')]: colorError\n },\n '&-green': {\n [varName('item-icon-dot-color')]: colorSuccess\n },\n '&-gray': {\n [varName('item-icon-dot-color')]: colorTextDisabled\n }\n }\n }]\n };\n};\nconst genVerticalStyle = token => {\n const {\n calc,\n componentCls,\n itemPaddingBottom,\n margin,\n antCls\n } = token;\n const itemCls = `${componentCls}-item`;\n const [, stepsVarRef] = genCssVar(antCls, 'cmp-steps');\n const [timelineVarName, timelineVarRef] = genCssVar(antCls, 'timeline');\n return {\n [`${componentCls}:not(${componentCls}-horizontal)`]: {\n [timelineVarName('head-span')]: '12',\n [timelineVarName('head-span-ptg')]: `calc(${timelineVarRef('head-span')} / 24 * 100%)`,\n // =============================================================\n // == Alternate ==\n // =============================================================\n [`&${componentCls}-layout-alternate`]: {\n [itemCls]: {\n [timelineVarName('alternate-gap')]: calc(margin).mul(2).add(stepsVarRef('dot-icon-size')).equal(),\n minHeight: 'auto',\n paddingBottom: itemPaddingBottom,\n // Icon & Rail\n [`${itemCls}-icon, ${itemCls}-rail`]: {\n position: 'absolute',\n insetInlineStart: timelineVarRef('head-span-ptg')\n },\n // Icon\n [`${itemCls}-icon`]: {\n marginInlineStart: `calc(${stepsVarRef('icon-size')} / -2)`\n },\n // Section\n [`${itemCls}-section`]: {\n display: 'flex',\n flexWrap: 'nowrap',\n gap: timelineVarRef('alternate-gap')\n },\n // >>> Header\n [`${itemCls}-header`]: {\n textAlign: 'end',\n flexDirection: 'column',\n alignItems: 'stretch',\n flex: `1 1 calc(${timelineVarRef('head-span-ptg')} - ${timelineVarRef('alternate-gap')} / 2)`\n },\n // >>> Content\n [`${itemCls}-content`]: {\n textAlign: 'start',\n flex: `1 1 calc(100% - ${timelineVarRef('head-span-ptg')} - ${timelineVarRef('alternate-gap')} / 2)`\n },\n // Placement\n '&-placement-end': {\n [`${itemCls}-header`]: {\n textAlign: 'start',\n order: 1\n },\n [`${itemCls}-content`]: {\n textAlign: 'end'\n },\n [`${itemCls}-icon, ${itemCls}-rail`]: {\n insetInlineStart: `calc(100% - ${timelineVarRef('head-span-ptg')})`\n }\n }\n }\n },\n // =============================================================\n // == Same Side ==\n // =============================================================\n [`&:not(${componentCls}-layout-alternate)`]: {\n [`${itemCls}-placement-end`]: {\n textAlign: 'end',\n [`${itemCls}-icon`]: {\n order: 1\n },\n [`${itemCls}-rail`]: {\n insetInlineStart: 'auto',\n insetInlineEnd: `calc(${stepsVarRef('icon-size')} / 2)`,\n marginInlineEnd: `calc(${stepsVarRef('rail-size')} / -2)`\n }\n }\n }\n }\n };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => ({\n tailColor: token.colorSplit,\n tailWidth: token.lineWidthBold,\n dotBorderWidth: token.lineWidthBold,\n dotBg: undefined,\n dotSize: undefined,\n itemPaddingBottom: token.padding * 1.25\n});\nexport default genStyleHooks('Timeline', token => {\n const timeLineToken = mergeToken(token, {\n itemHeadSize: 10,\n customHeadPaddingVertical: token.paddingXXS,\n paddingInlineEnd: 2\n });\n return [genTimelineStyle(timeLineToken), genVerticalStyle(timeLineToken), genHorizontalStyle(timeLineToken)];\n}, prepareComponentToken);"],"names":["genTimelineStyle","token","componentCls","tailColor","fontHeight","dotSize","dotBg","dotBorderWidth","fontSize","lineHeight","colorText","tailWidth","colorPrimary","colorError","colorSuccess","colorTextDisabled","antCls","itemCls","varName","varRef","genCssVar","resetComponent","genVerticalStyle","calc","itemPaddingBottom","margin","stepsVarRef","timelineVarName","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2
|
-
import { clsx as g } from "../../../clsx/dist/clsx.js";
|
|
3
|
-
import k from "../../../@rc-component/util/es/Children/toArray.js";
|
|
4
2
|
import I from "../../../@ant-design/icons/es/icons/LoadingOutlined.js";
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { clsx as $ } from "../../../clsx/dist/clsx.js";
|
|
4
|
+
import { genCssVar as k } from "../theme/util/genStyleUtils.js";
|
|
5
|
+
import q from "../../../@rc-component/util/es/Children/toArray.js";
|
|
6
|
+
const G = (N, A, o, l, m, a, i) => {
|
|
7
|
+
const c = `${A}-item`, [p] = k(N, "cmp-steps"), u = s.useMemo(() => Array.isArray(l) ? l : q(m).map((e) => ({
|
|
7
8
|
...e.props
|
|
8
9
|
})), [l, m]);
|
|
9
10
|
return s.useMemo(() => {
|
|
10
|
-
const e = u.map((
|
|
11
|
+
const e = u.map((C, b) => {
|
|
11
12
|
const {
|
|
12
|
-
label:
|
|
13
|
-
children:
|
|
14
|
-
title:
|
|
15
|
-
content:
|
|
13
|
+
label: h,
|
|
14
|
+
children: x,
|
|
15
|
+
title: E,
|
|
16
|
+
content: M,
|
|
16
17
|
color: t,
|
|
17
|
-
className:
|
|
18
|
-
style:
|
|
19
|
-
icon:
|
|
20
|
-
dot:
|
|
21
|
-
placement:
|
|
22
|
-
position:
|
|
23
|
-
loading:
|
|
24
|
-
...
|
|
25
|
-
} =
|
|
26
|
-
let
|
|
27
|
-
t && (["blue", "red", "green", "gray"].includes(t) ? r =
|
|
28
|
-
"
|
|
29
|
-
...
|
|
18
|
+
className: f,
|
|
19
|
+
style: d,
|
|
20
|
+
icon: P,
|
|
21
|
+
dot: R,
|
|
22
|
+
placement: v,
|
|
23
|
+
position: S,
|
|
24
|
+
loading: y,
|
|
25
|
+
...V
|
|
26
|
+
} = C;
|
|
27
|
+
let g = d, r = f;
|
|
28
|
+
t && (["blue", "red", "green", "gray"].includes(t) ? r = $(f, `${c}-color-${t}`) : g = {
|
|
29
|
+
[p("item-icon-dot-color")]: t,
|
|
30
|
+
...d
|
|
30
31
|
});
|
|
31
|
-
const j =
|
|
32
|
-
r =
|
|
33
|
-
let
|
|
34
|
-
return !
|
|
35
|
-
...
|
|
36
|
-
title:
|
|
37
|
-
content:
|
|
38
|
-
style:
|
|
32
|
+
const j = v ?? S ?? (o === "alternate" ? b % 2 === 0 ? "start" : "end" : o);
|
|
33
|
+
r = $(r, `${c}-placement-${j}`);
|
|
34
|
+
let n = P ?? R;
|
|
35
|
+
return !n && y && (n = /* @__PURE__ */ s.createElement(I, null)), {
|
|
36
|
+
...V,
|
|
37
|
+
title: E ?? h,
|
|
38
|
+
content: M ?? x,
|
|
39
|
+
style: g,
|
|
39
40
|
className: r,
|
|
40
|
-
icon:
|
|
41
|
-
status:
|
|
41
|
+
icon: n,
|
|
42
|
+
status: y ? "process" : "finish"
|
|
42
43
|
};
|
|
43
44
|
});
|
|
44
|
-
return
|
|
45
|
+
return a && e.push({
|
|
45
46
|
icon: i ?? /* @__PURE__ */ s.createElement(I, null),
|
|
46
|
-
content:
|
|
47
|
+
content: a,
|
|
47
48
|
status: "process"
|
|
48
49
|
}), e;
|
|
49
|
-
}, [u,
|
|
50
|
-
}
|
|
50
|
+
}, [u, a, o, c, p, i]);
|
|
51
|
+
};
|
|
51
52
|
export {
|
|
52
|
-
|
|
53
|
+
G as default
|
|
53
54
|
};
|
|
54
55
|
//# sourceMappingURL=useItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useItems.js","sources":["../../../../../node_modules/antd/es/timeline/useItems.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport
|
|
1
|
+
{"version":3,"file":"useItems.js","sources":["../../../../../node_modules/antd/es/timeline/useItems.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport LoadingOutlined from \"@ant-design/icons/es/icons/LoadingOutlined\";\nimport { toArray } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { genCssVar } from '../theme/util/genStyleUtils';\nconst useItems = (rootPrefixCls, prefixCls, mode, items, children, pending, pendingDot) => {\n const itemCls = `${prefixCls}-item`;\n const [varName] = genCssVar(rootPrefixCls, 'cmp-steps');\n // Merge items and children\n const parseItems = React.useMemo(() => {\n return Array.isArray(items) ? items : toArray(children).map(ele => ({\n ...ele.props\n }));\n }, [items, children]);\n // convert legacy type\n return React.useMemo(() => {\n const mergedItems = parseItems.map((item, index) => {\n const {\n label,\n children,\n title,\n content,\n color,\n className,\n style,\n icon,\n dot,\n placement,\n position,\n loading,\n ...restProps\n } = item;\n let mergedStyle = style;\n let mergedClassName = className;\n if (color) {\n if (['blue', 'red', 'green', 'gray'].includes(color)) {\n mergedClassName = clsx(className, `${itemCls}-color-${color}`);\n } else {\n mergedStyle = {\n [varName('item-icon-dot-color')]: color,\n ...style\n };\n }\n }\n // Placement\n const mergedPlacement = placement ?? position ?? (mode === 'alternate' ? index % 2 === 0 ? 'start' : 'end' : mode);\n mergedClassName = clsx(mergedClassName, `${itemCls}-placement-${mergedPlacement}`);\n // Icon\n let mergedIcon = icon ?? dot;\n if (!mergedIcon && loading) {\n mergedIcon = /*#__PURE__*/React.createElement(LoadingOutlined, null);\n }\n return {\n ...restProps,\n title: title ?? label,\n content: content ?? children,\n style: mergedStyle,\n className: mergedClassName,\n icon: mergedIcon,\n status: loading ? 'process' : 'finish'\n };\n });\n if (pending) {\n mergedItems.push({\n icon: pendingDot ?? /*#__PURE__*/React.createElement(LoadingOutlined, null),\n content: pending,\n status: 'process'\n });\n }\n return mergedItems;\n }, [parseItems, pending, mode, itemCls, varName, pendingDot]);\n};\nexport default useItems;"],"names":["useItems","rootPrefixCls","prefixCls","mode","items","children","pending","pendingDot","itemCls","varName","genCssVar","parseItems","React","toArray","ele","mergedItems","item","index","label","title","content","color","className","style","icon","dot","placement","position","loading","restProps","mergedStyle","mergedClassName","clsx","mergedPlacement","mergedIcon","LoadingOutlined"],"mappings":";;;;;AAOK,MAACA,IAAW,CAACC,GAAeC,GAAWC,GAAMC,GAA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A,QACpB,OAAOyB;AAAA,QACP,WAAWC;AAAA,QACX,MAAMG;AAAA,QACN,QAAQN,IAAU,YAAY;AAAA,MACtC;AAAA,IACI,CAAC;AACD,WAAItB,KACFS,EAAY,KAAK;AAAA,MACf,MAAMR,KAA2B,gBAAAK,EAAM,cAAcuB,GAAiB,IAAI;AAAA,MAC1E,SAAS7B;AAAA,MACT,QAAQ;AAAA,IAChB,CAAO,GAEIS;AAAA,EACT,GAAG,CAACJ,GAAYL,GAASH,GAAMK,GAASC,GAASF,CAAU,CAAC;AAC9D;","x_google_ignoreList":[0]}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
|
-
import
|
|
3
|
-
import { clsx as
|
|
2
|
+
import $ from "../../../@rc-component/tooltip/es/Popup.js";
|
|
3
|
+
import { clsx as w } from "../../../clsx/dist/clsx.js";
|
|
4
4
|
import "../config-provider/index.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { parseColor as
|
|
8
|
-
import { ConfigContext as
|
|
9
|
-
import { useMergeSemantic as
|
|
10
|
-
const
|
|
5
|
+
import E from "../config-provider/hooks/useCSSVarCls.js";
|
|
6
|
+
import I from "./style/index.js";
|
|
7
|
+
import { parseColor as h } from "./util.js";
|
|
8
|
+
import { ConfigContext as M } from "../config-provider/context.js";
|
|
9
|
+
import { useMergeSemantic as V } from "../_util/hooks/useMergeSemantic.js";
|
|
10
|
+
const F = (o) => {
|
|
11
11
|
const {
|
|
12
|
-
prefixCls:
|
|
13
|
-
className:
|
|
12
|
+
prefixCls: c,
|
|
13
|
+
className: i,
|
|
14
14
|
placement: r = "top",
|
|
15
|
-
title:
|
|
16
|
-
color:
|
|
15
|
+
title: p,
|
|
16
|
+
color: f,
|
|
17
17
|
overlayInnerStyle: l,
|
|
18
|
-
classNames:
|
|
18
|
+
classNames: C,
|
|
19
19
|
styles: y
|
|
20
20
|
} = o, {
|
|
21
|
-
getPrefixCls:
|
|
22
|
-
} = t.useContext(
|
|
21
|
+
getPrefixCls: a
|
|
22
|
+
} = t.useContext(M), e = a("tooltip", c), S = a(), m = E(e), [n, u] = I(e, m), s = h(S, e, f), x = s.arrowStyle, d = t.useMemo(() => ({
|
|
23
23
|
container: {
|
|
24
24
|
...l,
|
|
25
25
|
...s.overlayStyle
|
|
26
26
|
}
|
|
27
|
-
}), [l, s.overlayStyle]),
|
|
27
|
+
}), [l, s.overlayStyle]), N = {
|
|
28
28
|
...o,
|
|
29
29
|
placement: r
|
|
30
|
-
}, [
|
|
31
|
-
props:
|
|
32
|
-
}),
|
|
30
|
+
}, [g, P] = V([C], [d, y], {
|
|
31
|
+
props: N
|
|
32
|
+
}), v = w(m, n, u, e, `${e}-pure`, `${e}-placement-${r}`, i, s.className);
|
|
33
33
|
return /* @__PURE__ */ t.createElement("div", {
|
|
34
|
-
className:
|
|
35
|
-
style:
|
|
34
|
+
className: v,
|
|
35
|
+
style: x
|
|
36
36
|
}, /* @__PURE__ */ t.createElement("div", {
|
|
37
37
|
className: `${e}-arrow`
|
|
38
|
-
}), /* @__PURE__ */ t.createElement(
|
|
38
|
+
}), /* @__PURE__ */ t.createElement($, {
|
|
39
39
|
...o,
|
|
40
|
-
className:
|
|
40
|
+
className: n,
|
|
41
41
|
prefixCls: e,
|
|
42
|
-
classNames:
|
|
43
|
-
styles:
|
|
44
|
-
},
|
|
42
|
+
classNames: g,
|
|
43
|
+
styles: P
|
|
44
|
+
}, p));
|
|
45
45
|
};
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
F as default
|
|
48
48
|
};
|
|
49
49
|
//# sourceMappingURL=PurePanel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PurePanel.js","sources":["../../../../../node_modules/antd/es/tooltip/PurePanel.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { Popup } from '@rc-component/tooltip';\nimport { clsx } from 'clsx';\nimport { useMergeSemantic } from '../_util/hooks';\nimport { ConfigContext } from '../config-provider';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport useStyle from './style';\nimport { parseColor } from './util';\n/** @private Internal Component. Do not use in your production. */\nconst PurePanel = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n placement = 'top',\n title,\n color,\n overlayInnerStyle,\n classNames,\n styles\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('tooltip', customizePrefixCls);\n const rootCls = useCSSVarCls(prefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n // Color\n const colorInfo = parseColor(prefixCls, color);\n const arrowContentStyle = colorInfo.arrowStyle;\n const innerStyles = React.useMemo(() => {\n const mergedStyle = {\n ...overlayInnerStyle,\n ...colorInfo.overlayStyle\n };\n return {\n container: mergedStyle\n };\n }, [overlayInnerStyle, colorInfo.overlayStyle]);\n const mergedProps = {\n ...props,\n placement\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([classNames], [innerStyles, styles], {\n props: mergedProps\n });\n const rootClassName = clsx(rootCls, hashId, cssVarCls, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className, colorInfo.className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: rootClassName,\n style: arrowContentStyle\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-arrow`\n }), /*#__PURE__*/React.createElement(Popup, {\n ...props,\n className: hashId,\n prefixCls: prefixCls,\n classNames: mergedClassNames,\n styles: mergedStyles\n }, title));\n};\nexport default PurePanel;"],"names":["PurePanel","props","customizePrefixCls","className","placement","title","color","overlayInnerStyle","classNames","styles","getPrefixCls","React","ConfigContext","prefixCls","rootCls","useCSSVarCls","hashId","cssVarCls","useStyle","colorInfo","parseColor","arrowContentStyle","innerStyles","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","rootClassName","clsx","Popup"],"mappings":";;;;;;;;;AAWK,MAACA,IAAY,CAAAC,MAAS;AACzB,QAAM;AAAA,IACJ,WAAWC;AAAA,IACX,WAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMR,GACE;AAAA,IACJ,cAAAS;AAAA,EACJ,IAAMC,EAAM,WAAWC,CAAa,GAC5BC,IAAYH,EAAa,WAAWR,CAAkB,GACtDY,IAAUC,
|
|
1
|
+
{"version":3,"file":"PurePanel.js","sources":["../../../../../node_modules/antd/es/tooltip/PurePanel.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { Popup } from '@rc-component/tooltip';\nimport { clsx } from 'clsx';\nimport { useMergeSemantic } from '../_util/hooks';\nimport { ConfigContext } from '../config-provider';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport useStyle from './style';\nimport { parseColor } from './util';\n/** @private Internal Component. Do not use in your production. */\nconst PurePanel = props => {\n const {\n prefixCls: customizePrefixCls,\n className,\n placement = 'top',\n title,\n color,\n overlayInnerStyle,\n classNames,\n styles\n } = props;\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('tooltip', customizePrefixCls);\n const rootPrefixCls = getPrefixCls();\n const rootCls = useCSSVarCls(prefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n // Color\n const colorInfo = parseColor(rootPrefixCls, prefixCls, color);\n const arrowContentStyle = colorInfo.arrowStyle;\n const innerStyles = React.useMemo(() => {\n const mergedStyle = {\n ...overlayInnerStyle,\n ...colorInfo.overlayStyle\n };\n return {\n container: mergedStyle\n };\n }, [overlayInnerStyle, colorInfo.overlayStyle]);\n const mergedProps = {\n ...props,\n placement\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([classNames], [innerStyles, styles], {\n props: mergedProps\n });\n const rootClassName = clsx(rootCls, hashId, cssVarCls, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className, colorInfo.className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: rootClassName,\n style: arrowContentStyle\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-arrow`\n }), /*#__PURE__*/React.createElement(Popup, {\n ...props,\n className: hashId,\n prefixCls: prefixCls,\n classNames: mergedClassNames,\n styles: mergedStyles\n }, title));\n};\nexport default PurePanel;"],"names":["PurePanel","props","customizePrefixCls","className","placement","title","color","overlayInnerStyle","classNames","styles","getPrefixCls","React","ConfigContext","prefixCls","rootPrefixCls","rootCls","useCSSVarCls","hashId","cssVarCls","useStyle","colorInfo","parseColor","arrowContentStyle","innerStyles","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","rootClassName","clsx","Popup"],"mappings":";;;;;;;;;AAWK,MAACA,IAAY,CAAAC,MAAS;AACzB,QAAM;AAAA,IACJ,WAAWC;AAAA,IACX,WAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMR,GACE;AAAA,IACJ,cAAAS;AAAA,EACJ,IAAMC,EAAM,WAAWC,CAAa,GAC5BC,IAAYH,EAAa,WAAWR,CAAkB,GACtDY,IAAgBJ,EAAY,GAC5BK,IAAUC,EAAaH,CAAS,GAChC,CAACI,GAAQC,CAAS,IAAIC,EAASN,GAAWE,CAAO,GAEjDK,IAAYC,EAAWP,GAAeD,GAAWP,CAAK,GACtDgB,IAAoBF,EAAU,YAC9BG,IAAcZ,EAAM,QAAQ,OAKzB;AAAA,IACL,WALkB;AAAA,MAClB,GAAGJ;AAAA,MACH,GAAGa,EAAU;AAAA,IACnB;AAAA,EAGA,IACK,CAACb,GAAmBa,EAAU,YAAY,CAAC,GACxCI,IAAc;AAAA,IAClB,GAAGvB;AAAA,IACH,WAAAG;AAAA,EACJ,GACQ,CAACqB,GAAkBC,CAAY,IAAIC,EAAiB,CAACnB,CAAU,GAAG,CAACe,GAAad,CAAM,GAAG;AAAA,IAC7F,OAAOe;AAAA,EACX,CAAG,GACKI,IAAgBC,EAAKd,GAASE,GAAQC,GAAWL,GAAW,GAAGA,CAAS,SAAS,GAAGA,CAAS,cAAcT,CAAS,IAAID,GAAWiB,EAAU,SAAS;AAC5J,SAAoB,gBAAAT,EAAM,cAAc,OAAO;AAAA,IAC7C,WAAWiB;AAAA,IACX,OAAON;AAAA,EACX,GAAkB,gBAAAX,EAAM,cAAc,OAAO;AAAA,IACzC,WAAW,GAAGE,CAAS;AAAA,EAC3B,CAAG,GAAgB,gBAAAF,EAAM,cAAcmB,GAAO;AAAA,IAC1C,GAAG7B;AAAA,IACH,WAAWgB;AAAA,IACX,WAAWJ;AAAA,IACX,YAAYY;AAAA,IACZ,QAAQC;AAAA,EACZ,GAAKrB,CAAK,CAAC;AACX;","x_google_ignoreList":[0]}
|
|
@@ -1,36 +1,31 @@
|
|
|
1
1
|
import t from "react";
|
|
2
|
-
import
|
|
3
|
-
import { clsx as
|
|
4
|
-
import {
|
|
2
|
+
import a from "../../../../@rc-component/motion/es/CSSMotion.js";
|
|
3
|
+
import { clsx as l } from "../../../../clsx/dist/clsx.js";
|
|
4
|
+
import { cloneElement as i } from "../../_util/reactNode.js";
|
|
5
|
+
import { ConfigContext as f } from "../../config-provider/context.js";
|
|
5
6
|
const v = ({
|
|
6
7
|
children: e
|
|
7
8
|
}) => {
|
|
8
9
|
const {
|
|
9
|
-
getPrefixCls:
|
|
10
|
-
} = t.useContext(
|
|
11
|
-
return /* @__PURE__ */ t.isValidElement(e) ? /* @__PURE__ */ t.createElement(
|
|
10
|
+
getPrefixCls: r
|
|
11
|
+
} = t.useContext(f), m = r();
|
|
12
|
+
return /* @__PURE__ */ t.isValidElement(e) ? /* @__PURE__ */ t.createElement(a, {
|
|
12
13
|
visible: !0,
|
|
13
|
-
motionName: `${
|
|
14
|
+
motionName: `${m}-fade`,
|
|
14
15
|
motionAppear: !0,
|
|
15
16
|
motionEnter: !0,
|
|
16
17
|
motionLeave: !1,
|
|
17
18
|
removeOnLeave: !1
|
|
18
19
|
}, ({
|
|
19
|
-
style:
|
|
20
|
-
className:
|
|
21
|
-
}) => {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
style
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
return /* @__PURE__ */ t.cloneElement(e, {
|
|
30
|
-
className: f(m, n),
|
|
31
|
-
style: l
|
|
32
|
-
});
|
|
33
|
-
}) : e;
|
|
20
|
+
style: n,
|
|
21
|
+
className: s
|
|
22
|
+
}) => i(e, (o) => ({
|
|
23
|
+
className: l(o.className, s),
|
|
24
|
+
style: {
|
|
25
|
+
...o.style,
|
|
26
|
+
...n
|
|
27
|
+
}
|
|
28
|
+
}))) : e;
|
|
34
29
|
};
|
|
35
30
|
export {
|
|
36
31
|
v as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MotionContent.js","sources":["../../../../../../node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js"],"sourcesContent":["\"use client\";\n\nimport React from 'react';\nimport CSSMotion from '@rc-component/motion';\nimport { clsx } from 'clsx';\nimport { ConfigContext } from '../../config-provider/context';\nconst MotionContent = ({\n children\n}) => {\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const rootPrefixCls = getPrefixCls();\n // This will never reach since we will not render this when no children\n /* istanbul ignore next */\n if (! /*#__PURE__*/React.isValidElement(children)) {\n return children;\n }\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: true,\n motionName: `${rootPrefixCls}-fade`,\n motionAppear: true,\n motionEnter: true,\n motionLeave: false,\n removeOnLeave: false\n }, ({\n style: motionStyle,\n className: motionClassName\n }) => {\n
|
|
1
|
+
{"version":3,"file":"MotionContent.js","sources":["../../../../../../node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js"],"sourcesContent":["\"use client\";\n\nimport React from 'react';\nimport CSSMotion from '@rc-component/motion';\nimport { clsx } from 'clsx';\nimport { cloneElement } from '../../_util/reactNode';\nimport { ConfigContext } from '../../config-provider/context';\nconst MotionContent = ({\n children\n}) => {\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const rootPrefixCls = getPrefixCls();\n // This will never reach since we will not render this when no children\n /* istanbul ignore next */\n if (! /*#__PURE__*/React.isValidElement(children)) {\n return children;\n }\n return /*#__PURE__*/React.createElement(CSSMotion, {\n visible: true,\n motionName: `${rootPrefixCls}-fade`,\n motionAppear: true,\n motionEnter: true,\n motionLeave: false,\n removeOnLeave: false\n }, ({\n style: motionStyle,\n className: motionClassName\n }) => {\n return cloneElement(children, oriProps => ({\n className: clsx(oriProps.className, motionClassName),\n style: {\n ...oriProps.style,\n ...motionStyle\n }\n }));\n });\n};\nexport default MotionContent;"],"names":["MotionContent","children","getPrefixCls","React","ConfigContext","rootPrefixCls","CSSMotion","motionStyle","motionClassName","cloneElement","oriProps","clsx"],"mappings":";;;;;AAOK,MAACA,IAAgB,CAAC;AAAA,EACrB,UAAAC;AACF,MAAM;AACJ,QAAM;AAAA,IACJ,cAAAC;AAAA,EACJ,IAAMC,EAAM,WAAWC,CAAa,GAC5BC,IAAgBH,EAAY;AAGlC,SAAmBC,gBAAAA,EAAM,eAAeF,CAAQ,IAG5BE,gBAAAA,EAAM,cAAcG,GAAW;AAAA,IACjD,SAAS;AAAA,IACT,YAAY,GAAGD,CAAa;AAAA,IAC5B,cAAc;AAAA,IACd,aAAa;AAAA,IACb,aAAa;AAAA,IACb,eAAe;AAAA,EACnB,GAAK,CAAC;AAAA,IACF,OAAOE;AAAA,IACP,WAAWC;AAAA,EACf,MACWC,EAAaR,GAAU,CAAAS,OAAa;AAAA,IACzC,WAAWC,EAAKD,EAAS,WAAWF,CAAe;AAAA,IACnD,OAAO;AAAA,MACL,GAAGE,EAAS;AAAA,MACZ,GAAGH;AAAA,IACX;AAAA,EACA,EAAM,CACH,IApBQN;AAqBX;","x_google_ignoreList":[0]}
|
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import
|
|
1
|
+
import u from "react";
|
|
2
2
|
import "../../../../@rc-component/trigger/es/index.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
function
|
|
7
|
-
if (
|
|
3
|
+
import i from "./MotionContent.js";
|
|
4
|
+
import s from "../../../../@rc-component/trigger/es/UniqueProvider/index.js";
|
|
5
|
+
const o = [null, null];
|
|
6
|
+
function m(e) {
|
|
7
|
+
if (o[0] !== e) {
|
|
8
8
|
const n = {};
|
|
9
|
-
Object.keys(
|
|
10
|
-
n[
|
|
11
|
-
...t
|
|
9
|
+
Object.keys(e).forEach((t) => {
|
|
10
|
+
n[t] = {
|
|
11
|
+
...e[t],
|
|
12
12
|
dynamicInset: !1
|
|
13
13
|
};
|
|
14
|
-
}),
|
|
14
|
+
}), o[0] = e, o[1] = n;
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return o[1];
|
|
17
17
|
}
|
|
18
|
-
const
|
|
19
|
-
children:
|
|
18
|
+
const y = ({
|
|
19
|
+
children: e
|
|
20
20
|
}) => {
|
|
21
|
-
const n = (
|
|
22
|
-
const
|
|
23
|
-
id:
|
|
24
|
-
builtinPlacements:
|
|
25
|
-
|
|
21
|
+
const n = (t) => {
|
|
22
|
+
const {
|
|
23
|
+
id: c,
|
|
24
|
+
builtinPlacements: l,
|
|
25
|
+
popup: r
|
|
26
|
+
} = t, p = typeof r == "function" ? r() : r, a = m(l);
|
|
26
27
|
return {
|
|
27
|
-
...
|
|
28
|
+
...t,
|
|
28
29
|
getPopupContainer: null,
|
|
29
30
|
arrow: !1,
|
|
30
|
-
popup: /* @__PURE__ */
|
|
31
|
-
key:
|
|
32
|
-
},
|
|
33
|
-
builtinPlacements:
|
|
31
|
+
popup: /* @__PURE__ */ u.createElement(i, {
|
|
32
|
+
key: c
|
|
33
|
+
}, p),
|
|
34
|
+
builtinPlacements: a
|
|
34
35
|
};
|
|
35
36
|
};
|
|
36
|
-
return /* @__PURE__ */
|
|
37
|
+
return /* @__PURE__ */ u.createElement(s, {
|
|
37
38
|
postTriggerProps: n
|
|
38
|
-
},
|
|
39
|
+
}, e);
|
|
39
40
|
};
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
y as default
|
|
42
43
|
};
|
|
43
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/tooltip/UniqueProvider/index.js"],"sourcesContent":["\"use client\";\n\nimport React from 'react';\nimport { UniqueProvider as RcUniqueProvider } from '@rc-component/trigger';\nimport MotionContent from './MotionContent';\nconst cachedPlacements = [null, null];\nfunction uniqueBuiltinPlacements(ori) {\n if (cachedPlacements[0] !== ori) {\n const target = {};\n Object.keys(ori).forEach(placement => {\n target[placement] = {\n ...ori[placement],\n dynamicInset: false\n };\n });\n cachedPlacements[0] = ori;\n cachedPlacements[1] = target;\n }\n return cachedPlacements[1];\n}\nconst UniqueProvider = ({\n children\n}) => {\n const renderPopup = options => {\n const popupEle = typeof
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/antd/es/tooltip/UniqueProvider/index.js"],"sourcesContent":["\"use client\";\n\nimport React from 'react';\nimport { UniqueProvider as RcUniqueProvider } from '@rc-component/trigger';\nimport MotionContent from './MotionContent';\nconst cachedPlacements = [null, null];\nfunction uniqueBuiltinPlacements(ori) {\n if (cachedPlacements[0] !== ori) {\n const target = {};\n Object.keys(ori).forEach(placement => {\n target[placement] = {\n ...ori[placement],\n dynamicInset: false\n };\n });\n cachedPlacements[0] = ori;\n cachedPlacements[1] = target;\n }\n return cachedPlacements[1];\n}\nconst UniqueProvider = ({\n children\n}) => {\n const renderPopup = options => {\n const {\n id,\n builtinPlacements,\n popup\n } = options;\n const popupEle = typeof popup === 'function' ? popup() : popup;\n const parsedPlacements = uniqueBuiltinPlacements(builtinPlacements);\n return {\n ...options,\n getPopupContainer: null,\n arrow: false,\n popup: /*#__PURE__*/React.createElement(MotionContent, {\n key: id\n }, popupEle),\n builtinPlacements: parsedPlacements\n };\n };\n return /*#__PURE__*/React.createElement(RcUniqueProvider, {\n postTriggerProps: renderPopup\n }, children);\n};\nexport default UniqueProvider;"],"names":["cachedPlacements","uniqueBuiltinPlacements","ori","target","placement","UniqueProvider","children","renderPopup","options","id","builtinPlacements","popup","popupEle","parsedPlacements","React","MotionContent","RcUniqueProvider"],"mappings":";;;;AAKA,MAAMA,IAAmB,CAAC,MAAM,IAAI;AACpC,SAASC,EAAwBC,GAAK;AACpC,MAAIF,EAAiB,CAAC,MAAME,GAAK;AAC/B,UAAMC,IAAS,CAAA;AACf,WAAO,KAAKD,CAAG,EAAE,QAAQ,CAAAE,MAAa;AACpC,MAAAD,EAAOC,CAAS,IAAI;AAAA,QAClB,GAAGF,EAAIE,CAAS;AAAA,QAChB,cAAc;AAAA,MACtB;AAAA,IACI,CAAC,GACDJ,EAAiB,CAAC,IAAIE,GACtBF,EAAiB,CAAC,IAAIG;AAAA,EACxB;AACA,SAAOH,EAAiB,CAAC;AAC3B;AACK,MAACK,IAAiB,CAAC;AAAA,EACtB,UAAAC;AACF,MAAM;AACJ,QAAMC,IAAc,CAAAC,MAAW;AAC7B,UAAM;AAAA,MACJ,IAAAC;AAAA,MACA,mBAAAC;AAAA,MACA,OAAAC;AAAA,IACN,IAAQH,GACEI,IAAW,OAAOD,KAAU,aAAaA,EAAK,IAAKA,GACnDE,IAAmBZ,EAAwBS,CAAiB;AAClE,WAAO;AAAA,MACL,GAAGF;AAAA,MACH,mBAAmB;AAAA,MACnB,OAAO;AAAA,MACP,OAAoBM,gBAAAA,EAAM,cAAcC,GAAe;AAAA,QACrD,KAAKN;AAAA,MACb,GAASG,CAAQ;AAAA,MACX,mBAAmBC;AAAA,IACzB;AAAA,EACE;AACA,SAAoBC,gBAAAA,EAAM,cAAcE,GAAkB;AAAA,IACxD,kBAAkBT;AAAA,EACtB,GAAKD,CAAQ;AACb;","x_google_ignoreList":[0]}
|
|
@@ -19,68 +19,68 @@ import { parseColor as Ue } from "./util.js";
|
|
|
19
19
|
import We from "../../../@rc-component/util/es/hooks/useControlledState.js";
|
|
20
20
|
import { useMergeSemantic as _e } from "../_util/hooks/useMergeSemantic.js";
|
|
21
21
|
import { useZIndex as je } from "../_util/hooks/useZIndex.js";
|
|
22
|
-
const ke = /* @__PURE__ */ e.forwardRef((o,
|
|
22
|
+
const ke = /* @__PURE__ */ e.forwardRef((o, W) => {
|
|
23
23
|
const {
|
|
24
|
-
prefixCls:
|
|
24
|
+
prefixCls: _,
|
|
25
25
|
openClassName: h,
|
|
26
|
-
getTooltipContainer:
|
|
26
|
+
getTooltipContainer: j,
|
|
27
27
|
color: S,
|
|
28
28
|
children: n,
|
|
29
|
-
afterOpenChange:
|
|
29
|
+
afterOpenChange: k,
|
|
30
30
|
arrow: T,
|
|
31
31
|
destroyTooltipOnHide: a,
|
|
32
32
|
destroyOnHidden: I,
|
|
33
33
|
title: r,
|
|
34
34
|
overlay: u,
|
|
35
|
-
trigger:
|
|
35
|
+
trigger: L,
|
|
36
36
|
builtinPlacements: d,
|
|
37
37
|
autoAdjustOverflow: f = !0,
|
|
38
38
|
motion: A,
|
|
39
39
|
getPopupContainer: b,
|
|
40
40
|
placement: D = "top",
|
|
41
|
-
mouseEnterDelay:
|
|
42
|
-
mouseLeaveDelay:
|
|
43
|
-
rootClassName:
|
|
44
|
-
styles:
|
|
45
|
-
classNames:
|
|
41
|
+
mouseEnterDelay: X = 0.1,
|
|
42
|
+
mouseLeaveDelay: Z = 0.1,
|
|
43
|
+
rootClassName: B,
|
|
44
|
+
styles: Y,
|
|
45
|
+
classNames: G,
|
|
46
46
|
onOpenChange: V,
|
|
47
47
|
// Legacy
|
|
48
|
-
overlayInnerStyle:
|
|
49
|
-
overlayStyle:
|
|
50
|
-
overlayClassName:
|
|
48
|
+
overlayInnerStyle: J,
|
|
49
|
+
overlayStyle: K,
|
|
50
|
+
overlayClassName: Q,
|
|
51
51
|
...z
|
|
52
52
|
} = o, [, l] = Re(), {
|
|
53
|
-
getPopupContainer:
|
|
53
|
+
getPopupContainer: ee,
|
|
54
54
|
getPrefixCls: H,
|
|
55
|
-
direction:
|
|
56
|
-
className:
|
|
57
|
-
style:
|
|
58
|
-
classNames:
|
|
59
|
-
styles:
|
|
60
|
-
arrow:
|
|
61
|
-
trigger:
|
|
62
|
-
} = ze("tooltip"), y = qe(T,
|
|
55
|
+
direction: oe,
|
|
56
|
+
className: te,
|
|
57
|
+
style: re,
|
|
58
|
+
classNames: ne,
|
|
59
|
+
styles: se,
|
|
60
|
+
arrow: ae,
|
|
61
|
+
trigger: le
|
|
62
|
+
} = ze("tooltip"), y = qe(T, ae), g = y.show, R = L || le || "hover", q = De("Tooltip"), i = e.useRef(null), ie = () => {
|
|
63
63
|
i.current?.forceAlign();
|
|
64
64
|
};
|
|
65
|
-
e.useImperativeHandle(
|
|
66
|
-
forceAlign:
|
|
65
|
+
e.useImperativeHandle(W, () => ({
|
|
66
|
+
forceAlign: ie,
|
|
67
67
|
nativeElement: i.current?.nativeElement,
|
|
68
68
|
popupElement: i.current?.popupElement
|
|
69
69
|
})), E.env.NODE_ENV !== "production" && ([["overlayStyle", "styles.root"], ["overlayInnerStyle", "styles.container"], ["overlayClassName", "classNames.root"], ["destroyTooltipOnHide", "destroyOnHidden"]].forEach(([s, Oe]) => {
|
|
70
70
|
q.deprecated(!(s in o), s, Oe);
|
|
71
71
|
}), E.env.NODE_ENV !== "production" && q(!a || typeof a == "boolean", "usage", "`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."));
|
|
72
|
-
const [
|
|
73
|
-
|
|
74
|
-
},
|
|
72
|
+
const [me, ce] = We(o.defaultOpen ?? !1, o.open), C = !r && !u && r !== 0, pe = (s) => {
|
|
73
|
+
ce(C ? !1 : s), !C && V && V(s);
|
|
74
|
+
}, ue = e.useMemo(() => d || Ie({
|
|
75
75
|
arrowPointAtCenter: y?.pointAtCenter ?? !1,
|
|
76
76
|
autoAdjustOverflow: f,
|
|
77
77
|
arrowWidth: g ? l.sizePopupArrow : 0,
|
|
78
78
|
borderRadius: l.borderRadius,
|
|
79
79
|
offset: l.marginXXS,
|
|
80
80
|
visibleFirst: !0
|
|
81
|
-
}), [y, d, l, g, f]), v = e.useMemo(() => r === 0 ? r : u || r || "", [u, r]),
|
|
81
|
+
}), [y, d, l, g, f]), v = e.useMemo(() => r === 0 ? r : u || r || "", [u, r]), de = /* @__PURE__ */ e.createElement(Se, {
|
|
82
82
|
space: !0
|
|
83
|
-
}, typeof v == "function" ? v() : v),
|
|
83
|
+
}, typeof v == "function" ? v() : v), fe = {
|
|
84
84
|
...o,
|
|
85
85
|
trigger: R,
|
|
86
86
|
color: S,
|
|
@@ -93,16 +93,16 @@ const ke = /* @__PURE__ */ e.forwardRef((o, U) => {
|
|
|
93
93
|
children: n,
|
|
94
94
|
destroyTooltipOnHide: a,
|
|
95
95
|
destroyOnHidden: I
|
|
96
|
-
}, [m, N] = _e([
|
|
97
|
-
props:
|
|
98
|
-
}), t = H("tooltip",
|
|
99
|
-
let w =
|
|
96
|
+
}, [m, N] = _e([ne, G], [se, Y], {
|
|
97
|
+
props: fe
|
|
98
|
+
}), t = H("tooltip", _), $ = H(), ye = o["data-popover-inject"];
|
|
99
|
+
let w = me;
|
|
100
100
|
!("open" in o) && C && (w = !1);
|
|
101
|
-
const x = /* @__PURE__ */ e.isValidElement(n) && !be(n) ? n : /* @__PURE__ */ e.createElement("span", null, n), c = x.props, ge = !c.className || typeof c.className == "string" ? p(c.className, h || `${t}-open`) : c.className,
|
|
102
|
-
[`${t}-rtl`]:
|
|
103
|
-
}, P.className,
|
|
101
|
+
const x = /* @__PURE__ */ e.isValidElement(n) && !be(n) ? n : /* @__PURE__ */ e.createElement("span", null, n), c = x.props, ge = !c.className || typeof c.className == "string" ? p(c.className, h || `${t}-open`) : c.className, F = He(t), [Ce, ve] = Fe(t, F, !ye), P = Ue($, t, S), Ne = P.arrowStyle, M = p(F, Ce, ve), we = p(Q, {
|
|
102
|
+
[`${t}-rtl`]: oe === "rtl"
|
|
103
|
+
}, P.className, B, M, te, m.root), [xe, Pe] = je("Tooltip", z.zIndex), U = {
|
|
104
104
|
...N.container,
|
|
105
|
-
...
|
|
105
|
+
...J,
|
|
106
106
|
...P.overlayStyle
|
|
107
107
|
}, Ee = /* @__PURE__ */ e.createElement(he, {
|
|
108
108
|
unique: !0,
|
|
@@ -111,38 +111,38 @@ const ke = /* @__PURE__ */ e.forwardRef((o, U) => {
|
|
|
111
111
|
zIndex: xe,
|
|
112
112
|
showArrow: g,
|
|
113
113
|
placement: D,
|
|
114
|
-
mouseEnterDelay:
|
|
115
|
-
mouseLeaveDelay:
|
|
114
|
+
mouseEnterDelay: X,
|
|
115
|
+
mouseLeaveDelay: Z,
|
|
116
116
|
prefixCls: t,
|
|
117
117
|
classNames: {
|
|
118
118
|
root: we,
|
|
119
119
|
container: m.container,
|
|
120
120
|
arrow: m.arrow,
|
|
121
|
-
uniqueContainer: p(
|
|
121
|
+
uniqueContainer: p(M, m.container)
|
|
122
122
|
},
|
|
123
123
|
styles: {
|
|
124
124
|
root: {
|
|
125
125
|
...Ne,
|
|
126
126
|
...N.root,
|
|
127
|
-
...
|
|
128
|
-
...
|
|
127
|
+
...re,
|
|
128
|
+
...K
|
|
129
129
|
},
|
|
130
|
-
container:
|
|
131
|
-
uniqueContainer:
|
|
130
|
+
container: U,
|
|
131
|
+
uniqueContainer: U,
|
|
132
132
|
arrow: N.arrow
|
|
133
133
|
},
|
|
134
|
-
getTooltipContainer: b ||
|
|
134
|
+
getTooltipContainer: b || j || ee,
|
|
135
135
|
ref: i,
|
|
136
|
-
builtinPlacements:
|
|
137
|
-
overlay:
|
|
136
|
+
builtinPlacements: ue,
|
|
137
|
+
overlay: de,
|
|
138
138
|
visible: w,
|
|
139
|
-
onVisibleChange:
|
|
140
|
-
afterVisibleChange:
|
|
139
|
+
onVisibleChange: pe,
|
|
140
|
+
afterVisibleChange: k,
|
|
141
141
|
arrowContent: /* @__PURE__ */ e.createElement("span", {
|
|
142
142
|
className: `${t}-arrow-content`
|
|
143
143
|
}),
|
|
144
144
|
motion: {
|
|
145
|
-
motionName: Te(
|
|
145
|
+
motionName: Te($, "zoom-big-fast", typeof A?.motionName == "string" ? A?.motionName : void 0),
|
|
146
146
|
motionDeadline: 1e3
|
|
147
147
|
},
|
|
148
148
|
destroyOnHidden: I ?? !!a
|