cgn-vant 1.0.6 → 1.0.7

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.
@@ -26,8 +26,8 @@ var __webpack_require__ = {};
26
26
  var __webpack_exports__ = {};
27
27
  __webpack_require__.r(__webpack_exports__);
28
28
  __webpack_require__.d(__webpack_exports__, {
29
- VantImports: ()=>VantImports,
30
- VantResolver: ()=>VantResolver
29
+ CgnImports: ()=>CgnImports,
30
+ CgnResolver: ()=>CgnResolver
31
31
  });
32
32
  function kebabCase(key) {
33
33
  const result = key.replace(/([A-Z])/g, ' $1').trim();
@@ -82,7 +82,7 @@ function getAPIMap() {
82
82
  });
83
83
  return apiMap;
84
84
  }
85
- function VantResolver(options = {}) {
85
+ function CgnResolver(options = {}) {
86
86
  const moduleType = getModuleType(options);
87
87
  const apiMap = getAPIMap();
88
88
  return {
@@ -109,7 +109,7 @@ function VantResolver(options = {}) {
109
109
  }
110
110
  };
111
111
  }
112
- function VantImports(options = {}) {
112
+ function CgnImports(options = {}) {
113
113
  const moduleType = getModuleType(options);
114
114
  return {
115
115
  [`cgn-vant/${moduleType}`]: [
@@ -1,4 +1,4 @@
1
- export interface VantResolverOptions {
1
+ export interface CgnResolverOptions {
2
2
  /**
3
3
  * Whether to automatically import the corresponding styles of the components.
4
4
  *
@@ -24,8 +24,8 @@ export interface VantResolverOptions {
24
24
  */
25
25
  exclude?: string[];
26
26
  }
27
- export type VantImportsOptions = Pick<VantResolverOptions, 'module' | 'ssr'>;
28
- export declare function VantResolver(options?: VantResolverOptions): {
27
+ export type CgnImportsOptions = Pick<CgnResolverOptions, 'module' | 'ssr'>;
28
+ export declare function CgnResolver(options?: CgnResolverOptions): {
29
29
  type: "component";
30
30
  resolve: (name: string) => {
31
31
  name: string;
@@ -33,6 +33,6 @@ export declare function VantResolver(options?: VantResolverOptions): {
33
33
  sideEffects: string | undefined;
34
34
  } | undefined;
35
35
  };
36
- export declare function VantImports(options?: VantImportsOptions): {
36
+ export declare function CgnImports(options?: CgnImportsOptions): {
37
37
  [x: string]: string[];
38
38
  };
@@ -51,7 +51,7 @@ function getAPIMap() {
51
51
  });
52
52
  return apiMap;
53
53
  }
54
- function VantResolver(options = {}) {
54
+ function CgnResolver(options = {}) {
55
55
  const moduleType = getModuleType(options);
56
56
  const apiMap = getAPIMap();
57
57
  return {
@@ -78,7 +78,7 @@ function VantResolver(options = {}) {
78
78
  }
79
79
  };
80
80
  }
81
- function VantImports(options = {}) {
81
+ function CgnImports(options = {}) {
82
82
  const moduleType = getModuleType(options);
83
83
  return {
84
84
  [`cgn-vant/${moduleType}`]: [
@@ -86,4 +86,4 @@ function VantImports(options = {}) {
86
86
  ]
87
87
  };
88
88
  }
89
- export { VantImports, VantResolver };
89
+ export { CgnImports, CgnResolver };
@@ -1,8 +1,8 @@
1
1
  {
2
- "name": "@vant/auto-import-resolver",
2
+ "name": "auto-import-resolver",
3
3
  "version": "1.3.0",
4
4
  "type": "module",
5
- "description": "Vant auto import resolver based on unplugin-vue-components",
5
+ "description": "CGN-Vant 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/es/index.d.ts CHANGED
@@ -106,4 +106,4 @@ declare namespace _default {
106
106
  }
107
107
  export default _default;
108
108
  export function install(app: any): void;
109
- export const version: "1.0.0";
109
+ export const version: "1.0.7";
package/es/index.mjs CHANGED
@@ -99,7 +99,7 @@ import { Toast } from "./toast/index.mjs";
99
99
  import { TreeSelect } from "./tree-select/index.mjs";
100
100
  import { Uploader } from "./uploader/index.mjs";
101
101
  import { Watermark } from "./watermark/index.mjs";
102
- const version = "1.0.0";
102
+ const version = "1.0.7";
103
103
  function install(app) {
104
104
  const components = [
105
105
  ActionBar,
package/lib/index.d.ts CHANGED
@@ -106,4 +106,4 @@ declare namespace _default {
106
106
  }
107
107
  export default _default;
108
108
  export function install(app: any): void;
109
- export const version: "1.0.0";
109
+ export const version: "1.0.7";
package/lib/index.js CHANGED
@@ -226,7 +226,7 @@ __reExport(stdin_exports, require("./toast"), module.exports);
226
226
  __reExport(stdin_exports, require("./tree-select"), module.exports);
227
227
  __reExport(stdin_exports, require("./uploader"), module.exports);
228
228
  __reExport(stdin_exports, require("./watermark"), module.exports);
229
- const version = "1.0.0";
229
+ const version = "1.0.7";
230
230
  function install(app) {
231
231
  const components = [
232
232
  import_action_bar.ActionBar,
@@ -17136,7 +17136,7 @@ const Lazyload = {
17136
17136
  });
17137
17137
  }
17138
17138
  };
17139
- const version = "1.0.0";
17139
+ const version = "1.0.7";
17140
17140
  function install(app) {
17141
17141
  const components = [
17142
17142
  ActionBar,
@@ -17134,7 +17134,7 @@ const Lazyload = {
17134
17134
  });
17135
17135
  }
17136
17136
  };
17137
- const version = "1.0.0";
17137
+ const version = "1.0.7";
17138
17138
  function install(app) {
17139
17139
  const components = [
17140
17140
  ActionBar,
@@ -1,5 +1,5 @@
1
1
  (function(global, factory) {
2
- typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue")) : typeof define === "function" && define.amd ? define(["exports", "vue"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["cgn-vant"] = {}, global.Vue));
2
+ typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue")) : typeof define === "function" && define.amd ? define(["exports", "vue"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.vant = {}, global.Vue));
3
3
  })(this, function(exports2, vue) {
4
4
  "use strict";
5
5
  function noop() {
@@ -18253,7 +18253,7 @@
18253
18253
  });
18254
18254
  }
18255
18255
  };
18256
- const version = "1.0.0";
18256
+ const version = "1.0.7";
18257
18257
  function install(app) {
18258
18258
  const components = [
18259
18259
  ActionBar,