@fangzhongya/icons 0.0.25 → 0.0.26

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.
@@ -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) => {
@@ -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: 1767876618213,
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;
@@ -2,7 +2,7 @@
2
2
  var index_default = {
3
3
  prefix: "fang-icons",
4
4
  info: {},
5
- lastModified: 1767874437948,
5
+ lastModified: 1767876618213,
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 @@ 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;
@@ -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 _chunkTEKHTJSDcjs = require('../chunk-TEKHTJSD.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 = _chunkTEKHTJSDcjs.icon_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  icon_default
3
- } from "../chunk-5JGXNE36.js";
3
+ } from "../chunk-FY4NYXM7.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": 1767876618213,
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 _chunkRS35DSE3cjs = require('./chunk-RS35DSE3.cjs');
4
4
  require('./chunk-75ZPJI57.cjs');
5
5
 
6
6
 
7
- exports.default = _chunkIS73KLAOcjs.json_default;
7
+ exports.default = _chunkRS35DSE3cjs.json_default;
package/dist/json.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  var prefix = "fang-icons";
2
2
  var info = {
3
3
  };
4
- var lastModified = 1767874437948;
4
+ var lastModified = 1767876618213;
5
5
  var 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.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  var prefix = "fang-icons";
2
2
  var info = {
3
3
  };
4
- var lastModified = 1767874437948;
4
+ var lastModified = 1767876618213;
5
5
  var 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.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  json_default
3
- } from "./chunk-HQXDJKWB.js";
3
+ } from "./chunk-FDMRAGOU.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 _chunkTEKHTJSDcjs = require('../chunk-TEKHTJSD.cjs');
4
4
  require('../chunk-3376ZTRC.cjs');
5
5
  require('../chunk-IIVF4KK5.cjs');
6
6
 
@@ -100,7 +100,7 @@ var picker_default = _vue.defineComponent.call(void 0, {
100
100
  }
101
101
  },
102
102
  [
103
- _vue.h.call(void 0, _chunkQ4QUAF3Wcjs.icon_default, {
103
+ _vue.h.call(void 0, _chunkTEKHTJSDcjs.icon_default, {
104
104
  type: props.type,
105
105
  size: props.size,
106
106
  name: props.modelValue
@@ -181,7 +181,7 @@ var picker_default = _vue.defineComponent.call(void 0, {
181
181
  },
182
182
  name.value
183
183
  ),
184
- _vue.h.call(void 0, _chunkQ4QUAF3Wcjs.icon_default, {
184
+ _vue.h.call(void 0, _chunkTEKHTJSDcjs.icon_default, {
185
185
  type: props.type,
186
186
  size: props.size,
187
187
  name: name.value
@@ -232,7 +232,7 @@ var picker_default = _vue.defineComponent.call(void 0, {
232
232
  }
233
233
  },
234
234
  [
235
- _vue.h.call(void 0, _chunkQ4QUAF3Wcjs.icon_default, {
235
+ _vue.h.call(void 0, _chunkTEKHTJSDcjs.icon_default, {
236
236
  style: {
237
237
  margin: "5px",
238
238
  marginBottom: 0,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  icon_default
3
- } from "../chunk-5JGXNE36.js";
3
+ } from "../chunk-FY4NYXM7.js";
4
4
  import "../chunk-BYXBJQAS.js";
5
5
  import "../chunk-MOHILOKE.js";
6
6
  import {
@@ -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 _chunkRS35DSE3cjs = require('../chunk-RS35DSE3.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, _chunkRS35DSE3cjs.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 = _chunkRS35DSE3cjs.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-FDMRAGOU.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.26",
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",