@tdh-ui/unplugin-resolver 1.0.0 → 1.0.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/dist/index.cjs +2 -2
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
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 TdhUIResolver(options = {}) {
|
|
61
61
|
let optionsResolved;
|
|
62
62
|
async function resolveOptions() {
|
|
63
63
|
if (optionsResolved) return optionsResolved;
|
|
@@ -90,4 +90,4 @@ function TdhElementPlusResolver(options = {}) {
|
|
|
90
90
|
];
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
exports.
|
|
93
|
+
exports.TdhUIResolver = TdhUIResolver;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
2
2
|
|
|
3
|
-
interface
|
|
3
|
+
interface TdhUIResolverOptions {
|
|
4
4
|
/**
|
|
5
5
|
* import style css or sass with components
|
|
6
6
|
*
|
|
@@ -36,7 +36,7 @@ interface TdhElementPlusResolverOptions {
|
|
|
36
36
|
* @link for @tdh-ui/base
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
|
-
declare function
|
|
39
|
+
declare function TdhUIResolver(options?: TdhUIResolverOptions): ComponentResolver[];
|
|
40
40
|
|
|
41
|
-
export {
|
|
42
|
-
export type {
|
|
41
|
+
export { TdhUIResolver };
|
|
42
|
+
export type { TdhUIResolverOptions };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
2
2
|
|
|
3
|
-
interface
|
|
3
|
+
interface TdhUIResolverOptions {
|
|
4
4
|
/**
|
|
5
5
|
* import style css or sass with components
|
|
6
6
|
*
|
|
@@ -36,7 +36,7 @@ interface TdhElementPlusResolverOptions {
|
|
|
36
36
|
* @link for @tdh-ui/base
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
|
-
declare function
|
|
39
|
+
declare function TdhUIResolver(options?: TdhUIResolverOptions): ComponentResolver[];
|
|
40
40
|
|
|
41
|
-
export {
|
|
42
|
-
export type {
|
|
41
|
+
export { TdhUIResolver };
|
|
42
|
+
export type { TdhUIResolverOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
2
2
|
|
|
3
|
-
interface
|
|
3
|
+
interface TdhUIResolverOptions {
|
|
4
4
|
/**
|
|
5
5
|
* import style css or sass with components
|
|
6
6
|
*
|
|
@@ -36,7 +36,7 @@ interface TdhElementPlusResolverOptions {
|
|
|
36
36
|
* @link for @tdh-ui/base
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
|
-
declare function
|
|
39
|
+
declare function TdhUIResolver(options?: TdhUIResolverOptions): ComponentResolver[];
|
|
40
40
|
|
|
41
|
-
export {
|
|
42
|
-
export type {
|
|
41
|
+
export { TdhUIResolver };
|
|
42
|
+
export type { TdhUIResolverOptions };
|
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 TdhUIResolver(options = {}) {
|
|
59
59
|
let optionsResolved;
|
|
60
60
|
async function resolveOptions() {
|
|
61
61
|
if (optionsResolved) return optionsResolved;
|
|
@@ -88,4 +88,4 @@ function TdhElementPlusResolver(options = {}) {
|
|
|
88
88
|
];
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
export {
|
|
91
|
+
export { TdhUIResolver };
|