unplugin-vue-components 28.7.0 → 28.8.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.
Files changed (42) hide show
  1. package/README.md +5 -4
  2. package/dist/esbuild.cjs +2 -2
  3. package/dist/esbuild.d.cts +3 -4
  4. package/dist/esbuild.d.ts +3 -4
  5. package/dist/esbuild.js +2 -2
  6. package/dist/index.cjs +2 -2
  7. package/dist/index.d.cts +1 -3
  8. package/dist/index.d.ts +1 -3
  9. package/dist/index.js +2 -2
  10. package/dist/nuxt.cjs +2 -2
  11. package/dist/nuxt.d.cts +3 -4
  12. package/dist/nuxt.d.ts +3 -4
  13. package/dist/nuxt.js +2 -2
  14. package/dist/resolvers.cjs +1 -1
  15. package/dist/resolvers.d.cts +3 -23
  16. package/dist/resolvers.d.ts +3 -23
  17. package/dist/resolvers.js +29 -1
  18. package/dist/rollup.cjs +2 -2
  19. package/dist/rollup.d.cts +3 -4
  20. package/dist/rollup.d.ts +3 -4
  21. package/dist/rollup.js +2 -2
  22. package/dist/rspack.cjs +2 -2
  23. package/dist/rspack.d.cts +1 -2
  24. package/dist/rspack.d.ts +1 -2
  25. package/dist/rspack.js +2 -2
  26. package/dist/{src-DkHPEJdR.js → src-B9aLSEVj.js} +19 -7
  27. package/dist/{src-CAOQxNIe.cjs → src-C_roJwTj.cjs} +19 -7
  28. package/dist/{types-BDM6QBE8.d.cts → types-BED632qH.d.cts} +6 -1
  29. package/dist/{types-BOtuQ8Dm.d.ts → types-CFwIfA2K.d.ts} +6 -1
  30. package/dist/types.d.cts +1 -1
  31. package/dist/types.d.ts +1 -1
  32. package/dist/{utils-B0KIrWYZ.cjs → utils-BIvt10am.cjs} +177 -171
  33. package/dist/{utils-Dmc5QTPf.js → utils-DuLwPrUJ.js} +178 -200
  34. package/dist/vite.cjs +2 -2
  35. package/dist/vite.d.cts +1 -2
  36. package/dist/vite.d.ts +1 -2
  37. package/dist/vite.js +2 -2
  38. package/dist/webpack.cjs +2 -2
  39. package/dist/webpack.d.cts +1 -2
  40. package/dist/webpack.d.ts +3 -4
  41. package/dist/webpack.js +2 -2
  42. package/package.json +19 -18
