@fangzhongya/icons 0.0.3 → 0.0.5

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.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-icons",
3
3
  "info": {},
4
- "lastModified": 1767757835678,
4
+ "lastModified": 1767758669192,
5
5
  "icons": {
6
6
  "bar": {
7
7
  "body": "<path d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\"></path>"
@@ -16,7 +16,7 @@ function simpleFangIcon(options = {}) {
16
16
  load(id) {
17
17
  if (id === resolvedVirtualModuleId) {
18
18
  return `
19
- import { defineComponent, h, shallowRef, resolveComponent, computed } from 'vue'
19
+ import { defineComponent, h, shallowRef, resolveComponent, watchEffect } from 'vue'
20
20
  import FangIcon from '@fangzhongya/icons/icon/index'
21
21
 
22
22
  export default defineComponent({
@@ -16,7 +16,7 @@ function simpleFangIcon(options = {}) {
16
16
  load(id) {
17
17
  if (id === resolvedVirtualModuleId) {
18
18
  return `
19
- import { defineComponent, h, shallowRef, resolveComponent, computed } from 'vue'
19
+ import { defineComponent, h, shallowRef, resolveComponent, watchEffect } from 'vue'
20
20
  import FangIcon from '@fangzhongya/icons/icon/index'
21
21
 
22
22
  export default defineComponent({
@@ -41,7 +41,7 @@ export default defineComponent({
41
41
  if (typeof iconName === 'string' && props.type === 'svg') {
42
42
  // SVG \u7C7B\u578B\uFF1A\u4ECE @fangzhongya/icons \u5E93\u5BFC\u5165
43
43
  return defineAsyncComponent(() =>
44
- import('@fangzhongya/icons/vue/' + iconName)
44
+ import(/* @vite-ignore */'@fangzhongya/icons/vue/' + iconName)
45
45
  .then(module => module.default)
46
46
  .catch(() => {
47
47
  // \u5982\u679C\u5BFC\u5165\u5931\u8D25\uFF0C\u5C1D\u8BD5\u89E3\u6790\u7EC4\u4EF6
@@ -41,7 +41,7 @@ export default defineComponent({
41
41
  if (typeof iconName === 'string' && props.type === 'svg') {
42
42
  // SVG \u7C7B\u578B\uFF1A\u4ECE @fangzhongya/icons \u5E93\u5BFC\u5165
43
43
  return defineAsyncComponent(() =>
44
- import('@fangzhongya/icons/vue/' + iconName)
44
+ import(/* @vite-ignore */'@fangzhongya/icons/vue/' + iconName)
45
45
  .then(module => module.default)
46
46
  .catch(() => {
47
47
  // \u5982\u679C\u5BFC\u5165\u5931\u8D25\uFF0C\u5C1D\u8BD5\u89E3\u6790\u7EC4\u4EF6
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fangzhongya/icons",
3
3
  "private": false,
4
4
  "type": "module",
5
- "version": "0.0.3",
5
+ "version": "0.0.5",
6
6
  "description ": "个人图标库",
7
7
  "author": "fangzhongya ",
8
8
  "license": "MIT",