qidian-vue-ui 2.8.9 → 2.8.10

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-13cb7428] {
1
+ .qd-form--small[data-v-27922732] {
2
2
  font: var(--td-font-body-small);
3
3
  }
4
- .qd-form--small[data-v-13cb7428] .t-form__label--top {
4
+ .qd-form--small[data-v-27922732] .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-13cb7428] .t-form__controls,
9
- .qd-form--small[data-v-13cb7428] .t-form__controls-content {
8
+ .qd-form--small[data-v-27922732] .t-form__controls,
9
+ .qd-form--small[data-v-27922732] .t-form__controls-content {
10
10
  min-height: var(--td-comp-margin-xxl);
11
11
  }
12
- .qd-form--descriptions[data-v-13cb7428] .qd-grid {
12
+ .qd-form--descriptions[data-v-27922732] .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-13cb7428] .qd-grid-item {
18
+ .qd-form--descriptions[data-v-27922732] .qd-grid-item {
19
19
  background-color: var(--td-bg-color-container);
20
20
  }
21
- .qd-form--descriptions[data-v-13cb7428] .t-form__item {
21
+ .qd-form--descriptions[data-v-27922732] .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-13cb7428] .t-form__label {
27
+ .qd-form--descriptions[data-v-27922732] .t-form__label {
28
28
  display: flex;
29
29
  flex-direction: column;
30
30
  justify-content: center;
@@ -33,12 +33,12 @@
33
33
  height: 100%;
34
34
  min-height: var(--td-comp-margin-xxl);
35
35
  }
36
- .qd-form--descriptions[data-v-13cb7428] .t-form__label--top {
36
+ .qd-form--descriptions[data-v-27922732] .t-form__label--top {
37
37
  border-bottom: 1px solid var(--td-component-border);
38
38
  height: var(--qd-form-description-label-height, auto);
39
39
  white-space: normal;
40
40
  }
41
- .qd-form--descriptions[data-v-13cb7428] .t-form__controls {
41
+ .qd-form--descriptions[data-v-27922732] .t-form__controls {
42
42
  flex: 1 1 0;
43
43
  overflow: hidden;
44
44
  display: flex;
@@ -48,44 +48,44 @@
48
48
  height: 100%;
49
49
  min-height: var(--td-comp-margin-xxl);
50
50
  }
51
- .qd-form--descriptions[data-v-13cb7428] .t-form__controls-content {
51
+ .qd-form--descriptions[data-v-27922732] .t-form__controls-content {
52
52
  min-height: auto;
53
53
  }
54
- .qd-form--descriptions[data-v-13cb7428] .qd-form-item--label-top {
54
+ .qd-form--descriptions[data-v-27922732] .qd-form-item--label-top {
55
55
  display: grid;
56
56
  grid-template-rows: auto minmax(min-content, 1fr);
57
57
  grid-row: span 2 !important;
58
58
  }
59
- .qd-form--descriptions[data-v-13cb7428] .qd-form-item--label-top > .t-form__item {
59
+ .qd-form--descriptions[data-v-27922732] .qd-form-item--label-top > .t-form__item {
60
60
  display: contents;
61
61
  }
62
- .qd-form--descriptions[data-v-13cb7428] .qd-form-item--label-top .t-form__controls-content {
62
+ .qd-form--descriptions[data-v-27922732] .qd-form-item--label-top .t-form__controls-content {
63
63
  white-space: normal;
64
64
  }
65
- .qd-form--descriptions[data-v-13cb7428] .qd-form-item--empty-content .t-form__controls {
65
+ .qd-form--descriptions[data-v-27922732] .qd-form-item--empty-content .t-form__controls {
66
66
  padding: 0 !important;
67
67
  min-height: 0;
68
68
  height: 0;
69
69
  overflow: hidden;
70
70
  }
71
- .qd-form--descriptions[data-v-13cb7428] .t-form__item-with-extra .t-form__controls,
72
- .qd-form--descriptions[data-v-13cb7428] .t-form__item-with-help .t-form__controls {
71
+ .qd-form--descriptions[data-v-27922732] .t-form__item-with-extra .t-form__controls,
72
+ .qd-form--descriptions[data-v-27922732] .t-form__item-with-help .t-form__controls {
73
73
  height: auto;
74
74
  overflow: visible;
75
75
  }
76
- .qd-form--descriptions[data-v-13cb7428] .t-form__item-with-extra .t-input__extra,
77
- .qd-form--descriptions[data-v-13cb7428] .t-form__item-with-help .t-input__extra {
76
+ .qd-form--descriptions[data-v-27922732] .t-form__item-with-extra .t-input__extra,
77
+ .qd-form--descriptions[data-v-27922732] .t-form__item-with-help .t-input__extra {
78
78
  position: static;
79
79
  }
80
- .qd-form--descriptions[data-v-13cb7428] .qd-form-item:not(.qd-form-item--label-top):not(.qd-form-item--label-width-full) .t-form__label {
80
+ .qd-form--descriptions[data-v-27922732] .qd-form-item:not(.qd-form-item--label-top):not(.qd-form-item--label-width-full) .t-form__label {
81
81
  border-right: 1px solid var(--td-component-border);
82
82
  }
83
- .qd-form--descriptions[data-v-13cb7428] .qd-form-item--filler,
84
- .qd-form--descriptions[data-v-13cb7428] .qd-grid-item--fill {
83
+ .qd-form--descriptions[data-v-27922732] .qd-form-item--filler,
84
+ .qd-form--descriptions[data-v-27922732] .qd-grid-item--fill {
85
85
  background-color: var(--td-bg-color-secondarycontainer);
86
86
  }
87
- .qd-form--descriptions-mini[data-v-13cb7428] .t-form__label,
88
- .qd-form--descriptions-mini[data-v-13cb7428] .t-form__controls {
87
+ .qd-form--descriptions-mini[data-v-27922732] .t-form__label,
88
+ .qd-form--descriptions-mini[data-v-27922732] .t-form__controls {
89
89
  padding: var(--td-comp-paddingTB-xxs) var(--td-comp-paddingLR-xxs);
90
90
  font: var(--td-font-body-small);
91
91
  }
@@ -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-13cb7428"]]);
5
+ const QdForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-27922732"]]);
6
6
  export {
7
7
  QdForm as default
8
8
  };
@@ -394,7 +394,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
394
394
  context: unref(data),
395
395
  "default-clearable": __props.defaultClearable,
396
396
  "label-align": reProps.value.formItems?.[node.index].labelAlign ?? reProps.value.labelAlignClass,
397
- "content-align": reProps.value.formItems?.[node.index].contentAlign ?? reProps.value.contentAlign
397
+ "content-align": reProps.value.formItems?.[node.index].contentAlign ?? (reProps.value.formItems?.[node.index].labelAlign ? void 0 : reProps.value.contentAlign)
398
398
  }, { ref_for: true }, reProps.value.formItems?.[node.index], {
399
399
  "grid-index": node.index,
400
400
  size: reProps.value.formItems?.[node.index].size ?? reProps.value.itemSize
@@ -1,25 +1,25 @@
1
- .qd-form-item--content-center[data-v-f071ba7b] .t-form__controls {
1
+ .qd-form-item--content-center[data-v-7070a96d] .t-form__controls {
2
2
  text-align: center;
3
3
  justify-content: center;
4
4
  }
5
- .qd-form-item--content-center[data-v-f071ba7b] .t-form__controls-content {
5
+ .qd-form-item--content-center[data-v-7070a96d] .t-form__controls-content {
6
6
  text-align: center;
7
7
  justify-content: center;
8
8
  }
9
- .qd-form-item--content-center-top[data-v-f071ba7b] .t-form__controls-content {
9
+ .qd-form-item--content-center-top[data-v-7070a96d] .t-form__controls-content {
10
10
  text-align: center;
11
11
  justify-content: center;
12
12
  }
13
- .qd-form-item--content-left-center[data-v-f071ba7b] .t-form__controls {
13
+ .qd-form-item--content-left-center[data-v-7070a96d] .t-form__controls {
14
14
  justify-content: center;
15
15
  }
16
- .qd-form-item--label-top-center[data-v-f071ba7b] .t-form__label {
16
+ .qd-form-item--label-top-center[data-v-7070a96d] .t-form__label {
17
17
  text-align: center;
18
18
  align-items: center;
19
19
  }
20
- .qd-form-item[data-v-f071ba7b] > .t-form__item > .t-form__controls > .t-form__controls-content > *:not(.t-switch):not(.t-tag):not(.t-icon):not(.qd-file-icon) {
20
+ .qd-form-item[data-v-7070a96d] > .t-form__item > .t-form__controls > .t-form__controls-content > *:not(.t-switch):not(.t-tag):not(.t-icon):not(.qd-file-icon) {
21
21
  width: 100%;
22
22
  }
23
- .qd-form-item__component[data-v-f071ba7b]:not(.t-switch):not(.t-tag):not(.t-icon):not(.qd-file-icon) {
23
+ .qd-form-item__component[data-v-7070a96d]:not(.t-switch):not(.t-tag):not(.t-icon):not(.qd-file-icon) {
24
24
  width: 100%;
25
25
  }
@@ -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 QdFormItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f071ba7b"]]);
5
+ const QdFormItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7070a96d"]]);
6
6
  export {
7
7
  QdFormItem as default
8
8
  };
@@ -55,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
55
  () => props.labelAlign ?? injectedLabelAlign?.value
56
56
  );
57
57
  const effectiveContentAlign = computed(
58
- () => props.contentAlign ?? injectedContentAlign?.value
58
+ () => props.labelAlign ? props.contentAlign : props.contentAlign ?? injectedContentAlign?.value
59
59
  );
60
60
  const effectiveDefaultContentAlign = computed(() => {
61
61
  if (effectiveLabelAlign.value === "top-center") return "center";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qidian-vue-ui",
3
- "version": "2.8.9",
3
+ "version": "2.8.10",
4
4
  "description": "基于 TDesign 的 QiDian Vue UI 组件库",
5
5
  "author": "qidian",
6
6
  "license": "MIT",