qidian-vue-ui 2.2.5 → 2.3.1
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/components/crud/table/index.css +11 -11
- package/dist/components/crud/table/index.vue.mjs +1 -1
- package/dist/components/crud/table/index.vue2.mjs +1 -1
- package/dist/components/org/select/index.vue.mjs +16 -1
- package/dist/components/org/select/types.d.ts +2 -1
- package/dist/components/service/table/index.css +82 -74
- package/dist/components/service/table/index.vue.mjs +1 -1
- package/dist/components/service/table/index.vue2.mjs +2 -2
- package/dist/components/service/table/props.d.ts +1 -0
- package/dist/components/service/table/props.mjs +2 -1
- package/dist/components/service-select/index.css +1 -1
- package/dist/components/service-select/index.vue.mjs +1 -1
- package/dist/components/service-select/index.vue2.mjs +3 -3
- package/dist/components/upload/index.css +45 -45
- package/dist/components/upload/index.vue.mjs +1 -1
- package/dist/components/upload/index.vue2.mjs +3 -1
- package/package.json +1 -1
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
.qd-crud-table[data-v-
|
|
1
|
+
.qd-crud-table[data-v-835fbaa5] {
|
|
2
2
|
width: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
}
|
|
6
|
-
.qd-crud-table > .qd-crud-search:not(.qd-crud-search--hide) + .qd-crud-table__body[data-v-
|
|
6
|
+
.qd-crud-table > .qd-crud-search:not(.qd-crud-search--hide) + .qd-crud-table__body[data-v-835fbaa5] {
|
|
7
7
|
margin-top: var(--td-comp-margin-l);
|
|
8
8
|
}
|
|
9
|
-
.qd-crud-table__body[data-v-
|
|
9
|
+
.qd-crud-table__body[data-v-835fbaa5] > .t-loading__parent > .t-card__body {
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
}
|
|
13
|
-
.qd-crud-table__body[data-v-
|
|
13
|
+
.qd-crud-table__body[data-v-835fbaa5] > .t-loading__parent > .t-card__body > .qd-service-table .t-table__pagination {
|
|
14
14
|
padding-bottom: 0;
|
|
15
15
|
}
|
|
16
|
-
.qd-crud-table--fit-parent-height[data-v-
|
|
16
|
+
.qd-crud-table--fit-parent-height[data-v-835fbaa5] {
|
|
17
17
|
height: 100%;
|
|
18
18
|
}
|
|
19
|
-
.qd-crud-table--fit-parent-height > .qd-crud-table__body[data-v-
|
|
19
|
+
.qd-crud-table--fit-parent-height > .qd-crud-table__body[data-v-835fbaa5] {
|
|
20
20
|
flex: auto;
|
|
21
21
|
}
|
|
22
|
-
.qd-crud-table--fit-parent-height > .qd-crud-table__body[data-v-
|
|
22
|
+
.qd-crud-table--fit-parent-height > .qd-crud-table__body[data-v-835fbaa5] > .t-loading__parent > .t-card__body {
|
|
23
23
|
height: 100%;
|
|
24
24
|
min-height: 443px;
|
|
25
25
|
}
|
|
26
|
-
.qd-crud-table--fit-parent-height > .qd-crud-table__body[data-v-
|
|
26
|
+
.qd-crud-table--fit-parent-height > .qd-crud-table__body[data-v-835fbaa5] > .t-loading__parent > .t-card__body > .qd-service-table {
|
|
27
27
|
flex: 1 1 0;
|
|
28
28
|
overflow: hidden;
|
|
29
29
|
}
|
|
30
|
-
.qd-crud-table__toolbar[data-v-
|
|
30
|
+
.qd-crud-table__toolbar[data-v-835fbaa5] {
|
|
31
31
|
display: flex;
|
|
32
32
|
justify-content: space-between;
|
|
33
33
|
}
|
|
34
|
-
.qd-crud-table__toolbar--has-space-item + .qd-service-table[data-v-
|
|
34
|
+
.qd-crud-table__toolbar--has-space-item + .qd-service-table[data-v-835fbaa5] {
|
|
35
35
|
margin-top: var(--td-comp-margin-l);
|
|
36
36
|
}
|
|
37
|
-
.qd-crud-table__toolbar-separator[data-v-
|
|
37
|
+
.qd-crud-table__toolbar-separator[data-v-835fbaa5] {
|
|
38
38
|
display: inline-block;
|
|
39
39
|
padding-left: var(--td-comp-paddingLR-s);
|
|
40
40
|
}
|
|
@@ -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 QdCrudTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const QdCrudTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-835fbaa5"]]);
|
|
6
6
|
export {
|
|
7
7
|
QdCrudTable as default
|
|
8
8
|
};
|
|
@@ -1368,7 +1368,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1368
1368
|
_: 1
|
|
1369
1369
|
})]),
|
|
1370
1370
|
_: 1
|
|
1371
|
-
}, 8, ["content"])], 64)) : createCommentVNode("", true), !reProps.value.hideTreeExpand &&
|
|
1371
|
+
}, 8, ["content"])], 64)) : createCommentVNode("", true), !reProps.value.hideTreeExpand && reProps.value.serviceTableOptions.tree && !reProps.value.serviceTableOptions.tree.lazyLoad ? (openBlock(), createElementBlock(Fragment, {
|
|
1372
1372
|
key: 2
|
|
1373
1373
|
}, [_cache[14] || (_cache[14] = createElementVNode("span", {
|
|
1374
1374
|
class: "qd-crud-table__toolbar-separator"
|
|
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
__name: "index",
|
|
22
22
|
props: /* @__PURE__ */ mergeDefaults({
|
|
23
23
|
type: {},
|
|
24
|
+
filter: { type: [Function, null] },
|
|
24
25
|
showDeptName: { type: Boolean },
|
|
25
26
|
showFullDeptPath: { type: Boolean },
|
|
26
27
|
transformParams: { type: Function },
|
|
@@ -38,7 +39,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
39
|
creatable: { type: Boolean },
|
|
39
40
|
disabled: { type: Boolean },
|
|
40
41
|
empty: {},
|
|
41
|
-
filter: { type: Function },
|
|
42
42
|
filterable: { type: Boolean },
|
|
43
43
|
inputProps: {},
|
|
44
44
|
inputValue: {},
|
|
@@ -170,6 +170,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
170
170
|
if (transformParams) return transformParams(params);
|
|
171
171
|
return params;
|
|
172
172
|
};
|
|
173
|
+
if (serviceSelectOptionsMerge.filter !== null) {
|
|
174
|
+
serviceSelectOptionsMerge.filter ??= getOrgFilter(showDeptName, showFullDeptPath);
|
|
175
|
+
}
|
|
173
176
|
if (serviceSelectOptionsMerge.fillOptions) {
|
|
174
177
|
serviceSelectOptionsMerge.fillOptions = serviceSelectOptionsMerge.fillOptions.map((item) => {
|
|
175
178
|
return {
|
|
@@ -191,6 +194,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
191
194
|
}
|
|
192
195
|
};
|
|
193
196
|
});
|
|
197
|
+
function getOrgFilter(showDeptName, showFullDeptPath) {
|
|
198
|
+
return (filterWords, item) => {
|
|
199
|
+
const word = String(filterWords ?? "").trim().toLowerCase();
|
|
200
|
+
if (!word) return true;
|
|
201
|
+
const texts = [getOptionLabel(item), getOptionJobNumber(item)];
|
|
202
|
+
if (showFullDeptPath) texts.push(getOptionFullDeptPath(item).content);
|
|
203
|
+
else if (showDeptName) texts.push(getOptionDeptName(item));
|
|
204
|
+
return texts.some(
|
|
205
|
+
(text) => String(text ?? "").toLowerCase().includes(word)
|
|
206
|
+
);
|
|
207
|
+
};
|
|
208
|
+
}
|
|
194
209
|
function buildOptions(data) {
|
|
195
210
|
if (!data) return [];
|
|
196
211
|
return data.map((item) => {
|
|
@@ -5,8 +5,9 @@ export interface QdOrgSelectServiceParams {
|
|
|
5
5
|
type: QdOrgSelectType;
|
|
6
6
|
showFullDeptPath?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export interface QdOrgSelectProps<D extends SelectOption = SelectOption, R = unknown, P = QdOrgSelectServiceParams, TP = P, SK extends string | string[] = string | string[]> extends Partial<Omit<QdServiceSelectProps<D, R, P, TP, false, SK>, 'pagination' | 'transformParams' | 'keys'>> {
|
|
8
|
+
export interface QdOrgSelectProps<D extends SelectOption = SelectOption, R = unknown, P = QdOrgSelectServiceParams, TP = P, SK extends string | string[] = string | string[]> extends Partial<Omit<QdServiceSelectProps<D, R, P, TP, false, SK>, 'pagination' | 'transformParams' | 'keys' | 'filter'>> {
|
|
9
9
|
type: QdOrgSelectType;
|
|
10
|
+
filter?: QdServiceSelectProps['filter'] | null;
|
|
10
11
|
showDeptName?: boolean;
|
|
11
12
|
showFullDeptPath?: boolean;
|
|
12
13
|
transformParams?: (params: SK extends string ? {
|
|
@@ -1,103 +1,111 @@
|
|
|
1
|
-
.qd-service-table[data-v-
|
|
1
|
+
.qd-service-table[data-v-fcb881dd] {
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
}
|
|
6
|
-
.qd-service-table[data-v-
|
|
6
|
+
.qd-service-table[data-v-fcb881dd] > .t-table__content {
|
|
7
7
|
flex: 1;
|
|
8
8
|
}
|
|
9
|
-
.qd-service-table--mini[data-v-
|
|
9
|
+
.qd-service-table--mini[data-v-fcb881dd] {
|
|
10
10
|
font: var(--td-font-body-small);
|
|
11
11
|
}
|
|
12
|
-
.qd-service-table--mini[data-v-
|
|
13
|
-
.qd-service-table--mini[data-v-
|
|
12
|
+
.qd-service-table--mini[data-v-fcb881dd] th,
|
|
13
|
+
.qd-service-table--mini[data-v-fcb881dd] 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-
|
|
17
|
+
.qd-service-table--mini[data-v-fcb881dd] .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-
|
|
20
|
+
.qd-service-table--hide-empty-image[data-v-fcb881dd] .t-table__empty {
|
|
21
21
|
min-height: auto;
|
|
22
22
|
}
|
|
23
|
-
.qd-service-table--hide-empty-image[data-v-
|
|
23
|
+
.qd-service-table--hide-empty-image[data-v-fcb881dd] .t-table__empty .t-empty {
|
|
24
24
|
padding: 0 !important;
|
|
25
25
|
}
|
|
26
|
-
.qd-service-table--hide-empty-image[data-v-
|
|
26
|
+
.qd-service-table--hide-empty-image[data-v-fcb881dd] .t-table__empty .t-empty__image {
|
|
27
27
|
display: none;
|
|
28
28
|
}
|
|
29
|
-
.qd-service-table--hide-empty-image[data-v-
|
|
29
|
+
.qd-service-table--hide-empty-image[data-v-fcb881dd] .t-table__empty .t-empty__title {
|
|
30
30
|
margin-top: 0;
|
|
31
31
|
}
|
|
32
|
-
.qd-service-table[data-v-
|
|
33
|
-
|
|
32
|
+
.qd-service-table[data-v-fcb881dd] .t-table__tree-col,
|
|
33
|
+
.qd-service-table[data-v-fcb881dd] .t-table__tree-leaf-node {
|
|
34
|
+
padding-left: 0 !important;
|
|
34
35
|
}
|
|
35
|
-
.qd-service-table[data-v-
|
|
36
|
-
|
|
36
|
+
.qd-service-table[data-v-fcb881dd] .t-table__tree-col:not(:has(.t-table__tree-op-icon)) {
|
|
37
|
+
margin-left: calc(var(--td-font-size-body-large) + var(--td-tree-indent, 0px) * (var(--td-tree-level, 0) + 1));
|
|
37
38
|
}
|
|
38
|
-
.qd-service-table[data-v-
|
|
39
|
-
|
|
40
|
-
transform: var(--v71708a72);
|
|
39
|
+
.qd-service-table[data-v-fcb881dd] .t-table__tree-op-icon {
|
|
40
|
+
margin-right: calc(var(--td-tree-indent, 0px) * (var(--td-tree-level, 0) + 1));
|
|
41
41
|
}
|
|
42
|
-
.qd-service-table
|
|
42
|
+
.qd-service-table[data-v-fcb881dd] .t-table__tree-leaf-node .t-table__tree-op-icon:empty {
|
|
43
|
+
width: var(--td-font-size-body-large);
|
|
44
|
+
margin-right: calc(var(--td-tree-indent, 0px) * (var(--td-tree-level, 0) + 1));
|
|
45
|
+
}
|
|
46
|
+
.qd-service-table[data-v-fcb881dd] .t-affix > .t-table__affixed-header-elm-wrap,
|
|
47
|
+
.qd-service-table[data-v-fcb881dd] .t-affix > .t-table__scrollbar--obvious {
|
|
48
|
+
transform: var(--baf6729c);
|
|
49
|
+
}
|
|
50
|
+
.qd-service-table--horizontal-bar-static[data-v-fcb881dd] .t-table__scrollbar--obvious {
|
|
43
51
|
visibility: hidden;
|
|
44
52
|
pointer-events: none;
|
|
45
53
|
}
|
|
46
|
-
.qd-service-table--horizontal-bar-static[data-v-
|
|
54
|
+
.qd-service-table--horizontal-bar-static[data-v-fcb881dd] > div:has(> div > .t-table__scrollbar--obvious) {
|
|
47
55
|
height: 0;
|
|
48
56
|
margin-top: 0 !important;
|
|
49
57
|
overflow: hidden;
|
|
50
58
|
}
|
|
51
|
-
.qd-service-table[data-v-
|
|
59
|
+
.qd-service-table[data-v-fcb881dd] .t-table__expanded-row .qd-service-table--horizontal-bar-static > div:has(> div > .t-table__scrollbar--obvious) {
|
|
52
60
|
display: none;
|
|
53
61
|
}
|
|
54
|
-
.qd-service-table[data-v-
|
|
62
|
+
.qd-service-table[data-v-fcb881dd] .t-table__expanded-row > td {
|
|
55
63
|
height: 0;
|
|
56
64
|
}
|
|
57
|
-
.qd-service-table[data-v-
|
|
65
|
+
.qd-service-table[data-v-fcb881dd] .t-table__affixed-header-elm-wrap {
|
|
58
66
|
height: auto !important;
|
|
59
67
|
}
|
|
60
|
-
.qd-service-table[data-v-
|
|
68
|
+
.qd-service-table[data-v-fcb881dd] .t-table__affixed-header-elm {
|
|
61
69
|
position: relative;
|
|
62
70
|
scrollbar-width: none;
|
|
63
71
|
}
|
|
64
|
-
.qd-service-table[data-v-
|
|
72
|
+
.qd-service-table[data-v-fcb881dd] .t-table__affixed-header-elm::-webkit-scrollbar {
|
|
65
73
|
display: none;
|
|
66
74
|
width: 0;
|
|
67
75
|
height: 0;
|
|
68
76
|
}
|
|
69
|
-
.qd-service-table[data-v-
|
|
77
|
+
.qd-service-table[data-v-fcb881dd] .t-table__virtual-scroll-cursor + table {
|
|
70
78
|
border-collapse: separate;
|
|
71
79
|
}
|
|
72
|
-
.qd-service-table[data-v-
|
|
73
|
-
.qd-service-table[data-v-
|
|
80
|
+
.qd-service-table[data-v-fcb881dd] .t-table__expanded-row-inner,
|
|
81
|
+
.qd-service-table[data-v-fcb881dd] .t-table__row-filter-inner {
|
|
74
82
|
display: block;
|
|
75
83
|
position: sticky;
|
|
76
84
|
left: 0;
|
|
77
|
-
width: var(--
|
|
85
|
+
width: var(--v9fbb29b2) !important;
|
|
78
86
|
}
|
|
79
|
-
.qd-service-table[data-v-
|
|
87
|
+
.qd-service-table[data-v-fcb881dd] .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
88
|
width: 100%;
|
|
81
89
|
}
|
|
82
|
-
.qd-service-table[data-v-
|
|
90
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table__non-editable-col {
|
|
83
91
|
background-color: color-mix(in srgb, var(--td-bg-color-component) 50%, transparent);
|
|
84
92
|
}
|
|
85
|
-
.qd-service-table[data-v-
|
|
93
|
+
.qd-service-table[data-v-fcb881dd] td.qd-service-table__selected-cell {
|
|
86
94
|
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
95
|
}
|
|
88
|
-
.qd-service-table[data-v-
|
|
96
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table__selected-bt {
|
|
89
97
|
--qst-sel-t: var(--td-brand-color);
|
|
90
98
|
}
|
|
91
|
-
.qd-service-table[data-v-
|
|
99
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table__selected-bb {
|
|
92
100
|
--qst-sel-b: var(--td-brand-color);
|
|
93
101
|
}
|
|
94
|
-
.qd-service-table[data-v-
|
|
102
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table__selected-bl {
|
|
95
103
|
--qst-sel-l: var(--td-brand-color);
|
|
96
104
|
}
|
|
97
|
-
.qd-service-table[data-v-
|
|
105
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table__selected-br {
|
|
98
106
|
--qst-sel-r: var(--td-brand-color);
|
|
99
107
|
}
|
|
100
|
-
.qd-service-table[data-v-
|
|
108
|
+
.qd-service-table[data-v-fcb881dd] td.qd-service-table__copied-cell {
|
|
101
109
|
background-image: var(--qst-copy-t, none), var(--qst-copy-b, none), var(--qst-copy-l, none), var(--qst-copy-r, none);
|
|
102
110
|
background-size: 8px 1px,
|
|
103
111
|
8px 1px,
|
|
@@ -108,134 +116,134 @@
|
|
|
108
116
|
0 0,
|
|
109
117
|
100% 0;
|
|
110
118
|
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
|
|
111
|
-
animation: qst-cell-ants-
|
|
119
|
+
animation: qst-cell-ants-fcb881dd 0.5s linear infinite;
|
|
112
120
|
}
|
|
113
|
-
.qd-service-table[data-v-
|
|
121
|
+
.qd-service-table[data-v-fcb881dd] td.qd-service-table__copied-cell.qd-service-table__selected-cell {
|
|
114
122
|
background-size: 8px 2px,
|
|
115
123
|
8px 2px,
|
|
116
124
|
2px 8px,
|
|
117
125
|
2px 8px;
|
|
118
126
|
}
|
|
119
|
-
.qd-service-table[data-v-
|
|
127
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table__copied-bt {
|
|
120
128
|
--qst-copy-t: linear-gradient(90deg, var(--td-brand-color-hover) 50%, transparent 0);
|
|
121
129
|
}
|
|
122
|
-
.qd-service-table[data-v-
|
|
130
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table__copied-bb {
|
|
123
131
|
--qst-copy-b: linear-gradient(90deg, var(--td-brand-color-hover) 50%, transparent 0);
|
|
124
132
|
}
|
|
125
|
-
.qd-service-table[data-v-
|
|
133
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table__copied-bl {
|
|
126
134
|
--qst-copy-l: linear-gradient(0deg, var(--td-brand-color-hover) 50%, transparent 0);
|
|
127
135
|
}
|
|
128
|
-
.qd-service-table[data-v-
|
|
136
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table__copied-br {
|
|
129
137
|
--qst-copy-r: linear-gradient(0deg, var(--td-brand-color-hover) 50%, transparent 0);
|
|
130
138
|
}
|
|
131
|
-
.qd-service-table[data-v-
|
|
139
|
+
.qd-service-table[data-v-fcb881dd] tbody > tr.t-table__row--active {
|
|
132
140
|
background-color: var(--td-brand-color-light);
|
|
133
141
|
}
|
|
134
|
-
.qd-service-table[data-v-
|
|
135
|
-
.qd-service-table[data-v-
|
|
142
|
+
.qd-service-table[data-v-fcb881dd] tbody > tr.t-table__row--active.t-table__row--hover,
|
|
143
|
+
.qd-service-table[data-v-fcb881dd] tbody > tr.t-table__row--active:hover {
|
|
136
144
|
background-color: var(--td-brand-color-light-hover);
|
|
137
145
|
}
|
|
138
|
-
.qd-service-table[data-v-
|
|
146
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table__non-editable-col:not(.qd-service-table__copied-cell):is(
|
|
139
147
|
.t-table__cell--fixed-left,
|
|
140
148
|
.t-table__cell--fixed-right
|
|
141
149
|
) {
|
|
142
150
|
background-color: inherit;
|
|
143
151
|
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
152
|
}
|
|
145
|
-
.qd-service-table--disable-horizontal-scroll[data-v-
|
|
153
|
+
.qd-service-table--disable-horizontal-scroll[data-v-fcb881dd] colgroup > col {
|
|
146
154
|
width: auto !important;
|
|
147
155
|
}
|
|
148
|
-
.qd-service-table--cell-drag-selecting[data-v-
|
|
156
|
+
.qd-service-table--cell-drag-selecting[data-v-fcb881dd] {
|
|
149
157
|
cursor: crosshair;
|
|
150
158
|
}
|
|
151
|
-
.qd-service-table--cell-drag-selecting[data-v-
|
|
159
|
+
.qd-service-table--cell-drag-selecting[data-v-fcb881dd] td {
|
|
152
160
|
cursor: crosshair;
|
|
153
161
|
}
|
|
154
|
-
.qd-service-table[data-v-
|
|
162
|
+
.qd-service-table[data-v-fcb881dd] .t-table__filter-pop-content-inner {
|
|
155
163
|
padding: var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-s) 0;
|
|
156
164
|
}
|
|
157
|
-
.qd-service-table[data-v-
|
|
165
|
+
.qd-service-table[data-v-fcb881dd] .t-table__filter-pop-content-inner:has(.qd-service-table-filter-item) {
|
|
158
166
|
padding: 0;
|
|
159
167
|
}
|
|
160
|
-
.qd-service-table[data-v-
|
|
168
|
+
.qd-service-table[data-v-fcb881dd] .t-table__filter-pop-content-inner:has(
|
|
161
169
|
.qd-service-table-filter-input,
|
|
162
170
|
.qd-service-table-filter-custom
|
|
163
171
|
) {
|
|
164
172
|
padding-bottom: var(--td-comp-paddingTB-s);
|
|
165
173
|
}
|
|
166
|
-
.qd-service-table[data-v-
|
|
174
|
+
.qd-service-table[data-v-fcb881dd] .t-table__filter--bottom-buttons {
|
|
167
175
|
padding: var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-s);
|
|
168
176
|
}
|
|
169
|
-
.qd-service-table--mini[data-v-
|
|
177
|
+
.qd-service-table--mini[data-v-fcb881dd] .t-table__filter-pop-content-inner {
|
|
170
178
|
padding: var(--td-comp-paddingTB-xs) var(--td-comp-paddingLR-xs) 0;
|
|
171
179
|
}
|
|
172
|
-
.qd-service-table--mini[data-v-
|
|
180
|
+
.qd-service-table--mini[data-v-fcb881dd] .t-table__filter--bottom-buttons {
|
|
173
181
|
padding: var(--td-comp-paddingTB-xs) var(--td-comp-paddingLR-xs);
|
|
174
182
|
}
|
|
175
|
-
.qd-service-table--mini[data-v-
|
|
183
|
+
.qd-service-table--mini[data-v-fcb881dd] .t-table__filter-pop-content-inner:has(.qd-service-table-filter-item) {
|
|
176
184
|
padding: 0;
|
|
177
185
|
}
|
|
178
|
-
.qd-service-table--mini[data-v-
|
|
186
|
+
.qd-service-table--mini[data-v-fcb881dd] .t-table__filter-pop-content-inner:has(
|
|
179
187
|
.qd-service-table-filter-input,
|
|
180
188
|
.qd-service-table-filter-custom
|
|
181
189
|
) {
|
|
182
190
|
padding-bottom: var(--td-comp-paddingTB-xs);
|
|
183
191
|
}
|
|
184
|
-
.qd-service-table[data-v-
|
|
192
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item {
|
|
185
193
|
width: 266px;
|
|
186
194
|
}
|
|
187
|
-
.qd-service-table[data-v-
|
|
188
|
-
.qd-service-table[data-v-
|
|
189
|
-
.qd-service-table[data-v-
|
|
195
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item__search,
|
|
196
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item__all,
|
|
197
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item__options {
|
|
190
198
|
padding: var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-s) 0;
|
|
191
199
|
}
|
|
192
|
-
.qd-service-table[data-v-
|
|
200
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item__all {
|
|
193
201
|
display: flex;
|
|
194
202
|
align-items: center;
|
|
195
203
|
padding: 0 var(--td-comp-paddingLR-s);
|
|
196
204
|
border-bottom: 1px solid var(--td-component-stroke);
|
|
197
205
|
}
|
|
198
|
-
.qd-service-table[data-v-
|
|
206
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item__options {
|
|
199
207
|
display: flex;
|
|
200
208
|
flex-direction: column;
|
|
201
209
|
height: 206px;
|
|
202
210
|
padding: 0 var(--td-comp-paddingLR-s);
|
|
203
211
|
overflow-y: auto;
|
|
204
212
|
}
|
|
205
|
-
.qd-service-table[data-v-
|
|
213
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item__count {
|
|
206
214
|
margin-left: var(--td-comp-margin-xs);
|
|
207
215
|
color: var(--td-text-color-placeholder);
|
|
208
216
|
}
|
|
209
|
-
.qd-service-table[data-v-
|
|
217
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item__cell {
|
|
210
218
|
pointer-events: none;
|
|
211
219
|
}
|
|
212
|
-
.qd-service-table[data-v-
|
|
213
|
-
.qd-service-table[data-v-
|
|
220
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item .t-checkbox,
|
|
221
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item .t-radio {
|
|
214
222
|
display: flex;
|
|
215
223
|
align-items: center;
|
|
216
224
|
}
|
|
217
|
-
.qd-service-table[data-v-
|
|
218
|
-
.qd-service-table[data-v-
|
|
225
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item .t-checkbox__label,
|
|
226
|
+
.qd-service-table[data-v-fcb881dd] .qd-service-table-filter-item .t-radio__label {
|
|
219
227
|
display: inline-flex;
|
|
220
228
|
flex: 1 1 0;
|
|
221
229
|
align-items: center;
|
|
222
230
|
min-width: 0;
|
|
223
231
|
overflow: hidden;
|
|
224
232
|
}
|
|
225
|
-
.qd-service-table--mini[data-v-
|
|
233
|
+
.qd-service-table--mini[data-v-fcb881dd] .qd-service-table-filter-item__search {
|
|
226
234
|
padding: var(--td-comp-paddingTB-xs) var(--td-comp-paddingLR-xs) 0;
|
|
227
235
|
}
|
|
228
|
-
.qd-service-table--mini[data-v-
|
|
229
|
-
.qd-service-table--mini[data-v-
|
|
236
|
+
.qd-service-table--mini[data-v-fcb881dd] .qd-service-table-filter-item__all,
|
|
237
|
+
.qd-service-table--mini[data-v-fcb881dd] .qd-service-table-filter-item__options {
|
|
230
238
|
padding: 0 var(--td-comp-paddingLR-xs);
|
|
231
239
|
}
|
|
232
|
-
@keyframes qst-cell-ants-
|
|
240
|
+
@keyframes qst-cell-ants-fcb881dd {
|
|
233
241
|
to {
|
|
234
242
|
background-position: 8px 0, -8px 100%, 0 -8px, 100% 8px;
|
|
235
243
|
}
|
|
236
244
|
}
|
|
237
245
|
@media (prefers-reduced-motion: reduce) {
|
|
238
|
-
[data-v-
|
|
246
|
+
[data-v-fcb881dd] td.qd-service-table__copied-cell {
|
|
239
247
|
animation: none;
|
|
240
248
|
}
|
|
241
249
|
}
|
|
@@ -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-
|
|
5
|
+
const QdServiceTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fcb881dd"]]);
|
|
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
|
-
"
|
|
367
|
-
"
|
|
366
|
+
"baf6729c": affixedHeaderTransform.value,
|
|
367
|
+
"v9fbb29b2": expandedRowWidth.value
|
|
368
368
|
}));
|
|
369
369
|
const props = __props;
|
|
370
370
|
const emit = __emit;
|
|
@@ -47,6 +47,7 @@ export declare const qdServiceTableProps: {
|
|
|
47
47
|
export declare const qdServiceTableTreeConfig: {
|
|
48
48
|
readonly checkStrictly: true;
|
|
49
49
|
readonly childrenKey: "children";
|
|
50
|
+
readonly indent: 6;
|
|
50
51
|
};
|
|
51
52
|
export declare function getSortParams(sortValue: TableSort | undefined): {
|
|
52
53
|
orderByColumn?: undefined;
|
|
@@ -45,7 +45,8 @@ const qdServiceTableProps = {
|
|
|
45
45
|
};
|
|
46
46
|
const qdServiceTableTreeConfig = {
|
|
47
47
|
checkStrictly: true,
|
|
48
|
-
childrenKey: "children"
|
|
48
|
+
childrenKey: "children",
|
|
49
|
+
indent: 6
|
|
49
50
|
};
|
|
50
51
|
function getSortParams(sortValue) {
|
|
51
52
|
const sortList = Array.isArray(sortValue) ? sortValue : sortValue ? [sortValue] : [];
|
|
@@ -4,7 +4,7 @@ import _sfc_main from "./index.vue2.mjs";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
|
-
const QdServiceSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
7
|
+
const QdServiceSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5d80d43f"]]);
|
|
8
8
|
export {
|
|
9
9
|
QdServiceSelect as default
|
|
10
10
|
};
|
|
@@ -207,7 +207,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
207
207
|
const reOnSearch = (filterWords, context) => {
|
|
208
208
|
onSearch?.(filterWords, context);
|
|
209
209
|
search.value = filterWords.trim();
|
|
210
|
-
if (!service) return;
|
|
211
210
|
refresh();
|
|
212
211
|
};
|
|
213
212
|
const reOnInputChange = (value, context) => {
|
|
@@ -258,7 +257,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
258
257
|
return merged;
|
|
259
258
|
};
|
|
260
259
|
const reFilterable = filterable ?? !!reSearchKey.length;
|
|
261
|
-
const reFilter = reFilterable ? handleFilter :
|
|
260
|
+
const reFilter = filter ?? (reFilterable ? handleFilter : void 0);
|
|
261
|
+
const mergedOnSearch = service && reSearchKey.length ? reOnSearch : void 0;
|
|
262
262
|
return {
|
|
263
263
|
autofocus: autofocus2,
|
|
264
264
|
externalLoad,
|
|
@@ -271,7 +271,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
271
271
|
filterable: reFilterable,
|
|
272
272
|
filter: reFilter,
|
|
273
273
|
popupProps: rePopupProps,
|
|
274
|
-
onSearch:
|
|
274
|
+
onSearch: mergedOnSearch,
|
|
275
275
|
onInputChange: reOnInputChange,
|
|
276
276
|
onPopupVisibleChange: reOnPopupVisibleChange,
|
|
277
277
|
onFocus: reOnFocus,
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
.qd-upload[data-v-
|
|
1
|
+
.qd-upload[data-v-a883bc8a] {
|
|
2
2
|
width: 100%;
|
|
3
3
|
outline: none;
|
|
4
4
|
}
|
|
5
|
-
.qd-upload[data-v-
|
|
5
|
+
.qd-upload[data-v-a883bc8a] .t-image-viewer__trigger {
|
|
6
6
|
display: none;
|
|
7
7
|
}
|
|
8
|
-
.qd-upload[data-v-
|
|
8
|
+
.qd-upload[data-v-a883bc8a] .t-upload__dragger {
|
|
9
9
|
min-width: auto;
|
|
10
10
|
min-height: 144px;
|
|
11
11
|
width: 100%;
|
|
12
12
|
height: 100%;
|
|
13
13
|
}
|
|
14
|
-
.qd-upload[data-v-
|
|
14
|
+
.qd-upload[data-v-a883bc8a] .t-upload__dragger-btns > .t-size-s {
|
|
15
15
|
display: inline-flex;
|
|
16
16
|
}
|
|
17
|
-
.qd-upload[data-v-
|
|
17
|
+
.qd-upload[data-v-a883bc8a] .t-upload__flow {
|
|
18
18
|
width: 100%;
|
|
19
19
|
min-width: auto;
|
|
20
20
|
max-width: 100%;
|
|
21
21
|
}
|
|
22
|
-
.qd-upload[data-v-
|
|
22
|
+
.qd-upload[data-v-a883bc8a] .t-upload__flow-empty {
|
|
23
23
|
height: auto;
|
|
24
24
|
min-height: 144px;
|
|
25
25
|
}
|
|
26
|
-
.qd-upload[data-v-
|
|
27
|
-
.qd-upload[data-v-
|
|
26
|
+
.qd-upload[data-v-a883bc8a] .t-upload__flow-card-area,
|
|
27
|
+
.qd-upload[data-v-a883bc8a] .t-upload__flow-table {
|
|
28
28
|
margin-top: var(--td-comp-margin-s);
|
|
29
29
|
}
|
|
30
|
-
.qd-upload[data-v-
|
|
30
|
+
.qd-upload[data-v-a883bc8a] .t-upload__file-name__container {
|
|
31
31
|
display: flex;
|
|
32
32
|
align-items: center;
|
|
33
33
|
}
|
|
34
|
-
.qd-upload[data-v-
|
|
34
|
+
.qd-upload[data-v-a883bc8a] .t-upload__file-name-text {
|
|
35
35
|
cursor: pointer;
|
|
36
36
|
}
|
|
37
|
-
.qd-upload[data-v-
|
|
37
|
+
.qd-upload[data-v-a883bc8a] .t-upload__file-thumbnail {
|
|
38
38
|
width: var(--td-comp-size-m);
|
|
39
39
|
height: var(--td-comp-size-m);
|
|
40
40
|
}
|
|
41
|
-
.qd-upload[data-v-
|
|
41
|
+
.qd-upload[data-v-a883bc8a] .t-upload__card-image {
|
|
42
42
|
width: 100%;
|
|
43
43
|
height: 100%;
|
|
44
44
|
}
|
|
45
|
-
.qd-upload__popup-upload[data-v-
|
|
45
|
+
.qd-upload__popup-upload[data-v-a883bc8a] .t-image-viewer__trigger {
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
|
-
.qd-upload__popup-upload[data-v-
|
|
48
|
+
.qd-upload__popup-upload[data-v-a883bc8a] .t-upload__flow-table {
|
|
49
49
|
margin-top: 0;
|
|
50
50
|
}
|
|
51
|
-
.qd-upload__popup-upload[data-v-
|
|
51
|
+
.qd-upload__popup-upload[data-v-a883bc8a] .t-upload__file-name__container {
|
|
52
52
|
display: flex;
|
|
53
53
|
align-items: center;
|
|
54
54
|
}
|
|
55
|
-
.qd-upload__popup-upload[data-v-
|
|
55
|
+
.qd-upload__popup-upload[data-v-a883bc8a] .t-upload__file-name-text {
|
|
56
56
|
cursor: pointer;
|
|
57
57
|
}
|
|
58
|
-
.qd-upload__popup-upload[data-v-
|
|
58
|
+
.qd-upload__popup-upload[data-v-a883bc8a] .t-upload__file-thumbnail {
|
|
59
59
|
width: var(--td-comp-size-m);
|
|
60
60
|
height: var(--td-comp-size-m);
|
|
61
61
|
}
|
|
62
|
-
.qd-upload__popup-upload[data-v-
|
|
62
|
+
.qd-upload__popup-upload[data-v-a883bc8a] .t-upload__card-image {
|
|
63
63
|
width: 100%;
|
|
64
64
|
height: 100%;
|
|
65
65
|
}
|
|
66
|
-
.qd-upload__popup-upload--disabled[data-v-
|
|
67
|
-
.qd-upload__popup-upload--disabled[data-v-
|
|
66
|
+
.qd-upload__popup-upload--disabled[data-v-a883bc8a] .t-upload__flow-table th:last-child,
|
|
67
|
+
.qd-upload__popup-upload--disabled[data-v-a883bc8a] .t-upload__flow-table td:last-child {
|
|
68
68
|
display: none;
|
|
69
69
|
}
|
|
70
|
-
.qd-upload__popup-actions[data-v-
|
|
70
|
+
.qd-upload__popup-actions[data-v-a883bc8a] {
|
|
71
71
|
display: inline-flex;
|
|
72
72
|
}
|
|
73
|
-
.qd-upload__popup-drag-text[data-v-
|
|
73
|
+
.qd-upload__popup-drag-text[data-v-a883bc8a] {
|
|
74
74
|
display: flex;
|
|
75
75
|
align-items: center;
|
|
76
76
|
justify-content: center;
|
|
@@ -78,18 +78,18 @@
|
|
|
78
78
|
height: 100%;
|
|
79
79
|
color: var(--td-text-color-placeholder);
|
|
80
80
|
}
|
|
81
|
-
.qd-upload[data-v-
|
|
82
|
-
.qd-upload[data-v-
|
|
81
|
+
.qd-upload[data-v-a883bc8a]:focus .t-upload__flow-card-area,
|
|
82
|
+
.qd-upload[data-v-a883bc8a]:focus .t-upload__flow-table {
|
|
83
83
|
border-color: var(--td-brand-color);
|
|
84
84
|
}
|
|
85
|
-
.qd-upload--btn-image-popup[data-v-
|
|
86
|
-
.qd-upload--btn-file-popup[data-v-
|
|
85
|
+
.qd-upload--btn-image-popup[data-v-a883bc8a],
|
|
86
|
+
.qd-upload--btn-file-popup[data-v-a883bc8a] {
|
|
87
87
|
padding: var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-s);
|
|
88
88
|
border: 1px dashed var(--td-component-border);
|
|
89
89
|
transition: border 0.2s linear;
|
|
90
90
|
}
|
|
91
|
-
.qd-upload--btn-image-popup[data-v-
|
|
92
|
-
.qd-upload--btn-file-popup[data-v-
|
|
91
|
+
.qd-upload--btn-image-popup[data-v-a883bc8a] .t-upload__dragger,
|
|
92
|
+
.qd-upload--btn-file-popup[data-v-a883bc8a] .t-upload__dragger {
|
|
93
93
|
min-height: auto;
|
|
94
94
|
padding: 0;
|
|
95
95
|
border: 0;
|
|
@@ -98,42 +98,42 @@
|
|
|
98
98
|
align-items: flex-start;
|
|
99
99
|
cursor: default;
|
|
100
100
|
}
|
|
101
|
-
.qd-upload--btn-image-popup[data-v-
|
|
102
|
-
.qd-upload--btn-file-popup[data-v-
|
|
101
|
+
.qd-upload--btn-image-popup[data-v-a883bc8a] .t-upload__dragger > .t-upload__trigger,
|
|
102
|
+
.qd-upload--btn-file-popup[data-v-a883bc8a] .t-upload__dragger > .t-upload__trigger {
|
|
103
103
|
width: 100%;
|
|
104
104
|
height: 100%;
|
|
105
105
|
}
|
|
106
|
-
.qd-upload--btn-image-popup[data-v-
|
|
107
|
-
.qd-upload--btn-file-popup[data-v-
|
|
106
|
+
.qd-upload--btn-image-popup[data-v-a883bc8a]:focus-within,
|
|
107
|
+
.qd-upload--btn-file-popup[data-v-a883bc8a]:focus-within {
|
|
108
108
|
border-color: var(--td-brand-color);
|
|
109
109
|
}
|
|
110
|
-
.qd-upload--only-view[data-v-
|
|
111
|
-
.qd-upload--only-view[data-v-
|
|
110
|
+
.qd-upload--only-view[data-v-a883bc8a] .t-upload__flow-empty,
|
|
111
|
+
.qd-upload--only-view[data-v-a883bc8a] .t-upload__card-mask-item-divider {
|
|
112
112
|
display: none;
|
|
113
113
|
}
|
|
114
|
-
.qd-upload--only-view[data-v-
|
|
114
|
+
.qd-upload--only-view[data-v-a883bc8a] .t-upload__flow-card-area {
|
|
115
115
|
border-color: var(--td-component-border);
|
|
116
116
|
}
|
|
117
|
-
.qd-upload--only-view[data-v-
|
|
118
|
-
.qd-upload--only-view[data-v-
|
|
119
|
-
.qd-upload--only-view[data-v-
|
|
117
|
+
.qd-upload--only-view[data-v-a883bc8a]:not(.qd-upload--btn-image-popup):not(.qd-upload--btn-file-popup) .t-upload__flow-op,
|
|
118
|
+
.qd-upload--only-view[data-v-a883bc8a]:not(.qd-upload--btn-image-popup):not(.qd-upload--btn-file-popup) .t-upload__trigger,
|
|
119
|
+
.qd-upload--only-view[data-v-a883bc8a]:not(.qd-upload--btn-image-popup):not(.qd-upload--btn-file-popup) .t-upload__flow-bottom {
|
|
120
120
|
display: none;
|
|
121
121
|
}
|
|
122
|
-
.qd-upload--only-view[data-v-
|
|
123
|
-
.qd-upload--only-view[data-v-
|
|
122
|
+
.qd-upload--only-view[data-v-a883bc8a]:not(.qd-upload--btn-image-popup):not(.qd-upload--btn-file-popup) .t-upload__flow-table,
|
|
123
|
+
.qd-upload--only-view[data-v-a883bc8a]:not(.qd-upload--btn-image-popup):not(.qd-upload--btn-file-popup) .t-upload__flow-card-area {
|
|
124
124
|
margin-top: 0;
|
|
125
125
|
}
|
|
126
|
-
.qd-upload--uploading[data-v-
|
|
126
|
+
.qd-upload--uploading[data-v-a883bc8a] .t-upload__single-input-clear {
|
|
127
127
|
display: none;
|
|
128
128
|
}
|
|
129
|
-
.qd-upload--hide-manual-upload[data-v-
|
|
129
|
+
.qd-upload--hide-manual-upload[data-v-a883bc8a] .t-upload__flow-bottom {
|
|
130
130
|
display: none;
|
|
131
131
|
margin-top: 0;
|
|
132
132
|
}
|
|
133
|
-
.qd-upload--hide-progress[data-v-
|
|
134
|
-
.qd-upload--hide-progress[data-v-
|
|
133
|
+
.qd-upload--hide-progress[data-v-a883bc8a] .t-upload__flow-table th:last-child,
|
|
134
|
+
.qd-upload--hide-progress[data-v-a883bc8a] .t-upload__flow-table td:last-child {
|
|
135
135
|
display: none;
|
|
136
136
|
}
|
|
137
|
-
.qd-upload--disabled[data-v-
|
|
137
|
+
.qd-upload--disabled[data-v-a883bc8a] .t-upload__flow-card-area {
|
|
138
138
|
border-color: var(--td-component-border);
|
|
139
139
|
}
|
|
@@ -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 QdUpload = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const QdUpload = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a883bc8a"]]);
|
|
6
6
|
export {
|
|
7
7
|
QdUpload as default
|
|
8
8
|
};
|
|
@@ -451,7 +451,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
451
451
|
uploadRef.value?.uploadFiles(options?.files);
|
|
452
452
|
return new Promise((resolve, reject) => {
|
|
453
453
|
uploadTimer.value = setInterval(() => {
|
|
454
|
-
const isFinished = currentUploadFiles.every(
|
|
454
|
+
const isFinished = currentUploadFiles.every(
|
|
455
|
+
(item) => item.status !== "progress" && item.status !== "waiting"
|
|
456
|
+
);
|
|
455
457
|
if (!isFinished) return;
|
|
456
458
|
clearUploadTimer();
|
|
457
459
|
updateTempModelValue(getDisplayFiles());
|