@lingxiteam/theme-utils 0.6.0 → 0.6.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.
@@ -67,7 +67,7 @@ export var Button = {
67
67
  '@border-color-base': ['borderColor'],
68
68
  '@text-color': []
69
69
  },
70
- tpl: "\n.ued-table-wrap .extend .pcfactory-btn {\n border-radius: borderRadius;\n}\n.ued-modal-wrap .pcfactory-modal-footer .pcfactory-btn {\n border-radius: borderRadius;\n}\n.ued-drawer-wrap .pcfactory-drawer-footer .pcfactory-btn {\n border-radius: borderRadius;\n}\n.ued-card-extend .pcfactory-btn {\n border-radius: borderRadius;\n}\n.ued-form-group-head-wrap .pcfactory-btn {\n border-radius: borderRadius;\n}\n.engine-import-busi-obj-modal-customModal .pcfactory-modal-footer .pcfactory-btn {\n border-radius: borderRadius;\n}\n.pcfactory-modal-confirm-btns .pcfactory-btn {\n border-radius: borderRadius;\n}\n.ued-button-wrap.pcfactory-btn {\n line-height: lineHeight;\n font-size: fontSize;\n padding: paddingValue;\n margin: marginValue;\n }\n.ued-button-wrap.pcfactory-btn-primary {\n background-color: backgroundColor;\n border-color: backgroundColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn-default {\n color: textColor;\n border-color: borderColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn-dashed {\n color: textColor;\n border-color: borderColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn.pcfactory-btn-dashed:hover {\n border-color: backgroundColor;\n color: backgroundColor;\n }\n.ued-button-wrap.pcfactory-btn.pcfactory-btn-default:hover {\n border-color: backgroundColor;\n color: backgroundColor;\n }\n.ued-button-wrap.pcfactory-btn-text {\n color: textColor;\n }\n.ued-button-wrap.pcfactory-btn-link {\n color: backgroundColor;\n }\n ",
70
+ tpl: "\n.ued-table-wrap .extend .pcfactory-btn {\n margin: marginValue;\n padding: paddingValue;\n color: textColor;\n font-size: fontSize;\n line-height: lineHeight;\n border-radius: borderRadius;\n border-color: borderColor;\n}\n.ued-table-wrap .extend .pcfactory-btn-primary {\n background-color: backgroundColor;\n}\n.ued-modal-wrap .pcfactory-modal-footer .pcfactory-btn {\n margin: marginValue;\n padding: paddingValue;\n color: textColor;\n font-size: fontSize;\n line-height: lineHeight;\n border-radius: borderRadius;\n border-color: borderColor;\n}\n.ued-modal-wrap .pcfactory-modal-footer .pcfactory-btn-primary {\n background-color: backgroundColor;\n}\n.ued-drawer-wrap .pcfactory-drawer-footer .pcfactory-btn {\n margin: marginValue;\n padding: paddingValue;\n color: textColor;\n font-size: fontSize;\n line-height: lineHeight;\n border-radius: borderRadius;\n border-color: borderColor;\n}\n.ued-drawer-wrap .pcfactory-drawer-footer .pcfactory-btn-primary {\n background-color: backgroundColor;\n}\n.ued-card-extend .pcfactory-btn {\n margin: marginValue;\n padding: paddingValue;\n color: textColor;\n font-size: fontSize;\n line-height: lineHeight;\n border-radius: borderRadius;\n border-color: borderColor;\n}\n.ued-card-extend .pcfactory-btn-primary {\n background-color: backgroundColor;\n}\n.ued-form-group-head-wrap .pcfactory-btn {\n margin: marginValue;\n padding: paddingValue;\n color: textColor;\n font-size: fontSize;\n line-height: lineHeight;\n border-radius: borderRadius;\n border-color: borderColor;\n}\n.ued-form-group-head-wrap .pcfactory-btn-primary {\n background-color: backgroundColor;\n}\n.engine-import-busi-obj-modal-customModal .pcfactory-modal-footer .pcfactory-btn {\n margin: marginValue;\n padding: paddingValue;\n color: textColor;\n font-size: fontSize;\n line-height: lineHeight;\n border-radius: borderRadius;\n border-color: borderColor;\n}\n.engine-import-busi-obj-modal-customModal .pcfactory-modal-footer .pcfactory-btn-primary {\n background-color: backgroundColor;\n}\n.pcfactory-modal-confirm-btns .pcfactory-btn {\n margin: marginValue;\n padding: paddingValue;\n color: textColor;\n font-size: fontSize;\n line-height: lineHeight;\n border-radius: borderRadius;\n border-color: borderColor;\n}\n.pcfactory-modal-confirm-btns .pcfactory-btn-primary {\n background-color: backgroundColor;\n}\n.ued-button-wrap.pcfactory-btn {\n line-height: lineHeight;\n font-size: fontSize;\n padding: paddingValue;\n margin: marginValue;\n }\n.ued-button-wrap.pcfactory-btn-primary {\n background-color: backgroundColor;\n border-color: backgroundColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn-default {\n color: textColor;\n border-color: borderColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn-dashed {\n color: textColor;\n border-color: borderColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn.pcfactory-btn-dashed:hover {\n border-color: backgroundColor;\n color: backgroundColor;\n }\n.ued-button-wrap.pcfactory-btn.pcfactory-btn-default:hover {\n border-color: backgroundColor;\n color: backgroundColor;\n }\n.ued-button-wrap.pcfactory-btn-text {\n color: textColor;\n }\n.ued-button-wrap.pcfactory-btn-link {\n color: backgroundColor;\n }\n ",
71
71
  components: [{
72
72
  id: 'Button_1229334',
73
73
  label: '按钮',
@@ -122,6 +122,7 @@ export declare const Container: {
122
122
  showCustom?: undefined;
123
123
  customNum?: undefined;
124
124
  rowKey?: undefined;
125
+ headIconType?: undefined;
125
126
  };
126
127
  style: {
127
128
  padding: string;
@@ -184,6 +185,7 @@ export declare const Container: {
184
185
  showCustom?: undefined;
185
186
  customNum?: undefined;
186
187
  rowKey?: undefined;
188
+ headIconType?: undefined;
187
189
  };
188
190
  style: {
189
191
  width: string;
@@ -278,6 +280,7 @@ export declare const Container: {
278
280
  };
279
281
  customNum: number;
280
282
  rowKey: string;
283
+ headIconType: string;
281
284
  cardIconType?: undefined;
282
285
  title?: undefined;
283
286
  subTitle?: undefined;
@@ -333,7 +333,8 @@ export var Container = {
333
333
  customStyle: 'default'
334
334
  },
335
335
  customNum: 3,
336
- rowKey: '11'
336
+ rowKey: '11',
337
+ headIconType: 'styleOne'
337
338
  },
338
339
  style: {},
339
340
  isContainer: false,
@@ -2,6 +2,11 @@ export declare const Description: {
2
2
  type: string;
3
3
  hasPrefixClass: boolean;
4
4
  variable: {
5
+ background: {
6
+ type: string;
7
+ label: string;
8
+ groupsName: string;
9
+ };
5
10
  backgroundColor: {
6
11
  type: string;
7
12
  label: string;
@@ -50,6 +55,7 @@ export declare const Description: {
50
55
  icon: string;
51
56
  title: string;
52
57
  defaultValue: {
58
+ background: string;
53
59
  borderColor: string;
54
60
  borderWidth: string;
55
61
  paddingValue: string;
@@ -2,6 +2,11 @@ export var Description = {
2
2
  type: 'Description',
3
3
  hasPrefixClass: true,
4
4
  variable: {
5
+ background: {
6
+ type: 'color',
7
+ label: '背景',
8
+ groupsName: '背景'
9
+ },
5
10
  backgroundColor: {
6
11
  type: 'color',
7
12
  label: '标题背景颜色',
@@ -50,6 +55,7 @@ export var Description = {
50
55
  icon: 'icon-ico-comp-descriptions',
51
56
  title: '描述列表',
52
57
  defaultValue: [{
58
+ background: '#ffffff',
53
59
  borderColor: '#e5e5e5',
54
60
  borderWidth: '1px',
55
61
  paddingValue: '8px 16px 8px 16px',
@@ -64,7 +70,7 @@ export var Description = {
64
70
  '@heading-color': ['textColor'],
65
71
  '@border-color-base': []
66
72
  },
67
- tpl: ".ued-description-wrap{\n .ued-description.border{\n border-left: borderWidth solid borderColor;\n border-top: borderWidth solid borderColor;\n }\n .ued-description .ued-description-cell.border{\n border-bottom: borderWidth solid borderColor;\n border-right: borderWidth solid borderColor;\n }\n .ued-description .ued-description-cell .ued-description-label.bg{\n border-right: borderWidth solid borderColor;\n background: backgroundColor;\n color: textColor;\n }\n .ued-description .ued-description-cell .ued-description-label{\n padding: paddingValue;\n }\n .ued-description .ued-description-cell .ued-description-cont{\n padding: bodyPaddingValue;\n background: bodyBgColor;\n color: bodyTextColor;\n }\n }",
73
+ tpl: "\n .ued-description-wrap{\n background: background;\n \n .ued-description.border{\n border-left: borderWidth solid borderColor;\n border-top: borderWidth solid borderColor;\n }\n .ued-description .ued-description-cell.border{\n border-bottom: borderWidth solid borderColor;\n border-right: borderWidth solid borderColor;\n }\n .ued-description .ued-description-cell .ued-description-label.bg{\n border-right: borderWidth solid borderColor;\n background: backgroundColor;\n color: textColor;\n }\n .ued-description .ued-description-cell .ued-description-label{\n padding: paddingValue;\n }\n .ued-description .ued-description-cell .ued-description-cont{\n padding: bodyPaddingValue;\n background: bodyBgColor;\n color: bodyTextColor;\n }\n }",
68
74
  components: [{
69
75
  id: 'Description_180191',
70
76
  label: '描述列表',
@@ -2,6 +2,11 @@ export declare const Table: {
2
2
  type: string;
3
3
  hasPrefixClass: boolean;
4
4
  variable: {
5
+ background: {
6
+ type: string;
7
+ label: string;
8
+ groupsName: string;
9
+ };
5
10
  headBgColor: {
6
11
  type: string;
7
12
  label: string;
@@ -148,11 +153,28 @@ export declare const Table: {
148
153
  groupsName: string;
149
154
  followTheme: string;
150
155
  };
156
+ tagColor: {
157
+ type: string;
158
+ label: string;
159
+ groupsName: string;
160
+ followTheme: string;
161
+ };
162
+ tagSize: {
163
+ type: string;
164
+ label: string;
165
+ groupsName: string;
166
+ };
167
+ tagMargin: {
168
+ type: string;
169
+ label: string;
170
+ groupsName: string;
171
+ };
151
172
  };
152
173
  groupsName: string;
153
174
  icon: string;
154
175
  title: string;
155
176
  defaultValue: {
177
+ background: string;
156
178
  selectPaginationColor: string;
157
179
  selectPaginationRadius: string;
158
180
  selectPaginationBorder: string;
@@ -170,6 +192,9 @@ export declare const Table: {
170
192
  bodyTextColor: string;
171
193
  bodyTextAlign: string;
172
194
  zebraBgColor: string;
195
+ tagColor: string;
196
+ tagSize: string;
197
+ tagMargin: string;
173
198
  }[];
174
199
  followThemes: {
175
200
  '@primary-color': string[];
@@ -227,6 +252,11 @@ export declare const Table: {
227
252
  dataSource: string;
228
253
  basicStatus: number;
229
254
  headExtends: never[];
255
+ headIconType: string;
256
+ headPrefixIcon: {
257
+ prefixIconTheme: string;
258
+ prefixIconType: string;
259
+ };
230
260
  };
231
261
  style: {
232
262
  margin: string;
@@ -306,6 +336,8 @@ export declare const Table: {
306
336
  dataSource: string;
307
337
  basicStatus: number;
308
338
  headExtends: never[];
339
+ headIconType: string;
340
+ headPrefixIcon?: undefined;
309
341
  };
310
342
  style: {
311
343
  margin: string;
@@ -385,6 +417,8 @@ export declare const Table: {
385
417
  dataSource: string;
386
418
  basicStatus: number;
387
419
  headExtends: never[];
420
+ headIconType: string;
421
+ headPrefixIcon?: undefined;
388
422
  };
389
423
  style: {
390
424
  margin?: undefined;
@@ -453,6 +487,8 @@ export declare const Table: {
453
487
  extend?: undefined;
454
488
  dataSource?: undefined;
455
489
  headExtends?: undefined;
490
+ headIconType?: undefined;
491
+ headPrefixIcon?: undefined;
456
492
  };
457
493
  style: {
458
494
  textAlign: string;
@@ -2,6 +2,11 @@ export var Table = {
2
2
  type: 'Table',
3
3
  hasPrefixClass: true,
4
4
  variable: {
5
+ background: {
6
+ type: 'color',
7
+ label: '背景',
8
+ groupsName: '背景'
9
+ },
5
10
  headBgColor: {
6
11
  type: 'color',
7
12
  label: '表头填充颜色',
@@ -224,12 +229,29 @@ export var Table = {
224
229
  label: '分页边框颜色',
225
230
  groupsName: '其他',
226
231
  followTheme: '@primary-color'
232
+ },
233
+ tagColor: {
234
+ type: 'color',
235
+ label: '装饰符颜色',
236
+ groupsName: '其他',
237
+ followTheme: '@primary-color'
238
+ },
239
+ tagSize: {
240
+ type: 'px',
241
+ label: '装饰符尺寸',
242
+ groupsName: '其他'
243
+ },
244
+ tagMargin: {
245
+ type: 'marginInput',
246
+ label: '装饰符外边距',
247
+ groupsName: '其他'
227
248
  }
228
249
  },
229
250
  groupsName: '数据展示',
230
251
  icon: 'icon-ico-comp-table',
231
252
  title: '表格',
232
253
  defaultValue: [{
254
+ background: '#ffffff',
233
255
  selectPaginationColor: '#47e',
234
256
  selectPaginationRadius: '2px',
235
257
  selectPaginationBorder: '#47e',
@@ -248,16 +270,19 @@ export var Table = {
248
270
  bodyFontWeight: '400',
249
271
  bodyTextColor: '#1c242e',
250
272
  bodyTextAlign: 'left',
251
- zebraBgColor: '#fbfbfb'
273
+ zebraBgColor: '#fbfbfb',
274
+ tagColor: '#47e',
275
+ tagSize: '16px',
276
+ tagMargin: '0px 8px 0px 8px'
252
277
  }],
253
278
  followThemes: {
254
- '@primary-color': ['selectPaginationColor', 'selectPaginationBorder'],
279
+ '@primary-color': ['tagColor', 'selectPaginationColor', 'selectPaginationBorder'],
255
280
  '@font-size-base': ['tbFontSize'],
256
281
  '@text-color': [],
257
282
  '@border-radius-base': [],
258
283
  '@border-color-base': []
259
284
  },
260
- tpl: ".ued-table-wrap {\n .ued-control-line-number{\n line-height: tbFontSize !important;\n max-height: tbFontSize !important;\n }\n .pcfactory-table{\n font-size: tbFontSize;\n }\n .pcfactory-table-tbody{\n background: bodyBgColor;\n }\n .ued-table .pcfactory-table table {\n border-radius: tbBorderRadius;\n border-color: tbBorderColor;\n }\n .ued-table .pcfactory-table-thead > tr:first-child > th:first-child{\n border-top-left-radius: tbBorderRadius;\n }\n .ued-table .pcfactory-table-thead > tr:first-child > th:last-child{\n border-top-right-radius: tbBorderRadius;\n }\n .ued-table .pcfactory-table table .pcfactory-table-thead th {\n background: headBgColor;\n padding: headPadding;\n color: headTextColor;\n font-weight: headFontWeight;\n }\n .ued-table .pcfactory-table table .pcfactory-table-thead th:not(.pcfactory-table-selection-column) {\n text-align: headTextAlign;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .ued-table-filters .ued-table .pcfactory-table-thead>tr>th{\n border-color: tbBorderColor;\n }\n .ued-table .pcfactory-table-thead>tr>th{\n border-color: tbBorderColor;\n }\n .ued-table-filters .ued-table .pcfactory-table-tbody>tr>td{\n border-color: tbBorderColor;\n padding: bodyPadding;\n color: bodyTextColor;\n font-weight: bodyFontWeight;\n }\n .ued-table-filters .ued-table .pcfactory-table-tbody>tr>td:not(.pcfactory-table-selection-column){\n text-align: bodyTextAlign;\n }\n .ued-table .pcfactory-table-tbody>tr>td{\n border-color: tbBorderColor;\n padding: bodyPadding;\n color: bodyTextColor;\n font-weight: bodyFontWeight;\n }\n .ued-table .pcfactory-table-tbody>tr>td:not(.pcfactory-table-selection-column){\n text-align: bodyTextAlign;\n }\n .ued-table-filters .ued-table .pcfactory-table-bordered{\n border-color: tbBorderColor;\n }\n .ued-table .pcfactory-table-bordered{\n border-color: tbBorderColor;\n border-radius: tbBorderRadius;\n }\n .ued-table-filters .ued-table-page .pcfactory-pagination-item-active{\n background: selectPaginationColor;\n }\n .ued-table-page .pcfactory-pagination-item-active{\n background: selectPaginationColor;\n border-style: solid;\n border-width: 1px;\n }\n .ued-table-page .pcfactory-pagination-item{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-item-link{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-options .pcfactory-select .pcfactory-select-selector{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-options .pcfactory-pagination-options-quick-jumper input{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-filters .ued-table-zebra-stripe .pcfactory-table-row:nth-child(2n){\n background: zebraBgColor;\n }\n .ued-table-zebra-stripe .pcfactory-table-row:nth-child(2n){\n background: zebraBgColor;\n }\n}",
285
+ tpl: "\n .ued-table-wrap {\n background: background;\n\n .ued-control-line-number{\n line-height: tbFontSize !important;\n max-height: tbFontSize !important;\n }\n .pcfactory-table{\n font-size: tbFontSize;\n }\n .pcfactory-table-tbody{\n background: bodyBgColor;\n }\n .ued-table .pcfactory-table table {\n border-radius: tbBorderRadius;\n border-color: tbBorderColor;\n }\n .ued-table .pcfactory-table-thead > tr:first-child > th:first-child{\n border-top-left-radius: tbBorderRadius;\n }\n .ued-table .pcfactory-table-thead > tr:first-child > th:last-child{\n border-top-right-radius: tbBorderRadius;\n }\n .ued-table .pcfactory-table table .pcfactory-table-thead th {\n background: headBgColor;\n padding: headPadding;\n color: headTextColor;\n font-weight: headFontWeight;\n }\n .ued-table .pcfactory-table table .pcfactory-table-thead th:not(.pcfactory-table-selection-column) {\n text-align: headTextAlign;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .ued-table-filters .ued-table .pcfactory-table-thead>tr>th{\n border-color: tbBorderColor;\n }\n .ued-table .pcfactory-table-thead>tr>th{\n border-color: tbBorderColor;\n }\n .ued-table-filters .ued-table .pcfactory-table-tbody>tr>td{\n border-color: tbBorderColor;\n padding: bodyPadding;\n color: bodyTextColor;\n font-weight: bodyFontWeight;\n }\n .ued-table-filters .ued-table .pcfactory-table-tbody>tr>td:not(.pcfactory-table-selection-column){\n text-align: bodyTextAlign;\n }\n .ued-table .pcfactory-table-tbody>tr>td{\n border-color: tbBorderColor;\n padding: bodyPadding;\n color: bodyTextColor;\n font-weight: bodyFontWeight;\n }\n .ued-table .pcfactory-table-tbody>tr>td:not(.pcfactory-table-selection-column){\n text-align: bodyTextAlign;\n }\n .ued-table-filters .ued-table .pcfactory-table-bordered{\n border-color: tbBorderColor;\n }\n .ued-table .pcfactory-table-bordered{\n border-color: tbBorderColor;\n border-radius: tbBorderRadius;\n }\n .ued-table-filters .ued-table-page .pcfactory-pagination-item-active{\n background: selectPaginationColor;\n }\n .ued-table-page .pcfactory-pagination-item-active{\n background: selectPaginationColor;\n border-style: solid;\n border-width: 1px;\n }\n .ued-table-page .pcfactory-pagination-item{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-item-link{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-options .pcfactory-select .pcfactory-select-selector{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-options .pcfactory-pagination-options-quick-jumper input{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-filters .ued-table-zebra-stripe .pcfactory-table-row:nth-child(2n){\n background: zebraBgColor;\n }\n .ued-table-zebra-stripe .pcfactory-table-row:nth-child(2n){\n background: zebraBgColor;\n }\n\n .table-head .title .head-style-custom {\n margin: tagMargin;\n color: tagColor;\n font-size: tagSize;\n width: tagSize;\n height: tagSize;\n }\n\n .table-head .title .head-style-one::before {\n background: tagColor;\n }\n \n .table-head .title .head-style-two::before {\n background: tagColor;\n }\n\n}\n",
261
286
  components: [{
262
287
  id: 'Table_2740384',
263
288
  label: '表格',
@@ -323,7 +348,12 @@ export var Table = {
323
348
  extend: [],
324
349
  dataSource: "$[{\t'id': 1,\t'name': '王女士-月嫂服务订单',\t'code': '24475411512',\t'statusText': '服务成功',\t'status': 'success',\t'sales': '18779.70'}, {\t'id': 2,\t'name': '李女士-开荒保洁套餐',\t'code': '4443503045',\t'statusText': '服务延期',\t'status': 'warning',\t'sales': '1452.79'}, {\t'id': 3,\t'name': '陈先生-油烟机清洗服务',\t'code': '4443503045',\t'statusText': '服务终止',\t'status': 'fail',\t'sales': '142.86'}, {\t'id': 4,\t'name': '陈先生-窗户保洁服务',\t'code': '4443503045',\t'statusText': '待服务',\t'status': 'normal',\t'sales': '560.00'}, {\t'id': 5,\t'name': '秦女士-月嫂服务订单',\t'code': '4443503045',\t'statusText': '服务终止',\t'status': 'fail',\t'sales': '16779.70'}, {\t'id': 6,\t'name': '王先生-油烟机安装服务',\t'code': '4443503045',\t'statusText': '订单取消',\t'status': 'waiting',\t'sales': ''}, ]$",
325
350
  basicStatus: 1,
326
- headExtends: []
351
+ headExtends: [],
352
+ headIconType: 'custom',
353
+ headPrefixIcon: {
354
+ prefixIconTheme: 'filled',
355
+ prefixIconType: 'idcard'
356
+ }
327
357
  },
328
358
  style: {
329
359
  margin: '0px 0px 0px 0px'
@@ -412,7 +442,8 @@ export var Table = {
412
442
  extend: [],
413
443
  dataSource: "$[{\t'id': 1,\t'name': '王女士-月嫂服务订单',\t'code': '24475411512',\t'statusText': '服务成功',\t'status': 'success',\t'sales': '18779.70'}, {\t'id': 2,\t'name': '李女士-开荒保洁套餐',\t'code': '4443503045',\t'statusText': '服务延期',\t'status': 'warning',\t'sales': '1452.79'}, {\t'id': 3,\t'name': '陈先生-油烟机清洗服务',\t'code': '4443503045',\t'statusText': '服务终止',\t'status': 'fail',\t'sales': '142.86'}, {\t'id': 4,\t'name': '陈先生-窗户保洁服务',\t'code': '4443503045',\t'statusText': '待服务',\t'status': 'normal',\t'sales': '560.00'}, {\t'id': 5,\t'name': '秦女士-月嫂服务订单',\t'code': '4443503045',\t'statusText': '服务终止',\t'status': 'fail',\t'sales': '16779.70'}, {\t'id': 6,\t'name': '王先生-油烟机安装服务',\t'code': '4443503045',\t'statusText': '订单取消',\t'status': 'waiting',\t'sales': ''}, ]$",
414
444
  basicStatus: 1,
415
- headExtends: []
445
+ headExtends: [],
446
+ headIconType: 'styleOne'
416
447
  },
417
448
  style: {
418
449
  margin: '0px 0px 0px 0px'
@@ -501,7 +532,8 @@ export var Table = {
501
532
  extend: [],
502
533
  dataSource: "$[{\t'id': 1,\t'name': '王女士-月嫂服务订单',\t'code': '24475411512',\t'statusText': '服务成功',\t'status': 'success',\t'sales': '18779.70'}, {\t'id': 2,\t'name': '李女士-开荒保洁套餐',\t'code': '4443503045',\t'statusText': '服务延期',\t'status': 'warning',\t'sales': '1452.79'}, {\t'id': 3,\t'name': '陈先生-油烟机清洗服务',\t'code': '4443503045',\t'statusText': '服务终止',\t'status': 'fail',\t'sales': '142.86'}, {\t'id': 4,\t'name': '陈先生-窗户保洁服务',\t'code': '4443503045',\t'statusText': '待服务',\t'status': 'normal',\t'sales': '560.00'}, {\t'id': 5,\t'name': '秦女士-月嫂服务订单',\t'code': '4443503045',\t'statusText': '服务终止',\t'status': 'fail',\t'sales': '16779.70'}, {\t'id': 6,\t'name': '王先生-油烟机安装服务',\t'code': '4443503045',\t'statusText': '订单取消',\t'status': 'waiting',\t'sales': ''}, ]$",
503
534
  basicStatus: 1,
504
- headExtends: []
535
+ headExtends: [],
536
+ headIconType: 'styleTwo'
505
537
  },
506
538
  style: {},
507
539
  isContainer: false,
@@ -1,6 +1,11 @@
1
1
  export declare const Tree: {
2
2
  type: string;
3
3
  variable: {
4
+ background: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ };
4
9
  textColor: {
5
10
  type: string;
6
11
  label: string;
@@ -63,6 +68,7 @@ export declare const Tree: {
63
68
  icon: string;
64
69
  title: string;
65
70
  defaultValue: {
71
+ background: string;
66
72
  borderColor: string;
67
73
  borderRadius: string;
68
74
  textColor: string;
@@ -1,6 +1,11 @@
1
1
  export var Tree = {
2
2
  type: 'Tree',
3
3
  variable: {
4
+ background: {
5
+ type: 'color',
6
+ label: '背景',
7
+ groupsName: '背景'
8
+ },
4
9
  textColor: {
5
10
  type: 'color',
6
11
  label: '文本颜色',
@@ -64,6 +69,7 @@ export var Tree = {
64
69
  icon: 'icon-ico-comp-tree',
65
70
  title: '树形控件',
66
71
  defaultValue: [{
72
+ background: '#ffffff',
67
73
  borderColor: '#e5e5e5',
68
74
  borderRadius: '2px',
69
75
  textColor: '#1c242e',
@@ -83,7 +89,7 @@ export var Tree = {
83
89
  '@border-color-base': ['borderColor'],
84
90
  '@border-radius-base': ['borderRadius']
85
91
  },
86
- tpl: ".ued-tree-wrap .ued-tree-search .pcfactory-input{\n color: textColor;\n border-color: borderColor;\n font-size: fontSize;\n border-bottom-left-radius: borderRadius;\n border-top-left-radius: borderRadius;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button{\n height: calc(1.5715* fontSize + 10px);\n border-color: borderColor;\n border-bottom-right-radius: borderRadius;\n border-top-right-radius: borderRadius;\n }\n .ued-tree .ued-tree-tit{\n color: treeTextColor;\n font-size: treeFontSize;\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode .pcfactory-tree-node-content-wrapper.pcfactory-tree-node-selected{\n background-color: treeBgColor\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode span.pcfactory-tree-switcher{\n color: treeIconColor;\n }\n .ued-tree-wrap .pcfactory-tree-show-line .pcfactory-tree-indent-unit:before{\n border-color: treeLineColor;\n }\n .ued-tree-wrap .pcfactory-tree-switcher-leaf-line:before{\n border-color: treeLineColor;\n }\n .ued-tree-wrap .pcfactory-tree-switcher-leaf-line:after{\n border-color: treeLineColor;\n\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode .pcfactory-tree-node-content-wrapper .pcfactory-tree-iconEle .ued-icon.fill-primary{\n fill: treeIconColor;\n color: treeIconColor;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button{\n width: btnWidth;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button .anticon svg{\n width: fontSize;\n height: fontSize;\n }",
92
+ tpl: "\n .ued-tree-wrap {\n background: background;\n }\n .ued-tree-wrap .ued-tree-search .pcfactory-input{\n color: textColor;\n border-color: borderColor;\n font-size: fontSize;\n border-bottom-left-radius: borderRadius;\n border-top-left-radius: borderRadius;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button{\n height: calc(1.5715* fontSize + 10px);\n border-color: borderColor;\n border-bottom-right-radius: borderRadius;\n border-top-right-radius: borderRadius;\n }\n .ued-tree .ued-tree-tit{\n color: treeTextColor;\n font-size: treeFontSize;\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode .pcfactory-tree-node-content-wrapper.pcfactory-tree-node-selected{\n background-color: treeBgColor\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode span.pcfactory-tree-switcher{\n color: treeIconColor;\n }\n .ued-tree-wrap .pcfactory-tree-show-line .pcfactory-tree-indent-unit:before{\n border-color: treeLineColor;\n }\n .ued-tree-wrap .pcfactory-tree-switcher-leaf-line:before{\n border-color: treeLineColor;\n }\n .ued-tree-wrap .pcfactory-tree-switcher-leaf-line:after{\n border-color: treeLineColor;\n\n }\n .ued-tree.pcfactory-tree .pcfactory-tree-treenode .pcfactory-tree-node-content-wrapper .pcfactory-tree-iconEle .ued-icon.fill-primary{\n fill: treeIconColor;\n color: treeIconColor;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button{\n width: btnWidth;\n }\n .ued-tree-wrap .pcfactory-input-search>.pcfactory-input-group>.pcfactory-input-group-addon:last-child .pcfactory-input-search-button .anticon svg{\n width: fontSize;\n height: fontSize;\n }",
87
93
  components: [{
88
94
  id: 'Tree_371619',
89
95
  label: '树形控件',
@@ -67,6 +67,22 @@ export declare const DynamicTable: {
67
67
  groupsName: string;
68
68
  followTheme: string;
69
69
  };
70
+ tagColor: {
71
+ type: string;
72
+ label: string;
73
+ groupsName: string;
74
+ followTheme: string;
75
+ };
76
+ tagSize: {
77
+ type: string;
78
+ label: string;
79
+ groupsName: string;
80
+ };
81
+ tagMargin: {
82
+ type: string;
83
+ label: string;
84
+ groupsName: string;
85
+ };
70
86
  };
71
87
  groupsName: string;
72
88
  icon: string;
@@ -84,9 +100,13 @@ export declare const DynamicTable: {
84
100
  zebraBgColor: string;
85
101
  borderColor: string;
86
102
  borderRadius: string;
103
+ tagColor: string;
104
+ tagSize: string;
105
+ tagMargin: string;
87
106
  }[];
88
107
  followThemes: {
89
108
  '@border-color-base': never[];
109
+ '@brand-primary': string[];
90
110
  };
91
111
  tpl: string;
92
112
  components: ({
@@ -122,6 +142,11 @@ export declare const DynamicTable: {
122
142
  dataSourceLoading: boolean;
123
143
  showHead: boolean;
124
144
  tableTitle: string;
145
+ headIconType: string;
146
+ headPrefixIcon: {
147
+ prefixIconTheme: string;
148
+ prefixIconType: string;
149
+ };
125
150
  twoDimension?: undefined;
126
151
  };
127
152
  style: {
@@ -175,6 +200,116 @@ export declare const DynamicTable: {
175
200
  twoDimension: boolean;
176
201
  showHead: boolean;
177
202
  tableTitle: string;
203
+ headIconType: string;
204
+ headPrefixIcon?: undefined;
205
+ };
206
+ style: {
207
+ width: string;
208
+ height: string;
209
+ borderRadius: string;
210
+ };
211
+ isContainer: boolean;
212
+ isBusiObjContainer: boolean;
213
+ cmdgroup: string[];
214
+ platform: string;
215
+ setEvents: never[];
216
+ icon: string;
217
+ description: string;
218
+ groupsName: string;
219
+ engineApi: never[];
220
+ isLabelDropBoxChild: boolean;
221
+ components: never[];
222
+ path: string[];
223
+ } | {
224
+ id: string;
225
+ label: string;
226
+ compName: string;
227
+ type: string;
228
+ compType: number;
229
+ compLib: string;
230
+ props: {
231
+ name: string;
232
+ pagination: boolean;
233
+ status: string;
234
+ rowKeyType: string;
235
+ bordered: string;
236
+ pageSize: number;
237
+ pageNum: number;
238
+ pagingStyle: string;
239
+ rowLines: number;
240
+ columns: {
241
+ title: string;
242
+ dataIndex: string;
243
+ width: number;
244
+ }[];
245
+ dataSource: {
246
+ name: string;
247
+ sex: string;
248
+ age: string;
249
+ jg: string;
250
+ sf: string;
251
+ dz: string;
252
+ }[];
253
+ dataSourceLoading: boolean;
254
+ showHead: boolean;
255
+ tableTitle: string;
256
+ headIconType: string;
257
+ headPrefixIcon?: undefined;
258
+ twoDimension?: undefined;
259
+ };
260
+ style: {
261
+ width: string;
262
+ height: string;
263
+ borderRadius: string;
264
+ };
265
+ isContainer: boolean;
266
+ isBusiObjContainer: boolean;
267
+ cmdgroup: string[];
268
+ platform: string;
269
+ setEvents: never[];
270
+ icon: string;
271
+ description: string;
272
+ groupsName: string;
273
+ engineApi: never[];
274
+ isLabelDropBoxChild: boolean;
275
+ components: never[];
276
+ path: string[];
277
+ } | {
278
+ id: string;
279
+ label: string;
280
+ compName: string;
281
+ type: string;
282
+ compType: number;
283
+ compLib: string;
284
+ props: {
285
+ name: string;
286
+ pagination: boolean;
287
+ status: string;
288
+ rowKeyType: string;
289
+ bordered: string;
290
+ pageSize: number;
291
+ pageNum: number;
292
+ pagingStyle: string;
293
+ rowLines: number;
294
+ columns: {
295
+ title: string;
296
+ dataIndex: string;
297
+ width: number;
298
+ }[];
299
+ dataSource: {
300
+ name: string;
301
+ sex: string;
302
+ age: string;
303
+ jg: string;
304
+ sf: string;
305
+ dz: string;
306
+ }[];
307
+ dataSourceLoading: boolean;
308
+ showHead: boolean;
309
+ tableTitle: string;
310
+ headIconType?: undefined;
311
+ headPrefixIcon?: undefined;
312
+ twoDimension?: undefined;
178
313
  };
179
314
  style: {
180
315
  width: string;
@@ -84,6 +84,22 @@ export var DynamicTable = {
84
84
  label: '颜色',
85
85
  groupsName: '边框',
86
86
  followTheme: '@border-color-base'
87
+ },
88
+ tagColor: {
89
+ type: 'color',
90
+ label: '装饰符颜色',
91
+ groupsName: '其他',
92
+ followTheme: '@brand-primary'
93
+ },
94
+ tagSize: {
95
+ type: 'px',
96
+ label: '装饰符尺寸',
97
+ groupsName: '其他'
98
+ },
99
+ tagMargin: {
100
+ type: 'marginInput',
101
+ label: '装饰符外边距',
102
+ groupsName: '其他'
87
103
  }
88
104
  // TODO:
89
105
  // fTextColor: {
@@ -130,17 +146,20 @@ export var DynamicTable = {
130
146
  bodyBgColor: '#FFF',
131
147
  zebraBgColor: '#FAFAFA',
132
148
  borderColor: '#EFEFEF',
133
- borderRadius: '2px'
149
+ borderRadius: '2px',
134
150
  // fTextColor: 'rgba(28, 36, 46, 0.55)',
135
151
  // fFontSize: '12px',
136
152
  // fFontWeight: '400',
137
153
  // fHeadBgColor: '#FAFAFA',
154
+ tagColor: '#47e',
155
+ tagSize: '16px',
156
+ tagMargin: '0 8px 0 8px'
138
157
  }],
139
-
140
158
  followThemes: {
141
- '@border-color-base': []
159
+ '@border-color-base': [],
160
+ '@brand-primary': ['tagColor']
142
161
  },
143
- tpl: ".appDynamicTable {\n border-radius: borderRadius;\n .table-header{\n font-weight: fontWeight;\n font-size: fontSize;\n color: textColor;\n }\n .ag-header-row{\n font-size: headFontSize;\n }\n [class*=ag-theme-] {\n --ag-foreground-color: contentTextColor;\n }\n .table-body{\n --dynamic-table-header-bg-color: headBgColor;\n --ag-odd-row-background-color: bodyBgColor;\n --dynamic-table-header-color: headTextColor;\n }\n .ag-theme-segmentation {\n --ag-background-color: bodyBgColor;\n --ag-borders-critical: borderColor;\n --ag-row-border-color: borderColor;\n --ag-header-border-color: borderColor;\n --ag-font-size: contentFontSize;\n }\n .ag-theme-zebra {\n --ag-background-color: bodyBgColor;\n --ag-odd-row-background-color: zebraBgColor;\n --ag-borders: none;\n --ag-row-border-color: none;\n}\n .ag-theme-border {\n --ag-background-color: bodyBgColor;\n --ag-border-color: borderColor;\n --ag-cell-horizontal-border: solid borderColor;\n}\n }\n",
162
+ tpl: ".appDynamicTable {\n border-radius: borderRadius;\n .table-header{\n font-weight: fontWeight;\n font-size: fontSize;\n color: textColor;\n }\n .ag-header-row{\n font-size: headFontSize;\n }\n [class*=ag-theme-] {\n --ag-foreground-color: contentTextColor;\n }\n .table-body{\n --dynamic-table-header-bg-color: headBgColor;\n --ag-odd-row-background-color: bodyBgColor;\n --dynamic-table-header-color: headTextColor;\n }\n .ag-theme-segmentation {\n --ag-background-color: bodyBgColor;\n --ag-borders-critical: borderColor;\n --ag-row-border-color: borderColor;\n --ag-header-border-color: borderColor;\n --ag-font-size: contentFontSize;\n }\n .ag-theme-zebra {\n --ag-background-color: bodyBgColor;\n --ag-odd-row-background-color: zebraBgColor;\n --ag-borders: none;\n --ag-row-border-color: none;\n}\n .ag-theme-border {\n --ag-background-color: bodyBgColor;\n --ag-border-color: borderColor;\n --ag-cell-horizontal-border: solid borderColor;\n}\n }\n .appDynamicTable .table-header .head-style-custom {\n color: tagColor;\n margin: tagMargin;\n font-size: tagSize;\n width: tagSize;\n height: tagSize;\n }\n .appDynamicTable .table-header .head-style-one {\n background: tagColor;\n }\n .appDynamicTable .table-header .head-style-two {\n background: tagColor;\n }\n",
144
163
  // tpl: `
145
164
  // .appDynamicTable {
146
165
  // .table-body{
@@ -264,7 +283,12 @@ export var DynamicTable = {
264
283
  }],
265
284
  dataSourceLoading: false,
266
285
  showHead: true,
267
- tableTitle: '分割线表格'
286
+ tableTitle: '分割线表格',
287
+ headIconType: 'custom',
288
+ headPrefixIcon: {
289
+ prefixIconTheme: 'filled',
290
+ prefixIconType: 'reconciliation'
291
+ }
268
292
  },
269
293
  style: {
270
294
  // leftTitleColor: '#1C242E',
@@ -365,7 +389,8 @@ export var DynamicTable = {
365
389
  dataSourceLoading: false,
366
390
  twoDimension: true,
367
391
  showHead: true,
368
- tableTitle: '二维表格'
392
+ tableTitle: '二维表格',
393
+ headIconType: 'styleTwo'
369
394
  },
370
395
  style: {
371
396
  // leftTitleColor: '#1C242E',
@@ -465,7 +490,8 @@ export var DynamicTable = {
465
490
  }],
466
491
  dataSourceLoading: false,
467
492
  showHead: true,
468
- tableTitle: '斑马纹表格'
493
+ tableTitle: '斑马纹表格',
494
+ headIconType: 'styleOne'
469
495
  },
470
496
  style: {
471
497
  // leftTitleColor: '#1C242E',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/theme-utils",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",