unplugin-vue-components 29.2.0 → 31.0.0
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/README.md +4 -36
- package/dist/esbuild.d.mts +7 -0
- package/dist/esbuild.mjs +9 -0
- package/dist/{index.d.cts → index.d.mts} +4 -2
- package/dist/index.mjs +4 -0
- package/dist/nuxt.d.mts +7 -0
- package/dist/{nuxt.js → nuxt.mjs} +4 -4
- package/dist/{resolvers.d.ts → resolvers.d.mts} +189 -218
- package/dist/{resolvers.js → resolvers.mjs} +28 -83
- package/dist/rolldown.d.mts +7 -0
- package/dist/rolldown.mjs +9 -0
- package/dist/rollup.d.mts +7 -0
- package/dist/rollup.mjs +9 -0
- package/dist/rspack.d.mts +6 -0
- package/dist/rspack.mjs +9 -0
- package/dist/{src-bfjkatac.js → src-pYuu2TZ_.mjs} +53 -141
- package/dist/types-CWfK8m_y.d.mts +217 -0
- package/dist/types.d.mts +2 -0
- package/dist/types.mjs +1 -0
- package/dist/utils-DuuqqWXg.mjs +234 -0
- package/dist/vite.d.mts +9 -0
- package/dist/vite.mjs +9 -0
- package/dist/webpack.d.mts +7 -0
- package/dist/webpack.mjs +9 -0
- package/package.json +40 -78
- package/dist/esbuild.cjs +0 -9
- package/dist/esbuild.d.cts +0 -6
- package/dist/esbuild.d.ts +0 -7
- package/dist/esbuild.js +0 -9
- package/dist/index.cjs +0 -9
- package/dist/index.d.ts +0 -13
- package/dist/index.js +0 -5
- package/dist/nuxt.cjs +0 -14
- package/dist/nuxt.d.cts +0 -6
- package/dist/nuxt.d.ts +0 -7
- package/dist/resolvers.cjs +0 -2074
- package/dist/resolvers.d.cts +0 -574
- package/dist/rolldown.cjs +0 -9
- package/dist/rolldown.d.cts +0 -6
- package/dist/rolldown.d.ts +0 -7
- package/dist/rolldown.js +0 -9
- package/dist/rollup.cjs +0 -9
- package/dist/rollup.d.cts +0 -6
- package/dist/rollup.d.ts +0 -7
- package/dist/rollup.js +0 -9
- package/dist/rspack.cjs +0 -9
- package/dist/rspack.d.cts +0 -5
- package/dist/rspack.d.ts +0 -6
- package/dist/rspack.js +0 -9
- package/dist/src-BTwFq3T3.cjs +0 -188
- package/dist/src-D2-JfLYq.js +0 -187
- package/dist/src-DAvVDVLg.cjs +0 -769
- package/dist/types-CBTc19th.cjs +0 -0
- package/dist/types-DSJ5r-ta.d.cts +0 -225
- package/dist/types-rC3290ja.d.ts +0 -225
- package/dist/types.cjs +0 -1
- package/dist/types.d.cts +0 -2
- package/dist/types.d.ts +0 -2
- package/dist/types.js +0 -3
- package/dist/utils-8UQ22cuO.cjs +0 -1689
- package/dist/utils-BoXu-4gQ.js +0 -1523
- package/dist/vite.cjs +0 -9
- package/dist/vite.d.cts +0 -8
- package/dist/vite.d.ts +0 -9
- package/dist/vite.js +0 -9
- package/dist/webpack.cjs +0 -9
- package/dist/webpack.d.cts +0 -6
- package/dist/webpack.d.ts +0 -7
- package/dist/webpack.js +0 -9
- /package/dist/{types-DQoXDiso.js → types--fVOUYBq.mjs} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { ComponentResolveResult, ComponentResolver } from "./types-
|
|
1
|
+
import { n as ComponentResolveResult, r as ComponentResolver } from "./types-CWfK8m_y.mjs";
|
|
2
2
|
import { FilterPattern } from "unplugin-utils";
|
|
3
3
|
|
|
4
4
|
//#region src/core/resolvers/antdv.d.ts
|
|
5
5
|
interface AntDesignVueResolverOptions {
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
* exclude components that do not require automatic import
|
|
8
|
+
*
|
|
9
|
+
* @default []
|
|
10
|
+
*/
|
|
11
11
|
exclude?: string[];
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
* import style along with components
|
|
14
|
+
*
|
|
15
|
+
* @default 'css'
|
|
16
|
+
*/
|
|
17
17
|
importStyle?: boolean | 'css' | 'less' | 'css-in-js';
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
* resolve `ant-design-vue' icons
|
|
20
|
+
*
|
|
21
|
+
* requires package `@ant-design/icons-vue`
|
|
22
|
+
*
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
25
|
resolveIcons?: boolean;
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
* @deprecated use `importStyle: 'css'` instead
|
|
28
|
+
*/
|
|
29
29
|
importCss?: boolean;
|
|
30
30
|
/**
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
* @deprecated use `importStyle: 'less'` instead
|
|
32
|
+
*/
|
|
33
33
|
importLess?: boolean;
|
|
34
34
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
* use commonjs build default false
|
|
36
|
+
*/
|
|
37
37
|
cjs?: boolean;
|
|
38
38
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
* rename package
|
|
40
|
+
*
|
|
41
|
+
* @default 'ant-design-vue'
|
|
42
|
+
*/
|
|
43
43
|
packageName?: string;
|
|
44
44
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
* customize prefix of component
|
|
46
|
+
* @default 'A'
|
|
47
|
+
*/
|
|
48
48
|
prefix?: string;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
@@ -70,28 +70,28 @@ type AllowResolveIconOption = true | {
|
|
|
70
70
|
type ResolveIconsOption = DisallowResolveIconOption | AllowResolveIconOption;
|
|
71
71
|
interface ArcoResolverOptions {
|
|
72
72
|
/**
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
* exclude components that do not require automatic import
|
|
74
|
+
*
|
|
75
|
+
* @default []
|
|
76
|
+
*/
|
|
77
77
|
exclude?: string | RegExp | (string | RegExp)[];
|
|
78
78
|
/**
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
* import style css or less with components
|
|
80
|
+
*
|
|
81
|
+
* @default 'css'
|
|
82
|
+
*/
|
|
83
83
|
importStyle?: boolean | 'css' | 'less';
|
|
84
84
|
/**
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
* resolve icons
|
|
86
|
+
*
|
|
87
|
+
* @default false
|
|
88
|
+
*/
|
|
89
89
|
resolveIcons?: ResolveIconsOption;
|
|
90
90
|
/**
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
* Control style automatic import
|
|
92
|
+
*
|
|
93
|
+
* @default true
|
|
94
|
+
*/
|
|
95
95
|
sideEffect?: boolean;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
@@ -108,10 +108,10 @@ declare function ArcoResolver(options?: ArcoResolverOptions): ComponentResolver;
|
|
|
108
108
|
//#region src/core/resolvers/bootstrap-vue.d.ts
|
|
109
109
|
interface BootstrapVueResolverOptions {
|
|
110
110
|
/**
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
111
|
+
* Auto import for directives.
|
|
112
|
+
*
|
|
113
|
+
* @default true
|
|
114
|
+
*/
|
|
115
115
|
directives?: boolean;
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
@@ -139,20 +139,20 @@ declare function BootstrapVue3Resolver(_options?: BootstrapVueResolverOptions):
|
|
|
139
139
|
//#region src/core/resolvers/devui.d.ts
|
|
140
140
|
interface DevResolverOptions {
|
|
141
141
|
/**
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
* bring in components and styles
|
|
143
|
+
*
|
|
144
|
+
* @default true
|
|
145
|
+
*/
|
|
146
146
|
importStyle?: boolean;
|
|
147
147
|
/**
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
* auto import for directives
|
|
149
|
+
*
|
|
150
|
+
* @default true
|
|
151
|
+
*/
|
|
152
152
|
directives?: boolean;
|
|
153
153
|
/**
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
* use umd lib file
|
|
155
|
+
*/
|
|
156
156
|
ssr?: boolean;
|
|
157
157
|
}
|
|
158
158
|
declare function DevUiResolver(options?: DevResolverOptions): ComponentResolver[];
|
|
@@ -160,38 +160,38 @@ declare function DevUiResolver(options?: DevResolverOptions): ComponentResolver[
|
|
|
160
160
|
//#region src/core/resolvers/element-plus.d.ts
|
|
161
161
|
interface ElementPlusResolverOptions {
|
|
162
162
|
/**
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
163
|
+
* import style css or sass with components
|
|
164
|
+
*
|
|
165
|
+
* @default 'css'
|
|
166
|
+
*/
|
|
167
167
|
importStyle?: boolean | 'css' | 'sass';
|
|
168
168
|
/**
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
* use commonjs lib & source css or scss for ssr
|
|
170
|
+
*/
|
|
171
171
|
ssr?: boolean;
|
|
172
172
|
/**
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
173
|
+
* specify element-plus version to load style
|
|
174
|
+
*
|
|
175
|
+
* @default installed version
|
|
176
|
+
*/
|
|
177
177
|
version?: string;
|
|
178
178
|
/**
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
179
|
+
* auto import for directives
|
|
180
|
+
*
|
|
181
|
+
* @default true
|
|
182
|
+
*/
|
|
183
183
|
directives?: boolean;
|
|
184
184
|
/**
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
* exclude component name, if match do not resolve the name
|
|
186
|
+
*/
|
|
187
187
|
exclude?: RegExp;
|
|
188
188
|
/**
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
* a list of component names that have no styles, so resolving their styles file should be prevented
|
|
190
|
+
*/
|
|
191
191
|
noStylesComponents?: string[];
|
|
192
192
|
/**
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
* nightly version
|
|
194
|
+
*/
|
|
195
195
|
nightly?: boolean;
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
@@ -206,34 +206,13 @@ interface ElementPlusResolverOptions {
|
|
|
206
206
|
*/
|
|
207
207
|
declare function ElementPlusResolver(options?: ElementPlusResolverOptions): ComponentResolver[];
|
|
208
208
|
//#endregion
|
|
209
|
-
//#region src/core/resolvers/element-ui.d.ts
|
|
210
|
-
interface ElementUiResolverOptions {
|
|
211
|
-
/**
|
|
212
|
-
* import style css or sass with components
|
|
213
|
-
*
|
|
214
|
-
* @default 'css'
|
|
215
|
-
*/
|
|
216
|
-
importStyle?: boolean | 'css' | 'sass';
|
|
217
|
-
/**
|
|
218
|
-
* exclude component name, if match do not resolve the name
|
|
219
|
-
*/
|
|
220
|
-
exclude?: RegExp;
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* Resolver for Element-UI
|
|
224
|
-
* @link https://element.eleme.cn/#/zh-CN
|
|
225
|
-
* @version @element-ui ^2.15.3, @vue ^2.6.14
|
|
226
|
-
* @author @nabaonan
|
|
227
|
-
*/
|
|
228
|
-
declare function ElementUiResolver(options?: ElementUiResolverOptions): ComponentResolver;
|
|
229
|
-
//#endregion
|
|
230
209
|
//#region src/core/resolvers/headless-ui.d.ts
|
|
231
210
|
interface HeadlessUiResolverOptions {
|
|
232
211
|
/**
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
212
|
+
* prefix for headless ui components used in templates
|
|
213
|
+
*
|
|
214
|
+
* @default ""
|
|
215
|
+
*/
|
|
237
216
|
prefix?: string;
|
|
238
217
|
}
|
|
239
218
|
/**
|
|
@@ -246,32 +225,32 @@ declare function HeadlessUiResolver(options?: HeadlessUiResolverOptions): Compon
|
|
|
246
225
|
//#region src/core/resolvers/idux.d.ts
|
|
247
226
|
interface IduxResolverOptions {
|
|
248
227
|
/**
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
228
|
+
* exclude components that do not require automatic import
|
|
229
|
+
*
|
|
230
|
+
* @default []
|
|
231
|
+
*/
|
|
253
232
|
exclude?: string[];
|
|
254
233
|
/**
|
|
255
|
-
|
|
256
|
-
|
|
234
|
+
* import style along with components
|
|
235
|
+
*/
|
|
257
236
|
importStyle?: 'css' | 'less';
|
|
258
237
|
/**
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
238
|
+
* theme for import style
|
|
239
|
+
*
|
|
240
|
+
* @default 'default' for 1.x version
|
|
241
|
+
*/
|
|
263
242
|
importStyleTheme?: string;
|
|
264
243
|
/**
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
244
|
+
* The scope of the packages.
|
|
245
|
+
*
|
|
246
|
+
* @default '@idux'
|
|
247
|
+
*/
|
|
269
248
|
scope?: string;
|
|
270
249
|
/**
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
250
|
+
* specify idux version to load style
|
|
251
|
+
*
|
|
252
|
+
* @default installed version
|
|
253
|
+
*/
|
|
275
254
|
version?: string;
|
|
276
255
|
}
|
|
277
256
|
/**
|
|
@@ -307,22 +286,22 @@ declare function IonicResolver(): ComponentResolver;
|
|
|
307
286
|
//#region src/core/resolvers/layui-vue.d.ts
|
|
308
287
|
interface LayuiVueResolverOptions {
|
|
309
288
|
/**
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
289
|
+
* import style along with components
|
|
290
|
+
*
|
|
291
|
+
* @default 'css'
|
|
292
|
+
*/
|
|
314
293
|
importStyle?: boolean | 'css';
|
|
315
294
|
/**
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
295
|
+
* resolve '@layui/layui-vue' icons
|
|
296
|
+
* requires package `@layui/icons-vue`
|
|
297
|
+
*
|
|
298
|
+
* @default false
|
|
299
|
+
*/
|
|
321
300
|
resolveIcons?: boolean;
|
|
322
301
|
/**
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
302
|
+
* exclude components that do not require automatic import
|
|
303
|
+
*
|
|
304
|
+
*/
|
|
326
305
|
exclude?: FilterPattern;
|
|
327
306
|
}
|
|
328
307
|
/**
|
|
@@ -345,30 +324,30 @@ declare function NaiveUiResolver(): ComponentResolver;
|
|
|
345
324
|
//#region src/core/resolvers/prime-vue.d.ts
|
|
346
325
|
interface PrimeVueResolverOptions {
|
|
347
326
|
/**
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
327
|
+
* import style along with components
|
|
328
|
+
*
|
|
329
|
+
* @default true
|
|
330
|
+
*/
|
|
352
331
|
importStyle?: boolean;
|
|
353
332
|
/**
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
333
|
+
* import `primeicons' icons
|
|
334
|
+
*
|
|
335
|
+
* requires package `primeicons`
|
|
336
|
+
*
|
|
337
|
+
* @default true
|
|
338
|
+
*/
|
|
360
339
|
importIcons?: boolean;
|
|
361
340
|
/**
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
341
|
+
* imports a free theme - set theme name here (e.g. saga-blue)
|
|
342
|
+
*
|
|
343
|
+
* @default ''
|
|
344
|
+
*/
|
|
366
345
|
importTheme?: string;
|
|
367
346
|
/**
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
347
|
+
* prefix for components (e.g. 'P' to resolve Menu from PMenu)
|
|
348
|
+
*
|
|
349
|
+
* @default ''
|
|
350
|
+
*/
|
|
372
351
|
prefix?: string;
|
|
373
352
|
}
|
|
374
353
|
/**
|
|
@@ -389,24 +368,24 @@ declare function QuasarResolver(): ComponentResolver;
|
|
|
389
368
|
//#region src/core/resolvers/tdesign.d.ts
|
|
390
369
|
interface TDesignResolverOptions {
|
|
391
370
|
/**
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
371
|
+
* select the specified library
|
|
372
|
+
* @default 'vue'
|
|
373
|
+
*/
|
|
395
374
|
library?: 'vue' | 'vue-next' | 'react' | 'mobile-vue' | 'mobile-react';
|
|
396
375
|
/**
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
376
|
+
* resolve `tdesign-icons'
|
|
377
|
+
* @default false
|
|
378
|
+
*/
|
|
400
379
|
resolveIcons?: boolean;
|
|
401
380
|
/**
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
381
|
+
* whether to import ESM version
|
|
382
|
+
* @default false
|
|
383
|
+
*/
|
|
405
384
|
esm?: boolean;
|
|
406
385
|
/**
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
386
|
+
* exclude component name, if match do not resolve the name
|
|
387
|
+
*
|
|
388
|
+
*/
|
|
410
389
|
exclude?: FilterPattern;
|
|
411
390
|
}
|
|
412
391
|
declare function TDesignResolver(options?: TDesignResolverOptions): ComponentResolver;
|
|
@@ -414,10 +393,10 @@ declare function TDesignResolver(options?: TDesignResolverOptions): ComponentRes
|
|
|
414
393
|
//#region src/core/resolvers/vant.d.ts
|
|
415
394
|
interface VantResolverOptions {
|
|
416
395
|
/**
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
396
|
+
* import style css or less along with components
|
|
397
|
+
*
|
|
398
|
+
* @default true
|
|
399
|
+
*/
|
|
421
400
|
importStyle?: boolean | 'css' | 'less';
|
|
422
401
|
}
|
|
423
402
|
/**
|
|
@@ -430,43 +409,36 @@ declare function VantResolver(options?: VantResolverOptions): ComponentResolver;
|
|
|
430
409
|
//#region src/core/resolvers/varlet-ui.d.ts
|
|
431
410
|
interface VarletUIResolverOptions {
|
|
432
411
|
/**
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
*/
|
|
438
|
-
version?: 'vue3' | 'vue2';
|
|
439
|
-
/**
|
|
440
|
-
* import style along with components
|
|
441
|
-
*
|
|
442
|
-
* @default 'css'
|
|
443
|
-
*/
|
|
412
|
+
* import style along with components
|
|
413
|
+
*
|
|
414
|
+
* @default 'css'
|
|
415
|
+
*/
|
|
444
416
|
importStyle?: boolean | 'css' | 'less';
|
|
445
417
|
/**
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
418
|
+
* style entry file extname
|
|
419
|
+
*
|
|
420
|
+
* @default '.mjs'
|
|
421
|
+
*/
|
|
450
422
|
styleExtname?: string;
|
|
451
423
|
/**
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
424
|
+
* auto import for directives
|
|
425
|
+
*
|
|
426
|
+
* @default true
|
|
427
|
+
*/
|
|
456
428
|
directives?: boolean;
|
|
457
429
|
/**
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
430
|
+
* compatible with unplugin-auto-import
|
|
431
|
+
*
|
|
432
|
+
* @default false
|
|
433
|
+
*/
|
|
462
434
|
autoImport?: boolean;
|
|
463
435
|
/**
|
|
464
|
-
|
|
465
|
-
|
|
436
|
+
* @deprecated use `importStyle: 'css'` instead
|
|
437
|
+
*/
|
|
466
438
|
importCss?: boolean;
|
|
467
439
|
/**
|
|
468
|
-
|
|
469
|
-
|
|
440
|
+
* @deprecated use `importStyle: 'less'` instead
|
|
441
|
+
*/
|
|
470
442
|
importLess?: boolean;
|
|
471
443
|
}
|
|
472
444
|
declare function getResolved(name: string, options: VarletUIResolverOptions): ComponentResolveResult;
|
|
@@ -474,52 +446,51 @@ declare function getResolved(name: string, options: VarletUIResolverOptions): Co
|
|
|
474
446
|
* Resolver for VarletUI
|
|
475
447
|
*
|
|
476
448
|
* @link https://github.com/varletjs/varlet
|
|
477
|
-
* @link https://github.com/varletjs/varlet-vue2
|
|
478
449
|
*/
|
|
479
450
|
declare function VarletUIResolver(options?: VarletUIResolverOptions): ComponentResolver[];
|
|
480
451
|
//#endregion
|
|
481
452
|
//#region src/core/resolvers/veui.d.ts
|
|
482
453
|
interface VeuiPeerConfig {
|
|
483
454
|
/**
|
|
484
|
-
|
|
485
|
-
|
|
455
|
+
* The package name of the peer module.
|
|
456
|
+
*/
|
|
486
457
|
package: string;
|
|
487
458
|
/**
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
459
|
+
* The directory path of the peer module.
|
|
460
|
+
* @default 'components'
|
|
461
|
+
*/
|
|
491
462
|
path?: string;
|
|
492
463
|
/**
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
464
|
+
* The file name template for the peer module.
|
|
465
|
+
* @default '{module}.css'
|
|
466
|
+
*/
|
|
496
467
|
fileName?: `${string}{module}${string}`;
|
|
497
468
|
/**
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
469
|
+
* The text transform to be applied to the '{module}' part of the file name.
|
|
470
|
+
* @default 'kebab-case'
|
|
471
|
+
*/
|
|
501
472
|
transform?: 'kebab-case' | 'camelCase' | 'PascalCase' | false;
|
|
502
473
|
}
|
|
503
474
|
type SupportedLocale = 'en-US' | 'zh-Hans';
|
|
504
475
|
interface VeuiResolverOptions {
|
|
505
476
|
/**
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
477
|
+
* The alias of 'veui` package.
|
|
478
|
+
* @default 'veui'
|
|
479
|
+
*/
|
|
509
480
|
alias?: string;
|
|
510
481
|
/**
|
|
511
|
-
|
|
512
|
-
|
|
482
|
+
* Peer modules to be injected.
|
|
483
|
+
*/
|
|
513
484
|
modules?: VeuiPeerConfig[];
|
|
514
485
|
/**
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
486
|
+
* Locale modules to be injected.
|
|
487
|
+
* @default 'zh-Hans'
|
|
488
|
+
*/
|
|
518
489
|
locale?: SupportedLocale | SupportedLocale[] | false;
|
|
519
490
|
/**
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
491
|
+
* Global modules to be injected to all components.
|
|
492
|
+
* @default []
|
|
493
|
+
*/
|
|
523
494
|
global?: string[];
|
|
524
495
|
}
|
|
525
496
|
/**
|
|
@@ -571,4 +542,4 @@ declare function VueUseComponentsResolver(): ComponentResolver;
|
|
|
571
542
|
*/
|
|
572
543
|
declare function VueUseDirectiveResolver(): ComponentResolver;
|
|
573
544
|
//#endregion
|
|
574
|
-
export { AllowResolveIconOption, AntDesignVueResolver, AntDesignVueResolverOptions, ArcoResolver, ArcoResolverOptions, BootstrapVue3Resolver, BootstrapVueNextResolver, BootstrapVueResolver, BootstrapVueResolverOptions, DevResolverOptions, DevUiResolver, DisallowResolveIconOption, ElementPlusResolver, ElementPlusResolverOptions,
|
|
545
|
+
export { AllowResolveIconOption, AntDesignVueResolver, AntDesignVueResolverOptions, ArcoResolver, ArcoResolverOptions, BootstrapVue3Resolver, BootstrapVueNextResolver, BootstrapVueResolver, BootstrapVueResolverOptions, DevResolverOptions, DevUiResolver, DisallowResolveIconOption, ElementPlusResolver, ElementPlusResolverOptions, HeadlessUiResolver, HeadlessUiResolverOptions, IduxResolver, IduxResolverOptions, InklineResolver, IonicBuiltInComponents, IonicResolver, LayuiVueResolver, LayuiVueResolverOptions, NaiveUiResolver, PrimeVueResolver, PrimeVueResolverOptions, QuasarResolver, ResolveIconsOption, TDesignResolver, TDesignResolverOptions, VantResolver, VantResolverOptions, VarletUIResolver, VarletUIResolverOptions, VeuiResolver, VeuiResolverOptions, ViewUiResolver, VueUseComponentsResolver, VueUseDirectiveResolver, Vuetify3Resolver, VuetifyResolver, getResolved };
|