@robot-admin/naive-ui-components 0.28.1 → 0.29.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/CHANGELOG.md +13 -0
- package/README.md +3 -1
- package/README_EN.md +3 -1
- package/dist/C_DataPicker.css +41 -14
- package/dist/C_DataPicker.d.cts +2 -2
- package/dist/C_DataPicker.d.ts +2 -2
- package/dist/C_DataPicker2.cjs +1 -1
- package/dist/C_DataPicker2.js +1 -1
- package/dist/C_FormModal.css +1 -1
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.css +115 -111
- package/dist/C_Table.d.cts +1 -1
- package/dist/C_Table.d.ts +1 -1
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants2.d.cts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.cts +1 -1
- package/dist/constants3.d.ts +1 -1
- package/dist/constants4.d.cts +7 -7
- package/dist/constants4.d.ts +7 -7
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data2.d.cts +11 -11
- package/dist/data2.d.ts +11 -11
- package/dist/dateRange.d.cts +5 -1
- package/dist/dateRange.d.ts +5 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.vue.d.cts +3 -3
- package/dist/index.vue.d.ts +3 -3
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +4 -4
- package/dist/index11.vue.d.cts +4 -4
- package/dist/index11.vue.d.ts +35 -14
- package/dist/index12.vue.d.cts +35 -14
- package/dist/index13.vue.d.ts +5 -5
- package/dist/index14.vue.d.cts +5 -5
- package/dist/index15.vue.d.ts +3 -0
- package/dist/index16.vue.d.cts +3 -0
- package/dist/index17.vue.d.ts +9 -9
- package/dist/index18.vue.d.cts +9 -9
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +3 -3
- package/dist/index2.vue.d.ts +3 -3
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +5 -5
- package/dist/index22.vue.d.cts +5 -5
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index23.vue.d.cts +2 -2
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index24.vue.d.cts +3 -3
- package/dist/index24.vue.d.ts +3 -3
- package/dist/index26.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +2 -2
- package/dist/index27.vue.d.cts +2 -2
- package/dist/index27.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index30.vue.d.cts +1 -1
- package/dist/index30.vue.d.ts +1 -1
- package/dist/index31.vue.d.cts +2 -2
- package/dist/index31.vue.d.ts +2 -2
- package/dist/index5.vue.d.cts +2 -2
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.cts +2 -2
- package/dist/index8.vue.d.ts +2 -2
- package/dist/index9.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +3 -3
- package/dist/mapUtils.d.ts +3 -3
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/style.css +157 -126
- package/dist/useCollapsePanel.d.cts +6 -6
- package/dist/useCollapsePanel.d.ts +6 -6
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +5 -5
- package/dist/useCropperCore.d.ts +5 -5
- package/dist/useDraggableLayout.d.cts +2 -2
- package/dist/useDraggableLayout.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useInfiniteScroll.d.cts +1 -1
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useQRCode.d.cts +2 -2
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSignatureHistory.d.cts +5 -5
- package/dist/useSignatureHistory.d.ts +5 -5
- package/dist/useSplitResize.d.cts +5 -5
- package/dist/useSplitResize.d.ts +5 -5
- package/dist/useTableQuery.d.cts +10 -10
- package/dist/useTableQuery.d.ts +10 -10
- package/dist/useWorkflowValidation.d.cts +83 -83
- package/dist/useWorkflowValidation.d.ts +83 -83
- package/dist/verification.d.cts +5 -5
- package/dist/verification.d.ts +5 -5
- package/docs/guides/data-picker.md +46 -2
- package/docs/guides/data-workflows.md +4 -2
- package/docs/guides/search-workflows.md +3 -0
- package/package.json +1 -1
package/dist/C_FormSearch.css
CHANGED
|
@@ -1,76 +1,102 @@
|
|
|
1
1
|
:root{--c-primary: var(--primary-color, #2080f0);--c-primary-hover: var(--primary-color-hover, #4098fc);--c-primary-pressed: var(--primary-color-pressed, #1060c9);--c-success: var(--success-color, #18a058);--c-warning: var(--warning-color, #f0a020);--c-error: var(--error-color, #d03050);--c-info: var(--info-color, #2080f0);--c-bg-body: var(--body-color, #ffffff);--c-bg-card: var(--card-color, #ffffff);--c-bg-surface: var(--popover-color, #ffffff);--c-text-1: var(--text-color-1, #262626);--c-text-2: var(--text-color-2, #525252);--c-text-3: var(--text-color-3, #a3a3a3);--c-text-4: var(--text-color-4, #c0c0c0);--c-border: var(--border-color, #e5e7eb);--c-radius-sm: var(--border-radius-small, 4px);--c-radius: var(--border-radius, 6px);--c-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);--c-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);--c-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);--c-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);--c-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1)}
|
|
2
2
|
|
|
3
|
-
.form-search-card[data-v-
|
|
3
|
+
.form-search-card[data-v-16ca7efa] {
|
|
4
4
|
min-width: 0;
|
|
5
5
|
}
|
|
6
|
-
.form-search-card[data-v-
|
|
6
|
+
.form-search-card[data-v-16ca7efa] :is(.n-card-content, .n-card__content) {
|
|
7
7
|
padding: var(--c-search-padding, 20px);
|
|
8
8
|
}
|
|
9
|
-
.form-search-layout[data-v-
|
|
9
|
+
.form-search-layout[data-v-16ca7efa] {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex: 1 1 var(--c-search-layout-min-width, var(--c-search-control-width));
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
align-items: end;
|
|
14
|
+
gap: var(--c-search-layout-gap);
|
|
10
15
|
min-width: 0;
|
|
11
16
|
}
|
|
12
|
-
.form-search-input-control[data-v-
|
|
17
|
+
.form-search-input-control[data-v-16ca7efa] {
|
|
13
18
|
position: relative;
|
|
14
19
|
min-width: 0;
|
|
15
20
|
max-width: 100%;
|
|
16
21
|
}
|
|
17
|
-
.form-search .form-search-number-range[data-v-
|
|
22
|
+
.form-search .form-search-number-range[data-v-16ca7efa] {
|
|
18
23
|
display: flex;
|
|
19
24
|
gap: 8px;
|
|
20
|
-
width: var(--c-search-
|
|
25
|
+
width: var(--c-search-control-width);
|
|
21
26
|
max-width: 100%;
|
|
22
27
|
min-width: 0;
|
|
23
28
|
}
|
|
24
|
-
.form-search .form-search-number-range[data-v-
|
|
29
|
+
.form-search .form-search-number-range[data-v-16ca7efa] .n-input-number {
|
|
25
30
|
flex: 1;
|
|
26
31
|
min-width: 0;
|
|
27
32
|
width: 0;
|
|
28
33
|
}
|
|
29
|
-
.form-search .form-search-number-range[data-v-
|
|
34
|
+
.form-search .form-search-number-range[data-v-16ca7efa] .n-input {
|
|
30
35
|
width: 100%;
|
|
31
36
|
min-width: 0;
|
|
32
37
|
}
|
|
33
|
-
.form-search .form-search-hidden-count[data-v-
|
|
38
|
+
.form-search .form-search-hidden-count[data-v-16ca7efa] {
|
|
34
39
|
color: var(--n-label-text-color, var(--n-text-color));
|
|
35
40
|
font-size: 12px;
|
|
36
|
-
|
|
41
|
+
line-height: 1.35;
|
|
42
|
+
width: 0;
|
|
43
|
+
min-width: 100%;
|
|
44
|
+
text-align: end;
|
|
45
|
+
overflow-wrap: anywhere;
|
|
37
46
|
}
|
|
38
|
-
.form-search-actions[data-v-
|
|
39
|
-
|
|
40
|
-
|
|
47
|
+
.form-search-actions[data-v-16ca7efa] {
|
|
48
|
+
flex: 0 0 auto;
|
|
49
|
+
width: max-content;
|
|
50
|
+
max-width: 100%;
|
|
51
|
+
margin-inline-start: auto;
|
|
41
52
|
}
|
|
42
|
-
.form-search[data-v-
|
|
43
|
-
|
|
44
|
-
flex-wrap: wrap;
|
|
53
|
+
.form-search-actions[data-v-16ca7efa] .n-form-item-blank {
|
|
54
|
+
flex-direction: column;
|
|
45
55
|
align-items: end;
|
|
46
|
-
gap:
|
|
47
|
-
}
|
|
48
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] {
|
|
49
|
-
position: relative;
|
|
56
|
+
gap: 2px;
|
|
50
57
|
}
|
|
51
|
-
.form-search
|
|
52
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-select,
|
|
53
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-input-number,
|
|
54
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-date-picker {
|
|
55
|
-
width: var(--c-search-field-width, 260px);
|
|
58
|
+
.form-search-action-buttons[data-v-16ca7efa] {
|
|
56
59
|
max-width: 100%;
|
|
57
60
|
}
|
|
58
|
-
.form-search .form-search-
|
|
61
|
+
.form-search-action-buttons .form-search-icon-button[data-v-16ca7efa] {
|
|
62
|
+
flex: none;
|
|
59
63
|
width: var(--n-height);
|
|
60
64
|
padding: 0;
|
|
61
|
-
|
|
62
|
-
align-items: center;
|
|
63
|
-
justify-content: center;
|
|
64
|
-
transition: all 0.2s ease;
|
|
65
|
+
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
65
66
|
}
|
|
66
|
-
.form-search .form-search-
|
|
67
|
+
.form-search-action-buttons .form-search-icon-button[data-v-16ca7efa]:hover {
|
|
67
68
|
transform: translateY(-1px);
|
|
68
69
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
69
70
|
}
|
|
70
|
-
.form-search .form-search-
|
|
71
|
+
.form-search-action-buttons .form-search-icon-button[data-v-16ca7efa] .n-button__icon {
|
|
71
72
|
margin: 0;
|
|
72
73
|
}
|
|
73
|
-
.form-search
|
|
74
|
+
.form-search[data-v-16ca7efa] {
|
|
75
|
+
--c-search-control-width: var(--c-search-field-width, 260px);
|
|
76
|
+
--c-search-layout-gap: var(--c-search-row-gap, 20px) var(--c-search-gap, 32px);
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-wrap: wrap;
|
|
79
|
+
align-items: start;
|
|
80
|
+
gap: var(--c-search-layout-gap);
|
|
81
|
+
}
|
|
82
|
+
.form-search .form-search-item-box[data-v-16ca7efa] {
|
|
83
|
+
min-width: 0;
|
|
84
|
+
max-width: 100%;
|
|
85
|
+
}
|
|
86
|
+
.form-search .form-search-item-box .form-item-input[data-v-16ca7efa] {
|
|
87
|
+
position: relative;
|
|
88
|
+
}
|
|
89
|
+
.form-search .form-search-item-box .form-item-input[data-v-16ca7efa] .n-input,
|
|
90
|
+
.form-search .form-search-item-box .form-item-input[data-v-16ca7efa] .n-select,
|
|
91
|
+
.form-search .form-search-item-box .form-item-input[data-v-16ca7efa] .n-input-number,
|
|
92
|
+
.form-search .form-search-item-box .form-item-input[data-v-16ca7efa] .n-date-picker {
|
|
93
|
+
width: var(--c-search-control-width);
|
|
94
|
+
max-width: 100%;
|
|
95
|
+
}
|
|
96
|
+
.form-search .form-search-item-box .form-item-input[data-v-16ca7efa] .n-form-item-blank {
|
|
97
|
+
min-width: 0;
|
|
98
|
+
}
|
|
99
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-16ca7efa] {
|
|
74
100
|
width: 100%;
|
|
75
101
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
|
|
76
102
|
border: 1px solid var(--n-border-color);
|
|
@@ -86,7 +112,7 @@
|
|
|
86
112
|
max-height: 240px;
|
|
87
113
|
overflow-y: auto;
|
|
88
114
|
}
|
|
89
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-
|
|
115
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-16ca7efa] {
|
|
90
116
|
padding: 10px 12px;
|
|
91
117
|
display: flex;
|
|
92
118
|
align-items: center;
|
|
@@ -97,24 +123,24 @@
|
|
|
97
123
|
transition: all 0.2s ease;
|
|
98
124
|
position: relative;
|
|
99
125
|
}
|
|
100
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-
|
|
126
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-16ca7efa]:hover {
|
|
101
127
|
background: var(--n-option-color-hover);
|
|
102
128
|
}
|
|
103
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item:hover .delete-icon[data-v-
|
|
129
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item:hover .delete-icon[data-v-16ca7efa] {
|
|
104
130
|
opacity: 1;
|
|
105
131
|
transform: scale(1);
|
|
106
132
|
}
|
|
107
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-
|
|
133
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-16ca7efa]:not(:last-of-type) {
|
|
108
134
|
border-bottom: 1px solid var(--n-divider-color);
|
|
109
135
|
}
|
|
110
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item .history-text[data-v-
|
|
136
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item .history-text[data-v-16ca7efa] {
|
|
111
137
|
flex: 1;
|
|
112
138
|
overflow: hidden;
|
|
113
139
|
text-overflow: ellipsis;
|
|
114
140
|
white-space: nowrap;
|
|
115
141
|
margin-right: 8px;
|
|
116
142
|
}
|
|
117
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item .delete-icon[data-v-
|
|
143
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item .delete-icon[data-v-16ca7efa] {
|
|
118
144
|
opacity: 0;
|
|
119
145
|
transform: scale(0.8);
|
|
120
146
|
transition: all 0.2s ease;
|
|
@@ -126,135 +152,113 @@
|
|
|
126
152
|
align-items: center;
|
|
127
153
|
justify-content: center;
|
|
128
154
|
}
|
|
129
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item .delete-icon[data-v-
|
|
155
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item .delete-icon[data-v-16ca7efa]:hover {
|
|
130
156
|
background: var(--n-close-color-hover);
|
|
131
157
|
color: var(--n-close-color-pressed);
|
|
132
158
|
transform: scale(1.1);
|
|
133
159
|
}
|
|
134
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-footer[data-v-
|
|
160
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-footer[data-v-16ca7efa] {
|
|
135
161
|
padding: 8px 12px;
|
|
136
162
|
border-top: 1px solid var(--n-divider-color);
|
|
137
163
|
background: var(--n-modal-color);
|
|
138
164
|
}
|
|
139
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-footer .clear-all[data-v-
|
|
165
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-footer .clear-all[data-v-16ca7efa] {
|
|
140
166
|
color: var(--n-text-color-disabled);
|
|
141
167
|
font-size: 12px;
|
|
142
168
|
cursor: pointer;
|
|
143
169
|
transition: all 0.2s ease;
|
|
144
170
|
}
|
|
145
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-footer .clear-all[data-v-
|
|
171
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-footer .clear-all[data-v-16ca7efa]:hover {
|
|
146
172
|
color: var(--n-error-color);
|
|
147
173
|
}
|
|
148
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
174
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-16ca7efa] {
|
|
149
175
|
/* custom scrollbar */
|
|
150
176
|
}
|
|
151
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
177
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-16ca7efa]::-webkit-scrollbar {
|
|
152
178
|
width: 6px;
|
|
153
179
|
}
|
|
154
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
180
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-16ca7efa]::-webkit-scrollbar-track {
|
|
155
181
|
background: transparent;
|
|
156
182
|
}
|
|
157
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
183
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-16ca7efa]::-webkit-scrollbar-thumb {
|
|
158
184
|
background: var(--n-scrollbar-color);
|
|
159
185
|
border-radius: 3px;
|
|
160
186
|
}
|
|
161
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
187
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-16ca7efa]::-webkit-scrollbar-thumb:hover {
|
|
162
188
|
background: var(--n-scrollbar-color-hover);
|
|
163
189
|
}
|
|
164
190
|
|
|
165
191
|
/* responsive */
|
|
166
192
|
@media (max-width: 1400px) {
|
|
167
|
-
.form-search[data-v-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-select,
|
|
172
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-input-number,
|
|
173
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-date-picker {
|
|
174
|
-
width: var(--c-search-field-width, 240px);
|
|
193
|
+
.form-search[data-v-16ca7efa] {
|
|
194
|
+
--c-search-control-width: var(--c-search-field-width, 240px);
|
|
195
|
+
--c-search-layout-gap: var(--c-search-row-gap, 16px)
|
|
196
|
+
var(--c-search-gap, 28px);
|
|
175
197
|
}
|
|
176
198
|
}
|
|
177
199
|
@media (max-width: 1200px) {
|
|
178
|
-
.form-search[data-v-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-select,
|
|
183
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-input-number,
|
|
184
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-date-picker {
|
|
185
|
-
width: var(--c-search-field-width, 220px);
|
|
200
|
+
.form-search[data-v-16ca7efa] {
|
|
201
|
+
--c-search-control-width: var(--c-search-field-width, 220px);
|
|
202
|
+
--c-search-layout-gap: var(--c-search-row-gap, 16px)
|
|
203
|
+
var(--c-search-gap, 24px);
|
|
186
204
|
}
|
|
187
205
|
}
|
|
188
206
|
@media (max-width: 900px) {
|
|
189
|
-
.form-search[data-v-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-select,
|
|
194
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-input-number,
|
|
195
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-date-picker {
|
|
196
|
-
width: var(--c-search-field-width, 200px);
|
|
207
|
+
.form-search[data-v-16ca7efa] {
|
|
208
|
+
--c-search-control-width: var(--c-search-field-width, 200px);
|
|
209
|
+
--c-search-layout-gap: var(--c-search-row-gap, 12px)
|
|
210
|
+
var(--c-search-gap, 20px);
|
|
197
211
|
}
|
|
198
212
|
}
|
|
199
213
|
@media (max-width: 600px) {
|
|
200
|
-
.form-search-card[data-v-
|
|
214
|
+
.form-search-card[data-v-16ca7efa] :is(.n-card-content, .n-card__content) {
|
|
201
215
|
padding: var(--c-search-padding, 16px);
|
|
202
216
|
}
|
|
203
|
-
.form-search[data-v-
|
|
204
|
-
|
|
217
|
+
.form-search[data-v-16ca7efa] {
|
|
218
|
+
--c-search-control-width: 100%;
|
|
219
|
+
--c-search-layout-gap: var(--c-search-row-gap, 12px) 0;
|
|
205
220
|
}
|
|
206
|
-
.form-search .form-search-
|
|
207
|
-
|
|
221
|
+
.form-search .form-search-layout[data-v-16ca7efa] {
|
|
222
|
+
flex-basis: 100%;
|
|
208
223
|
}
|
|
209
|
-
.form-search .form-search-
|
|
210
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-select,
|
|
211
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-input-number,
|
|
212
|
-
.form-search .form-search-item-box .form-item-input[data-v-f1aa5193] .n-date-picker {
|
|
224
|
+
.form-search .form-search-layout .form-search-item-box[data-v-16ca7efa] {
|
|
213
225
|
width: 100%;
|
|
214
226
|
}
|
|
215
|
-
.form-search .form-
|
|
227
|
+
.form-search .form-item-input .input-history .history-item .delete-icon[data-v-16ca7efa] {
|
|
216
228
|
opacity: 1;
|
|
217
229
|
}
|
|
218
230
|
}
|
|
219
231
|
/* grid 由容器宽度决定列数;所有控件占轨道宽度,字段 span 在逻辑层钳制。 */
|
|
220
|
-
.form-search.form-search--grid[data-v-
|
|
232
|
+
.form-search.form-search--grid .form-search-layout[data-v-16ca7efa] {
|
|
221
233
|
display: grid;
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
.form-search.form-search--grid .form-search-item-box[data-v-f1aa5193] {
|
|
225
|
-
min-width: 0;
|
|
226
|
-
width: auto;
|
|
234
|
+
grid-template-columns: minmax(0, 1fr);
|
|
227
235
|
}
|
|
228
|
-
.form-search.form-search--grid .form-search-
|
|
236
|
+
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-16ca7efa] {
|
|
229
237
|
min-width: 0;
|
|
230
238
|
}
|
|
231
|
-
.form-search.form-search--grid .form-search-
|
|
232
|
-
.form-search.form-search--grid .form-search-
|
|
233
|
-
.form-search.form-search--grid .form-search-
|
|
234
|
-
.form-search.form-search--grid .form-search-
|
|
235
|
-
.form-search.form-search--grid .form-search-
|
|
236
|
-
.form-search.form-search--grid .form-search-
|
|
239
|
+
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-16ca7efa] .n-input,
|
|
240
|
+
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-16ca7efa] .n-select,
|
|
241
|
+
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-16ca7efa] .n-input-number,
|
|
242
|
+
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-16ca7efa] .n-date-picker,
|
|
243
|
+
.form-search.form-search--grid .form-search-layout .form-item-input .form-search-input-control[data-v-16ca7efa],
|
|
244
|
+
.form-search.form-search--grid .form-search-layout .form-item-input .form-search-number-range[data-v-16ca7efa] {
|
|
237
245
|
width: 100%;
|
|
238
246
|
min-width: 0;
|
|
239
247
|
}
|
|
240
|
-
.form-search.form-search--grid .form-search-number-range[data-v-
|
|
248
|
+
.form-search.form-search--grid .form-search-number-range[data-v-16ca7efa] .n-input-number {
|
|
241
249
|
width: 0;
|
|
242
250
|
}
|
|
243
|
-
.form-search.form-search--grid .form-search-actions[data-v-f1aa5193] {
|
|
244
|
-
grid-column: -2/-1;
|
|
245
|
-
justify-self: end;
|
|
246
|
-
}
|
|
247
251
|
|
|
248
252
|
/* layer: icons */
|
|
249
|
-
.i-mdi\:chevron-down[data-v-
|
|
250
|
-
.i-mdi\:chevron-up[data-v-
|
|
251
|
-
.i-mdi\:close[data-v-
|
|
252
|
-
.i-mdi\:refresh[data-v-
|
|
253
|
-
.i-mdi\:search[data-v-
|
|
253
|
+
.i-mdi\:chevron-down[data-v-16ca7efa]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
254
|
+
.i-mdi\:chevron-up[data-v-16ca7efa]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
255
|
+
.i-mdi\:close[data-v-16ca7efa]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
256
|
+
.i-mdi\:refresh[data-v-16ca7efa]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17.65 6.35A7.96 7.96 0 0 0 12 4a8 8 0 0 0-8 8a8 8 0 0 0 8 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18a6 6 0 0 1-6-6a6 6 0 0 1 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
257
|
+
.i-mdi\:search[data-v-16ca7efa]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;display:inline-block;vertical-align:middle;width:1em;height:1em;}
|
|
254
258
|
/* layer: default */
|
|
255
|
-
.visible[data-v-
|
|
256
|
-
.grid[data-v-
|
|
257
|
-
.inline[data-v-
|
|
258
|
-
.h-4[data-v-
|
|
259
|
-
.w-4[data-v-
|
|
260
|
-
.px[data-v-
|
|
259
|
+
.visible[data-v-16ca7efa]{visibility:visible;}
|
|
260
|
+
.grid[data-v-16ca7efa]{display:grid;}
|
|
261
|
+
.inline[data-v-16ca7efa]{display:inline;}
|
|
262
|
+
.h-4[data-v-16ca7efa]{height:1rem;}
|
|
263
|
+
.w-4[data-v-16ca7efa]{width:1rem;}
|
|
264
|
+
.px[data-v-16ca7efa]{padding-left:1rem;padding-right:1rem;}
|
package/dist/C_Table.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { r as resolveComponentDensity, t as ComponentDensity } from "./density.cjs";
|
|
2
2
|
import { B as useRowEdit, F as useCellEdit, G as _default, H as defineTableColumns, I as usePagination, L as useTableActions, P as useModalEdit, R as useTableExpand, U as defineTableConfig, V as useTableColumns, W as validateTableRowKeys, i as useTableQuery, n as TableQueryResult, r as UseTableQueryOptions, t as TableQueryContext, z as useTableManager } from "./useTableQuery.cjs";
|
|
3
|
-
import { $ as
|
|
3
|
+
import { $ as ColumnFormatter, B as ErrorConfig, C as TableColumn, D as TableProps, E as TableManagerApi, F as BatchActionsConfig, G as TableConfig, I as ColumnDragConfig, J as VirtualScrollConfig, K as ToolbarConfig, L as CrudBinding, N as UseTableExpandOptions, O as TableRowKey, P as UseTableExpandReturn, Q as exportTableData, R as DisplayConfig, S as StrictTableColumn, T as TableInstance, U as SelectionConfig, V as ExpandConfig, W as SummaryConfig, X as resolveConfig, Y as createEditModeChecker, Z as ExportConfig, _ as ParentChildLinkMode, _t as useDynamicRows, at as mergeGlobalConfig, b as SelectOption, bt as usePrintWatermark, c as BuiltInTableColumn, ct as UseCrossPageSelectionOptions, d as CustomAction, dt as RowDragConfig, et as FormatterConfig, f as DataRecord, ft as UseRowDragOptions, g as PaginationConfig, gt as DynamicRowsReturn, h as NormalTableColumn, ht as DynamicRowsOptions, it as applyFormatter, k as TableRowKeyIssue, l as ChildSelectionState, lt as UseCrossPageSelectionReturn, m as MaybeRefLike, mt as useRowDrag, nt as TABLE_GLOBAL_CONFIG_KEY, ot as useTableGlobalConfig, p as EditMode, pt as UseRowDragReturn, q as TreeConfig, rt as TableGlobalConfig, s as ApiFunction, st as CrossPageSelectionConfig, tt as FormatterType, u as ColumnWithKey, ut as useCrossPageSelection, v as RenderFunction, vt as PrintWatermarkOptions, w as TableEmits, x as SimpleTableActions, xt as ColumnStatus, y as RowAction, yt as printPresets, z as EditConfig } from "./index12.vue.cjs";
|
|
4
4
|
export { type ApiFunction, type BatchActionsConfig, type BuiltInTableColumn, _default as C_Table, type ChildSelectionState, type ColumnDragConfig, type ColumnFormatter, type ColumnStatus, type ColumnWithKey, type ComponentDensity, type CrossPageSelectionConfig, type CrudBinding, type CustomAction, type DataRecord, type DisplayConfig, type DynamicRowsOptions, type DynamicRowsReturn, type EditConfig, type EditMode, type ErrorConfig, type ExpandConfig, type ExportConfig, type FormatterConfig, type FormatterType, type MaybeRefLike, type NormalTableColumn, type PaginationConfig, type ParentChildLinkMode, type PrintWatermarkOptions, type RenderFunction, type RowAction, type RowDragConfig, type SelectOption, type SimpleTableActions, type StrictTableColumn, type SummaryConfig, TABLE_GLOBAL_CONFIG_KEY, type TableColumn, type TableConfig, type TableEmits, type TableGlobalConfig, type TableInstance, type TableManagerApi, type TableProps, type TableQueryContext, type TableQueryResult, type TableRowKey, type TableRowKeyIssue, type SelectionConfig as TableSelectionConfig, type ToolbarConfig, type TreeConfig, type UseCrossPageSelectionOptions, type UseCrossPageSelectionReturn, type UseRowDragOptions, type UseRowDragReturn, type UseTableExpandOptions, type UseTableExpandReturn, type UseTableQueryOptions, type VirtualScrollConfig, applyFormatter, createEditModeChecker, defineTableColumns, defineTableConfig, exportTableData, mergeGlobalConfig, printPresets, resolveComponentDensity, resolveConfig, useCellEdit, useCrossPageSelection, useDynamicRows, useModalEdit, usePagination, usePrintWatermark, useRowDrag, useRowEdit, useTableActions, useTableColumns, useTableExpand, useTableGlobalConfig, useTableManager, useTableQuery, validateTableRowKeys };
|
package/dist/C_Table.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import "./useFormConfig.js";
|
|
|
7
7
|
import { r as resolveComponentDensity, t as ComponentDensity } from "./density.js";
|
|
8
8
|
import "./config2.js";
|
|
9
9
|
import "./verification.js";
|
|
10
|
-
import { $ as
|
|
10
|
+
import { $ as ColumnFormatter, B as ErrorConfig, C as TableColumn, D as TableProps, E as TableManagerApi, F as BatchActionsConfig, G as TableConfig, I as ColumnDragConfig, J as VirtualScrollConfig, K as ToolbarConfig, L as CrudBinding, N as UseTableExpandOptions, O as TableRowKey, P as UseTableExpandReturn, Q as exportTableData, R as DisplayConfig, S as StrictTableColumn, T as TableInstance, U as SelectionConfig, V as ExpandConfig, W as SummaryConfig, X as resolveConfig, Y as createEditModeChecker, Z as ExportConfig, _ as ParentChildLinkMode, _t as useDynamicRows, at as mergeGlobalConfig, b as SelectOption, bt as usePrintWatermark, c as BuiltInTableColumn, ct as UseCrossPageSelectionOptions, d as CustomAction, dt as RowDragConfig, et as FormatterConfig, f as DataRecord, ft as UseRowDragOptions, g as PaginationConfig, gt as DynamicRowsReturn, h as NormalTableColumn, ht as DynamicRowsOptions, it as applyFormatter, k as TableRowKeyIssue, l as ChildSelectionState, lt as UseCrossPageSelectionReturn, m as MaybeRefLike, mt as useRowDrag, nt as TABLE_GLOBAL_CONFIG_KEY, ot as useTableGlobalConfig, p as EditMode, pt as UseRowDragReturn, q as TreeConfig, rt as TableGlobalConfig, s as ApiFunction, st as CrossPageSelectionConfig, tt as FormatterType, u as ColumnWithKey, ut as useCrossPageSelection, v as RenderFunction, vt as PrintWatermarkOptions, w as TableEmits, x as SimpleTableActions, xt as ColumnStatus, y as RowAction, yt as printPresets, z as EditConfig } from "./index11.vue.js";
|
|
11
11
|
import "./useDraggableLayout.js";
|
|
12
12
|
import "./useDynamicFormState.js";
|
|
13
13
|
import "./index15.vue.js";
|
package/dist/constants.d.cts
CHANGED
|
@@ -108,17 +108,17 @@ interface CronEmits {
|
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/components/C_Cron/index.vue.d.ts
|
|
110
110
|
declare const __VLS_export: vue.DefineComponent<CronProps, CronExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
111
|
-
change: (value: string) => any;
|
|
112
111
|
"update:modelValue": (value: string) => any;
|
|
112
|
+
change: (value: string) => any;
|
|
113
113
|
"validation-change": (result: CronValidation) => any;
|
|
114
114
|
}, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
|
|
115
|
-
onChange?: ((value: string) => any) | undefined;
|
|
116
115
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
116
|
+
onChange?: ((value: string) => any) | undefined;
|
|
117
117
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
119
|
disabled: boolean;
|
|
120
|
-
showPreview: boolean;
|
|
121
120
|
showTemplates: boolean;
|
|
121
|
+
showPreview: boolean;
|
|
122
122
|
showSecond: boolean;
|
|
123
123
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
124
124
|
declare const _default: typeof __VLS_export;
|
package/dist/constants.d.ts
CHANGED
|
@@ -108,17 +108,17 @@ interface CronEmits {
|
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/components/C_Cron/index.vue.d.ts
|
|
110
110
|
declare const __VLS_export: vue.DefineComponent<CronProps, CronExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
111
|
-
change: (value: string) => any;
|
|
112
111
|
"update:modelValue": (value: string) => any;
|
|
112
|
+
change: (value: string) => any;
|
|
113
113
|
"validation-change": (result: CronValidation) => any;
|
|
114
114
|
}, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
|
|
115
|
-
onChange?: ((value: string) => any) | undefined;
|
|
116
115
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
116
|
+
onChange?: ((value: string) => any) | undefined;
|
|
117
117
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
119
|
disabled: boolean;
|
|
120
|
-
showPreview: boolean;
|
|
121
120
|
showTemplates: boolean;
|
|
121
|
+
showPreview: boolean;
|
|
122
122
|
showSecond: boolean;
|
|
123
123
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
124
124
|
declare const _default: typeof __VLS_export;
|
package/dist/constants2.d.cts
CHANGED
|
@@ -125,12 +125,12 @@ interface FormulaEditorExpose {
|
|
|
125
125
|
//#endregion
|
|
126
126
|
//#region src/components/C_FormulaEditor/index.vue.d.ts
|
|
127
127
|
declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
128
|
-
change: (value: string) => any;
|
|
129
128
|
"update:modelValue": (value: string) => any;
|
|
129
|
+
change: (value: string) => any;
|
|
130
130
|
"validation-change": (result: FormulaValidation) => any;
|
|
131
131
|
}, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
|
|
132
|
-
onChange?: ((value: string) => any) | undefined;
|
|
133
132
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
133
|
+
onChange?: ((value: string) => any) | undefined;
|
|
134
134
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
135
135
|
}>, {
|
|
136
136
|
disabled: boolean;
|
package/dist/constants2.d.ts
CHANGED
|
@@ -125,12 +125,12 @@ interface FormulaEditorExpose {
|
|
|
125
125
|
//#endregion
|
|
126
126
|
//#region src/components/C_FormulaEditor/index.vue.d.ts
|
|
127
127
|
declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
128
|
-
change: (value: string) => any;
|
|
129
128
|
"update:modelValue": (value: string) => any;
|
|
129
|
+
change: (value: string) => any;
|
|
130
130
|
"validation-change": (result: FormulaValidation) => any;
|
|
131
131
|
}, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
|
|
132
|
-
onChange?: ((value: string) => any) | undefined;
|
|
133
132
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
133
|
+
onChange?: ((value: string) => any) | undefined;
|
|
134
134
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
135
135
|
}>, {
|
|
136
136
|
disabled: boolean;
|
package/dist/constants3.d.cts
CHANGED
|
@@ -250,11 +250,11 @@ declare const __VLS_base: vue.DefineComponent<NotificationCenterProps, Notificat
|
|
|
250
250
|
onNavigate?: ((url: string) => any) | undefined;
|
|
251
251
|
onViewAll?: (() => any) | undefined;
|
|
252
252
|
}>, {
|
|
253
|
+
pageSize: number;
|
|
253
254
|
autoStart: boolean;
|
|
254
255
|
desktopNotification: boolean;
|
|
255
256
|
maxBadgeCount: number;
|
|
256
257
|
pollingInterval: number;
|
|
257
|
-
pageSize: number;
|
|
258
258
|
storageKey: string;
|
|
259
259
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
260
260
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/constants3.d.ts
CHANGED
|
@@ -250,11 +250,11 @@ declare const __VLS_base: vue.DefineComponent<NotificationCenterProps, Notificat
|
|
|
250
250
|
onNavigate?: ((url: string) => any) | undefined;
|
|
251
251
|
onViewAll?: (() => any) | undefined;
|
|
252
252
|
}>, {
|
|
253
|
+
pageSize: number;
|
|
253
254
|
autoStart: boolean;
|
|
254
255
|
desktopNotification: boolean;
|
|
255
256
|
maxBadgeCount: number;
|
|
256
257
|
pollingInterval: number;
|
|
257
|
-
pageSize: number;
|
|
258
258
|
storageKey: string;
|
|
259
259
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
260
260
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/constants4.d.cts
CHANGED
|
@@ -197,30 +197,30 @@ type __VLS_Slots = {} & {
|
|
|
197
197
|
};
|
|
198
198
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
199
199
|
change: (fileList: UploadFileItem[]) => any;
|
|
200
|
-
success: (file: UploadFileItem, response: unknown) => any;
|
|
201
200
|
error: (file: UploadFileItem, error: Error) => any;
|
|
202
|
-
remove: (file: UploadFileItem) => any;
|
|
203
201
|
progress: (file: UploadFileItem, percent: number) => any;
|
|
202
|
+
success: (file: UploadFileItem, response: unknown) => any;
|
|
203
|
+
remove: (file: UploadFileItem) => any;
|
|
204
204
|
finish: (fileList: UploadFileItem[]) => any;
|
|
205
205
|
exceed: (files: File[], fileList: UploadFileItem[]) => any;
|
|
206
206
|
}, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
207
207
|
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
208
|
-
onSuccess?: ((file: UploadFileItem, response: unknown) => any) | undefined;
|
|
209
208
|
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
210
|
-
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
211
209
|
onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
|
|
210
|
+
onSuccess?: ((file: UploadFileItem, response: unknown) => any) | undefined;
|
|
211
|
+
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
212
212
|
onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
213
213
|
onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
|
|
214
214
|
}>, {
|
|
215
|
-
maxSize: number;
|
|
216
|
-
disabled: boolean;
|
|
217
|
-
multiple: boolean;
|
|
218
215
|
data: Record<string, unknown>;
|
|
219
216
|
draggable: boolean;
|
|
217
|
+
disabled: boolean;
|
|
218
|
+
multiple: boolean;
|
|
220
219
|
action: string;
|
|
221
220
|
headers: Record<string, string>;
|
|
222
221
|
directory: boolean;
|
|
223
222
|
accept: string;
|
|
223
|
+
maxSize: number;
|
|
224
224
|
maxCount: number;
|
|
225
225
|
pasteable: boolean;
|
|
226
226
|
chunked: boolean;
|
package/dist/constants4.d.ts
CHANGED
|
@@ -197,30 +197,30 @@ type __VLS_Slots = {} & {
|
|
|
197
197
|
};
|
|
198
198
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
199
199
|
change: (fileList: UploadFileItem[]) => any;
|
|
200
|
-
success: (file: UploadFileItem, response: unknown) => any;
|
|
201
200
|
error: (file: UploadFileItem, error: Error) => any;
|
|
202
|
-
remove: (file: UploadFileItem) => any;
|
|
203
201
|
progress: (file: UploadFileItem, percent: number) => any;
|
|
202
|
+
success: (file: UploadFileItem, response: unknown) => any;
|
|
203
|
+
remove: (file: UploadFileItem) => any;
|
|
204
204
|
finish: (fileList: UploadFileItem[]) => any;
|
|
205
205
|
exceed: (files: File[], fileList: UploadFileItem[]) => any;
|
|
206
206
|
}, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
207
207
|
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
208
|
-
onSuccess?: ((file: UploadFileItem, response: unknown) => any) | undefined;
|
|
209
208
|
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
210
|
-
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
211
209
|
onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
|
|
210
|
+
onSuccess?: ((file: UploadFileItem, response: unknown) => any) | undefined;
|
|
211
|
+
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
212
212
|
onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
213
213
|
onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
|
|
214
214
|
}>, {
|
|
215
|
-
maxSize: number;
|
|
216
|
-
disabled: boolean;
|
|
217
|
-
multiple: boolean;
|
|
218
215
|
data: Record<string, unknown>;
|
|
219
216
|
draggable: boolean;
|
|
217
|
+
disabled: boolean;
|
|
218
|
+
multiple: boolean;
|
|
220
219
|
action: string;
|
|
221
220
|
headers: Record<string, string>;
|
|
222
221
|
directory: boolean;
|
|
223
222
|
accept: string;
|
|
223
|
+
maxSize: number;
|
|
224
224
|
maxCount: number;
|
|
225
225
|
pasteable: boolean;
|
|
226
226
|
chunked: boolean;
|
package/dist/constants5.d.cts
CHANGED
|
@@ -262,9 +262,9 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
|
|
|
262
262
|
//#endregion
|
|
263
263
|
//#region src/components/C_VideoPlayer/index.vue.d.ts
|
|
264
264
|
declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
265
|
-
error: (error: Error) => any;
|
|
266
265
|
ready: () => any;
|
|
267
266
|
ended: () => any;
|
|
267
|
+
error: (error: Error) => any;
|
|
268
268
|
stateChange: (state: PlayerState) => any;
|
|
269
269
|
qualityChange: (quality: QualityLevel) => any;
|
|
270
270
|
rateChange: (rate: number) => any;
|
|
@@ -275,9 +275,9 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
|
|
|
275
275
|
quizAnswer: (quizId: string, answer: string | string[], isCorrect: boolean) => any;
|
|
276
276
|
timeUpdate: (currentTime: number, duration: number) => any;
|
|
277
277
|
}, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
|
|
278
|
-
onError?: ((error: Error) => any) | undefined;
|
|
279
278
|
onReady?: (() => any) | undefined;
|
|
280
279
|
onEnded?: (() => any) | undefined;
|
|
280
|
+
onError?: ((error: Error) => any) | undefined;
|
|
281
281
|
onStateChange?: ((state: PlayerState) => any) | undefined;
|
|
282
282
|
onQualityChange?: ((quality: QualityLevel) => any) | undefined;
|
|
283
283
|
onRateChange?: ((rate: number) => any) | undefined;
|
package/dist/constants5.d.ts
CHANGED
|
@@ -262,9 +262,9 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
|
|
|
262
262
|
//#endregion
|
|
263
263
|
//#region src/components/C_VideoPlayer/index.vue.d.ts
|
|
264
264
|
declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
265
|
-
error: (error: Error) => any;
|
|
266
265
|
ready: () => any;
|
|
267
266
|
ended: () => any;
|
|
267
|
+
error: (error: Error) => any;
|
|
268
268
|
stateChange: (state: PlayerState) => any;
|
|
269
269
|
qualityChange: (quality: QualityLevel) => any;
|
|
270
270
|
rateChange: (rate: number) => any;
|
|
@@ -275,9 +275,9 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
|
|
|
275
275
|
quizAnswer: (quizId: string, answer: string | string[], isCorrect: boolean) => any;
|
|
276
276
|
timeUpdate: (currentTime: number, duration: number) => any;
|
|
277
277
|
}, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
|
|
278
|
-
onError?: ((error: Error) => any) | undefined;
|
|
279
278
|
onReady?: (() => any) | undefined;
|
|
280
279
|
onEnded?: (() => any) | undefined;
|
|
280
|
+
onError?: ((error: Error) => any) | undefined;
|
|
281
281
|
onStateChange?: ((state: PlayerState) => any) | undefined;
|
|
282
282
|
onQualityChange?: ((quality: QualityLevel) => any) | undefined;
|
|
283
283
|
onRateChange?: ((rate: number) => any) | undefined;
|