@lingxiteam/theme-utils 0.5.3 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/dist/config/Button.d.ts +113 -0
  2. package/dist/config/Button.js +277 -0
  3. package/dist/config/Card.d.ts +144 -0
  4. package/dist/config/Card.js +162 -0
  5. package/dist/config/Cascader.d.ts +196 -0
  6. package/dist/config/Cascader.js +225 -0
  7. package/dist/config/Checkbox.d.ts +162 -0
  8. package/dist/config/Checkbox.js +178 -0
  9. package/dist/config/CheckboxGroup.d.ts +184 -0
  10. package/dist/config/CheckboxGroup.js +192 -0
  11. package/dist/config/Collapse.d.ts +186 -0
  12. package/dist/config/Collapse.js +330 -0
  13. package/dist/config/Container.d.ts +275 -0
  14. package/dist/config/Container.js +301 -0
  15. package/dist/config/DatePicker.d.ts +179 -0
  16. package/dist/config/DatePicker.js +179 -0
  17. package/dist/config/Description.d.ts +106 -0
  18. package/dist/config/Description.js +126 -0
  19. package/dist/config/Divider.d.ts +61 -0
  20. package/dist/config/Divider.js +61 -0
  21. package/dist/config/Form.d.ts +3071 -0
  22. package/dist/config/Form.js +1358 -0
  23. package/dist/config/Icon.d.ts +55 -0
  24. package/dist/config/Icon.js +55 -0
  25. package/dist/config/Input.d.ts +159 -0
  26. package/dist/config/Input.js +159 -0
  27. package/dist/config/InputNumber.d.ts +154 -0
  28. package/dist/config/InputNumber.js +154 -0
  29. package/dist/config/Link.d.ts +128 -0
  30. package/dist/config/Link.js +120 -0
  31. package/dist/config/MultipleSelect.d.ts +167 -0
  32. package/dist/config/MultipleSelect.js +175 -0
  33. package/dist/config/Radio.d.ts +239 -0
  34. package/dist/config/Radio.js +261 -0
  35. package/dist/config/RangePicker.d.ts +182 -0
  36. package/dist/config/RangePicker.js +182 -0
  37. package/dist/config/Select.d.ts +190 -0
  38. package/dist/config/Select.js +198 -0
  39. package/dist/config/StdUpload.d.ts +197 -0
  40. package/dist/config/StdUpload.js +211 -0
  41. package/dist/config/Switch.d.ts +141 -0
  42. package/dist/config/Switch.js +151 -0
  43. package/dist/config/Table.d.ts +482 -0
  44. package/dist/config/Table.js +560 -0
  45. package/dist/config/Tabs.d.ts +230 -0
  46. package/dist/config/Tabs.js +970 -0
  47. package/dist/config/Tag.d.ts +173 -0
  48. package/dist/config/Tag.js +548 -0
  49. package/dist/config/Text.d.ts +34 -0
  50. package/dist/config/Text.js +34 -0
  51. package/dist/config/TextArea.d.ts +151 -0
  52. package/dist/config/TextArea.js +151 -0
  53. package/dist/config/TimePicker.d.ts +180 -0
  54. package/dist/config/TimePicker.js +180 -0
  55. package/dist/config/Tree.d.ts +151 -0
  56. package/dist/config/Tree.js +195 -0
  57. package/dist/config/TreeSelect.d.ts +197 -0
  58. package/dist/config/TreeSelect.js +213 -0
  59. package/dist/css.d.ts +6 -0
  60. package/dist/css.js +126 -0
  61. package/dist/demo.d.ts +5 -0
  62. package/dist/demo.js +79 -0
  63. package/dist/h5config/Accordion.d.ts +410 -0
  64. package/dist/h5config/Accordion.js +548 -0
  65. package/dist/h5config/Button.d.ts +142 -0
  66. package/dist/h5config/Button.js +253 -0
  67. package/dist/h5config/Card.d.ts +275 -0
  68. package/dist/h5config/Card.js +535 -0
  69. package/dist/h5config/DAddressPicker.d.ts +188 -0
  70. package/dist/h5config/DAddressPicker.js +230 -0
  71. package/dist/h5config/DCheckbox.d.ts +202 -0
  72. package/dist/h5config/DCheckbox.js +248 -0
  73. package/dist/h5config/DForm.d.ts +1597 -0
  74. package/dist/h5config/DForm.js +932 -0
  75. package/dist/h5config/DMultiplePicker.d.ts +189 -0
  76. package/dist/h5config/DMultiplePicker.js +235 -0
  77. package/dist/h5config/DformDate.d.ts +191 -0
  78. package/dist/h5config/DformDate.js +233 -0
  79. package/dist/h5config/DformFile.d.ts +277 -0
  80. package/dist/h5config/DformFile.js +292 -0
  81. package/dist/h5config/DformImagePicker.d.ts +138 -0
  82. package/dist/h5config/DformImagePicker.js +156 -0
  83. package/dist/h5config/DformInput.d.ts +189 -0
  84. package/dist/h5config/DformInput.js +231 -0
  85. package/dist/h5config/DformInputNumber.d.ts +173 -0
  86. package/dist/h5config/DformInputNumber.js +215 -0
  87. package/dist/h5config/DformPicker.d.ts +190 -0
  88. package/dist/h5config/DformPicker.js +236 -0
  89. package/dist/h5config/DformRadio.d.ts +210 -0
  90. package/dist/h5config/DformRadio.js +256 -0
  91. package/dist/h5config/DformRangePicker.d.ts +195 -0
  92. package/dist/h5config/DformRangePicker.js +237 -0
  93. package/dist/h5config/DformSelect.d.ts +198 -0
  94. package/dist/h5config/DformSelect.js +262 -0
  95. package/dist/h5config/DformSwitch.d.ts +145 -0
  96. package/dist/h5config/DformSwitch.js +163 -0
  97. package/dist/h5config/DformTextArea.d.ts +184 -0
  98. package/dist/h5config/DformTextArea.js +226 -0
  99. package/dist/h5config/Divider.d.ts +53 -0
  100. package/dist/h5config/Divider.js +90 -0
  101. package/dist/h5config/FilterItems.d.ts +154 -0
  102. package/dist/h5config/FilterItems.js +204 -0
  103. package/dist/h5config/Grid.d.ts +235 -0
  104. package/dist/h5config/Grid.js +278 -0
  105. package/dist/h5config/Icon.d.ts +54 -0
  106. package/dist/h5config/Icon.js +54 -0
  107. package/dist/h5config/Link.d.ts +51 -0
  108. package/dist/h5config/Link.js +51 -0
  109. package/dist/h5config/LoadMore.d.ts +527 -0
  110. package/dist/h5config/LoadMore.js +940 -0
  111. package/dist/h5config/NoticeBarPlus.d.ts +111 -0
  112. package/dist/h5config/NoticeBarPlus.js +141 -0
  113. package/dist/h5config/SearchView.d.ts +135 -0
  114. package/dist/h5config/SearchView.js +177 -0
  115. package/dist/h5config/StaticTabs.d.ts +121 -0
  116. package/dist/h5config/StaticTabs.js +180 -0
  117. package/dist/h5config/Table.d.ts +197 -0
  118. package/dist/h5config/Table.js +589 -0
  119. package/dist/index.d.ts +4 -0
  120. package/dist/index.js +4 -0
  121. package/dist/lx-mobile.d.ts +23 -0
  122. package/dist/lx-mobile.js +174 -0
  123. package/dist/lx.d.ts +24 -0
  124. package/dist/lx.js +139 -0
  125. package/dist/utils.d.ts +12 -0
  126. package/dist/utils.js +67 -0
  127. package/package.json +1 -1
