linkmore-design 1.0.29 → 1.0.32

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 (121) hide show
  1. package/dist/index.umd.js +112 -22
  2. package/dist/index.umd.min.js +7 -7
  3. package/es/ButtonTags/style/style.css +3 -0
  4. package/es/Card/style/index.css +3 -0
  5. package/es/CkFilter/style/style.css +6 -1
  6. package/es/CustomerService/style/style.css +3 -0
  7. package/es/Drawer/style/index.css +3 -0
  8. package/es/Dropdown/style/index.css +3 -0
  9. package/es/EditTable/style/style.css +3 -0
  10. package/es/Empty/style/index.css +3 -0
  11. package/es/Filter/style/style.css +3 -0
  12. package/es/Image/index.d.ts +2 -0
  13. package/es/Image/index.js +3 -0
  14. package/es/Image/style/index.css +505 -0
  15. package/es/Image/style/index.d.ts +1 -0
  16. package/es/Image/style/index.js +1 -0
  17. package/es/Input/index.js +3 -4
  18. package/es/Input/style/style.css +18 -4
  19. package/es/InputNumber/style/index.css +3 -0
  20. package/es/LeftTable/style/style.css +4 -1
  21. package/es/LmTable/Table.js +31 -10
  22. package/es/LmTable/style/style.css +298 -1
  23. package/es/Menu/style/index.css +3 -0
  24. package/es/Modal/style/index.css +3 -0
  25. package/es/Notification/style/index.css +3 -0
  26. package/es/Pagination/style/index.css +3 -0
  27. package/es/PopTable/style/style.css +3 -0
  28. package/es/ProTable/style/style.css +3 -0
  29. package/es/Select/index.js +6 -7
  30. package/es/Select/style/index.css +3 -0
  31. package/es/Space/style/index.css +3 -0
  32. package/es/Switch/index.d.ts +2 -0
  33. package/es/Switch/index.js +3 -0
  34. package/es/Switch/style/index.css +505 -0
  35. package/es/Switch/style/index.d.ts +1 -0
  36. package/es/Switch/style/index.js +1 -0
  37. package/es/Table/index.d.ts +2 -0
  38. package/es/Table/index.js +3 -0
  39. package/es/Table/style/index.css +505 -0
  40. package/es/Table/style/index.d.ts +1 -0
  41. package/es/Table/style/index.js +1 -0
  42. package/es/Tabs/index.d.ts +12 -0
  43. package/es/Tabs/index.js +33 -0
  44. package/es/Tabs/style/index.css +511 -0
  45. package/es/Tabs/style/index.d.ts +1 -0
  46. package/es/Tabs/style/index.js +1 -0
  47. package/es/Tag/index.d.ts +12 -0
  48. package/es/Tag/index.js +36 -0
  49. package/es/Tag/style/index.css +562 -0
  50. package/es/Tag/style/index.d.ts +1 -0
  51. package/es/Tag/style/index.js +1 -0
  52. package/es/Tree/index.d.ts +6 -1
  53. package/es/Tree/index.js +30 -1
  54. package/es/Tree/style/index.css +15 -0
  55. package/es/index.js +49 -1
  56. package/es/message/index.d.ts +7 -0
  57. package/es/message/index.js +12 -0
  58. package/es/message/style/index.css +509 -0
  59. package/es/message/style/index.d.ts +1 -0
  60. package/es/message/style/index.js +1 -0
  61. package/es/styles/main.css +3 -0
  62. package/lib/ButtonTags/style/style.css +3 -0
  63. package/lib/Card/style/index.css +3 -0
  64. package/lib/CkFilter/style/style.css +6 -1
  65. package/lib/CustomerService/style/style.css +3 -0
  66. package/lib/Drawer/style/index.css +3 -0
  67. package/lib/Dropdown/style/index.css +3 -0
  68. package/lib/EditTable/style/style.css +3 -0
  69. package/lib/Empty/style/index.css +3 -0
  70. package/lib/Filter/style/style.css +3 -0
  71. package/lib/Image/index.d.ts +2 -0
  72. package/lib/Image/index.js +15 -0
  73. package/lib/Image/style/index.css +505 -0
  74. package/lib/Image/style/index.d.ts +1 -0
  75. package/lib/Image/style/index.js +3 -0
  76. package/lib/Input/index.js +3 -4
  77. package/lib/Input/style/style.css +18 -4
  78. package/lib/InputNumber/style/index.css +3 -0
  79. package/lib/LeftTable/style/style.css +4 -1
  80. package/lib/LmTable/Table.js +31 -10
  81. package/lib/LmTable/style/style.css +298 -1
  82. package/lib/Menu/style/index.css +3 -0
  83. package/lib/Modal/style/index.css +3 -0
  84. package/lib/Notification/style/index.css +3 -0
  85. package/lib/Pagination/style/index.css +3 -0
  86. package/lib/PopTable/style/style.css +3 -0
  87. package/lib/ProTable/style/style.css +3 -0
  88. package/lib/Select/index.js +8 -7
  89. package/lib/Select/style/index.css +3 -0
  90. package/lib/Space/style/index.css +3 -0
  91. package/lib/Switch/index.d.ts +2 -0
  92. package/lib/Switch/index.js +15 -0
  93. package/lib/Switch/style/index.css +505 -0
  94. package/lib/Switch/style/index.d.ts +1 -0
  95. package/lib/Switch/style/index.js +3 -0
  96. package/lib/Table/index.d.ts +2 -0
  97. package/lib/Table/index.js +15 -0
  98. package/lib/Table/style/index.css +505 -0
  99. package/lib/Table/style/index.d.ts +1 -0
  100. package/lib/Table/style/index.js +3 -0
  101. package/lib/Tabs/index.d.ts +12 -0
  102. package/lib/Tabs/index.js +46 -0
  103. package/lib/Tabs/style/index.css +511 -0
  104. package/lib/Tabs/style/index.d.ts +1 -0
  105. package/lib/Tabs/style/index.js +3 -0
  106. package/lib/Tag/index.d.ts +12 -0
  107. package/lib/Tag/index.js +52 -0
  108. package/lib/Tag/style/index.css +562 -0
  109. package/lib/Tag/style/index.d.ts +1 -0
  110. package/lib/Tag/style/index.js +3 -0
  111. package/lib/Tree/index.d.ts +6 -1
  112. package/lib/Tree/index.js +33 -1
  113. package/lib/Tree/style/index.css +15 -0
  114. package/lib/index.js +49 -1
  115. package/lib/message/index.d.ts +7 -0
  116. package/lib/message/index.js +24 -0
  117. package/lib/message/style/index.css +509 -0
  118. package/lib/message/style/index.d.ts +1 -0
  119. package/lib/message/style/index.js +3 -0
  120. package/lib/styles/main.css +3 -0
  121. package/package.json +1 -1
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -559,12 +562,20 @@ html {
559
562
  box-shadow: none !important;
560
563
  }
