cgn-vant 1.0.6 → 1.0.8
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_require__ = {};
|
|
3
3
|
(()=>{
|
|
4
|
-
__webpack_require__.d =
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
5
|
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
6
|
enumerable: true,
|
|
7
7
|
get: definition[key]
|
|
@@ -9,12 +9,10 @@ var __webpack_require__ = {};
|
|
|
9
9
|
};
|
|
10
10
|
})();
|
|
11
11
|
(()=>{
|
|
12
|
-
__webpack_require__.o =
|
|
13
|
-
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
14
|
-
};
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
15
13
|
})();
|
|
16
14
|
(()=>{
|
|
17
|
-
__webpack_require__.r =
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
18
16
|
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
19
17
|
value: 'Module'
|
|
20
18
|
});
|
|
@@ -88,17 +86,15 @@ function VantResolver(options = {}) {
|
|
|
88
86
|
return {
|
|
89
87
|
type: 'component',
|
|
90
88
|
resolve: (name)=>{
|
|
91
|
-
var _options_exclude;
|
|
92
89
|
if (name.startsWith('Cgn')) {
|
|
93
|
-
var _options_exclude1;
|
|
94
90
|
const partialName = name.slice(3);
|
|
95
|
-
if (!
|
|
91
|
+
if (!options.exclude?.includes(partialName)) return {
|
|
96
92
|
name: partialName,
|
|
97
93
|
from: `cgn-vant/${moduleType}`,
|
|
98
94
|
sideEffects: getSideEffects(kebabCase(partialName), options)
|
|
99
95
|
};
|
|
100
96
|
}
|
|
101
|
-
if (apiMap.has(name) && !
|
|
97
|
+
if (apiMap.has(name) && !options.exclude?.includes(name)) {
|
|
102
98
|
const partialName = apiMap.get(name);
|
|
103
99
|
return {
|
|
104
100
|
name,
|
|
@@ -117,8 +113,12 @@ function VantImports(options = {}) {
|
|
|
117
113
|
]
|
|
118
114
|
};
|
|
119
115
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
116
|
+
exports.VantImports = __webpack_exports__.VantImports;
|
|
117
|
+
exports.VantResolver = __webpack_exports__.VantResolver;
|
|
118
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
119
|
+
"VantImports",
|
|
120
|
+
"VantResolver"
|
|
121
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
122
|
+
Object.defineProperty(exports, '__esModule', {
|
|
123
123
|
value: true
|
|
124
124
|
});
|
|
@@ -57,17 +57,15 @@ function VantResolver(options = {}) {
|
|
|
57
57
|
return {
|
|
58
58
|
type: 'component',
|
|
59
59
|
resolve: (name)=>{
|
|
60
|
-
var _options_exclude;
|
|
61
60
|
if (name.startsWith('Cgn')) {
|
|
62
|
-
var _options_exclude1;
|
|
63
61
|
const partialName = name.slice(3);
|
|
64
|
-
if (!
|
|
62
|
+
if (!options.exclude?.includes(partialName)) return {
|
|
65
63
|
name: partialName,
|
|
66
64
|
from: `cgn-vant/${moduleType}`,
|
|
67
65
|
sideEffects: getSideEffects(kebabCase(partialName), options)
|
|
68
66
|
};
|
|
69
67
|
}
|
|
70
|
-
if (apiMap.has(name) && !
|
|
68
|
+
if (apiMap.has(name) && !options.exclude?.includes(name)) {
|
|
71
69
|
const partialName = apiMap.get(name);
|
|
72
70
|
return {
|
|
73
71
|
name,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "auto-import-resolver",
|
|
3
3
|
"version": "1.3.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "CgnUI auto import resolver based on unplugin-vue-components",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|
|
8
8
|
"typings": "dist/index.d.ts",
|
|
@@ -39,4 +39,4 @@
|
|
|
39
39
|
"build": "rslib build",
|
|
40
40
|
"release": "vant-cli release"
|
|
41
41
|
}
|
|
42
|
-
}
|
|
42
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cgn-vant",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "CGN-
|
|
3
|
+
"version": "1.0.8",
|
|
4
|
+
"description": "CGN-Vant(基于Vant)",
|
|
5
5
|
"main": "lib/vant.cjs.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
7
7
|
"style": "lib/index.css",
|
|
@@ -59,5 +59,11 @@
|
|
|
59
59
|
"@vant/icons": "3.0.2"
|
|
60
60
|
},
|
|
61
61
|
"author": "xiaohuichen",
|
|
62
|
-
"license": "MIT"
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"sideEffects": [
|
|
64
|
+
"es/**/style/*",
|
|
65
|
+
"lib/**/style/*",
|
|
66
|
+
"*.css"
|
|
67
|
+
],
|
|
68
|
+
"web-types": "lib/web-types.json"
|
|
63
69
|
}
|