@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.
Files changed (226) hide show
  1. package/CHANGELOG.json +46 -0
  2. package/CHANGELOG.md +28 -31
  3. package/README.md +36 -36
  4. package/es/components/AutoComplete/style.css +0 -6
  5. package/es/components/AutoComplete/style.less +8 -8
  6. package/es/components/Breadcrumb/style.css +0 -6
  7. package/es/components/Breadcrumb/style.less +9 -9
  8. package/es/components/Button/style.css +0 -6
  9. package/es/components/Button/style.less +51 -51
  10. package/es/components/Card/RowExtra/style.css +0 -6
  11. package/es/components/Card/RowExtra/style.less +8 -8
  12. package/es/components/Card/SearchInput/style.css +0 -6
  13. package/es/components/Card/SearchInput/style.less +8 -8
  14. package/es/components/Card/style.css +0 -6
  15. package/es/components/Card/style.less +11 -11
  16. package/es/components/CheckTransformList/Item/index.js +1 -1
  17. package/es/components/CheckTransformList/style.css +0 -6
  18. package/es/components/CheckTransformList/style.less +35 -35
  19. package/es/components/Checkbox/style.less +5 -5
  20. package/es/components/CheckboxList/style.css +0 -6
  21. package/es/components/CheckboxList/style.less +11 -11
  22. package/es/components/Collapse/style.css +0 -6
  23. package/es/components/Collapse/style.less +57 -57
  24. package/es/components/CollapsiblePanel/style.css +0 -6
  25. package/es/components/CollapsiblePanel/style.less +63 -63
  26. package/es/components/DateTimePicker/Base/style.css +0 -6
  27. package/es/components/DateTimePicker/Base/style.less +160 -160
  28. package/es/components/DateTimePicker/BaseMobile/Absolute/index.js +1 -1
  29. package/es/components/DateTimePicker/BaseMobile/Absolute/style.css +0 -6
  30. package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  31. package/es/components/DateTimePicker/BaseMobile/style.css +0 -6
  32. package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
  33. package/es/components/DateTimePicker/Collapse/Panel/style.css +0 -6
  34. package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  35. package/es/components/DateTimePicker/DisplayInput/style.css +0 -6
  36. package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
  37. package/es/components/DateTimePicker/style.css +0 -6
  38. package/es/components/DateTimePicker/style.less +19 -19
  39. package/es/components/Descriptions/style.css +0 -6
  40. package/es/components/Descriptions/style.less +15 -15
  41. package/es/components/Drawer/CloseIcon/index.js +4 -2
  42. package/es/components/Drawer/CloseIcon/style.css +0 -6
  43. package/es/components/Drawer/CloseIcon/style.less +8 -8
  44. package/es/components/Drawer/style.css +0 -6
  45. package/es/components/Drawer/style.less +48 -48
  46. package/es/components/FileResumable/style.css +0 -6
  47. package/es/components/FileResumable/style.less +94 -94
  48. package/es/components/Input/style.css +0 -6
  49. package/es/components/Input/style.less +12 -12
  50. package/es/components/KeyValuePair/style.css +0 -6
  51. package/es/components/KeyValuePair/style.less +25 -25
  52. package/es/components/Menu/style.css +0 -6
  53. package/es/components/Menu/style.less +18 -18
  54. package/es/components/Modal/style.css +0 -6
  55. package/es/components/Modal/style.less +30 -30
  56. package/es/components/NameExplainTooltip/style.css +0 -6
  57. package/es/components/NameExplainTooltip/style.less +10 -10
  58. package/es/components/NameLimiter/style.css +0 -6
  59. package/es/components/NameLimiter/style.less +19 -19
  60. package/es/components/OptionList/InlineOptionList/style.css +0 -6
  61. package/es/components/OptionList/InlineOptionList/style.less +16 -16
  62. package/es/components/OptionList/OptionItem/style.css +0 -6
  63. package/es/components/OptionList/OptionItem/style.less +25 -25
  64. package/es/components/OptionList/PopoverOptionList/style.css +0 -6
  65. package/es/components/OptionList/PopoverOptionList/style.less +30 -30
  66. package/es/components/OptionList/style.css +0 -6
  67. package/es/components/OptionList/style.less +3 -3
  68. package/es/components/RadioGroup/style.css +0 -6
  69. package/es/components/RadioGroup/style.less +32 -32
  70. package/es/components/RangeInput/style.css +0 -6
  71. package/es/components/RangeInput/style.less +37 -37
  72. package/es/components/RemarkName/style.css +0 -6
  73. package/es/components/RemarkName/style.less +2 -2
  74. package/es/components/Selector/index.js +2 -2
  75. package/es/components/Selector/style.css +0 -6
  76. package/es/components/Selector/style.less +99 -99
  77. package/es/components/Spin/style.css +0 -6
  78. package/es/components/Spin/style.less +26 -26
  79. package/es/components/Steps/ControlButton/style.css +0 -6
  80. package/es/components/Steps/ControlButton/style.less +5 -5
  81. package/es/components/Steps/style.css +0 -6
  82. package/es/components/Steps/style.less +48 -48
  83. package/es/components/Table/ColumnTag/style.css +0 -6
  84. package/es/components/Table/ColumnTag/style.less +40 -40
  85. package/es/components/Table/style.css +0 -6
  86. package/es/components/Table/style.less +314 -314
  87. package/es/components/Tabs/style.css +0 -6
  88. package/es/components/Tabs/style.less +33 -33
  89. package/es/components/TagList/Tag/style.css +0 -6
  90. package/es/components/TagList/Tag/style.less +72 -72
  91. package/es/components/TagList/TagSwitch/style.css +0 -6
  92. package/es/components/TagList/TagSwitch/style.less +28 -28
  93. package/es/components/TagList/style.css +0 -6
  94. package/es/components/TagList/style.less +28 -28
  95. package/es/components/Timeline/TimelineItem/style.css +0 -6
  96. package/es/components/Timeline/TimelineItem/style.less +49 -49
  97. package/es/components/Timeline/style.css +0 -6
  98. package/es/components/Timeline/style.less +23 -23
  99. package/es/components/Transfer/List/style.css +0 -6
  100. package/es/components/Transfer/List/style.less +19 -19
  101. package/es/components/Transfer/ListBody/style.css +0 -6
  102. package/es/components/Transfer/ListBody/style.less +18 -18
  103. package/es/components/Transfer/style.css +0 -6
  104. package/es/components/Transfer/style.less +14 -14
  105. package/es/components/TreeSelector/style.css +0 -6
  106. package/es/components/TreeSelector/style.less +56 -56
  107. package/es/index.css +412 -418
  108. package/es/index.less +52 -52
  109. package/es/style/mixin.css +0 -6
  110. package/es/style/mixin.less +45 -45
  111. package/es/style/theme.css +0 -6
  112. package/es/style/theme.less +394 -401
  113. package/es/utils/language.d.ts +2 -1
  114. package/es/utils/language.js +0 -1
  115. package/lib/components/AutoComplete/style.css +0 -6
  116. package/lib/components/AutoComplete/style.less +8 -8
  117. package/lib/components/Breadcrumb/style.css +0 -6
  118. package/lib/components/Breadcrumb/style.less +9 -9
  119. package/lib/components/Button/style.css +0 -6
  120. package/lib/components/Button/style.less +51 -51
  121. package/lib/components/Card/RowExtra/style.css +0 -6
  122. package/lib/components/Card/RowExtra/style.less +8 -8
  123. package/lib/components/Card/SearchInput/style.css +0 -6
  124. package/lib/components/Card/SearchInput/style.less +8 -8
  125. package/lib/components/Card/style.css +0 -6
  126. package/lib/components/Card/style.less +11 -11
  127. package/lib/components/CheckTransformList/Item/index.js +1 -1
  128. package/lib/components/CheckTransformList/style.css +0 -6
  129. package/lib/components/CheckTransformList/style.less +35 -35
  130. package/lib/components/Checkbox/style.less +5 -5
  131. package/lib/components/CheckboxList/style.css +0 -6
  132. package/lib/components/CheckboxList/style.less +11 -11
  133. package/lib/components/Collapse/style.css +0 -6
  134. package/lib/components/Collapse/style.less +57 -57
  135. package/lib/components/CollapsiblePanel/style.css +0 -6
  136. package/lib/components/CollapsiblePanel/style.less +63 -63
  137. package/lib/components/DateTimePicker/Base/style.css +0 -6
  138. package/lib/components/DateTimePicker/Base/style.less +160 -160
  139. package/lib/components/DateTimePicker/BaseMobile/Absolute/index.js +1 -1
  140. package/lib/components/DateTimePicker/BaseMobile/Absolute/style.css +0 -6
  141. package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  142. package/lib/components/DateTimePicker/BaseMobile/style.css +0 -6
  143. package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
  144. package/lib/components/DateTimePicker/Collapse/Panel/style.css +0 -6
  145. package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  146. package/lib/components/DateTimePicker/DisplayInput/style.css +0 -6
  147. package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
  148. package/lib/components/DateTimePicker/style.css +0 -6
  149. package/lib/components/DateTimePicker/style.less +19 -19
  150. package/lib/components/Descriptions/style.css +0 -6
  151. package/lib/components/Descriptions/style.less +15 -15
  152. package/lib/components/Drawer/CloseIcon/index.js +11 -2
  153. package/lib/components/Drawer/CloseIcon/style.css +0 -6
  154. package/lib/components/Drawer/CloseIcon/style.less +8 -8
  155. package/lib/components/Drawer/style.css +0 -6
  156. package/lib/components/Drawer/style.less +48 -48
  157. package/lib/components/FileResumable/style.css +0 -6
  158. package/lib/components/FileResumable/style.less +94 -94
  159. package/lib/components/Input/style.css +0 -6
  160. package/lib/components/Input/style.less +12 -12
  161. package/lib/components/KeyValuePair/style.css +0 -6
  162. package/lib/components/KeyValuePair/style.less +25 -25
  163. package/lib/components/Menu/style.css +0 -6
  164. package/lib/components/Menu/style.less +18 -18
  165. package/lib/components/Modal/style.css +0 -6
  166. package/lib/components/Modal/style.less +30 -30
  167. package/lib/components/NameExplainTooltip/style.css +0 -6
  168. package/lib/components/NameExplainTooltip/style.less +10 -10
  169. package/lib/components/NameLimiter/style.css +0 -6
  170. package/lib/components/NameLimiter/style.less +19 -19
  171. package/lib/components/OptionList/InlineOptionList/style.css +0 -6
  172. package/lib/components/OptionList/InlineOptionList/style.less +16 -16
  173. package/lib/components/OptionList/OptionItem/style.css +0 -6
  174. package/lib/components/OptionList/OptionItem/style.less +25 -25
  175. package/lib/components/OptionList/PopoverOptionList/style.css +0 -6
  176. package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
  177. package/lib/components/OptionList/style.css +0 -6
  178. package/lib/components/OptionList/style.less +3 -3
  179. package/lib/components/RadioGroup/style.css +0 -6
  180. package/lib/components/RadioGroup/style.less +32 -32
  181. package/lib/components/RangeInput/style.css +0 -6
  182. package/lib/components/RangeInput/style.less +37 -37
  183. package/lib/components/RemarkName/style.css +0 -6
  184. package/lib/components/RemarkName/style.less +2 -2
  185. package/lib/components/Selector/index.js +2 -2
  186. package/lib/components/Selector/style.css +0 -6
  187. package/lib/components/Selector/style.less +99 -99
  188. package/lib/components/Spin/style.css +0 -6
  189. package/lib/components/Spin/style.less +26 -26
  190. package/lib/components/Steps/ControlButton/style.css +0 -6
  191. package/lib/components/Steps/ControlButton/style.less +5 -5
  192. package/lib/components/Steps/style.css +0 -6
  193. package/lib/components/Steps/style.less +48 -48
  194. package/lib/components/Table/ColumnTag/style.css +0 -6
  195. package/lib/components/Table/ColumnTag/style.less +40 -40
  196. package/lib/components/Table/style.css +0 -6
  197. package/lib/components/Table/style.less +314 -314
  198. package/lib/components/Tabs/style.css +0 -6
  199. package/lib/components/Tabs/style.less +33 -33
  200. package/lib/components/TagList/Tag/style.css +0 -6
  201. package/lib/components/TagList/Tag/style.less +72 -72
  202. package/lib/components/TagList/TagSwitch/style.css +0 -6
  203. package/lib/components/TagList/TagSwitch/style.less +28 -28
  204. package/lib/components/TagList/style.css +0 -6
  205. package/lib/components/TagList/style.less +28 -28
  206. package/lib/components/Timeline/TimelineItem/style.css +0 -6
  207. package/lib/components/Timeline/TimelineItem/style.less +49 -49
  208. package/lib/components/Timeline/style.css +0 -6
  209. package/lib/components/Timeline/style.less +23 -23
  210. package/lib/components/Transfer/List/style.css +0 -6
  211. package/lib/components/Transfer/List/style.less +19 -19
  212. package/lib/components/Transfer/ListBody/style.css +0 -6
  213. package/lib/components/Transfer/ListBody/style.less +18 -18
  214. package/lib/components/Transfer/style.css +0 -6
  215. package/lib/components/Transfer/style.less +14 -14
  216. package/lib/components/TreeSelector/style.css +0 -6
  217. package/lib/components/TreeSelector/style.less +56 -56
  218. package/lib/index.css +2633 -2639
  219. package/lib/index.less +52 -52
  220. package/lib/style/mixin.css +0 -6
  221. package/lib/style/mixin.less +45 -45
  222. package/lib/style/theme.css +0 -6
  223. package/lib/style/theme.less +394 -401
  224. package/lib/utils/language.d.ts +2 -1
  225. package/lib/utils/language.js +0 -1
  226. 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
