qidian-vue-ui 2.2.0 → 2.2.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,31 +1,31 @@
1
- .qd-columns-controller__title[data-v-05c96c72] {
1
+ .qd-columns-controller__title[data-v-ec921dfa] {
2
2
  display: flex;
3
3
  align-items: center;
4
4
  }
5
- .qd-columns-controller__drag[data-v-05c96c72] {
5
+ .qd-columns-controller__drag[data-v-ec921dfa] {
6
6
  cursor: move;
7
7
  margin-right: var(--td-comp-margin-m);
8
8
  }
9
- .qd-columns-controller__ghost[data-v-05c96c72] {
9
+ .qd-columns-controller__ghost[data-v-ec921dfa] {
10
10
  opacity: 0.5;
11
11
  background: var(--td-brand-color-light);
12
12
  }
13
- .qd-columns-controller__chosen[data-v-05c96c72] {
13
+ .qd-columns-controller__chosen[data-v-ec921dfa] {
14
14
  background: var(--td-brand-color-light-hover);
15
15
  }
16
- .qd-columns-controller__width-input[data-v-05c96c72] {
16
+ .qd-columns-controller__width-input[data-v-ec921dfa] {
17
17
  width: 100%;
18
18
  }
19
- .qd-columns-controller__help[data-v-05c96c72] {
19
+ .qd-columns-controller__help[data-v-ec921dfa] {
20
20
  font-size: var(--td-font-size-title-large);
21
21
  }
22
- .qd-columns-controller__footer[data-v-05c96c72] {
22
+ .qd-columns-controller__footer[data-v-ec921dfa] {
23
23
  width: 100%;
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  align-items: center;
27
27
  }
28
- .qd-columns-controller__footer-actions[data-v-05c96c72] {
28
+ .qd-columns-controller__footer-actions[data-v-ec921dfa] {
29
29
  flex: 1 1 0;
30
30
  overflow: hidden;
31
31
  }
@@ -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 QdColumnsController = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-05c96c72"]]);
5
+ const QdColumnsController = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ec921dfa"]]);
6
6
  export {
7
7
  QdColumnsController as default
8
8
  };
@@ -254,7 +254,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
254
254
  modelValue: row.width,
255
255
  "onUpdate:modelValue": ($event) => row.width = $event,
256
256
  min: 50,
257
- max: 1e3,
258
257
  step: 10,
259
258
  suffix: "px",
260
259
  placeholder: "auto"
@@ -1,6 +1,6 @@
1
1
  export declare const qdInputNumberProps: {
2
2
  readonly allowInputOverLimit: false;
3
- readonly theme: "column";
3
+ readonly theme: "normal";
4
4
  readonly status: "default";
5
5
  readonly step: 1;
6
6
  readonly max: number;
@@ -1,6 +1,6 @@
1
1
  const qdInputNumberProps = {
2
2
  allowInputOverLimit: false,
3
- theme: "column",
3
+ theme: "normal",
4
4
  status: "default",
5
5
  step: 1,
6
6
  max: Infinity,
@@ -1,103 +1,103 @@
1
- .qd-service-table[data-v-292a95af] {
1
+ .qd-service-table[data-v-727644f8] {
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  }
6
- .qd-service-table[data-v-292a95af] > .t-table__content {
6
+ .qd-service-table[data-v-727644f8] > .t-table__content {
7
7
  flex: 1;
8
8
  }
9
- .qd-service-table--mini[data-v-292a95af] {
9
+ .qd-service-table--mini[data-v-727644f8] {
10
10
  font: var(--td-font-body-small);
11
11
  }
12
- .qd-service-table--mini[data-v-292a95af] th,
13
- .qd-service-table--mini[data-v-292a95af] tr:not(.t-table__expanded-row) > td {
12
+ .qd-service-table--mini[data-v-727644f8] th,
13
+ .qd-service-table--mini[data-v-727644f8] tr:not(.t-table__expanded-row) > td {
14
14
  padding: var(--td-comp-paddingTB-xxs) var(--td-comp-paddingLR-xxs);
15
15
  line-height: var(--td-line-height-body-small);
16
16
  }
17
- .qd-service-table--mini[data-v-292a95af] .t-table__row-full-element {
17
+ .qd-service-table--mini[data-v-727644f8] .t-table__row-full-element {
18
18
  padding: var(--td-comp-paddingTB-xs) var(--td-comp-paddingLR-s);
19
19
  }
20
- .qd-service-table--hide-empty-image[data-v-292a95af] .t-table__empty {
20
+ .qd-service-table--hide-empty-image[data-v-727644f8] .t-table__empty {
21
21
  min-height: auto;
22
22
  }
23
- .qd-service-table--hide-empty-image[data-v-292a95af] .t-table__empty .t-empty {
23
+ .qd-service-table--hide-empty-image[data-v-727644f8] .t-table__empty .t-empty {
24
24
  padding: 0 !important;
25
25
  }
26
- .qd-service-table--hide-empty-image[data-v-292a95af] .t-table__empty .t-empty__image {
26
+ .qd-service-table--hide-empty-image[data-v-727644f8] .t-table__empty .t-empty__image {
27
27
  display: none;
28
28
  }
29
- .qd-service-table--hide-empty-image[data-v-292a95af] .t-table__empty .t-empty__title {
29
+ .qd-service-table--hide-empty-image[data-v-727644f8] .t-table__empty .t-empty__title {
30
30
  margin-top: 0;
31
31
  }
32
- .qd-service-table[data-v-292a95af] .t-table__tree-col:not(:has(.t-table__tree-op-icon)) {
32
+ .qd-service-table[data-v-727644f8] .t-table__tree-col:not(:has(.t-table__tree-op-icon)) {
33
33
  margin-left: calc(var(--td-font-size-body-large) + var(--td-comp-margin-s));
34
34
  }
35
- .qd-service-table[data-v-292a95af] .t-table__tree-leaf-node .t-table__tree-op-icon:empty {
35
+ .qd-service-table[data-v-727644f8] .t-table__tree-leaf-node .t-table__tree-op-icon:empty {
36
36
  width: calc(var(--td-font-size-body-large) + var(--td-comp-margin-s));
37
37
  }
38
- .qd-service-table[data-v-292a95af] .t-affix > .t-table__affixed-header-elm-wrap,
39
- .qd-service-table[data-v-292a95af] .t-affix > .t-table__scrollbar--obvious {
40
- transform: var(--v7219c75d);
38
+ .qd-service-table[data-v-727644f8] .t-affix > .t-table__affixed-header-elm-wrap,
39
+ .qd-service-table[data-v-727644f8] .t-affix > .t-table__scrollbar--obvious {
40
+ transform: var(--v71708a72);
41
41
  }
42
- .qd-service-table--horizontal-bar-static[data-v-292a95af] .t-table__scrollbar--obvious {
42
+ .qd-service-table--horizontal-bar-static[data-v-727644f8] .t-table__scrollbar--obvious {
43
43
  visibility: hidden;
44
44
  pointer-events: none;
45
45
  }
46
- .qd-service-table--horizontal-bar-static[data-v-292a95af] > div:has(> div > .t-table__scrollbar--obvious) {
46
+ .qd-service-table--horizontal-bar-static[data-v-727644f8] > div:has(> div > .t-table__scrollbar--obvious) {
47
47
  height: 0;
48
48
  margin-top: 0 !important;
49
49
  overflow: hidden;
50
50
  }
51
- .qd-service-table[data-v-292a95af] .t-table__expanded-row .qd-service-table--horizontal-bar-static > div:has(> div > .t-table__scrollbar--obvious) {
51
+ .qd-service-table[data-v-727644f8] .t-table__expanded-row .qd-service-table--horizontal-bar-static > div:has(> div > .t-table__scrollbar--obvious) {
52
52
  display: none;
53
53
  }
54
- .qd-service-table[data-v-292a95af] .t-table__expanded-row > td {
54
+ .qd-service-table[data-v-727644f8] .t-table__expanded-row > td {
55
55
  height: 0;
56
56
  }
57
- .qd-service-table[data-v-292a95af] .t-table__affixed-header-elm-wrap {
57
+ .qd-service-table[data-v-727644f8] .t-table__affixed-header-elm-wrap {
58
58
  height: auto !important;
59
59
  }
60
- .qd-service-table[data-v-292a95af] .t-table__affixed-header-elm {
60
+ .qd-service-table[data-v-727644f8] .t-table__affixed-header-elm {
61
61
  position: relative;
62
62
  scrollbar-width: none;
63
63
  }
64
- .qd-service-table[data-v-292a95af] .t-table__affixed-header-elm::-webkit-scrollbar {
64
+ .qd-service-table[data-v-727644f8] .t-table__affixed-header-elm::-webkit-scrollbar {
65
65
  display: none;
66
66
  width: 0;
67
67
  height: 0;
68
68
  }
69
- .qd-service-table[data-v-292a95af] .t-table__virtual-scroll-cursor + table {
69
+ .qd-service-table[data-v-727644f8] .t-table__virtual-scroll-cursor + table {
70
70
  border-collapse: separate;
71
71
  }
72
- .qd-service-table[data-v-292a95af] .t-table__expanded-row-inner,
73
- .qd-service-table[data-v-292a95af] .t-table__row-filter-inner {
72
+ .qd-service-table[data-v-727644f8] .t-table__expanded-row-inner,
73
+ .qd-service-table[data-v-727644f8] .t-table__row-filter-inner {
74
74
  display: block;
75
75
  position: sticky;
76
76
  left: 0;
77
- width: var(--ddf7efdc) !important;
77
+ width: var(--v05c80232) !important;
78
78
  }
79
- .qd-service-table[data-v-292a95af] .t-table__cell-wrap > .t-form__controls > .t-form__controls-content > *:not(.t-switch):not(.t-tag):not(.t-icon):not(.qd-file-icon) {
79
+ .qd-service-table[data-v-727644f8] .t-table__cell-wrap > .t-form__controls > .t-form__controls-content > *:not(.t-switch):not(.t-tag):not(.t-icon):not(.qd-file-icon) {
80
80
  width: 100%;
81
81
  }
82
- .qd-service-table[data-v-292a95af] .qd-service-table__non-editable-col {
82
+ .qd-service-table[data-v-727644f8] .qd-service-table__non-editable-col {
83
83
  background-color: color-mix(in srgb, var(--td-bg-color-component) 50%, transparent);
84
84
  }
85
- .qd-service-table[data-v-292a95af] td.qd-service-table__selected-cell {
85
+ .qd-service-table[data-v-727644f8] td.qd-service-table__selected-cell {
86
86
  box-shadow: inset 0 1px 0 0 var(--qst-sel-t, transparent), inset 0 -1px 0 0 var(--qst-sel-b, transparent), inset 1px 0 0 0 var(--qst-sel-l, transparent), inset -1px 0 0 0 var(--qst-sel-r, transparent);
87
87
  }
88
- .qd-service-table[data-v-292a95af] .qd-service-table__selected-bt {
88
+ .qd-service-table[data-v-727644f8] .qd-service-table__selected-bt {
89
89
  --qst-sel-t: var(--td-brand-color);
90
90
  }
91
- .qd-service-table[data-v-292a95af] .qd-service-table__selected-bb {
91
+ .qd-service-table[data-v-727644f8] .qd-service-table__selected-bb {
92
92
  --qst-sel-b: var(--td-brand-color);
93
93
  }
94
- .qd-service-table[data-v-292a95af] .qd-service-table__selected-bl {
94
+ .qd-service-table[data-v-727644f8] .qd-service-table__selected-bl {
95
95
  --qst-sel-l: var(--td-brand-color);
96
96
  }
97
- .qd-service-table[data-v-292a95af] .qd-service-table__selected-br {
97
+ .qd-service-table[data-v-727644f8] .qd-service-table__selected-br {
98
98
  --qst-sel-r: var(--td-brand-color);
99
99
  }
100
- .qd-service-table[data-v-292a95af] td.qd-service-table__copied-cell {
100
+ .qd-service-table[data-v-727644f8] td.qd-service-table__copied-cell {
101
101
  background-image: var(--qst-copy-t, none), var(--qst-copy-b, none), var(--qst-copy-l, none), var(--qst-copy-r, none);
102
102
  background-size: 8px 1px,
103
103
  8px 1px,
@@ -108,134 +108,134 @@
108
108
  0 0,
109
109
  100% 0;
110
110
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
111
- animation: qst-cell-ants-292a95af 0.5s linear infinite;
111
+ animation: qst-cell-ants-727644f8 0.5s linear infinite;
112
112
  }
113
- .qd-service-table[data-v-292a95af] td.qd-service-table__copied-cell.qd-service-table__selected-cell {
113
+ .qd-service-table[data-v-727644f8] td.qd-service-table__copied-cell.qd-service-table__selected-cell {
114
114
  background-size: 8px 2px,
115
115
  8px 2px,
116
116
  2px 8px,
117
117
  2px 8px;
118
118
  }
119
- .qd-service-table[data-v-292a95af] .qd-service-table__copied-bt {
119
+ .qd-service-table[data-v-727644f8] .qd-service-table__copied-bt {
120
120
  --qst-copy-t: linear-gradient(90deg, var(--td-brand-color-hover) 50%, transparent 0);
121
121
  }
122
- .qd-service-table[data-v-292a95af] .qd-service-table__copied-bb {
122
+ .qd-service-table[data-v-727644f8] .qd-service-table__copied-bb {
123
123
  --qst-copy-b: linear-gradient(90deg, var(--td-brand-color-hover) 50%, transparent 0);
124
124
  }
125
- .qd-service-table[data-v-292a95af] .qd-service-table__copied-bl {
125
+ .qd-service-table[data-v-727644f8] .qd-service-table__copied-bl {
126
126
  --qst-copy-l: linear-gradient(0deg, var(--td-brand-color-hover) 50%, transparent 0);
127
127
  }
128
- .qd-service-table[data-v-292a95af] .qd-service-table__copied-br {
128
+ .qd-service-table[data-v-727644f8] .qd-service-table__copied-br {
129
129
  --qst-copy-r: linear-gradient(0deg, var(--td-brand-color-hover) 50%, transparent 0);
130
130
  }
131
- .qd-service-table[data-v-292a95af] tbody > tr.t-table__row--active {
131
+ .qd-service-table[data-v-727644f8] tbody > tr.t-table__row--active {
132
132
  background-color: var(--td-brand-color-light);
133
133
  }
134
- .qd-service-table[data-v-292a95af] tbody > tr.t-table__row--active.t-table__row--hover,
135
- .qd-service-table[data-v-292a95af] tbody > tr.t-table__row--active:hover {
134
+ .qd-service-table[data-v-727644f8] tbody > tr.t-table__row--active.t-table__row--hover,
135
+ .qd-service-table[data-v-727644f8] tbody > tr.t-table__row--active:hover {
136
136
  background-color: var(--td-brand-color-light-hover);
137
137
  }
138
- .qd-service-table[data-v-292a95af] .qd-service-table__non-editable-col:not(.qd-service-table__copied-cell):is(
138
+ .qd-service-table[data-v-727644f8] .qd-service-table__non-editable-col:not(.qd-service-table__copied-cell):is(
139
139
  .t-table__cell--fixed-left,
140
140
  .t-table__cell--fixed-right
141
141
  ) {
142
142
  background-color: inherit;
143
143
  background-image: linear-gradient(color-mix(in srgb, var(--td-bg-color-secondarycontainer) 50%, transparent), color-mix(in srgb, var(--td-bg-color-secondarycontainer) 50%, transparent));
144
144
  }
145
- .qd-service-table--disable-horizontal-scroll[data-v-292a95af] colgroup > col {
145
+ .qd-service-table--disable-horizontal-scroll[data-v-727644f8] colgroup > col {
146
146
  width: auto !important;
147
147
  }
148
- .qd-service-table--cell-drag-selecting[data-v-292a95af] {
148
+ .qd-service-table--cell-drag-selecting[data-v-727644f8] {
149
149
  cursor: crosshair;
150
150
  }
151
- .qd-service-table--cell-drag-selecting[data-v-292a95af] td {
151
+ .qd-service-table--cell-drag-selecting[data-v-727644f8] td {
152
152
  cursor: crosshair;
153
153
  }
154
- .qd-service-table[data-v-292a95af] .t-table__filter-pop-content-inner {
154
+ .qd-service-table[data-v-727644f8] .t-table__filter-pop-content-inner {
155
155
  padding: var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-s) 0;
156
156
  }
157
- .qd-service-table[data-v-292a95af] .t-table__filter-pop-content-inner:has(.qd-service-table-filter-item) {
157
+ .qd-service-table[data-v-727644f8] .t-table__filter-pop-content-inner:has(.qd-service-table-filter-item) {
158
158
  padding: 0;
159
159
  }
160
- .qd-service-table[data-v-292a95af] .t-table__filter-pop-content-inner:has(
160
+ .qd-service-table[data-v-727644f8] .t-table__filter-pop-content-inner:has(
161
161
  .qd-service-table-filter-input,
162
162
  .qd-service-table-filter-custom
163
163
  ) {
164
164
  padding-bottom: var(--td-comp-paddingTB-s);
165
165
  }
166
- .qd-service-table[data-v-292a95af] .t-table__filter--bottom-buttons {
166
+ .qd-service-table[data-v-727644f8] .t-table__filter--bottom-buttons {
167
167
  padding: var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-s);
168
168
  }
169
- .qd-service-table--mini[data-v-292a95af] .t-table__filter-pop-content-inner {
169
+ .qd-service-table--mini[data-v-727644f8] .t-table__filter-pop-content-inner {
170
170
  padding: var(--td-comp-paddingTB-xs) var(--td-comp-paddingLR-xs) 0;
171
171
  }
172
- .qd-service-table--mini[data-v-292a95af] .t-table__filter--bottom-buttons {
172
+ .qd-service-table--mini[data-v-727644f8] .t-table__filter--bottom-buttons {
173
173
  padding: var(--td-comp-paddingTB-xs) var(--td-comp-paddingLR-xs);
174
174
  }
175
- .qd-service-table--mini[data-v-292a95af] .t-table__filter-pop-content-inner:has(.qd-service-table-filter-item) {
175
+ .qd-service-table--mini[data-v-727644f8] .t-table__filter-pop-content-inner:has(.qd-service-table-filter-item) {
176
176
  padding: 0;
177
177
  }
178
- .qd-service-table--mini[data-v-292a95af] .t-table__filter-pop-content-inner:has(
178
+ .qd-service-table--mini[data-v-727644f8] .t-table__filter-pop-content-inner:has(
179
179
  .qd-service-table-filter-input,
180
180
  .qd-service-table-filter-custom
181
181
  ) {
182
182
  padding-bottom: var(--td-comp-paddingTB-xs);
183
183
  }
184
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item {
184
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item {
185
185
  width: 266px;
186
186
  }
187
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item__search,
188
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item__all,
189
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item__options {
187
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item__search,
188
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item__all,
189
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item__options {
190
190
  padding: var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-s) 0;
191
191
  }
192
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item__all {
192
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item__all {
193
193
  display: flex;
194
194
  align-items: center;
195
195
  padding: 0 var(--td-comp-paddingLR-s);
196
196
  border-bottom: 1px solid var(--td-component-stroke);
197
197
  }
198
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item__options {
198
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item__options {
199
199
  display: flex;
200
200
  flex-direction: column;
201
201
  height: 206px;
202
202
  padding: 0 var(--td-comp-paddingLR-s);
203
203
  overflow-y: auto;
204
204
  }
205
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item__count {
205
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item__count {
206
206
  margin-left: var(--td-comp-margin-xs);
207
207
  color: var(--td-text-color-placeholder);
208
208
  }
209
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item__cell {
209
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item__cell {
210
210
  pointer-events: none;
211
211
  }
212
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item .t-checkbox,
213
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item .t-radio {
212
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item .t-checkbox,
213
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item .t-radio {
214
214
  display: flex;
215
215
  align-items: center;
216
216
  }
217
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item .t-checkbox__label,
218
- .qd-service-table[data-v-292a95af] .qd-service-table-filter-item .t-radio__label {
217
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item .t-checkbox__label,
218
+ .qd-service-table[data-v-727644f8] .qd-service-table-filter-item .t-radio__label {
219
219
  display: inline-flex;
220
220
  flex: 1 1 0;
221
221
  align-items: center;
222
222
  min-width: 0;
223
223
  overflow: hidden;
224
224
  }
225
- .qd-service-table--mini[data-v-292a95af] .qd-service-table-filter-item__search {
225
+ .qd-service-table--mini[data-v-727644f8] .qd-service-table-filter-item__search {
226
226
  padding: var(--td-comp-paddingTB-xs) var(--td-comp-paddingLR-xs) 0;
227
227
  }
228
- .qd-service-table--mini[data-v-292a95af] .qd-service-table-filter-item__all,
229
- .qd-service-table--mini[data-v-292a95af] .qd-service-table-filter-item__options {
228
+ .qd-service-table--mini[data-v-727644f8] .qd-service-table-filter-item__all,
229
+ .qd-service-table--mini[data-v-727644f8] .qd-service-table-filter-item__options {
230
230
  padding: 0 var(--td-comp-paddingLR-xs);
231
231
  }
232
- @keyframes qst-cell-ants-292a95af {
232
+ @keyframes qst-cell-ants-727644f8 {
233
233
  to {
234
234
  background-position: 8px 0, -8px 100%, 0 -8px, 100% 8px;
235
235
  }
236
236
  }
237
237
  @media (prefers-reduced-motion: reduce) {
238
- [data-v-292a95af] td.qd-service-table__copied-cell {
238
+ [data-v-727644f8] td.qd-service-table__copied-cell {
239
239
  animation: none;
240
240
  }
241
241
  }
@@ -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 QdServiceTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-292a95af"]]);
5
+ const QdServiceTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-727644f8"]]);
6
6
  export {
7
7
  QdServiceTable as default
8
8
  };
@@ -363,8 +363,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
363
363
  emit: __emit
364
364
  }) {
365
365
  useCssVars((_ctx) => ({
366
- "v7219c75d": affixedHeaderTransform.value,
367
- "ddf7efdc": expandedRowWidth.value
366
+ "v71708a72": affixedHeaderTransform.value,
367
+ "v05c80232": expandedRowWidth.value
368
368
  }));
369
369
  const props = __props;
370
370
  const emit = __emit;
@@ -714,7 +714,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
714
714
  onSelectChange?.(value, context);
715
715
  };
716
716
  reTableOptions.onColumnResizeChange = (context) => {
717
- if (props.widthCompensation) applyResizedWidthsToStore(context.columnsWidth);
717
+ if (props.widthCompensation) {
718
+ const prevWidths = {};
719
+ autoWidthColumns.value?.forEach((col) => {
720
+ const width = Number(col.width);
721
+ if (Number.isFinite(width)) prevWidths[col.colKey] = width;
722
+ });
723
+ applyResizedWidthsToStore(context.columnsWidth, prevWidths);
724
+ }
718
725
  onColumnResizeChange?.(context);
719
726
  };
720
727
  reTableOptions.onValidate = (context) => {
@@ -1039,7 +1046,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1039
1046
  if (!props.widthCompensation) return adaptedColumns.value;
1040
1047
  return mergeColumnsWithCache(adaptedColumns.value, widthCompensationStore.value.columns);
1041
1048
  });
1042
- function applyResizedWidthsToStore(columnsWidth) {
1049
+ function applyResizedWidthsToStore(columnsWidth, prevWidths) {
1043
1050
  const store = widthCompensationStore.value;
1044
1051
  let hasChanged = false;
1045
1052
  const columns = mergeColumnsWithCache(adaptedColumns.value, store.columns).map((col) => {
@@ -1051,11 +1058,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1051
1058
  fixed: col.fixed
1052
1059
  };
1053
1060
  const width = columnsWidth[col.colKey];
1054
- if (width === void 0 || col.width === width) return reCol;
1061
+ const prev = prevWidths[col.colKey];
1062
+ if (width === void 0 || prev === void 0 || Math.abs(width - prev) < 0.5) return reCol;
1055
1063
  hasChanged = true;
1056
- reCol.width = width;
1057
- reCol.minWidth = void 0;
1058
- return reCol;
1064
+ return {
1065
+ ...reCol,
1066
+ width,
1067
+ minWidth: void 0
1068
+ };
1059
1069
  });
1060
1070
  if (hasChanged) widthCompensationStore.value = {
1061
1071
  ...store,
@@ -2801,6 +2811,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2801
2811
  } = column;
2802
2812
  const reColumn = {
2803
2813
  ...tableColumn,
2814
+ // 解除 TDesign 默认 600px 拖拽上限;业务显式配置仍优先生效
2815
+ // minWidth 80 与 TDesign DEFAULT_MIN_WIDTH 一致,仅满足类型必填
2816
+ resize: {
2817
+ minWidth: 80,
2818
+ maxWidth: Number.MAX_SAFE_INTEGER,
2819
+ ...tableColumn.resize
2820
+ },
2804
2821
  ...!tableReadonly.value && edit ? {
2805
2822
  edit
2806
2823
  } : {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qidian-vue-ui",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "基于 TDesign 的 QiDian Vue UI 组件库",
5
5
  "author": "qidian",
6
6
  "license": "MIT",