@dhccmobile/vue3-lo-form 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -70
- package/dist/demo.html +1 -10
- package/dist/vue3-lo-form.common.js +8704 -6939
- package/dist/vue3-lo-form.common.js.map +1 -1
- package/dist/vue3-lo-form.css +1 -1
- package/dist/vue3-lo-form.umd.js +8715 -6949
- package/dist/vue3-lo-form.umd.js.map +1 -1
- package/dist/vue3-lo-form.umd.min.js +1 -1
- package/dist/vue3-lo-form.umd.min.js.map +1 -1
- package/package.json +72 -65
- package/src/App.vue +741 -741
- package/src/components/form/DvForm.vue +642 -642
- package/src/components/form/DvFormLayout.vue +1592 -1569
- package/src/components/form/StretchText.vue +90 -90
- package/src/components/index.ts +3 -3
- package/src/constants/config/form-template.config.ts +32 -32
- package/src/constants/config/form.config.ts +4 -4
- package/src/constants/config/storage.config.ts +4 -4
- package/src/constants/encode-assets/svg.ts +11 -11
- package/src/constants/enum/builtIn-label.enum.ts +5 -5
- package/src/constants/enum/cache-type.enum.ts +7 -7
- package/src/constants/enum/control-format-type.enum.ts +9 -9
- package/src/constants/enum/dynamic-option-type.enum.ts +6 -6
- package/src/constants/enum/form-bus-attr.enum.ts +8 -8
- package/src/constants/enum/form-field-class.enum.ts +7 -7
- package/src/constants/enum/form-field-type.enum.ts +25 -25
- package/src/constants/enum/form-type.enum.ts +5 -5
- package/src/constants/enum/index.ts +19 -19
- package/src/constants/enum/lateral-arrangement.enum.ts +9 -9
- package/src/constants/enum/money-unit.enum.ts +6 -6
- package/src/constants/enum/option-type.enum.ts +5 -5
- package/src/constants/enum/submitted-type.enum.ts +32 -32
- package/src/constants/enum/support-upload-type.enum.ts +5 -5
- package/src/constants/enum/switch.enum.ts +5 -5
- package/src/constants/enum/upload-type.enum.ts +17 -17
- package/src/constants/enum/validate-rules.enum.ts +25 -25
- package/src/constants/enum/validate-status.enum.ts +8 -8
- package/src/constants/enum/vertical-arrangement.enum.ts +7 -7
- package/src/constants/enum/zoom-type.ts +6 -6
- package/src/constants/index.ts +3 -3
- package/src/core/FormApi.ts +1238 -1238
- package/src/core/index.ts +1 -1
- package/src/domain/AbstractControl.ts +6 -6
- package/src/domain/Control.ts +14 -14
- package/src/domain/CustomFormat.ts +6 -6
- package/src/domain/DesForm.ts +48 -48
- package/src/domain/DesFormControl.ts +241 -241
- package/src/domain/DesFormLayout.ts +51 -51
- package/src/domain/FieldChangeHistory.ts +9 -9
- package/src/domain/FormConfig.ts +16 -15
- package/src/domain/FormControl.ts +125 -125
- package/src/domain/FormEnum.ts +9 -9
- package/src/domain/FormGroup.ts +42 -42
- package/src/domain/FormRestfulResponse.ts +6 -6
- package/src/domain/ProvideInjectData.ts +10 -10
- package/src/domain/SysDictDetail.ts +38 -38
- package/src/domain/SysDictInfo.ts +40 -40
- package/src/domain/SysDictTreeDetail.ts +52 -52
- package/src/domain/index.ts +12 -12
- package/src/filtres/amount-capitalization.filter.ts +154 -154
- package/src/filtres/extract-options.filter.ts +53 -53
- package/src/filtres/generate-grid-column-end.filter.ts +22 -22
- package/src/filtres/generate-grid-template-columns.filter.ts +24 -24
- package/src/filtres/switch-enum-convert.filter.ts +18 -18
- package/src/filtres/zoom-multiple.filter.ts +32 -32
- package/src/index.ts +74 -73
- package/src/main.ts +17 -17
- package/src/services/api.service.ts +73 -73
- package/src/services/clean-local-forage.service.ts +58 -58
- package/src/services/date-format.service.ts +74 -74
- package/src/services/dict-local-forage.service.ts +58 -58
- package/src/services/form-bean-utils.service.ts +41 -41
- package/src/services/form-local-forage.service.ts +59 -59
- package/src/services/form-tools.service.ts +739 -739
- package/src/services/form-tree-node-convert.service.ts +240 -240
- package/src/services/form-validate.service.ts +103 -103
- package/src/services/index.ts +9 -9
- package/src/services/router.service.ts +96 -96
- package/src/services/validate-generator.service.ts +710 -710
- package/src/shims-vue.d.ts +6 -6
- package/src/store/dict.store.ts +63 -63
- package/src/store/form.store.ts +32 -32
- package/src/store/index.ts +2 -2
- package/src/styles/datePicker.scss +125 -125
- package/src/styles/index.scss +195 -195
- package/src/styles/theme1.scss +277 -277
- package/src/styles/theme2.scss +376 -376
- package/src/styles/themes.scss +9 -9
- package/src/types/vfForm.ts +11 -11
- package/types/components/index.d.ts +3 -3
- package/types/constants/config/form-template.config.d.ts +30 -30
- package/types/constants/config/form.config.d.ts +4 -4
- package/types/constants/config/storage.config.d.ts +4 -4
- package/types/constants/encode-assets/svg.d.ts +5 -5
- package/types/constants/enum/builtIn-label.enum.d.ts +7 -7
- package/types/constants/enum/cache-type.enum.d.ts +15 -15
- package/types/constants/enum/control-format-type.enum.d.ts +23 -23
- package/types/constants/enum/dynamic-option-type.enum.d.ts +11 -11
- package/types/constants/enum/form-bus-attr.enum.d.ts +19 -19
- package/types/constants/enum/form-field-class.enum.d.ts +18 -18
- package/types/constants/enum/form-field-type.enum.d.ts +111 -111
- package/types/constants/enum/form-type.enum.d.ts +11 -11
- package/types/constants/enum/index.d.ts +19 -19
- package/types/constants/enum/lateral-arrangement.enum.d.ts +23 -23
- package/types/constants/enum/money-unit.enum.d.ts +15 -15
- package/types/constants/enum/option-type.enum.d.ts +11 -11
- package/types/constants/enum/submitted-type.enum.d.ts +115 -115
- package/types/constants/enum/support-upload-type.enum.d.ts +11 -11
- package/types/constants/enum/switch.enum.d.ts +11 -11
- package/types/constants/enum/upload-type.enum.d.ts +59 -59
- package/types/constants/enum/validate-rules.enum.d.ts +2 -2
- package/types/constants/enum/validate-status.enum.d.ts +2 -2
- package/types/constants/enum/vertical-arrangement.enum.d.ts +21 -21
- package/types/constants/enum/zoom-type.d.ts +15 -15
- package/types/constants/index.d.ts +3 -3
- package/types/core/FormApi.d.ts +376 -376
- package/types/core/index.d.ts +1 -1
- package/types/domain/AbstractControl.d.ts +5 -5
- package/types/domain/Control.d.ts +13 -13
- package/types/domain/CustomFormat.d.ts +5 -5
- package/types/domain/DesForm.d.ts +32 -32
- package/types/domain/DesFormControl.d.ts +160 -160
- package/types/domain/DesFormLayout.d.ts +33 -33
- package/types/domain/FieldChangeHistory.d.ts +9 -9
- package/types/domain/FormConfig.d.ts +16 -15
- package/types/domain/FormControl.d.ts +60 -60
- package/types/domain/FormEnum.d.ts +10 -10
- package/types/domain/FormGroup.d.ts +27 -27
- package/types/domain/FormRestfulResponse.d.ts +6 -6
- package/types/domain/ProvideInjectData.d.ts +10 -10
- package/types/domain/SysDictDetail.d.ts +24 -24
- package/types/domain/SysDictInfo.d.ts +26 -26
- package/types/domain/SysDictTreeDetail.d.ts +34 -34
- package/types/domain/index.d.ts +12 -12
- package/types/filtres/amount-capitalization.filter.d.ts +7 -7
- package/types/filtres/extract-options.filter.d.ts +13 -13
- package/types/filtres/generate-grid-column-end.filter.d.ts +11 -11
- package/types/filtres/generate-grid-template-columns.filter.d.ts +11 -11
- package/types/filtres/switch-enum-convert.filter.d.ts +2 -2
- package/types/filtres/zoom-multiple.filter.d.ts +3 -3
- package/types/index.d.ts +13 -13
- package/types/main.d.ts +2 -2
- package/types/services/api.service.d.ts +25 -25
- package/types/services/clean-local-forage.service.d.ts +28 -28
- package/types/services/date-format.service.d.ts +21 -21
- package/types/services/dict-local-forage.service.d.ts +28 -28
- package/types/services/form-bean-utils.service.d.ts +23 -23
- package/types/services/form-local-forage.service.d.ts +28 -28
- package/types/services/form-tools.service.d.ts +153 -153
- package/types/services/form-tree-node-convert.service.d.ts +104 -104
- package/types/services/form-validate.service.d.ts +32 -32
- package/types/services/index.d.ts +9 -9
- package/types/services/router.service.d.ts +40 -40
- package/types/services/validate-generator.service.d.ts +154 -154
- package/types/store/dict.store.d.ts +29 -29
- package/types/store/form.store.d.ts +17 -17
- package/types/store/index.d.ts +2 -2
- package/types/types/vfForm.d.ts +10 -10
- package/.env.local.bak +0 -6
- package/.eslintrc.js +0 -28
- package/babel.config.js +0 -3
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -17
- package/public/js/pinyin.ts +0 -101
- package/tsconfig.json +0 -40
- package/vue.config.js +0 -38
package/src/styles/theme1.scss
CHANGED
|
@@ -1,278 +1,278 @@
|
|
|
1
|
-
.ant-form-horizontal {
|
|
2
|
-
.lo-control-container {
|
|
3
|
-
.lo-control-box {
|
|
4
|
-
.ant-form-item {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: row;
|
|
7
|
-
height: 100%;
|
|
8
|
-
::v-deep {
|
|
9
|
-
.ant-form-item-label {
|
|
10
|
-
border-right: 1px solid #e4e4e4;
|
|
11
|
-
background-color: #f5f7fa;
|
|
12
|
-
label {
|
|
13
|
-
display: block;
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: auto;
|
|
16
|
-
white-space: pre-wrap;
|
|
17
|
-
word-break: break-all;
|
|
18
|
-
line-height: normal;
|
|
19
|
-
padding: 8px 0;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.ant-form-item-control {
|
|
23
|
-
margin: auto 0;
|
|
24
|
-
padding: 5px 5px;
|
|
25
|
-
.ant-form-item-control-input {
|
|
26
|
-
.ant-form-item-control-input-content {
|
|
27
|
-
textarea {
|
|
28
|
-
margin-top: 4px;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
.ant-input,
|
|
34
|
-
.ant-input-affix-wrapper,
|
|
35
|
-
.ant-select-selector,
|
|
36
|
-
.ant-picker,
|
|
37
|
-
.ant-btn,
|
|
38
|
-
.ant-input-number,
|
|
39
|
-
.ant-input-group-addon {
|
|
40
|
-
border-radius: 5px;
|
|
41
|
-
}
|
|
42
|
-
.addon-after .ant-input {
|
|
43
|
-
border-top-right-radius: 0;
|
|
44
|
-
border-bottom-right-radius: 0;
|
|
45
|
-
}
|
|
46
|
-
.addon-before .ant-input {
|
|
47
|
-
border-top-left-radius: 0;
|
|
48
|
-
border-bottom-left-radius: 0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
.ant-form-vertical {
|
|
56
|
-
.lo-control-container {
|
|
57
|
-
.lo-control-box {
|
|
58
|
-
.ant-form-item {
|
|
59
|
-
padding-bottom: 0;
|
|
60
|
-
::v-deep {
|
|
61
|
-
.ant-form-item-label {
|
|
62
|
-
padding: 8px;
|
|
63
|
-
}
|
|
64
|
-
.ant-form-item-control-wrapper {
|
|
65
|
-
padding: 0 5px 5px 5px;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
.lo-control-container {
|
|
73
|
-
box-sizing: border-box;
|
|
74
|
-
border-right: 1px solid #e8e8e8;
|
|
75
|
-
border-bottom: 1px solid #e8e8e8;
|
|
76
|
-
.lo-control-box {
|
|
77
|
-
height: 100%;
|
|
78
|
-
.ant-form-item {
|
|
79
|
-
margin-bottom: 0;
|
|
80
|
-
.lo-select {
|
|
81
|
-
::v-deep {
|
|
82
|
-
.ant-select-selection-selected-value {
|
|
83
|
-
width: 100%;
|
|
84
|
-
white-space: nowrap;
|
|
85
|
-
text-overflow: ellipsis;
|
|
86
|
-
overflow: hidden;
|
|
87
|
-
word-break: break-all;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
&.lo-select-multiple-suffix-icon {
|
|
91
|
-
::v-deep {
|
|
92
|
-
.ant-select-arrow {
|
|
93
|
-
margin: 0;
|
|
94
|
-
height: 100%;
|
|
95
|
-
top: 0;
|
|
96
|
-
right: 0;
|
|
97
|
-
width: fit-content;
|
|
98
|
-
.ant-select-arrow-icon {
|
|
99
|
-
height: 100%;
|
|
100
|
-
display: flex;
|
|
101
|
-
align-items: center;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
.lo-label-sub-type-icon {
|
|
108
|
-
color: #3fb5eb;
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
margin-left: 4px;
|
|
111
|
-
margin-bottom: 3px;
|
|
112
|
-
display: inline-block;
|
|
113
|
-
::v-deep {
|
|
114
|
-
svg {
|
|
115
|
-
display: inline-block;
|
|
116
|
-
margin-bottom: -2.5px;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
.lo-label-history-icon {
|
|
121
|
-
display: inline-block;
|
|
122
|
-
line-height: 0;
|
|
123
|
-
margin-left: 4px;
|
|
124
|
-
margin-bottom: 3px;
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
font-size: 13px;
|
|
127
|
-
}
|
|
128
|
-
.lo-label-tips-icon {
|
|
129
|
-
color: #2858d6;
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
font-size: 13px;
|
|
132
|
-
margin-left: 4px;
|
|
133
|
-
}
|
|
134
|
-
::v-deep {
|
|
135
|
-
.ant-form-item-label {
|
|
136
|
-
label {
|
|
137
|
-
color: #77797f;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
.ant-form-item-control-wrapper {
|
|
141
|
-
flex-grow: 1;
|
|
142
|
-
color: #333333;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
:deep(.ant-input-group-addon:last-child) {
|
|
146
|
-
border-top-left-radius: 0 !important;
|
|
147
|
-
border-bottom-left-radius: 0 !important;
|
|
148
|
-
}
|
|
149
|
-
.addon-icon {
|
|
150
|
-
font-size: 15px;
|
|
151
|
-
cursor: pointer;
|
|
152
|
-
}
|
|
153
|
-
.addon-inner {
|
|
154
|
-
position: absolute;
|
|
155
|
-
width: 100%;
|
|
156
|
-
height: 100%;
|
|
157
|
-
top: 0;
|
|
158
|
-
left: 0;
|
|
159
|
-
cursor: pointer;
|
|
160
|
-
}
|
|
161
|
-
.addon-inner:active {
|
|
162
|
-
background: rgba(240, 240, 240, 0.3);
|
|
163
|
-
}
|
|
164
|
-
.addon-readonly {
|
|
165
|
-
display: flex;
|
|
166
|
-
align-items: center;
|
|
167
|
-
justify-content: center;
|
|
168
|
-
width: 40px;
|
|
169
|
-
height: 100%;
|
|
170
|
-
cursor: pointer;
|
|
171
|
-
color: #999999;
|
|
172
|
-
background-color: #f2f2f2;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
.lo-textarea-count {
|
|
176
|
-
position: absolute;
|
|
177
|
-
line-height: 10px;
|
|
178
|
-
right: 0;
|
|
179
|
-
color: rgba(0, 0, 0, 0.45);
|
|
180
|
-
}
|
|
181
|
-
.lo-input-number-box {
|
|
182
|
-
::v-deep {
|
|
183
|
-
.ant-input-number {
|
|
184
|
-
width: 100%;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
&.lo-with-unit {
|
|
188
|
-
::v-deep {
|
|
189
|
-
.ant-input-number {
|
|
190
|
-
border-top-right-radius: 0;
|
|
191
|
-
border-bottom-right-radius: 0;
|
|
192
|
-
border-right: 0;
|
|
193
|
-
.ant-input-number-handler-wrap {
|
|
194
|
-
border-top-right-radius: 0;
|
|
195
|
-
border-bottom-right-radius: 0;
|
|
196
|
-
opacity: 1;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
.ant-dropdown-trigger {
|
|
200
|
-
border-top-left-radius: 0;
|
|
201
|
-
border-bottom-left-radius: 0;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
&.lo-unit-1 {
|
|
205
|
-
::v-deep {
|
|
206
|
-
.ant-input-number {
|
|
207
|
-
width: calc(100% - 50px);
|
|
208
|
-
}
|
|
209
|
-
.ant-dropdown-trigger {
|
|
210
|
-
min-width: 50px;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
&.lo-unit-2 {
|
|
215
|
-
::v-deep {
|
|
216
|
-
.ant-input-number {
|
|
217
|
-
width: calc(100% - 80px);
|
|
218
|
-
}
|
|
219
|
-
.ant-dropdown-trigger {
|
|
220
|
-
min-width: 80px;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
&.lo-unit-3 {
|
|
225
|
-
::v-deep {
|
|
226
|
-
.ant-input-number {
|
|
227
|
-
width: calc(100% - 110px);
|
|
228
|
-
}
|
|
229
|
-
.ant-dropdown-trigger {
|
|
230
|
-
min-width: 110px;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
.lo-control-text {
|
|
237
|
-
white-space: pre-wrap;
|
|
238
|
-
word-break: break-all;
|
|
239
|
-
line-height: 22px;
|
|
240
|
-
padding: 8px;
|
|
241
|
-
color: #333333;
|
|
242
|
-
font-size: 14px;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
:deep {
|
|
247
|
-
.ant-select-single:not(.ant-select-customize-input) .ant-select-selector,
|
|
248
|
-
.ant-input-number-input {
|
|
249
|
-
padding: 0 6px;
|
|
250
|
-
}
|
|
251
|
-
.ant-picker,
|
|
252
|
-
.ant-input {
|
|
253
|
-
padding: 4px 6px;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
.lo-empty-layout-container {
|
|
258
|
-
box-sizing: border-box;
|
|
259
|
-
display: grid;
|
|
260
|
-
border-top: 1px #e8e8e8 solid;
|
|
261
|
-
border-left: 1px #e8e8e8 solid;
|
|
262
|
-
}
|
|
263
|
-
.lo-general-layout-container {
|
|
264
|
-
box-sizing: border-box;
|
|
265
|
-
display: grid;
|
|
266
|
-
grid-column-start: 1;
|
|
267
|
-
}
|
|
268
|
-
:deep .ant-form-item-label > label.ant-form-item-no-colon::after {
|
|
269
|
-
display: none;
|
|
270
|
-
}
|
|
271
|
-
:deep {
|
|
272
|
-
.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector,
|
|
273
|
-
.ant-picker-input > input[disabled],
|
|
274
|
-
.ant-input-number-disabled,
|
|
275
|
-
.ant-input[disabled] {
|
|
276
|
-
color: #333;
|
|
277
|
-
}
|
|
1
|
+
.ant-form-horizontal {
|
|
2
|
+
.lo-control-container {
|
|
3
|
+
.lo-control-box {
|
|
4
|
+
.ant-form-item {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
height: 100%;
|
|
8
|
+
::v-deep {
|
|
9
|
+
.ant-form-item-label {
|
|
10
|
+
border-right: 1px solid #e4e4e4;
|
|
11
|
+
background-color: #f5f7fa;
|
|
12
|
+
label {
|
|
13
|
+
display: block;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: auto;
|
|
16
|
+
white-space: pre-wrap;
|
|
17
|
+
word-break: break-all;
|
|
18
|
+
line-height: normal;
|
|
19
|
+
padding: 8px 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.ant-form-item-control {
|
|
23
|
+
margin: auto 0;
|
|
24
|
+
padding: 5px 5px;
|
|
25
|
+
.ant-form-item-control-input {
|
|
26
|
+
.ant-form-item-control-input-content {
|
|
27
|
+
textarea {
|
|
28
|
+
margin-top: 4px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.ant-input,
|
|
34
|
+
.ant-input-affix-wrapper,
|
|
35
|
+
.ant-select-selector,
|
|
36
|
+
.ant-picker,
|
|
37
|
+
.ant-btn,
|
|
38
|
+
.ant-input-number,
|
|
39
|
+
.ant-input-group-addon {
|
|
40
|
+
border-radius: 5px;
|
|
41
|
+
}
|
|
42
|
+
.addon-after .ant-input {
|
|
43
|
+
border-top-right-radius: 0;
|
|
44
|
+
border-bottom-right-radius: 0;
|
|
45
|
+
}
|
|
46
|
+
.addon-before .ant-input {
|
|
47
|
+
border-top-left-radius: 0;
|
|
48
|
+
border-bottom-left-radius: 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.ant-form-vertical {
|
|
56
|
+
.lo-control-container {
|
|
57
|
+
.lo-control-box {
|
|
58
|
+
.ant-form-item {
|
|
59
|
+
padding-bottom: 0;
|
|
60
|
+
::v-deep {
|
|
61
|
+
.ant-form-item-label {
|
|
62
|
+
padding: 8px;
|
|
63
|
+
}
|
|
64
|
+
.ant-form-item-control-wrapper {
|
|
65
|
+
padding: 0 5px 5px 5px;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
.lo-control-container {
|
|
73
|
+
box-sizing: border-box;
|
|
74
|
+
border-right: 1px solid #e8e8e8;
|
|
75
|
+
border-bottom: 1px solid #e8e8e8;
|
|
76
|
+
.lo-control-box {
|
|
77
|
+
height: 100%;
|
|
78
|
+
.ant-form-item {
|
|
79
|
+
margin-bottom: 0;
|
|
80
|
+
.lo-select {
|
|
81
|
+
::v-deep {
|
|
82
|
+
.ant-select-selection-selected-value {
|
|
83
|
+
width: 100%;
|
|
84
|
+
white-space: nowrap;
|
|
85
|
+
text-overflow: ellipsis;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
word-break: break-all;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
&.lo-select-multiple-suffix-icon {
|
|
91
|
+
::v-deep {
|
|
92
|
+
.ant-select-arrow {
|
|
93
|
+
margin: 0;
|
|
94
|
+
height: 100%;
|
|
95
|
+
top: 0;
|
|
96
|
+
right: 0;
|
|
97
|
+
width: fit-content;
|
|
98
|
+
.ant-select-arrow-icon {
|
|
99
|
+
height: 100%;
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
.lo-label-sub-type-icon {
|
|
108
|
+
color: #3fb5eb;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
margin-left: 4px;
|
|
111
|
+
margin-bottom: 3px;
|
|
112
|
+
display: inline-block;
|
|
113
|
+
::v-deep {
|
|
114
|
+
svg {
|
|
115
|
+
display: inline-block;
|
|
116
|
+
margin-bottom: -2.5px;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
.lo-label-history-icon {
|
|
121
|
+
display: inline-block;
|
|
122
|
+
line-height: 0;
|
|
123
|
+
margin-left: 4px;
|
|
124
|
+
margin-bottom: 3px;
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
font-size: 13px;
|
|
127
|
+
}
|
|
128
|
+
.lo-label-tips-icon {
|
|
129
|
+
color: #2858d6;
|
|
130
|
+
cursor: pointer;
|
|
131
|
+
font-size: 13px;
|
|
132
|
+
margin-left: 4px;
|
|
133
|
+
}
|
|
134
|
+
::v-deep {
|
|
135
|
+
.ant-form-item-label {
|
|
136
|
+
label {
|
|
137
|
+
color: #77797f;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
.ant-form-item-control-wrapper {
|
|
141
|
+
flex-grow: 1;
|
|
142
|
+
color: #333333;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
:deep(.ant-input-group-addon:last-child) {
|
|
146
|
+
border-top-left-radius: 0 !important;
|
|
147
|
+
border-bottom-left-radius: 0 !important;
|
|
148
|
+
}
|
|
149
|
+
.addon-icon {
|
|
150
|
+
font-size: 15px;
|
|
151
|
+
cursor: pointer;
|
|
152
|
+
}
|
|
153
|
+
.addon-inner {
|
|
154
|
+
position: absolute;
|
|
155
|
+
width: 100%;
|
|
156
|
+
height: 100%;
|
|
157
|
+
top: 0;
|
|
158
|
+
left: 0;
|
|
159
|
+
cursor: pointer;
|
|
160
|
+
}
|
|
161
|
+
.addon-inner:active {
|
|
162
|
+
background: rgba(240, 240, 240, 0.3);
|
|
163
|
+
}
|
|
164
|
+
.addon-readonly {
|
|
165
|
+
display: flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
168
|
+
width: 40px;
|
|
169
|
+
height: 100%;
|
|
170
|
+
cursor: pointer;
|
|
171
|
+
color: #999999;
|
|
172
|
+
background-color: #f2f2f2;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
.lo-textarea-count {
|
|
176
|
+
position: absolute;
|
|
177
|
+
line-height: 10px;
|
|
178
|
+
right: 0;
|
|
179
|
+
color: rgba(0, 0, 0, 0.45);
|
|
180
|
+
}
|
|
181
|
+
.lo-input-number-box {
|
|
182
|
+
::v-deep {
|
|
183
|
+
.ant-input-number {
|
|
184
|
+
width: 100%;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
&.lo-with-unit {
|
|
188
|
+
::v-deep {
|
|
189
|
+
.ant-input-number {
|
|
190
|
+
border-top-right-radius: 0;
|
|
191
|
+
border-bottom-right-radius: 0;
|
|
192
|
+
border-right: 0;
|
|
193
|
+
.ant-input-number-handler-wrap {
|
|
194
|
+
border-top-right-radius: 0;
|
|
195
|
+
border-bottom-right-radius: 0;
|
|
196
|
+
opacity: 1;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
.ant-dropdown-trigger {
|
|
200
|
+
border-top-left-radius: 0;
|
|
201
|
+
border-bottom-left-radius: 0;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
&.lo-unit-1 {
|
|
205
|
+
::v-deep {
|
|
206
|
+
.ant-input-number {
|
|
207
|
+
width: calc(100% - 50px);
|
|
208
|
+
}
|
|
209
|
+
.ant-dropdown-trigger {
|
|
210
|
+
min-width: 50px;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
&.lo-unit-2 {
|
|
215
|
+
::v-deep {
|
|
216
|
+
.ant-input-number {
|
|
217
|
+
width: calc(100% - 80px);
|
|
218
|
+
}
|
|
219
|
+
.ant-dropdown-trigger {
|
|
220
|
+
min-width: 80px;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
&.lo-unit-3 {
|
|
225
|
+
::v-deep {
|
|
226
|
+
.ant-input-number {
|
|
227
|
+
width: calc(100% - 110px);
|
|
228
|
+
}
|
|
229
|
+
.ant-dropdown-trigger {
|
|
230
|
+
min-width: 110px;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
.lo-control-text {
|
|
237
|
+
white-space: pre-wrap;
|
|
238
|
+
word-break: break-all;
|
|
239
|
+
line-height: 22px;
|
|
240
|
+
padding: 8px;
|
|
241
|
+
color: #333333;
|
|
242
|
+
font-size: 14px;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
:deep {
|
|
247
|
+
.ant-select-single:not(.ant-select-customize-input) .ant-select-selector,
|
|
248
|
+
.ant-input-number-input {
|
|
249
|
+
padding: 0 6px;
|
|
250
|
+
}
|
|
251
|
+
.ant-picker,
|
|
252
|
+
.ant-input {
|
|
253
|
+
padding: 4px 6px;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
.lo-empty-layout-container {
|
|
258
|
+
box-sizing: border-box;
|
|
259
|
+
display: grid;
|
|
260
|
+
border-top: 1px #e8e8e8 solid;
|
|
261
|
+
border-left: 1px #e8e8e8 solid;
|
|
262
|
+
}
|
|
263
|
+
.lo-general-layout-container {
|
|
264
|
+
box-sizing: border-box;
|
|
265
|
+
display: grid;
|
|
266
|
+
grid-column-start: 1;
|
|
267
|
+
}
|
|
268
|
+
:deep .ant-form-item-label > label.ant-form-item-no-colon::after {
|
|
269
|
+
display: none;
|
|
270
|
+
}
|
|
271
|
+
:deep {
|
|
272
|
+
.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector,
|
|
273
|
+
.ant-picker-input > input[disabled],
|
|
274
|
+
.ant-input-number-disabled,
|
|
275
|
+
.ant-input[disabled] {
|
|
276
|
+
color: #333;
|
|
277
|
+
}
|
|
278
278
|
}
|