@fangzhongya/icons 0.0.25 → 0.0.27

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.
Files changed (96) hide show
  1. package/dist/{chunk-Q4QUAF3W.cjs → chunk-2LL6OGUU.cjs} +1 -7
  2. package/dist/{chunk-TKPAHR5G.cjs → chunk-6CU3NPDG.cjs} +2 -2
  3. package/dist/{chunk-IS73KLAO.cjs → chunk-6PIMEBN4.cjs} +1 -1
  4. package/dist/{chunk-SDYAFYDS.js → chunk-7QX4NRMQ.js} +2 -2
  5. package/dist/{chunk-HQXDJKWB.js → chunk-TAGR77OF.js} +1 -1
  6. package/dist/{chunk-5JGXNE36.js → chunk-TKF4GGHW.js} +1 -7
  7. package/dist/icon/index.cjs +2 -2
  8. package/dist/icon/index.js +1 -1
  9. package/dist/iconify.cjs +2 -2
  10. package/dist/iconify.js +1 -1
  11. package/dist/index.json +1 -1
  12. package/dist/json.cjs +2 -2
  13. package/dist/json.js +1 -1
  14. package/dist/picker/index.cjs +62 -6
  15. package/dist/picker/index.js +61 -5
  16. package/dist/vite/index.cjs +11 -11
  17. package/dist/vite/index.js +8 -8
  18. package/package.json +3 -3
  19. package/dist/async.d.cts +0 -93
  20. package/dist/async.d.ts +0 -93
  21. package/dist/config.d.cts +0 -6
  22. package/dist/config.d.ts +0 -6
  23. package/dist/icon/index.d.cts +0 -148
  24. package/dist/icon/index.d.ts +0 -148
  25. package/dist/iconify.d.cts +0 -53
  26. package/dist/iconify.d.ts +0 -53
  27. package/dist/index.d.cts +0 -35
  28. package/dist/index.d.ts +0 -35
  29. package/dist/json.d.cts +0 -110
  30. package/dist/json.d.ts +0 -110
  31. package/dist/picker/dialog.d.cts +0 -19
  32. package/dist/picker/dialog.d.ts +0 -19
  33. package/dist/picker/index.d.cts +0 -98
  34. package/dist/picker/index.d.ts +0 -98
  35. package/dist/vite/index.d.cts +0 -52
  36. package/dist/vite/index.d.ts +0 -52
  37. package/dist/vue/bar.d.cts +0 -7
  38. package/dist/vue/bar.d.ts +0 -7
  39. package/dist/vue/below.d.cts +0 -7
  40. package/dist/vue/below.d.ts +0 -7
  41. package/dist/vue/bicycle.d.cts +0 -7
  42. package/dist/vue/bicycle.d.ts +0 -7
  43. package/dist/vue/bottom-left.d.cts +0 -7
  44. package/dist/vue/bottom-left.d.ts +0 -7
  45. package/dist/vue/bottom-right.d.cts +0 -7
  46. package/dist/vue/bottom-right.d.ts +0 -7
  47. package/dist/vue/bottom.d.cts +0 -7
  48. package/dist/vue/bottom.d.ts +0 -7
  49. package/dist/vue/cascader-field.d.cts +0 -7
  50. package/dist/vue/cascader-field.d.ts +0 -7
  51. package/dist/vue/catalogue.d.cts +0 -7
  52. package/dist/vue/catalogue.d.ts +0 -7
  53. package/dist/vue/clear.d.cts +0 -7
  54. package/dist/vue/clear.d.ts +0 -7
  55. package/dist/vue/close.d.cts +0 -7
  56. package/dist/vue/close.d.ts +0 -7
  57. package/dist/vue/crl.d.cts +0 -7
  58. package/dist/vue/crl.d.ts +0 -7
  59. package/dist/vue/delete.d.cts +0 -7
  60. package/dist/vue/delete.d.ts +0 -7
  61. package/dist/vue/document.d.cts +0 -7
  62. package/dist/vue/document.d.ts +0 -7
  63. package/dist/vue/down.d.cts +0 -7
  64. package/dist/vue/down.d.ts +0 -7
  65. package/dist/vue/download.d.cts +0 -7
  66. package/dist/vue/download.d.ts +0 -7
  67. package/dist/vue/edit.d.cts +0 -7
  68. package/dist/vue/edit.d.ts +0 -7
  69. package/dist/vue/enter.d.cts +0 -7
  70. package/dist/vue/enter.d.ts +0 -7
  71. package/dist/vue/frame.d.cts +0 -7
  72. package/dist/vue/frame.d.ts +0 -7
  73. package/dist/vue/index.d.cts +0 -30
  74. package/dist/vue/index.d.ts +0 -30
  75. package/dist/vue/left.d.cts +0 -7
  76. package/dist/vue/left.d.ts +0 -7
  77. package/dist/vue/mute.d.cts +0 -7
  78. package/dist/vue/mute.d.ts +0 -7
  79. package/dist/vue/pause.d.cts +0 -7
  80. package/dist/vue/pause.d.ts +0 -7
  81. package/dist/vue/play.d.cts +0 -7
  82. package/dist/vue/play.d.ts +0 -7
  83. package/dist/vue/plus.d.cts +0 -7
  84. package/dist/vue/plus.d.ts +0 -7
  85. package/dist/vue/retreat.d.cts +0 -7
  86. package/dist/vue/retreat.d.ts +0 -7
  87. package/dist/vue/right.d.cts +0 -7
  88. package/dist/vue/right.d.ts +0 -7
  89. package/dist/vue/sound.d.cts +0 -7
  90. package/dist/vue/sound.d.ts +0 -7
  91. package/dist/vue/star.d.cts +0 -7
  92. package/dist/vue/star.d.ts +0 -7
  93. package/dist/vue/up.d.cts +0 -7
  94. package/dist/vue/up.d.ts +0 -7
  95. package/dist/vue/views.d.cts +0 -7
  96. package/dist/vue/views.d.ts +0 -7
