qidian-vue-ui 2.7.1 → 2.7.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.
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
.qd-form--small[data-v-
|
|
1
|
+
.qd-form--small[data-v-21fd541b] {
|
|
2
2
|
font: var(--td-font-body-small);
|
|
3
3
|
}
|
|
4
|
-
.qd-form--small[data-v-
|
|
4
|
+
.qd-form--small[data-v-21fd541b] .t-form__label--top {
|
|
5
5
|
min-height: var(--td-comp-margin-xxl);
|
|
6
6
|
line-height: var(--td-comp-margin-xxl);
|
|
7
7
|
}
|
|
8
|
-
.qd-form--small[data-v-
|
|
9
|
-
.qd-form--small[data-v-
|
|
8
|
+
.qd-form--small[data-v-21fd541b] .t-form__controls,
|
|
9
|
+
.qd-form--small[data-v-21fd541b] .t-form__controls-content {
|
|
10
10
|
min-height: var(--td-comp-margin-xxl);
|
|
11
11
|
}
|
|
12
|
-
.qd-form--descriptions[data-v-
|
|
12
|
+
.qd-form--descriptions[data-v-21fd541b] .qd-grid {
|
|
13
13
|
border: 1px solid var(--td-component-border);
|
|
14
14
|
background-color: var(--td-component-border);
|
|
15
15
|
gap: 1px !important;
|
|
16
16
|
overflow: hidden;
|
|
17
17
|
}
|
|
18
|
-
.qd-form--descriptions[data-v-
|
|
18
|
+
.qd-form--descriptions[data-v-21fd541b] .qd-grid-item {
|
|
19
19
|
background-color: var(--td-bg-color-container);
|
|
20
20
|
}
|
|
21
|
-
.qd-form--descriptions[data-v-
|
|
21
|
+
.qd-form--descriptions[data-v-21fd541b] .t-form__item {
|
|
22
22
|
display: flex;
|
|
23
23
|
align-items: stretch;
|
|
24
24
|
height: 100%;
|
|
25
25
|
margin-bottom: 0 !important;
|
|
26
26
|
}
|
|
27
|
-
.qd-form--descriptions[data-v-
|
|
27
|
+
.qd-form--descriptions[data-v-21fd541b] .t-form__label {
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
30
|
justify-content: center;
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
height: 100%;
|
|
34
34
|
min-height: var(--td-comp-margin-xxl);
|
|
35
35
|
}
|
|
36
|
-
.qd-form--descriptions[data-v-
|
|
36
|
+
.qd-form--descriptions[data-v-21fd541b] .t-form__label--top {
|
|
37
37
|
border-bottom: 1px solid var(--td-component-border);
|
|
38
38
|
align-items: center;
|
|
39
39
|
height: var(--qd-form-description-label-height, auto);
|
|
40
40
|
white-space: normal;
|
|
41
41
|
}
|
|
42
|
-
.qd-form--descriptions[data-v-
|
|
42
|
+
.qd-form--descriptions[data-v-21fd541b] .t-form__label--top + .t-form__controls > .t-form__controls-content {
|
|
43
43
|
justify-content: center;
|
|
44
44
|
text-align: center;
|
|
45
45
|
}
|
|
46
|
-
.qd-form--descriptions[data-v-
|
|
46
|
+
.qd-form--descriptions[data-v-21fd541b] .t-form__controls {
|
|
47
47
|
flex: 1 1 0;
|
|
48
48
|
overflow: hidden;
|
|
49
49
|
display: flex;
|
|
@@ -54,43 +54,44 @@
|
|
|
54
54
|
height: 100%;
|
|
55
55
|
min-height: var(--td-comp-margin-xxl);
|
|
56
56
|
}
|
|
57
|
-
.qd-form--descriptions[data-v-
|
|
57
|
+
.qd-form--descriptions[data-v-21fd541b] .t-form__controls-content {
|
|
58
58
|
min-height: auto;
|
|
59
59
|
}
|
|
60
|
-
.qd-form--descriptions[data-v-
|
|
60
|
+
.qd-form--descriptions[data-v-21fd541b] .qd-form-item--label-top {
|
|
61
61
|
display: grid;
|
|
62
62
|
grid-template-rows: auto minmax(min-content, 1fr);
|
|
63
63
|
grid-row: span 2 !important;
|
|
64
64
|
}
|
|
65
|
-
.qd-form--descriptions[data-v-
|
|
65
|
+
.qd-form--descriptions[data-v-21fd541b] .qd-form-item--label-top > .t-form__item {
|
|
66
66
|
display: contents;
|
|
67
67
|
}
|
|
68
|
-
.qd-form--descriptions[data-v-
|
|
68
|
+
.qd-form--descriptions[data-v-21fd541b] .qd-form-item--label-top .t-form__controls-content {
|
|
69
69
|
white-space: normal;
|
|
70
70
|
}
|
|
71
|
-
.qd-form--descriptions[data-v-
|
|
71
|
+
.qd-form--descriptions[data-v-21fd541b] .qd-form-item--empty-content .t-form__controls {
|
|
72
72
|
padding: 0 !important;
|
|
73
73
|
min-height: 0;
|
|
74
74
|
height: 0;
|
|
75
75
|
overflow: hidden;
|
|
76
76
|
}
|
|
77
|
-
.qd-form--descriptions[data-v-
|
|
78
|
-
.qd-form--descriptions[data-v-
|
|
77
|
+
.qd-form--descriptions[data-v-21fd541b] .t-form__item-with-extra .t-form__controls,
|
|
78
|
+
.qd-form--descriptions[data-v-21fd541b] .t-form__item-with-help .t-form__controls {
|
|
79
79
|
height: auto;
|
|
80
80
|
overflow: visible;
|
|
81
81
|
}
|
|
82
|
-
.qd-form--descriptions[data-v-
|
|
83
|
-
.qd-form--descriptions[data-v-
|
|
82
|
+
.qd-form--descriptions[data-v-21fd541b] .t-form__item-with-extra .t-input__extra,
|
|
83
|
+
.qd-form--descriptions[data-v-21fd541b] .t-form__item-with-help .t-input__extra {
|
|
84
84
|
position: static;
|
|
85
85
|
}
|
|
86
|
-
.qd-form--descriptions[data-v-
|
|
86
|
+
.qd-form--descriptions[data-v-21fd541b] .qd-form-item:not(.qd-form-item--label-top):not(.qd-form-item--label-width-full) .t-form__label {
|
|
87
87
|
border-right: 1px solid var(--td-component-border);
|
|
88
88
|
}
|
|
89
|
-
.qd-form--descriptions[data-v-
|
|
89
|
+
.qd-form--descriptions[data-v-21fd541b] .qd-form-item--filler,
|
|
90
|
+
.qd-form--descriptions[data-v-21fd541b] .qd-grid-item--fill {
|
|
90
91
|
background-color: var(--td-bg-color-secondarycontainer);
|
|
91
92
|
}
|
|
92
|
-
.qd-form--descriptions-mini[data-v-
|
|
93
|
-
.qd-form--descriptions-mini[data-v-
|
|
93
|
+
.qd-form--descriptions-mini[data-v-21fd541b] .t-form__label,
|
|
94
|
+
.qd-form--descriptions-mini[data-v-21fd541b] .t-form__controls {
|
|
94
95
|
padding: var(--td-comp-paddingTB-xxs) var(--td-comp-paddingLR-xxs);
|
|
95
96
|
font: var(--td-font-body-small);
|
|
96
97
|
}
|
|
@@ -2,7 +2,7 @@ import './index.css'
|
|
|
2
2
|
import _sfc_main from "./index.vue2.mjs";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const QdForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const QdForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-21fd541b"]]);
|
|
6
6
|
export {
|
|
7
7
|
QdForm as default
|
|
8
8
|
};
|
|
@@ -2,7 +2,7 @@ import './item.css'
|
|
|
2
2
|
import _sfc_main from "./item.vue2.mjs";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const QdGridItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const QdGridItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-37280388"]]);
|
|
6
6
|
export {
|
|
7
7
|
QdGridItem as default
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './item.css'
|
|
2
|
-
import { defineComponent, inject, ref, computed, createElementBlock, openBlock, normalizeStyle, renderSlot } from "vue";
|
|
2
|
+
import { defineComponent, inject, ref, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, renderSlot } from "vue";
|
|
3
3
|
import { useUICsl } from "../../utils/tools.mjs";
|
|
4
4
|
import { PROVIDE_GRID_ITEM_PROPS_KEY, PROVIDE_GRID_WIDTH_KEY, DEFAULT_GRID_WIDTH, PROVIDE_GRID_COLUMNS_KEY, DEFAULT_COLUMNS, PROVIDE_GRID_REGISTER_ITEM, PROVIDE_GRID_REGISTRY_KEY, DEFAULT_COL, DEFAULT_ROW } from "./config.mjs";
|
|
5
5
|
import { mergeGridValue, computeFillSpan, resolveGridSpan } from "./utils.mjs";
|
|
@@ -27,6 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
col: mergeGridValue(props.col, defaultProps?.value?.col),
|
|
28
28
|
row: mergeGridValue(props.row, defaultProps?.value?.row)
|
|
29
29
|
}));
|
|
30
|
+
const isFill = computed(() => reProps.value.col === "fill");
|
|
30
31
|
const fillColSpan = computed(() => {
|
|
31
32
|
const index = gridItemRegistry.value.indexOf(entry);
|
|
32
33
|
if (index === -1) return DEFAULT_COL;
|
|
@@ -59,11 +60,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
59
60
|
}
|
|
60
61
|
return (_ctx, _cache) => {
|
|
61
62
|
return openBlock(), createElementBlock("div", {
|
|
62
|
-
class: "qd-grid-item",
|
|
63
|
+
class: normalizeClass(["qd-grid-item", { "qd-grid-item--fill": isFill.value }]),
|
|
63
64
|
style: normalizeStyle(itemStyle.value)
|
|
64
65
|
}, [
|
|
65
66
|
renderSlot(_ctx.$slots, "default", { itemStyle: itemStyle.value }, void 0, true)
|
|
66
|
-
],
|
|
67
|
+
], 6);
|
|
67
68
|
};
|
|
68
69
|
}
|
|
69
70
|
});
|