@tdh-ui/unplugin-resolver 1.0.1 → 1.0.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/LICENSE +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/LICENSE
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -57,7 +57,7 @@ function resolveDirective(name, options) {
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
const noStylesComponents = ["ElAutoResizer"];
|
|
60
|
-
function
|
|
60
|
+
function TdhBaseUIResolver(options = {}) {
|
|
61
61
|
let optionsResolved;
|
|
62
62
|
async function resolveOptions() {
|
|
63
63
|
if (optionsResolved) return optionsResolved;
|
|
@@ -90,4 +90,4 @@ function TdhUIResolver(options = {}) {
|
|
|
90
90
|
];
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
exports.
|
|
93
|
+
exports.TdhBaseUIResolver = TdhBaseUIResolver;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
2
2
|
|
|
3
|
-
interface
|
|
3
|
+
interface TdhBaseUIResolverOptions {
|
|
4
4
|
/**
|
|
5
5
|
* import style css or sass with components
|
|
6
6
|
*
|
|
@@ -27,7 +27,7 @@ interface TdhUIResolverOptions {
|
|
|
27
27
|
noStylesComponents?: string[];
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Resolver for
|
|
30
|
+
* Resolver for TDH Base UI
|
|
31
31
|
*
|
|
32
32
|
* See https://github.com/antfu/vite-plugin-components/pull/28 for more details
|
|
33
33
|
* See https://github.com/antfu/vite-plugin-components/issues/117 for more details
|
|
@@ -36,7 +36,7 @@ interface TdhUIResolverOptions {
|
|
|
36
36
|
* @link for @tdh-ui/base
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
|
-
declare function
|
|
39
|
+
declare function TdhBaseUIResolver(options?: TdhBaseUIResolverOptions): ComponentResolver[];
|
|
40
40
|
|
|
41
|
-
export {
|
|
42
|
-
export type {
|
|
41
|
+
export { TdhBaseUIResolver };
|
|
42
|
+
export type { TdhBaseUIResolverOptions };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
2
2
|
|
|
3
|
-
interface
|
|
3
|
+
interface TdhBaseUIResolverOptions {
|
|
4
4
|
/**
|
|
5
5
|
* import style css or sass with components
|
|
6
6
|
*
|
|
@@ -27,7 +27,7 @@ interface TdhUIResolverOptions {
|
|
|
27
27
|
noStylesComponents?: string[];
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Resolver for
|
|
30
|
+
* Resolver for TDH Base UI
|
|
31
31
|
*
|
|
32
32
|
* See https://github.com/antfu/vite-plugin-components/pull/28 for more details
|
|
33
33
|
* See https://github.com/antfu/vite-plugin-components/issues/117 for more details
|
|
@@ -36,7 +36,7 @@ interface TdhUIResolverOptions {
|
|
|
36
36
|
* @link for @tdh-ui/base
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
|
-
declare function
|
|
39
|
+
declare function TdhBaseUIResolver(options?: TdhBaseUIResolverOptions): ComponentResolver[];
|
|
40
40
|
|
|
41
|
-
export {
|
|
42
|
-
export type {
|
|
41
|
+
export { TdhBaseUIResolver };
|
|
42
|
+
export type { TdhBaseUIResolverOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
2
2
|
|
|
3
|
-
interface
|
|
3
|
+
interface TdhBaseUIResolverOptions {
|
|
4
4
|
/**
|
|
5
5
|
* import style css or sass with components
|
|
6
6
|
*
|
|
@@ -27,7 +27,7 @@ interface TdhUIResolverOptions {
|
|
|
27
27
|
noStylesComponents?: string[];
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Resolver for
|
|
30
|
+
* Resolver for TDH Base UI
|
|
31
31
|
*
|
|
32
32
|
* See https://github.com/antfu/vite-plugin-components/pull/28 for more details
|
|
33
33
|
* See https://github.com/antfu/vite-plugin-components/issues/117 for more details
|
|
@@ -36,7 +36,7 @@ interface TdhUIResolverOptions {
|
|
|
36
36
|
* @link for @tdh-ui/base
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
|
-
declare function
|
|
39
|
+
declare function TdhBaseUIResolver(options?: TdhBaseUIResolverOptions): ComponentResolver[];
|
|
40
40
|
|
|
41
|
-
export {
|
|
42
|
-
export type {
|
|
41
|
+
export { TdhBaseUIResolver };
|
|
42
|
+
export type { TdhBaseUIResolverOptions };
|
package/dist/index.mjs
CHANGED
|
@@ -55,7 +55,7 @@ function resolveDirective(name, options) {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
const noStylesComponents = ["ElAutoResizer"];
|
|
58
|
-
function
|
|
58
|
+
function TdhBaseUIResolver(options = {}) {
|
|
59
59
|
let optionsResolved;
|
|
60
60
|
async function resolveOptions() {
|
|
61
61
|
if (optionsResolved) return optionsResolved;
|
|
@@ -88,4 +88,4 @@ function TdhUIResolver(options = {}) {
|
|
|
88
88
|
];
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
export {
|
|
91
|
+
export { TdhBaseUIResolver };
|