@tmagic/form 1.7.0-beta.2 → 1.7.0-beta.3
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/style.css +20 -7
- package/dist/tmagic-form.js +444 -417
- package/dist/tmagic-form.umd.cjs +443 -416
- package/package.json +4 -4
- package/src/FormDialog.vue +1 -1
- package/src/FormDrawer.vue +1 -1
- package/src/containers/GroupList.vue +16 -11
- package/src/containers/GroupListItem.vue +72 -70
- package/src/fields/Link.vue +3 -2
- package/src/fields/Text.vue +22 -4
- package/src/table/Table.vue +13 -8
- package/src/table/useAdd.ts +1 -0
- package/src/table/useFullscreen.ts +1 -11
- package/src/theme/group-list.scss +15 -0
- package/src/theme/table.scss +6 -3
- package/types/index.d.ts +2 -2
package/dist/style.css
CHANGED
|
@@ -189,6 +189,17 @@ fieldset.m-fieldset .m-form-tip {
|
|
|
189
189
|
.m-fields-group-list .m-fields-group-list-item:last-of-type {
|
|
190
190
|
border-bottom: 0;
|
|
191
191
|
}
|
|
192
|
+
.m-fields-group-list .tmagic-design-card .el-card__header {
|
|
193
|
+
padding: 5px 20px;
|
|
194
|
+
}
|
|
195
|
+
.m-fields-group-list .tmagic-design-card .t-card__header {
|
|
196
|
+
padding: 5px 0;
|
|
197
|
+
}
|
|
198
|
+
.m-fields-group-list .m-fields-group-list-footer {
|
|
199
|
+
display: flex;
|
|
200
|
+
justify-content: space-between;
|
|
201
|
+
margin-top: 10px;
|
|
202
|
+
}
|
|
192
203
|
|
|
193
204
|
.m-form-panel .el-card__header:hover {
|
|
194
205
|
background: #f2f6fc;
|
|
@@ -210,11 +221,7 @@ fieldset.m-fieldset .m-form-tip {
|
|
|
210
221
|
.m-fields-table-wrap {
|
|
211
222
|
width: 100%;
|
|
212
223
|
}
|
|
213
|
-
|
|
214
|
-
.m-fields-table {
|
|
215
|
-
width: 100%;
|
|
216
|
-
}
|
|
217
|
-
.m-fields-table.fixed {
|
|
224
|
+
.m-fields-table-wrap.fixed {
|
|
218
225
|
position: fixed;
|
|
219
226
|
height: 100%;
|
|
220
227
|
overflow: auto;
|
|
@@ -224,16 +231,22 @@ fieldset.m-fieldset .m-form-tip {
|
|
|
224
231
|
bottom: 0;
|
|
225
232
|
z-index: 100;
|
|
226
233
|
background: rgba(0, 0, 0, 0.5);
|
|
234
|
+
align-items: center;
|
|
235
|
+
display: flex;
|
|
227
236
|
}
|
|
228
|
-
.m-fields-table.fixed > .el-form-item__content {
|
|
237
|
+
.m-fields-table-wrap.fixed > .el-form-item__content {
|
|
229
238
|
z-index: 101;
|
|
230
239
|
position: relative;
|
|
231
240
|
margin: 10vh auto;
|
|
232
241
|
max-width: fit-content;
|
|
233
242
|
}
|
|
234
|
-
.m-fields-table.fixed table {
|
|
243
|
+
.m-fields-table-wrap.fixed table {
|
|
235
244
|
width: 95vw !important;
|
|
236
245
|
}
|
|
246
|
+
|
|
247
|
+
.m-fields-table {
|
|
248
|
+
width: 100%;
|
|
249
|
+
}
|
|
237
250
|
.m-fields-table th {
|
|
238
251
|
background-color: #f2f2f2 !important;
|
|
239
252
|
color: #333 !important;
|