@@ -5,7 +5,7 @@ var _chunkIIVF4KK5cjs = require('./chunk-IIVF4KK5.cjs');
5
5
  // packages/icon/index.ts
6
6
  var _vue = require('vue');
7
7
 
8
- // node_modules/.pnpm/@fangzhongya+utils@0.0.72/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
8
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
9
9
  function humpToLine(name) {
10
10
  const reg3 = /(([A-Z])([^A-Z]*))/g;
11
11
  let result;
@@ -100,12 +100,6 @@ var icon_default = _vue.defineComponent.call(void 0, {
100
100
  size: {
101
101
  type: [String, Number]
102
102
  },
103
- /**
104
- */
105
- runtime: {
106
- type: Boolean,
107
- default: false
108
- },
109
103
  /**
110
104
  * @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
111
105
  * 图标方向
@@ -5,12 +5,12 @@ var _chunkIIVF4KK5cjs = require('./chunk-IIVF4KK5.cjs');
5
5
  // packages/iconify.ts
6
6
  var _vue = require('vue');
7
7
 
8
- // node_modules/.pnpm/@fangzhongya+utils@0.0.72/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
8
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
9
9
  function firstUpper(str) {
10
10
  return str.slice(0, 1).toUpperCase() + str.slice(1);
11
11
  }
12
12
 
13
- // node_modules/.pnpm/@fangzhongya+utils@0.0.72/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
13
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
14
14
  function lineToLargeHump(name) {
15
15
  let arr = name.split("-");
16
16
  arr = arr.map((vs) => {
@@ -2,7 +2,7 @@
2
2
  var index_default = {
3
3
  prefix: "fang-icons",
4
4
  info: {},
5
- lastModified: 1767874437948,
5
+ lastModified: 1767879845394,
6
6
  icons: {
7
7
  bar: {
8
8
  body: '<path d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"></path>'
@@ -5,12 +5,12 @@ import {
5
5
  // packages/iconify.ts
6
6
  import { defineComponent, h } from "vue";
7
7
 
8
- // node_modules/.pnpm/@fangzhongya+utils@0.0.72/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
8
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
9
9
  function firstUpper(str) {
10
10
  return str.slice(0, 1).toUpperCase() + str.slice(1);
11
11
  }
12
12
 
13
- // node_modules/.pnpm/@fangzhongya+utils@0.0.72/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
13
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
14
14
  function lineToLargeHump(name) {
15
15
  let arr = name.split("-");
16
16
  arr = arr.map((vs) => {
@@ -2,7 +2,7 @@
2
2
  var index_default = {
3
3
  prefix: "fang-icons",
4
4
  info: {},
5
- lastModified: 1767874437948,
5
+ lastModified: 1767879845394,
6
6
  icons: {
7
7
  bar: {
8
8
  body: '<path d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"></path>'
@@ -5,7 +5,7 @@ import {
5
5
  // packages/icon/index.ts
6
6
  import { h, defineComponent, resolveComponent, computed, Fragment } from "vue";
7
7
 
8
- // node_modules/.pnpm/@fangzhongya+utils@0.0.72/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
8
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
9
9
  function humpToLine(name) {
10
10
  const reg3 = /(([A-Z])([^A-Z]*))/g;
11
11
  let result;
@@ -100,12 +100,6 @@ var icon_default = defineComponent({
100
100
  size: {
101
101
  type: [String, Number]
102
102
  },
103
- /**
104
- */
105
- runtime: {
106
- type: Boolean,
107
- default: false
108
- },
109
103
  /**
110
104
  * @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
111
105
  * 图标方向
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQ4QUAF3Wcjs = require('../chunk-Q4QUAF3W.cjs');
3
+ var _chunk2LL6OGUUcjs = require('../chunk-2LL6OGUU.cjs');
4
4
  require('../chunk-3376ZTRC.cjs');
5
5
  require('../chunk-IIVF4KK5.cjs');
6
6
  require('../chunk-75ZPJI57.cjs');
7
7
 
8
8
 
9
- exports.default = _chunkQ4QUAF3Wcjs.icon_default;
9
+ exports.default = _chunk2LL6OGUUcjs.icon_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  icon_default
3
- } from "../chunk-5JGXNE36.js";
3
+ } from "../chunk-TKF4GGHW.js";
4
4
  import "../chunk-BYXBJQAS.js";
5
5
  import "../chunk-MOHILOKE.js";
6
6
  import "../chunk-MLKGABMK.js";
package/dist/iconify.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkTKPAHR5Gcjs = require('./chunk-TKPAHR5G.cjs');
6
+ var _chunk6CU3NPDGcjs = require('./chunk-6CU3NPDG.cjs');
7
7
  require('./chunk-3376ZTRC.cjs');
8
8
  require('./chunk-IIVF4KK5.cjs');
9
9
  require('./chunk-75ZPJI57.cjs');
@@ -12,4 +12,4 @@ require('./chunk-75ZPJI57.cjs');
12
12
 
13
13
 
14
14
 
15
- exports.getIconifySVG = _chunkTKPAHR5Gcjs.getIconifySVG; exports.getViewBox = _chunkTKPAHR5Gcjs.getViewBox; exports.iconify = _chunkTKPAHR5Gcjs.iconify; exports.iconifySVG = _chunkTKPAHR5Gcjs.iconifySVG;
15
+ exports.getIconifySVG = _chunk6CU3NPDGcjs.getIconifySVG; exports.getViewBox = _chunk6CU3NPDGcjs.getViewBox; exports.iconify = _chunk6CU3NPDGcjs.iconify; exports.iconifySVG = _chunk6CU3NPDGcjs.iconifySVG;
package/dist/iconify.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  getViewBox,
4
4
  iconify,
5
5
  iconifySVG
6
- } from "./chunk-SDYAFYDS.js";
6
+ } from "./chunk-7QX4NRMQ.js";
7
7
  import "./chunk-BYXBJQAS.js";
8
8
  import "./chunk-MOHILOKE.js";
9
9
  import "./chunk-MLKGABMK.js";
package/dist/index.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-icons",
3
3
  "info": {},
4
- "lastModified": 1767874437948,
4
+ "lastModified": 1767879845394,
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>"
package/dist/json.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIS73KLAOcjs = require('./chunk-IS73KLAO.cjs');
3
+ var _chunk6PIMEBN4cjs = require('./chunk-6PIMEBN4.cjs');
4
4
  require('./chunk-75ZPJI57.cjs');
5
5
 
6
6
 
7
- exports.default = _chunkIS73KLAOcjs.json_default;
7
+ exports.default = _chunk6PIMEBN4cjs.json_default;
package/dist/json.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  json_default
3
- } from "./chunk-HQXDJKWB.js";
3
+ } from "./chunk-TAGR77OF.js";
4
4
  import "./chunk-MLKGABMK.js";
5
5
  export {
6
6
  json_default as default
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQ4QUAF3Wcjs = require('../chunk-Q4QUAF3W.cjs');
3
+ var _chunk2LL6OGUUcjs = require('../chunk-2LL6OGUU.cjs');
4
4
  require('../chunk-3376ZTRC.cjs');
5
5
  require('../chunk-IIVF4KK5.cjs');
6
6
 
@@ -13,9 +13,15 @@ var _vue = require('vue');
13
13
  var picker_default = _vue.defineComponent.call(void 0, {
14
14
  name: "Picker",
15
15
  props: {
16
+ icon: {
17
+ type: Object
18
+ },
16
19
  dialog: {
17
20
  type: Object
18
21
  },
22
+ clearable: {
23
+ type: Boolean
24
+ },
19
25
  /**
20
26
  * @props { String } modelValue= ( )
21
27
  * 图标名称
@@ -70,6 +76,17 @@ var picker_default = _vue.defineComponent.call(void 0, {
70
76
  return obj;
71
77
  }
72
78
  });
79
+ const iconVue = _vue.computed.call(void 0, () => {
80
+ if (props.icon) {
81
+ if (typeof props.icon === "string") {
82
+ return resolveComponent(props.icon);
83
+ } else {
84
+ return props.icon;
85
+ }
86
+ } else {
87
+ return _chunk2LL6OGUUcjs.icon_default;
88
+ }
89
+ });
73
90
  let size = props.size;
74
91
  if (typeof size === "number") {
75
92
  size = size + "px";
@@ -100,7 +117,7 @@ var picker_default = _vue.defineComponent.call(void 0, {
100
117
  }
101
118
  },
102
119
  [
103
- _vue.h.call(void 0, _chunkQ4QUAF3Wcjs.icon_default, {
120
+ _vue.h.call(void 0, iconVue.value, {
104
121
  type: props.type,
105
122
  size: props.size,
106
123
  name: props.modelValue
@@ -115,12 +132,34 @@ var picker_default = _vue.defineComponent.call(void 0, {
115
132
  }
116
133
  },
117
134
  name.value
118
- )
135
+ ),
136
+ props.clearable && name.value ? _vue.h.call(void 0,
137
+ "span",
138
+ {
139
+ style: {
140
+ cursor: "pointer",
141
+ padding: "5px",
142
+ fontSize: "16px",
143
+ width: "24px",
144
+ textAlign: "center"
145
+ },
146
+ onClick(e) {
147
+ e.stopPropagation();
148
+ name.value = void 0;
149
+ emit(
150
+ "update:modelValue",
151
+ name.value
152
+ );
153
+ }
154
+ },
155
+ "x"
156
+ ) : void 0
119
157
  ]
120
158
  ),
121
159
  _vue.h.call(void 0,
122
160
  props.dialog || _chunkEEMF44IHcjs.dialog_default,
123
161
  {
162
+ title: "\u9009\u62E9\u56FE\u6807",
124
163
  modelValue: box.value,
125
164
  "onUpdate:modelValue": (v) => {
126
165
  box.value = v;
@@ -181,11 +220,28 @@ var picker_default = _vue.defineComponent.call(void 0, {
181
220
  },
182
221
  name.value
183
222
  ),
184
- _vue.h.call(void 0, _chunkQ4QUAF3Wcjs.icon_default, {
223
+ _vue.h.call(void 0, iconVue.value, {
185
224
  type: props.type,
186
225
  size: props.size,
187
226
  name: name.value
188
- })
227
+ }),
228
+ props.clearable && name.value ? _vue.h.call(void 0,
229
+ "span",
230
+ {
231
+ style: {
232
+ cursor: "pointer",
233
+ marginLeft: "10px",
234
+ padding: "5px",
235
+ fontSize: "16px",
236
+ textAlign: "center"
237
+ },
238
+ onClick(e) {
239
+ name.value = void 0;
240
+ box.value = false;
241
+ }
242
+ },
243
+ "\u6E05\u7A7A"
244
+ ) : void 0
189
245
  ]
190
246
  )
191
247
  ]
@@ -232,7 +288,7 @@ var picker_default = _vue.defineComponent.call(void 0, {
232
288
  }
233
289
  },
234
290
  [
235
- _vue.h.call(void 0, _chunkQ4QUAF3Wcjs.icon_default, {
291
+ _vue.h.call(void 0, _chunk2LL6OGUUcjs.icon_default, {
236
292
  style: {
237
293
  margin: "5px",
238
294
  marginBottom: 0,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  icon_default
3
- } from "../chunk-5JGXNE36.js";
3
+ } from "../chunk-TKF4GGHW.js";
4
4
  import "../chunk-BYXBJQAS.js";
5
5
  import "../chunk-MOHILOKE.js";
6
6
  import {
@@ -13,9 +13,15 @@ import { h, defineComponent, ref, computed } from "vue";
13
13
  var picker_default = defineComponent({
14
14
  name: "Picker",
15
15
  props: {
16
+ icon: {
17
+ type: Object
18
+ },
16
19
  dialog: {
17
20
  type: Object
18
21
  },
22
+ clearable: {
23
+ type: Boolean
24
+ },
19
25
  /**
20
26
  * @props { String } modelValue= ( )
21
27
  * 图标名称
@@ -70,6 +76,17 @@ var picker_default = defineComponent({
70
76
  return obj;
71
77
  }
72
78
  });
79
+ const iconVue = computed(() => {
80
+ if (props.icon) {
81
+ if (typeof props.icon === "string") {
82
+ return resolveComponent(props.icon);
83
+ } else {
84
+ return props.icon;
85
+ }
86
+ } else {
87
+ return icon_default;
88
+ }
89
+ });
73
90
  let size = props.size;
74
91
  if (typeof size === "number") {
75
92
  size = size + "px";
@@ -100,7 +117,7 @@ var picker_default = defineComponent({
100
117
  }
101
118
  },
102
119
  [
103
- h(icon_default, {
120
+ h(iconVue.value, {
104
121
  type: props.type,
105
122
  size: props.size,
106
123
  name: props.modelValue
@@ -115,12 +132,34 @@ var picker_default = defineComponent({
115
132
  }
116
133
  },
117
134
  name.value
118
- )
135
+ ),
136
+ props.clearable && name.value ? h(
137
+ "span",
138
+ {
139
+ style: {
140
+ cursor: "pointer",
141
+ padding: "5px",
142
+ fontSize: "16px",
143
+ width: "24px",
144
+ textAlign: "center"
145
+ },
146
+ onClick(e) {
147
+ e.stopPropagation();
148
+ name.value = void 0;
149
+ emit(
150
+ "update:modelValue",
151
+ name.value
152
+ );
153
+ }
154
+ },
155
+ "x"
156
+ ) : void 0
119
157
  ]
120
158
  ),
121
159
  h(
122
160
  props.dialog || dialog_default,
123
161
  {
162
+ title: "\u9009\u62E9\u56FE\u6807",
124
163
  modelValue: box.value,
125
164
  "onUpdate:modelValue": (v) => {
126
165
  box.value = v;
@@ -181,11 +220,28 @@ var picker_default = defineComponent({
181
220
  },
182
221
  name.value
183
222
  ),
184
- h(icon_default, {
223
+ h(iconVue.value, {
185
224
  type: props.type,
186
225
  size: props.size,
187
226
  name: name.value
188
- })
227
+ }),
228
+ props.clearable && name.value ? h(
229
+ "span",
230
+ {
231
+ style: {
232
+ cursor: "pointer",
233
+ marginLeft: "10px",
234
+ padding: "5px",
235
+ fontSize: "16px",
236
+ textAlign: "center"
237
+ },
238
+ onClick(e) {
239
+ name.value = void 0;
240
+ box.value = false;
241
+ }
242
+ },
243
+ "\u6E05\u7A7A"
244
+ ) : void 0
189
245
  ]
190
246
  )
191
247
  ]
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkTKPAHR5Gcjs = require('../chunk-TKPAHR5G.cjs');
4
+ var _chunk6CU3NPDGcjs = require('../chunk-6CU3NPDG.cjs');
5
5
 
6
6
 
7
- var _chunkIS73KLAOcjs = require('../chunk-IS73KLAO.cjs');
7
+ var _chunk6PIMEBN4cjs = require('../chunk-6PIMEBN4.cjs');
8
8
  require('../chunk-3376ZTRC.cjs');
9
9
  require('../chunk-IIVF4KK5.cjs');
10
10
  require('../chunk-75ZPJI57.cjs');
11
11
 
12
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-4CBOJSDB.js
12
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-ER44O4IJ.js
13
13
  function getStartSames(str, val) {
14
14
  let s = "";
15
15
  const vs = [...val];
@@ -47,12 +47,12 @@ function getImportUrl(url, imp) {
47
47
  return ds.join("") + arr[2].replace(/\\/g, "/");
48
48
  }
49
49
 
50
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-3GUX6LOY.js
50
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-A7RAGYE3.js
51
51
  function getImportUrlSuffix(url, imp) {
52
52
  return getImportUrl(url, imp).replace(/\.([a-z|A-Z][a-z|A-Z|0-9]*)$/, "");
53
53
  }
54
54
 
55
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-I5KYQX4M.js
55
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-36XULS54.js
56
56
 
57
57
 
58
58
 
@@ -352,7 +352,7 @@ function writeFileUrl(url, files, callback, isDirs, isFile, issynch) {
352
352
  });
353
353
  }
354
354
 
355
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-FWEGYLR7.js
355
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-55GZI3ZZ.js
356
356
 
357
357
  function styleLog(msg = "", obj) {
358
358
  const arr = ["\x1B[0m"];
@@ -774,7 +774,7 @@ var FangCom = class {
774
774
  }
775
775
  };
776
776
 
777
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-IMEZSVK5.js
777
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-VZKQWRZ3.js
778
778
 
779
779
  var defaultConfig2 = Object.assign({}, defaultConfig, {
780
780
  name: "file",
@@ -875,7 +875,7 @@ var FangFile = class extends FangCom {
875
875
  }
876
876
  };
877
877
 
878
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-3VPCYJWK.js
878
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-WJXYWEHS.js
879
879
 
880
880
  var defaultConfig22 = Object.assign({}, defaultConfig2, {
881
881
  name: "out",
@@ -1222,13 +1222,13 @@ function findComponents(code, name) {
1222
1222
  return components;
1223
1223
  }
1224
1224
  function getText(iconName, match) {
1225
- const svg = _chunkTKPAHR5Gcjs.getIconifySVG.call(void 0, _chunkIS73KLAOcjs.json_default, iconName, 'v-bind="scope"');
1225
+ const svg = _chunk6CU3NPDGcjs.getIconifySVG.call(void 0, _chunk6PIMEBN4cjs.json_default, iconName, 'v-bind="scope"');
1226
1226
  const s = match.fullMatch.replace(`name="${iconName}"`, "").replace(`</${match.componentName}>`, "");
1227
1227
  const text = `${s}<template #default="scope">${svg}</template></${match.componentName}>`;
1228
1228
  return { text, imptext: "" };
1229
1229
  }
1230
1230
  function getImportName(iconName) {
1231
- return _chunkTKPAHR5Gcjs.lineToLargeHump.call(void 0, "fang-icon-" + iconName);
1231
+ return _chunk6CU3NPDGcjs.lineToLargeHump.call(void 0, "fang-icon-" + iconName);
1232
1232
  }
1233
1233
  function getVue(iconName, match) {
1234
1234
  const text = match.fullMatch.replace(
@@ -1248,7 +1248,7 @@ function replaceComponent(match, type, dynamic, customReplacement) {
1248
1248
  if (customReplacement) {
1249
1249
  return customReplacement(iconName, attributes);
1250
1250
  }
1251
- let svgContent = _chunkIS73KLAOcjs.json_default.icons[iconName];
1251
+ let svgContent = _chunk6PIMEBN4cjs.json_default.icons[iconName];
1252
1252
  if (!svgContent) {
1253
1253
  return { text: match.fullMatch, imptext: "" };
1254
1254
  }
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  getIconifySVG,
3
3
  lineToLargeHump
4
- } from "../chunk-SDYAFYDS.js";
4
+ } from "../chunk-7QX4NRMQ.js";
5
5
  import {
6
6
  json_default
7
- } from "../chunk-HQXDJKWB.js";
7
+ } from "../chunk-TAGR77OF.js";
8
8
  import "../chunk-BYXBJQAS.js";
9
9
  import "../chunk-MOHILOKE.js";
10
10
  import "../chunk-MLKGABMK.js";
11
11
 
12
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-4CBOJSDB.js
12
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-ER44O4IJ.js
13
13
  function getStartSames(str, val) {
14
14
  let s = "";
15
15
  const vs = [...val];
@@ -47,12 +47,12 @@ function getImportUrl(url, imp) {
47
47
  return ds.join("") + arr[2].replace(/\\/g, "/");
48
48
  }
49
49
 
50
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-3GUX6LOY.js
50
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-A7RAGYE3.js
51
51
  function getImportUrlSuffix(url, imp) {
52
52
  return getImportUrl(url, imp).replace(/\.([a-z|A-Z][a-z|A-Z|0-9]*)$/, "");
53
53
  }
54
54
 
55
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-I5KYQX4M.js
55
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-36XULS54.js
56
56
  import {
57
57
  open,
58
58
  readdir,
@@ -352,7 +352,7 @@ function writeFileUrl(url, files, callback, isDirs, isFile, issynch) {
352
352
  });
353
353
  }
354
354
 
355
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-FWEGYLR7.js
355
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-55GZI3ZZ.js
356
356
  import { resolve, join as join2 } from "path";
357
357
  function styleLog(msg = "", obj) {
358
358
  const arr = ["\x1B[0m"];
@@ -774,7 +774,7 @@ var FangCom = class {
774
774
  }
775
775
  };
776
776
 
777
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-IMEZSVK5.js
777
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-VZKQWRZ3.js
778
778
  import { resolve as resolve2, join as join3 } from "path";
779
779
  var defaultConfig2 = Object.assign({}, defaultConfig, {
780
780
  name: "file",
@@ -875,7 +875,7 @@ var FangFile = class extends FangCom {
875
875
  }
876
876
  };
877
877
 
878
- // node_modules/.pnpm/@fangzhongya+create@0.2.49/node_modules/@fangzhongya/create/dist/chunk-3VPCYJWK.js
878
+ // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-WJXYWEHS.js
879
879
  import { join as join4 } from "path";
880
880
  var defaultConfig22 = Object.assign({}, defaultConfig2, {
881
881
  name: "out",
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.25",
5
+ "version": "0.0.27",
6
6
  "description ": "个人图标库",
7
7
  "author": "fangzhongya ",
8
8
  "license": "MIT",
@@ -18,8 +18,8 @@
18
18
  "registry": "https://registry.npmjs.org/"
19
19
  },
20
20
  "devDependencies": {
21
- "@fangzhongya/create": "0.2.49",
22
- "@fangzhongya/utils": "0.0.72",
21
+ "@fangzhongya/create": "0.2.50",
22
+ "@fangzhongya/utils": "0.0.73",
23
23
  "@iconify/vue": "5.0.0",
24
24
  "@types/node": "^25.0.3",
25
25
  "@vitejs/plugin-vue": "^6.0.3",