package/README.md CHANGED
@@ -73,7 +73,7 @@ export default {
73
73
  module.exports = {
74
74
  /* ... */
75
75
  plugins: [
76
- require('unplugin-vue-components/webpack').default({ /* options */ }),
76
+ require('unplugin-vue-components/webpack')({ /* options */ }),
77
77
  ],
78
78
  }
79
79
  ```
@@ -88,7 +88,7 @@ module.exports = {
88
88
  module.exports = {
89
89
  /* ... */
90
90
  plugins: [
91
- require('unplugin-vue-components/rspack').default({ /* options */ }),
91
+ require('unplugin-vue-components/rspack')({ /* options */ }),
92
92
  ],
93
93
  }
94
94
  ```
@@ -110,7 +110,7 @@ You might not need this plugin for Nuxt. Use [`@nuxt/components`](https://github
110
110
  module.exports = {
111
111
  /* ... */
112
112
  plugins: [
113
- require('unplugin-vue-components/webpack').default({ /* options */ }),
113
+ require('unplugin-vue-components/webpack')({ /* options */ }),
114
114
  ],
115
115
  }
116
116
  ```
@@ -360,9 +360,10 @@ Components({
360
360
  extensions: ['vue'],
361
361
 
362
362
  // Glob patterns to match file names to be detected as components.
363
+ // You can also specify multiple like this: `src/components/*.{vue,tsx}`
363
364
  // When specified, the `dirs`, `extensions`, and `directoryAsNamespace` options will be ignored.
364
365
  // If you want to exclude components being registered, use negative globs with leading `!`.
365
- globs: ['src/components/*.{vue}'],
366
+ globs: ['src/components/*.vue'],
366
367
 
367
368
  // search for subdirectories
368
369
  deep: true,
package/dist/esbuild.cjs CHANGED
@@ -1,5 +1,5 @@
1
- require('./utils-B0KIrWYZ.cjs');
2
- const require_src = require('./src-CAOQxNIe.cjs');
1
+ require('./utils-BIvt10am.cjs');
2
+ const require_src = require('./src-C_roJwTj.cjs');
3
3
  require('./types-CBTc19th.cjs');
4
4
 
5
5
  //#region src/esbuild.ts
@@ -1,8 +1,7 @@
1
- import { Options } from "./types-BDM6QBE8.cjs";
2
- import * as esbuild2 from "esbuild";
1
+ import { Options } from "./types-BED632qH.cjs";
2
+ import * as esbuild4 from "esbuild";
3
3
 
4
4
  //#region src/esbuild.d.ts
5
- declare const _default: (options: Options) => esbuild2.Plugin;
6
-
5
+ declare const _default: (options: Options) => esbuild4.Plugin;
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/esbuild.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./types-BOtuQ8Dm.js";
2
- import * as esbuild6 from "esbuild";
1
+ import { Options } from "./types-CFwIfA2K.js";
2
+ import * as esbuild7 from "esbuild";
3
3
 
4
4
  //#region src/esbuild.d.ts
5
- declare const _default: (options: Options) => esbuild6.Plugin;
6
-
5
+ declare const _default: (options: Options) => esbuild7.Plugin;
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/esbuild.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./utils-Dmc5QTPf.js";
2
- import { unplugin_default } from "./src-DkHPEJdR.js";
1
+ import "./utils-DuLwPrUJ.js";
2
+ import { unplugin_default } from "./src-B9aLSEVj.js";
3
3
  import "./types-Cv8NMtbo.js";
4
4
 
5
5
  //#region src/esbuild.ts
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- const require_utils = require('./utils-B0KIrWYZ.cjs');
3
- const require_src = require('./src-CAOQxNIe.cjs');
2
+ const require_utils = require('./utils-BIvt10am.cjs');
3
+ const require_src = require('./src-C_roJwTj.cjs');
4
4
  require('./types-CBTc19th.cjs');
5
5
 
6
6
  exports.camelCase = require_utils.camelCase;
package/dist/index.d.cts CHANGED
@@ -1,15 +1,13 @@
1
- import { ComponentInfo, ComponentResolveResult, ComponentResolver, ComponentResolverFunction, ComponentResolverObject, ComponentsImportMap, ImportInfo, ImportInfoLegacy, Matcher, Options, PublicPluginAPI, ResolvedOptions, SideEffectsInfo, SupportedTransformer, Transformer, TypeImport } from "./types-BDM6QBE8.cjs";
1
+ import { ComponentInfo, ComponentResolveResult, ComponentResolver, ComponentResolverFunction, ComponentResolverObject, ComponentsImportMap, ImportInfo, ImportInfoLegacy, Matcher, Options, PublicPluginAPI, ResolvedOptions, SideEffectsInfo, SupportedTransformer, Transformer, TypeImport } from "./types-BED632qH.cjs";
2
2
  import * as unplugin9 from "unplugin";
3
3
  import { FilterPattern } from "unplugin-utils";
4
4
 
5
5
  //#region src/core/unplugin.d.ts
6
6
  declare const _default: unplugin9.UnpluginInstance<Options, boolean>;
7
-
8
7
  //#endregion
9
8
  //#region src/core/utils.d.ts
10
9
  declare function pascalCase(str: string): string;
11
10
  declare function camelCase(str: string): string;
12
11
  declare function kebabCase(key: string): string;
13
-
14
12
  //#endregion
15
13
  export { ComponentInfo, ComponentResolveResult, ComponentResolver, ComponentResolverFunction, ComponentResolverObject, ComponentsImportMap, ImportInfo, ImportInfoLegacy, Matcher, Options, PublicPluginAPI, ResolvedOptions, SideEffectsInfo, SupportedTransformer, Transformer, TypeImport, camelCase, _default as default, kebabCase, pascalCase };
package/dist/index.d.ts CHANGED
@@ -1,15 +1,13 @@
1
- import { ComponentInfo, ComponentResolveResult, ComponentResolver, ComponentResolverFunction, ComponentResolverObject, ComponentsImportMap, ImportInfo, ImportInfoLegacy, Matcher, Options, PublicPluginAPI, ResolvedOptions, SideEffectsInfo, SupportedTransformer, Transformer, TypeImport } from "./types-BOtuQ8Dm.js";
1
+ import { ComponentInfo, ComponentResolveResult, ComponentResolver, ComponentResolverFunction, ComponentResolverObject, ComponentsImportMap, ImportInfo, ImportInfoLegacy, Matcher, Options, PublicPluginAPI, ResolvedOptions, SideEffectsInfo, SupportedTransformer, Transformer, TypeImport } from "./types-CFwIfA2K.js";
2
2
  import * as unplugin9 from "unplugin";
3
3
  import { FilterPattern } from "unplugin-utils";
4
4
 
5
5
  //#region src/core/unplugin.d.ts
6
6
  declare const _default: unplugin9.UnpluginInstance<Options, boolean>;
7
-
8
7
  //#endregion
9
8
  //#region src/core/utils.d.ts
10
9
  declare function pascalCase(str: string): string;
11
10
  declare function camelCase(str: string): string;
12
11
  declare function kebabCase(key: string): string;
13
-
14
12
  //#endregion
15
13
  export { ComponentInfo, ComponentResolveResult, ComponentResolver, ComponentResolverFunction, ComponentResolverObject, ComponentsImportMap, ImportInfo, ImportInfoLegacy, Matcher, Options, PublicPluginAPI, ResolvedOptions, SideEffectsInfo, SupportedTransformer, Transformer, TypeImport, camelCase, _default as default, kebabCase, pascalCase };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { camelCase, kebabCase, pascalCase } from "./utils-Dmc5QTPf.js";
2
- import { unplugin_default } from "./src-DkHPEJdR.js";
1
+ import { camelCase, kebabCase, pascalCase } from "./utils-DuLwPrUJ.js";
2
+ import { unplugin_default } from "./src-B9aLSEVj.js";
3
3
  import "./types-Cv8NMtbo.js";
4
4
 
5
5
  export { camelCase, unplugin_default as default, kebabCase, pascalCase };
package/dist/nuxt.cjs CHANGED
@@ -1,5 +1,5 @@
1
- const require_utils = require('./utils-B0KIrWYZ.cjs');
2
- const require_src = require('./src-CAOQxNIe.cjs');
1
+ const require_utils = require('./utils-BIvt10am.cjs');
2
+ const require_src = require('./src-C_roJwTj.cjs');
3
3
  require('./types-CBTc19th.cjs');
4
4
  const __nuxt_kit = require_utils.__toESM(require("@nuxt/kit"));
5
5
 
package/dist/nuxt.d.cts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./types-BDM6QBE8.cjs";
2
- import * as _nuxt_schema0 from "@nuxt/schema";
1
+ import { Options } from "./types-BED632qH.cjs";
2
+ import * as _nuxt_schema5 from "@nuxt/schema";
3
3
 
4
4
  //#region src/nuxt.d.ts
5
- declare const _default: _nuxt_schema0.NuxtModule<Options, Options, false>;
6
-
5
+ declare const _default: _nuxt_schema5.NuxtModule<Options, Options, false>;
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/nuxt.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./types-BOtuQ8Dm.js";
2
- import * as _nuxt_schema4 from "@nuxt/schema";
1
+ import { Options } from "./types-CFwIfA2K.js";
2
+ import * as _nuxt_schema8 from "@nuxt/schema";
3
3
 
4
4
  //#region src/nuxt.d.ts
5
- declare const _default: _nuxt_schema4.NuxtModule<Options, Options, false>;
6
-
5
+ declare const _default: _nuxt_schema8.NuxtModule<Options, Options, false>;
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/nuxt.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./utils-Dmc5QTPf.js";
2
- import { unplugin_default } from "./src-DkHPEJdR.js";
1
+ import "./utils-DuLwPrUJ.js";
2
+ import { unplugin_default } from "./src-B9aLSEVj.js";
3
3
  import "./types-Cv8NMtbo.js";
4
4
  import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
5
5
 
@@ -1,4 +1,4 @@
1
- const require_utils = require('./utils-B0KIrWYZ.cjs');
1
+ const require_utils = require('./utils-BIvt10am.cjs');
2
2
  const node_fs = require_utils.__toESM(require("node:fs"));
3
3
  const node_process = require_utils.__toESM(require("node:process"));
4
4
  const node_path = require_utils.__toESM(require("node:path"));
@@ -1,4 +1,4 @@
1
- import { ComponentResolveResult, ComponentResolver } from "./types-BDM6QBE8.cjs";
1
+ import { ComponentResolveResult, ComponentResolver } from "./types-BED632qH.cjs";
2
2
  import { FilterPattern } from "unplugin-utils";
3
3
 
4
4
  //#region src/core/resolvers/antdv.d.ts
@@ -57,7 +57,8 @@ interface AntDesignVueResolverOptions {
57
57
  * @author @yangss3
58
58
  * @link https://antdv.com/
59
59
  */
60
- declare function AntDesignVueResolver(options?: AntDesignVueResolverOptions): ComponentResolver; //#endregion
60
+ declare function AntDesignVueResolver(options?: AntDesignVueResolverOptions): ComponentResolver;
61
+ //#endregion
61
62
  //#region src/core/resolvers/arco.d.ts
62
63
  type DisallowResolveIconOption = undefined | false | {
63
64
  enable: false;
@@ -103,7 +104,6 @@ interface ArcoResolverOptions {
103
104
  *
104
105
  */
105
106
  declare function ArcoResolver(options?: ArcoResolverOptions): ComponentResolver;
106
-
107
107
  //#endregion
108
108
  //#region src/core/resolvers/bootstrap-vue.d.ts
109
109
  interface BootstrapVueResolverOptions {
@@ -135,7 +135,6 @@ declare function BootstrapVueNextResolver(_options?: BootstrapVueResolverOptions
135
135
  * @link https://www.npmjs.com/package/bootstrap-vue-3
136
136
  */
137
137
  declare function BootstrapVue3Resolver(_options?: BootstrapVueResolverOptions): Array<ComponentResolver>;
138
-
139
138
  //#endregion
140
139
  //#region src/core/resolvers/devui.d.ts
141
140
  interface DevResolverOptions {
@@ -157,7 +156,6 @@ interface DevResolverOptions {
157
156
  ssr?: boolean;
158
157
  }
159
158
  declare function DevUiResolver(options?: DevResolverOptions): ComponentResolver[];
160
-
161
159
  //#endregion
162
160
  //#region src/core/resolvers/element-plus.d.ts
163
161
  interface ElementPlusResolverOptions {
@@ -207,7 +205,6 @@ interface ElementPlusResolverOptions {
207
205
  *
208
206
  */
209
207
  declare function ElementPlusResolver(options?: ElementPlusResolverOptions): ComponentResolver[];
210
-
211
208
  //#endregion
212
209
  //#region src/core/resolvers/element-ui.d.ts
213
210
  interface ElementUiResolverOptions {
@@ -229,7 +226,6 @@ interface ElementUiResolverOptions {
229
226
  * @author @nabaonan
230
227
  */
231
228
  declare function ElementUiResolver(options?: ElementUiResolverOptions): ComponentResolver;
232
-
233
229
  //#endregion
234
230
  //#region src/core/resolvers/headless-ui.d.ts
235
231
  interface HeadlessUiResolverOptions {
@@ -246,7 +242,6 @@ interface HeadlessUiResolverOptions {
246
242
  * @link https://github.com/tailwindlabs/headlessui
247
243
  */
248
244
  declare function HeadlessUiResolver(options?: HeadlessUiResolverOptions): ComponentResolver;
249
-
250
245
  //#endregion
251
246
  //#region src/core/resolvers/idux.d.ts
252
247
  interface IduxResolverOptions {
@@ -285,7 +280,6 @@ interface IduxResolverOptions {
285
280
  * @link https://idux.site
286
281
  */
287
282
  declare function IduxResolver(options?: IduxResolverOptions): ComponentResolver;
288
-
289
283
  //#endregion
290
284
  //#region src/core/resolvers/inkline.d.ts
291
285
  /**
@@ -295,7 +289,6 @@ declare function IduxResolver(options?: IduxResolverOptions): ComponentResolver;
295
289
  * @link https://github.com/inkline/inkline
296
290
  */
297
291
  declare function InklineResolver(): ComponentResolver;
298
-
299
292
  //#endregion
300
293
  //#region src/core/resolvers/ionic.d.ts
301
294
  /**
@@ -310,7 +303,6 @@ declare const IonicBuiltInComponents: string[];
310
303
  * @link https://ionicframework.com/
311
304
  */
312
305
  declare function IonicResolver(): ComponentResolver;
313
-
314
306
  //#endregion
315
307
  //#region src/core/resolvers/layui-vue.d.ts
316
308
  interface LayuiVueResolverOptions {
@@ -340,7 +332,6 @@ interface LayuiVueResolverOptions {
340
332
  *
341
333
  */
342
334
  declare function LayuiVueResolver(options?: LayuiVueResolverOptions): ComponentResolver;
343
-
344
335
  //#endregion
345
336
  //#region src/core/resolvers/naive-ui.d.ts
346
337
  /**
@@ -350,7 +341,6 @@ declare function LayuiVueResolver(options?: LayuiVueResolverOptions): ComponentR
350
341
  * @link https://www.naiveui.com/
351
342
  */
352
343
  declare function NaiveUiResolver(): ComponentResolver;
353
-
354
344
  //#endregion
355
345
  //#region src/core/resolvers/prime-vue.d.ts
356
346
  interface PrimeVueResolverOptions {
@@ -387,7 +377,6 @@ interface PrimeVueResolverOptions {
387
377
  * @link https://github.com/primefaces/primevue
388
378
  */
389
379
  declare function PrimeVueResolver(options?: PrimeVueResolverOptions): ComponentResolver;
390
-
391
380
  //#endregion
392
381
  //#region src/core/resolvers/quasar.d.ts
393
382
  /**
@@ -396,7 +385,6 @@ declare function PrimeVueResolver(options?: PrimeVueResolverOptions): ComponentR
396
385
  * @link https://github.com/quasarframework/quasar
397
386
  */
398
387
  declare function QuasarResolver(): ComponentResolver;
399
-
400
388
  //#endregion
401
389
  //#region src/core/resolvers/tdesign.d.ts
402
390
  interface TDesignResolverOptions {
@@ -422,7 +410,6 @@ interface TDesignResolverOptions {
422
410
  exclude?: FilterPattern;
423
411
  }
424
412
  declare function TDesignResolver(options?: TDesignResolverOptions): ComponentResolver;
425
-
426
413
  //#endregion
427
414
  //#region src/core/resolvers/vant.d.ts
428
415
  interface VantResolverOptions {
@@ -439,7 +426,6 @@ interface VantResolverOptions {
439
426
  * @link https://github.com/youzan/vant
440
427
  */
441
428
  declare function VantResolver(options?: VantResolverOptions): ComponentResolver;
442
-
443
429
  //#endregion
444
430
  //#region src/core/resolvers/varlet-ui.d.ts
445
431
  interface VarletUIResolverOptions {
@@ -491,7 +477,6 @@ declare function getResolved(name: string, options: VarletUIResolverOptions): Co
491
477
  * @link https://github.com/varletjs/varlet-vue2
492
478
  */
493
479
  declare function VarletUIResolver(options?: VarletUIResolverOptions): ComponentResolver[];
494
-
495
480
  //#endregion
496
481
  //#region src/core/resolvers/veui.d.ts
497
482
  interface VeuiPeerConfig {
@@ -543,7 +528,6 @@ interface VeuiResolverOptions {
543
528
  * @link https://github.com/ecomfe/veui
544
529
  */
545
530
  declare function VeuiResolver(options?: VeuiResolverOptions): ComponentResolver;
546
-
547
531
  //#endregion
548
532
  //#region src/core/resolvers/view-ui.d.ts
549
533
  /**
@@ -556,7 +540,6 @@ declare function VeuiResolver(options?: VeuiResolverOptions): ComponentResolver;
556
540
  * - scroll component has a template syntax called lang='html',it is require html-loader,but vite plugin not support yet,remove it can run. relate pr: https://github.com/view-design/ViewUI/pull/985
557
541
  */
558
542
  declare function ViewUiResolver(): ComponentResolver;
559
-
560
543
  //#endregion
561
544
  //#region src/core/resolvers/vuetify.d.ts
562
545
  /**
@@ -571,7 +554,6 @@ declare function VuetifyResolver(): ComponentResolver;
571
554
  * @link https://github.com/vuetifyjs/vuetify
572
555
  */
573
556
  declare function Vuetify3Resolver(): ComponentResolver;
574
-
575
557
  //#endregion
576
558
  //#region src/core/resolvers/vueuse.d.ts
577
559
  /**
@@ -580,7 +562,6 @@ declare function Vuetify3Resolver(): ComponentResolver;
580
562
  * @link https://github.com/vueuse/vueuse
581
563
  */
582
564
  declare function VueUseComponentsResolver(): ComponentResolver;
583
-
584
565
  //#endregion
585
566
  //#region src/core/resolvers/vueuse-directive.d.ts
586
567
  /**
@@ -589,6 +570,5 @@ declare function VueUseComponentsResolver(): ComponentResolver;
589
570
  * @link https://github.com/vueuse/vueuse
590
571
  */
591
572
  declare function VueUseDirectiveResolver(): ComponentResolver;
592
-
593
573
  //#endregion
594
574
  export { AllowResolveIconOption, AntDesignVueResolver, AntDesignVueResolverOptions, ArcoResolver, ArcoResolverOptions, BootstrapVue3Resolver, BootstrapVueNextResolver, BootstrapVueResolver, BootstrapVueResolverOptions, DevResolverOptions, DevUiResolver, DisallowResolveIconOption, ElementPlusResolver, ElementPlusResolverOptions, ElementUiResolver, ElementUiResolverOptions, 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 };
@@ -1,4 +1,4 @@
1
- import { ComponentResolveResult, ComponentResolver } from "./types-BOtuQ8Dm.js";
1
+ import { ComponentResolveResult, ComponentResolver } from "./types-CFwIfA2K.js";
2
2
  import { FilterPattern } from "unplugin-utils";
3
3
 
4
4
  //#region src/core/resolvers/antdv.d.ts
@@ -57,7 +57,8 @@ interface AntDesignVueResolverOptions {
57
57
  * @author @yangss3
58
58
  * @link https://antdv.com/
59
59
  */
60
- declare function AntDesignVueResolver(options?: AntDesignVueResolverOptions): ComponentResolver; //#endregion
60
+ declare function AntDesignVueResolver(options?: AntDesignVueResolverOptions): ComponentResolver;
61
+ //#endregion
61
62
  //#region src/core/resolvers/arco.d.ts
62
63
  type DisallowResolveIconOption = undefined | false | {
63
64
  enable: false;
@@ -103,7 +104,6 @@ interface ArcoResolverOptions {
103
104
  *
104
105
  */
105
106
  declare function ArcoResolver(options?: ArcoResolverOptions): ComponentResolver;
106
-
107
107
  //#endregion
108
108
  //#region src/core/resolvers/bootstrap-vue.d.ts
109
109
  interface BootstrapVueResolverOptions {
@@ -135,7 +135,6 @@ declare function BootstrapVueNextResolver(_options?: BootstrapVueResolverOptions
135
135
  * @link https://www.npmjs.com/package/bootstrap-vue-3
136
136
  */
137
137
  declare function BootstrapVue3Resolver(_options?: BootstrapVueResolverOptions): Array<ComponentResolver>;
138
-
139
138
  //#endregion
140
139
  //#region src/core/resolvers/devui.d.ts
141
140
  interface DevResolverOptions {
@@ -157,7 +156,6 @@ interface DevResolverOptions {
157
156
  ssr?: boolean;
158
157
  }
159
158
  declare function DevUiResolver(options?: DevResolverOptions): ComponentResolver[];
160
-
161
159
  //#endregion
162
160
  //#region src/core/resolvers/element-plus.d.ts
163
161
  interface ElementPlusResolverOptions {
@@ -207,7 +205,6 @@ interface ElementPlusResolverOptions {
207
205
  *
208
206
  */
209
207
  declare function ElementPlusResolver(options?: ElementPlusResolverOptions): ComponentResolver[];
210
-
211
208
  //#endregion
212
209
  //#region src/core/resolvers/element-ui.d.ts
213
210
  interface ElementUiResolverOptions {
@@ -229,7 +226,6 @@ interface ElementUiResolverOptions {
229
226
  * @author @nabaonan
230
227
  */
231
228
  declare function ElementUiResolver(options?: ElementUiResolverOptions): ComponentResolver;
232
-
233
229
  //#endregion
234
230
  //#region src/core/resolvers/headless-ui.d.ts
235
231
  interface HeadlessUiResolverOptions {
@@ -246,7 +242,6 @@ interface HeadlessUiResolverOptions {
246
242
  * @link https://github.com/tailwindlabs/headlessui
247
243
  */
248
244
  declare function HeadlessUiResolver(options?: HeadlessUiResolverOptions): ComponentResolver;
249
-
250
245
  //#endregion
251
246
  //#region src/core/resolvers/idux.d.ts
252
247
  interface IduxResolverOptions {
@@ -285,7 +280,6 @@ interface IduxResolverOptions {
285
280
  * @link https://idux.site
286
281
  */
287
282
  declare function IduxResolver(options?: IduxResolverOptions): ComponentResolver;
288
-
289
283
  //#endregion
290
284
  //#region src/core/resolvers/inkline.d.ts
291
285
  /**
@@ -295,7 +289,6 @@ declare function IduxResolver(options?: IduxResolverOptions): ComponentResolver;
295
289
  * @link https://github.com/inkline/inkline
296
290
  */
297
291
  declare function InklineResolver(): ComponentResolver;
298
-
299
292
  //#endregion
300
293
  //#region src/core/resolvers/ionic.d.ts
301
294
  /**
@@ -310,7 +303,6 @@ declare const IonicBuiltInComponents: string[];
310
303
  * @link https://ionicframework.com/
311
304
  */
312
305
  declare function IonicResolver(): ComponentResolver;
313
-
314
306
  //#endregion
315
307
  //#region src/core/resolvers/layui-vue.d.ts
316
308
  interface LayuiVueResolverOptions {
@@ -340,7 +332,6 @@ interface LayuiVueResolverOptions {
340
332
  *
341
333
  */
342
334
  declare function LayuiVueResolver(options?: LayuiVueResolverOptions): ComponentResolver;
343
-
344
335
  //#endregion
345
336
  //#region src/core/resolvers/naive-ui.d.ts
346
337
  /**
@@ -350,7 +341,6 @@ declare function LayuiVueResolver(options?: LayuiVueResolverOptions): ComponentR
350
341
  * @link https://www.naiveui.com/
351
342
  */
352
343
  declare function NaiveUiResolver(): ComponentResolver;
353
-
354
344
  //#endregion
355
345
  //#region src/core/resolvers/prime-vue.d.ts
356
346
  interface PrimeVueResolverOptions {
@@ -387,7 +377,6 @@ interface PrimeVueResolverOptions {
387
377
  * @link https://github.com/primefaces/primevue
388
378
  */
389
379
  declare function PrimeVueResolver(options?: PrimeVueResolverOptions): ComponentResolver;
390
-
391
380
  //#endregion
392
381
  //#region src/core/resolvers/quasar.d.ts
393
382
  /**
@@ -396,7 +385,6 @@ declare function PrimeVueResolver(options?: PrimeVueResolverOptions): ComponentR
396
385
  * @link https://github.com/quasarframework/quasar
397
386
  */
398
387
  declare function QuasarResolver(): ComponentResolver;
399
-
400
388
  //#endregion
401
389
  //#region src/core/resolvers/tdesign.d.ts
402
390
  interface TDesignResolverOptions {
@@ -422,7 +410,6 @@ interface TDesignResolverOptions {
422
410
  exclude?: FilterPattern;
423
411
  }
424
412
  declare function TDesignResolver(options?: TDesignResolverOptions): ComponentResolver;
425
-
426
413
  //#endregion
427
414
  //#region src/core/resolvers/vant.d.ts
428
415
  interface VantResolverOptions {
@@ -439,7 +426,6 @@ interface VantResolverOptions {
439
426
  * @link https://github.com/youzan/vant
440
427
  */
441
428
  declare function VantResolver(options?: VantResolverOptions): ComponentResolver;
442
-
443
429
  //#endregion
444
430
  //#region src/core/resolvers/varlet-ui.d.ts
445
431
  interface VarletUIResolverOptions {
@@ -491,7 +477,6 @@ declare function getResolved(name: string, options: VarletUIResolverOptions): Co
491
477
  * @link https://github.com/varletjs/varlet-vue2
492
478
  */
493
479
  declare function VarletUIResolver(options?: VarletUIResolverOptions): ComponentResolver[];
494
-
495
480
  //#endregion
496
481
  //#region src/core/resolvers/veui.d.ts
497
482
  interface VeuiPeerConfig {
@@ -543,7 +528,6 @@ interface VeuiResolverOptions {
543
528
  * @link https://github.com/ecomfe/veui
544
529
  */
545
530
  declare function VeuiResolver(options?: VeuiResolverOptions): ComponentResolver;
546
-
547
531
  //#endregion
548
532
  //#region src/core/resolvers/view-ui.d.ts
549
533
  /**
@@ -556,7 +540,6 @@ declare function VeuiResolver(options?: VeuiResolverOptions): ComponentResolver;
556
540
  * - scroll component has a template syntax called lang='html',it is require html-loader,but vite plugin not support yet,remove it can run. relate pr: https://github.com/view-design/ViewUI/pull/985
557
541
  */
558
542
  declare function ViewUiResolver(): ComponentResolver;
559
-
560
543
  //#endregion
561
544
  //#region src/core/resolvers/vuetify.d.ts
562
545
  /**
@@ -571,7 +554,6 @@ declare function VuetifyResolver(): ComponentResolver;
571
554
  * @link https://github.com/vuetifyjs/vuetify
572
555
  */
573
556
  declare function Vuetify3Resolver(): ComponentResolver;
574
-
575
557
  //#endregion
576
558
  //#region src/core/resolvers/vueuse.d.ts
577
559
  /**
@@ -580,7 +562,6 @@ declare function Vuetify3Resolver(): ComponentResolver;
580
562
  * @link https://github.com/vueuse/vueuse
581
563
  */
582
564
  declare function VueUseComponentsResolver(): ComponentResolver;
583
-
584
565
  //#endregion
585
566
  //#region src/core/resolvers/vueuse-directive.d.ts
586
567
  /**
@@ -589,6 +570,5 @@ declare function VueUseComponentsResolver(): ComponentResolver;
589
570
  * @link https://github.com/vueuse/vueuse
590
571
  */
591
572
  declare function VueUseDirectiveResolver(): ComponentResolver;
592
-
593
573
  //#endregion
594
574
  export { AllowResolveIconOption, AntDesignVueResolver, AntDesignVueResolverOptions, ArcoResolver, ArcoResolverOptions, BootstrapVue3Resolver, BootstrapVueNextResolver, BootstrapVueResolver, BootstrapVueResolverOptions, DevResolverOptions, DevUiResolver, DisallowResolveIconOption, ElementPlusResolver, ElementPlusResolverOptions, ElementUiResolver, ElementUiResolverOptions, 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 };
package/dist/resolvers.js CHANGED
@@ -1,4 +1,5 @@
1
- import { __commonJS, __require, __toESM, camelCase, getPkgVersion, isExclude, isSSR, kebabCase, pascalCase } from "./utils-Dmc5QTPf.js";
1
+ import { camelCase, getPkgVersion, isExclude, isSSR, kebabCase, pascalCase } from "./utils-DuLwPrUJ.js";
2
+ import { createRequire } from "node:module";
2
3
  import { promises, readFileSync } from "node:fs";
3
4
  import process from "node:process";
4
5
  import { join, normalize } from "node:path";
@@ -6,6 +7,33 @@ import Debug from "debug";
6
7
  import { resolveModule } from "local-pkg";
7
8
  import { resolvePathSync } from "mlly";
8
9
 
10
+ //#region rolldown:runtime
11
+ var __create = Object.create;
12
+ var __defProp = Object.defineProperty;
13
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
14
+ var __getOwnPropNames = Object.getOwnPropertyNames;
15
+ var __getProtoOf = Object.getPrototypeOf;
16
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
17
+ var __commonJS = (cb, mod) => function() {
18
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
+ };
20
+ var __copyProps = (to, from, except, desc) => {
21
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
22
+ key = keys[i];
23
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
24
+ get: ((k) => from[k]).bind(null, key),
25
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
26
+ });
27
+ }
28
+ return to;
29
+ };
30
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
31
+ value: mod,
32
+ enumerable: true
33
+ }) : target, mod));
34
+ var __require = /* @__PURE__ */ createRequire(import.meta.url);
35
+
36
+ //#endregion
9
37
  //#region src/core/resolvers/antdv.ts
10
38
  const matchComponents$3 = [
11
39
  {
package/dist/rollup.cjs CHANGED
@@ -1,5 +1,5 @@
1
- require('./utils-B0KIrWYZ.cjs');
2
- const require_src = require('./src-CAOQxNIe.cjs');
1
+ require('./utils-BIvt10am.cjs');
2
+ const require_src = require('./src-C_roJwTj.cjs');
3
3
  require('./types-CBTc19th.cjs');
4
4
 
5
5
  //#region src/rollup.ts
package/dist/rollup.d.cts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./types-BDM6QBE8.cjs";
2
- import * as rollup4 from "rollup";
1
+ import { Options } from "./types-BED632qH.cjs";
2
+ import * as rollup1 from "rollup";
3
3
 
4
4
  //#region src/rollup.d.ts
5
- declare const _default: (options: Options) => rollup4.Plugin<any> | rollup4.Plugin<any>[];
6
-
5
+ declare const _default: (options: Options) => rollup1.Plugin<any> | rollup1.Plugin<any>[];
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/rollup.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import { Options } from "./types-BOtuQ8Dm.js";
2
- import * as rollup2 from "rollup";
1
+ import { Options } from "./types-CFwIfA2K.js";
2
+ import * as rollup1 from "rollup";
3
3
 
4
4
  //#region src/rollup.d.ts
5
- declare const _default: (options: Options) => rollup2.Plugin<any> | rollup2.Plugin<any>[];
6
-
5
+ declare const _default: (options: Options) => rollup1.Plugin<any> | rollup1.Plugin<any>[];
7
6
  //#endregion
8
7
  export { _default as default };
package/dist/rollup.js CHANGED
@@ -1,5 +1,5 @@
1
- import "./utils-Dmc5QTPf.js";
2
- import { unplugin_default } from "./src-DkHPEJdR.js";
1
+ import "./utils-DuLwPrUJ.js";
2
+ import { unplugin_default } from "./src-B9aLSEVj.js";
3
3
  import "./types-Cv8NMtbo.js";
4
4
 
5
5
  //#region src/rollup.ts
package/dist/rspack.cjs CHANGED
@@ -1,5 +1,5 @@
1
- require('./utils-B0KIrWYZ.cjs');
2
- const require_src = require('./src-CAOQxNIe.cjs');
1
+ require('./utils-BIvt10am.cjs');
2
+ const require_src = require('./src-C_roJwTj.cjs');
3
3
  require('./types-CBTc19th.cjs');
4
4
 
5
5
  //#region src/rspack.ts
package/dist/rspack.d.cts CHANGED
@@ -1,7 +1,6 @@
1
- import { Options } from "./types-BDM6QBE8.cjs";
1
+ import { Options } from "./types-BED632qH.cjs";
2
2
 
3
3
  //#region src/rspack.d.ts
4
4
  declare const _default: (options: Options) => RspackPluginInstance;
5
-
6
5
  //#endregion
7
6
  export { _default as default };
package/dist/rspack.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import { Options } from "./types-BOtuQ8Dm.js";
1
+ import { Options } from "./types-CFwIfA2K.js";
2
2
 
3
3
  //#region src/rspack.d.ts
4
4
  declare const _default: (options: Options) => RspackPluginInstance;
5
-
6
5
  //#endregion
7
6
  export { _default as default };