561
564
  .lm_input_search .ant-input-group-addon .ant-input-search-button {
562
- width: 32px;
563
- padding: 0;
565
+ min-width: 32px;
566
+ padding: 0 8px;
567
+ box-sizing: border-box;
568
+ display: flex;
569
+ align-items: center;
570
+ justify-content: center;
571
+ font-size: 12px;
572
+ line-height: 32px;
564
573
  }
565
574
  .lm_input_search .ant-input-group-addon .ant-input-search-button.ant-btn-sm {
566
- width: 24px;
567
- padding: 0;
575
+ min-width: 24px;
576
+ padding: 0 4px;
577
+ line-height: 24px;
578
+ box-sizing: border-box;
568
579
  }
569
580
  .lm_input_search .ant-input-group-addon .ant-input-search-button .anticon {
570
581
  color: var(--color-85);
@@ -658,6 +669,9 @@ html {
658
669
  .ant-input-group.ant-input-group-sm .lm_input {
659
670
  height: 24px;
660
671
  }
672
+ .ant-input-group .lm-button {
673
+ vertical-align: bottom;
674
+ }
661
675
  .ant-input-suffix .anticon {
662
676
  font-size: 14px;
663
677
  color: var(--color-25);
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -506,7 +509,7 @@ html {
506
509
  height: calc(100% - 36px);
507
510
  width: 168px;
508
511
  border: 1px solid var(--line-color);
509
- transition: all 0.5s;
512
+ transition: all 0.3s;
510
513
  }
511
514
  .lm_grid_tree .grid_tree_title {
512
515
  display: flex;
@@ -27,7 +27,7 @@ var _react = _interopRequireWildcard(require("react"));
27
27
 
28
28
  var _resetConfig = _interopRequireDefault(require("./resetConfig"));
29
29
 
30
- var _excluded = ["dataSource", "autoSize", "columns", "rowClick", "onDoubleClick", "checkConfig", "summary", "pagination", "hiddenPage", "loading", "virtual", "customCheck"];
30
+ var _excluded = ["dataSource", "autoSize", "columns", "rowClick", "onDoubleClick", "checkConfig", "summary", "pagination", "hiddenPage", "loading", "virtual", "customCheck", "rowSelection"];
31
31
  var Summary = _proTable.default.Summary;
32
32
  exports.Summary = Summary;
33
33
  var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
@@ -44,8 +44,8 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
44
44
  _props$virtual = props.virtual,
45
45
  virtual = _props$virtual === void 0 ? false : _props$virtual,
46
46
  customCheck = props.customCheck,
47
+ rowSelection = props.rowSelection,
47
48
  resetProps = (0, _objectWithoutProperties2.default)(props, _excluded);
48
- console.log(virtual, '--virtual', autoSize);
49
49
  var _resetProps$rowKey = resetProps.rowKey,
50
50
  rowKey = _resetProps$rowKey === void 0 ? 'id' : _resetProps$rowKey;
51
51
 
@@ -139,6 +139,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
139
139
 
140
140
 
141
141
  var config = (0, _react.useMemo)(function () {
142
+ console.log(resetProps, 'resetPropsresetProps');
142
143
  return (0, _objectSpread2.default)({
143
144
  defaultSize: 'small',
144
145
  tableLayout: 'fixed',
@@ -146,7 +147,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
146
147
  debounceTime: 300,
147
148
  revalidateOnFocus: false,
148
149
  options: {
149
- setting: true,
150
+ setting: false,
150
151
  density: false,
151
152
  fullScreen: false,
152
153
  reload: false
@@ -161,9 +162,9 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
161
162
  tableAlertRender: false,
162
163
  checkConfig: checkConfig,
163
164
  // components: vComponents,
164
- scroll: (0, _objectSpread2.default)({
165
+ scroll: resetProps.autoSizer || resetProps.scroll ? (0, _objectSpread2.default)({
165
166
  y: autoSize.height
166
- }, props.scroll),
167
+ }, resetProps.scroll) : null,
167
168
  pagination: !hiddenPage && (0, _objectSpread2.default)({
168
169
  showSizeChanger: true,
169
170
  showQuickJumper: true,
@@ -171,7 +172,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
171
172
  return "\u5171 ".concat(total, " \u6761");
172
173
  }
173
174
  }, pagination),
174
- rowSelection: {
175
+ rowSelection: rowSelection === false ? null : (0, _objectSpread2.default)({
175
176
  fixed: true,
176
177
  type: 'checkbox',
177
178
  columnWidth: 36,
@@ -184,7 +185,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
184
185
  });
185
186
  rowClick === null || rowClick === void 0 ? void 0 : rowClick(selectedRows);
186
187
  }
187
- },
188
+ }, rowSelection),
188
189
  onRow: function onRow(record) {
189
190
  return {
190
191
  onClick: function onClick(e) {
@@ -292,6 +293,27 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
292
293
  /** 1: 使用scroll.x y 来控制宽高 默认都是100% */
293
294
 
294
295
  var ResizeSize = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
296
+ var _props$autoSizer = props.autoSizer,
297
+ autoSizer = _props$autoSizer === void 0 ? false : _props$autoSizer;
298
+
299
+ if (!autoSizer) {
300
+ return /*#__PURE__*/_react.default.createElement("div", {
301
+ ref: tableWarpRef,
302
+ id: "lm_protable_warp",
303
+ style: {
304
+ width: '100%',
305
+ height: '100%'
306
+ }
307
+ }, /*#__PURE__*/_react.default.createElement(ResetTable, (0, _extends2.default)({
308
+ ref: defaultRef
309
+ }, props, {
310
+ autoSize: {
311
+ height: '100%',
312
+ width: '100%'
313
+ }
314
+ })));
315
+ }
316
+
295
317
  var _useState9 = (0, _react.useState)({
296
318
  width: '100%',
297
319
  height: '100%'
@@ -305,11 +327,10 @@ var ResizeSize = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
305
327
  var resizeRef = (0, _react.useRef)(null);
306
328
  var resetHeight = (0, _react.useMemo)(function () {
307
329
  var height = tableSize.height;
308
- console.log(3);
309
- var h = height - 48;
330
+ var h = height - 32;
310
331
 
311
332
  if (!props.hiddenPage || props.customCheck) {
312
- h -= 32;
333
+ h -= 48;
313
334
  }
314
335
 
315
336
  if (props.columns.some(function (v) {
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -612,6 +615,36 @@ html {
612
615
  height: var(--basic-height);
613
616
  border-right: 1px solid #eee;
614
617
  }
618
+ .lm_operate .ant-spin-container {
619
+ display: flex;
620
+ flex-flow: column;
621
+ }
622
+ .lm_operate .ant-spin-container .ant-table {
623
+ position: relative;
624
+ flex: 1;
625
+ border-left: 1px solid var(--border-color);
626
+ border-right: 1px solid var(--border-color);
627
+ }
628
+ .lm_operate .ant-spin-container .ant-table::before {
629
+ content: '';
630
+ position: absolute;
631
+ left: 0;
632
+ right: 0;
633
+ top: 0;
634
+ height: 1px;
635
+ background-color: var(--border-color);
636
+ z-index: 4;
637
+ }
638
+ .lm_operate .ant-spin-container .ant-table::after {
639
+ content: '';
640
+ position: absolute;
641
+ left: 0;
642
+ right: 0;
643
+ bottom: 0;
644
+ height: 1px;
645
+ background-color: var(--border-color);
646
+ z-index: 4;
647
+ }
615
648
  .lm_grid {
616
649
  position: relative;
617
650
  flex: 1;
@@ -1067,10 +1100,274 @@ html {
1067
1100
  .lm_pro_component_img_table .lm_card_cell_content:hover .card_cell_body .card_cell_checkbox {
1068
1101
  opacity: 1;
1069
1102
  }
1070
- .lm_customCheck {
1103
+ #lm_protable_warp .ant-tabs,
1104
+ #lm_protable_warp .ant-tabs-content,
1105
+ #lm_protable_warp .ant-pro-table,
1106
+ #lm_protable_warp .ant-card,
1107
+ #lm_protable_warp .ant-card-body,
1108
+ #lm_protable_warp .ant-pro-card,
1109
+ #lm_protable_warp .ant-pro-card-body,
1110
+ #lm_protable_warp .ant-table-wrapper,
1111
+ #lm_protable_warp .ant-spin-nested-loading,
1112
+ #lm_protable_warp .ant-spin-container,
1113
+ #lm_protable_warp .ant-table-container,
1114
+ #lm_protable_warp .ant-table-body {
1115
+ height: 100%;
1116
+ }
1117
+ #lm_protable_warp .ant-card-body,
1118
+ #lm_protable_warp .ant-pro-card-body {
1119
+ padding: 0;
1120
+ }
1121
+ #lm_protable_warp .lm_protable .ant-card-body,
1122
+ #lm_protable_warp .lm_protable .ant-pro-card-body {
1123
+ padding: 0;
1124
+ }
1125
+ #lm_protable_warp .lm_protable .ant-spin-container {
1126
+ display: flex;
1127
+ flex-flow: column;
1128
+ }
1129
+ #lm_protable_warp .lm_protable .ant-spin-container .ant-table {
1130
+ position: relative;
1131
+ flex: 1;
1132
+ border-left: 1px solid var(--border-color);
1133
+ border-right: 1px solid var(--border-color);
1134
+ }
1135
+ #lm_protable_warp .lm_protable .ant-spin-container .ant-table::before {
1136
+ content: '';
1071
1137
  position: absolute;
1138
+ left: 0;
1139
+ right: 0;
1140
+ top: 0;
1141
+ height: 1px;
1142
+ background-color: var(--border-color);
1143
+ z-index: 4;
1144
+ }
1145
+ #lm_protable_warp .lm_protable .ant-spin-container .ant-table::after {
1146
+ content: '';
1147
+ position: absolute;
1148
+ left: 0;
1149
+ right: 0;
1072
1150
  bottom: 0;
1151
+ height: 1px;
1152
+ background-color: var(--border-color);
1153
+ z-index: 4;
1154
+ }
1155
+ #lm_protable_warp .lm_protable .ant-table-thead {
1156
+ height: 40px;
1157
+ }
1158
+ #lm_protable_warp .lm_protable .ant-table-thead .text-overflow,
1159
+ #lm_protable_warp .lm_protable .ant-table-thead .text-overflow .ant-table-column-title {
1160
+ overflow: hidden;
1161
+ text-overflow: ellipsis;
1162
+ white-space: nowrap;
1163
+ }
1164
+ #lm_protable_warp .lm_protable .ant-table-thead .ant-table-filter-trigger {
1165
+ margin-right: 0;
1166
+ }
1167
+ #lm_protable_warp .lm_protable .ant-table-thead > tr > th {
1168
+ background: var(--color-4);
1169
+ font-size: 12px;
1170
+ }
1171
+ #lm_protable_warp .lm_protable .ant-table.ant-table-small {
1172
+ font-size: 12px;
1173
+ }
1174
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-tbody .ant-table-cell {
1175
+ padding: 8px;
1176
+ }
1177
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-tbody .ant-table-cell.number {
1178
+ border-left: 1px solid #eee;
1179
+ border-right: 1px solid #eee;
1180
+ }
1181
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-tbody .ant-table-cell.money {
1182
+ border-left: 1px solid #eee;
1183
+ border-right: 1px solid #eee;
1184
+ color: var(--error-color);
1185
+ }
1186
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-tbody .ant-table-cell.money-color {
1187
+ color: var(--error-color);
1188
+ }
1189
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-tbody .ant-typography {
1190
+ margin: 0;
1191
+ }
1192
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-tbody .ant-typography .ant-typography-copy {
1193
+ color: var(--text-color);
1194
+ }
1195
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-tbody .ant-typography .ant-typography-copy-success {
1196
+ color: var(--success-color);
1197
+ }
1198
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-tbody .ant-typography.ant-typography-ellipsis .ant-typography-edit {
1199
+ opacity: 0;
1200
+ color: var(--primary-color);
1201
+ transition: 0.3s;
1202
+ }
1203
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-tbody .ant-typography.ant-typography-ellipsis:hover .ant-typography-edit {
1204
+ opacity: 1;
1205
+ }
1206
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-summary {
1207
+ height: 48px;
1208
+ }
1209
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-summary td {
1210
+ text-align: right;
1211
+ background-color: var(--table-background-color);
1212
+ padding: 0 8px;
1213
+ }
1214
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-summary td:first-of-type {
1215
+ text-align: left;
1216
+ padding: 0 0 0 8px;
1217
+ }
1218
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-summary td.number {
1219
+ border-left: 1px solid #eee;
1220
+ border-right: 1px solid #eee;
1221
+ }
1222
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-summary td.money {
1223
+ border-left: 1px solid #eee;
1224
+ border-right: 1px solid #eee;
1225
+ color: var(--error-color);
1226
+ }
1227
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-summary td.money-color {
1228
+ color: var(--error-color);
1229
+ }
1230
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-summary td > div {
1231
+ white-space: nowrap;
1232
+ overflow: hidden;
1233
+ text-overflow: ellipsis;
1234
+ }
1235
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-summary td > div:last-of-type {
1236
+ font-weight: bold;
1237
+ }
1238
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-summary .total_title {
1239
+ position: relative;
1240
+ white-space: nowrap;
1241
+ }
1242
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-pro-table-list-toolbar-container {
1243
+ padding: 0;
1244
+ }
1245
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-pro-table-list-toolbar-container .ant-pro-table-list-toolbar-right {
1246
+ position: absolute;
1247
+ right: 1px;
1248
+ top: 1px;
1249
+ z-index: 4;
1250
+ font-size: 16px;
1251
+ width: 48px;
1252
+ height: 38px;
1253
+ justify-content: center;
1254
+ background-color: #fafafa;
1255
+ }
1256
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-pro-table-list-toolbar-container .ant-pro-table-list-toolbar-right::after {
1257
+ content: '';
1258
+ position: absolute;
1259
+ left: 0;
1260
+ top: 50%;
1261
+ transform: translateY(-50%);
1262
+ height: 1.6em;
1263
+ width: 1px;
1264
+ background-color: rgba(0, 0, 0, 0.06);
1265
+ }
1266
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-row {
1267
+ position: relative;
1268
+ }
1269
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-row .operate_fixed_right .operate_btn {
1270
+ font-size: 12px;
1271
+ color: var(--primary-color);
1272
+ }
1273
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-row .operate_fixed_right .operate_btn .ant-space-item {
1274
+ cursor: pointer;
1275
+ }
1276
+ #lm_protable_warp .lm_protable .ant-pro-table .ant-table-row .operate_fixed_right .ant-btn {
1277
+ font-size: 12px;
1278
+ }
1279
+ #lm_protable_warp .lm_protable .ant-table-expanded-row > td {
1280
+ padding: 0px;
1281
+ background: var(--color-4);
1282
+ }
1283
+ #lm_protable_warp .lm_protable .ant-table-expanded-row > td .ant-pro-card {
1284
+ background: var(--color-4);
1285
+ }
1286
+ #lm_protable_warp .lm_protable .ant-table-expanded-row > td .ant-pro-card .ant-table {
1287
+ background: var(--color-4);
1288
+ border: 0;
1289
+ }
1290
+ #lm_protable_warp .lm_protable .ant-table-expanded-row > td .ant-pro-card .ant-table .ant-table-cell-fix-left,
1291
+ #lm_protable_warp .lm_protable .ant-table-expanded-row > td .ant-pro-card .ant-table .ant-table-cell-fix-right {
1292
+ background: var(--color-4);
1293
+ }
1294
+ #lm_protable_warp .lm_protable .ant-table-expanded-row > td .ant-table-content {
1295
+ padding-left: 30px;
1296
+ }
1297
+ #lm_protable_warp .lm_protable .ant-table-expanded-row .ant-pagination {
1298
+ margin-right: 16px !important;
1299
+ }
1300
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination {
1301
+ height: 48px;
1302
+ display: flex;
1303
+ align-items: center;
1304
+ font-size: 12px;
1305
+ margin: 0;
1306
+ padding: 0;
1307
+ flex: none;
1308
+ }
1309
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination .ant-select {
1310
+ font-size: inherit;
1311
+ }
1312
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li {
1313
+ font-size: 12px;
1314
+ line-height: 24px;
1315
+ height: 24px;
1316
+ color: var(--color-65);
1317
+ }
1318
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li.ant-pagination-total-text {
1319
+ color: var(--color-65);
1320
+ }
1321
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li.ant-pagination-item {
1322
+ border: 0;
1323
+ transition: all 0s !important;
1324
+ }
1325
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li.ant-pagination-item:focus-visible {
1326
+ transition: all 0s;
1327
+ }
1328
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li .ant-pagination-item-link {
1329
+ border: 0;
1330
+ }
1331
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li .ant-pagination-item-link .anticon {
1332
+ color: var(--color-85);
1333
+ }
1334
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li > a {
1335
+ color: var(--color-65);
1336
+ }
1337
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li.ant-pagination-options .ant-select-selection-item {
1338
+ color: var(--color-65);
1339
+ font-size: 12px;
1340
+ }
1341
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li.ant-pagination-item-active {
1342
+ background-color: var(--primary-color);
1343
+ color: #fff;
1344
+ }
1345
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li.ant-pagination-item-active > a {
1346
+ color: #fff;
1347
+ }
1348
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li .ant-pagination-options-quick-jumper input {
1349
+ width: 38px;
1350
+ font-size: 12px;
1351
+ color: var(--color-65);
1352
+ }
1353
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li.ant-pagination-simple-pager input {
1354
+ width: 48px;
1355
+ font-size: 12px;
1356
+ color: var(--color-65);
1357
+ height: 22px;
1358
+ }
1359
+ #lm_protable_warp .lm_protable .ant-table-pagination.ant-pagination li.ant-pagination-simple-pager .ant-pagination-slash {
1360
+ margin-right: 14px;
1361
+ }
1362
+ #lm_protable_warp .ant-table-expand-icon-col {
1363
+ width: 32px;
1364
+ }
1365
+ #lm_protable_warp .lm_customCheck {
1366
+ position: absolute;
1367
+ bottom: -8px;
1073
1368
  left: 0;
