@robot-admin/naive-ui-components 0.31.1 → 0.31.3
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 +12 -0
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/dist/C_Date.css +5 -5
- package/dist/C_Date2.cjs +1 -1
- package/dist/C_Date2.js +1 -1
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_Form.base.css +1 -1
- package/dist/C_Form.css +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 +72 -72
- package/dist/C_Select.css +1 -1
- package/dist/C_Select2.cjs +1 -1
- package/dist/C_Select2.js +1 -1
- package/dist/C_Table.base.css +110 -110
- package/dist/C_Table.css +109 -109
- package/dist/C_Table2.cjs +2 -2
- package/dist/C_Table2.js +2 -2
- package/dist/C_Time.css +4 -4
- package/dist/C_Time2.cjs +1 -1
- package/dist/C_Time2.js +1 -1
- package/dist/C_Upload.css +28 -28
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/constants4.d.cts +9 -7
- package/dist/constants4.d.ts +9 -7
- package/dist/data2.d.cts +2 -2
- package/dist/data2.d.ts +2 -2
- package/dist/formField.d.cts +1 -1
- package/dist/formField.d.ts +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.vue.d.cts +3 -3
- package/dist/index.vue.d.ts +3 -3
- package/dist/index10.vue.d.cts +4 -4
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index11.vue.d.cts +2 -2
- package/dist/index12.vue.d.ts +5 -5
- package/dist/index13.vue.d.cts +5 -5
- package/dist/index15.vue.d.ts +5 -5
- package/dist/index16.vue.d.cts +5 -5
- package/dist/index16.vue.d.ts +7 -7
- package/dist/index17.vue.d.cts +7 -7
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index18.vue.d.ts +1 -1
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +3 -3
- package/dist/index21.vue.d.cts +3 -3
- package/dist/index23.vue.d.cts +1 -1
- package/dist/index23.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +3 -3
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index29.vue.d.cts +1 -1
- package/dist/index29.vue.d.ts +1 -1
- package/dist/index3.vue.d.cts +2 -2
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index30.vue.d.cts +3 -3
- package/dist/index30.vue.d.ts +3 -3
- package/dist/index31.vue.d.cts +2 -2
- package/dist/index31.vue.d.ts +2 -2
- package/dist/index9.vue.d.ts +4 -4
- package/dist/mapUtils.d.cts +1 -1
- package/dist/mapUtils.d.ts +1 -1
- package/dist/selectPresentation.cjs +1 -1
- package/dist/selectPresentation.js +1 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/style.css +220 -220
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +4 -4
- package/dist/useCollapsePanel.d.ts +4 -4
- package/dist/useCropperCore.d.cts +7 -7
- package/dist/useCropperCore.d.ts +7 -7
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +1 -1
- package/dist/useFullscreen.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +4 -4
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +3 -3
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.cts +4 -4
- package/dist/useSplitResize.d.ts +4 -4
- package/dist/useTableQuery.d.cts +10 -10
- package/dist/useTableQuery.d.ts +10 -10
- package/dist/useTimeSelection.d.cts +9 -0
- package/dist/useTimeSelection.d.ts +9 -0
- package/dist/useWorkflowValidation.d.cts +2 -2
- package/dist/useWorkflowValidation.d.ts +2 -2
- package/dist/verification.d.cts +1 -1
- package/dist/verification.d.ts +1 -1
- package/docs/guides/data-workflows.md +3 -1
- package/docs/guides/usage.en.md +2 -2
- package/docs/guides/usage.md +5 -3
- package/package.json +1 -1
package/dist/C_FormSearch.css
CHANGED
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* layer: default */
|
|
30
|
-
.blur[data-v-
|
|
30
|
+
.blur[data-v-e82176d6]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|
|
31
31
|
|
|
32
|
-
.form-search-card[data-v-
|
|
32
|
+
.form-search-card[data-v-244ca201] {
|
|
33
33
|
min-width: 0;
|
|
34
34
|
}
|
|
35
|
-
.form-search-card[data-v-
|
|
35
|
+
.form-search-card[data-v-244ca201] :is(.n-card-content, .n-card__content) {
|
|
36
36
|
padding: var(--c-search-padding, 20px);
|
|
37
37
|
}
|
|
38
|
-
.form-search-layout[data-v-
|
|
38
|
+
.form-search-layout[data-v-244ca201] {
|
|
39
39
|
display: flex;
|
|
40
40
|
flex: 1 1 var(--c-search-layout-min-width, var(--c-search-control-width));
|
|
41
41
|
flex-wrap: wrap;
|
|
@@ -43,28 +43,28 @@
|
|
|
43
43
|
gap: var(--c-search-layout-gap);
|
|
44
44
|
min-width: 0;
|
|
45
45
|
}
|
|
46
|
-
.form-search-input-control[data-v-
|
|
46
|
+
.form-search-input-control[data-v-244ca201] {
|
|
47
47
|
position: relative;
|
|
48
48
|
min-width: 0;
|
|
49
49
|
max-width: 100%;
|
|
50
50
|
}
|
|
51
|
-
.form-search .form-search-number-range[data-v-
|
|
51
|
+
.form-search .form-search-number-range[data-v-244ca201] {
|
|
52
52
|
display: flex;
|
|
53
53
|
gap: 8px;
|
|
54
54
|
width: var(--c-search-control-width);
|
|
55
55
|
max-width: 100%;
|
|
56
56
|
min-width: 0;
|
|
57
57
|
}
|
|
58
|
-
.form-search .form-search-number-range[data-v-
|
|
58
|
+
.form-search .form-search-number-range[data-v-244ca201] .n-input-number {
|
|
59
59
|
flex: 1;
|
|
60
60
|
min-width: 0;
|
|
61
61
|
width: 0;
|
|
62
62
|
}
|
|
63
|
-
.form-search .form-search-number-range[data-v-
|
|
63
|
+
.form-search .form-search-number-range[data-v-244ca201] .n-input {
|
|
64
64
|
width: 100%;
|
|
65
65
|
min-width: 0;
|
|
66
66
|
}
|
|
67
|
-
.form-search .form-search-hidden-count[data-v-
|
|
67
|
+
.form-search .form-search-hidden-count[data-v-244ca201] {
|
|
68
68
|
position: absolute;
|
|
69
69
|
inline-size: 1px;
|
|
70
70
|
block-size: 1px;
|
|
@@ -72,45 +72,45 @@
|
|
|
72
72
|
clip-path: inset(50%);
|
|
73
73
|
white-space: nowrap;
|
|
74
74
|
}
|
|
75
|
-
.form-search-actions[data-v-
|
|
75
|
+
.form-search-actions[data-v-244ca201] {
|
|
76
76
|
flex: 0 0 auto;
|
|
77
77
|
width: max-content;
|
|
78
78
|
max-width: 100%;
|
|
79
79
|
margin-inline-start: auto;
|
|
80
80
|
}
|
|
81
|
-
.form-search-action-buttons[data-v-
|
|
81
|
+
.form-search-action-buttons[data-v-244ca201] {
|
|
82
82
|
max-width: 100%;
|
|
83
83
|
}
|
|
84
|
-
.form-search-action-buttons .form-search-icon-button[data-v-
|
|
84
|
+
.form-search-action-buttons .form-search-icon-button[data-v-244ca201] {
|
|
85
85
|
flex: none;
|
|
86
86
|
width: var(--n-height);
|
|
87
87
|
padding: 0;
|
|
88
88
|
}
|
|
89
|
-
.form-search-action-buttons .form-search-icon-button[data-v-
|
|
89
|
+
.form-search-action-buttons .form-search-icon-button[data-v-244ca201] .n-button__icon {
|
|
90
90
|
margin: 0;
|
|
91
91
|
}
|
|
92
|
-
.form-search-action-buttons .form-search-hidden-trigger[data-v-
|
|
92
|
+
.form-search-action-buttons .form-search-hidden-trigger[data-v-244ca201] {
|
|
93
93
|
padding-inline: 8px;
|
|
94
94
|
font-size: 12px;
|
|
95
95
|
white-space: nowrap;
|
|
96
96
|
}
|
|
97
|
-
.form-search-hidden-panel[data-v-
|
|
97
|
+
.form-search-hidden-panel[data-v-244ca201] {
|
|
98
98
|
min-inline-size: min(10rem, 100vw - 2rem);
|
|
99
99
|
max-inline-size: min(16rem, 100vw - 2rem);
|
|
100
100
|
font-size: 13px;
|
|
101
101
|
}
|
|
102
|
-
.form-search-hidden-panel p[data-v-
|
|
102
|
+
.form-search-hidden-panel p[data-v-244ca201] {
|
|
103
103
|
margin-block: 4px 8px;
|
|
104
104
|
font-size: 12px;
|
|
105
105
|
}
|
|
106
|
-
.form-search-hidden-panel ul[data-v-
|
|
106
|
+
.form-search-hidden-panel ul[data-v-244ca201] {
|
|
107
107
|
max-block-size: min(16rem, 55vh);
|
|
108
108
|
margin: 0;
|
|
109
109
|
padding: 0;
|
|
110
110
|
overflow: auto;
|
|
111
111
|
list-style: none;
|
|
112
112
|
}
|
|
113
|
-
.form-search-hidden-panel li[data-v-
|
|
113
|
+
.form-search-hidden-panel li[data-v-244ca201] {
|
|
114
114
|
display: flex;
|
|
115
115
|
justify-content: space-between;
|
|
116
116
|
align-items: baseline;
|
|
@@ -118,12 +118,12 @@
|
|
|
118
118
|
padding-block: 4px;
|
|
119
119
|
overflow-wrap: anywhere;
|
|
120
120
|
}
|
|
121
|
-
.form-search-hidden-panel small[data-v-
|
|
121
|
+
.form-search-hidden-panel small[data-v-244ca201] {
|
|
122
122
|
flex: none;
|
|
123
123
|
font-size: 11px;
|
|
124
124
|
opacity: 0.75;
|
|
125
125
|
}
|
|
126
|
-
.form-search[data-v-
|
|
126
|
+
.form-search[data-v-244ca201] {
|
|
127
127
|
--c-search-control-width: var(--c-search-field-width, 260px);
|
|
128
128
|
--c-search-layout-gap: var(--c-search-row-gap, 20px) var(--c-search-gap, 32px);
|
|
129
129
|
display: flex;
|
|
@@ -131,24 +131,24 @@
|
|
|
131
131
|
align-items: start;
|
|
132
132
|
gap: var(--c-search-layout-gap);
|
|
133
133
|
}
|
|
134
|
-
.form-search .form-search-item-box[data-v-
|
|
134
|
+
.form-search .form-search-item-box[data-v-244ca201] {
|
|
135
135
|
min-width: 0;
|
|
136
136
|
max-width: 100%;
|
|
137
137
|
}
|
|
138
|
-
.form-search .form-search-item-box .form-item-input[data-v-
|
|
138
|
+
.form-search .form-search-item-box .form-item-input[data-v-244ca201] {
|
|
139
139
|
position: relative;
|
|
140
140
|
}
|
|
141
|
-
.form-search .form-search-item-box .form-item-input[data-v-
|
|
142
|
-
.form-search .form-search-item-box .form-item-input[data-v-
|
|
143
|
-
.form-search .form-search-item-box .form-item-input[data-v-
|
|
144
|
-
.form-search .form-search-item-box .form-item-input[data-v-
|
|
141
|
+
.form-search .form-search-item-box .form-item-input[data-v-244ca201] .n-input,
|
|
142
|
+
.form-search .form-search-item-box .form-item-input[data-v-244ca201] .n-select,
|
|
143
|
+
.form-search .form-search-item-box .form-item-input[data-v-244ca201] .n-input-number,
|
|
144
|
+
.form-search .form-search-item-box .form-item-input[data-v-244ca201] .n-date-picker {
|
|
145
145
|
width: var(--c-search-control-width);
|
|
146
146
|
max-width: 100%;
|
|
147
147
|
}
|
|
148
|
-
.form-search .form-search-item-box .form-item-input[data-v-
|
|
148
|
+
.form-search .form-search-item-box .form-item-input[data-v-244ca201] .n-form-item-blank {
|
|
149
149
|
min-width: 0;
|
|
150
150
|
}
|
|
151
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
151
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-244ca201] {
|
|
152
152
|
width: 100%;
|
|
153
153
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
|
|
154
154
|
border: 1px solid var(--n-border-color);
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
max-height: 240px;
|
|
165
165
|
overflow-y: auto;
|
|
166
166
|
}
|
|
167
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-
|
|
167
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-244ca201] {
|
|
168
168
|
padding: 10px 12px;
|
|
169
169
|
display: flex;
|
|
170
170
|
align-items: center;
|
|
@@ -175,24 +175,24 @@
|
|
|
175
175
|
transition: all 0.2s ease;
|
|
176
176
|
position: relative;
|
|
177
177
|
}
|
|
178
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-
|
|
178
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-244ca201]:hover {
|
|
179
179
|
background: var(--n-option-color-hover);
|
|
180
180
|
}
|
|
181
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item:hover .delete-icon[data-v-
|
|
181
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item:hover .delete-icon[data-v-244ca201] {
|
|
182
182
|
opacity: 1;
|
|
183
183
|
transform: scale(1);
|
|
184
184
|
}
|
|
185
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-
|
|
185
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item[data-v-244ca201]:not(:last-of-type) {
|
|
186
186
|
border-bottom: 1px solid var(--n-divider-color);
|
|
187
187
|
}
|
|
188
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item .history-text[data-v-
|
|
188
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item .history-text[data-v-244ca201] {
|
|
189
189
|
flex: 1;
|
|
190
190
|
overflow: hidden;
|
|
191
191
|
text-overflow: ellipsis;
|
|
192
192
|
white-space: nowrap;
|
|
193
193
|
margin-right: 8px;
|
|
194
194
|
}
|
|
195
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item .delete-icon[data-v-
|
|
195
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item .delete-icon[data-v-244ca201] {
|
|
196
196
|
opacity: 0;
|
|
197
197
|
transform: scale(0.8);
|
|
198
198
|
transition: all 0.2s ease;
|
|
@@ -204,114 +204,114 @@
|
|
|
204
204
|
align-items: center;
|
|
205
205
|
justify-content: center;
|
|
206
206
|
}
|
|
207
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-item .delete-icon[data-v-
|
|
207
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-item .delete-icon[data-v-244ca201]:hover {
|
|
208
208
|
background: var(--n-close-color-hover);
|
|
209
209
|
color: var(--n-close-color-pressed);
|
|
210
210
|
transform: scale(1.1);
|
|
211
211
|
}
|
|
212
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-footer[data-v-
|
|
212
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-footer[data-v-244ca201] {
|
|
213
213
|
padding: 8px 12px;
|
|
214
214
|
border-top: 1px solid var(--n-divider-color);
|
|
215
215
|
background: var(--n-modal-color);
|
|
216
216
|
}
|
|
217
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-footer .clear-all[data-v-
|
|
217
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-footer .clear-all[data-v-244ca201] {
|
|
218
218
|
color: var(--n-text-color-disabled);
|
|
219
219
|
font-size: 12px;
|
|
220
220
|
cursor: pointer;
|
|
221
221
|
transition: all 0.2s ease;
|
|
222
222
|
}
|
|
223
|
-
.form-search .form-search-item-box .form-item-input .input-history .history-footer .clear-all[data-v-
|
|
223
|
+
.form-search .form-search-item-box .form-item-input .input-history .history-footer .clear-all[data-v-244ca201]:hover {
|
|
224
224
|
color: var(--n-error-color);
|
|
225
225
|
}
|
|
226
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
226
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-244ca201] {
|
|
227
227
|
/* custom scrollbar */
|
|
228
228
|
}
|
|
229
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
229
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-244ca201]::-webkit-scrollbar {
|
|
230
230
|
width: 6px;
|
|
231
231
|
}
|
|
232
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
232
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-244ca201]::-webkit-scrollbar-track {
|
|
233
233
|
background: transparent;
|
|
234
234
|
}
|
|
235
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
235
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-244ca201]::-webkit-scrollbar-thumb {
|
|
236
236
|
background: var(--n-scrollbar-color);
|
|
237
237
|
border-radius: 3px;
|
|
238
238
|
}
|
|
239
|
-
.form-search .form-search-item-box .form-item-input .input-history[data-v-
|
|
239
|
+
.form-search .form-search-item-box .form-item-input .input-history[data-v-244ca201]::-webkit-scrollbar-thumb:hover {
|
|
240
240
|
background: var(--n-scrollbar-color-hover);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
/* responsive */
|
|
244
244
|
@media (max-width: 1400px) {
|
|
245
|
-
.form-search[data-v-
|
|
245
|
+
.form-search[data-v-244ca201] {
|
|
246
246
|
--c-search-control-width: var(--c-search-field-width, 240px);
|
|
247
247
|
--c-search-layout-gap: var(--c-search-row-gap, 16px)
|
|
248
248
|
var(--c-search-gap, 28px);
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
@media (max-width: 1200px) {
|
|
252
|
-
.form-search[data-v-
|
|
252
|
+
.form-search[data-v-244ca201] {
|
|
253
253
|
--c-search-control-width: var(--c-search-field-width, 220px);
|
|
254
254
|
--c-search-layout-gap: var(--c-search-row-gap, 16px)
|
|
255
255
|
var(--c-search-gap, 24px);
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
@media (max-width: 900px) {
|
|
259
|
-
.form-search[data-v-
|
|
259
|
+
.form-search[data-v-244ca201] {
|
|
260
260
|
--c-search-control-width: var(--c-search-field-width, 200px);
|
|
261
261
|
--c-search-layout-gap: var(--c-search-row-gap, 12px)
|
|
262
262
|
var(--c-search-gap, 20px);
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
@media (max-width: 600px) {
|
|
266
|
-
.form-search-card[data-v-
|
|
266
|
+
.form-search-card[data-v-244ca201] :is(.n-card-content, .n-card__content) {
|
|
267
267
|
padding: var(--c-search-padding, 16px);
|
|
268
268
|
}
|
|
269
|
-
.form-search[data-v-
|
|
269
|
+
.form-search[data-v-244ca201] {
|
|
270
270
|
--c-search-control-width: 100%;
|
|
271
271
|
--c-search-layout-gap: var(--c-search-row-gap, 12px) 0;
|
|
272
272
|
}
|
|
273
|
-
.form-search .form-search-layout[data-v-
|
|
273
|
+
.form-search .form-search-layout[data-v-244ca201] {
|
|
274
274
|
flex-basis: 100%;
|
|
275
275
|
}
|
|
276
|
-
.form-search .form-search-layout .form-search-item-box[data-v-
|
|
276
|
+
.form-search .form-search-layout .form-search-item-box[data-v-244ca201] {
|
|
277
277
|
width: 100%;
|
|
278
278
|
}
|
|
279
|
-
.form-search .form-item-input .input-history .history-item .delete-icon[data-v-
|
|
279
|
+
.form-search .form-item-input .input-history .history-item .delete-icon[data-v-244ca201] {
|
|
280
280
|
opacity: 1;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
/* grid 由容器宽度决定列数;所有控件占轨道宽度,字段 span 在逻辑层钳制。 */
|
|
284
|
-
.form-search.form-search--grid .form-search-layout[data-v-
|
|
284
|
+
.form-search.form-search--grid .form-search-layout[data-v-244ca201] {
|
|
285
285
|
display: grid;
|
|
286
286
|
grid-template-columns: minmax(0, 1fr);
|
|
287
287
|
}
|
|
288
|
-
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-
|
|
288
|
+
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-244ca201] {
|
|
289
289
|
min-width: 0;
|
|
290
290
|
}
|
|
291
|
-
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-
|
|
292
|
-
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-
|
|
293
|
-
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-
|
|
294
|
-
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-
|
|
295
|
-
.form-search.form-search--grid .form-search-layout .form-item-input .form-search-input-control[data-v-
|
|
296
|
-
.form-search.form-search--grid .form-search-layout .form-item-input .form-search-number-range[data-v-
|
|
291
|
+
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-244ca201] .n-input,
|
|
292
|
+
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-244ca201] .n-select,
|
|
293
|
+
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-244ca201] .n-input-number,
|
|
294
|
+
.form-search.form-search--grid .form-search-layout .form-item-input[data-v-244ca201] .n-date-picker,
|
|
295
|
+
.form-search.form-search--grid .form-search-layout .form-item-input .form-search-input-control[data-v-244ca201],
|
|
296
|
+
.form-search.form-search--grid .form-search-layout .form-item-input .form-search-number-range[data-v-244ca201] {
|
|
297
297
|
width: 100%;
|
|
298
298
|
min-width: 0;
|
|
299
299
|
}
|
|
300
|
-
.form-search.form-search--grid .form-search-number-range[data-v-
|
|
300
|
+
.form-search.form-search--grid .form-search-number-range[data-v-244ca201] .n-input-number {
|
|
301
301
|
width: 0;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
/* layer: icons */
|
|
305
|
-
.i-mdi\:chevron-down[data-v-
|
|
306
|
-
.i-mdi\:chevron-up[data-v-
|
|
307
|
-
.i-mdi\:close[data-v-
|
|
308
|
-
.i-mdi\:filter-variant[data-v-
|
|
309
|
-
.i-mdi\:refresh[data-v-
|
|
310
|
-
.i-mdi\:search[data-v-
|
|
305
|
+
.i-mdi\:chevron-down[data-v-244ca201]{--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;}
|
|
306
|
+
.i-mdi\:chevron-up[data-v-244ca201]{--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;}
|
|
307
|
+
.i-mdi\:close[data-v-244ca201]{--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;}
|
|
308
|
+
.i-mdi\:filter-variant[data-v-244ca201]{--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='M6 13h12v-2H6M3 6v2h18V6M10 18h4v-2h-4z'/%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;}
|
|
309
|
+
.i-mdi\:refresh[data-v-244ca201]{--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;}
|
|
310
|
+
.i-mdi\:search[data-v-244ca201]{--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;}
|
|
311
311
|
/* layer: default */
|
|
312
|
-
.visible[data-v-
|
|
313
|
-
.grid[data-v-
|
|
314
|
-
.inline[data-v-
|
|
315
|
-
.h-4[data-v-
|
|
316
|
-
.w-4[data-v-
|
|
317
|
-
.px[data-v-
|
|
312
|
+
.visible[data-v-244ca201]{visibility:visible;}
|
|
313
|
+
.grid[data-v-244ca201]{display:grid;}
|
|
314
|
+
.inline[data-v-244ca201]{display:inline;}
|
|
315
|
+
.h-4[data-v-244ca201]{height:1rem;}
|
|
316
|
+
.w-4[data-v-244ca201]{width:1rem;}
|
|
317
|
+
.px[data-v-244ca201]{padding-left:1rem;padding-right:1rem;}
|
package/dist/C_Select.css
CHANGED
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* layer: default */
|
|
30
|
-
.blur[data-v-
|
|
30
|
+
.blur[data-v-e82176d6]{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|
package/dist/C_Select2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`);const e=require(`./export-helper.cjs`),t=require(`./selectPresentation.cjs`);let n=require(`vue`),r=require(`naive-ui`);const i=(0,n.defineComponent)({name:`C_Select`,inheritAttrs:!1,__name:`index`,props:{modelValue:{},options:{},multiple:{type:Boolean},filterable:{type:Boolean},tag:{type:Boolean},clearable:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},loading:{type:Boolean},placeholder:{},maxTagCount:{},size:{},status:{},virtualScroll:{default:!0},inputProps:{},fallbackOption:{}},emits:[`update:modelValue`],setup(e,{expose:i,emit:a}){let o=e,s=a,c=(0,n.useTemplateRef)(`select`),l=(0,n.computed)(()=>o.disabled||o.readonly),u=(0,n.computed)(()=>t.t(o.multiple,o.maxTagCount)),d=(0,n.computed)(()=>t.n(o.options)),f=(0,n.computed)(()=>d.value(o.modelValue));function p(e,t){if(l.value)return;let n=f.value.decode(e,t);s(`update:modelValue`,o.multiple&&n===null?[]:n)}return i({focus:()=>c.value?.focus(),blur:()=>c.value?.blur()}),(t,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(r.NSelect),(0,n.mergeProps)({ref_key:`select`,ref:c},t.$attrs,{class:[`c-select`,{"c-select--bounded":u.value}],value:f.value.value,options:f.value.options,multiple:e.multiple,"max-tag-count":u.value?1:e.maxTagCount,filterable:e.filterable,tag:e.tag,clearable:e.clearable,disabled:l.value,loading:e.loading,size:e.size,placeholder:e.placeholder,"virtual-scroll":e.virtualScroll,status:e.status,"input-props":e.inputProps,"fallback-option":
|
|
1
|
+
require(`./chunk.cjs`);const e=require(`./export-helper.cjs`),t=require(`./selectPresentation.cjs`);let n=require(`vue`),r=require(`naive-ui`);const i=(0,n.defineComponent)({name:`C_Select`,inheritAttrs:!1,__name:`index`,props:{modelValue:{},options:{},multiple:{type:Boolean},filterable:{type:Boolean},tag:{type:Boolean},clearable:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},loading:{type:Boolean},placeholder:{},maxTagCount:{},size:{},status:{},virtualScroll:{default:!0},inputProps:{},fallbackOption:{}},emits:[`update:modelValue`],setup(e,{expose:i,emit:a}){let o=e,s=a,c=(0,n.useTemplateRef)(`select`),l=(0,n.computed)(()=>o.disabled||o.readonly),u=(0,n.computed)(()=>t.t(o.multiple,o.maxTagCount)),d=(0,n.computed)(()=>t.n(o.options)),f=(0,n.computed)(()=>d.value(o.modelValue));function p(e,t){if(l.value)return;let n=f.value.decode(e,t);s(`update:modelValue`,o.multiple&&n===null?[]:n)}return i({focus:()=>c.value?.focus(),blur:()=>c.value?.blur()}),(t,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(r.NSelect),(0,n.mergeProps)({ref_key:`select`,ref:c},t.$attrs,{class:[`c-select`,{"c-select--bounded":u.value}],value:f.value.value,options:f.value.options,multiple:e.multiple,"max-tag-count":u.value?1:e.maxTagCount,filterable:e.filterable,tag:e.tag,clearable:e.clearable,disabled:l.value,loading:e.loading,size:e.size,placeholder:e.placeholder,"virtual-scroll":e.virtualScroll,status:e.status,"input-props":e.inputProps,"fallback-option":f.value.resolveFallbackOption(e.fallbackOption),"onUpdate:value":p}),(0,n.createSlots)({_:2},[(0,n.renderList)(t.$slots,(e,r)=>({name:r,fn:(0,n.withCtx)(e=>[(0,n.renderSlot)(t.$slots,r,(0,n.normalizeProps)((0,n.guardReactiveProps)(e??{})),void 0,!0)])}))]),1040,[`class`,`value`,`options`,`multiple`,`max-tag-count`,`filterable`,`tag`,`clearable`,`disabled`,`loading`,`size`,`placeholder`,`virtual-scroll`,`status`,`input-props`,`fallback-option`]))}});var a=e.t(i,[[`__scopeId`,`data-v-e82176d6`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
package/dist/C_Select2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./export-helper.js";import{n as t,t as n}from"./selectPresentation.js";import{computed as r,createBlock as i,createSlots as a,defineComponent as o,guardReactiveProps as s,mergeProps as c,normalizeProps as l,openBlock as u,renderList as d,renderSlot as f,unref as p,useTemplateRef as m,withCtx as h}from"vue";import{NSelect as g}from"naive-ui";var _=e(o({name:`C_Select`,inheritAttrs:!1,__name:`index`,props:{modelValue:{},options:{},multiple:{type:Boolean},filterable:{type:Boolean},tag:{type:Boolean},clearable:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},loading:{type:Boolean},placeholder:{},maxTagCount:{},size:{},status:{},virtualScroll:{default:!0},inputProps:{},fallbackOption:{}},emits:[`update:modelValue`],setup(e,{expose:o,emit:_}){let v=e,y=_,b=m(`select`),x=r(()=>v.disabled||v.readonly),S=r(()=>n(v.multiple,v.maxTagCount)),C=r(()=>t(v.options)),w=r(()=>C.value(v.modelValue));function T(e,t){if(x.value)return;let n=w.value.decode(e,t);y(`update:modelValue`,v.multiple&&n===null?[]:n)}return o({focus:()=>b.value?.focus(),blur:()=>b.value?.blur()}),(t,n)=>(u(),i(p(g),c({ref_key:`select`,ref:b},t.$attrs,{class:[`c-select`,{"c-select--bounded":S.value}],value:w.value.value,options:w.value.options,multiple:e.multiple,"max-tag-count":S.value?1:e.maxTagCount,filterable:e.filterable,tag:e.tag,clearable:e.clearable,disabled:x.value,loading:e.loading,size:e.size,placeholder:e.placeholder,"virtual-scroll":e.virtualScroll,status:e.status,"input-props":e.inputProps,"fallback-option":
|
|
1
|
+
import{t as e}from"./export-helper.js";import{n as t,t as n}from"./selectPresentation.js";import{computed as r,createBlock as i,createSlots as a,defineComponent as o,guardReactiveProps as s,mergeProps as c,normalizeProps as l,openBlock as u,renderList as d,renderSlot as f,unref as p,useTemplateRef as m,withCtx as h}from"vue";import{NSelect as g}from"naive-ui";var _=e(o({name:`C_Select`,inheritAttrs:!1,__name:`index`,props:{modelValue:{},options:{},multiple:{type:Boolean},filterable:{type:Boolean},tag:{type:Boolean},clearable:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},loading:{type:Boolean},placeholder:{},maxTagCount:{},size:{},status:{},virtualScroll:{default:!0},inputProps:{},fallbackOption:{}},emits:[`update:modelValue`],setup(e,{expose:o,emit:_}){let v=e,y=_,b=m(`select`),x=r(()=>v.disabled||v.readonly),S=r(()=>n(v.multiple,v.maxTagCount)),C=r(()=>t(v.options)),w=r(()=>C.value(v.modelValue));function T(e,t){if(x.value)return;let n=w.value.decode(e,t);y(`update:modelValue`,v.multiple&&n===null?[]:n)}return o({focus:()=>b.value?.focus(),blur:()=>b.value?.blur()}),(t,n)=>(u(),i(p(g),c({ref_key:`select`,ref:b},t.$attrs,{class:[`c-select`,{"c-select--bounded":S.value}],value:w.value.value,options:w.value.options,multiple:e.multiple,"max-tag-count":S.value?1:e.maxTagCount,filterable:e.filterable,tag:e.tag,clearable:e.clearable,disabled:x.value,loading:e.loading,size:e.size,placeholder:e.placeholder,"virtual-scroll":e.virtualScroll,status:e.status,"input-props":e.inputProps,"fallback-option":w.value.resolveFallbackOption(e.fallbackOption),"onUpdate:value":T}),a({_:2},[d(t.$slots,(e,n)=>({name:n,fn:h(e=>[f(t.$slots,n,l(s(e??{})),void 0,!0)])}))]),1040,[`class`,`value`,`options`,`multiple`,`max-tag-count`,`filterable`,`tag`,`clearable`,`disabled`,`loading`,`size`,`placeholder`,`virtual-scroll`,`status`,`input-props`,`fallback-option`]))}}),[[`__scopeId`,`data-v-e82176d6`]]);export{_ as t};
|