@qn-pandora/pandora-component 4.1.3 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +46 -0
- package/CHANGELOG.md +28 -31
- package/README.md +36 -36
- package/es/components/AutoComplete/style.css +0 -6
- package/es/components/AutoComplete/style.less +8 -8
- package/es/components/Breadcrumb/style.css +0 -6
- package/es/components/Breadcrumb/style.less +9 -9
- package/es/components/Button/style.css +0 -6
- package/es/components/Button/style.less +51 -51
- package/es/components/Card/RowExtra/style.css +0 -6
- package/es/components/Card/RowExtra/style.less +8 -8
- package/es/components/Card/SearchInput/style.css +0 -6
- package/es/components/Card/SearchInput/style.less +8 -8
- package/es/components/Card/style.css +0 -6
- package/es/components/Card/style.less +11 -11
- package/es/components/CheckTransformList/Item/index.js +1 -1
- package/es/components/CheckTransformList/style.css +0 -6
- package/es/components/CheckTransformList/style.less +35 -35
- package/es/components/Checkbox/style.less +5 -5
- package/es/components/CheckboxList/style.css +0 -6
- package/es/components/CheckboxList/style.less +11 -11
- package/es/components/Collapse/style.css +0 -6
- package/es/components/Collapse/style.less +57 -57
- package/es/components/CollapsiblePanel/style.css +0 -6
- package/es/components/CollapsiblePanel/style.less +63 -63
- package/es/components/DateTimePicker/Base/style.css +0 -6
- package/es/components/DateTimePicker/Base/style.less +160 -160
- package/es/components/DateTimePicker/BaseMobile/Absolute/index.js +1 -1
- package/es/components/DateTimePicker/BaseMobile/Absolute/style.css +0 -6
- package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/es/components/DateTimePicker/BaseMobile/style.css +0 -6
- package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/es/components/DateTimePicker/Collapse/Panel/style.css +0 -6
- package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/es/components/DateTimePicker/DisplayInput/style.css +0 -6
- package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/es/components/DateTimePicker/style.css +0 -6
- package/es/components/DateTimePicker/style.less +19 -19
- package/es/components/Descriptions/style.css +0 -6
- package/es/components/Descriptions/style.less +15 -15
- package/es/components/Drawer/CloseIcon/index.js +4 -2
- package/es/components/Drawer/CloseIcon/style.css +0 -6
- package/es/components/Drawer/CloseIcon/style.less +8 -8
- package/es/components/Drawer/style.css +0 -6
- package/es/components/Drawer/style.less +48 -48
- package/es/components/FileResumable/style.css +0 -6
- package/es/components/FileResumable/style.less +94 -94
- package/es/components/Input/style.css +0 -6
- package/es/components/Input/style.less +12 -12
- package/es/components/KeyValuePair/style.css +0 -6
- package/es/components/KeyValuePair/style.less +25 -25
- package/es/components/Menu/style.css +0 -6
- package/es/components/Menu/style.less +18 -18
- package/es/components/Modal/style.css +0 -6
- package/es/components/Modal/style.less +30 -30
- package/es/components/NameExplainTooltip/style.css +0 -6
- package/es/components/NameExplainTooltip/style.less +10 -10
- package/es/components/NameLimiter/style.css +0 -6
- package/es/components/NameLimiter/style.less +19 -19
- package/es/components/OptionList/InlineOptionList/style.css +0 -6
- package/es/components/OptionList/InlineOptionList/style.less +16 -16
- package/es/components/OptionList/OptionItem/style.css +0 -6
- package/es/components/OptionList/OptionItem/style.less +25 -25
- package/es/components/OptionList/PopoverOptionList/style.css +0 -6
- package/es/components/OptionList/PopoverOptionList/style.less +30 -30
- package/es/components/OptionList/style.css +0 -6
- package/es/components/OptionList/style.less +3 -3
- package/es/components/RadioGroup/style.css +0 -6
- package/es/components/RadioGroup/style.less +32 -32
- package/es/components/RangeInput/style.css +0 -6
- package/es/components/RangeInput/style.less +37 -37
- package/es/components/RemarkName/style.css +0 -6
- package/es/components/RemarkName/style.less +2 -2
- package/es/components/Selector/index.js +2 -2
- package/es/components/Selector/style.css +0 -6
- package/es/components/Selector/style.less +99 -99
- package/es/components/Spin/style.css +0 -6
- package/es/components/Spin/style.less +26 -26
- package/es/components/Steps/ControlButton/style.css +0 -6
- package/es/components/Steps/ControlButton/style.less +5 -5
- package/es/components/Steps/style.css +0 -6
- package/es/components/Steps/style.less +48 -48
- package/es/components/Table/ColumnTag/style.css +0 -6
- package/es/components/Table/ColumnTag/style.less +40 -40
- package/es/components/Table/style.css +0 -6
- package/es/components/Table/style.less +314 -314
- package/es/components/Tabs/style.css +0 -6
- package/es/components/Tabs/style.less +33 -33
- package/es/components/TagList/Tag/style.css +0 -6
- package/es/components/TagList/Tag/style.less +72 -72
- package/es/components/TagList/TagSwitch/style.css +0 -6
- package/es/components/TagList/TagSwitch/style.less +28 -28
- package/es/components/TagList/style.css +0 -6
- package/es/components/TagList/style.less +28 -28
- package/es/components/Timeline/TimelineItem/style.css +0 -6
- package/es/components/Timeline/TimelineItem/style.less +49 -49
- package/es/components/Timeline/style.css +0 -6
- package/es/components/Timeline/style.less +23 -23
- package/es/components/Transfer/List/style.css +0 -6
- package/es/components/Transfer/List/style.less +19 -19
- package/es/components/Transfer/ListBody/style.css +0 -6
- package/es/components/Transfer/ListBody/style.less +18 -18
- package/es/components/Transfer/style.css +0 -6
- package/es/components/Transfer/style.less +14 -14
- package/es/components/TreeSelector/style.css +0 -6
- package/es/components/TreeSelector/style.less +56 -56
- package/es/index.css +412 -418
- package/es/index.less +52 -52
- package/es/style/mixin.css +0 -6
- package/es/style/mixin.less +45 -45
- package/es/style/theme.css +0 -6
- package/es/style/theme.less +394 -401
- package/es/utils/language.d.ts +2 -1
- package/es/utils/language.js +0 -1
- package/lib/components/AutoComplete/style.css +0 -6
- package/lib/components/AutoComplete/style.less +8 -8
- package/lib/components/Breadcrumb/style.css +0 -6
- package/lib/components/Breadcrumb/style.less +9 -9
- package/lib/components/Button/style.css +0 -6
- package/lib/components/Button/style.less +51 -51
- package/lib/components/Card/RowExtra/style.css +0 -6
- package/lib/components/Card/RowExtra/style.less +8 -8
- package/lib/components/Card/SearchInput/style.css +0 -6
- package/lib/components/Card/SearchInput/style.less +8 -8
- package/lib/components/Card/style.css +0 -6
- package/lib/components/Card/style.less +11 -11
- package/lib/components/CheckTransformList/Item/index.js +1 -1
- package/lib/components/CheckTransformList/style.css +0 -6
- package/lib/components/CheckTransformList/style.less +35 -35
- package/lib/components/Checkbox/style.less +5 -5
- package/lib/components/CheckboxList/style.css +0 -6
- package/lib/components/CheckboxList/style.less +11 -11
- package/lib/components/Collapse/style.css +0 -6
- package/lib/components/Collapse/style.less +57 -57
- package/lib/components/CollapsiblePanel/style.css +0 -6
- package/lib/components/CollapsiblePanel/style.less +63 -63
- package/lib/components/DateTimePicker/Base/style.css +0 -6
- package/lib/components/DateTimePicker/Base/style.less +160 -160
- package/lib/components/DateTimePicker/BaseMobile/Absolute/index.js +1 -1
- package/lib/components/DateTimePicker/BaseMobile/Absolute/style.css +0 -6
- package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/lib/components/DateTimePicker/BaseMobile/style.css +0 -6
- package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/lib/components/DateTimePicker/Collapse/Panel/style.css +0 -6
- package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/lib/components/DateTimePicker/DisplayInput/style.css +0 -6
- package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/lib/components/DateTimePicker/style.css +0 -6
- package/lib/components/DateTimePicker/style.less +19 -19
- package/lib/components/Descriptions/style.css +0 -6
- package/lib/components/Descriptions/style.less +15 -15
- package/lib/components/Drawer/CloseIcon/index.js +11 -2
- package/lib/components/Drawer/CloseIcon/style.css +0 -6
- package/lib/components/Drawer/CloseIcon/style.less +8 -8
- package/lib/components/Drawer/style.css +0 -6
- package/lib/components/Drawer/style.less +48 -48
- package/lib/components/FileResumable/style.css +0 -6
- package/lib/components/FileResumable/style.less +94 -94
- package/lib/components/Input/style.css +0 -6
- package/lib/components/Input/style.less +12 -12
- package/lib/components/KeyValuePair/style.css +0 -6
- package/lib/components/KeyValuePair/style.less +25 -25
- package/lib/components/Menu/style.css +0 -6
- package/lib/components/Menu/style.less +18 -18
- package/lib/components/Modal/style.css +0 -6
- package/lib/components/Modal/style.less +30 -30
- package/lib/components/NameExplainTooltip/style.css +0 -6
- package/lib/components/NameExplainTooltip/style.less +10 -10
- package/lib/components/NameLimiter/style.css +0 -6
- package/lib/components/NameLimiter/style.less +19 -19
- package/lib/components/OptionList/InlineOptionList/style.css +0 -6
- package/lib/components/OptionList/InlineOptionList/style.less +16 -16
- package/lib/components/OptionList/OptionItem/style.css +0 -6
- package/lib/components/OptionList/OptionItem/style.less +25 -25
- package/lib/components/OptionList/PopoverOptionList/style.css +0 -6
- package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
- package/lib/components/OptionList/style.css +0 -6
- package/lib/components/OptionList/style.less +3 -3
- package/lib/components/RadioGroup/style.css +0 -6
- package/lib/components/RadioGroup/style.less +32 -32
- package/lib/components/RangeInput/style.css +0 -6
- package/lib/components/RangeInput/style.less +37 -37
- package/lib/components/RemarkName/style.css +0 -6
- package/lib/components/RemarkName/style.less +2 -2
- package/lib/components/Selector/index.js +2 -2
- package/lib/components/Selector/style.css +0 -6
- package/lib/components/Selector/style.less +99 -99
- package/lib/components/Spin/style.css +0 -6
- package/lib/components/Spin/style.less +26 -26
- package/lib/components/Steps/ControlButton/style.css +0 -6
- package/lib/components/Steps/ControlButton/style.less +5 -5
- package/lib/components/Steps/style.css +0 -6
- package/lib/components/Steps/style.less +48 -48
- package/lib/components/Table/ColumnTag/style.css +0 -6
- package/lib/components/Table/ColumnTag/style.less +40 -40
- package/lib/components/Table/style.css +0 -6
- package/lib/components/Table/style.less +314 -314
- package/lib/components/Tabs/style.css +0 -6
- package/lib/components/Tabs/style.less +33 -33
- package/lib/components/TagList/Tag/style.css +0 -6
- package/lib/components/TagList/Tag/style.less +72 -72
- package/lib/components/TagList/TagSwitch/style.css +0 -6
- package/lib/components/TagList/TagSwitch/style.less +28 -28
- package/lib/components/TagList/style.css +0 -6
- package/lib/components/TagList/style.less +28 -28
- package/lib/components/Timeline/TimelineItem/style.css +0 -6
- package/lib/components/Timeline/TimelineItem/style.less +49 -49
- package/lib/components/Timeline/style.css +0 -6
- package/lib/components/Timeline/style.less +23 -23
- package/lib/components/Transfer/List/style.css +0 -6
- package/lib/components/Transfer/List/style.less +19 -19
- package/lib/components/Transfer/ListBody/style.css +0 -6
- package/lib/components/Transfer/ListBody/style.less +18 -18
- package/lib/components/Transfer/style.css +0 -6
- package/lib/components/Transfer/style.less +14 -14
- package/lib/components/TreeSelector/style.css +0 -6
- package/lib/components/TreeSelector/style.less +56 -56
- package/lib/index.css +2633 -2639
- package/lib/index.less +52 -52
- package/lib/style/mixin.css +0 -6
- package/lib/style/mixin.less +45 -45
- package/lib/style/theme.css +0 -6
- package/lib/style/theme.less +394 -401
- package/lib/utils/language.d.ts +2 -1
- package/lib/utils/language.js +0 -1
- package/package.json +82 -82
@@ -1,30 +1,30 @@
|
|
1
|
-
@import 'antd/lib/popover/style/index.less';
|
2
|
-
@import '../../../style/theme.less';
|
3
|
-
|
4
|
-
.@{sdk-prefix}-popover-item {
|
5
|
-
display: inline-block;
|
6
|
-
line-height: 18px;
|
7
|
-
color: @theme-color;
|
8
|
-
vertical-align: middle;
|
9
|
-
cursor: pointer;
|
10
|
-
}
|
11
|
-
|
12
|
-
.@{sdk-prefix}-popover-list {
|
13
|
-
min-width: 120px;
|
14
|
-
padding: 4px 0;
|
15
|
-
line-height: 32px;
|
16
|
-
text-align: center;
|
17
|
-
font-size: 12px;
|
18
|
-
.@{sdk-prefix}-item {
|
19
|
-
color: @heading-color;
|
20
|
-
display: block;
|
21
|
-
padding: 0 16px;
|
22
|
-
&:hover {
|
23
|
-
background: @select-popover-hover-color;
|
24
|
-
color: @theme-color;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
.@{sdk-prefix}-item.@{sdk-prefix}-disabled {
|
28
|
-
color: @font-disable-color-2;
|
29
|
-
}
|
30
|
-
}
|
1
|
+
@import 'antd/lib/popover/style/index.less';
|
2
|
+
@import '../../../style/theme.less';
|
3
|
+
|
4
|
+
.@{sdk-prefix}-popover-item {
|
5
|
+
display: inline-block;
|
6
|
+
line-height: 18px;
|
7
|
+
color: @theme-color;
|
8
|
+
vertical-align: middle;
|
9
|
+
cursor: pointer;
|
10
|
+
}
|
11
|
+
|
12
|
+
.@{sdk-prefix}-popover-list {
|
13
|
+
min-width: 120px;
|
14
|
+
padding: 4px 0;
|
15
|
+
line-height: 32px;
|
16
|
+
text-align: center;
|
17
|
+
font-size: 12px;
|
18
|
+
.@{sdk-prefix}-item {
|
19
|
+
color: @heading-color;
|
20
|
+
display: block;
|
21
|
+
padding: 0 16px;
|
22
|
+
&:hover {
|
23
|
+
background: @select-popover-hover-color;
|
24
|
+
color: @theme-color;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
.@{sdk-prefix}-item.@{sdk-prefix}-disabled {
|
28
|
+
color: @font-disable-color-2;
|
29
|
+
}
|
30
|
+
}
|
@@ -116,12 +116,6 @@
|
|
116
116
|
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after {
|
117
117
|
width: 95%;
|
118
118
|
}
|
119
|
-
.ant-btn {
|
120
|
-
padding: 4px 15px;
|
121
|
-
}
|
122
|
-
.ant-btn-sm {
|
123
|
-
padding: 0 7px;
|
124
|
-
}
|
125
119
|
.pandora-sdk-popover-inline-list {
|
126
120
|
display: inline-block;
|
127
121
|
vertical-align: middle;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
@import './InlineOptionList/style.less';
|
2
|
-
@import './OptionItem/style.less';
|
3
|
-
@import './PopoverOptionList/style.less';
|
1
|
+
@import './InlineOptionList/style.less';
|
2
|
+
@import './OptionItem/style.less';
|
3
|
+
@import './PopoverOptionList/style.less';
|
@@ -377,12 +377,6 @@ span.ant-radio + * {
|
|
377
377
|
.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child {
|
378
378
|
border-right-color: #e5e5e5;
|
379
379
|
}
|
380
|
-
.ant-btn {
|
381
|
-
padding: 4px 15px;
|
382
|
-
}
|
383
|
-
.ant-btn-sm {
|
384
|
-
padding: 0 7px;
|
385
|
-
}
|
386
380
|
.pandora-sdk-solid-radio-group .ant-radio-button-wrapper {
|
387
381
|
padding: 0 12px;
|
388
382
|
}
|
@@ -1,32 +1,32 @@
|
|
1
|
-
@import 'antd/lib/radio/style/index.less';
|
2
|
-
@import '../../style/theme.less';
|
3
|
-
|
4
|
-
.@{sdk-prefix}-solid-radio-group {
|
5
|
-
.@{ant-prefix}-radio-button-wrapper {
|
6
|
-
padding: 0 12px;
|
7
|
-
&:not(&-checked) {
|
8
|
-
border-color: @input-border-color;
|
9
|
-
}
|
10
|
-
}
|
11
|
-
|
12
|
-
.@{ant-prefix}-radio {
|
13
|
-
&:not(&-checked) {
|
14
|
-
.@{ant-prefix}-radio-inner {
|
15
|
-
border-color: @input-border-color;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
|
19
|
-
.@{ant-prefix}-radio-inner {
|
20
|
-
box-sizing: border-box;
|
21
|
-
}
|
22
|
-
|
23
|
-
.@{ant-prefix}-radio-checked {
|
24
|
-
.@{ant-prefix}-radio-inner {
|
25
|
-
border-color: @theme-color;
|
26
|
-
&::after {
|
27
|
-
background-color: @theme-color;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
1
|
+
@import 'antd/lib/radio/style/index.less';
|
2
|
+
@import '../../style/theme.less';
|
3
|
+
|
4
|
+
.@{sdk-prefix}-solid-radio-group {
|
5
|
+
.@{ant-prefix}-radio-button-wrapper {
|
6
|
+
padding: 0 12px;
|
7
|
+
&:not(&-checked) {
|
8
|
+
border-color: @input-border-color;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.@{ant-prefix}-radio {
|
13
|
+
&:not(&-checked) {
|
14
|
+
.@{ant-prefix}-radio-inner {
|
15
|
+
border-color: @input-border-color;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
.@{ant-prefix}-radio-inner {
|
20
|
+
box-sizing: border-box;
|
21
|
+
}
|
22
|
+
|
23
|
+
.@{ant-prefix}-radio-checked {
|
24
|
+
.@{ant-prefix}-radio-inner {
|
25
|
+
border-color: @theme-color;
|
26
|
+
&::after {
|
27
|
+
background-color: @theme-color;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
@@ -1509,12 +1509,6 @@ textarea.ant-input-number {
|
|
1509
1509
|
direction: ltr;
|
1510
1510
|
text-align: right;
|
1511
1511
|
}
|
1512
|
-
.ant-btn {
|
1513
|
-
padding: 4px 15px;
|
1514
|
-
}
|
1515
|
-
.ant-btn-sm {
|
1516
|
-
padding: 0 7px;
|
1517
|
-
}
|
1518
1512
|
.pandora-sdk-range-input {
|
1519
1513
|
position: relative;
|
1520
1514
|
}
|
@@ -1,37 +1,37 @@
|
|
1
|
-
@import 'antd/lib/input/style/index.less';
|
2
|
-
@import 'antd/lib/input-number/style/index.less';
|
3
|
-
@import '../../style/theme.less';
|
4
|
-
|
5
|
-
.@{sdk-prefix}-range-input {
|
6
|
-
position: relative;
|
7
|
-
.@{sdk-prefix}-range-input-symbol {
|
8
|
-
display: inline-block;
|
9
|
-
width: 40px;
|
10
|
-
line-height: 40px;
|
11
|
-
text-align: center;
|
12
|
-
}
|
13
|
-
|
14
|
-
.@{sdk-prefix}-range-input-input {
|
15
|
-
width: calc(~'50% - 20px');
|
16
|
-
text-align: center;
|
17
|
-
display: inline-block;
|
18
|
-
}
|
19
|
-
|
20
|
-
.@{sdk-prefix}-range-input-error {
|
21
|
-
color: @error-color;
|
22
|
-
line-height: 24px;
|
23
|
-
font-size: 12px;
|
24
|
-
}
|
25
|
-
|
26
|
-
.@{ant-prefix}-input-number {
|
27
|
-
width: 100%;
|
28
|
-
}
|
29
|
-
|
30
|
-
input::-webkit-outer-spin-button,
|
31
|
-
input::-webkit-inner-spin-button {
|
32
|
-
-webkit-appearance: none;
|
33
|
-
}
|
34
|
-
input[type='number'] {
|
35
|
-
-moz-appearance: textfield;
|
36
|
-
}
|
37
|
-
}
|
1
|
+
@import 'antd/lib/input/style/index.less';
|
2
|
+
@import 'antd/lib/input-number/style/index.less';
|
3
|
+
@import '../../style/theme.less';
|
4
|
+
|
5
|
+
.@{sdk-prefix}-range-input {
|
6
|
+
position: relative;
|
7
|
+
.@{sdk-prefix}-range-input-symbol {
|
8
|
+
display: inline-block;
|
9
|
+
width: 40px;
|
10
|
+
line-height: 40px;
|
11
|
+
text-align: center;
|
12
|
+
}
|
13
|
+
|
14
|
+
.@{sdk-prefix}-range-input-input {
|
15
|
+
width: calc(~'50% - 20px');
|
16
|
+
text-align: center;
|
17
|
+
display: inline-block;
|
18
|
+
}
|
19
|
+
|
20
|
+
.@{sdk-prefix}-range-input-error {
|
21
|
+
color: @error-color;
|
22
|
+
line-height: 24px;
|
23
|
+
font-size: 12px;
|
24
|
+
}
|
25
|
+
|
26
|
+
.@{ant-prefix}-input-number {
|
27
|
+
width: 100%;
|
28
|
+
}
|
29
|
+
|
30
|
+
input::-webkit-outer-spin-button,
|
31
|
+
input::-webkit-inner-spin-button {
|
32
|
+
-webkit-appearance: none;
|
33
|
+
}
|
34
|
+
input[type='number'] {
|
35
|
+
-moz-appearance: textfield;
|
36
|
+
}
|
37
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
@import '../NameLimiter/style.less';
|
2
|
-
@import '../../style/theme.less';
|
1
|
+
@import '../NameLimiter/style.less';
|
2
|
+
@import '../../style/theme.less';
|
@@ -127,8 +127,8 @@ var Selector = /** @class */ (function (_super) {
|
|
127
127
|
};
|
128
128
|
Selector.prototype.render = function () {
|
129
129
|
var _a;
|
130
|
-
var _b = this.props, options = _b.options, groupOptions = _b.groupOptions, createOptionText = _b.createOptionText, selectAllOptionText = _b.selectAllOptionText, className = _b.className, dropdownClassName = _b.dropdownClassName, getPopupContainer = _b.getPopupContainer, ellipsis = _b.ellipsis, _c = _b.showArrow, showArrow = _c === void 0 ? true : _c, isCustomFilter = _b.isCustomFilter, selectorRef = _b.selectorRef, otherProps = __rest(_b, ["options", "groupOptions", "createOptionText", "selectAllOptionText", "className", "dropdownClassName", "getPopupContainer", "ellipsis", "showArrow", "isCustomFilter", "selectorRef"]);
|
131
|
-
return (React.createElement(Select, __assign({ className: classnames(SDK_PREFIX + "-selector", className), dropdownClassName: classnames(SDK_PREFIX + "-selector-dropdown", (_a = {}, _a[SDK_PREFIX + "-selector-no-ellipsis"] = !ellipsis, _a), dropdownClassName), getPopupContainer: getPopupContainer || this.context.getPopupContainer, filterOption: this.handleFilter }, otherProps, { removeIcon: React.createElement(Icon, { type: "close-circle", theme: "filled", className: SDK_PREFIX + "-close-icon" }), showArrow: showArrow, ref: selectorRef, showSearch:
|
130
|
+
var _b = this.props, options = _b.options, groupOptions = _b.groupOptions, createOptionText = _b.createOptionText, selectAllOptionText = _b.selectAllOptionText, className = _b.className, dropdownClassName = _b.dropdownClassName, getPopupContainer = _b.getPopupContainer, ellipsis = _b.ellipsis, _c = _b.showArrow, showArrow = _c === void 0 ? true : _c, isCustomFilter = _b.isCustomFilter, selectorRef = _b.selectorRef, _d = _b.showSearch, showSearch = _d === void 0 ? true : _d, otherProps = __rest(_b, ["options", "groupOptions", "createOptionText", "selectAllOptionText", "className", "dropdownClassName", "getPopupContainer", "ellipsis", "showArrow", "isCustomFilter", "selectorRef", "showSearch"]);
|
131
|
+
return (React.createElement(Select, __assign({ className: classnames(SDK_PREFIX + "-selector", className), dropdownClassName: classnames(SDK_PREFIX + "-selector-dropdown", (_a = {}, _a[SDK_PREFIX + "-selector-no-ellipsis"] = !ellipsis, _a), dropdownClassName), getPopupContainer: getPopupContainer || this.context.getPopupContainer, filterOption: this.handleFilter }, otherProps, { removeIcon: React.createElement(Icon, { type: "close-circle", theme: "filled", className: SDK_PREFIX + "-close-icon" }), showArrow: showArrow, ref: selectorRef, showSearch: showSearch }),
|
132
132
|
createOptionText && (React.createElement(Select.Option, __assign({}, { className: SDK_PREFIX + "-selector-create-option" }, { key: "selector_create", disabled: true }, noneValueOption),
|
133
133
|
React.createElement("a", { className: SDK_PREFIX + "-selector-create-lint", onClick: this.handleCreateClick }, createOptionText))),
|
134
134
|
selectAllOptionText && (React.createElement(Select.Option, __assign({}, { className: SDK_PREFIX + "-selector-create-option" }, { key: "selector_select_all", disabled: true }, noneValueOption),
|
@@ -970,12 +970,6 @@
|
|
970
970
|
.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item {
|
971
971
|
margin-left: 8px;
|
972
972
|
}
|
973
|
-
.ant-btn {
|
974
|
-
padding: 4px 15px;
|
975
|
-
}
|
976
|
-
.ant-btn-sm {
|
977
|
-
padding: 0 7px;
|
978
|
-
}
|
979
973
|
.pandora-sdk-selector {
|
980
974
|
width: 100%;
|
981
975
|
color: #333;
|
@@ -1,99 +1,99 @@
|
|
1
|
-
@import 'antd/lib/select/style/index.less';
|
2
|
-
@import 'antd/lib/checkbox/style/index.less';
|
3
|
-
@import '../../style/theme.less';
|
4
|
-
@import '../../style/mixin.less';
|
5
|
-
|
6
|
-
.@{sdk-prefix}-selector {
|
7
|
-
width: 100%;
|
8
|
-
color: @font-color-7;
|
9
|
-
.@{ant-prefix}-select-selection {
|
10
|
-
background: @select-bg;
|
11
|
-
&:hover {
|
12
|
-
.@{ant-prefix}-select-selection__clear + .@{ant-prefix}-select-arrow {
|
13
|
-
opacity: 0;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
&.@{ant-prefix}-select-multiple {
|
18
|
-
.@{ant-prefix}-select-selection-item {
|
19
|
-
color: @font-color-6;
|
20
|
-
background: @select-selection-bg;
|
21
|
-
border: none;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
.@{ant-prefix}-select-selection-item-remove {
|
25
|
-
color: @font-disable-color;
|
26
|
-
}
|
27
|
-
.@{ant-prefix}-select-selection--single {
|
28
|
-
height: 32px;
|
29
|
-
}
|
30
|
-
.@{ant-prefix}-select-selection__rendered {
|
31
|
-
line-height: 30px;
|
32
|
-
}
|
33
|
-
.@{ant-prefix}-select-selection__clear {
|
34
|
-
background: @select-bg;
|
35
|
-
color: @font-color-6;
|
36
|
-
i {
|
37
|
-
color: inherit;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
.@{sdk-prefix}-selector-dropdown {
|
43
|
-
.@{ant-prefix}-select-dropdown-menu {
|
44
|
-
margin: 0;
|
45
|
-
.scrollbar();
|
46
|
-
}
|
47
|
-
.@{ant-prefix}-select-item-option-disabled {
|
48
|
-
color: @font-disable-color;
|
49
|
-
}
|
50
|
-
.@{ant-prefix}-select-item-option-selected {
|
51
|
-
color: @theme-color;
|
52
|
-
font-weight: 400;
|
53
|
-
}
|
54
|
-
.@{ant-prefix}-select-item-option:hover {
|
55
|
-
color: @theme-color;
|
56
|
-
}
|
57
|
-
|
58
|
-
.@{ant-prefix}-select-item-group {
|
59
|
-
color: @font-disable-color;
|
60
|
-
}
|
61
|
-
&.@{sdk-prefix}-selector-no-ellipsis {
|
62
|
-
.@{ant-prefix}-select-dropdown-menu {
|
63
|
-
display: inline-block;
|
64
|
-
min-width: 100%;
|
65
|
-
}
|
66
|
-
.@{ant-prefix}-select-dropdown-menu-item {
|
67
|
-
overflow: unset;
|
68
|
-
text-overflow: unset;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
.@{sdk-prefix}-selector-create-option {
|
73
|
-
color: @theme-color;
|
74
|
-
cursor: default;
|
75
|
-
&::before,
|
76
|
-
&::after {
|
77
|
-
content: none;
|
78
|
-
}
|
79
|
-
a {
|
80
|
-
color: @theme-color;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
.@{ant-prefix}-select-item-option-selected:not(.@{ant-prefix}-select-item-option-disabled)
|
84
|
-
.@{ant-prefix}-select-item-option-state {
|
85
|
-
.anticon-check {
|
86
|
-
&.anticon {
|
87
|
-
color: @theme-color;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
.@{sdk-prefix}-selector-create-lint {
|
94
|
-
display: block;
|
95
|
-
}
|
96
|
-
|
97
|
-
.@{sdk-prefix}-close-icon {
|
98
|
-
color: @border-color-1;
|
99
|
-
}
|
1
|
+
@import 'antd/lib/select/style/index.less';
|
2
|
+
@import 'antd/lib/checkbox/style/index.less';
|
3
|
+
@import '../../style/theme.less';
|
4
|
+
@import '../../style/mixin.less';
|
5
|
+
|
6
|
+
.@{sdk-prefix}-selector {
|
7
|
+
width: 100%;
|
8
|
+
color: @font-color-7;
|
9
|
+
.@{ant-prefix}-select-selection {
|
10
|
+
background: @select-bg;
|
11
|
+
&:hover {
|
12
|
+
.@{ant-prefix}-select-selection__clear + .@{ant-prefix}-select-arrow {
|
13
|
+
opacity: 0;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
&.@{ant-prefix}-select-multiple {
|
18
|
+
.@{ant-prefix}-select-selection-item {
|
19
|
+
color: @font-color-6;
|
20
|
+
background: @select-selection-bg;
|
21
|
+
border: none;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
.@{ant-prefix}-select-selection-item-remove {
|
25
|
+
color: @font-disable-color;
|
26
|
+
}
|
27
|
+
.@{ant-prefix}-select-selection--single {
|
28
|
+
height: 32px;
|
29
|
+
}
|
30
|
+
.@{ant-prefix}-select-selection__rendered {
|
31
|
+
line-height: 30px;
|
32
|
+
}
|
33
|
+
.@{ant-prefix}-select-selection__clear {
|
34
|
+
background: @select-bg;
|
35
|
+
color: @font-color-6;
|
36
|
+
i {
|
37
|
+
color: inherit;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.@{sdk-prefix}-selector-dropdown {
|
43
|
+
.@{ant-prefix}-select-dropdown-menu {
|
44
|
+
margin: 0;
|
45
|
+
.scrollbar();
|
46
|
+
}
|
47
|
+
.@{ant-prefix}-select-item-option-disabled {
|
48
|
+
color: @font-disable-color;
|
49
|
+
}
|
50
|
+
.@{ant-prefix}-select-item-option-selected {
|
51
|
+
color: @theme-color;
|
52
|
+
font-weight: 400;
|
53
|
+
}
|
54
|
+
.@{ant-prefix}-select-item-option:hover {
|
55
|
+
color: @theme-color;
|
56
|
+
}
|
57
|
+
|
58
|
+
.@{ant-prefix}-select-item-group {
|
59
|
+
color: @font-disable-color;
|
60
|
+
}
|
61
|
+
&.@{sdk-prefix}-selector-no-ellipsis {
|
62
|
+
.@{ant-prefix}-select-dropdown-menu {
|
63
|
+
display: inline-block;
|
64
|
+
min-width: 100%;
|
65
|
+
}
|
66
|
+
.@{ant-prefix}-select-dropdown-menu-item {
|
67
|
+
overflow: unset;
|
68
|
+
text-overflow: unset;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.@{sdk-prefix}-selector-create-option {
|
73
|
+
color: @theme-color;
|
74
|
+
cursor: default;
|
75
|
+
&::before,
|
76
|
+
&::after {
|
77
|
+
content: none;
|
78
|
+
}
|
79
|
+
a {
|
80
|
+
color: @theme-color;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
.@{ant-prefix}-select-item-option-selected:not(.@{ant-prefix}-select-item-option-disabled)
|
84
|
+
.@{ant-prefix}-select-item-option-state {
|
85
|
+
.anticon-check {
|
86
|
+
&.anticon {
|
87
|
+
color: @theme-color;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
.@{sdk-prefix}-selector-create-lint {
|
94
|
+
display: block;
|
95
|
+
}
|
96
|
+
|
97
|
+
.@{sdk-prefix}-close-icon {
|
98
|
+
color: @border-color-1;
|
99
|
+
}
|
@@ -1,26 +1,26 @@
|
|
1
|
-
@import 'antd/lib/spin/style/index.less';
|
2
|
-
@import '../../style/theme.less';
|
3
|
-
|
4
|
-
.@{sdk-prefix}-spin-container {
|
5
|
-
position: relative;
|
6
|
-
width: 100%;
|
7
|
-
height: 100%;
|
8
|
-
.@{sdk-prefix}-spin-loading {
|
9
|
-
position: absolute;
|
10
|
-
width: 60px;
|
11
|
-
height: 60px;
|
12
|
-
top: 50%;
|
13
|
-
left: 50%;
|
14
|
-
transform: translate(-50%, -50%);
|
15
|
-
}
|
16
|
-
.@{ant-prefix}-spin-container {
|
17
|
-
height: 100%;
|
18
|
-
> div {
|
19
|
-
height: 100%;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
.@{sdk-prefix}-spin-hide {
|
25
|
-
visibility: hidden;
|
26
|
-
}
|
1
|
+
@import 'antd/lib/spin/style/index.less';
|
2
|
+
@import '../../style/theme.less';
|
3
|
+
|
4
|
+
.@{sdk-prefix}-spin-container {
|
5
|
+
position: relative;
|
6
|
+
width: 100%;
|
7
|
+
height: 100%;
|
8
|
+
.@{sdk-prefix}-spin-loading {
|
9
|
+
position: absolute;
|
10
|
+
width: 60px;
|
11
|
+
height: 60px;
|
12
|
+
top: 50%;
|
13
|
+
left: 50%;
|
14
|
+
transform: translate(-50%, -50%);
|
15
|
+
}
|
16
|
+
.@{ant-prefix}-spin-container {
|
17
|
+
height: 100%;
|
18
|
+
> div {
|
19
|
+
height: 100%;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.@{sdk-prefix}-spin-hide {
|
25
|
+
visibility: hidden;
|
26
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
@import '../../../style/theme.less';
|
2
|
-
|
3
|
-
.@{sdk-prefix}-prev-button {
|
4
|
-
margin-right: 10px;
|
5
|
-
}
|
1
|
+
@import '../../../style/theme.less';
|
2
|
+
|
3
|
+
.@{sdk-prefix}-prev-button {
|
4
|
+
margin-right: 10px;
|
5
|
+
}
|