@qn-pandora/pandora-component 5.1.0 → 5.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -36
- package/es/components/AutoComplete/index.js +2 -2
- package/es/components/AutoComplete/style.css +127 -39
- package/es/components/AutoComplete/style.less +8 -8
- package/es/components/Breadcrumb/style.css +13 -3
- package/es/components/Breadcrumb/style.less +9 -9
- package/es/components/Button/style.css +282 -176
- package/es/components/Button/style.less +51 -51
- package/es/components/Card/RowExtra/style.css +6 -0
- package/es/components/Card/RowExtra/style.less +8 -8
- package/es/components/Card/SearchInput/style.less +8 -8
- package/es/components/Card/style.css +61 -66
- package/es/components/Card/style.less +11 -11
- package/es/components/CheckTransformList/style.css +345 -121
- package/es/components/CheckTransformList/style.less +35 -35
- package/es/components/Checkbox/index.js +9 -1
- package/es/components/Checkbox/style.css +5 -0
- package/es/components/Checkbox/style.less +5 -5
- package/es/components/CheckboxList/style.css +10 -5
- package/es/components/CheckboxList/style.less +11 -11
- package/es/components/Collapse/style.css +35 -3
- package/es/components/Collapse/style.less +58 -58
- package/es/components/CollapsiblePanel/style.less +63 -63
- package/es/components/DateTimePicker/Base/index.d.ts +3 -0
- package/es/components/DateTimePicker/Base/index.js +51 -6
- package/es/components/DateTimePicker/Base/style.css +508 -112
- package/es/components/DateTimePicker/Base/style.less +167 -160
- package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/es/components/DateTimePicker/DisplayInput/index.js +3 -1
- package/es/components/DateTimePicker/DisplayInput/style.css +231 -53
- package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/es/components/DateTimePicker/constants.d.ts +9 -3
- package/es/components/DateTimePicker/constants.js +1 -0
- package/es/components/DateTimePicker/index.js +1 -1
- package/es/components/DateTimePicker/style.css +77 -46
- package/es/components/DateTimePicker/style.less +19 -19
- package/es/components/DateTimePicker/time.d.ts +1 -0
- package/es/components/DateTimePicker/time.js +1 -0
- package/es/components/DateTimePicker/transform.js +4 -2
- package/es/components/Descriptions/style.css +77 -46
- package/es/components/Descriptions/style.less +16 -16
- package/es/components/Drawer/CloseIcon/style.less +8 -8
- package/es/components/Drawer/index.d.ts +6 -6
- package/es/components/Drawer/index.js +4 -4
- package/es/components/Drawer/style.css +244 -169
- package/es/components/Drawer/style.less +69 -61
- package/es/components/FileResumable/index.js +2 -3
- package/es/components/FileResumable/style.css +20 -50
- package/es/components/FileResumable/style.less +94 -94
- package/es/components/FlameGraph/customTooltip.d.ts +22 -0
- package/es/components/FlameGraph/customTooltip.js +91 -0
- package/es/components/FlameGraph/index.d.ts +16 -0
- package/es/components/FlameGraph/index.js +96 -0
- package/es/components/FlameGraph/style.css +8 -0
- package/es/components/FlameGraph/style.less +14 -0
- package/es/components/Input/index.d.ts +1 -1
- package/es/components/Input/style.css +231 -53
- package/es/components/Input/style.less +12 -12
- package/es/components/KeyValuePair/style.less +25 -25
- package/es/components/Menu/Option.d.ts +1 -1
- package/es/components/Menu/Option.js +12 -4
- package/es/components/Menu/style.css +31 -22
- package/es/components/Menu/style.less +18 -18
- package/es/components/Modal/style.css +11 -8
- package/es/components/Modal/style.less +30 -30
- package/es/components/NameExplainTooltip/style.css +1 -1
- package/es/components/NameExplainTooltip/style.less +10 -10
- package/es/components/NameLimiter/index.js +1 -1
- package/es/components/NameLimiter/style.css +83 -55
- package/es/components/NameLimiter/style.less +19 -19
- package/es/components/OptionList/InlineOptionList/style.css +22 -9
- package/es/components/OptionList/InlineOptionList/style.less +16 -16
- package/es/components/OptionList/OptionItem/style.css +85 -57
- package/es/components/OptionList/OptionItem/style.less +25 -25
- package/es/components/OptionList/PopoverOptionList/index.js +1 -1
- package/es/components/OptionList/PopoverOptionList/style.css +80 -49
- package/es/components/OptionList/PopoverOptionList/style.less +30 -30
- package/es/components/OptionList/style.css +187 -115
- package/es/components/OptionList/style.less +3 -3
- package/es/components/RadioGroup/style.css +51 -40
- package/es/components/RadioGroup/style.less +41 -41
- package/es/components/RangeInput/style.css +604 -87
- package/es/components/RangeInput/style.less +37 -37
- package/es/components/RemarkName/style.css +83 -55
- package/es/components/RemarkName/style.less +2 -2
- package/es/components/Selector/style.css +127 -39
- package/es/components/Selector/style.less +99 -99
- package/es/components/Spin/style.css +10 -8
- package/es/components/Spin/style.less +26 -26
- package/es/components/Steps/ControlButton/style.less +5 -5
- package/es/components/Steps/style.css +59 -21
- package/es/components/Steps/style.less +48 -48
- package/es/components/Table/ColumnSetting/index.d.ts +1 -0
- package/es/components/Table/ColumnSetting/index.js +19 -14
- package/es/components/Table/ColumnSetting/style.css +2 -5
- package/es/components/Table/ColumnSetting/style.less +50 -51
- package/es/components/Table/ColumnTag/style.css +4 -4
- package/es/components/Table/ColumnTag/style.less +40 -40
- package/es/components/Table/EmptyText.d.ts +7 -0
- package/es/components/Table/EmptyText.js +22 -0
- package/es/components/Table/ResizableTitle/style.less +25 -25
- package/es/components/Table/index.d.ts +19 -88
- package/es/components/Table/index.js +142 -326
- package/es/components/Table/style.css +146 -98
- package/es/components/Table/style.less +364 -345
- package/es/components/Table/type.d.ts +63 -0
- package/es/components/Table/type.js +5 -0
- package/es/components/Table/util.d.ts +58 -0
- package/es/components/Table/util.js +218 -0
- package/es/components/Tabs/style.css +127 -78
- package/es/components/Tabs/style.less +33 -33
- package/es/components/TagList/Tag/style.css +5 -5
- package/es/components/TagList/Tag/style.less +72 -72
- package/es/components/TagList/TagSwitch/style.css +1 -1
- package/es/components/TagList/TagSwitch/style.less +28 -28
- package/es/components/TagList/style.css +6 -6
- package/es/components/TagList/style.less +28 -28
- package/es/components/Timeline/TimelineItem/style.css +1 -1
- package/es/components/Timeline/TimelineItem/style.less +49 -49
- package/es/components/Timeline/style.less +23 -23
- package/es/components/TopologyChart/index.d.ts +7 -0
- package/es/components/TopologyChart/index.js +19 -0
- package/es/components/TopologyChart/style.css +14 -0
- package/es/components/TopologyChart/style.less +14 -0
- package/es/components/Transfer/List/style.less +19 -19
- package/es/components/Transfer/ListBody/style.less +18 -18
- package/es/components/Transfer/style.less +14 -14
- package/es/components/TreeSelector/style.css +42 -30
- package/es/components/TreeSelector/style.less +56 -56
- package/es/constants/language/datetime/en.js +4 -2
- package/es/constants/language/datetime/type.d.ts +4 -2
- package/es/constants/language/datetime/zh.js +4 -2
- package/es/index.css +9067 -7963
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -0
- package/es/index.less +56 -54
- package/es/style/mixin.less +45 -45
- package/es/style/theme.less +416 -416
- package/lib/components/AutoComplete/index.js +2 -2
- package/lib/components/AutoComplete/style.css +127 -39
- package/lib/components/AutoComplete/style.less +8 -8
- package/lib/components/Breadcrumb/style.css +13 -3
- package/lib/components/Breadcrumb/style.less +9 -9
- package/lib/components/Button/style.css +282 -176
- package/lib/components/Button/style.less +51 -51
- package/lib/components/Card/RowExtra/style.css +6 -0
- package/lib/components/Card/RowExtra/style.less +8 -8
- package/lib/components/Card/SearchInput/style.less +8 -8
- package/lib/components/Card/style.css +61 -66
- package/lib/components/Card/style.less +11 -11
- package/lib/components/CheckTransformList/style.css +345 -121
- package/lib/components/CheckTransformList/style.less +35 -35
- package/lib/components/Checkbox/index.js +9 -1
- package/lib/components/Checkbox/style.css +5 -0
- package/lib/components/Checkbox/style.less +5 -5
- package/lib/components/CheckboxList/style.css +10 -5
- package/lib/components/CheckboxList/style.less +11 -11
- package/lib/components/Collapse/style.css +35 -3
- package/lib/components/Collapse/style.less +58 -58
- package/lib/components/CollapsiblePanel/style.less +63 -63
- package/lib/components/DateTimePicker/Base/index.d.ts +3 -0
- package/lib/components/DateTimePicker/Base/index.js +51 -6
- package/lib/components/DateTimePicker/Base/style.css +508 -112
- package/lib/components/DateTimePicker/Base/style.less +167 -160
- package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/lib/components/DateTimePicker/DisplayInput/index.js +3 -1
- package/lib/components/DateTimePicker/DisplayInput/style.css +231 -53
- package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/lib/components/DateTimePicker/constants.d.ts +9 -3
- package/lib/components/DateTimePicker/constants.js +1 -0
- package/lib/components/DateTimePicker/index.js +1 -1
- package/lib/components/DateTimePicker/style.css +77 -46
- package/lib/components/DateTimePicker/style.less +19 -19
- package/lib/components/DateTimePicker/time.d.ts +1 -0
- package/lib/components/DateTimePicker/time.js +1 -0
- package/lib/components/DateTimePicker/transform.js +4 -2
- package/lib/components/Descriptions/style.css +77 -46
- package/lib/components/Descriptions/style.less +16 -16
- package/lib/components/Drawer/CloseIcon/style.less +8 -8
- package/lib/components/Drawer/index.d.ts +6 -6
- package/lib/components/Drawer/index.js +4 -4
- package/lib/components/Drawer/style.css +244 -169
- package/lib/components/Drawer/style.less +69 -61
- package/lib/components/FileResumable/index.js +2 -3
- package/lib/components/FileResumable/style.css +20 -50
- package/lib/components/FileResumable/style.less +94 -94
- package/lib/components/FlameGraph/customTooltip.d.ts +22 -0
- package/lib/components/FlameGraph/customTooltip.js +114 -0
- package/lib/components/FlameGraph/index.d.ts +16 -0
- package/lib/components/FlameGraph/index.js +117 -0
- package/lib/components/FlameGraph/style.css +8 -0
- package/lib/components/FlameGraph/style.less +14 -0
- package/lib/components/Input/index.d.ts +1 -1
- package/lib/components/Input/style.css +231 -53
- package/lib/components/Input/style.less +12 -12
- package/lib/components/KeyValuePair/style.less +25 -25
- package/lib/components/Menu/Option.d.ts +1 -1
- package/lib/components/Menu/Option.js +17 -25
- package/lib/components/Menu/style.css +31 -22
- package/lib/components/Menu/style.less +18 -18
- package/lib/components/Modal/style.css +11 -8
- package/lib/components/Modal/style.less +30 -30
- package/lib/components/NameExplainTooltip/style.css +1 -1
- package/lib/components/NameExplainTooltip/style.less +10 -10
- package/lib/components/NameLimiter/index.js +1 -1
- package/lib/components/NameLimiter/style.css +83 -55
- package/lib/components/NameLimiter/style.less +19 -19
- package/lib/components/OptionList/InlineOptionList/style.css +22 -9
- package/lib/components/OptionList/InlineOptionList/style.less +16 -16
- package/lib/components/OptionList/OptionItem/style.css +85 -57
- package/lib/components/OptionList/OptionItem/style.less +25 -25
- package/lib/components/OptionList/PopoverOptionList/index.js +1 -1
- package/lib/components/OptionList/PopoverOptionList/style.css +80 -49
- package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
- package/lib/components/OptionList/style.css +187 -115
- package/lib/components/OptionList/style.less +3 -3
- package/lib/components/RadioGroup/style.css +51 -40
- package/lib/components/RadioGroup/style.less +41 -41
- package/lib/components/RangeInput/style.css +604 -87
- package/lib/components/RangeInput/style.less +37 -37
- package/lib/components/RemarkName/style.css +83 -55
- package/lib/components/RemarkName/style.less +2 -2
- package/lib/components/Selector/style.css +127 -39
- package/lib/components/Selector/style.less +99 -99
- package/lib/components/Spin/style.css +10 -8
- package/lib/components/Spin/style.less +26 -26
- package/lib/components/Steps/ControlButton/style.less +5 -5
- package/lib/components/Steps/style.css +59 -21
- package/lib/components/Steps/style.less +48 -48
- package/lib/components/Table/ColumnSetting/index.d.ts +1 -0
- package/lib/components/Table/ColumnSetting/index.js +19 -14
- package/lib/components/Table/ColumnSetting/style.css +2 -5
- package/lib/components/Table/ColumnSetting/style.less +50 -51
- package/lib/components/Table/ColumnTag/style.css +4 -4
- package/lib/components/Table/ColumnTag/style.less +40 -40
- package/lib/components/Table/EmptyText.d.ts +7 -0
- package/lib/components/Table/EmptyText.js +27 -0
- package/lib/components/Table/ResizableTitle/style.less +25 -25
- package/lib/components/Table/index.d.ts +19 -88
- package/lib/components/Table/index.js +145 -327
- package/lib/components/Table/style.css +146 -98
- package/lib/components/Table/style.less +364 -345
- package/lib/components/Table/type.d.ts +63 -0
- package/lib/components/Table/type.js +8 -0
- package/lib/components/Table/util.d.ts +58 -0
- package/lib/components/Table/util.js +227 -0
- package/lib/components/Tabs/style.css +127 -78
- package/lib/components/Tabs/style.less +33 -33
- package/lib/components/TagList/Tag/style.css +5 -5
- package/lib/components/TagList/Tag/style.less +72 -72
- package/lib/components/TagList/TagSwitch/style.css +1 -1
- package/lib/components/TagList/TagSwitch/style.less +28 -28
- package/lib/components/TagList/style.css +6 -6
- package/lib/components/TagList/style.less +28 -28
- package/lib/components/Timeline/TimelineItem/style.css +1 -1
- package/lib/components/Timeline/TimelineItem/style.less +49 -49
- package/lib/components/Timeline/style.less +23 -23
- package/lib/components/TopologyChart/index.d.ts +7 -0
- package/lib/components/TopologyChart/index.js +28 -0
- package/lib/components/TopologyChart/style.css +14 -0
- package/lib/components/TopologyChart/style.less +14 -0
- package/lib/components/Transfer/List/style.less +19 -19
- package/lib/components/Transfer/ListBody/style.less +18 -18
- package/lib/components/Transfer/style.less +14 -14
- package/lib/components/TreeSelector/style.css +42 -30
- package/lib/components/TreeSelector/style.less +56 -56
- package/lib/constants/language/datetime/en.js +4 -2
- package/lib/constants/language/datetime/type.d.ts +4 -2
- package/lib/constants/language/datetime/zh.js +4 -2
- package/lib/index.css +4782 -3678
- package/lib/index.d.ts +2 -0
- package/lib/index.js +8 -1
- package/lib/index.less +56 -54
- package/lib/style/mixin.less +45 -45
- package/lib/style/theme.less +416 -416
- package/package.json +10 -6
@@ -17,19 +17,20 @@
|
|
17
17
|
border-radius: 2px;
|
18
18
|
-webkit-transition: all 0.3s;
|
19
19
|
transition: all 0.3s;
|
20
|
-
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
21
20
|
display: -webkit-inline-box;
|
22
21
|
display: -ms-inline-flexbox;
|
23
22
|
display: inline-flex;
|
24
23
|
}
|
25
|
-
.ant-input-affix-wrapper::-moz-placeholder {
|
26
|
-
opacity: 1;
|
27
|
-
}
|
28
24
|
.ant-input-affix-wrapper::-webkit-input-placeholder {
|
29
25
|
color: #bfbfbf;
|
30
26
|
-webkit-user-select: none;
|
31
27
|
user-select: none;
|
32
28
|
}
|
29
|
+
.ant-input-affix-wrapper::-moz-placeholder {
|
30
|
+
color: #bfbfbf;
|
31
|
+
-moz-user-select: none;
|
32
|
+
user-select: none;
|
33
|
+
}
|
33
34
|
.ant-input-affix-wrapper::-ms-input-placeholder {
|
34
35
|
color: #bfbfbf;
|
35
36
|
-ms-user-select: none;
|
@@ -46,8 +47,8 @@
|
|
46
47
|
text-overflow: ellipsis;
|
47
48
|
}
|
48
49
|
.ant-input-affix-wrapper:hover {
|
49
|
-
border-color: #
|
50
|
-
border-right-width: 1px
|
50
|
+
border-color: #436bff;
|
51
|
+
border-right-width: 1px;
|
51
52
|
}
|
52
53
|
.ant-input-rtl .ant-input-affix-wrapper:hover {
|
53
54
|
border-right-width: 0;
|
@@ -55,10 +56,10 @@
|
|
55
56
|
}
|
56
57
|
.ant-input-affix-wrapper:focus,
|
57
58
|
.ant-input-affix-wrapper-focused {
|
58
|
-
border-color: #
|
59
|
-
-webkit-box-shadow: 0 0 0 2px rgba(
|
60
|
-
box-shadow: 0 0 0 2px rgba(
|
61
|
-
border-right-width: 1px
|
59
|
+
border-color: #6b90ff;
|
60
|
+
-webkit-box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
|
61
|
+
box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
|
62
|
+
border-right-width: 1px;
|
62
63
|
outline: 0;
|
63
64
|
}
|
64
65
|
.ant-input-rtl .ant-input-affix-wrapper:focus,
|
@@ -77,7 +78,7 @@
|
|
77
78
|
}
|
78
79
|
.ant-input-affix-wrapper-disabled:hover {
|
79
80
|
border-color: #bfbfbf;
|
80
|
-
border-right-width: 1px
|
81
|
+
border-right-width: 1px;
|
81
82
|
}
|
82
83
|
.ant-input-affix-wrapper[disabled] {
|
83
84
|
color: rgba(0, 0, 0, 0.25);
|
@@ -90,7 +91,7 @@
|
|
90
91
|
}
|
91
92
|
.ant-input-affix-wrapper[disabled]:hover {
|
92
93
|
border-color: #bfbfbf;
|
93
|
-
border-right-width: 1px
|
94
|
+
border-right-width: 1px;
|
94
95
|
}
|
95
96
|
.ant-input-affix-wrapper-borderless,
|
96
97
|
.ant-input-affix-wrapper-borderless:hover,
|
@@ -123,8 +124,8 @@ textarea.ant-input-affix-wrapper {
|
|
123
124
|
direction: rtl;
|
124
125
|
}
|
125
126
|
.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
126
|
-
border-color: #
|
127
|
-
border-right-width: 1px
|
127
|
+
border-color: #436bff;
|
128
|
+
border-right-width: 1px;
|
128
129
|
z-index: 1;
|
129
130
|
}
|
130
131
|
.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
@@ -139,18 +140,22 @@ textarea.ant-input-affix-wrapper {
|
|
139
140
|
z-index: 1;
|
140
141
|
}
|
141
142
|
.ant-input-affix-wrapper-disabled .ant-input[disabled] {
|
142
|
-
background:
|
143
|
+
background: rgba(255, 255, 255, 0);
|
143
144
|
}
|
144
|
-
.ant-input-affix-wrapper >
|
145
|
-
|
145
|
+
.ant-input-affix-wrapper > .ant-input {
|
146
|
+
font-size: inherit;
|
146
147
|
border: none;
|
147
148
|
outline: none;
|
148
149
|
}
|
149
|
-
.ant-input-affix-wrapper >
|
150
|
+
.ant-input-affix-wrapper > .ant-input:focus {
|
150
151
|
-webkit-box-shadow: none !important;
|
151
152
|
box-shadow: none !important;
|
152
153
|
}
|
154
|
+
.ant-input-affix-wrapper > .ant-input:not(textarea) {
|
155
|
+
padding: 0;
|
156
|
+
}
|
153
157
|
.ant-input-affix-wrapper::before {
|
158
|
+
display: inline-block;
|
154
159
|
width: 0;
|
155
160
|
visibility: hidden;
|
156
161
|
content: '\a0';
|
@@ -167,13 +172,24 @@ textarea.ant-input-affix-wrapper {
|
|
167
172
|
-ms-flex-align: center;
|
168
173
|
align-items: center;
|
169
174
|
}
|
175
|
+
.ant-input-prefix > *:not(:last-child),
|
176
|
+
.ant-input-suffix > *:not(:last-child) {
|
177
|
+
margin-right: 8px;
|
178
|
+
}
|
179
|
+
.ant-input-show-count-suffix {
|
180
|
+
color: rgba(0, 0, 0, 0.45);
|
181
|
+
}
|
182
|
+
.ant-input-show-count-has-suffix {
|
183
|
+
margin-right: 2px;
|
184
|
+
}
|
170
185
|
.ant-input-prefix {
|
171
186
|
margin-right: 4px;
|
172
187
|
}
|
173
188
|
.ant-input-suffix {
|
174
189
|
margin-left: 4px;
|
175
190
|
}
|
176
|
-
.anticon.ant-input-clear-icon
|
191
|
+
.anticon.ant-input-clear-icon,
|
192
|
+
.ant-input-clear-icon {
|
177
193
|
margin: 0;
|
178
194
|
color: rgba(0, 0, 0, 0.25);
|
179
195
|
font-size: 12px;
|
@@ -182,28 +198,109 @@ textarea.ant-input-affix-wrapper {
|
|
182
198
|
-webkit-transition: color 0.3s;
|
183
199
|
transition: color 0.3s;
|
184
200
|
}
|
185
|
-
.anticon.ant-input-clear-icon:hover
|
201
|
+
.anticon.ant-input-clear-icon:hover,
|
202
|
+
.ant-input-clear-icon:hover {
|
186
203
|
color: rgba(0, 0, 0, 0.45);
|
187
204
|
}
|
188
|
-
.anticon.ant-input-clear-icon:active
|
205
|
+
.anticon.ant-input-clear-icon:active,
|
206
|
+
.ant-input-clear-icon:active {
|
189
207
|
color: rgba(0, 0, 0, 0.65);
|
190
208
|
}
|
191
|
-
.anticon.ant-input-clear-icon-hidden
|
209
|
+
.anticon.ant-input-clear-icon-hidden,
|
210
|
+
.ant-input-clear-icon-hidden {
|
192
211
|
visibility: hidden;
|
193
212
|
}
|
194
|
-
.anticon.ant-input-clear-icon-has-suffix
|
213
|
+
.anticon.ant-input-clear-icon-has-suffix,
|
214
|
+
.ant-input-clear-icon-has-suffix {
|
195
215
|
margin: 0 4px;
|
196
216
|
}
|
197
|
-
.ant-input-affix-wrapper-textarea-with-clear-btn {
|
198
|
-
padding: 0
|
199
|
-
border: 0 !important;
|
217
|
+
.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn {
|
218
|
+
padding: 0;
|
200
219
|
}
|
201
|
-
.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon {
|
220
|
+
.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon {
|
202
221
|
position: absolute;
|
203
222
|
top: 8px;
|
204
223
|
right: 8px;
|
205
224
|
z-index: 1;
|
206
225
|
}
|
226
|
+
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,
|
227
|
+
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {
|
228
|
+
background: transparent;
|
229
|
+
border-color: #f5222d;
|
230
|
+
}
|
231
|
+
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
|
232
|
+
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
|
233
|
+
border-color: #ff4d4f;
|
234
|
+
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
|
235
|
+
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
|
236
|
+
border-right-width: 1px;
|
237
|
+
outline: 0;
|
238
|
+
}
|
239
|
+
.ant-input-status-error .ant-input-prefix {
|
240
|
+
color: #f5222d;
|
241
|
+
}
|
242
|
+
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,
|
243
|
+
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {
|
244
|
+
background: transparent;
|
245
|
+
border-color: #f0a818;
|
246
|
+
}
|
247
|
+
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
|
248
|
+
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
|
249
|
+
border-color: #fcc442;
|
250
|
+
-webkit-box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
|
251
|
+
box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
|
252
|
+
border-right-width: 1px;
|
253
|
+
outline: 0;
|
254
|
+
}
|
255
|
+
.ant-input-status-warning .ant-input-prefix {
|
256
|
+
color: #f0a818;
|
257
|
+
}
|
258
|
+
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,
|
259
|
+
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
|
260
|
+
background: transparent;
|
261
|
+
border-color: #f5222d;
|
262
|
+
}
|
263
|
+
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
|
264
|
+
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
|
265
|
+
border-color: #ff4d4f;
|
266
|
+
-webkit-box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
|
267
|
+
box-shadow: 0 0 0 2px rgba(245, 34, 45, 0.2);
|
268
|
+
border-right-width: 1px;
|
269
|
+
outline: 0;
|
270
|
+
}
|
271
|
+
.ant-input-affix-wrapper-status-error .ant-input-prefix {
|
272
|
+
color: #f5222d;
|
273
|
+
}
|
274
|
+
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,
|
275
|
+
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
|
276
|
+
background: transparent;
|
277
|
+
border-color: #f0a818;
|
278
|
+
}
|
279
|
+
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
|
280
|
+
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
|
281
|
+
border-color: #fcc442;
|
282
|
+
-webkit-box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
|
283
|
+
box-shadow: 0 0 0 2px rgba(240, 168, 24, 0.2);
|
284
|
+
border-right-width: 1px;
|
285
|
+
outline: 0;
|
286
|
+
}
|
287
|
+
.ant-input-affix-wrapper-status-warning .ant-input-prefix {
|
288
|
+
color: #f0a818;
|
289
|
+
}
|
290
|
+
.ant-input-textarea-status-error.ant-input-textarea-has-feedback .ant-input,
|
291
|
+
.ant-input-textarea-status-warning.ant-input-textarea-has-feedback .ant-input,
|
292
|
+
.ant-input-textarea-status-success.ant-input-textarea-has-feedback .ant-input,
|
293
|
+
.ant-input-textarea-status-validating.ant-input-textarea-has-feedback .ant-input {
|
294
|
+
padding-right: 24px;
|
295
|
+
}
|
296
|
+
.ant-input-group-wrapper-status-error .ant-input-group-addon {
|
297
|
+
color: #f5222d;
|
298
|
+
border-color: #f5222d;
|
299
|
+
}
|
300
|
+
.ant-input-group-wrapper-status-warning .ant-input-group-addon {
|
301
|
+
color: #f0a818;
|
302
|
+
border-color: #f0a818;
|
303
|
+
}
|
207
304
|
.ant-input {
|
208
305
|
-webkit-box-sizing: border-box;
|
209
306
|
box-sizing: border-box;
|
@@ -228,16 +325,17 @@ textarea.ant-input-affix-wrapper {
|
|
228
325
|
border-radius: 2px;
|
229
326
|
-webkit-transition: all 0.3s;
|
230
327
|
transition: all 0.3s;
|
231
|
-
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
232
|
-
}
|
233
|
-
.ant-input::-moz-placeholder {
|
234
|
-
opacity: 1;
|
235
328
|
}
|
236
329
|
.ant-input::-webkit-input-placeholder {
|
237
330
|
color: #bfbfbf;
|
238
331
|
-webkit-user-select: none;
|
239
332
|
user-select: none;
|
240
333
|
}
|
334
|
+
.ant-input::-moz-placeholder {
|
335
|
+
color: #bfbfbf;
|
336
|
+
-moz-user-select: none;
|
337
|
+
user-select: none;
|
338
|
+
}
|
241
339
|
.ant-input::-ms-input-placeholder {
|
242
340
|
color: #bfbfbf;
|
243
341
|
-ms-user-select: none;
|
@@ -254,8 +352,8 @@ textarea.ant-input-affix-wrapper {
|
|
254
352
|
text-overflow: ellipsis;
|
255
353
|
}
|
256
354
|
.ant-input:hover {
|
257
|
-
border-color: #
|
258
|
-
border-right-width: 1px
|
355
|
+
border-color: #436bff;
|
356
|
+
border-right-width: 1px;
|
259
357
|
}
|
260
358
|
.ant-input-rtl .ant-input:hover {
|
261
359
|
border-right-width: 0;
|
@@ -263,10 +361,10 @@ textarea.ant-input-affix-wrapper {
|
|
263
361
|
}
|
264
362
|
.ant-input:focus,
|
265
363
|
.ant-input-focused {
|
266
|
-
border-color: #
|
267
|
-
-webkit-box-shadow: 0 0 0 2px rgba(
|
268
|
-
box-shadow: 0 0 0 2px rgba(
|
269
|
-
border-right-width: 1px
|
364
|
+
border-color: #6b90ff;
|
365
|
+
-webkit-box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
|
366
|
+
box-shadow: 0 0 0 2px rgba(67, 107, 255, 0.2);
|
367
|
+
border-right-width: 1px;
|
270
368
|
outline: 0;
|
271
369
|
}
|
272
370
|
.ant-input-rtl .ant-input:focus,
|
@@ -285,7 +383,7 @@ textarea.ant-input-affix-wrapper {
|
|
285
383
|
}
|
286
384
|
.ant-input-disabled:hover {
|
287
385
|
border-color: #bfbfbf;
|
288
|
-
border-right-width: 1px
|
386
|
+
border-right-width: 1px;
|
289
387
|
}
|
290
388
|
.ant-input[disabled] {
|
291
389
|
color: rgba(0, 0, 0, 0.25);
|
@@ -298,7 +396,7 @@ textarea.ant-input-affix-wrapper {
|
|
298
396
|
}
|
299
397
|
.ant-input[disabled]:hover {
|
300
398
|
border-color: #bfbfbf;
|
301
|
-
border-right-width: 1px
|
399
|
+
border-right-width: 1px;
|
302
400
|
}
|
303
401
|
.ant-input-borderless,
|
304
402
|
.ant-input-borderless:hover,
|
@@ -419,7 +517,7 @@ textarea.ant-input {
|
|
419
517
|
}
|
420
518
|
.ant-input-group-addon .ant-select-open .ant-select-selector,
|
421
519
|
.ant-input-group-addon .ant-select-focused .ant-select-selector {
|
422
|
-
color: #
|
520
|
+
color: #436bff;
|
423
521
|
}
|
424
522
|
.ant-input-group-addon .ant-cascader-picker {
|
425
523
|
margin: -9px -12px;
|
@@ -526,11 +624,8 @@ textarea.ant-input {
|
|
526
624
|
vertical-align: top;
|
527
625
|
border-radius: 0;
|
528
626
|
}
|
529
|
-
.ant-input-group.ant-input-group-compact > .ant-input-affix-wrapper
|
530
|
-
|
531
|
-
display: -ms-inline-flexbox;
|
532
|
-
display: inline-flex;
|
533
|
-
}
|
627
|
+
.ant-input-group.ant-input-group-compact > .ant-input-affix-wrapper,
|
628
|
+
.ant-input-group.ant-input-group-compact > .ant-input-number-affix-wrapper,
|
534
629
|
.ant-input-group.ant-input-group-compact > .ant-picker-range {
|
535
630
|
display: -webkit-inline-box;
|
536
631
|
display: -ms-inline-flexbox;
|
@@ -609,6 +704,7 @@ textarea.ant-input {
|
|
609
704
|
.ant-input-group-rtl .ant-input-group-addon:last-child {
|
610
705
|
border-right: 0;
|
611
706
|
border-left: 1px solid #bfbfbf;
|
707
|
+
border-radius: 2px 0 0 2px;
|
612
708
|
}
|
613
709
|
.ant-input-group-rtl.ant-input-group > .ant-input:last-child,
|
614
710
|
.ant-input-group-rtl.ant-input-group-addon:last-child {
|
@@ -652,13 +748,13 @@ textarea.ant-input {
|
|
652
748
|
text-align: start;
|
653
749
|
vertical-align: top;
|
654
750
|
}
|
655
|
-
.ant-input-password-icon {
|
751
|
+
.ant-input-password-icon.anticon {
|
656
752
|
color: rgba(0, 0, 0, 0.45);
|
657
753
|
cursor: pointer;
|
658
754
|
-webkit-transition: all 0.3s;
|
659
755
|
transition: all 0.3s;
|
660
756
|
}
|
661
|
-
.ant-input-password-icon:hover {
|
757
|
+
.ant-input-password-icon.anticon:hover {
|
662
758
|
color: rgba(0, 0, 0, 0.85);
|
663
759
|
}
|
664
760
|
.ant-input[type='color'] {
|
@@ -672,6 +768,9 @@ textarea.ant-input {
|
|
672
768
|
padding-top: 3px;
|
673
769
|
padding-bottom: 3px;
|
674
770
|
}
|
771
|
+
.ant-input-textarea-show-count > .ant-input {
|
772
|
+
height: 100%;
|
773
|
+
}
|
675
774
|
.ant-input-textarea-show-count::after {
|
676
775
|
float: right;
|
677
776
|
color: rgba(0, 0, 0, 0.45);
|
@@ -679,13 +778,63 @@ textarea.ant-input {
|
|
679
778
|
content: attr(data-count);
|
680
779
|
pointer-events: none;
|
681
780
|
}
|
781
|
+
.ant-input-textarea-show-count.ant-input-textarea-in-form-item::after {
|
782
|
+
margin-bottom: -22px;
|
783
|
+
}
|
784
|
+
.ant-input-textarea-suffix {
|
785
|
+
position: absolute;
|
786
|
+
top: 0;
|
787
|
+
right: 11px;
|
788
|
+
bottom: 0;
|
789
|
+
z-index: 1;
|
790
|
+
display: -webkit-inline-box;
|
791
|
+
display: -ms-inline-flexbox;
|
792
|
+
display: inline-flex;
|
793
|
+
-webkit-box-align: center;
|
794
|
+
-ms-flex-align: center;
|
795
|
+
align-items: center;
|
796
|
+
margin: auto;
|
797
|
+
}
|
798
|
+
.ant-input-compact-item:not(.ant-input-compact-last-item):not(.ant-input-compact-item-rtl) {
|
799
|
+
margin-right: -1px;
|
800
|
+
}
|
801
|
+
.ant-input-compact-item:not(.ant-input-compact-last-item).ant-input-compact-item-rtl {
|
802
|
+
margin-left: -1px;
|
803
|
+
}
|
804
|
+
.ant-input-compact-item:hover,
|
805
|
+
.ant-input-compact-item:focus,
|
806
|
+
.ant-input-compact-item:active {
|
807
|
+
z-index: 2;
|
808
|
+
}
|
809
|
+
.ant-input-compact-item[disabled] {
|
810
|
+
z-index: 0;
|
811
|
+
}
|
812
|
+
.ant-input-compact-item:not(.ant-input-compact-first-item):not(.ant-input-compact-last-item).ant-input {
|
813
|
+
border-radius: 0;
|
814
|
+
}
|
815
|
+
.ant-input-compact-item.ant-input.ant-input-compact-first-item:not(.ant-input-compact-last-item):not(.ant-input-compact-item-rtl) {
|
816
|
+
border-top-right-radius: 0;
|
817
|
+
border-bottom-right-radius: 0;
|
818
|
+
}
|
819
|
+
.ant-input-compact-item.ant-input.ant-input-compact-last-item:not(.ant-input-compact-first-item):not(.ant-input-compact-item-rtl) {
|
820
|
+
border-top-left-radius: 0;
|
821
|
+
border-bottom-left-radius: 0;
|
822
|
+
}
|
823
|
+
.ant-input-compact-item.ant-input.ant-input-compact-item-rtl.ant-input-compact-first-item:not(.ant-input-compact-last-item) {
|
824
|
+
border-top-left-radius: 0;
|
825
|
+
border-bottom-left-radius: 0;
|
826
|
+
}
|
827
|
+
.ant-input-compact-item.ant-input.ant-input-compact-item-rtl.ant-input-compact-last-item:not(.ant-input-compact-first-item) {
|
828
|
+
border-top-right-radius: 0;
|
829
|
+
border-bottom-right-radius: 0;
|
830
|
+
}
|
682
831
|
.ant-input-search .ant-input:hover,
|
683
832
|
.ant-input-search .ant-input:focus {
|
684
|
-
border-color: #
|
833
|
+
border-color: #436bff;
|
685
834
|
}
|
686
835
|
.ant-input-search .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),
|
687
836
|
.ant-input-search .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {
|
688
|
-
border-left-color: #
|
837
|
+
border-left-color: #436bff;
|
689
838
|
}
|
690
839
|
.ant-input-search .ant-input-affix-wrapper {
|
691
840
|
border-radius: 0;
|
@@ -725,6 +874,32 @@ textarea.ant-input {
|
|
725
874
|
.ant-input-search-small .ant-input-search-button {
|
726
875
|
height: 26px;
|
727
876
|
}
|
877
|
+
.ant-input-search.ant-input-compact-item:not(.ant-input-compact-item-rtl):not(.ant-input-compact-last-item) .ant-input-group-addon .ant-input-search-button {
|
878
|
+
margin-right: -1px;
|
879
|
+
border-radius: 0;
|
880
|
+
}
|
881
|
+
.ant-input-search.ant-input-compact-item:not(.ant-input-compact-first-item) .ant-input,
|
882
|
+
.ant-input-search.ant-input-compact-item:not(.ant-input-compact-first-item) .ant-input-affix-wrapper {
|
883
|
+
border-radius: 0;
|
884
|
+
}
|
885
|
+
.ant-input-search.ant-input-compact-item > .ant-input-group-addon .ant-input-search-button:hover,
|
886
|
+
.ant-input-search.ant-input-compact-item > .ant-input:hover,
|
887
|
+
.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:hover,
|
888
|
+
.ant-input-search.ant-input-compact-item > .ant-input-group-addon .ant-input-search-button:focus,
|
889
|
+
.ant-input-search.ant-input-compact-item > .ant-input:focus,
|
890
|
+
.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:focus,
|
891
|
+
.ant-input-search.ant-input-compact-item > .ant-input-group-addon .ant-input-search-button:active,
|
892
|
+
.ant-input-search.ant-input-compact-item > .ant-input:active,
|
893
|
+
.ant-input-search.ant-input-compact-item .ant-input-affix-wrapper:active {
|
894
|
+
z-index: 2;
|
895
|
+
}
|
896
|
+
.ant-input-search.ant-input-compact-item > .ant-input-affix-wrapper-focused {
|
897
|
+
z-index: 2;
|
898
|
+
}
|
899
|
+
.ant-input-search.ant-input-compact-item-rtl:not(.ant-input-compact-last-item) .ant-input-group-addon:last-child .ant-input-search-button {
|
900
|
+
margin-left: -1px;
|
901
|
+
border-radius: 0;
|
902
|
+
}
|
728
903
|
.ant-input-group-wrapper-rtl {
|
729
904
|
direction: rtl;
|
730
905
|
}
|
@@ -760,18 +935,21 @@ textarea.ant-input {
|
|
760
935
|
}
|
761
936
|
.ant-input-search-rtl .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),
|
762
937
|
.ant-input-search-rtl .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {
|
763
|
-
border-right-color: #2c6dd2;
|
764
938
|
border-left-color: #e5e5e5;
|
765
939
|
}
|
940
|
+
.ant-input-search-rtl .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover,
|
941
|
+
.ant-input-search-rtl .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover {
|
942
|
+
border-left-color: #436bff;
|
943
|
+
}
|
766
944
|
.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper:hover,
|
767
945
|
.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper-focused {
|
768
|
-
border-right-color: #
|
946
|
+
border-right-color: #436bff;
|
769
947
|
}
|
770
|
-
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon {
|
948
|
+
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon:last-child {
|
771
949
|
right: -1px;
|
772
950
|
left: auto;
|
773
951
|
}
|
774
|
-
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon .ant-input-search-button {
|
952
|
+
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button {
|
775
953
|
border-radius: 2px 0 0 2px;
|
776
954
|
}
|
777
955
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
@@ -1,9 +1,9 @@
|
|
1
|
-
@import 'antd/lib/input/style/index.less';
|
2
|
-
@import '../../../style/theme.less';
|
3
|
-
|
4
|
-
.@{sdk-prefix}-datetime-pick-input {
|
5
|
-
.@{ant-prefix}-input-suffix {
|
6
|
-
pointer-events: none;
|
7
|
-
color: @font-color-3;
|
8
|
-
}
|
9
|
-
}
|
1
|
+
@import 'antd/lib/input/style/index.less';
|
2
|
+
@import '../../../style/theme.less';
|
3
|
+
|
4
|
+
.@{sdk-prefix}-datetime-pick-input {
|
5
|
+
.@{ant-prefix}-input-suffix {
|
6
|
+
pointer-events: none;
|
7
|
+
color: @font-color-3;
|
8
|
+
}
|
9
|
+
}
|
@@ -6,7 +6,8 @@ export declare enum TimeType {
|
|
6
6
|
Preset = "1",
|
7
7
|
Relative = "2",
|
8
8
|
Absolute = "3",
|
9
|
-
Quarter = "4"
|
9
|
+
Quarter = "4",
|
10
|
+
OnlyTradingDay = "onlyTradingDay"
|
10
11
|
}
|
11
12
|
export declare enum EPresetMode {
|
12
13
|
EXTRA = "extra",
|
@@ -44,7 +45,7 @@ export interface IRelativeTimeUnit {
|
|
44
45
|
time: (num: number) => moment().startOf('day').subtract(num, 'days')
|
45
46
|
}
|
46
47
|
*
|
47
|
-
|
48
|
+
|
48
49
|
* 像 昨天、前天、上个月,不需要用户再额外输入数字。
|
49
50
|
* {
|
50
51
|
text: '昨天',
|
@@ -93,7 +94,7 @@ export declare const relativeTimeUnitsWithoutNowStatic: {
|
|
93
94
|
time: (num: number) => moment().startOf('day').subtract(num, 'days')
|
94
95
|
}
|
95
96
|
*
|
96
|
-
|
97
|
+
|
97
98
|
* 像 昨天、前天、上个月,不需要用户再额外输入数字。
|
98
99
|
* {
|
99
100
|
text: '昨天',
|
@@ -148,6 +149,10 @@ export interface ITime {
|
|
148
149
|
* 季度
|
149
150
|
*/
|
150
151
|
quarterTime?: IQuarterTime;
|
152
|
+
/**
|
153
|
+
* 仅查看交易日
|
154
|
+
*/
|
155
|
+
onlyTradingDay?: boolean;
|
151
156
|
}
|
152
157
|
export interface IBaseProps {
|
153
158
|
/**
|
@@ -262,6 +267,7 @@ export interface ITimeRange {
|
|
262
267
|
to?: string | null;
|
263
268
|
rangePreset?: RangePreset;
|
264
269
|
quarterTime?: IQuarterTime;
|
270
|
+
onlyTradingDay?: boolean;
|
265
271
|
}
|
266
272
|
export declare enum TimeShiftUnit {
|
267
273
|
Second = "seconds",
|
@@ -84,7 +84,7 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
84
84
|
var ismobile = isMobileDevice() && showTimeType && showTimeType.length;
|
85
85
|
return (React.createElement("div", null,
|
86
86
|
ismobile && (React.createElement(BaseMobile, __assign({}, restProps, { showTimeType: showTimeType, buttonType: EButtonType.Normal, value: value || this.props.defaultValue, onChange: this.handleChange }))),
|
87
|
-
!ismobile && (React.createElement(Popover, { placement: this.props.placement, trigger: "click",
|
87
|
+
!ismobile && (React.createElement(Popover, { placement: this.props.placement, trigger: "click", open: this.visible, overlayClassName: classnames(SDK_PREFIX + "-datetime-pick-popover-root", overlayClassName), getPopupContainer: getPopupContainer, onOpenChange: this.setVisible, getTooltipContainer: this.props.getPopupContainer, content: React.createElement(Base, __assign({}, restProps, { showTimeType: showTimeType, onChange: this.handleChange, className: classnames(SDK_PREFIX + "-datetime-pick-popover", timeClassName), getPopupContainer: getPopupContainer, value: value || this.props.defaultValue })) }, children || (React.createElement(DisplayInput, { value: value || this.props.defaultValue, timeFormat: this.props.timeFormat, presets: this.props.presets, className: contentClassName }))))));
|
88
88
|
};
|
89
89
|
DateTimePicker.Base = Base;
|
90
90
|
DateTimePicker.BaseMobile = BaseMobile;
|