cc1-ui 1.0.2 → 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/dist/cc1-ui.js CHANGED
@@ -8,7 +8,7 @@ const VMask = () => defineAsyncComponent(() => import('./index-ycYY--mh.js'));
8
8
  const VCircle = () => defineAsyncComponent(() => import('./index-ti4E-Nv5.js'));
9
9
  const VIcon = () => defineAsyncComponent(() => import('./index-BGzY32VF.js'));
10
10
  const VSelect = () => defineAsyncComponent(() => import('./index-ClZ7RWBn.js'));
11
- const VSIcon = () => defineAsyncComponent(() => import('./index-C9UmcGLF.js'));
11
+ const VSIcon = () => defineAsyncComponent(() => import('./index-DDcr68UP.js'));
12
12
  const installDR = (fun, app) => {
13
13
  fun().then((module) => module.install(app));
14
14
  };
@@ -119,7 +119,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
119
119
  * 渲染图标
120
120
  */
121
121
  init: async () => {
122
- const suffix = conf.props.name.split(".").pop();
122
+ const suffix = conf.props.name.split(".")[1];
123
123
  if (suffix && suffix !== "svg") {
124
124
  conf.content = `${conf.props.url?.length ? conf.props.url : ""}/${conf.props.lib?.length ? conf.props.lib + "/" : ""}${conf.props.name}`;
125
125
  return;
package/dist/index.d.ts CHANGED
@@ -12,14 +12,14 @@ export {}
12
12
  /* prettier-ignore */
13
13
  declare module 'vue' {
14
14
  export interface GlobalComponents {
15
- VCircle:typeof import('./components/Circle/index.vue')['default']
16
15
  VButton:typeof import('./components/Button/index.vue')['default']
17
- VMask:typeof import('./components/Mask/index.vue')['default']
16
+ VCircle:typeof import('./components/Circle/index.vue')['default']
18
17
  VSIcon:typeof import('./components/SIcon/index.vue')['default']
19
- VIcon:typeof import('./components/Icon/index.vue')['default']
20
18
  VScale:typeof import('./components/Scale/index.vue')['default']
21
19
  VSelect:typeof import('./components/Select/index.vue')['default']
22
20
  VSwitch:typeof import('./components/Switch/index.vue')['default']
21
+ VIcon:typeof import('./components/Icon/index.vue')['default']
22
+ VMask:typeof import('./components/Mask/index.vue')['default']
23
23
  }
24
24
  export interface ComponentCustomProperties {
25
25
  }
package/dist/vconf.d.ts CHANGED
@@ -10,7 +10,7 @@ interface VConfType {
10
10
  /**
11
11
  * 使用的图标库名称,默认为'ant'
12
12
  */
13
- lib: string
13
+ lib: string | (() => string)
14
14
  /**
15
15
  * 使用的图标名称,默认为'up'
16
16
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc1-ui",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "我来助你-Vue3UI库",
5
5
  "repository": {
6
6
  "type": "git",