@@ -0,0 +1,1358 @@
1
+ export var Form = {
2
+ type: 'Form',
3
+ hasPrefixClass: true,
4
+ variable: {
5
+ backgroundColor: {
6
+ type: 'color',
7
+ label: '填充颜色',
8
+ groupsName: '背景'
9
+ },
10
+ // borderColor: {
11
+ // type: 'color',
12
+ // label: '边框颜色',
13
+ // groupsName: '边框',
14
+ // canEdit: false,
15
+ // extendsKey: 'Container',
16
+ // desc: '继承自容器,此处不可编辑',
17
+ // },
18
+ // borderRadius: {
19
+ // type: 'px',
20
+ // label: '边框圆角',
21
+ // groupsName: '边框',
22
+ // canEdit: false,
23
+ // extendsKey: 'Container',
24
+ // desc: '继承自容器,此处不可编辑',
25
+ // },
26
+ labelTextColor: {
27
+ type: 'color',
28
+ label: '标题颜色',
29
+ groupsName: '标题',
30
+ desc: '对所有[数据录入]类型组件生效',
31
+ followTheme: '@text-color'
32
+ },
33
+ labelFontSize: {
34
+ type: 'px',
35
+ label: '标题尺寸',
36
+ groupsName: '标题',
37
+ desc: '对所有[数据录入]类型组件生效',
38
+ followTheme: '@font-size-base'
39
+ },
40
+ labelLineHeight: {
41
+ type: 'px',
42
+ label: '标题行高',
43
+ groupsName: '标题',
44
+ desc: '对所有[数据录入]类型组件生效'
45
+ },
46
+ labelFontWeight: {
47
+ type: 'select',
48
+ label: '标题字重',
49
+ groupsName: '标题',
50
+ desc: '对所有[数据录入]类型组件生效',
51
+ options: [{
52
+ title: '100',
53
+ value: '100'
54
+ }, {
55
+ title: '200',
56
+ value: '200'
57
+ }, {
58
+ title: '300',
59
+ value: '300'
60
+ }, {
61
+ title: '400',
62
+ value: '400'
63
+ }, {
64
+ title: '500',
65
+ value: '500'
66
+ }, {
67
+ title: '600',
68
+ value: '600'
69
+ }, {
70
+ title: '700',
71
+ value: '700'
72
+ }]
73
+ },
74
+ textColor: {
75
+ type: 'color',
76
+ label: '文本颜色',
77
+ groupsName: '文字',
78
+ desc: '对所有[数据录入]类型组件生效',
79
+ followTheme: '@text-color'
80
+ },
81
+ fontSize: {
82
+ type: 'px',
83
+ label: '文本尺寸',
84
+ groupsName: '文字',
85
+ desc: '对所有[数据录入]类型组件生效',
86
+ followTheme: '@font-size-base'
87
+ },
88
+ itemBorderRadius: {
89
+ type: 'px',
90
+ label: '圆角',
91
+ followTheme: '@border-radius-base',
92
+ groupsName: '边框',
93
+ desc: '对所有[数据录入]类型组件生效'
94
+ },
95
+ itemBorderColor: {
96
+ type: 'color',
97
+ label: '颜色',
98
+ groupsName: '边框',
99
+ desc: '对所有[数据录入]类型组件生效',
100
+ followTheme: '@border-color-base'
101
+ },
102
+ itemHoverBorderColor: {
103
+ type: 'color',
104
+ label: '组件激活边框颜色',
105
+ groupsName: '边框',
106
+ hidden: true,
107
+ desc: '对所有[数据录入]类型组件生效',
108
+ followTheme: '@primary-color'
109
+ }
110
+ },
111
+ groupsName: '容器',
112
+ icon: 'icon-ico-comp-form',
113
+ title: '表单',
114
+ defaultValue: [{
115
+ backgroundColor: '#fff',
116
+ labelTextColor: '#1c242e',
117
+ labelLineHeight: '32px',
118
+ labelFontSize: '14px',
119
+ textColor: '#1c242e',
120
+ fontSize: '14px',
121
+ itemBorderColor: '#E5E5EA',
122
+ itemHoverBorderColor: '#47e',
123
+ itemBorderRadius: '2px',
124
+ labelFontWeight: '400'
125
+ }],
126
+ followThemes: {
127
+ '@text-color': ['textColor', 'labelTextColor'],
128
+ '@border-radius-base': [],
129
+ '@font-size-base': ['labelFontSize', 'fontSize'],
130
+ '@border-color-base': ['itemBorderColor'],
131
+ '@primary-color': ['itemHoverBorderColor']
132
+ },
133
+ // 标签是 form 表单里面才有的,单独拉数据录入组件是没有标签的。
134
+ // 为了 tpl 干净,不在下列添加注释,顺序是输入框、多行输入框、数字输入、验证码、单选组、复选组、下拉单选、下拉复选、日期选择、时间选择、开关、文件上传、滑动输入条、评星
135
+ // 密码输入框、输入框的颜色和字号也在.pcfactory-input 边框在 .pcfactory-input-affix-wrapper
136
+ // 验证码的颜色和字号也在.pcfactory-input 边框在 .verificationCodePC-inputContent
137
+ // 单选组、复选组无边框
138
+ // 下拉单选与下拉复选样式一致
139
+ // 滑动输入条没有边框样式
140
+ itemCustomTpl: ".pcFactory-from-component{\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 overflow: hidden;\n }\n .modalSelect .pcfactory-select:not(.pcfactory-select-customize-input) .pcfactory-select-selector{\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n padding-left: 8px;\n border-color: itemBorderColor;\n height: calc(fontSize * 2 + 4px);\n min-height: 32px;\n line-height: 2;\n color: textColor;\n font-size: fontSize;\n }\n .modalSelect .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: calc(fontSize * 2 + 4px);\n }\n .ued-input-wrap .pcfactory-input-wrapper.pcfactory-input-group .pcfactory-input-group-addon{\n font-size: fontSize;\n line-height: calc(fontSize * 2 + 2px);\n }\n .ued-input-wrap.postfixGreyStyle .pcfactory-input-group-addon:last-child, .ued-input-wrap.postfixBlueStyle .pcfactory-input-group-addon:last-child, .ued-input-wrap.postfixWhiteStyle .pcfactory-input-group-addon:last-child, .ued-input-wrap.postfixNoBorderStyle .pcfactory-input-group-addon:last-child, .ued-input-wrap.nonePostfixStyle .pcfactory-input-group-addon:last-child{\n border-top-right-radius: itemBorderRadius;\n border-bottom-right-radius: itemBorderRadius;\n border-color: itemBorderColor;\n }\n .verificationCodePC, .verificationCodePC-titleTop{\n border: 1px solid itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .ued-inputNumber-wrap.pcfactory-input-number .pcfactory-input-number-input{\n line-height: 1.7;\n height: auto;\n }\n .verificationCodePC-inputContent{\n height: calc(fontSize * 2 + 2px);\n min-height: 32px;\n }\n .verificationCodePC-inputContent .normalArea{\n height: calc(fontSize * 2 + 2px);\n min-height: 32px;\n }\n .pcfactory-form-item-label>label{\n font-weight: labelFontWeight;\n color: labelTextColor;\n line-height: labelLineHeight;\n font-size: labelFontSize;\n }\n .ued-inputNumber-wrap.pcfactory-input-number-group-wrapper .pcfactory-input-number-wrapper.pcfactory-input-number-group:focus{\n border-color: itemHoverBorderColor !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number-group-wrapper .pcfactory-input-number-wrapper.pcfactory-input-number-group:hover{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-input-affix-wrapper:not(.pcfactory-input-affix-wrapper-disabled):hover{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-input-affix-wrapper:focus, .pcfactory-input-affix-wrapper-focused {\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-input-affix-wrapper:focus .pcfactory-input ued-textarea-wrap{\n border-color: itemHoverBorderColor !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number:hover {\n border-color: itemHoverBorderColor !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number:focus, .pcfactory-input-number-focused{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-select:not(.pcfactory-select-disabled):hover .pcfactory-select-selector{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-select-focused .pcfactory-select-selector{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-picker:hover, .pcfactory-picker-focused{\n border-color: itemHoverBorderColor !important;\n }\n .ued-select-wrap:hover .pcfactory-select-selector{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-input:hover{\n border-color: itemHoverBorderColor !important;\n }\n .ued-textarea-wrap:focus{\n border-color: itemHoverBorderColor !important;\n }\n .verificationCodePC:focus, .verificationCodePC-titleTop:focus{\n border-color: itemHoverBorderColor !important;\n }\n .verificationCodePC:hover, .verificationCodePC-titleTop:hover{\n border-color: itemHoverBorderColor !important;\n }\n .verificationCodePC .pcfactory-input{\n box-shadow: none !important;\n border-style: none !important;\n }\n .pcfactory-input-affix-wrapper {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n min-height: calc(fontSize * 2 + 2px);\n }\n .pcfactory-input-affix-wrapper.pcfactory-input-affix-wrapper-textarea-with-clear-btn{\n min-height: calc(fontSize * 4 + 2px);\n }\n .pcfactory-input-affix-wrapper-textarea-with-clear-btn .pcfactory-input-clear-icon{\n font-size: fontSize;\n }\n .ued-inputNumber-wrap.pcfactory-input-number-group-wrapper .pcfactory-input-number-wrapper.pcfactory-input-number-group{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n font-size: fontSize;\n background: #FFF;\n }\n .ued-inputNumber-wrap.pcfactory-input-number-group-wrapper .pcfactory-input-number-wrapper.pcfactory-input-number-group .pcfactory-input-number-group-addon{\n font-size: fontSize;\n }\n .ued-inputNumber-wrap.pcfactory-input-number-group-wrapper .pcfactory-input-number-wrapper.pcfactory-input-number-group .pcfactory-input-number.ued-inputNumber-wrap{\n color: textColor;\n border: none !important;\n box-shadow: none;\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 overflow: hidden;\n height: calc(fontSize * 2 + 2px);\n min-height: 32px;\n }\n .pcfactory-input{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-radio-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-radio-button-wrapper {\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n height:auto;\n min-height: 32px;\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 overflow: hidden;\n }\n .pcfactory-select.ued-select-wrap .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\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 font-size: fontSize;\n line-height: calc(fontSize * 2 + 4px);\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 \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 .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-item, .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: calc(fontSize * 2 + 4px);\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 }",
141
+ tpl: ".ued-legacy-form-wrap{\n background-color: backgroundColor;\n .pcFactory-from-component{\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 overflow: hidden;\n }\n .modalSelect .pcfactory-select:not(.pcfactory-select-customize-input) .pcfactory-select-selector{\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n padding-left: 8px;\n border-color: itemBorderColor;\n height: calc(fontSize * 2 + 4px);\n min-height: 32px;\n line-height: 2;\n color: textColor;\n font-size: fontSize;\n }\n .modalSelect .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: calc(fontSize * 2 + 4px);\n }\n .ued-input-wrap .pcfactory-input-wrapper.pcfactory-input-group .pcfactory-input-group-addon{\n font-size: fontSize;\n line-height: calc(fontSize * 2 + 2px);\n }\n .ued-input-wrap.postfixGreyStyle .pcfactory-input-group-addon:last-child, .ued-input-wrap.postfixBlueStyle .pcfactory-input-group-addon:last-child, .ued-input-wrap.postfixWhiteStyle .pcfactory-input-group-addon:last-child, .ued-input-wrap.postfixNoBorderStyle .pcfactory-input-group-addon:last-child, .ued-input-wrap.nonePostfixStyle .pcfactory-input-group-addon:last-child{\n border-top-right-radius: itemBorderRadius;\n border-bottom-right-radius: itemBorderRadius;\n border-color: itemBorderColor;\n }\n .verificationCodePC, .verificationCodePC-titleTop{\n border: 1px solid itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .ued-inputNumber-wrap.pcfactory-input-number .pcfactory-input-number-input{\n line-height: 1.7;\n height: auto;\n }\n .verificationCodePC-inputContent{\n height: calc(fontSize * 2 + 2px);\n min-height: 32px;\n }\n .verificationCodePC-inputContent .normalArea{\n height: calc(fontSize * 2 + 2px);\n min-height: 32px;\n }\n .pcfactory-form-item-label>label{\n font-weight: labelFontWeight;\n color: labelTextColor;\n line-height: labelLineHeight;\n font-size: labelFontSize;\n }\n .ued-inputNumber-wrap.pcfactory-input-number-group-wrapper .pcfactory-input-number-wrapper.pcfactory-input-number-group:focus{\n border-color: itemHoverBorderColor !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number-group-wrapper .pcfactory-input-number-wrapper.pcfactory-input-number-group:hover{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-input-affix-wrapper:not(.pcfactory-input-affix-wrapper-disabled):hover{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-input-affix-wrapper:focus, .pcfactory-input-affix-wrapper-focused {\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-input-affix-wrapper:focus .pcfactory-input ued-textarea-wrap{\n border-color: itemHoverBorderColor !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number:hover {\n border-color: itemHoverBorderColor !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number:focus, .pcfactory-input-number-focused{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-select:not(.pcfactory-select-disabled):hover .pcfactory-select-selector{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-select-focused .pcfactory-select-selector{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-picker:hover, .pcfactory-picker-focused{\n border-color: itemHoverBorderColor !important;\n }\n .ued-select-wrap:hover .pcfactory-select-selector{\n border-color: itemHoverBorderColor !important;\n }\n .pcfactory-input:hover{\n border-color: itemHoverBorderColor !important;\n }\n .ued-textarea-wrap:focus{\n border-color: itemHoverBorderColor !important;\n }\n .verificationCodePC:focus, .verificationCodePC-titleTop:focus{\n border-color: itemHoverBorderColor !important;\n }\n .verificationCodePC:hover, .verificationCodePC-titleTop:hover{\n border-color: itemHoverBorderColor !important;\n }\n .verificationCodePC .pcfactory-input{\n box-shadow: none !important;\n border-style: none !important;\n }\n .pcfactory-input-affix-wrapper {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n min-height: calc(fontSize * 2 + 2px);\n }\n .pcfactory-input-affix-wrapper > .pcfactory-input:not(input) {\n border: 1px solid itemBorderColor;\n }\n .pcfactory-input-affix-wrapper.pcfactory-input-affix-wrapper-textarea-with-clear-btn{\n min-height: calc(fontSize * 4 + 2px);\n }\n .pcfactory-input-affix-wrapper-textarea-with-clear-btn .pcfactory-input-clear-icon{\n font-size: fontSize;\n }\n .ued-inputNumber-wrap.pcfactory-input-number-group-wrapper .pcfactory-input-number-wrapper.pcfactory-input-number-group{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n font-size: fontSize;\n background: #FFF;\n }\n .ued-inputNumber-wrap.pcfactory-input-number-group-wrapper .pcfactory-input-number-wrapper.pcfactory-input-number-group .pcfactory-input-number-group-addon{\n font-size: fontSize;\n }\n .ued-inputNumber-wrap.pcfactory-input-number-group-wrapper .pcfactory-input-number-wrapper.pcfactory-input-number-group .pcfactory-input-number.ued-inputNumber-wrap{\n color: textColor;\n border: none !important;\n box-shadow: none;\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 overflow: hidden;\n height: calc(fontSize * 2 + 2px);\n min-height: 32px;\n }\n .pcfactory-input{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-radio-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-radio-button-wrapper {\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n height:auto;\n min-height: 32px;\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 overflow: hidden;\n }\n .pcfactory-select.ued-select-wrap .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\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 font-size: fontSize;\n line-height: calc(fontSize * 2 + 4px);\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 \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 .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-item, .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: calc(fontSize * 2 + 4px);\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 ",
142
+ components: [{
143
+ id: 'Form_180373',
144
+ label: '表单',
145
+ compName: 'Form',
146
+ type: 'Form',
147
+ compType: 0,
148
+ compLib: 'comm',
149
+ props: {
150
+ name: '表单',
151
+ colSpan: 12,
152
+ labelCol: 8,
153
+ wrapperCol: 16,
154
+ layout: 'vertical',
155
+ colon: true,
156
+ labelAlign: 'right',
157
+ basicStatus: 1,
158
+ colSpace: 16,
159
+ rowSpace: 16,
160
+ formCode: 'Code_Form_180373'
161
+ },
162
+ style: {
163
+ padding: '0px 0px 0px 0px'
164
+ },
165
+ isContainer: true,
166
+ isBusiObjContainer: true,
167
+ cmdgroup: ['basic'],
168
+ platform: 'pc',
169
+ icon: 'Form',
170
+ description: '',
171
+ image: '',
172
+ groupsName: '容器',
173
+ engineApi: ['service.downloadFileByFileCode', 'getVisible', 'stateListener'],
174
+ setEvents: [],
175
+ isLabelDropBoxChild: false,
176
+ components: [{
177
+ id: 'Input_3203017',
178
+ label: '输入框',
179
+ compName: 'Input',
180
+ type: 'Input',
181
+ compType: 2,
182
+ compLib: 'comm',
183
+ props: {
184
+ name: '输入框',
185
+ basicStatus: 1,
186
+ size: 'default',
187
+ labelCol: 8,
188
+ wrapperCol: 16,
189
+ titleTip: 'notext',
190
+ tipContent: '',
191
+ tipSize: 'default',
192
+ tipWidth: '240px',
193
+ tipHeight: 'auto',
194
+ prefixIconPosition: 'before',
195
+ postfix: '',
196
+ postfixIconPosition: 'before',
197
+ required: false,
198
+ placeholder: '请输入',
199
+ allowClear: true,
200
+ dataMask: '',
201
+ formItemIndex: 0,
202
+ fieldName: 'wd'
203
+ },
204
+ style: {},
205
+ isContainer: false,
206
+ isBusiObjContainer: false,
207
+ cmdgroup: ['basic'],
208
+ platform: 'pc',
209
+ fieldProps: {
210
+ trigger: 'onChange',
211
+ valuePropName: 'value'
212
+ },
213
+ engineApi: ['functorsMap'],
214
+ icon: 'Input',
215
+ description: '',
216
+ image: '',
217
+ groupsName: '数据录入',
218
+ alias: 'DformInput',
219
+ setEvents: [],
220
+ isLabelDropBoxChild: false,
221
+ components: [],
222
+ path: ['998509', 'Form_180373']
223
+ }, {
224
+ id: 'InputNumber_988055',
225
+ label: '数字输入框',
226
+ compName: 'InputNumber',
227
+ type: 'InputNumber',
228
+ compType: 2,
229
+ compLib: 'comm',
230
+ props: {
231
+ name: '数字输入框',
232
+ basicStatus: 1,
233
+ size: 'default',
234
+ labelCol: 8,
235
+ wrapperCol: 16,
236
+ step: 1,
237
+ titleTip: 'notext',
238
+ tipSize: 'default',
239
+ tipWidth: '240px',
240
+ tipHeight: 'auto',
241
+ required: false,
242
+ placeholder: '只能输数字',
243
+ min: 0,
244
+ formatting: '',
245
+ formItemIndex: 1,
246
+ fieldName: 'vcd'
247
+ },
248
+ style: {},
249
+ isContainer: false,
250
+ isBusiObjContainer: false,
251
+ cmdgroup: ['basic'],
252
+ platform: 'pc',
253
+ fieldProps: {
254
+ trigger: 'onChange',
255
+ valuePropName: 'value'
256
+ },
257
+ icon: 'InputNumber',
258
+ description: '',
259
+ image: '',
260
+ groupsName: '数据录入',
261
+ engineApi: ['sandBoxSafeRun'],
262
+ setEvents: [],
263
+ isLabelDropBoxChild: false,
264
+ components: [],
265
+ path: ['998509', 'Form_180373']
266
+ }, {
267
+ id: 'InputNumber_166489',
268
+ label: '数字输入框',
269
+ compName: 'InputNumber',
270
+ type: 'InputNumber',
271
+ compType: 2,
272
+ compLib: 'comm',
273
+ props: {
274
+ name: '数字输入框',
275
+ basicStatus: 1,
276
+ labelCol: 8,
277
+ wrapperCol: 16,
278
+ step: 1,
279
+ titleTip: 'text',
280
+ tipSize: 'custom',
281
+ tipWidth: '240px',
282
+ tipHeight: 'auto',
283
+ formItemIndex: 0,
284
+ fieldName: 'id',
285
+ tipLocation: 'before',
286
+ tipPlacement: 'bottom',
287
+ addonAfter: 'cm',
288
+ addonBefore: 'www',
289
+ precision: 2,
290
+ placeholder: '只能输数字',
291
+ tipContent: '牛牛牛牛牛'
292
+ },
293
+ style: {
294
+ flex: ''
295
+ },
296
+ isContainer: false,
297
+ isBusiObjContainer: false,
298
+ cmdgroup: ['basic'],
299
+ platform: 'pc',
300
+ icon: 'InputNumber',
301
+ description: '',
302
+ image: '',
303
+ groupsName: '数据录入',
304
+ setEvents: [],
305
+ isLabelDropBoxChild: false,
306
+ hasValue: true,
307
+ components: [],
308
+ path: ['3446976', 'View_3446976_1', 'Form_709261']
309
+ }, {
310
+ id: 'Password_218584',
311
+ label: '密码框',
312
+ compName: 'Password',
313
+ type: 'Password',
314
+ compType: 2,
315
+ compLib: 'comm',
316
+ props: {
317
+ name: '密码框',
318
+ labelCol: 8,
319
+ wrapperCol: 16,
320
+ basicStatus: 1,
321
+ titleTip: 'notext',
322
+ tipSize: 'default',
323
+ tipWidth: '240px',
324
+ tipHeight: 'auto',
325
+ placeholder: '请输入密码',
326
+ required: false,
327
+ allowClear: true,
328
+ formItemIndex: 2,
329
+ fieldName: 'cvdsd'
330
+ },
331
+ style: {},
332
+ isContainer: false,
333
+ isBusiObjContainer: false,
334
+ cmdgroup: ['basic'],
335
+ platform: 'pc',
336
+ icon: 'Password',
337
+ description: '',
338
+ image: '',
339
+ groupsName: '数据录入',
340
+ setEvents: [],
341
+ isLabelDropBoxChild: false,
342
+ components: [],
343
+ path: ['998509', 'Form_180373']
344
+ }, {
345
+ id: 'Radio_371201',
346
+ label: '单选组',
347
+ compName: 'Radio',
348
+ type: 'Radio',
349
+ compType: 2,
350
+ compLib: 'comm',
351
+ props: {
352
+ name: '单选组',
353
+ radioType: 'Radio',
354
+ optionMarginRight: 0,
355
+ labelCol: 8,
356
+ wrapperCol: 16,
357
+ basicStatus: 1,
358
+ titleTip: 'notext',
359
+ tipSize: 'default',
360
+ tipWidth: '240px',
361
+ tipHeight: 'auto',
362
+ placeholder: '请选择',
363
+ required: false,
364
+ formItemIndex: 3,
365
+ fieldName: 'dsgc',
366
+ staticData: {
367
+ data: [{
368
+ id: '363107',
369
+ label: '属性名',
370
+ value: 'zx'
371
+ }, {
372
+ id: '3028122',
373
+ label: '属性名11',
374
+ value: 'asds'
375
+ }],
376
+ type: 'custom'
377
+ },
378
+ options: [{
379
+ id: '363107',
380
+ label: '属性名',
381
+ value: 'zx'
382
+ }, {
383
+ id: '3028122',
384
+ label: '属性名11',
385
+ value: 'asds'
386
+ }]
387
+ },
388
+ style: {},
389
+ isContainer: false,
390
+ isBusiObjContainer: false,
391
+ cmdgroup: ['basic'],
392
+ platform: 'pc',
393
+ fieldProps: {
394
+ trigger: 'onChange',
395
+ valuePropName: 'value'
396
+ },
397
+ icon: 'Radio',
398
+ description: '',
399
+ image: '',
400
+ groupsName: '数据录入',
401
+ isInlineBlock: true,
402
+ setEvents: [],
403
+ isLabelDropBoxChild: false,
404
+ components: [],
405
+ path: ['998509', 'Form_180373']
406
+ }, {
407
+ id: 'CheckboxGroup_095205',
408
+ label: '复选组',
409
+ compName: 'CheckboxGroup',
410
+ type: 'CheckboxGroup',
411
+ compType: 2,
412
+ compLib: 'comm',
413
+ props: {
414
+ name: '复选组',
415
+ basicStatus: 1,
416
+ titleTip: 'notext',
417
+ tipSize: 'default',
418
+ tipWidth: '240px',
419
+ tipHeight: 'auto',
420
+ checkAllText: '全部',
421
+ selfSpan: '',
422
+ labelCol: 8,
423
+ wrapperCol: 16,
424
+ formItemIndex: 4,
425
+ placeholder: '请选择',
426
+ fieldName: 'savcrd',
427
+ tipPlacement: 'top',
428
+ tipIcon: {
429
+ theme: 'outlined',
430
+ type: 'question-circle'
431
+ },
432
+ tipLocation: 'after',
433
+ checkedAll: true,
434
+ staticData: {
435
+ data: [{
436
+ id: '149486',
437
+ label: '属性名',
438
+ value: 'dsf'
439
+ }, {
440
+ id: '0516294',
441
+ label: '属性名22',
442
+ value: 'sdds'
443
+ }],
444
+ type: 'custom'
445
+ },
446
+ options: [{
447
+ id: '149486',
448
+ label: '属性名',
449
+ value: 'dsf'
450
+ }, {
451
+ id: '0516294',
452
+ label: '属性名22',
453
+ value: 'sdds'
454
+ }]
455
+ },
456
+ style: {},
457
+ isContainer: false,
458
+ isBusiObjContainer: false,
459
+ cmdgroup: ['basic'],
460
+ platform: 'pc',
461
+ fieldProps: {
462
+ trigger: 'onChange',
463
+ valuePropName: 'value'
464
+ },
465
+ icon: 'CheckboxGroup',
466
+ description: '',
467
+ image: '',
468
+ groupsName: '数据录入',
469
+ setEvents: [],
470
+ isLabelDropBoxChild: false,
471
+ components: [],
472
+ path: ['998509', 'Form_180373']
473
+ }, {
474
+ id: 'Checkbox_7458648',
475
+ label: '复选框',
476
+ compName: 'Checkbox',
477
+ type: 'Checkbox',
478
+ compType: 2,
479
+ compLib: 'comm',
480
+ props: {
481
+ name: '复选框',
482
+ basicStatus: 1,
483
+ titleTip: 'notext',
484
+ tipSize: 'default',
485
+ tipWidth: '240px',
486
+ tipHeight: 'auto',
487
+ text: '',
488
+ selfSpan: '',
489
+ labelCol: 8,
490
+ wrapperCol: 16,
491
+ formItemIndex: 5,
492
+ placeholder: '请选择',
493
+ fieldName: 'ads',
494
+ extendProps: [{
495
+ key: 'ere',
496
+ value: 'fefds'
497
+ }]
498
+ },
499
+ style: {},
500
+ isContainer: false,
501
+ isBusiObjContainer: false,
502
+ cmdgroup: ['basic'],
503
+ platform: 'pc',
504
+ fieldProps: {
505
+ trigger: 'onChange',
506
+ valuePropName: 'checked'
507
+ },
508
+ icon: 'Checkbox',
509
+ description: '',
510
+ image: '',
511
+ groupsName: '数据录入',
512
+ isInlineBlock: true,
513
+ setEvents: [],
514
+ isLabelDropBoxChild: false,
515
+ components: [],
516
+ path: ['998509', 'Form_180373']
517
+ }, {
518
+ id: 'MultipleSelect_628082',
519
+ label: '下拉多选框',
520
+ compName: 'MultipleSelect',
521
+ type: 'MultipleSelect',
522
+ compType: 2,
523
+ compLib: 'comm',
524
+ props: {
525
+ name: '下拉多选框',
526
+ basicStatus: 1,
527
+ size: 'default',
528
+ labelCol: 8,
529
+ wrapperCol: 16,
530
+ titleTip: 'notext',
531
+ tipSize: 'default',
532
+ tipWidth: '240px',
533
+ tipHeight: 'auto',
534
+ required: false,
535
+ filter: 'none',
536
+ placeholder: '请选择',
537
+ mode: 'multiple',
538
+ allowClear: true,
539
+ formItemIndex: 0,
540
+ staticData: {
541
+ data: [{
542
+ id: '767594',
543
+ label: '属性名1',
544
+ value: '1'
545
+ }, {
546
+ id: '15609',
547
+ label: '属性名2',
548
+ value: '2'
549
+ }],
550
+ type: 'custom'
551
+ },
552
+ options: [{
553
+ id: '767594',
554
+ label: '属性名1',
555
+ value: '1'
556
+ }, {
557
+ id: '15609',
558
+ label: '属性名2',
559
+ value: '2'
560
+ }]
561
+ },
562
+ style: {},
563
+ isContainer: false,
564
+ isBusiObjContainer: false,
565
+ cmdgroup: ['basic'],
566
+ platform: 'pc',
567
+ fieldProps: {
568
+ trigger: 'onChange',
569
+ valuePropName: 'value'
570
+ },
571
+ icon: 'MultipleSelect',
572
+ description: '',
573
+ image: '',
574
+ groupsName: '数据录入',
575
+ engineApi: ['sandBoxSafeRun'],
576
+ setEvents: [],
577
+ isLabelDropBoxChild: false,
578
+ components: [],
579
+ path: ['998509', 'Form_180373']
580
+ }, {
581
+ id: 'Select_956117',
582
+ label: '下拉框',
583
+ compName: 'Select',
584
+ type: 'Select',
585
+ compType: 2,
586
+ compLib: 'comm',
587
+ props: {
588
+ name: '下拉框',
589
+ basicStatus: 1,
590
+ size: 'default',
591
+ labelCol: 8,
592
+ wrapperCol: 16,
593
+ titleTip: 'notext',
594
+ tipSize: 'default',
595
+ tipWidth: '240px',
596
+ tipHeight: 'auto',
597
+ required: false,
598
+ filter: 'none',
599
+ classification: 'default',
600
+ placeholder: '请选择',
601
+ allowClear: true,
602
+ formItemIndex: 0,
603
+ fieldName: 'dsgt',
604
+ defaultValue: '1',
605
+ staticData: {
606
+ data: [{
607
+ id: '022656',
608
+ label: '属性名',
609
+ value: '1'
610
+ }, {
611
+ id: '18066',
612
+ label: '属性名1',
613
+ value: '2'
614
+ }],
615
+ type: 'custom'
616
+ },
617
+ options: [{
618
+ id: '022656',
619
+ label: '属性名',
620
+ value: '1'
621
+ }, {
622
+ id: '18066',
623
+ label: '属性名1',
624
+ value: '2'
625
+ }]
626
+ },
627
+ style: {},
628
+ isContainer: false,
629
+ isBusiObjContainer: false,
630
+ cmdgroup: ['basic'],
631
+ platform: 'pc',
632
+ fieldProps: {
633
+ trigger: 'onChange',
634
+ valuePropName: 'value'
635
+ },
636
+ icon: 'Select',
637
+ description: '',
638
+ image: '',
639
+ groupsName: '数据录入',
640
+ engineApi: ['sandBoxSafeRun'],
641
+ setEvents: [],
642
+ isLabelDropBoxChild: false,
643
+ components: [],
644
+ path: ['998509', 'Form_180373']
645
+ }, {
646
+ id: 'TreeSelect_357899',
647
+ label: '树选择',
648
+ compName: 'TreeSelect',
649
+ type: 'TreeSelect',
650
+ compType: 2,
651
+ compLib: 'comm',
652
+ props: {
653
+ name: '树选择',
654
+ filter: 'local',
655
+ basicStatus: 1,
656
+ titleTip: 'notext',
657
+ tipSize: 'default',
658
+ tipWidth: '240px',
659
+ tipHeight: 'auto',
660
+ placeholder: '请选择',
661
+ selfSpan: '',
662
+ labelCol: 8,
663
+ wrapperCol: 16,
664
+ treeDefaultExpandAll: true,
665
+ size: 'default',
666
+ showSearch: false,
667
+ treeNodeFilterProp: 'title',
668
+ treeData: [{
669
+ title: '标题1',
670
+ key: '982968',
671
+ $$isParent: true,
672
+ selectable: true,
673
+ children: [{
674
+ title: '副标题1',
675
+ key: '223275',
676
+ selectable: true,
677
+ children: [],
678
+ value: '223275'
679
+ }, {
680
+ title: '副标题2',
681
+ key: '6154336',
682
+ selectable: true,
683
+ value: '6154336'
684
+ }],
685
+ value: '982968'
686
+ }, {
687
+ title: '标题2',
688
+ key: '589191',
689
+ $$isParent: true,
690
+ selectable: true,
691
+ children: [{
692
+ title: '副标题21',
693
+ key: '974854',
694
+ selectable: true,
695
+ value: '974854'
696
+ }, {
697
+ title: '副标题22',
698
+ key: '555559',
699
+ selectable: true,
700
+ value: '555559'
701
+ }],
702
+ value: '589191'
703
+ }],
704
+ allowClear: true,
705
+ formItemIndex: 0,
706
+ fieldName: '32'
707
+ },
708
+ style: {},
709
+ isContainer: false,
710
+ isBusiObjContainer: false,
711
+ cmdgroup: ['basic'],
712
+ platform: 'pc',
713
+ fieldProps: {
714
+ trigger: 'onChange',
715
+ valuePropName: 'value'
716
+ },
717
+ engineApi: ['service.commonFetch'],
718
+ icon: 'TreeSelect',
719
+ description: '',
720
+ image: '',
721
+ groupsName: '数据录入',
722
+ setEvents: [],
723
+ isLabelDropBoxChild: false,
724
+ components: [],
725
+ path: ['998509', 'Form_180373']
726
+ }, {
727
+ id: 'Cascader_347221',
728
+ label: '级联选择',
729
+ compName: 'Cascader',
730
+ type: 'Cascader',
731
+ compType: 2,
732
+ compLib: 'comm',
733
+ props: {
734
+ name: '级联选择',
735
+ basicStatus: 1,
736
+ multiple: '1',
737
+ titleTip: 'notext',
738
+ tipSize: 'default',
739
+ tipWidth: '240px',
740
+ tipHeight: 'auto',
741
+ selfSpan: '',
742
+ labelCol: 8,
743
+ placeholder: '请选择',
744
+ wrapperCol: 16,
745
+ size: 'default',
746
+ expandTrigger: 'click',
747
+ popupPlacement: 'bottomLeft',
748
+ options: [{
749
+ label: '标题1',
750
+ key: '4030963',
751
+ $$isParent: true,
752
+ title: '标题1',
753
+ children: [{
754
+ label: '副标题1',
755
+ key: '933413',
756
+ title: '副标题1',
757
+ children: [{
758
+ label: '正文1',
759
+ key: '800723',
760
+ title: '正文1',
761
+ value: '800723'
762
+ }],
763
+ value: '933413'
764
+ }],
765
+ value: '4030963'
766
+ }, {
767
+ label: '标题2',
768
+ key: '835883',
769
+ $$isParent: true,
770
+ title: '标题2',
771
+ children: [{
772
+ label: '副标题21',
773
+ key: '917029',
774
+ title: '副标题21',
775
+ children: [{
776
+ label: '正文21',
777
+ key: '03438',
778
+ title: '正文21',
779
+ value: '03438'
780
+ }],
781
+ value: '917029'
782
+ }, {
783
+ label: '副标题22',
784
+ key: '508799',
785
+ title: '副标题22',
786
+ children: [{
787
+ label: '正文22',
788
+ key: '82403476',
789
+ title: '正文22',
790
+ value: '82403476'
791
+ }],
792
+ value: '508799'
793
+ }],
794
+ value: '835883'
795
+ }],
796
+ popoverStyle: 'default',
797
+ showSearch: false,
798
+ allowClear: true,
799
+ formItemIndex: 0,
800
+ fieldName: 'ddf'
801
+ },
802
+ style: {},
803
+ isContainer: false,
804
+ isBusiObjContainer: false,
805
+ cmdgroup: ['basic'],
806
+ platform: 'pc',
807
+ fieldProps: {
808
+ trigger: 'onChange',
809
+ valuePropName: 'value'
810
+ },
811
+ icon: 'Cascader',
812
+ description: '',
813
+ image: '',
814
+ groupsName: '数据录入',
815
+ setEvents: [],
816
+ isLabelDropBoxChild: false,
817
+ components: [],
818
+ path: ['998509', 'Form_578466']
819
+ }, {
820
+ id: 'Slider_896933',
821
+ label: '滑动输入条',
822
+ compName: 'Slider',
823
+ type: 'Slider',
824
+ compType: 2,
825
+ compLib: 'comm',
826
+ props: {
827
+ name: '滑动输入条',
828
+ range: false,
829
+ defaultValue: 50,
830
+ basicStatus: 1,
831
+ labelCol: 8,
832
+ wrapperCol: 16,
833
+ included: true,
834
+ direction: 'normal',
835
+ showInput: false,
836
+ showLabel: true,
837
+ labelPlacement: 'top',
838
+ titleTip: 'notext',
839
+ tipSize: 'default',
840
+ tipWidth: '240px',
841
+ tipHeight: 'auto',
842
+ required: false,
843
+ min: 0,
844
+ max: 100,
845
+ step: 1,
846
+ formItemIndex: 8,
847
+ fieldName: 'fgdf'
848
+ },
849
+ style: {},
850
+ isContainer: false,
851
+ isBusiObjContainer: false,
852
+ cmdgroup: ['basic'],
853
+ platform: 'pc',
854
+ fieldProps: {
855
+ trigger: 'onChange',
856
+ valuePropName: 'value'
857
+ },
858
+ icon: 'Slider',
859
+ description: '',
860
+ image: '',
861
+ groupsName: '数据录入',
862
+ setEvents: [],
863
+ isLabelDropBoxChild: false,
864
+ components: [],
865
+ path: ['998509', 'Form_180373']
866
+ }, {
867
+ id: 'Rate_846193',
868
+ label: '评分',
869
+ compName: 'Rate',
870
+ type: 'Rate',
871
+ compType: 2,
872
+ compLib: 'comm',
873
+ props: {
874
+ name: '评分',
875
+ basicStatus: 1,
876
+ titleTip: 'notext',
877
+ tipSize: 'default',
878
+ tipWidth: '240px',
879
+ tipHeight: 'auto',
880
+ count: 5,
881
+ value: 3,
882
+ tooltips: [1, 2, 3, 4, 5],
883
+ allowClear: true,
884
+ formItemIndex: 9,
885
+ fieldName: 'zxc'
886
+ },
887
+ style: {},
888
+ isContainer: false,
889
+ isBusiObjContainer: false,
890
+ cmdgroup: ['basic'],
891
+ platform: 'pc',
892
+ fieldProps: {
893
+ trigger: 'onChange',
894
+ valuePropName: 'value'
895
+ },
896
+ icon: 'Rate',
897
+ description: '',
898
+ image: '',
899
+ groupsName: '数据录入',
900
+ setEvents: [{
901
+ dataName: 'event',
902
+ dataId: '605659',
903
+ path: [],
904
+ value: 'onChange',
905
+ params: [{
906
+ title: '评分控件取值',
907
+ name: 'e',
908
+ value: '$e$'
909
+ }],
910
+ children: []
911
+ }],
912
+ isLabelDropBoxChild: false,
913
+ components: [],
914
+ path: ['998509', 'Form_180373']
915
+ }, {
916
+ id: 'Switch_088117',
917
+ label: '开关',
918
+ compName: 'Switch',
919
+ type: 'Switch',
920
+ compType: 2,
921
+ compLib: 'comm',
922
+ props: {
923
+ name: '开关',
924
+ size: 'default',
925
+ labelCol: 8,
926
+ wrapperCol: 16,
927
+ basicStatus: 1,
928
+ titleTip: 'notext',
929
+ tipSize: 'default',
930
+ tipWidth: '240px',
931
+ tipHeight: 'auto',
932
+ switchStyle: 'none',
933
+ checkedChildren: '开启',
934
+ unCheckedChildren: '关闭',
935
+ checkedChildrenIcon: {
936
+ type: 'check',
937
+ theme: 'outlined',
938
+ isIconFont: false
939
+ },
940
+ unCheckedChildrenIcon: {
941
+ type: 'close',
942
+ theme: 'outlined',
943
+ isIconFont: false
944
+ },
945
+ required: false,
946
+ defaultChecked: false,
947
+ formItemIndex: 10,
948
+ fieldName: 'vxc'
949
+ },
950
+ style: {},
951
+ isContainer: false,
952
+ isBusiObjContainer: false,
953
+ cmdgroup: ['basic'],
954
+ platform: 'pc',
955
+ fieldProps: {
956
+ trigger: 'onChange',
957
+ valuePropName: 'value'
958
+ },
959
+ icon: 'Switch',
960
+ description: '',
961
+ image: '',
962
+ groupsName: '数据录入',
963
+ isInlineBlock: true,
964
+ setEvents: [],
965
+ isLabelDropBoxChild: false,
966
+ components: [],
967
+ path: ['998509', 'Form_180373']
968
+ }, {
969
+ id: 'StdUpload_517167',
970
+ label: '文件上传',
971
+ compName: 'StdUpload',
972
+ type: 'StdUpload',
973
+ compType: 2,
974
+ compLib: 'antd',
975
+ props: {
976
+ name: '文件上传',
977
+ basicStatus: 1,
978
+ uploadStyle: 'click',
979
+ listType: 'text',
980
+ titleTip: 'notext',
981
+ tipSize: 'default',
982
+ tipWidth: '240px',
983
+ tipHeight: 'auto',
984
+ viewMode: 'popUp',
985
+ fileNameEncode: false,
986
+ isWatermark: false,
987
+ optionalFile: false,
988
+ fileName: 'file',
989
+ selfSpan: '',
990
+ labelCol: 8,
991
+ wrapperCol: 16,
992
+ numberLimit: 5,
993
+ singleFileMaxSize: 50,
994
+ uploadText: '点击上传',
995
+ uploadTimeout: 30000,
996
+ value: [{
997
+ fileId: '1',
998
+ fileName: 'xxx.png',
999
+ status: 'done'
1000
+ }, {
1001
+ fileId: '2',
1002
+ fileName: 'yyy.png',
1003
+ status: 'done'
1004
+ }, {
1005
+ fileId: '3',
1006
+ fileName: 'zzz.png',
1007
+ status: 'error',
1008
+ response: 'Server Error 500' // custom error message to show
1009
+ }],
1010
+
1011
+ deleteIcon: {
1012
+ deleteIconTheme: 'outlined',
1013
+ deleteIconType: 'delete',
1014
+ deleteIconIsIconFont: false,
1015
+ showRemoveIcon: true
1016
+ },
1017
+ downloadIcon: {
1018
+ downloadIconTheme: 'outlined',
1019
+ downloadIconType: 'download',
1020
+ downloadIconIsIconFont: false,
1021
+ showDownloadIcon: true
1022
+ },
1023
+ previewIcon: {
1024
+ previewIconTheme: 'outlined',
1025
+ previewIconType: 'eye',
1026
+ previewIconIsIconFont: false,
1027
+ showPreviewIcon: true
1028
+ },
1029
+ modalWidth: 960,
1030
+ modalHeight: 648,
1031
+ formItemIndex: 11,
1032
+ fieldName: 'xvf'
1033
+ },
1034
+ style: {},
1035
+ isContainer: false,
1036
+ isBusiObjContainer: false,
1037
+ cmdgroup: ['basic'],
1038
+ platform: 'pc',
1039
+ icon: 'StdUpload',
1040
+ description: '',
1041
+ image: '',
1042
+ groupsName: '数据录入',
1043
+ engineApi: ['BannerModal', 'service.uploadSingleFile', 'service.downloadByFileId', 'resolveApiPath'],
1044
+ setEvents: [],
1045
+ isLabelDropBoxChild: false,
1046
+ components: [],
1047
+ path: ['998509', 'Form_180373']
1048
+ }, {
1049
+ id: 'RangePicker_842094',
1050
+ label: '时间段选择',
1051
+ compName: 'RangePicker',
1052
+ type: 'RangePicker',
1053
+ compType: 2,
1054
+ compLib: 'comm',
1055
+ props: {
1056
+ name: '时间段选择',
1057
+ timeMode: 'date',
1058
+ separator: '~',
1059
+ size: 'default',
1060
+ labelCol: 8,
1061
+ wrapperCol: 16,
1062
+ basicStatus: 1,
1063
+ titleTip: 'notext',
1064
+ tipSize: 'default',
1065
+ tipWidth: '240px',
1066
+ tipHeight: 'auto',
1067
+ required: false,
1068
+ format: 'YYYY-MM-DD',
1069
+ pickerType: 'RangePicker',
1070
+ allowClear: true,
1071
+ formItemIndex: 12,
1072
+ fieldName: 'vfdcx'
1073
+ },
1074
+ style: {},
1075
+ isContainer: false,
1076
+ isBusiObjContainer: false,
1077
+ cmdgroup: ['basic'],
1078
+ platform: 'pc',
1079
+ fieldProps: {
1080
+ trigger: 'onChange',
1081
+ valuePropName: 'value'
1082
+ },
1083
+ icon: 'RangePicker',
1084
+ description: '',
1085
+ image: '',
1086
+ groupsName: '数据录入',
1087
+ setEvents: [],
1088
+ isLabelDropBoxChild: false,
1089
+ components: [],
1090
+ path: ['998509', 'Form_180373']
1091
+ }, {
1092
+ id: 'DatePicker_917298',
1093
+ label: '日期选择',
1094
+ compName: 'DatePicker',
1095
+ type: 'DatePicker',
1096
+ compType: 2,
1097
+ compLib: 'comm',
1098
+ props: {
1099
+ name: '日期选择',
1100
+ timeMode: 'date',
1101
+ basicStatus: 1,
1102
+ size: 'default',
1103
+ labelCol: 8,
1104
+ wrapperCol: 16,
1105
+ titleTip: 'notext',
1106
+ tipSize: 'default',
1107
+ tipWidth: '240px',
1108
+ tipHeight: 'auto',
1109
+ required: false,
1110
+ limitRange: 'no',
1111
+ startTime: '',
1112
+ endTime: '',
1113
+ format: 'YYYY-MM-DD',
1114
+ placeholder: '请选择日期',
1115
+ pickerType: 'DatePicker',
1116
+ customTip: '',
1117
+ allowClear: true,
1118
+ formItemIndex: 13,
1119
+ fieldName: 'grd'
1120
+ },
1121
+ style: {},
1122
+ isContainer: false,
1123
+ isBusiObjContainer: false,
1124
+ cmdgroup: ['basic'],
1125
+ platform: 'pc',
1126
+ fieldProps: {
1127
+ trigger: 'onChange',
1128
+ valuePropName: 'value'
1129
+ },
1130
+ icon: 'DatePicker',
1131
+ description: '',
1132
+ image: '',
1133
+ groupsName: '数据录入',
1134
+ setEvents: [],
1135
+ isLabelDropBoxChild: false,
1136
+ components: [],
1137
+ path: ['998509', 'Form_180373']
1138
+ }, {
1139
+ id: 'TimePicker_274966',
1140
+ label: '时间选择',
1141
+ compName: 'TimePicker',
1142
+ type: 'TimePicker',
1143
+ compType: 2,
1144
+ compLib: 'comm',
1145
+ props: {
1146
+ name: '时间选择',
1147
+ basicStatus: 1,
1148
+ size: 'default',
1149
+ selfSpan: '',
1150
+ labelCol: 8,
1151
+ wrapperCol: 16,
1152
+ titleTip: 'notext',
1153
+ tipSize: 'default',
1154
+ tipWidth: '240px',
1155
+ tipHeight: 'auto',
1156
+ required: false,
1157
+ limitRange: 'no',
1158
+ startTime: '',
1159
+ endTime: '',
1160
+ format: 'YYYY-MM-DD HH:mm:ss',
1161
+ timeMode: 'time',
1162
+ pickerType: 'TimePicker',
1163
+ placeholder: '请选择时间',
1164
+ customTip: '',
1165
+ allowClear: true,
1166
+ formItemIndex: 14,
1167
+ fieldName: 'rdsx'
1168
+ },
1169
+ style: {},
1170
+ isContainer: false,
1171
+ isBusiObjContainer: false,
1172
+ cmdgroup: ['basic'],
1173
+ platform: 'pc',
1174
+ fieldProps: {
1175
+ trigger: 'onChange',
1176
+ valuePropName: 'value'
1177
+ },
1178
+ icon: 'TimePicker',
1179
+ description: '',
1180
+ image: '',
1181
+ groupsName: '数据录入',
1182
+ setEvents: [],
1183
+ isLabelDropBoxChild: false,
1184
+ components: [],
1185
+ path: ['998509', 'Form_180373']
1186
+ }, {
1187
+ id: 'TextArea_78428606',
1188
+ label: '多行输入',
1189
+ compName: 'TextArea',
1190
+ type: 'TextArea',
1191
+ compType: 2,
1192
+ compLib: 'comm',
1193
+ props: {
1194
+ name: '多行输入',
1195
+ labelCol: 8,
1196
+ wrapperCol: 16,
1197
+ basicStatus: 1,
1198
+ titleTip: 'notext',
1199
+ tipSize: 'default',
1200
+ tipWidth: '240px',
1201
+ tipHeight: 'auto',
1202
+ required: false,
1203
+ placeholder: '请输入',
1204
+ allowClear: true,
1205
+ formItemIndex: 15,
1206
+ fieldName: 'fdec'
1207
+ },
1208
+ style: {},
1209
+ isContainer: false,
1210
+ isBusiObjContainer: false,
1211
+ cmdgroup: ['basic'],
1212
+ platform: 'pc',
1213
+ fieldProps: {
1214
+ trigger: 'onChange',
1215
+ valuePropName: 'value'
1216
+ },
1217
+ icon: 'TextArea',
1218
+ description: '',
1219
+ image: '',
1220
+ groupsName: '数据录入',
1221
+ setEvents: [],
1222
+ isLabelDropBoxChild: false,
1223
+ components: [],
1224
+ path: ['998509', 'Form_180373']
1225
+ }, {
1226
+ id: 'VerificationCode_6637723',
1227
+ label: '验证码',
1228
+ compName: 'VerificationCode',
1229
+ type: 'VerificationCode',
1230
+ compType: 2,
1231
+ compLib: 'comm',
1232
+ props: {
1233
+ name: '验证码',
1234
+ placeholderText: '请输入验证码',
1235
+ displayStyle: 'countdownStyle',
1236
+ countdownTime: 60,
1237
+ random: false,
1238
+ digit: 4,
1239
+ formItemIndex: 16,
1240
+ labelCol: 8,
1241
+ wrapperCol: 16,
1242
+ fieldName: 'asdcx'
1243
+ },
1244
+ style: {},
1245
+ isContainer: false,
1246
+ isBusiObjContainer: false,
1247
+ cmdgroup: ['basic'],
1248
+ platform: 'pc',
1249
+ fieldProps: {
1250
+ trigger: 'onChange',
1251
+ valuePropName: 'value'
1252
+ },
1253
+ icon: 'VerificationCode',
1254
+ description: '',
1255
+ image: '',
1256
+ groupsName: '数据录入',
1257
+ engineApi: ['getValidateCodePicture'],
1258
+ setEvents: [{
1259
+ dataName: 'event',
1260
+ value: 'onChange',
1261
+ params: [{
1262
+ title: '事件对象',
1263
+ name: 'e',
1264
+ value: '$e$'
1265
+ }],
1266
+ path: [],
1267
+ dataId: '4056877',
1268
+ children: []
1269
+ }],
1270
+ isLabelDropBoxChild: false,
1271
+ components: [],
1272
+ path: ['998509', 'Form_180373']
1273
+ }, {
1274
+ id: 'ModalSelect_0125654',
1275
+ label: '弹窗选择',
1276
+ compName: 'ModalSelect',
1277
+ type: 'ModalSelect',
1278
+ compType: 2,
1279
+ compLib: 'comm',
1280
+ props: {
1281
+ name: '弹窗选择',
1282
+ basicStatus: 1,
1283
+ size: 'default',
1284
+ mode: 'normal',
1285
+ labelCol: 8,
1286
+ wrapperCol: 16,
1287
+ titleTip: 'notext',
1288
+ tipContent: '',
1289
+ tipSize: 'default',
1290
+ tipWidth: '240px',
1291
+ tipHeight: 'auto',
1292
+ postfix: '',
1293
+ postfixIconPosition: 'before',
1294
+ required: false,
1295
+ placeholder: '请选择',
1296
+ postfixIcon: {
1297
+ isIconFont: false,
1298
+ theme: 'outlined',
1299
+ type: 'search'
1300
+ },
1301
+ isIconFont: false,
1302
+ theme: 'outlined',
1303
+ type: 'search',
1304
+ postfixStyle: '1',
1305
+ allowClear: true,
1306
+ formItemIndex: 0,
1307
+ fieldName: 'ffs'
1308
+ },
1309
+ style: {},
1310
+ isContainer: false,
1311
+ isBusiObjContainer: false,
1312
+ cmdgroup: ['basic'],
1313
+ platform: 'pc',
1314
+ icon: 'ModalSelect',
1315
+ description: '',
1316
+ image: '',
1317
+ groupsName: '数据录入',
1318
+ setEvents: [],
1319
+ isLabelDropBoxChild: false,
1320
+ components: [],
1321
+ path: ['632083', 'View_632083_1', 'Form_214817']
1322
+ }],
1323
+ path: ['998509']
1324
+ }, {
1325
+ id: 'View_519882',
1326
+ label: '普通容器',
1327
+ compName: 'View',
1328
+ type: 'View',
1329
+ compType: 0,
1330
+ compLib: 'custom',
1331
+ props: {
1332
+ name: '普通容器1',
1333
+ basicStatus: 1
1334
+ },
1335
+ style: {
1336
+ textAlign: 'left',
1337
+ display: 'block',
1338
+ flexDirection: 'column',
1339
+ padding: '0px 0px 0px 0px',
1340
+ width: '100%',
1341
+ backgroundColor: '#FFFFFF',
1342
+ height: '250px'
1343
+ },
1344
+ isContainer: true,
1345
+ isBusiObjContainer: false,
1346
+ cmdgroup: ['basic'],
1347
+ platform: 'pc',
1348
+ icon: 'View',
1349
+ description: '',
1350
+ image: '',
1351
+ groupsName: '布局',
1352
+ engineApi: ['service.downloadFileByFileCode'],
1353
+ setEvents: [],
1354
+ isLabelDropBoxChild: false,
1355
+ components: [],
1356
+ path: ['998509']
1357
+ }]
1358
+ };