+ }
@@ -275,9 +275,3 @@
275
275
  max-height: 200px;
276
276
  overflow: auto;
277
277
  }
278
- .ant-btn {
279
- padding: 4px 15px;
280
- }
281
- .ant-btn-sm {
282
- padding: 0 7px;
283
- }
@@ -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: true }),
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
+ }
@@ -232,12 +232,6 @@
232
232
  transform: rotate(-405deg);
233
233
  }
234
234
  }
235
- .ant-btn {
236
- padding: 4px 15px;
237
- }
238
- .ant-btn-sm {
239
- padding: 0 7px;
240
- }
241
235
  .pandora-sdk-spin-container {
242
236
  position: relative;
243
237
  width: 100%;
@@ -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,9 +1,3 @@
1
- .ant-btn {
2
- padding: 4px 15px;
3
- }
4
- .ant-btn-sm {
5
- padding: 0 7px;
6
- }
7
1
  .pandora-sdk-prev-button {
8
2
  margin-right: 10px;
9
3
  }
@@ -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
+ }
@@ -759,12 +759,6 @@
759
759
  bottom: -5px;
760
760
  left: -5px;
761
761
  }
762
- .ant-btn {
763
- padding: 4px 15px;
764
- }
765
- .ant-btn-sm {
766
- padding: 0 7px;
767
- }
768
762
  .pandora-sdk-steps .ant-steps-item-icon {
769
763
  width: 24px;
770
764
  height: 24px;