@lingxiteam/theme-utils 0.2.9 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -103,6 +103,8 @@ insertLink('12312', 'http://xxx.css', true);
103
103
  canEdit: false,
104
104
  // 编辑从什么地方支撑这个属性
105
105
  extendsKey: 'Form',
106
+ // 表示这个字段跟随全局主题变量
107
+ followTheme: '@font-size-base',
106
108
  },
107
109
  },
108
110
  groupsName: '分组名称',
@@ -114,6 +116,10 @@ insertLink('12312', 'http://xxx.css', true);
114
116
  fontSize: '14px',
115
117
  },
116
118
  ],
119
+ // 是否跟随主题的开关,存在表示当前为跟随
120
+ followThemes: {
121
+ '@font-size-base': ['fontSize'],
122
+ },
117
123
  // 根据上面的配置项和下面的模版解析得到最终挂在的 css
118
124
  tpl: '.hh { font-size: fontSize}',
119
125
  // 如果它被别人继承,并且自己需要自定义样式,如父级自定义样式为 .aa.list{ .item { } } 子级的自定义样式为 .aa.item { }
@@ -77,7 +77,7 @@ export var Container = {
77
77
  }],
78
78
 
79
79
  // TODO:布局容器、普通容器
80
- tpl: "\n .ued-card .ued-card-title {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-collapse-wrap .pcfactory-collapse.pcfactory-collapse-icon-position-right > .pcfactory-collapse-item > .pcfactory-collapse-header .ued-collapse-panel-header {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-table-filters .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-filters .table-head-middle{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head-middle .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }",
80
+ tpl: "\n .ued-card .ued-card-title {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-card .pcfactory-card-head > .pcfactory-card-head-wrapper > .pcfactory-card-head-title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-collapse-wrap .pcfactory-collapse.pcfactory-collapse-icon-position-right > .pcfactory-collapse-item > .pcfactory-collapse-header .ued-collapse-panel-header {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-table-filters .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-filters .table-head-middle{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head-middle .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 0 0 0 18px ;\n }\n .ued-table-wrap .table-head .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }",
81
81
  components: [{
82
82
  id: 'Card_872926',
83
83
  label: '卡片',
@@ -204,6 +204,11 @@ export declare const Form: {
204
204
  startTime?: undefined;
205
205
  endTime?: undefined;
206
206
  customTip?: undefined;
207
+ placeholderText?: undefined;
208
+ displayStyle?: undefined;
209
+ countdownTime?: undefined;
210
+ random?: undefined;
211
+ digit?: undefined;
207
212
  };
208
213
  style: {};
209
214
  isContainer: boolean;
@@ -319,6 +324,11 @@ export declare const Form: {
319
324
  startTime?: undefined;
320
325
  endTime?: undefined;
321
326
  customTip?: undefined;
327
+ placeholderText?: undefined;
328
+ displayStyle?: undefined;
329
+ countdownTime?: undefined;
330
+ random?: undefined;
331
+ digit?: undefined;
322
332
  };
323
333
  style: {};
324
334
  isContainer: boolean;
@@ -434,6 +444,11 @@ export declare const Form: {
434
444
  startTime?: undefined;
435
445
  endTime?: undefined;
436
446
  customTip?: undefined;
447
+ placeholderText?: undefined;
448
+ displayStyle?: undefined;
449
+ countdownTime?: undefined;
450
+ random?: undefined;
451
+ digit?: undefined;
437
452
  };
438
453
  style: {};
439
454
  isContainer: boolean;
@@ -557,6 +572,11 @@ export declare const Form: {
557
572
  startTime?: undefined;
558
573
  endTime?: undefined;
559
574
  customTip?: undefined;
575
+ placeholderText?: undefined;
576
+ displayStyle?: undefined;
577
+ countdownTime?: undefined;
578
+ random?: undefined;
579
+ digit?: undefined;
560
580
  };
561
581
  style: {};
562
582
  isContainer: boolean;
@@ -686,6 +706,11 @@ export declare const Form: {
686
706
  startTime?: undefined;
687
707
  endTime?: undefined;
688
708
  customTip?: undefined;
709
+ placeholderText?: undefined;
710
+ displayStyle?: undefined;
711
+ countdownTime?: undefined;
712
+ random?: undefined;
713
+ digit?: undefined;
689
714
  };
690
715
  style: {};
691
716
  isContainer: boolean;
@@ -804,6 +829,11 @@ export declare const Form: {
804
829
  startTime?: undefined;
805
830
  endTime?: undefined;
806
831
  customTip?: undefined;
832
+ placeholderText?: undefined;
833
+ displayStyle?: undefined;
834
+ countdownTime?: undefined;
835
+ random?: undefined;
836
+ digit?: undefined;
807
837
  };
808
838
  style: {};
809
839
  isContainer: boolean;
@@ -930,6 +960,11 @@ export declare const Form: {
930
960
  startTime?: undefined;
931
961
  endTime?: undefined;
932
962
  customTip?: undefined;
963
+ placeholderText?: undefined;
964
+ displayStyle?: undefined;
965
+ countdownTime?: undefined;
966
+ random?: undefined;
967
+ digit?: undefined;
933
968
  };
934
969
  style: {};
935
970
  isContainer: boolean;
@@ -1056,6 +1091,11 @@ export declare const Form: {
1056
1091
  startTime?: undefined;
1057
1092
  endTime?: undefined;
1058
1093
  customTip?: undefined;
1094
+ placeholderText?: undefined;
1095
+ displayStyle?: undefined;
1096
+ countdownTime?: undefined;
1097
+ random?: undefined;
1098
+ digit?: undefined;
1059
1099
  };
1060
1100
  style: {};
1061
1101
  isContainer: boolean;
@@ -1190,6 +1230,11 @@ export declare const Form: {
1190
1230
  startTime?: undefined;
1191
1231
  endTime?: undefined;
1192
1232
  customTip?: undefined;
1233
+ placeholderText?: undefined;
1234
+ displayStyle?: undefined;
1235
+ countdownTime?: undefined;
1236
+ random?: undefined;
1237
+ digit?: undefined;
1193
1238
  };
1194
1239
  style: {};
1195
1240
  isContainer: boolean;
@@ -1323,6 +1368,11 @@ export declare const Form: {
1323
1368
  startTime?: undefined;
1324
1369
  endTime?: undefined;
1325
1370
  customTip?: undefined;
1371
+ placeholderText?: undefined;
1372
+ displayStyle?: undefined;
1373
+ countdownTime?: undefined;
1374
+ random?: undefined;
1375
+ digit?: undefined;
1326
1376
  };
1327
1377
  style: {};
1328
1378
  isContainer: boolean;
@@ -1438,6 +1488,11 @@ export declare const Form: {
1438
1488
  startTime?: undefined;
1439
1489
  endTime?: undefined;
1440
1490
  customTip?: undefined;
1491
+ placeholderText?: undefined;
1492
+ displayStyle?: undefined;
1493
+ countdownTime?: undefined;
1494
+ random?: undefined;
1495
+ digit?: undefined;
1441
1496
  };
1442
1497
  style: {};
1443
1498
  isContainer: boolean;
@@ -1553,6 +1608,11 @@ export declare const Form: {
1553
1608
  startTime?: undefined;
1554
1609
  endTime?: undefined;
1555
1610
  customTip?: undefined;
1611
+ placeholderText?: undefined;
1612
+ displayStyle?: undefined;
1613
+ countdownTime?: undefined;
1614
+ random?: undefined;
1615
+ digit?: undefined;
1556
1616
  };
1557
1617
  style: {};
1558
1618
  isContainer: boolean;
@@ -1687,6 +1747,11 @@ export declare const Form: {
1687
1747
  startTime?: undefined;
1688
1748
  endTime?: undefined;
1689
1749
  customTip?: undefined;
1750
+ placeholderText?: undefined;
1751
+ displayStyle?: undefined;
1752
+ countdownTime?: undefined;
1753
+ random?: undefined;
1754
+ digit?: undefined;
1690
1755
  };
1691
1756
  style: {};
1692
1757
  isContainer: boolean;
@@ -1827,6 +1892,11 @@ export declare const Form: {
1827
1892
  startTime?: undefined;
1828
1893
  endTime?: undefined;
1829
1894
  customTip?: undefined;
1895
+ placeholderText?: undefined;
1896
+ displayStyle?: undefined;
1897
+ countdownTime?: undefined;
1898
+ random?: undefined;
1899
+ digit?: undefined;
1830
1900
  };
1831
1901
  style: {};
1832
1902
  isContainer: boolean;
@@ -1939,6 +2009,11 @@ export declare const Form: {
1939
2009
  startTime?: undefined;
1940
2010
  endTime?: undefined;
1941
2011
  customTip?: undefined;
2012
+ placeholderText?: undefined;
2013
+ displayStyle?: undefined;
2014
+ countdownTime?: undefined;
2015
+ random?: undefined;
2016
+ digit?: undefined;
1942
2017
  };
1943
2018
  style: {};
1944
2019
  isContainer: boolean;
@@ -2054,6 +2129,11 @@ export declare const Form: {
2054
2129
  modalWidth?: undefined;
2055
2130
  modalHeight?: undefined;
2056
2131
  separator?: undefined;
2132
+ placeholderText?: undefined;
2133
+ displayStyle?: undefined;
2134
+ countdownTime?: undefined;
2135
+ random?: undefined;
2136
+ digit?: undefined;
2057
2137
  };
2058
2138
  style: {};
2059
2139
  isContainer: boolean;
@@ -2169,6 +2249,11 @@ export declare const Form: {
2169
2249
  modalWidth?: undefined;
2170
2250
  modalHeight?: undefined;
2171
2251
  separator?: undefined;
2252
+ placeholderText?: undefined;
2253
+ displayStyle?: undefined;
2254
+ countdownTime?: undefined;
2255
+ random?: undefined;
2256
+ digit?: undefined;
2172
2257
  };
2173
2258
  style: {};
2174
2259
  isContainer: boolean;
@@ -2284,6 +2369,11 @@ export declare const Form: {
2284
2369
  startTime?: undefined;
2285
2370
  endTime?: undefined;
2286
2371
  customTip?: undefined;
2372
+ placeholderText?: undefined;
2373
+ displayStyle?: undefined;
2374
+ countdownTime?: undefined;
2375
+ random?: undefined;
2376
+ digit?: undefined;
2287
2377
  };
2288
2378
  style: {};
2289
2379
  isContainer: boolean;
@@ -2305,6 +2395,137 @@ export declare const Form: {
2305
2395
  engineApi?: undefined;
2306
2396
  alias?: undefined;
2307
2397
  isInlineBlock?: undefined;
2398
+ } | {
2399
+ id: string;
2400
+ label: string;
2401
+ compName: string;
2402
+ type: string;
2403
+ compType: number;
2404
+ compLib: string;
2405
+ props: {
2406
+ name: string;
2407
+ placeholderText: string;
2408
+ displayStyle: string;
2409
+ countdownTime: number;
2410
+ random: boolean;
2411
+ digit: number;
2412
+ formItemIndex: number;
2413
+ labelCol: number;
2414
+ wrapperCol: number;
2415
+ fieldName: string;
2416
+ basicStatus?: undefined;
2417
+ size?: undefined;
2418
+ titleTip?: undefined;
2419
+ tipContent?: undefined;
2420
+ tipSize?: undefined;
2421
+ tipWidth?: undefined;
2422
+ tipHeight?: undefined;
2423
+ prefixIconPosition?: undefined;
2424
+ postfix?: undefined;
2425
+ postfixIconPosition?: undefined;
2426
+ required?: undefined;
2427
+ placeholder?: undefined;
2428
+ allowClear?: undefined;
2429
+ dataMask?: undefined;
2430
+ step?: undefined;
2431
+ min?: undefined;
2432
+ formatting?: undefined;
2433
+ radioType?: undefined;
2434
+ optionMarginRight?: undefined;
2435
+ staticData?: undefined;
2436
+ options?: undefined;
2437
+ checkAllText?: undefined;
2438
+ selfSpan?: undefined;
2439
+ tipPlacement?: undefined;
2440
+ tipIcon?: undefined;
2441
+ tipLocation?: undefined;
2442
+ checkedAll?: undefined;
2443
+ text?: undefined;
2444
+ extendProps?: undefined;
2445
+ filter?: undefined;
2446
+ mode?: undefined;
2447
+ classification?: undefined;
2448
+ defaultValue?: undefined;
2449
+ treeDefaultExpandAll?: undefined;
2450
+ showSearch?: undefined;
2451
+ treeNodeFilterProp?: undefined;
2452
+ treeData?: undefined;
2453
+ multiple?: undefined;
2454
+ expandTrigger?: undefined;
2455
+ popupPlacement?: undefined;
2456
+ popoverStyle?: undefined;
2457
+ range?: undefined;
2458
+ included?: undefined;
2459
+ direction?: undefined;
2460
+ showInput?: undefined;
2461
+ showLabel?: undefined;
2462
+ labelPlacement?: undefined;
2463
+ max?: undefined;
2464
+ count?: undefined;
2465
+ value?: undefined;
2466
+ tooltips?: undefined;
2467
+ switchStyle?: undefined;
2468
+ checkedChildren?: undefined;
2469
+ unCheckedChildren?: undefined;
2470
+ checkedChildrenIcon?: undefined;
2471
+ unCheckedChildrenIcon?: undefined;
2472
+ defaultChecked?: undefined;
2473
+ uploadStyle?: undefined;
2474
+ listType?: undefined;
2475
+ viewMode?: undefined;
2476
+ fileNameEncode?: undefined;
2477
+ isWatermark?: undefined;
2478
+ optionalFile?: undefined;
2479
+ fileName?: undefined;
2480
+ numberLimit?: undefined;
2481
+ singleFileMaxSize?: undefined;
2482
+ uploadText?: undefined;
2483
+ uploadTimeout?: undefined;
2484
+ deleteIcon?: undefined;
2485
+ downloadIcon?: undefined;
2486
+ previewIcon?: undefined;
2487
+ modalWidth?: undefined;
2488
+ modalHeight?: undefined;
2489
+ timeMode?: undefined;
2490
+ separator?: undefined;
2491
+ format?: undefined;
2492
+ pickerType?: undefined;
2493
+ limitRange?: undefined;
2494
+ startTime?: undefined;
2495
+ endTime?: undefined;
2496
+ customTip?: undefined;
2497
+ };
2498
+ style: {};
2499
+ isContainer: boolean;
2500
+ isBusiObjContainer: boolean;
2501
+ cmdgroup: string[];
2502
+ platform: string;
2503
+ fieldProps: {
2504
+ trigger: string;
2505
+ valuePropName: string;
2506
+ };
2507
+ icon: string;
2508
+ description: string;
2509
+ image: string;
2510
+ groupsName: string;
2511
+ engineApi: string[];
2512
+ setEvents: {
2513
+ dataName: string;
2514
+ value: string;
2515
+ params: {
2516
+ title: string;
2517
+ name: string;
2518
+ value: string;
2519
+ }[];
2520
+ path: never[];
2521
+ dataId: string;
2522
+ children: never[];
2523
+ }[];
2524
+ isLabelDropBoxChild: boolean;
2525
+ components: never[];
2526
+ path: string[];
2527
+ alias?: undefined;
2528
+ isInlineBlock?: undefined;
2308
2529
  })[];
2309
2530
  path: string[];
2310
2531
  } | {
@@ -92,8 +92,8 @@ export var Form = {
92
92
  // 下拉单选与下拉复选样式一致
93
93
  // 滑动输入条没有边框样式
94
94
  // TODO: 树选择器,联级选择器效果待确认
95
- itemCustomTpl: ".pcFactory-from-component{\n .pcfactory-form-item-label>label{\n color: labelTextColor;\n line-height: labelLineHeight;\n font-size: labelFontSize;\n }\n .pcfactory-input-affix-wrapper {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-input-affix-wrapper:not(.pcfactory-input-affix-wrapper-disabled):hover{\n border-color: itemBorderColor;\n }\n .pcfactory-input{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .ued-inputNumber-wrap.pcfactory-input-number{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .verificationCodePC-inputContent{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n height: auto;\n min-height: 32px;\n }\n .pcfactory-radio-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-checkbox-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select.ued-select-wrap{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select.ued-select-wrap .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-select:not(.pcfactory-select-customize-input) .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n height: auto;\n min-height: 32px;\n }\n .ued-datePicker-wrap.pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n }\n .pcfactory-picker-input>input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-open .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-item, .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-placeholder{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select-multiple .ued-select-checked-tag{\n color: textColor;\n font-size: fontSize;\n min-height: 24px;\n height: auto;\n padding: 4px 8px 4px 8px;\n line-height: 1.5715;\n }\n .pcfactory-select-single:not(.pcfactory-select-customize-input) .pcfactory-select-selector::after{\n line-height: fontSize;\n }\n span.pcfactory-radio+*{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-selector{\n height: auto;\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .ued-select-wrap .pcfactory-select-selector {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap:hover .pcfactory-select-selector{\n border-color: itemBorderColor;\n }\n .pcfactory-checkbox+span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n height: auto;\n }\n .ued-cascader-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker-input > input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-treeSelect-wrap .pcfactory-select-selector{\n height: 1000px\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button>span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n \n .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-item, .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: 2;\n font-size: fontSize;\n }\n .pcfactory-select-multiple .pcfactory-select-selection-placeholder{\n font-size: fontSize;\n }\n .ued-rateContainer .pcfactory-rate{\n font-size: fontSize;\n }\n .ued-rateContainer-rateText{\n color: textColor;\n font-size: fontSize;\n }\n\n }",
96
- tpl: ".ued-legacy-form-wrap{\n background-color: backgroundColor;\n .pcFactory-from-component{\n .pcfactory-form-item-label>label{\n color: labelTextColor;\n line-height: labelLineHeight;\n font-size: labelFontSize;\n }\n .pcfactory-input-affix-wrapper {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-input-affix-wrapper:not(.pcfactory-input-affix-wrapper-disabled):hover{\n border-color: itemBorderColor;\n }\n .pcfactory-input{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .ued-inputNumber-wrap.pcfactory-input-number{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .verificationCodePC-inputContent{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n height: auto;\n min-height: 32px;\n }\n .pcfactory-radio-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-checkbox-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select.ued-select-wrap{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select.ued-select-wrap .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-select:not(.pcfactory-select-customize-input) .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n height: auto;\n min-height: 32px;\n }\n .ued-datePicker-wrap.pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n }\n .pcfactory-picker-input>input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-open .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-item, .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-placeholder{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select-multiple .ued-select-checked-tag{\n color: textColor;\n font-size: fontSize;\n min-height: 24px;\n height: auto;\n padding: 4px 8px 4px 8px;\n line-height: 1.5715;\n }\n .pcfactory-select-single:not(.pcfactory-select-customize-input) .pcfactory-select-selector::after{\n line-height: fontSize;\n }\n span.pcfactory-radio+*{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-selector{\n height: auto;\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .ued-select-wrap .pcfactory-select-selector {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap:hover .pcfactory-select-selector{\n border-color: itemBorderColor;\n }\n .pcfactory-checkbox+span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n height: auto;\n }\n .ued-cascader-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker-input > input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-treeSelect-wrap .pcfactory-select-selector{\n height: 1000px\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button>span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n \n .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-item, .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: 2;\n font-size: fontSize;\n }\n .pcfactory-select-multiple .pcfactory-select-selection-placeholder{\n font-size: fontSize;\n }\n .ued-rateContainer .pcfactory-rate{\n font-size: fontSize;\n }\n .ued-rateContainer-rateText{\n color: textColor;\n font-size: fontSize;\n }\n\n }\n \n }\n \n ",
95
+ itemCustomTpl: ".pcFactory-from-component{\n .verificationCodePC, .verificationCodePC-titleTop{\n border: 1px solid itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .verificationCodePC-inputContent{\n height: auto;\n }\n .verificationCodePC-inputContent .normalArea{\n height: auto;\n }\n .pcfactory-form-item-label>label{\n color: labelTextColor;\n line-height: labelLineHeight;\n font-size: labelFontSize;\n }\n .pcfactory-input-affix-wrapper {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-input-affix-wrapper:not(.pcfactory-input-affix-wrapper-disabled):hover{\n border-color: itemBorderColor;\n }\n .pcfactory-input{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-input:focus{\n box-shadow: none !important ;\n border-style: none !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-radio-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-checkbox-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select.ued-select-wrap{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select.ued-select-wrap .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-select:not(.pcfactory-select-customize-input) .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n height: auto;\n min-height: 32px;\n line-height: 2;\n }\n .ued-datePicker-wrap.pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n }\n .pcfactory-picker-input>input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-open .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-item, .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-placeholder{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select-multiple .ued-select-checked-tag{\n color: textColor;\n font-size: fontSize;\n min-height: 24px;\n height: auto;\n padding: 4px 8px 4px 8px;\n line-height: 1.5715;\n }\n .pcfactory-select-single:not(.pcfactory-select-customize-input) .pcfactory-select-selector::after{\n line-height: fontSize;\n }\n span.pcfactory-radio+*{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-selector{\n height: auto;\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .ued-select-wrap .pcfactory-select-selector {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap:hover .pcfactory-select-selector{\n border-color: itemBorderColor;\n }\n .pcfactory-checkbox+span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n height: auto;\n }\n .ued-cascader-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker-input > input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button>span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n \n .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-item, .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: 2;\n font-size: fontSize;\n }\n .pcfactory-select-multiple .pcfactory-select-selection-placeholder{\n font-size: fontSize;\n }\n .ued-rateContainer .pcfactory-rate{\n font-size: fontSize;\n }\n .ued-rateContainer-rateText{\n color: textColor;\n font-size: fontSize;\n }\n \n }\n ",
96
+ tpl: ".ued-legacy-form-wrap{\n background-color: backgroundColor;\n .pcFactory-from-component{\n .verificationCodePC, .verificationCodePC-titleTop{\n border: 1px solid itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .verificationCodePC-inputContent{\n height: auto;\n }\n .verificationCodePC-inputContent .normalArea{\n height: auto;\n }\n .pcfactory-form-item-label>label{\n color: labelTextColor;\n line-height: labelLineHeight;\n font-size: labelFontSize;\n }\n .pcfactory-input-affix-wrapper {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-input-affix-wrapper:not(.pcfactory-input-affix-wrapper-disabled):hover{\n border-color: itemBorderColor;\n }\n .pcfactory-input{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-input:focus{\n box-shadow: none !important ;\n border-style: none !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-radio-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-checkbox-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select.ued-select-wrap{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select.ued-select-wrap .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-select:not(.pcfactory-select-customize-input) .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n height: auto;\n min-height: 32px;\n line-height: 2;\n }\n .ued-datePicker-wrap.pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n }\n .pcfactory-picker-input>input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-open .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-item, .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-placeholder{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select-multiple .ued-select-checked-tag{\n color: textColor;\n font-size: fontSize;\n min-height: 24px;\n height: auto;\n padding: 4px 8px 4px 8px;\n line-height: 1.5715;\n }\n .pcfactory-select-single:not(.pcfactory-select-customize-input) .pcfactory-select-selector::after{\n line-height: fontSize;\n }\n span.pcfactory-radio+*{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-selector{\n height: auto;\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .ued-select-wrap .pcfactory-select-selector {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap:hover .pcfactory-select-selector{\n border-color: itemBorderColor;\n }\n .pcfactory-checkbox+span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n height: auto;\n }\n .ued-cascader-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker-input > input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button>span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n \n .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-item, .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: 2;\n font-size: fontSize;\n }\n .pcfactory-select-multiple .pcfactory-select-selection-placeholder{\n font-size: fontSize;\n }\n .ued-rateContainer .pcfactory-rate{\n font-size: fontSize;\n }\n .ued-rateContainer-rateText{\n color: textColor;\n font-size: fontSize;\n }\n \n }\n }\n \n ",
97
97
  components: [{
98
98
  id: 'Form_180373',
99
99
  label: '表单',
@@ -731,7 +731,7 @@ export var Form = {
731
731
  props: {
732
732
  name: '滑动输入条',
733
733
  range: false,
734
- defaultValue: 0,
734
+ defaultValue: 50,
735
735
  basicStatus: 1,
736
736
  labelCol: 8,
737
737
  wrapperCol: 16,
@@ -1127,69 +1127,55 @@ export var Form = {
1127
1127
  isLabelDropBoxChild: false,
1128
1128
  components: [],
1129
1129
  path: ['998509', 'Form_180373']
1130
- }
1131
- // {
1132
- // id: 'VerificationCode_6637723',
1133
- // label: '验证码',
1134
- // compName: 'VerificationCode',
1135
- // type: 'VerificationCode',
1136
- // compType: 2,
1137
- // compLib: 'comm',
1138
- // props: {
1139
- // name: '验证码',
1140
- // placeholderText: '请输入验证码',
1141
- // displayStyle: 'countdownStyle',
1142
- // countdownTime: 60,
1143
- // random: false,
1144
- // digit: 4,
1145
- // formItemIndex: 16,
1146
- // labelCol: 8,
1147
- // wrapperCol: 16,
1148
- // fieldName: 'asdcx',
1149
- // },
1150
- // style: {
1151
- // borderSetting: 'border 1px solid #E5E5E5',
1152
- // border: '1px solid #E5E5E5',
1153
- // borderRadius: '4px 4px 4px 4px',
1154
- // fontSize: '14',
1155
- // color: '#4477EE',
1156
- // backgroundColor: '#ffffff',
1157
- // },
1158
- // isContainer: false,
1159
- // isBusiObjContainer: false,
1160
- // cmdgroup: ['basic'],
1161
- // platform: 'pc',
1162
- // fieldProps: {
1163
- // trigger: 'onChange',
1164
- // valuePropName: 'value',
1165
- // },
1166
- // icon: 'VerificationCode',
1167
- // description: '',
1168
- // image: '',
1169
- // groupsName: '数据录入',
1170
- // engineApi: ['getValidateCodePicture'],
1171
- // setEvents: [
1172
- // {
1173
- // dataName: 'event',
1174
- // value: 'onChange',
1175
- // params: [
1176
- // {
1177
- // title: '事件对象',
1178
- // name: 'e',
1179
- // value: '$e$',
1180
- // },
1181
- // ],
1182
- // path: [],
1183
- // dataId: '4056877',
1184
- // children: [],
1185
- // },
1186
- // ],
1187
- // isLabelDropBoxChild: false,
1188
- // components: [],
1189
- // path: ['998509', 'Form_180373'],
1190
- // },
1191
- ],
1192
-
1130
+ }, {
1131
+ id: 'VerificationCode_6637723',
1132
+ label: '验证码',
1133
+ compName: 'VerificationCode',
1134
+ type: 'VerificationCode',
1135
+ compType: 2,
1136
+ compLib: 'comm',
1137
+ props: {
1138
+ name: '验证码',
1139
+ placeholderText: '请输入验证码',
1140
+ displayStyle: 'countdownStyle',
1141
+ countdownTime: 60,
1142
+ random: false,
1143
+ digit: 4,
1144
+ formItemIndex: 16,
1145
+ labelCol: 8,
1146
+ wrapperCol: 16,
1147
+ fieldName: 'asdcx'
1148
+ },
1149
+ style: {},
1150
+ isContainer: false,
1151
+ isBusiObjContainer: false,
1152
+ cmdgroup: ['basic'],
1153
+ platform: 'pc',
1154
+ fieldProps: {
1155
+ trigger: 'onChange',
1156
+ valuePropName: 'value'
1157
+ },
1158
+ icon: 'VerificationCode',
1159
+ description: '',
1160
+ image: '',
1161
+ groupsName: '数据录入',
1162
+ engineApi: ['getValidateCodePicture'],
1163
+ setEvents: [{
1164
+ dataName: 'event',
1165
+ value: 'onChange',
1166
+ params: [{
1167
+ title: '事件对象',
1168
+ name: 'e',
1169
+ value: '$e$'
1170
+ }],
1171
+ path: [],
1172
+ dataId: '4056877',
1173
+ children: []
1174
+ }],
1175
+ isLabelDropBoxChild: false,
1176
+ components: [],
1177
+ path: ['998509', 'Form_180373']
1178
+ }],
1193
1179
  path: ['998509']
1194
1180
  }, {
1195
1181
  id: 'View_519882',
@@ -17,7 +17,7 @@ export var Icon = {
17
17
  followThemes: {
18
18
  '@font-size-base': ['iconSize']
19
19
  },
20
- tpl: ".ued-icon svg {\n width: iconSize;\n height: iconSize;\n }",
20
+ tpl: ".pcFactory-icon.ued-icon svg {\n width: iconSize;\n height: iconSize;\n }",
21
21
  components: [{
22
22
  id: 'Icon_913145',
23
23
  label: '图标',
@@ -1,5 +1,6 @@
1
1
  export declare const Tabs: {
2
2
  type: string;
3
+ hasPrefixClass: boolean;
3
4
  variable: {
4
5
  headBgColor: {
5
6
  type: string;
@@ -10,6 +11,7 @@ export declare const Tabs: {
10
11
  type: string;
11
12
  label: string;
12
13
  groupsName: string;
14
+ followTheme: string;
13
15
  };
14
16
  activeFColor: {
15
17
  type: string;
@@ -120,6 +122,7 @@ export declare const Tabs: {
120
122
  tabBarGutter: string;
121
123
  tabPosition: string;
122
124
  size: string;
125
+ className: string;
123
126
  };
124
127
  style: {
125
128
  width: string;
@@ -130,7 +133,6 @@ export declare const Tabs: {
130
133
  isBusiObjContainer: boolean;
131
134
  cmdgroup: string[];
132
135
  platform: string;
133
- engineApi: never[];
134
136
  icon: string;
135
137
  description: string;
136
138
  image: string;
@@ -158,7 +160,6 @@ export declare const Tabs: {
158
160
  isBusiObjContainer: boolean;
159
161
  cmdgroup: string[];
160
162
  platform: string;
161
- engineApi: string[];
162
163
  icon: string;
163
164
  description: string;
164
165
  image: string;
@@ -1,5 +1,6 @@
1
1
  export var Tabs = {
2
2
  type: 'Tabs',
3
+ hasPrefixClass: true,
3
4
  variable: {
4
5
  headBgColor: {
5
6
  type: 'color',
@@ -9,7 +10,8 @@ export var Tabs = {
9
10
  activeBgColor: {
10
11
  type: 'color',
11
12
  label: '选中项背景颜色',
12
- groupsName: '背景颜色'
13
+ groupsName: '背景颜色',
14
+ followTheme: '@primary-color'
13
15
  },
14
16
  activeFColor: {
15
17
  type: 'color',
@@ -126,15 +128,15 @@ export var Tabs = {
126
128
  icon: 'icon-ico-comp-tabs',
127
129
  title: '标签页',
128
130
  defaultValue: [{
129
- headBgColor: '#0085D0',
130
- activeBgColor: '#005D92',
131
+ headBgColor: '#FAFAFA',
132
+ activeBgColor: '#47e',
131
133
  activeFColor: '#47e',
132
134
  bodyColor: '#fff',
133
135
  activeRadius: '2px',
134
136
  borderRadius: '0px',
135
137
  paddingValue: '12px 20px 12px 20px',
136
138
  marginValue: '0px',
137
- textColor: '#FFFFFF',
139
+ textColor: 'rgba(94, 94, 94, 0.75)',
138
140
  activeTextColor: '#FFFFFF',
139
141
  lineHeight: '24px',
140
142
  fontSize: '16px',
@@ -142,11 +144,11 @@ export var Tabs = {
142
144
  activeFontWeight: '300'
143
145
  }],
144
146
  followThemes: {
145
- '@primary-color': ['activeFColor']
147
+ '@primary-color': ['activeFColor', 'activeBgColor']
146
148
  },
147
- tpl: ".pcfactory-tabs .pcfactory-tabs > .pcfactory-tabs-nav .pcfactory-tabs-nav-wrap{\n background-color: headBgColor;\n }\n .pcfactory-tabs .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background-color: activeBgColor;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs .pcfactory-tabs-ink-bar{\n background-color: activeFColor;\n }\n .pcfactory-tabs{\n background-color: bodyColor;\n border-radius: borderRadius;\n }\n .pcfactory-tabs .pcfactory-tabs-nav .pcfactory-tabs-tab{\n padding: paddingValue;\n margin: marginValue;\n }\n .pcfactory-tabs .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .pcfactory-tabs .pcfactory-tabs-nav .pcfactory-tabs-tab-active .pcfactory-tabs-tab-btn{\n color: activeTextColor;\n font-weight: activeFontWeight;\n }",
149
+ tpl: ".pcfactory-tabs {\n background-color: bodyColor !important;\n border-radius: borderRadius !important;\n .pcfactory-tabs-nav .pcfactory-tabs-nav-wrap{\n background-color: headBgColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background-color: activeBgColor;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-nav::before{\n border-color: activeFColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab{\n padding: paddingValue;\n margin: marginValue;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab-active .pcfactory-tabs-tab-btn{\n color: activeTextColor;\n font-weight: activeFontWeight;\n }\n\n }\n ",
148
150
  components: [{
149
- id: 'Tabs_9165146',
151
+ id: 'Tabs_479998',
150
152
  label: '标签页',
151
153
  compName: 'Tabs',
152
154
  type: 'Tabs',
@@ -160,7 +162,8 @@ export var Tabs = {
160
162
  defaultActiveKey: '1',
161
163
  tabBarGutter: '4px',
162
164
  tabPosition: 'top',
163
- size: 'default'
165
+ size: 'default',
166
+ className: 'fdddd'
164
167
  },
165
168
  style: {
166
169
  width: '100%',
@@ -171,7 +174,6 @@ export var Tabs = {
171
174
  isBusiObjContainer: false,
172
175
  cmdgroup: ['basic'],
173
176
  platform: 'pc',
174
- engineApi: [],
175
177
  icon: 'Tabs',
176
178
  description: '',
177
179
  image: '',
@@ -180,7 +182,7 @@ export var Tabs = {
180
182
  setEvents: [],
181
183
  isLabelDropBoxChild: false,
182
184
  components: [{
183
- id: 'TabPane_0929347',
185
+ id: 'TabPane_323243',
184
186
  label: '标签子面板',
185
187
  compName: 'TabPane',
186
188
  type: 'TabPane',
@@ -199,7 +201,6 @@ export var Tabs = {
199
201
  isBusiObjContainer: false,
200
202
  cmdgroup: ['basic'],
201
203
  platform: 'pc',
202
- engineApi: ['sandBoxSafeRun'],
203
204
  icon: 'TabPane',
204
205
  description: '',
205
206
  image: '',
@@ -208,9 +209,9 @@ export var Tabs = {
208
209
  setEvents: [],
209
210
  isLabelDropBoxChild: false,
210
211
  components: [],
211
- path: ['998509', 'Tabs_9165146']
212
+ path: ['508679', 'View_508679_1', 'Tabs_479998']
212
213
  }, {
213
- id: 'TabPane_909',
214
+ id: 'TabPane_317096',
214
215
  label: '标签子面板',
215
216
  compName: 'TabPane',
216
217
  type: 'TabPane',
@@ -229,7 +230,6 @@ export var Tabs = {
229
230
  isBusiObjContainer: false,
230
231
  cmdgroup: ['basic'],
231
232
  platform: 'pc',
232
- engineApi: ['sandBoxSafeRun'],
233
233
  icon: 'TabPane',
234
234
  description: '',
235
235
  image: '',
@@ -238,8 +238,8 @@ export var Tabs = {
238
238
  setEvents: [],
239
239
  isLabelDropBoxChild: false,
240
240
  components: [],
241
- path: ['998509', 'Tabs_9165146']
241
+ path: ['508679', 'View_508679_1', 'Tabs_479998']
242
242
  }],
243
- path: ['998509']
243
+ path: ['508679', 'View_508679_1']
244
244
  }]
245
245
  };
@@ -20,6 +20,7 @@ export declare const Button: {
20
20
  type: string;
21
21
  label: string;
22
22
  groupsName: string;
23
+ followTheme: string;
23
24
  };
24
25
  borderColor: {
25
26
  type: string;
@@ -55,6 +56,9 @@ export declare const Button: {
55
56
  paddingValue: string;
56
57
  marginValue: string;
57
58
  }[];
59
+ followThemes: {
60
+ '@primary-color': string[];
61
+ };
58
62
  tpl: string;
59
63
  components: ({
60
64
  id: string;
@@ -19,7 +19,8 @@ export var Button = {
19
19
  backgroundColor: {
20
20
  type: 'color',
21
21
  label: '主题颜色',
22
- groupsName: '颜色'
22
+ groupsName: '颜色',
23
+ followTheme: '@primary-color'
23
24
  },
24
25
  borderColor: {
25
26
  type: 'color',
@@ -55,6 +56,9 @@ export var Button = {
55
56
  paddingValue: '7px 12px 7px 12px',
56
57
  marginValue: '0px'
57
58
  }],
59
+ followThemes: {
60
+ '@primary-color': ['backgroundColor']
61
+ },
58
62
  tpl: "\n .adm-button{\n --border-color: borderColor;\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n border-radius: borderRadius;\n padding: paddingValue;\n margin: marginValue;\n }\n .adm-button.adm-button-large{\n font-size: fontSize;\n padding: paddingValue;\n margin: marginValue;\n }\n .adm-button:not(.adm-button-default){\n color: #fff;\n }\n .adm-button-primary{\n --color: backgroundColor;\n }\n .lcdp-button-type-link{\n color: backgroundColor;\n }\n ",
59
63
  components: [{
60
64
  id: 'Button_5647878',
@@ -5,11 +5,13 @@ export declare const DCheckbox: {
5
5
  type: string;
6
6
  label: string;
7
7
  groupsName: string;
8
+ followTheme: string;
8
9
  };
9
10
  selectBorderRadius: {
10
11
  type: string;
11
12
  label: string;
12
13
  groupsName: string;
14
+ followTheme: string;
13
15
  };
14
16
  itemBgColor: {
15
17
  type: string;
@@ -123,6 +125,9 @@ export declare const DCheckbox: {
123
125
  itemBorderRadius: string;
124
126
  itemBgColor: string;
125
127
  }[];
128
+ followThemes: {
129
+ '@primary-color': string[];
130
+ };
126
131
  tpl: string;
127
132
  components: {
128
133
  id: string;
@@ -4,12 +4,14 @@ export var DCheckbox = {
4
4
  selectBgColor: {
5
5
  type: 'color',
6
6
  label: '选中背景颜色',
7
- groupsName: '背景颜色'
7
+ groupsName: '背景颜色',
8
+ followTheme: '@primary-color'
8
9
  },
9
10
  selectBorderRadius: {
10
11
  type: 'color',
11
12
  label: '选中边框颜色',
12
- groupsName: '边框'
13
+ groupsName: '边框',
14
+ followTheme: '@primary-color'
13
15
  },
14
16
  itemBgColor: {
15
17
  type: 'color',
@@ -165,6 +167,9 @@ export var DCheckbox = {
165
167
  itemBorderRadius: '#e5e5e5',
166
168
  itemBgColor: 'rgba(0,0,0,0)'
167
169
  }],
170
+ followThemes: {
171
+ '@primary-color': ['selectBorderRadius', 'selectBgColor']
172
+ },
168
173
  tpl: "\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton{\n background-color: itemBgColor;\n border-color: itemBorderRadius;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton-selectAll-circular{\n background-color: itemBgColor;\n border-color: itemBorderRadius;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton-selectAll-square{\n background-color: itemBgColor;\n border-color: itemBorderRadius;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton-checked{\n background-color: selectBgColor;\n border-color: selectBorderRadius;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton-selectAll-checked{\n background-color: selectBgColor;\n border-color: selectBorderRadius;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-botton-selectAll-half-checked{\n background-color: selectBgColor;\n border-color: selectBorderRadius;\n }",
169
174
  components: [{
170
175
  id: 'DForm_333712',
@@ -11,6 +11,7 @@ export declare const DformFile: {
11
11
  type: string;
12
12
  label: string;
13
13
  groupsName: string;
14
+ followTheme: string;
14
15
  };
15
16
  btnBorderRadius: {
16
17
  type: string;
@@ -62,6 +63,9 @@ export declare const DformFile: {
62
63
  btnIconColor: string;
63
64
  btnBorderRadius: string;
64
65
  }[];
66
+ followThemes: {
67
+ '@primary-color': string[];
68
+ };
65
69
  tpl: string;
66
70
  components: {
67
71
  id: string;
@@ -10,7 +10,8 @@ export var DformFile = {
10
10
  btnIconColor: {
11
11
  type: 'color',
12
12
  label: '上传按钮标题颜色',
13
- groupsName: '背景颜色'
13
+ groupsName: '背景颜色',
14
+ followTheme: '@primary-color'
14
15
  },
15
16
  btnBorderRadius: {
16
17
  type: 'px',
@@ -80,6 +81,9 @@ export var DformFile = {
80
81
  btnIconColor: '#108ee9',
81
82
  btnBorderRadius: '100px'
82
83
  }],
84
+ followThemes: {
85
+ '@primary-color': ['btnIconColor']
86
+ },
83
87
  tpl: ".lcdp-form-item {\n .lingxiteam-dform-file-extra-btn{\n border-radius: btnBorderRadius;\n background: btnBgColor;\n > span {\n color: btnIconColor;\n }\n }\n }",
84
88
  components: [{
85
89
  id: 'DForm_333712',
@@ -5,11 +5,13 @@ export declare const DformRadio: {
5
5
  type: string;
6
6
  label: string;
7
7
  groupsName: string;
8
+ followTheme: string;
8
9
  };
9
10
  selectBorderRadius: {
10
11
  type: string;
11
12
  label: string;
12
13
  groupsName: string;
14
+ followTheme: string;
13
15
  };
14
16
  itemBgColor: {
15
17
  type: string;
@@ -123,6 +125,9 @@ export declare const DformRadio: {
123
125
  itemBorderRadius: string;
124
126
  itemBgColor: string;
125
127
  }[];
128
+ followThemes: {
129
+ '@primary-color': string[];
130
+ };
126
131
  tpl: string;
127
132
  components: {
128
133
  id: string;
@@ -4,12 +4,14 @@ export var DformRadio = {
4
4
  selectBgColor: {
5
5
  type: 'color',
6
6
  label: '选中背景颜色',
7
- groupsName: '背景颜色'
7
+ groupsName: '背景颜色',
8
+ followTheme: '@primary-color'
8
9
  },
9
10
  selectBorderRadius: {
10
11
  type: 'color',
11
12
  label: '选中边框颜色',
12
- groupsName: '边框'
13
+ groupsName: '边框',
14
+ followTheme: '@primary-color'
13
15
  },
14
16
  itemBgColor: {
15
17
  type: 'color',
@@ -165,6 +167,9 @@ export var DformRadio = {
165
167
  itemBorderRadius: '#e5e5e5',
166
168
  itemBgColor: 'rgba(0,0,0,0)'
167
169
  }],
170
+ followThemes: {
171
+ '@primary-color': ['selectBorderRadius', 'selectBgColor']
172
+ },
168
173
  tpl: "\n .lingxiteam-dform-radio-button{\n background-color: itemBgColor;\n border-color: itemBorderRadius;\n }\n .lingxiteam-dform-radio-checked{\n border-color: selectBorderRadius;\n }\n .lingxiteam-dform-radio-inner-button{\n background-color: selectBgColor;\n }\n ",
169
174
  components: [{
170
175
  id: 'DForm_333712',
@@ -6,6 +6,7 @@ export declare const DformSwitch: {
6
6
  type: string;
7
7
  label: string;
8
8
  groupsName: string;
9
+ followTheme: string;
9
10
  };
10
11
  closeColor: {
11
12
  type: string;
@@ -64,6 +65,9 @@ export declare const DformSwitch: {
64
65
  openColor: string;
65
66
  closeColor: string;
66
67
  }[];
68
+ followThemes: {
69
+ '@primary-color': string[];
70
+ };
67
71
  tpl: string;
68
72
  components: {
69
73
  id: string;
@@ -5,7 +5,8 @@ export var DformSwitch = {
5
5
  openColor: {
6
6
  type: 'color',
7
7
  label: '开启颜色',
8
- groupsName: '文字'
8
+ groupsName: '文字',
9
+ followTheme: '@primary-color'
9
10
  },
10
11
  closeColor: {
11
12
  type: 'color',
@@ -82,6 +83,9 @@ export var DformSwitch = {
82
83
  openColor: '#108ee9',
83
84
  closeColor: '#ddd'
84
85
  }],
86
+ followThemes: {
87
+ '@primary-color': ['openColor']
88
+ },
85
89
  tpl: ".lcdp-form-item {\n .adm-switch.adm-switch-checked .adm-switch-checkbox{\n background: openColor;\n }\n .lingxiteam-dform-switch .adm-switch-checkbox{\n background: closeColor;\n }\n .lingxiteam-dform-switch .adm-switch-checkbox::before{\n background: closeColor;\n }\n }\n ",
86
90
  components: [{
87
91
  id: 'DForm_333712',
@@ -13,7 +13,7 @@ export var Icon = {
13
13
  defaultValue: [{
14
14
  iconSize: '20px'
15
15
  }],
16
- tpl: ".cust-icon-sm{\n width: iconSize;\n height: iconSize;\n font-size: iconSize;\n }",
16
+ tpl: ".factory-icon.cust-icon-sm {\n width: iconSize;\n height: iconSize;\n font-size: iconSize;\n }",
17
17
  components: [{
18
18
  id: 'Icon_7464028',
19
19
  label: '图标',
@@ -5,6 +5,7 @@ export declare const ALink: {
5
5
  type: string;
6
6
  label: string;
7
7
  groupsName: string;
8
+ followTheme: string;
8
9
  };
9
10
  };
10
11
  groupsName: string;
@@ -13,6 +14,9 @@ export declare const ALink: {
13
14
  defaultValue: {
14
15
  textColor: string;
15
16
  }[];
17
+ followThemes: {
18
+ '@color-link': string[];
19
+ };
16
20
  tpl: string;
17
21
  components: {
18
22
  id: string;
@@ -4,7 +4,8 @@ export var ALink = {
4
4
  textColor: {
5
5
  type: 'color',
6
6
  label: '文本颜色',
7
- groupsName: '文字'
7
+ groupsName: '文字',
8
+ followTheme: '@color-link'
8
9
  }
9
10
  },
10
11
  groupsName: '基础',
@@ -13,7 +14,10 @@ export var ALink = {
13
14
  defaultValue: [{
14
15
  textColor: '#108ee9'
15
16
  }],
16
- tpl: "\n a{\n color: textColor;\n }",
17
+ followThemes: {
18
+ '@color-link': ['textColor']
19
+ },
20
+ tpl: "\n a {\n color: textColor;\n }\n a:hover {\n color: textColor;\n opacity: 0.6;\n }",
17
21
  components: [{
18
22
  id: 'ALink_414643',
19
23
  label: '超链接',
@@ -11,6 +11,7 @@ export declare const StaticTabs: {
11
11
  type: string;
12
12
  label: string;
13
13
  groupsName: string;
14
+ followTheme: string;
14
15
  };
15
16
  selectBorderRadius: {
16
17
  type: string;
@@ -21,6 +22,7 @@ export declare const StaticTabs: {
21
22
  type: string;
22
23
  label: string;
23
24
  groupsName: string;
25
+ followTheme: string;
24
26
  };
25
27
  selectFontWeight: {
26
28
  type: string;
@@ -70,6 +72,9 @@ export declare const StaticTabs: {
70
72
  selectBorderRadius: string;
71
73
  bodyBgColor: string;
72
74
  }[];
75
+ followThemes: {
76
+ '@primary-color': string[];
77
+ };
73
78
  tpl: string;
74
79
  components: {
75
80
  id: string;
@@ -16,7 +16,8 @@ export var StaticTabs = {
16
16
  backgroundColor: {
17
17
  type: 'color',
18
18
  label: '选项背景颜色',
19
- groupsName: '选项'
19
+ groupsName: '选项',
20
+ followTheme: '@primary-color'
20
21
  },
21
22
  selectBorderRadius: {
22
23
  type: 'px',
@@ -26,7 +27,8 @@ export var StaticTabs = {
26
27
  selectTextColor: {
27
28
  type: 'color',
28
29
  label: '选中项文本颜色',
29
- groupsName: '选中项'
30
+ groupsName: '选中项',
31
+ followTheme: '@primary-color'
30
32
  },
31
33
  selectFontWeight: {
32
34
  type: 'select',
@@ -124,6 +126,9 @@ export var StaticTabs = {
124
126
  // lineColor: '#108ee9',
125
127
  }],
126
128
 
129
+ followThemes: {
130
+ '@primary-color': ['backgroundColor', 'selectTextColor']
131
+ },
127
132
  tpl: ".use-app-statictabs {\n .am-tabs-default-bar-content .am-tabs-default-bar-tab-active{\n background: selectBgColor;\n color: selectTextColor;\n position: relative;\n border-top-left-radius: selectBorderRadius;\n border-top-right-radius: selectBorderRadius;\n transform: perspective(200px) rotateX(25deg);\n transform-origin: top center;\n font-weight: selectFontWeight;\n }\n .am-tabs-default-bar-bottom .am-tabs-default-bar-content, .am-tabs-default-bar-top .am-tabs-default-bar-content{\n background: backgroundColor;\n }\n .am-tabs-bottom, .am-tabs-top{\n border-radius: selectBorderRadius;\n }\n .am-tabs-default-bar-content .am-tabs-default-bar-tab-active::before, .am-tabs-default-bar-content .am-tabs-default-bar-tab-active::after{\n background: radial-gradient(0.24rem at 0.3rem 0, transparent 0.3rem, selectBgColor 0.23rem);\n }\n .am-tabs-default-bar-tab{\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n }\n .am-tabs-pane-wrap {\n background-color: bodyBgColor;\n }\n }\n",
128
133
  components: [{
129
134
  id: 'StaticTabs_828878',
@@ -1,3 +1,15 @@
1
+ export declare const THEME_KEYS_MOBILE_TITLE: {
2
+ '@primary-color': string;
3
+ '@border-color-base': string;
4
+ '@font-size-base': string;
5
+ '@color-text-base': string;
6
+ '@color-text-placeholder': string;
7
+ '@font-size-heading': string;
8
+ '@button-font-size': string;
9
+ '@fill-base': string;
10
+ '@brand-primary-tap': string;
11
+ '@color-link': string;
12
+ };
1
13
  export declare const MOBILE_ASSETS_CSS_TPL: any;
2
14
  export declare const mobileExtend: any;
3
15
  export declare const MOBILE_ASSETS_COMPONENT_LIST: unknown[];
package/dist/lx-mobile.js CHANGED
@@ -32,6 +32,18 @@ import { Icon } from "./h5config/Icon";
32
32
  import { ALink } from "./h5config/Link";
33
33
  import { Card } from "./h5config/Card";
34
34
  import { Accordion } from "./h5config/Accordion";
35
+ export var THEME_KEYS_MOBILE_TITLE = {
36
+ '@primary-color': '主题颜色',
37
+ '@border-color-base': '边框颜色',
38
+ '@font-size-base': '主字号',
39
+ '@color-text-base': '文字基本色',
40
+ '@color-text-placeholder': '文本框提示色',
41
+ '@font-size-heading': '标题字号',
42
+ '@button-font-size': '按钮字体',
43
+ '@fill-base': '组件背景色',
44
+ '@brand-primary-tap': '点击背景色',
45
+ '@color-link': '链接色'
46
+ };
35
47
  export var MOBILE_ASSETS_CSS_TPL = {
36
48
  Icon: Icon,
37
49
  ALink: ALink,
package/dist/lx.d.ts CHANGED
@@ -1,3 +1,19 @@
1
+ export declare const THEME_KEYS_TITLE: {
2
+ '@primary-color': string;
3
+ '@font-size-base': string;
4
+ '@heading-color': string;
5
+ '@text-color': string;
6
+ '@text-color-secondary': string;
7
+ '@disabled-color': string;
8
+ '@border-radius-base': string;
9
+ '@padding': string;
10
+ '@border-color-base': string;
11
+ '@box-shadow-base': string;
12
+ '@link-color': string;
13
+ '@success-color': string;
14
+ '@warning-color': string;
15
+ '@error-color': string;
16
+ };
1
17
  export declare const ASSETS_CSS_TPL: any;
2
18
  export declare const pcExtend: any;
3
19
  export declare const ASSETS_COMPONENT_LIST: unknown[];
package/dist/lx.js CHANGED
@@ -35,6 +35,22 @@ import { Table } from "./config/Table";
35
35
  import { Tag } from "./config/Tag";
36
36
  import { Tree } from "./config/Tree";
37
37
  import { Description } from "./config/Description";
38
+ export var THEME_KEYS_TITLE = {
39
+ '@primary-color': '主题颜色',
40
+ '@font-size-base': '主字号',
41
+ '@heading-color': '标题色',
42
+ '@text-color': '主文本色',
43
+ '@text-color-secondary': '次文本色',
44
+ '@disabled-color': '失效色',
45
+ '@border-radius-base': '圆角',
46
+ '@padding': '边距',
47
+ '@border-color-base': '边框颜色',
48
+ '@box-shadow-base': '浮层阴影',
49
+ '@link-color': '链接色',
50
+ '@success-color': '成功色',
51
+ '@warning-color': '警告色',
52
+ '@error-color': '错误色'
53
+ };
38
54
  export var ASSETS_CSS_TPL = {
39
55
  Button: Button,
40
56
  Container: Container,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/theme-utils",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",