@fangzhongya/icons 0.0.28 → 0.0.29

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.
@@ -2,7 +2,7 @@
2
2
  var index_default = {
3
3
  prefix: "fang-icons",
4
4
  info: {},
5
- lastModified: 1767880063865,
5
+ lastModified: 1767880405257,
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>'
@@ -2,7 +2,7 @@
2
2
  var index_default = {
3
3
  prefix: "fang-icons",
4
4
  info: {},
5
- lastModified: 1767880063865,
5
+ lastModified: 1767880405257,
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>'
@@ -228,8 +228,8 @@ var icon_default = _vue.defineComponent.call(void 0, {
228
228
  } else if (outputType.value === "pub") {
229
229
  const src = props.directory + "/" + outputName.value + ".svg";
230
230
  return _vue.h.call(void 0, "img", {
231
+ class: [props.iconClass],
231
232
  style: contStyle,
232
- alt: "svg",
233
233
  src
234
234
  });
235
235
  } else if (outputType.value === "css" || outputType.value === "font") {
@@ -241,7 +241,6 @@ var icon_default = _vue.defineComponent.call(void 0, {
241
241
  return _vue.h.call(void 0, "img", {
242
242
  class: [props.iconClass],
243
243
  style: contStyle,
244
- alt: "svg",
245
244
  src: outputName.value
246
245
  });
247
246
  } else if (outputType.value === "svg") {
@@ -228,8 +228,8 @@ var icon_default = defineComponent({
228
228
  } else if (outputType.value === "pub") {
229
229
  const src = props.directory + "/" + outputName.value + ".svg";
230
230
  return h("img", {
231
+ class: [props.iconClass],
231
232
  style: contStyle,
232
- alt: "svg",
233
233
  src
234
234
  });
235
235
  } else if (outputType.value === "css" || outputType.value === "font") {
@@ -241,7 +241,6 @@ var icon_default = defineComponent({
241
241
  return h("img", {
242
242
  class: [props.iconClass],
243
243
  style: contStyle,
244
- alt: "svg",
245
244
  src: outputName.value
246
245
  });
247
246
  } else if (outputType.value === "svg") {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2LL6OGUUcjs = require('../chunk-2LL6OGUU.cjs');
3
+ var _chunkPUWPNLDYcjs = require('../chunk-PUWPNLDY.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 = _chunk2LL6OGUUcjs.icon_default;
9
+ exports.default = _chunkPUWPNLDYcjs.icon_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  icon_default
3
- } from "../chunk-TKF4GGHW.js";
3
+ } from "../chunk-WBRCD7JF.js";
4
4
  import "../chunk-BYXBJQAS.js";
5
5
  import "../chunk-MOHILOKE.js";
6
6
  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": 1767880063865,
4
+ "lastModified": 1767880405257,
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 _chunk6HEYV6HJcjs = require('./chunk-6HEYV6HJ.cjs');
3
+ var _chunk73TKL5VLcjs = require('./chunk-73TKL5VL.cjs');
4
4
  require('./chunk-75ZPJI57.cjs');
5
5
 
6
6
 
7
- exports.default = _chunk6HEYV6HJcjs.json_default;
7
+ exports.default = _chunk73TKL5VLcjs.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 = 1767880063865;
4
+ var lastModified = 1767880405257;
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 = 1767880063865;
4
+ var lastModified = 1767880405257;
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-TGMIXPQX.js";
3
+ } from "./chunk-6H7WLSYF.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 _chunk2LL6OGUUcjs = require('../chunk-2LL6OGUU.cjs');
3
+ var _chunkPUWPNLDYcjs = require('../chunk-PUWPNLDY.cjs');
4
4
  require('../chunk-3376ZTRC.cjs');
5
5
  require('../chunk-IIVF4KK5.cjs');
6
6
 
@@ -84,7 +84,7 @@ var picker_default = _vue.defineComponent.call(void 0, {
84
84
  return props.icon;
85
85
  }
86
86
  } else {
87
- return _chunk2LL6OGUUcjs.icon_default;
87
+ return _chunkPUWPNLDYcjs.icon_default;
88
88
  }
89
89
  });
90
90
  let size = props.size;
@@ -288,7 +288,7 @@ var picker_default = _vue.defineComponent.call(void 0, {
288
288
  }
289
289
  },
290
290
  [
291
- _vue.h.call(void 0, _chunk2LL6OGUUcjs.icon_default, {
291
+ _vue.h.call(void 0, _chunkPUWPNLDYcjs.icon_default, {
292
292
  style: {
293
293
  margin: "5px",
294
294
  marginBottom: 0,
@@ -103,8 +103,8 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
103
103
  }>> & Readonly<{
104
104
  "onUpdate:modelValue"?: (...args: any[]) => any;
105
105
  }>, {
106
- clearable: boolean;
107
106
  size: string | number;
107
+ clearable: boolean;
108
108
  icons: Icons;
109
109
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
110
110
 
@@ -103,8 +103,8 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
103
103
  }>> & Readonly<{
104
104
  "onUpdate:modelValue"?: (...args: any[]) => any;
105
105
  }>, {
106
- clearable: boolean;
107
106
  size: string | number;
107
+ clearable: boolean;
108
108
  icons: Icons;
109
109
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
110
110
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  icon_default
3
- } from "../chunk-TKF4GGHW.js";
3
+ } from "../chunk-WBRCD7JF.js";
4
4
  import "../chunk-BYXBJQAS.js";
5
5
  import "../chunk-MOHILOKE.js";
6
6
  import {
@@ -4,7 +4,7 @@
4
4
  var _chunk6CU3NPDGcjs = require('../chunk-6CU3NPDG.cjs');
5
5
 
6
6
 
7
- var _chunk6HEYV6HJcjs = require('../chunk-6HEYV6HJ.cjs');
7
+ var _chunk73TKL5VLcjs = require('../chunk-73TKL5VL.cjs');
8
8
  require('../chunk-3376ZTRC.cjs');
9
9
  require('../chunk-IIVF4KK5.cjs');
10
10
  require('../chunk-75ZPJI57.cjs');
@@ -1222,7 +1222,7 @@ function findComponents(code, name) {
1222
1222
  return components;
1223
1223
  }
1224
1224
  function getText(iconName, match) {
1225
- const svg = _chunk6CU3NPDGcjs.getIconifySVG.call(void 0, _chunk6HEYV6HJcjs.json_default, iconName, 'v-bind="scope"');
1225
+ const svg = _chunk6CU3NPDGcjs.getIconifySVG.call(void 0, _chunk73TKL5VLcjs.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: "" };
@@ -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 = _chunk6HEYV6HJcjs.json_default.icons[iconName];
1251
+ let svgContent = _chunk73TKL5VLcjs.json_default.icons[iconName];
1252
1252
  if (!svgContent) {
1253
1253
  return { text: match.fullMatch, imptext: "" };
1254
1254
  }
@@ -4,7 +4,7 @@ import {
4
4
  } from "../chunk-7QX4NRMQ.js";
5
5
  import {
6
6
  json_default
7
- } from "../chunk-TGMIXPQX.js";
7
+ } from "../chunk-6H7WLSYF.js";
8
8
  import "../chunk-BYXBJQAS.js";
9
9
  import "../chunk-MOHILOKE.js";
10
10
  import "../chunk-MLKGABMK.js";
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.28",
5
+ "version": "0.0.29",
6
6
  "description ": "个人图标库",
7
7
  "author": "fangzhongya ",
8
8
  "license": "MIT",