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,84 +1,87 @@
|
|
|
1
|
-
import { unit as
|
|
2
|
-
import { textEllipsis as
|
|
3
|
-
import u from "
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { unit as p } from "../../../../@ant-design/cssinjs/es/util/index.js";
|
|
2
|
+
import { textEllipsis as g, resetComponent as h } from "../../style/index.js";
|
|
3
|
+
import { genCssVar as u } from "../../theme/util/genStyleUtils.js";
|
|
4
|
+
import v from "./select-input-customize.js";
|
|
5
|
+
import f from "./select-input-multiple.js";
|
|
6
|
+
const s = (r, o) => {
|
|
6
7
|
const {
|
|
7
|
-
componentCls:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
componentCls: n,
|
|
9
|
+
antCls: d
|
|
10
|
+
} = r, [l] = u(d, "select"), {
|
|
11
|
+
border: t,
|
|
12
|
+
borderHover: a,
|
|
13
|
+
borderActive: e,
|
|
14
|
+
borderOutline: i
|
|
15
|
+
} = o, b = o.background || r.selectorBg || r.colorBgContainer;
|
|
14
16
|
return {
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
[`&:not(${
|
|
17
|
+
[l("border-color")]: t,
|
|
18
|
+
[l("background-color")]: b,
|
|
19
|
+
[l("color")]: o.color || r.colorText,
|
|
20
|
+
[`&:not(${n}-disabled)`]: {
|
|
19
21
|
"&:hover": {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
+
[l("border-color")]: a,
|
|
23
|
+
[l("background-color")]: o.backgroundHover || b
|
|
22
24
|
},
|
|
23
|
-
[`&${
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
boxShadow: `0 0 0 ${
|
|
25
|
+
[`&${n}-focused`]: {
|
|
26
|
+
[l("border-color")]: e,
|
|
27
|
+
[l("background-color")]: o.backgroundActive || b,
|
|
28
|
+
boxShadow: `0 0 0 ${p(r.controlOutlineWidth)} ${i}`
|
|
27
29
|
}
|
|
28
30
|
},
|
|
29
|
-
[`&${
|
|
30
|
-
"
|
|
31
|
-
"
|
|
31
|
+
[`&${n}-disabled`]: {
|
|
32
|
+
[l("border-color")]: o.borderDisabled || o.border,
|
|
33
|
+
[l("background-color")]: o.backgroundDisabled || o.background
|
|
32
34
|
}
|
|
33
35
|
};
|
|
34
|
-
},
|
|
36
|
+
}, c = (r, o, n, d = {}, l = {}, t) => {
|
|
35
37
|
const {
|
|
36
|
-
componentCls:
|
|
38
|
+
componentCls: a
|
|
37
39
|
} = r;
|
|
38
40
|
return {
|
|
39
|
-
[`&${
|
|
40
|
-
[`&${
|
|
41
|
-
...
|
|
42
|
-
color:
|
|
43
|
-
...
|
|
41
|
+
[`&${a}-${o}`]: [s(r, n), {
|
|
42
|
+
[`&${a}-status-error`]: s(r, {
|
|
43
|
+
...n,
|
|
44
|
+
color: d.color || r.colorError,
|
|
45
|
+
...d
|
|
44
46
|
}),
|
|
45
|
-
[`&${
|
|
46
|
-
...
|
|
47
|
-
color:
|
|
48
|
-
...
|
|
47
|
+
[`&${a}-status-warning`]: s(r, {
|
|
48
|
+
...n,
|
|
49
|
+
color: l.color || r.colorWarning,
|
|
50
|
+
...l
|
|
49
51
|
})
|
|
50
52
|
}, t]
|
|
51
53
|
};
|
|
52
|
-
},
|
|
54
|
+
}, C = (r) => {
|
|
53
55
|
const {
|
|
54
|
-
componentCls:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
componentCls: o,
|
|
57
|
+
fontHeight: n,
|
|
58
|
+
controlHeight: d,
|
|
59
|
+
iconCls: l,
|
|
60
|
+
antCls: t,
|
|
61
|
+
calc: a
|
|
62
|
+
} = r, [e, i] = u(t, "select");
|
|
60
63
|
return {
|
|
61
|
-
[
|
|
64
|
+
[o]: [
|
|
62
65
|
{
|
|
63
66
|
// Border
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
+
[e("border-radius")]: r.borderRadius,
|
|
68
|
+
[e("border-color")]: "#000",
|
|
69
|
+
[e("border-size")]: r.lineWidth,
|
|
67
70
|
// Background
|
|
68
|
-
"
|
|
71
|
+
[e("background-color")]: r.colorBgContainer,
|
|
69
72
|
// Font
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
73
|
+
[e("font-size")]: r.fontSize,
|
|
74
|
+
[e("line-height")]: r.lineHeight,
|
|
75
|
+
[e("font-height")]: n,
|
|
76
|
+
[e("color")]: r.colorText,
|
|
74
77
|
// Size
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
+
[e("height")]: d,
|
|
79
|
+
[e("padding-horizontal")]: a(r.paddingSM).sub(r.lineWidth).equal(),
|
|
80
|
+
[e("padding-vertical")]: `calc((${i("height")} - ${i("font-height")}) / 2 - ${i("border-size")})`,
|
|
78
81
|
// ==========================================================
|
|
79
82
|
// == Base ==
|
|
80
83
|
// ==========================================================
|
|
81
|
-
...
|
|
84
|
+
...h(r, !0),
|
|
82
85
|
display: "inline-flex",
|
|
83
86
|
// gap: calc(token.paddingXXS).mul(1.5).equal(),
|
|
84
87
|
flexWrap: "nowrap",
|
|
@@ -88,38 +91,38 @@ const d = (r, e) => {
|
|
|
88
91
|
outline: 0,
|
|
89
92
|
cursor: "pointer",
|
|
90
93
|
// Border
|
|
91
|
-
borderRadius: "
|
|
92
|
-
borderWidth: "
|
|
94
|
+
borderRadius: i("border-radius"),
|
|
95
|
+
borderWidth: i("border-size"),
|
|
93
96
|
borderStyle: r.lineType,
|
|
94
|
-
borderColor: "
|
|
97
|
+
borderColor: i("border-color"),
|
|
95
98
|
// Background
|
|
96
|
-
background: "
|
|
99
|
+
background: i("background-color"),
|
|
97
100
|
// Font
|
|
98
|
-
fontSize: "
|
|
99
|
-
lineHeight: "
|
|
100
|
-
color: "
|
|
101
|
+
fontSize: i("font-size"),
|
|
102
|
+
lineHeight: i("line-height"),
|
|
103
|
+
color: i("color"),
|
|
101
104
|
// Padding
|
|
102
|
-
paddingInline: "
|
|
103
|
-
paddingBlock: "
|
|
105
|
+
paddingInline: i("padding-horizontal"),
|
|
106
|
+
paddingBlock: i("padding-vertical"),
|
|
104
107
|
// ========================= Prefix =========================
|
|
105
|
-
[`${
|
|
108
|
+
[`${o}-prefix`]: {
|
|
106
109
|
flex: "none",
|
|
107
110
|
lineHeight: 1
|
|
108
111
|
},
|
|
109
112
|
// ====================== Placeholder =======================
|
|
110
|
-
[`${
|
|
111
|
-
...
|
|
113
|
+
[`${o}-placeholder`]: {
|
|
114
|
+
...g,
|
|
112
115
|
color: r.colorTextPlaceholder,
|
|
113
116
|
pointerEvents: "none",
|
|
114
117
|
zIndex: 1
|
|
115
118
|
},
|
|
116
119
|
// ======================== Content =========================
|
|
117
|
-
[`${
|
|
120
|
+
[`${o}-content`]: {
|
|
118
121
|
flex: "auto",
|
|
119
122
|
minWidth: 0,
|
|
120
123
|
position: "relative",
|
|
121
124
|
display: "flex",
|
|
122
|
-
marginInlineEnd:
|
|
125
|
+
marginInlineEnd: a(r.paddingXXS).mul(1.5).equal(),
|
|
123
126
|
"&:before": {
|
|
124
127
|
content: '"\\a0"',
|
|
125
128
|
width: 0,
|
|
@@ -127,7 +130,7 @@ const d = (r, e) => {
|
|
|
127
130
|
},
|
|
128
131
|
// >>> Value
|
|
129
132
|
"&-value": {
|
|
130
|
-
...
|
|
133
|
+
...g,
|
|
131
134
|
transition: `all ${r.motionDurationMid} ${r.motionEaseInOut}`,
|
|
132
135
|
zIndex: 1
|
|
133
136
|
},
|
|
@@ -138,11 +141,11 @@ const d = (r, e) => {
|
|
|
138
141
|
caretColor: "transparent"
|
|
139
142
|
}
|
|
140
143
|
},
|
|
141
|
-
[`&-open ${
|
|
144
|
+
[`&-open ${o}-content-value`]: {
|
|
142
145
|
color: r.colorTextPlaceholder
|
|
143
146
|
},
|
|
144
147
|
// ========================= Suffix =========================
|
|
145
|
-
[`${
|
|
148
|
+
[`${o}-suffix`]: {
|
|
146
149
|
flex: "none",
|
|
147
150
|
color: r.colorTextQuaternary,
|
|
148
151
|
fontSize: r.fontSizeIcon,
|
|
@@ -151,9 +154,9 @@ const d = (r, e) => {
|
|
|
151
154
|
marginInlineEnd: r.marginXS
|
|
152
155
|
}
|
|
153
156
|
},
|
|
154
|
-
[`${
|
|
157
|
+
[`${o}-prefix, ${o}-suffix`]: {
|
|
155
158
|
alignSelf: "center",
|
|
156
|
-
[
|
|
159
|
+
[l]: {
|
|
157
160
|
verticalAlign: "top"
|
|
158
161
|
}
|
|
159
162
|
},
|
|
@@ -172,24 +175,27 @@ const d = (r, e) => {
|
|
|
172
175
|
// == Size ==
|
|
173
176
|
// ==========================================================
|
|
174
177
|
"&-sm": {
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
+
[e("height")]: r.controlHeightSM,
|
|
179
|
+
[e("padding-horizontal")]: a(r.paddingXS).sub(r.lineWidth).equal(),
|
|
180
|
+
[e("border-radius")]: r.borderRadiusSM,
|
|
181
|
+
[`${o}-clear`]: {
|
|
182
|
+
insetInlineEnd: i("padding-horizontal")
|
|
183
|
+
}
|
|
178
184
|
},
|
|
179
185
|
"&-lg": {
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
186
|
+
[e("height")]: r.controlHeightLG,
|
|
187
|
+
[e("font-size")]: r.fontSizeLG,
|
|
188
|
+
[e("line-height")]: r.lineHeightLG,
|
|
189
|
+
[e("font-height")]: r.fontHeightLG,
|
|
190
|
+
[e("border-radius")]: r.borderRadiusLG
|
|
185
191
|
}
|
|
186
192
|
},
|
|
187
193
|
// ============================================================
|
|
188
194
|
// == Input ==
|
|
189
195
|
// ============================================================
|
|
190
196
|
{
|
|
191
|
-
[`&:not(${
|
|
192
|
-
[`${
|
|
197
|
+
[`&:not(${o}-customize)`]: {
|
|
198
|
+
[`${o}-input`]: {
|
|
193
199
|
outline: "none",
|
|
194
200
|
background: "transparent",
|
|
195
201
|
appearance: "none",
|
|
@@ -208,32 +214,32 @@ const d = (r, e) => {
|
|
|
208
214
|
// == Single ==
|
|
209
215
|
// ============================================================
|
|
210
216
|
{
|
|
211
|
-
[`&-single:not(${
|
|
212
|
-
[`${
|
|
217
|
+
[`&-single:not(${o}-customize)`]: {
|
|
218
|
+
[`${o}-input`]: {
|
|
213
219
|
position: "absolute",
|
|
214
220
|
insetInline: 0,
|
|
215
|
-
insetBlock:
|
|
216
|
-
lineHeight:
|
|
221
|
+
insetBlock: `calc(${i("padding-vertical")} * -1)`,
|
|
222
|
+
lineHeight: `calc(${i("font-height")} + ${i("padding-vertical")} * 2)`
|
|
217
223
|
},
|
|
218
224
|
// Content center align
|
|
219
|
-
[`${
|
|
225
|
+
[`${o}-content`]: {
|
|
220
226
|
alignSelf: "center"
|
|
221
227
|
}
|
|
222
228
|
}
|
|
223
229
|
},
|
|
224
230
|
// ======================== Show Search =======================
|
|
225
231
|
{
|
|
226
|
-
[`&-show-search:not(${
|
|
232
|
+
[`&-show-search:not(${o}-customize-input):not(${o}-disabled)`]: {
|
|
227
233
|
cursor: "text"
|
|
228
234
|
}
|
|
229
235
|
},
|
|
230
236
|
// ============================================================
|
|
231
237
|
// == Multiple ==
|
|
232
238
|
// ============================================================
|
|
233
|
-
|
|
239
|
+
f(r),
|
|
234
240
|
// ========================= Variant ==========================
|
|
235
241
|
// >>> Outlined
|
|
236
|
-
|
|
242
|
+
c(
|
|
237
243
|
r,
|
|
238
244
|
"outlined",
|
|
239
245
|
{
|
|
@@ -259,7 +265,7 @@ const d = (r, e) => {
|
|
|
259
265
|
}
|
|
260
266
|
),
|
|
261
267
|
// >>> Filled
|
|
262
|
-
|
|
268
|
+
c(
|
|
263
269
|
r,
|
|
264
270
|
"filled",
|
|
265
271
|
{
|
|
@@ -286,7 +292,7 @@ const d = (r, e) => {
|
|
|
286
292
|
}
|
|
287
293
|
),
|
|
288
294
|
// >>> Borderless
|
|
289
|
-
|
|
295
|
+
c(r, "borderless", {
|
|
290
296
|
border: "transparent",
|
|
291
297
|
borderHover: "transparent",
|
|
292
298
|
borderActive: "transparent",
|
|
@@ -294,7 +300,7 @@ const d = (r, e) => {
|
|
|
294
300
|
background: "transparent"
|
|
295
301
|
}),
|
|
296
302
|
// Underlined
|
|
297
|
-
|
|
303
|
+
c(
|
|
298
304
|
r,
|
|
299
305
|
"underlined",
|
|
300
306
|
{
|
|
@@ -325,11 +331,11 @@ const d = (r, e) => {
|
|
|
325
331
|
// ============================================================
|
|
326
332
|
// == Custom ==
|
|
327
333
|
// ============================================================
|
|
328
|
-
|
|
334
|
+
v(r)
|
|
329
335
|
]
|
|
330
336
|
};
|
|
331
337
|
};
|
|
332
338
|
export {
|
|
333
|
-
|
|
339
|
+
C as default
|
|
334
340
|
};
|
|
335
341
|
//# sourceMappingURL=select-input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-input.js","sources":["../../../../../../node_modules/antd/es/select/style/select-input.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { resetComponent, textEllipsis } from '../../style';\nimport genSelectInputCustomizeStyle from './select-input-customize';\nimport genSelectInputMultipleStyle from './select-input-multiple';\n/** Set CSS variables and hover/focus styles for a Select input based on provided colors. */\nconst genSelectInputVariableStyle = (token, colors) => {\n const {\n componentCls\n } = token;\n const {\n border,\n borderHover,\n borderActive,\n borderOutline\n } = colors;\n const baseBG = colors.background || token.selectorBg || token.colorBgContainer;\n return {\n '--select-border-color': border,\n '--select-background': baseBG,\n '--select-color': colors.color || token.colorText,\n [`&:not(${componentCls}-disabled)`]: {\n '&:hover': {\n '--select-border-color': borderHover,\n '--select-background': colors.backgroundHover || baseBG\n },\n [`&${componentCls}-focused`]: {\n '--select-border-color': borderActive,\n '--select-background': colors.backgroundActive || baseBG,\n boxShadow: `0 0 0 ${unit(token.controlOutlineWidth)} ${borderOutline}`\n }\n },\n [`&${componentCls}-disabled`]: {\n '--select-border-color': colors.borderDisabled || colors.border,\n '--select-background': colors.backgroundDisabled || colors.background\n }\n };\n};\n/** Generate variant-scoped variable styles and status overrides for a Select input. */\nconst genSelectInputVariantStyle = (token, variant, colors, errorColors = {}, warningColors = {}, patchStyle) => {\n const {\n componentCls\n } = token;\n return {\n [`&${componentCls}-${variant}`]: [genSelectInputVariableStyle(token, colors), {\n [`&${componentCls}-status-error`]: genSelectInputVariableStyle(token, {\n ...colors,\n color: errorColors.color || token.colorError,\n ...errorColors\n }),\n [`&${componentCls}-status-warning`]: genSelectInputVariableStyle(token, {\n ...colors,\n color: warningColors.color || token.colorWarning,\n ...warningColors\n })\n }, patchStyle]\n };\n};\nconst genSelectInputStyle = token => {\n const {\n componentCls,\n calc,\n fontHeight,\n controlHeight,\n iconCls\n } = token;\n return {\n [componentCls]: [{\n // Border\n '--select-border-radius': token.borderRadius,\n '--select-border-color': '#000',\n '--select-border-size': token.lineWidth,\n // Background\n '--select-background': token.colorBgContainer,\n // Font\n '--select-font-size': token.fontSize,\n '--select-line-height': token.lineHeight,\n '--select-font-height': fontHeight,\n '--select-color': token.colorText,\n // Size\n '--select-height': controlHeight,\n '--select-padding-horizontal': calc(token.paddingSM).sub(token.lineWidth).equal(),\n '--select-padding-vertical': 'calc((var(--select-height) - var(--select-font-height)) / 2 - var(--select-border-size))',\n // ==========================================================\n // == Base ==\n // ==========================================================\n ...resetComponent(token, true),\n display: 'inline-flex',\n // gap: calc(token.paddingXXS).mul(1.5).equal(),\n flexWrap: 'nowrap',\n position: 'relative',\n transition: `all ${token.motionDurationSlow}`,\n alignItems: 'flex-start',\n outline: 0,\n cursor: 'pointer',\n // Border\n borderRadius: 'var(--select-border-radius)',\n borderWidth: 'var(--select-border-size)',\n borderStyle: token.lineType,\n borderColor: 'var(--select-border-color)',\n // Background\n background: 'var(--select-background)',\n // Font\n fontSize: 'var(--select-font-size)',\n lineHeight: 'var(--select-line-height)',\n color: 'var(--select-color)',\n // Padding\n paddingInline: 'var(--select-padding-horizontal)',\n paddingBlock: 'var(--select-padding-vertical)',\n // ========================= Prefix =========================\n [`${componentCls}-prefix`]: {\n flex: 'none',\n lineHeight: 1\n },\n // ====================== Placeholder =======================\n [`${componentCls}-placeholder`]: {\n ...textEllipsis,\n color: token.colorTextPlaceholder,\n pointerEvents: 'none',\n zIndex: 1\n },\n // ======================== Content =========================\n [`${componentCls}-content`]: {\n flex: 'auto',\n minWidth: 0,\n position: 'relative',\n display: 'flex',\n marginInlineEnd: calc(token.paddingXXS).mul(1.5).equal(),\n '&:before': {\n content: '\"\\\\a0\"',\n width: 0,\n overflow: 'hidden'\n },\n // >>> Value\n '&-value': {\n ...textEllipsis,\n transition: `all ${token.motionDurationMid} ${token.motionEaseInOut}`,\n zIndex: 1\n },\n // >>> Input: should only take effect for not customize mode\n // input element with readOnly use cursor pointer\n 'input[readonly]': {\n cursor: 'inherit',\n caretColor: 'transparent'\n }\n },\n [`&-open ${componentCls}-content-value`]: {\n color: token.colorTextPlaceholder\n },\n // ========================= Suffix =========================\n [`${componentCls}-suffix`]: {\n flex: 'none',\n color: token.colorTextQuaternary,\n fontSize: token.fontSizeIcon,\n lineHeight: 1,\n '> :not(:last-child)': {\n marginInlineEnd: token.marginXS\n }\n },\n [`${componentCls}-prefix, ${componentCls}-suffix`]: {\n alignSelf: 'center',\n [iconCls]: {\n verticalAlign: 'top'\n }\n },\n // ==========================================================\n // == Disabled ==\n // ==========================================================\n '&-disabled': {\n background: token.colorBgContainerDisabled,\n color: token.colorTextDisabled,\n cursor: 'not-allowed',\n input: {\n cursor: 'not-allowed'\n }\n },\n // ==========================================================\n // == Size ==\n // ==========================================================\n '&-sm': {\n '--select-height': token.controlHeightSM,\n '--select-padding-horizontal': calc(token.paddingXS).sub(token.lineWidth).equal(),\n '--select-border-radius': token.borderRadiusSM\n },\n '&-lg': {\n '--select-height': token.controlHeightLG,\n '--select-font-size': token.fontSizeLG,\n '--select-line-height': token.lineHeightLG,\n '--select-font-height': token.fontHeightLG,\n '--select-border-radius': token.borderRadiusLG\n }\n },\n // ============================================================\n // == Input ==\n // ============================================================\n {\n [`&:not(${componentCls}-customize)`]: {\n [`${componentCls}-input`]: {\n outline: 'none',\n background: 'transparent',\n appearance: 'none',\n border: 0,\n margin: 0,\n padding: 0,\n color: 'inherit',\n '&::-webkit-search-cancel-button': {\n display: 'none',\n appearance: 'none'\n }\n }\n }\n },\n // ============================================================\n // == Single ==\n // ============================================================\n {\n [`&-single:not(${componentCls}-customize)`]: {\n [`${componentCls}-input`]: {\n position: 'absolute',\n insetInline: 0,\n insetBlock: 'calc(var(--select-padding-vertical) * -1)',\n lineHeight: 'calc(var(--select-font-height) + var(--select-padding-vertical) * 2)'\n },\n // Content center align\n [`${componentCls}-content`]: {\n alignSelf: 'center'\n }\n }\n },\n // ======================== Show Search =======================\n {\n [`&-show-search:not(${componentCls}-customize-input):not(${componentCls}-disabled)`]: {\n cursor: 'text'\n }\n },\n // ============================================================\n // == Multiple ==\n // ============================================================\n genSelectInputMultipleStyle(token),\n // ========================= Variant ==========================\n // >>> Outlined\n genSelectInputVariantStyle(token, 'outlined', {\n border: token.colorBorder,\n borderHover: token.hoverBorderColor,\n borderActive: token.activeBorderColor,\n borderOutline: token.activeOutlineColor,\n borderDisabled: token.colorBorderDisabled\n },\n // Error\n {\n border: token.colorError,\n borderHover: token.colorErrorHover,\n borderActive: token.colorError,\n borderOutline: token.colorErrorOutline\n },\n // Warning\n {\n border: token.colorWarning,\n borderHover: token.colorWarningHover,\n borderActive: token.colorWarning,\n borderOutline: token.colorWarningOutline\n }),\n // >>> Filled\n genSelectInputVariantStyle(token, 'filled', {\n border: 'transparent',\n borderHover: 'transparent',\n borderActive: token.activeBorderColor,\n borderOutline: 'transparent',\n borderDisabled: token.colorBorderDisabled,\n background: token.colorFillTertiary,\n backgroundHover: token.colorFillSecondary,\n backgroundActive: token.colorBgContainer\n },\n // Error\n {\n background: token.colorErrorBg,\n backgroundHover: token.colorErrorBgHover,\n borderActive: token.colorError\n },\n // Warning\n {\n background: token.colorWarningBg,\n backgroundHover: token.colorWarningBgHover,\n borderActive: token.colorWarning\n }),\n // >>> Borderless\n genSelectInputVariantStyle(token, 'borderless', {\n border: 'transparent',\n borderHover: 'transparent',\n borderActive: 'transparent',\n borderOutline: 'transparent',\n background: 'transparent'\n }),\n // Underlined\n genSelectInputVariantStyle(token, 'underlined', {\n border: token.colorBorder,\n borderHover: token.hoverBorderColor,\n borderActive: token.activeBorderColor,\n borderOutline: 'transparent'\n },\n // Error\n {\n border: token.colorError,\n borderHover: token.colorErrorHover,\n borderActive: token.colorError\n },\n // Warning\n {\n border: token.colorWarning,\n borderHover: token.colorWarningHover,\n borderActive: token.colorWarning\n }, {\n borderRadius: 0,\n borderTopColor: 'transparent',\n borderRightColor: 'transparent',\n borderLeftColor: 'transparent'\n }),\n // ============================================================\n // == Custom ==\n // ============================================================\n genSelectInputCustomizeStyle(token)]\n };\n};\nexport default genSelectInputStyle;"],"names":["genSelectInputVariableStyle","token","colors","componentCls","border","borderHover","borderActive","borderOutline","baseBG","unit","genSelectInputVariantStyle","variant","errorColors","warningColors","patchStyle","genSelectInputStyle","calc","fontHeight","controlHeight","iconCls","resetComponent","textEllipsis","genSelectInputMultipleStyle","genSelectInputCustomizeStyle"],"mappings":";;;;AAKA,MAAMA,IAA8B,CAACC,GAAOC,MAAW;AACrD,QAAM;AAAA,IACJ,cAAAC;AAAA,EACJ,IAAMF,GACE;AAAA,IACJ,QAAAG;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,eAAAC;AAAA,EACJ,IAAML,GACEM,IAASN,EAAO,cAAcD,EAAM,cAAcA,EAAM;AAC9D,SAAO;AAAA,IACL,yBAAyBG;AAAA,IACzB,uBAAuBI;AAAA,IACvB,kBAAkBN,EAAO,SAASD,EAAM;AAAA,IACxC,CAAC,SAASE,CAAY,YAAY,GAAG;AAAA,MACnC,WAAW;AAAA,QACT,yBAAyBE;AAAA,QACzB,uBAAuBH,EAAO,mBAAmBM;AAAA,MACzD;AAAA,MACM,CAAC,IAAIL,CAAY,UAAU,GAAG;AAAA,QAC5B,yBAAyBG;AAAA,QACzB,uBAAuBJ,EAAO,oBAAoBM;AAAA,QAClD,WAAW,SAASC,EAAKR,EAAM,mBAAmB,CAAC,IAAIM,CAAa;AAAA,MAC5E;AAAA,IACA;AAAA,IACI,CAAC,IAAIJ,CAAY,WAAW,GAAG;AAAA,MAC7B,yBAAyBD,EA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AYA,EAAM;AAAA,UAClB,iBAAiBA,EAAM;AAAA,UACvB,cAAcA,EAAM;AAAA,QAC1B;AAAA;AAAA,QAEI;AAAA,UACE,YAAYA,EAAM;AAAA,UAClB,iBAAiBA,EAAM;AAAA,UACvB,cAAcA,EAAM;AAAA,QAC1B;AAAA,MAAK;AAAA;AAAA,MAEDS,EAA2BT,GAAO,cAAc;AAAA,QAC9C,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,cAAc;AAAA,QACd,eAAe;AAAA,QACf,YAAY;AAAA,MAClB,CAAK;AAAA;AAAA,MAEDS;AAAA,QAA2BT;AAAA,QAAO;AAAA,QAAc;AAAA,UAC9C,QAAQA,EAAM;AAAA,UACd,aAAaA,EAAM;AAAA,UACnB,cAAcA,EAAM;AAAA,UACpB,eAAe;AAAA,QACrB;AAAA;AAAA,QAEI;AAAA,UACE,QAAQA,EAAM;AAAA,UACd,aAAaA,EAAM;AAAA,UACnB,cAAcA,EAAM;AAAA,QAC1B;AAAA;AAAA,QAEI;AAAA,UACE,QAAQA,EAAM;AAAA,UACd,aAAaA,EAAM;AAAA,UACnB,cAAcA,EAAM;AAAA,QAC1B;AAAA,QAAO;AAAA,UACD,cAAc;AAAA,UACd,gBAAgB;AAAA,UAChB,kBAAkB;AAAA,UAClB,iBAAiB;AAAA,QACvB;AAAA,MAAK;AAAA;AAAA;AAAA;AAAA,MAIDsB,EAA6BtB,CAAK;AAAA,IAAC;AAAA,EACvC;AACA;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"select-input.js","sources":["../../../../../../node_modules/antd/es/select/style/select-input.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { resetComponent, textEllipsis } from '../../style';\nimport { genCssVar } from '../../theme/util/genStyleUtils';\nimport genSelectInputCustomizeStyle from './select-input-customize';\nimport genSelectInputMultipleStyle from './select-input-multiple';\n/** Set CSS variables and hover/focus styles for a Select input based on provided colors. */\nconst genSelectInputVariableStyle = (token, colors) => {\n const {\n componentCls,\n antCls\n } = token;\n const [varName] = genCssVar(antCls, 'select');\n const {\n border,\n borderHover,\n borderActive,\n borderOutline\n } = colors;\n const baseBG = colors.background || token.selectorBg || token.colorBgContainer;\n return {\n [varName('border-color')]: border,\n [varName('background-color')]: baseBG,\n [varName('color')]: colors.color || token.colorText,\n [`&:not(${componentCls}-disabled)`]: {\n '&:hover': {\n [varName('border-color')]: borderHover,\n [varName('background-color')]: colors.backgroundHover || baseBG\n },\n [`&${componentCls}-focused`]: {\n [varName('border-color')]: borderActive,\n [varName('background-color')]: colors.backgroundActive || baseBG,\n boxShadow: `0 0 0 ${unit(token.controlOutlineWidth)} ${borderOutline}`\n }\n },\n [`&${componentCls}-disabled`]: {\n [varName('border-color')]: colors.borderDisabled || colors.border,\n [varName('background-color')]: colors.backgroundDisabled || colors.background\n }\n };\n};\n/** Generate variant-scoped variable styles and status overrides for a Select input. */\nconst genSelectInputVariantStyle = (token, variant, colors, errorColors = {}, warningColors = {}, patchStyle) => {\n const {\n componentCls\n } = token;\n return {\n [`&${componentCls}-${variant}`]: [genSelectInputVariableStyle(token, colors), {\n [`&${componentCls}-status-error`]: genSelectInputVariableStyle(token, {\n ...colors,\n color: errorColors.color || token.colorError,\n ...errorColors\n }),\n [`&${componentCls}-status-warning`]: genSelectInputVariableStyle(token, {\n ...colors,\n color: warningColors.color || token.colorWarning,\n ...warningColors\n })\n }, patchStyle]\n };\n};\nconst genSelectInputStyle = token => {\n const {\n componentCls,\n fontHeight,\n controlHeight,\n iconCls,\n antCls,\n calc\n } = token;\n const [varName, varRef] = genCssVar(antCls, 'select');\n return {\n [componentCls]: [{\n // Border\n [varName('border-radius')]: token.borderRadius,\n [varName('border-color')]: '#000',\n [varName('border-size')]: token.lineWidth,\n // Background\n [varName('background-color')]: token.colorBgContainer,\n // Font\n [varName('font-size')]: token.fontSize,\n [varName('line-height')]: token.lineHeight,\n [varName('font-height')]: fontHeight,\n [varName('color')]: token.colorText,\n // Size\n [varName('height')]: controlHeight,\n [varName('padding-horizontal')]: calc(token.paddingSM).sub(token.lineWidth).equal(),\n [varName('padding-vertical')]: `calc((${varRef('height')} - ${varRef('font-height')}) / 2 - ${varRef('border-size')})`,\n // ==========================================================\n // == Base ==\n // ==========================================================\n ...resetComponent(token, true),\n display: 'inline-flex',\n // gap: calc(token.paddingXXS).mul(1.5).equal(),\n flexWrap: 'nowrap',\n position: 'relative',\n transition: `all ${token.motionDurationSlow}`,\n alignItems: 'flex-start',\n outline: 0,\n cursor: 'pointer',\n // Border\n borderRadius: varRef('border-radius'),\n borderWidth: varRef('border-size'),\n borderStyle: token.lineType,\n borderColor: varRef('border-color'),\n // Background\n background: varRef('background-color'),\n // Font\n fontSize: varRef('font-size'),\n lineHeight: varRef('line-height'),\n color: varRef('color'),\n // Padding\n paddingInline: varRef('padding-horizontal'),\n paddingBlock: varRef('padding-vertical'),\n // ========================= Prefix =========================\n [`${componentCls}-prefix`]: {\n flex: 'none',\n lineHeight: 1\n },\n // ====================== Placeholder =======================\n [`${componentCls}-placeholder`]: {\n ...textEllipsis,\n color: token.colorTextPlaceholder,\n pointerEvents: 'none',\n zIndex: 1\n },\n // ======================== Content =========================\n [`${componentCls}-content`]: {\n flex: 'auto',\n minWidth: 0,\n position: 'relative',\n display: 'flex',\n marginInlineEnd: calc(token.paddingXXS).mul(1.5).equal(),\n '&:before': {\n content: '\"\\\\a0\"',\n width: 0,\n overflow: 'hidden'\n },\n // >>> Value\n '&-value': {\n ...textEllipsis,\n transition: `all ${token.motionDurationMid} ${token.motionEaseInOut}`,\n zIndex: 1\n },\n // >>> Input: should only take effect for not customize mode\n // input element with readOnly use cursor pointer\n 'input[readonly]': {\n cursor: 'inherit',\n caretColor: 'transparent'\n }\n },\n [`&-open ${componentCls}-content-value`]: {\n color: token.colorTextPlaceholder\n },\n // ========================= Suffix =========================\n [`${componentCls}-suffix`]: {\n flex: 'none',\n color: token.colorTextQuaternary,\n fontSize: token.fontSizeIcon,\n lineHeight: 1,\n '> :not(:last-child)': {\n marginInlineEnd: token.marginXS\n }\n },\n [`${componentCls}-prefix, ${componentCls}-suffix`]: {\n alignSelf: 'center',\n [iconCls]: {\n verticalAlign: 'top'\n }\n },\n // ==========================================================\n // == Disabled ==\n // ==========================================================\n '&-disabled': {\n background: token.colorBgContainerDisabled,\n color: token.colorTextDisabled,\n cursor: 'not-allowed',\n input: {\n cursor: 'not-allowed'\n }\n },\n // ==========================================================\n // == Size ==\n // ==========================================================\n '&-sm': {\n [varName('height')]: token.controlHeightSM,\n [varName('padding-horizontal')]: calc(token.paddingXS).sub(token.lineWidth).equal(),\n [varName('border-radius')]: token.borderRadiusSM,\n [`${componentCls}-clear`]: {\n insetInlineEnd: varRef('padding-horizontal')\n }\n },\n '&-lg': {\n [varName('height')]: token.controlHeightLG,\n [varName('font-size')]: token.fontSizeLG,\n [varName('line-height')]: token.lineHeightLG,\n [varName('font-height')]: token.fontHeightLG,\n [varName('border-radius')]: token.borderRadiusLG\n }\n },\n // ============================================================\n // == Input ==\n // ============================================================\n {\n [`&:not(${componentCls}-customize)`]: {\n [`${componentCls}-input`]: {\n outline: 'none',\n background: 'transparent',\n appearance: 'none',\n border: 0,\n margin: 0,\n padding: 0,\n color: 'inherit',\n '&::-webkit-search-cancel-button': {\n display: 'none',\n appearance: 'none'\n }\n }\n }\n },\n // ============================================================\n // == Single ==\n // ============================================================\n {\n [`&-single:not(${componentCls}-customize)`]: {\n [`${componentCls}-input`]: {\n position: 'absolute',\n insetInline: 0,\n insetBlock: `calc(${varRef('padding-vertical')} * -1)`,\n lineHeight: `calc(${varRef('font-height')} + ${varRef('padding-vertical')} * 2)`\n },\n // Content center align\n [`${componentCls}-content`]: {\n alignSelf: 'center'\n }\n }\n },\n // ======================== Show Search =======================\n {\n [`&-show-search:not(${componentCls}-customize-input):not(${componentCls}-disabled)`]: {\n cursor: 'text'\n }\n },\n // ============================================================\n // == Multiple ==\n // ============================================================\n genSelectInputMultipleStyle(token),\n // ========================= Variant ==========================\n // >>> Outlined\n genSelectInputVariantStyle(token, 'outlined', {\n border: token.colorBorder,\n borderHover: token.hoverBorderColor,\n borderActive: token.activeBorderColor,\n borderOutline: token.activeOutlineColor,\n borderDisabled: token.colorBorderDisabled\n },\n // Error\n {\n border: token.colorError,\n borderHover: token.colorErrorHover,\n borderActive: token.colorError,\n borderOutline: token.colorErrorOutline\n },\n // Warning\n {\n border: token.colorWarning,\n borderHover: token.colorWarningHover,\n borderActive: token.colorWarning,\n borderOutline: token.colorWarningOutline\n }),\n // >>> Filled\n genSelectInputVariantStyle(token, 'filled', {\n border: 'transparent',\n borderHover: 'transparent',\n borderActive: token.activeBorderColor,\n borderOutline: 'transparent',\n borderDisabled: token.colorBorderDisabled,\n background: token.colorFillTertiary,\n backgroundHover: token.colorFillSecondary,\n backgroundActive: token.colorBgContainer\n },\n // Error\n {\n background: token.colorErrorBg,\n backgroundHover: token.colorErrorBgHover,\n borderActive: token.colorError\n },\n // Warning\n {\n background: token.colorWarningBg,\n backgroundHover: token.colorWarningBgHover,\n borderActive: token.colorWarning\n }),\n // >>> Borderless\n genSelectInputVariantStyle(token, 'borderless', {\n border: 'transparent',\n borderHover: 'transparent',\n borderActive: 'transparent',\n borderOutline: 'transparent',\n background: 'transparent'\n }),\n // Underlined\n genSelectInputVariantStyle(token, 'underlined', {\n border: token.colorBorder,\n borderHover: token.hoverBorderColor,\n borderActive: token.activeBorderColor,\n borderOutline: 'transparent'\n },\n // Error\n {\n border: token.colorError,\n borderHover: token.colorErrorHover,\n borderActive: token.colorError\n },\n // Warning\n {\n border: token.colorWarning,\n borderHover: token.colorWarningHover,\n borderActive: token.colorWarning\n }, {\n borderRadius: 0,\n borderTopColor: 'transparent',\n borderRightColor: 'transparent',\n borderLeftColor: 'transparent'\n }),\n // ============================================================\n // == Custom ==\n // ============================================================\n genSelectInputCustomizeStyle(token)]\n };\n};\nexport default genSelectInputStyle;"],"names":["genSelectInputVariableStyle","token","colors","componentCls","antCls","varName","genCssVar","border","borderHover","borderActive","borderOutline","baseBG","unit","genSelectInputVariantStyle","variant","errorColors","warningColors","patchStyle","genSelectInputStyle","fontHeight","controlHeight","iconCls","calc","varRef","resetComponent","textEllipsis","genSelectInputMultipleStyle","genSelectInputCustomizeStyle"],"mappings":";;;;;AAMA,MAAMA,IAA8B,CAACC,GAAOC,MAAW;AACrD,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMH,GACE,CAACI,CAAO,IAAIC,EAAUF,GAAQ,QAAQ,GACtC;AAAA,IACJ,QAAAG;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,eAAAC;AAAA,EACJ,IAAMR,GACES,IAAST,EAAO,cAAcD,EAAM,cAAcA,EAAM;AAC9D,SAAO;AAAA,IACL,CAACI,EAAQ,cAAc,CAAC,GAAGE;AAAA,IAC3B,CAACF,EAAQ,kBAAkB,CAAC,GAAGM;AAAA,IAC/B,CAACN,EAAQ,OAAO,CAAC,GAAGH,EAAO,SAASD,EAAM;AAAA,IAC1C,CAAC,SAASE,CAAY,YAAY,GAAG;AAAA,MACnC,WAAW;AAAA,QACT,CAACE,EAAQ,cAAc,CAAC,GAAGG;AAAA,QAC3B,CAACH,EAAQ,kBAAkB,CAAC,GAAGH,EAAO,mBAAmBS;AAAA,MACjE;AAAA,MACM,CAAC,IAAIR,CAAY,UAAU,GAAG;AAAA,QAC5B,CAACE,EAAQ,cAAc,CAAC,GAAGI;AAAA,QAC3B,CAACJ,EAAQ,kBAAkB,CAAC,GAAGH,EAAO,oBAAoBS;AAAA,QAC1D,WAAW,SAASC,EAAKX,EAAM,mBAAmB,CAAC,IAAIS,CAAa;AAAA,MAC5E;AAAA,IACA;AAAA,IACI,CAAC,IAAIP,CAAY,WAAW,GAAG;AAAA,MAC7B,CAACE,EAAQ,cAAc,CAAC,GAAGH,EAAO,kBAAkBA,EAAO;AAAA,MAC3D,CAACG,EAAQ,kBAAkB,CAAC,GAAGH,EAAO,sBAAsBA,EAAO;AAAA,IACzE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QAA2BZ;AAAA,QAAO;AAAA,QAAc;AAAA,UAC9C,QAAQA,EAAM;AAAA,UACd,aAAaA,EAAM;AAAA,UACnB,cAAcA,EAAM;AAAA,UACpB,eAAe;AAAA,QACrB;AAAA;AAAA,QAEI;AAAA,UACE,QAAQA,EAAM;AAAA,UACd,aAAaA,EAAM;AAAA,UACnB,cAAcA,EAAM;AAAA,QAC1B;AAAA;AAAA,QAEI;AAAA,UACE,QAAQA,EAAM;AAAA,UACd,aAAaA,EAAM;AAAA,UACnB,cAAcA,EAAM;AAAA,QAC1B;AAAA,QAAO;AAAA,UACD,cAAc;AAAA,UACd,gBAAgB;AAAA,UAChB,kBAAkB;AAAA,UAClB,iBAAiB;AAAA,QACvB;AAAA,MAAK;AAAA;AAAA;AAAA;AAAA,MAID0B,EAA6B1B,CAAK;AAAA,IAAC;AAAA,EACvC;AACA;","x_google_ignoreList":[0]}
|
|
@@ -19,8 +19,8 @@ const y = (s) => {
|
|
|
19
19
|
className: r,
|
|
20
20
|
style: m
|
|
21
21
|
}, t), o < p && a && /* @__PURE__ */ e.createElement("span", {
|
|
22
|
-
className: i(`${l}-item-separator`, n
|
|
23
|
-
style: c
|
|
22
|
+
className: i(`${l}-item-separator`, n?.separator),
|
|
23
|
+
style: c?.separator
|
|
24
24
|
}, a)) : null;
|
|
25
25
|
};
|
|
26
26
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Item.js","sources":["../../../../../node_modules/antd/es/space/Item.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { clsx } from 'clsx';\nimport isNonNullable from '../_util/isNonNullable';\nimport { SpaceContext } from './context';\nconst Item = props => {\n const {\n className,\n prefix,\n index,\n children,\n separator,\n style,\n classNames,\n styles\n } = props;\n const {\n latestIndex\n } = React.useContext(SpaceContext);\n if (!isNonNullable(children)) {\n return null;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n style: style\n }, children), index < latestIndex && separator && (/*#__PURE__*/React.createElement(\"span\", {\n className: clsx(`${prefix}-item-separator`, classNames
|
|
1
|
+
{"version":3,"file":"Item.js","sources":["../../../../../node_modules/antd/es/space/Item.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { clsx } from 'clsx';\nimport isNonNullable from '../_util/isNonNullable';\nimport { SpaceContext } from './context';\nconst Item = props => {\n const {\n className,\n prefix,\n index,\n children,\n separator,\n style,\n classNames,\n styles\n } = props;\n const {\n latestIndex\n } = React.useContext(SpaceContext);\n if (!isNonNullable(children)) {\n return null;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n style: style\n }, children), index < latestIndex && separator && (/*#__PURE__*/React.createElement(\"span\", {\n className: clsx(`${prefix}-item-separator`, classNames?.separator),\n style: styles?.separator\n }, separator)));\n};\nexport default Item;"],"names":["Item","props","className","prefix","index","children","separator","style","classNames","styles","latestIndex","React","SpaceContext","isNonNullable","clsx"],"mappings":";;;;AAMK,MAACA,IAAO,CAAAC,MAAS;AACpB,QAAM;AAAA,IACJ,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,EACJ,IAAMR,GACE;AAAA,IACJ,aAAAS;AAAA,EACJ,IAAMC,EAAM,WAAWC,CAAY;AACjC,SAAKC,EAAcR,CAAQ,IAGP,gBAAAM,EAAM,cAAcA,EAAM,UAAU,MAAmB,gBAAAA,EAAM,cAAc,OAAO;AAAA,IACpG,WAAWT;AAAA,IACX,OAAOK;AAAA,EACX,GAAKF,CAAQ,GAAGD,IAAQM,KAAeJ,KAA2B,gBAAAK,EAAM,cAAc,QAAQ;AAAA,IAC1F,WAAWG,EAAK,GAAGX,CAAM,mBAAmBK,GAAY,SAAS;AAAA,IACjE,OAAOC,GAAQ;AAAA,EACnB,GAAKH,CAAS,CAAE,IARL;AASX;","x_google_ignoreList":[0]}
|
|
@@ -5,8 +5,8 @@ import { isPresetSize as z, isValidGapNumber as $ } from "../_util/gapSize.js";
|
|
|
5
5
|
import oe from "../_util/isNonNullable.js";
|
|
6
6
|
import { devUseWarning as se } from "../_util/warning.js";
|
|
7
7
|
import { useComponentConfig as ae } from "../config-provider/context.js";
|
|
8
|
-
import ie from "./
|
|
9
|
-
import ne from "./
|
|
8
|
+
import ie from "./Addon.js";
|
|
9
|
+
import ne from "./Compact.js";
|
|
10
10
|
import { SpaceContextProvider as ce } from "./context.js";
|
|
11
11
|
import { SpaceContext as ke } from "./context.js";
|
|
12
12
|
import le from "./Item.js";
|
|
@@ -93,8 +93,8 @@ const Se = /* @__PURE__ */ a.forwardRef((m, V) => {
|
|
|
93
93
|
value: te
|
|
94
94
|
}, ee));
|
|
95
95
|
}), S = Se;
|
|
96
|
-
S.Compact =
|
|
97
|
-
S.Addon =
|
|
96
|
+
S.Compact = ne;
|
|
97
|
+
S.Addon = ie;
|
|
98
98
|
E.env.NODE_ENV !== "production" && (S.displayName = "Space");
|
|
99
99
|
export {
|
|
100
100
|
ke as SpaceContext,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/space/index.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { toArray } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { isPresetSize, isValidGapNumber } from '../_util/gapSize';\nimport { useMergeSemantic, useOrientation } from '../_util/hooks';\nimport isNonNullable from '../_util/isNonNullable';\nimport { devUseWarning } from '../_util/warning';\nimport { useComponentConfig } from '../config-provider/context';\nimport
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/antd/es/space/index.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { toArray } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { isPresetSize, isValidGapNumber } from '../_util/gapSize';\nimport { useMergeSemantic, useOrientation } from '../_util/hooks';\nimport isNonNullable from '../_util/isNonNullable';\nimport { devUseWarning } from '../_util/warning';\nimport { useComponentConfig } from '../config-provider/context';\nimport Addon from './Addon';\nimport Compact from './Compact';\nimport { SpaceContextProvider } from './context';\nimport Item from './Item';\nimport useStyle from './style';\nexport { SpaceContext } from './context';\nconst InternalSpace = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n getPrefixCls,\n direction: directionConfig,\n size: contextSize,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles\n } = useComponentConfig('space');\n const {\n size = contextSize ?? 'small',\n align,\n className,\n rootClassName,\n children,\n direction,\n orientation,\n prefixCls: customizePrefixCls,\n split,\n separator,\n style,\n vertical,\n wrap = false,\n classNames,\n styles,\n ...restProps\n } = props;\n const [horizontalSize, verticalSize] = Array.isArray(size) ? size : [size, size];\n const isPresetVerticalSize = isPresetSize(verticalSize);\n const isPresetHorizontalSize = isPresetSize(horizontalSize);\n const isValidVerticalSize = isValidGapNumber(verticalSize);\n const isValidHorizontalSize = isValidGapNumber(horizontalSize);\n const childNodes = toArray(children, {\n keepEmpty: true\n });\n const [mergedOrientation, mergedVertical] = useOrientation(orientation, vertical, direction);\n const mergedAlign = align === undefined && !mergedVertical ? 'center' : align;\n const mergedSeparator = separator ?? split;\n const prefixCls = getPrefixCls('space', customizePrefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls);\n // =========== Merged Props for Semantic ==========\n const mergedProps = {\n ...props,\n size,\n orientation: mergedOrientation,\n align: mergedAlign\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n });\n const rootClassNames = clsx(prefixCls, contextClassName, hashId, `${prefixCls}-${mergedOrientation}`, {\n [`${prefixCls}-rtl`]: directionConfig === 'rtl',\n [`${prefixCls}-align-${mergedAlign}`]: mergedAlign,\n [`${prefixCls}-gap-row-${verticalSize}`]: isPresetVerticalSize,\n [`${prefixCls}-gap-col-${horizontalSize}`]: isPresetHorizontalSize\n }, className, rootClassName, cssVarCls, mergedClassNames.root);\n const itemClassName = clsx(`${prefixCls}-item`, mergedClassNames.item);\n // Calculate latest one\n const renderedItems = childNodes.map((child, i) => {\n const key = child?.key || `${itemClassName}-${i}`;\n return /*#__PURE__*/React.createElement(Item, {\n prefix: prefixCls,\n classNames: mergedClassNames,\n styles: mergedStyles,\n className: itemClassName,\n key: key,\n index: i,\n separator: mergedSeparator,\n style: mergedStyles.item\n }, child);\n });\n // ======================== Warning ==========================\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Space');\n [['direction', 'orientation'], ['split', 'separator']].forEach(([deprecatedName, newName]) => {\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n }\n const memoizedSpaceContext = React.useMemo(() => {\n const calcLatestIndex = childNodes.reduce((latest, child, i) => isNonNullable(child) ? i : latest, 0);\n return {\n latestIndex: calcLatestIndex\n };\n }, [childNodes]);\n // =========================== Render ===========================\n if (childNodes.length === 0) {\n return null;\n }\n const gapStyle = {};\n if (wrap) {\n gapStyle.flexWrap = 'wrap';\n }\n if (!isPresetHorizontalSize && isValidHorizontalSize) {\n gapStyle.columnGap = horizontalSize;\n }\n if (!isPresetVerticalSize && isValidVerticalSize) {\n gapStyle.rowGap = verticalSize;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: ref,\n className: rootClassNames,\n style: {\n ...gapStyle,\n ...mergedStyles.root,\n ...contextStyle,\n ...style\n },\n ...restProps\n }, /*#__PURE__*/React.createElement(SpaceContextProvider, {\n value: memoizedSpaceContext\n }, renderedItems));\n});\nconst Space = InternalSpace;\nSpace.Compact = Compact;\nSpace.Addon = Addon;\nif (process.env.NODE_ENV !== 'production') {\n Space.displayName = 'Space';\n}\nexport default Space;"],"names":["InternalSpace","React","props","ref","getPrefixCls","directionConfig","contextSize","contextClassName","contextStyle","contextClassNames","contextStyles","useComponentConfig","size","align","className","rootClassName","children","direction","orientation","customizePrefixCls","split","separator","style","vertical","wrap","classNames","styles","restProps","horizontalSize","verticalSize","isPresetVerticalSize","isPresetSize","isPresetHorizontalSize","isValidVerticalSize","isValidGapNumber","isValidHorizontalSize","childNodes","toArray","mergedOrientation","mergedVertical","useOrientation","mergedAlign","mergedSeparator","prefixCls","hashId","cssVarCls","useStyle","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","rootClassNames","clsx","itemClassName","renderedItems","child","i","key","Item","process","warning","devUseWarning","deprecatedName","newName","memoizedSpaceContext","latest","isNonNullable","gapStyle","SpaceContextProvider","Space","Compact","Addon"],"mappings":";;;;;;;;;;;;;;;;AAgBA,MAAMA,KAA6B,gBAAAC,EAAM,WAAW,CAACC,GAAOC,MAAQ;AAClE,QAAM;AAAA,IACJ,cAAAC;AAAA,IACA,WAAWC;AAAA,IACX,MAAMC;AAAA,IACN,WAAWC;AAAA,IACX,OAAOC;AAAA,IACP,YAAYC;AAAA,IACZ,QAAQC;AAAA,EACZ,IAAMC,GAAmB,OAAO,GACxB;AAAA,IACJ,MAAAC,IAAON,KAAe;AAAA,IACtB,OAAAO;AAAA,IACA,WAAAC;AAAA,IACA,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,WAAWC;AAAA,IACX,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,MAAAC,IAAO;AAAA,IACP,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,GAAGC;AAAA,EACP,IAAMzB,GACE,CAAC0B,GAAgBC,CAAY,IAAI,MAAM,QAAQjB,CAAI,IAAIA,IAAO,CAACA,GAAMA,CAAI,GACzEkB,IAAuBC,EAAaF,CAAY,GAChDG,IAAyBD,EAAaH,CAAc,GACpDK,IAAsBC,EAAiBL,CAAY,GACnDM,IAAwBD,EAAiBN,CAAc,GACvDQ,IAAaC,GAAQrB,GAAU;AAAA,IACnC,WAAW;A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