cgn-vant 1.0.2 → 1.0.4

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.
@@ -89,7 +89,7 @@ function VantResolver(options = {}) {
89
89
  type: 'component',
90
90
  resolve: (name)=>{
91
91
  var _options_exclude;
92
- if (name.startsWith('Van')) {
92
+ if (name.startsWith('Cgn')) {
93
93
  var _options_exclude1;
94
94
  const partialName = name.slice(3);
95
95
  if (!(null === (_options_exclude1 = options.exclude) || void 0 === _options_exclude1 ? void 0 : _options_exclude1.includes(partialName))) return {
@@ -58,7 +58,7 @@ function VantResolver(options = {}) {
58
58
  type: 'component',
59
59
  resolve: (name)=>{
60
60
  var _options_exclude;
61
- if (name.startsWith('Van')) {
61
+ if (name.startsWith('Cgn')) {
62
62
  var _options_exclude1;
63
63
  const partialName = name.slice(3);
64
64
  if (!(null === (_options_exclude1 = options.exclude) || void 0 === _options_exclude1 ? void 0 : _options_exclude1.includes(partialName))) return {
@@ -99,6 +99,6 @@ export type { ButtonProps } from './Button';
99
99
  export type { ButtonType, ButtonSize, ButtonThemeVars, ButtonNativeType, ButtonIconPosition, } from './types';
100
100
  declare module 'vue' {
101
101
  interface GlobalComponents {
102
- VanButton: typeof Button;
102
+ CgnButton: typeof Button;
103
103
  }
104
104
  }
@@ -99,6 +99,6 @@ export type { ButtonProps } from './Button';
99
99
  export type { ButtonType, ButtonSize, ButtonThemeVars, ButtonNativeType, ButtonIconPosition, } from './types';
100
100
  declare module 'vue' {
101
101
  interface GlobalComponents {
102
- VanButton: typeof Button;
102
+ CgnButton: typeof Button;
103
103
  }
104
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cgn-vant",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "CGN-UI(基于Vant)",
5
5
  "main": "lib/vant.cjs.js",
6
6
  "module": "es/index.mjs",