@lingxiteam/theme-utils 0.3.12 → 0.3.13
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/dist/h5config/DForm.d.ts +9 -22
- package/dist/h5config/DForm.js +12 -11
- package/package.json +1 -1
package/dist/h5config/DForm.d.ts
CHANGED
|
@@ -216,7 +216,6 @@ export declare const DForm: {
|
|
|
216
216
|
optionsLayout?: undefined;
|
|
217
217
|
formatter?: undefined;
|
|
218
218
|
modeType?: undefined;
|
|
219
|
-
inputContent?: undefined;
|
|
220
219
|
chooseType?: undefined;
|
|
221
220
|
replaceName?: undefined;
|
|
222
221
|
placeholderList?: undefined;
|
|
@@ -316,7 +315,6 @@ export declare const DForm: {
|
|
|
316
315
|
optionsLayout?: undefined;
|
|
317
316
|
formatter?: undefined;
|
|
318
317
|
modeType?: undefined;
|
|
319
|
-
inputContent?: undefined;
|
|
320
318
|
chooseType?: undefined;
|
|
321
319
|
replaceName?: undefined;
|
|
322
320
|
placeholderList?: undefined;
|
|
@@ -412,7 +410,6 @@ export declare const DForm: {
|
|
|
412
410
|
optionsLayout?: undefined;
|
|
413
411
|
formatter?: undefined;
|
|
414
412
|
modeType?: undefined;
|
|
415
|
-
inputContent?: undefined;
|
|
416
413
|
chooseType?: undefined;
|
|
417
414
|
replaceName?: undefined;
|
|
418
415
|
placeholderList?: undefined;
|
|
@@ -548,7 +545,6 @@ export declare const DForm: {
|
|
|
548
545
|
optionsLayout?: undefined;
|
|
549
546
|
formatter?: undefined;
|
|
550
547
|
modeType?: undefined;
|
|
551
|
-
inputContent?: undefined;
|
|
552
548
|
chooseType?: undefined;
|
|
553
549
|
replaceName?: undefined;
|
|
554
550
|
placeholderList?: undefined;
|
|
@@ -660,7 +656,6 @@ export declare const DForm: {
|
|
|
660
656
|
optionsLayout?: undefined;
|
|
661
657
|
formatter?: undefined;
|
|
662
658
|
modeType?: undefined;
|
|
663
|
-
inputContent?: undefined;
|
|
664
659
|
chooseType?: undefined;
|
|
665
660
|
replaceName?: undefined;
|
|
666
661
|
placeholderList?: undefined;
|
|
@@ -764,7 +759,6 @@ export declare const DForm: {
|
|
|
764
759
|
optionsLayout?: undefined;
|
|
765
760
|
formatter?: undefined;
|
|
766
761
|
modeType?: undefined;
|
|
767
|
-
inputContent?: undefined;
|
|
768
762
|
chooseType?: undefined;
|
|
769
763
|
replaceName?: undefined;
|
|
770
764
|
placeholderList?: undefined;
|
|
@@ -812,6 +806,8 @@ export declare const DForm: {
|
|
|
812
806
|
separatorStr: string;
|
|
813
807
|
positionType: string;
|
|
814
808
|
hasTitleIcon: string;
|
|
809
|
+
postfix: string;
|
|
810
|
+
postfixIconPosition: string;
|
|
815
811
|
title: string;
|
|
816
812
|
dformType: string;
|
|
817
813
|
status: string;
|
|
@@ -819,7 +815,11 @@ export declare const DForm: {
|
|
|
819
815
|
optionsLayout: string;
|
|
820
816
|
formatter: string;
|
|
821
817
|
modeType: string;
|
|
822
|
-
|
|
818
|
+
icon: {
|
|
819
|
+
isIconFont: boolean;
|
|
820
|
+
theme: string;
|
|
821
|
+
type: string;
|
|
822
|
+
};
|
|
823
823
|
fieldProps: string;
|
|
824
824
|
rows?: undefined;
|
|
825
825
|
placeholder?: undefined;
|
|
@@ -851,10 +851,7 @@ export declare const DForm: {
|
|
|
851
851
|
showBtnIcon?: undefined;
|
|
852
852
|
iconPosition?: undefined;
|
|
853
853
|
btnText?: undefined;
|
|
854
|
-
postfix?: undefined;
|
|
855
|
-
postfixIconPosition?: undefined;
|
|
856
854
|
data?: undefined;
|
|
857
|
-
icon?: undefined;
|
|
858
855
|
openText?: undefined;
|
|
859
856
|
closeText?: undefined;
|
|
860
857
|
openIcon?: undefined;
|
|
@@ -886,15 +883,12 @@ export declare const DForm: {
|
|
|
886
883
|
description: string;
|
|
887
884
|
image: string;
|
|
888
885
|
groupsName: string;
|
|
889
|
-
fieldProps: {
|
|
890
|
-
trigger: string;
|
|
891
|
-
valuePropName: string;
|
|
892
|
-
};
|
|
893
|
-
engineApi: string[];
|
|
894
886
|
isAppChildForm: boolean;
|
|
895
887
|
isLabelDropBoxChild: boolean;
|
|
896
888
|
components: never[];
|
|
897
889
|
path: string[];
|
|
890
|
+
fieldProps?: undefined;
|
|
891
|
+
engineApi?: undefined;
|
|
898
892
|
icon?: undefined;
|
|
899
893
|
} | {
|
|
900
894
|
id: string;
|
|
@@ -966,7 +960,6 @@ export declare const DForm: {
|
|
|
966
960
|
separatorStr?: undefined;
|
|
967
961
|
selectType?: undefined;
|
|
968
962
|
optionsLayout?: undefined;
|
|
969
|
-
inputContent?: undefined;
|
|
970
963
|
placeholderList?: undefined;
|
|
971
964
|
valueType?: undefined;
|
|
972
965
|
filter?: undefined;
|
|
@@ -1069,7 +1062,6 @@ export declare const DForm: {
|
|
|
1069
1062
|
optionsLayout?: undefined;
|
|
1070
1063
|
formatter?: undefined;
|
|
1071
1064
|
modeType?: undefined;
|
|
1072
|
-
inputContent?: undefined;
|
|
1073
1065
|
chooseType?: undefined;
|
|
1074
1066
|
replaceName?: undefined;
|
|
1075
1067
|
valueType?: undefined;
|
|
@@ -1173,7 +1165,6 @@ export declare const DForm: {
|
|
|
1173
1165
|
optionsLayout?: undefined;
|
|
1174
1166
|
formatter?: undefined;
|
|
1175
1167
|
modeType?: undefined;
|
|
1176
|
-
inputContent?: undefined;
|
|
1177
1168
|
chooseType?: undefined;
|
|
1178
1169
|
replaceName?: undefined;
|
|
1179
1170
|
placeholderList?: undefined;
|
|
@@ -1277,7 +1268,6 @@ export declare const DForm: {
|
|
|
1277
1268
|
optionsLayout?: undefined;
|
|
1278
1269
|
formatter?: undefined;
|
|
1279
1270
|
modeType?: undefined;
|
|
1280
|
-
inputContent?: undefined;
|
|
1281
1271
|
chooseType?: undefined;
|
|
1282
1272
|
replaceName?: undefined;
|
|
1283
1273
|
placeholderList?: undefined;
|
|
@@ -1375,7 +1365,6 @@ export declare const DForm: {
|
|
|
1375
1365
|
optionsLayout?: undefined;
|
|
1376
1366
|
formatter?: undefined;
|
|
1377
1367
|
modeType?: undefined;
|
|
1378
|
-
inputContent?: undefined;
|
|
1379
1368
|
chooseType?: undefined;
|
|
1380
1369
|
replaceName?: undefined;
|
|
1381
1370
|
placeholderList?: undefined;
|
|
@@ -1475,7 +1464,6 @@ export declare const DForm: {
|
|
|
1475
1464
|
optionsLayout?: undefined;
|
|
1476
1465
|
formatter?: undefined;
|
|
1477
1466
|
modeType?: undefined;
|
|
1478
|
-
inputContent?: undefined;
|
|
1479
1467
|
chooseType?: undefined;
|
|
1480
1468
|
replaceName?: undefined;
|
|
1481
1469
|
placeholderList?: undefined;
|
|
@@ -1570,7 +1558,6 @@ export declare const DForm: {
|
|
|
1570
1558
|
optionsLayout?: undefined;
|
|
1571
1559
|
formatter?: undefined;
|
|
1572
1560
|
modeType?: undefined;
|
|
1573
|
-
inputContent?: undefined;
|
|
1574
1561
|
chooseType?: undefined;
|
|
1575
1562
|
replaceName?: undefined;
|
|
1576
1563
|
placeholderList?: undefined;
|
package/dist/h5config/DForm.js
CHANGED
|
@@ -185,8 +185,8 @@ export var DForm = {
|
|
|
185
185
|
'@color-text-base': [],
|
|
186
186
|
'@border-color-base': []
|
|
187
187
|
},
|
|
188
|
-
tpl: ".dynamic-form-wrapper {\n background-color: backgroundColor;\n .lingxiteam-dform-text-item .lingxiteam-dform-placeholder .lingxiteam-dform-text-item-text div{\n text-align: headTextAlign;\n span{\n font-size: fontSize;\n line-height: lineHeight;\n font-weight: fontWeight;\n }\n }\n .lcdp-form-item {\n --color: textColor;\n --font-size: fontSize;\n .adm-text-area{\n --color: textColor;\n --font-size: fontSize;\n }\n .lingxiteam-dform-rangdate-default{\n font-size: fontSize;\n }\n .lingxiteam-dform-text-item-value-wrapper{\n font-size: fontSize;\n }\n .lingxiteam-dform-title {\n color: labelTextColor;\n font-size: labelFontSize !important;\n line-height: labelLineHeight;\n font-weight: labelFontWeight;\n text-align: headTextAlign;\n }\n .lingxiteam-dform-input-item-value input{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n padding: paddingValue;\n text-align: headTextAlign;\n font-size: fontSize;\n }\n .lingxiteam-dform-radio-button{\n font-size: fontSize;\n }\n .lingxiteam-dform-radio-label{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n padding: paddingValue;\n text-align: headTextAlign;\n font-size: fontSize;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-label{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n text-align: headTextAlign;\n font-size: fontSize;\n \n }\n .lingxiteam-dform-text-item-content .lingxiteam-dform-text-item-text{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n text-align: headTextAlign;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-text-item-content .lingxiteam-dform-text-item-date-text{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n text-align: headTextAlign;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-rangdate-h-value{\n color: textColor;\n line-height: lineHeight;\n text-align: headTextAlign;\n font-size: fontSize;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-area-group-value-area textarea{\n line-height: lineHeight;\n padding: paddingValue;\n font-weight: fontWeight;\n font-size: fontSize;\n color: textColor;\n text-align: headTextAlign;\n }\n .lingxiteam-dform-right-content{\n
|
|
189
|
-
itemCustomTpl: ".lcdp-form-item {\n --color: textColor;\n --font-size: fontSize;\n .adm-text-area{\n --color: textColor;\n --font-size: fontSize;\n }\n .lingxiteam-dform-title {\n color: labelTextColor;\n font-size: labelFontSize !important;\n line-height: labelLineHeight;\n font-weight: labelFontWeight;\n text-align: headTextAlign;\n }\n .lingxiteam-dform-input-item-value input{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n padding: paddingValue;\n text-align: headTextAlign;\n font-size: fontSize;\n }\n .lingxiteam-dform-rangdate-default{\n font-size: fontSize;\n }\n .lingxiteam-dform-text-item-value-wrapper{\n font-size: fontSize;\n }\n .lingxiteam-dform-radio-button{\n font-size: fontSize;\n }\n .lingxiteam-dform-radio-label{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n padding: paddingValue;\n text-align: headTextAlign;\n font-size: fontSize;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-label{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n text-align: headTextAlign;\n font-size: fontSize;\n }\n .lingxiteam-dform-text-item-content .lingxiteam-dform-text-item-text{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n text-align: headTextAlign;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-text-item-content .lingxiteam-dform-text-item-date-text{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n text-align: headTextAlign;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-rangdate-h-value{\n color: textColor;\n line-height: lineHeight;\n text-align: headTextAlign;\n font-size: fontSize;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-area-group-value-area textarea{\n line-height: lineHeight;\n padding: paddingValue;\n font-weight: fontWeight;\n font-size: fontSize;\n color: textColor;\n text-align: headTextAlign;\n }\n .lingxiteam-dform-right-content{\n
|
|
188
|
+
tpl: ".dynamic-form-wrapper {\n background-color: backgroundColor;\n .lingxiteam-dform-text-item .lingxiteam-dform-placeholder .lingxiteam-dform-text-item-text div{\n text-align: headTextAlign;\n span{\n font-size: fontSize;\n line-height: lineHeight;\n font-weight: fontWeight;\n }\n }\n .lcdp-form-item {\n --color: textColor;\n --font-size: fontSize;\n .adm-text-area{\n --color: textColor;\n --font-size: fontSize;\n }\n .lingxiteam-dform-rangdate-default{\n font-size: fontSize;\n }\n .lingxiteam-dform-text-item-value-wrapper{\n font-size: fontSize;\n }\n .lingxiteam-dform-title {\n color: labelTextColor;\n font-size: labelFontSize !important;\n line-height: labelLineHeight;\n font-weight: labelFontWeight;\n text-align: headTextAlign;\n }\n .lingxiteam-dform-input-item-value input{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n padding: paddingValue;\n text-align: headTextAlign;\n font-size: fontSize;\n }\n .lingxiteam-dform-radio-button{\n font-size: fontSize;\n }\n .lingxiteam-dform-radio-label{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n padding: paddingValue;\n text-align: headTextAlign;\n font-size: fontSize;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-label{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n text-align: headTextAlign;\n font-size: fontSize;\n \n }\n .lingxiteam-dform-text-item-content .lingxiteam-dform-text-item-text{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n text-align: headTextAlign;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-text-item-content .lingxiteam-dform-text-item-date-text{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n text-align: headTextAlign;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-rangdate-h-value{\n color: textColor;\n line-height: lineHeight;\n text-align: headTextAlign;\n font-size: fontSize;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-area-group-value-area textarea{\n line-height: lineHeight;\n padding: paddingValue;\n font-weight: fontWeight;\n font-size: fontSize;\n color: textColor;\n text-align: headTextAlign;\n }\n .lingxiteam-dform-right-content{\n .cust-icon{\n width: iconSize;\n height: iconSize;\n color: iconColor;\n fill: iconColor;\n }\n .cust-icon svg{\n width: iconSize;\n height: iconSize;\n }\n }\n }\n }\n ",
|
|
189
|
+
itemCustomTpl: ".lcdp-form-item {\n --color: textColor;\n --font-size: fontSize;\n .adm-text-area{\n --color: textColor;\n --font-size: fontSize;\n }\n .lingxiteam-dform-title {\n color: labelTextColor;\n font-size: labelFontSize !important;\n line-height: labelLineHeight;\n font-weight: labelFontWeight;\n text-align: headTextAlign;\n }\n .lingxiteam-dform-input-item-value input{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n padding: paddingValue;\n text-align: headTextAlign;\n font-size: fontSize;\n }\n .lingxiteam-dform-rangdate-default{\n font-size: fontSize;\n }\n .lingxiteam-dform-text-item-value-wrapper{\n font-size: fontSize;\n }\n .lingxiteam-dform-radio-button{\n font-size: fontSize;\n }\n .lingxiteam-dform-radio-label{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n padding: paddingValue;\n text-align: headTextAlign;\n font-size: fontSize;\n }\n .lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-label{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n text-align: headTextAlign;\n font-size: fontSize;\n }\n .lingxiteam-dform-text-item-content .lingxiteam-dform-text-item-text{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n text-align: headTextAlign;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-text-item-content .lingxiteam-dform-text-item-date-text{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n text-align: headTextAlign;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-rangdate-h-value{\n color: textColor;\n line-height: lineHeight;\n text-align: headTextAlign;\n font-size: fontSize;\n padding: paddingValue;\n font-weight: fontWeight;\n }\n .lingxiteam-dform-area-group-value-area textarea{\n line-height: lineHeight;\n padding: paddingValue;\n font-weight: fontWeight;\n font-size: fontSize;\n color: textColor;\n text-align: headTextAlign;\n }\n .lingxiteam-dform-right-content{\n .cust-icon{\n width: iconSize;\n height: iconSize;\n color: iconColor;\n fill: iconColor;\n }\n .cust-icon svg{\n width: iconSize;\n height: iconSize;\n }\n }\n }",
|
|
190
190
|
components: [{
|
|
191
191
|
id: 'DForm_458695',
|
|
192
192
|
label: '表单',
|
|
@@ -557,7 +557,7 @@ export var DForm = {
|
|
|
557
557
|
components: [],
|
|
558
558
|
path: ['769713', 'View_769713_1', 'DForm_458695']
|
|
559
559
|
}, {
|
|
560
|
-
id: '
|
|
560
|
+
id: 'DformRangePicker_1119496',
|
|
561
561
|
label: '时间段选择',
|
|
562
562
|
compName: 'DformRangePicker',
|
|
563
563
|
type: 'DformRangePicker',
|
|
@@ -568,6 +568,8 @@ export var DForm = {
|
|
|
568
568
|
separatorStr: '~',
|
|
569
569
|
positionType: 'horizontal',
|
|
570
570
|
hasTitleIcon: 'none',
|
|
571
|
+
postfix: '',
|
|
572
|
+
postfixIconPosition: 'before',
|
|
571
573
|
title: '时间段选择',
|
|
572
574
|
dformType: 'DformRangePicker',
|
|
573
575
|
status: '1',
|
|
@@ -575,8 +577,12 @@ export var DForm = {
|
|
|
575
577
|
optionsLayout: 'horizontal',
|
|
576
578
|
formatter: 'YYYY-MM-DD',
|
|
577
579
|
modeType: 'date',
|
|
578
|
-
|
|
579
|
-
|
|
580
|
+
icon: {
|
|
581
|
+
isIconFont: false,
|
|
582
|
+
theme: 'outlined',
|
|
583
|
+
type: 'right'
|
|
584
|
+
},
|
|
585
|
+
fieldProps: 'sa'
|
|
580
586
|
},
|
|
581
587
|
style: {
|
|
582
588
|
inputContent: '1'
|
|
@@ -589,15 +595,10 @@ export var DForm = {
|
|
|
589
595
|
description: '',
|
|
590
596
|
image: '',
|
|
591
597
|
groupsName: '表单',
|
|
592
|
-
fieldProps: {
|
|
593
|
-
trigger: 'onChange',
|
|
594
|
-
valuePropName: 'defaultValue'
|
|
595
|
-
},
|
|
596
|
-
engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
|
|
597
598
|
isAppChildForm: true,
|
|
598
599
|
isLabelDropBoxChild: false,
|
|
599
600
|
components: [],
|
|
600
|
-
path: ['
|
|
601
|
+
path: ['8418503', 'View_8418503_1']
|
|
601
602
|
}, {
|
|
602
603
|
id: 'DformDate_746611',
|
|
603
604
|
label: '时间选择',
|