1074
1369
  max-width: 50%;
1075
1370
  font-size: 12px;
1371
+ height: 48px;
1372
+ display: flex;
1076
1373
  }
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -14,26 +14,25 @@ var __rest = this && this.__rest || function (s, e) {
14
14
  return t;
15
15
  };
16
16
 
17
- import React from 'react';
17
+ import React, { forwardRef } from 'react';
18
18
  import classNames from 'classnames';
19
19
  var prefixCls = 'lm_select';
20
-
21
- var CLMSelect = function CLMSelect(props) {
20
+ var CLMSelect = /*#__PURE__*/forwardRef(function (props, ref) {
22
21
  var children = props.children,
23
22
  className = props.className,
24
23
  _props$size = props.size,
25
- size = _props$size === void 0 ? 'small' : _props$size,
24
+ size = _props$size === void 0 ? 'middle' : _props$size,
26
25
  dropdownClassName = props.dropdownClassName,
27
26
  others = __rest(props, ["children", "className", "size", "dropdownClassName"]);
28
27
 
29
28
  return /*#__PURE__*/React.createElement(_Select, Object.assign({
30
29
  className: classNames(className, prefixCls),
31
- size: size
30
+ size: size,
31
+ ref: ref
32
32
  }, others, {
33
33
  dropdownClassName: classNames('lm_select_dropdown', dropdownClassName)
34
34
  }), children);
35
- };
36
-
35
+ });
37
36
  var LMSelect = CLMSelect;
38
37
  LMSelect.Option = _Select.Option;
39
38
  LMSelect.OptGroup = _Select.OptGroup;
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -205,7 +205,10 @@
205
205
  --color-6: #f0f0f0;
206
206
  --color-4: #f5f5f5;
207
207
  --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
208
210
  }
211
+ /** tag */
209
212
  :root[theme='dark'] {
210
213
  --font-color: rgba(255, 255, 255, 0.85);
211
214
  --text-color: rgba(255, 255, 255, 0.45);
@@ -0,0 +1,2 @@
1
+ import { Switch } from 'antd';
2
+ export default Switch;
@@ -0,0 +1,3 @@
1
+ import "antd/es/switch/style";
2
+ import _Switch from "antd/es/switch";
3
+ export default _Switch;