@arco-iconbox/vue-smartcode 0.1.2 → 0.1.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/icon.js +1284 -1216
- package/dist/icon.js.map +1 -1
- package/dist/icon.min.js +58 -50
- package/dist/icon.min.js.map +1 -1
- package/esm/IconFillStart/index.js +40 -0
- package/esm/IconLineCode/index.js +32 -0
- package/esm/index.js +2 -0
- package/lib/IconFillStart/index.js +41 -0
- package/lib/IconLineCode/index.js +33 -0
- package/lib/index.js +4 -0
- package/package.json +1 -1
- package/src/IconFillStart/index.vue +19 -0
- package/src/IconLineCode/index.vue +19 -0
- package/src/index.js +3 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, mergeProps, createElementVNode } from "vue";
|
|
2
|
+
import _export_sfc from "../_virtual/plugin-vue_export-helper.js";
|
|
3
|
+
const _sfc_main = {
|
|
4
|
+
name: "IconFillStart",
|
|
5
|
+
props: {
|
|
6
|
+
prefix: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: "sc"
|
|
9
|
+
},
|
|
10
|
+
useCurrentColor: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: true
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const _hoisted_1 = ["fill"];
|
|
17
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("g", { "clip-path": "url(#svg_3b38a6300c__clip0_4044_285953)" }, [
|
|
18
|
+
/* @__PURE__ */ createElementVNode("path", { d: "M8.00024 0.800781C11.9766 0.800887 15.2004 4.02459 15.2004 8.00098C15.2003 11.9773 11.9765 15.2011 8.00024 15.2012C4.02386 15.2012 0.800154 11.9773 0.800049 8.00098C0.800049 4.02453 4.02379 0.800781 8.00024 0.800781ZM6.65649 5.45996C6.51347 5.47862 6.36375 5.56084 6.27173 5.67188C6.1613 5.80529 6.13652 5.99878 6.08618 6.38477C5.92906 7.58963 5.93612 8.5386 6.09595 9.70605C6.14522 10.0659 6.16914 10.2467 6.27466 10.377C6.36147 10.484 6.50776 10.5684 6.6438 10.5908C6.80935 10.6179 6.97608 10.551 7.30884 10.417C8.34333 10.0004 9.16188 9.52255 10.1672 8.75586C10.4836 8.51458 10.6419 8.39396 10.7024 8.23145C10.7531 8.09507 10.7506 7.92533 10.6946 7.79102C10.6278 7.63087 10.4635 7.51543 10.136 7.28516C9.19642 6.62461 8.39939 6.16395 7.36548 5.68555C7.00766 5.51998 6.82835 5.43767 6.65649 5.45996Z" })
|
|
19
|
+
], -1);
|
|
20
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("defs", null, [
|
|
21
|
+
/* @__PURE__ */ createElementVNode("clipPath", { id: "svg_3b38a6300c__clip0_4044_285953" }, [
|
|
22
|
+
/* @__PURE__ */ createElementVNode("path", { d: "M0 0H16V16H0z" })
|
|
23
|
+
])
|
|
24
|
+
], -1);
|
|
25
|
+
const _hoisted_4 = [
|
|
26
|
+
_hoisted_2,
|
|
27
|
+
_hoisted_3
|
|
28
|
+
];
|
|
29
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30
|
+
return openBlock(), createElementBlock("svg", mergeProps({
|
|
31
|
+
viewBox: "0 0 16 16",
|
|
32
|
+
fill: $props.useCurrentColor ? "currentColor" : "#000",
|
|
33
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
34
|
+
class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-fill-start`],
|
|
35
|
+
width: "1em",
|
|
36
|
+
height: "1em"
|
|
37
|
+
}, _ctx.$attrs), _hoisted_4, 16, _hoisted_1);
|
|
38
|
+
}
|
|
39
|
+
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
40
|
+
export { index as default };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, mergeProps, createElementVNode } from "vue";
|
|
2
|
+
import _export_sfc from "../_virtual/plugin-vue_export-helper.js";
|
|
3
|
+
const _sfc_main = {
|
|
4
|
+
name: "IconLineCode",
|
|
5
|
+
props: {
|
|
6
|
+
prefix: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: "sc"
|
|
9
|
+
},
|
|
10
|
+
useCurrentColor: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: true
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const _hoisted_1 = ["fill"];
|
|
17
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", { d: "M10.0209 1.35938C10.8496 1.35937 11.5117 1.35876 12.0453 1.40234C12.5866 1.4466 13.0553 1.54046 13.4857 1.75977C14.1751 2.11124 14.7359 2.67192 15.0873 3.36133C15.3065 3.79173 15.4005 4.26044 15.4447 4.80176C15.4883 5.33534 15.4877 5.99742 15.4877 6.82617V9.17383C15.4877 10.0028 15.4883 10.6656 15.4447 11.1992C15.4004 11.7405 15.3066 12.2083 15.0873 12.6387C14.7358 13.3284 14.1754 13.8897 13.4857 14.2412C13.0553 14.4605 12.5866 14.5534 12.0453 14.5977C11.5117 14.6412 10.8497 14.6406 10.0209 14.6406H5.97986C5.15109 14.6406 4.48903 14.6412 3.95544 14.5977C3.41413 14.5534 2.94542 14.4604 2.51501 14.2412C1.82538 13.8897 1.26494 13.3283 0.913452 12.6387C0.69418 12.2083 0.600289 11.7405 0.55603 11.1992C0.512431 10.6656 0.513061 10.0028 0.513062 9.17383V6.82617C0.513061 5.99739 0.512462 5.33535 0.55603 4.80176C0.600267 4.26032 0.694139 3.79181 0.913452 3.36133C1.26492 2.67179 1.82548 2.11123 2.51501 1.75977C2.94549 1.54046 3.41402 1.44658 3.95544 1.40234C4.48903 1.35878 5.15109 1.35937 5.97986 1.35938H10.0209ZM5.97986 2.69336C5.12907 2.69336 4.53057 2.69333 4.06384 2.73145C3.60496 2.76894 3.33167 2.83969 3.12048 2.94727C2.68157 3.17095 2.32463 3.52789 2.10095 3.9668C1.99337 4.17799 1.92263 4.45127 1.88513 4.91016C1.84702 5.37689 1.84705 5.97538 1.84705 6.82617V9.17383C1.84705 10.0247 1.847 10.6241 1.88513 11.0908C1.92263 11.5491 1.99349 11.8221 2.10095 12.0332C2.32466 12.4721 2.68159 12.8301 3.12048 13.0537C3.33163 13.1612 3.60518 13.2311 4.06384 13.2686C4.53057 13.3067 5.1291 13.3076 5.97986 13.3076H10.0209C10.8717 13.3076 11.4702 13.3067 11.9369 13.2686C12.3957 13.231 12.6691 13.1613 12.8802 13.0537C13.3192 12.83 13.6761 12.4721 13.8998 12.0332C14.0073 11.8221 14.0781 11.5492 14.1156 11.0908C14.1537 10.6241 14.1537 10.0247 14.1537 9.17383V6.82617C14.1537 5.97541 14.1537 5.37688 14.1156 4.91016C14.0781 4.45147 14.0073 4.17795 13.8998 3.9668C13.6762 3.52802 13.319 3.17095 12.8802 2.94727C12.6691 2.83967 12.3957 2.76896 11.9369 2.73145C11.4702 2.69331 10.8717 2.69336 10.0209 2.69336H5.97986ZM4.32751 5.35254C4.58708 5.09303 5.00823 5.09327 5.26794 5.35254L7.27771 7.3623C7.84917 7.93439 7.84941 8.86165 7.27771 9.43359L5.26794 11.4434C5.00833 11.7025 4.58709 11.7025 4.32751 11.4434C4.068 11.1838 4.06829 10.7627 4.32751 10.5029L6.33728 8.49316C6.38958 8.44062 6.38935 8.35543 6.33728 8.30273L4.32751 6.29297C4.06826 6.03327 4.06804 5.61211 4.32751 5.35254ZM11.2025 10.3076C11.5696 10.3078 11.8675 10.6055 11.8676 10.9727C11.8674 11.3396 11.5695 11.6375 11.2025 11.6377H8.59314C8.22597 11.6377 7.92827 11.3398 7.9281 10.9727C7.92812 10.6054 8.22588 10.3076 8.59314 10.3076H11.2025Z" }, null, -1);
|
|
18
|
+
const _hoisted_3 = [
|
|
19
|
+
_hoisted_2
|
|
20
|
+
];
|
|
21
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22
|
+
return openBlock(), createElementBlock("svg", mergeProps({
|
|
23
|
+
viewBox: "0 0 16 16",
|
|
24
|
+
fill: $props.useCurrentColor ? "currentColor" : "#000",
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-line-code`],
|
|
27
|
+
width: "1em",
|
|
28
|
+
height: "1em"
|
|
29
|
+
}, _ctx.$attrs), _hoisted_3, 16, _hoisted_1);
|
|
30
|
+
}
|
|
31
|
+
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
32
|
+
export { index as default };
|
package/esm/index.js
CHANGED
|
@@ -148,3 +148,5 @@ export { default as IconLineObject } from "./IconLineObject/index.js";
|
|
|
148
148
|
export { default as IconLineStrArray } from "./IconLineStrArray/index.js";
|
|
149
149
|
export { default as IconLineStr } from "./IconLineStr/index.js";
|
|
150
150
|
export { default as IconLineEdit } from "./IconLineEdit/index.js";
|
|
151
|
+
export { default as IconFillStart } from "./IconFillStart/index.js";
|
|
152
|
+
export { default as IconLineCode } from "./IconLineCode/index.js";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var pluginVue_exportHelper = require("../_virtual/plugin-vue_export-helper.js");
|
|
4
|
+
const _sfc_main = {
|
|
5
|
+
name: "IconFillStart",
|
|
6
|
+
props: {
|
|
7
|
+
prefix: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "sc"
|
|
10
|
+
},
|
|
11
|
+
useCurrentColor: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: true
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
const _hoisted_1 = ["fill"];
|
|
18
|
+
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("g", { "clip-path": "url(#svg_3b38a6300c__clip0_4044_285953)" }, [
|
|
19
|
+
/* @__PURE__ */ vue.createElementVNode("path", { d: "M8.00024 0.800781C11.9766 0.800887 15.2004 4.02459 15.2004 8.00098C15.2003 11.9773 11.9765 15.2011 8.00024 15.2012C4.02386 15.2012 0.800154 11.9773 0.800049 8.00098C0.800049 4.02453 4.02379 0.800781 8.00024 0.800781ZM6.65649 5.45996C6.51347 5.47862 6.36375 5.56084 6.27173 5.67188C6.1613 5.80529 6.13652 5.99878 6.08618 6.38477C5.92906 7.58963 5.93612 8.5386 6.09595 9.70605C6.14522 10.0659 6.16914 10.2467 6.27466 10.377C6.36147 10.484 6.50776 10.5684 6.6438 10.5908C6.80935 10.6179 6.97608 10.551 7.30884 10.417C8.34333 10.0004 9.16188 9.52255 10.1672 8.75586C10.4836 8.51458 10.6419 8.39396 10.7024 8.23145C10.7531 8.09507 10.7506 7.92533 10.6946 7.79102C10.6278 7.63087 10.4635 7.51543 10.136 7.28516C9.19642 6.62461 8.39939 6.16395 7.36548 5.68555C7.00766 5.51998 6.82835 5.43767 6.65649 5.45996Z" })
|
|
20
|
+
], -1);
|
|
21
|
+
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("defs", null, [
|
|
22
|
+
/* @__PURE__ */ vue.createElementVNode("clipPath", { id: "svg_3b38a6300c__clip0_4044_285953" }, [
|
|
23
|
+
/* @__PURE__ */ vue.createElementVNode("path", { d: "M0 0H16V16H0z" })
|
|
24
|
+
])
|
|
25
|
+
], -1);
|
|
26
|
+
const _hoisted_4 = [
|
|
27
|
+
_hoisted_2,
|
|
28
|
+
_hoisted_3
|
|
29
|
+
];
|
|
30
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31
|
+
return vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
|
|
32
|
+
viewBox: "0 0 16 16",
|
|
33
|
+
fill: $props.useCurrentColor ? "currentColor" : "#000",
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-fill-start`],
|
|
36
|
+
width: "1em",
|
|
37
|
+
height: "1em"
|
|
38
|
+
}, _ctx.$attrs), _hoisted_4, 16, _hoisted_1);
|
|
39
|
+
}
|
|
40
|
+
var index = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["render", _sfc_render]]);
|
|
41
|
+
module.exports = index;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var pluginVue_exportHelper = require("../_virtual/plugin-vue_export-helper.js");
|
|
4
|
+
const _sfc_main = {
|
|
5
|
+
name: "IconLineCode",
|
|
6
|
+
props: {
|
|
7
|
+
prefix: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "sc"
|
|
10
|
+
},
|
|
11
|
+
useCurrentColor: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: true
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
const _hoisted_1 = ["fill"];
|
|
18
|
+
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", { d: "M10.0209 1.35938C10.8496 1.35937 11.5117 1.35876 12.0453 1.40234C12.5866 1.4466 13.0553 1.54046 13.4857 1.75977C14.1751 2.11124 14.7359 2.67192 15.0873 3.36133C15.3065 3.79173 15.4005 4.26044 15.4447 4.80176C15.4883 5.33534 15.4877 5.99742 15.4877 6.82617V9.17383C15.4877 10.0028 15.4883 10.6656 15.4447 11.1992C15.4004 11.7405 15.3066 12.2083 15.0873 12.6387C14.7358 13.3284 14.1754 13.8897 13.4857 14.2412C13.0553 14.4605 12.5866 14.5534 12.0453 14.5977C11.5117 14.6412 10.8497 14.6406 10.0209 14.6406H5.97986C5.15109 14.6406 4.48903 14.6412 3.95544 14.5977C3.41413 14.5534 2.94542 14.4604 2.51501 14.2412C1.82538 13.8897 1.26494 13.3283 0.913452 12.6387C0.69418 12.2083 0.600289 11.7405 0.55603 11.1992C0.512431 10.6656 0.513061 10.0028 0.513062 9.17383V6.82617C0.513061 5.99739 0.512462 5.33535 0.55603 4.80176C0.600267 4.26032 0.694139 3.79181 0.913452 3.36133C1.26492 2.67179 1.82548 2.11123 2.51501 1.75977C2.94549 1.54046 3.41402 1.44658 3.95544 1.40234C4.48903 1.35878 5.15109 1.35937 5.97986 1.35938H10.0209ZM5.97986 2.69336C5.12907 2.69336 4.53057 2.69333 4.06384 2.73145C3.60496 2.76894 3.33167 2.83969 3.12048 2.94727C2.68157 3.17095 2.32463 3.52789 2.10095 3.9668C1.99337 4.17799 1.92263 4.45127 1.88513 4.91016C1.84702 5.37689 1.84705 5.97538 1.84705 6.82617V9.17383C1.84705 10.0247 1.847 10.6241 1.88513 11.0908C1.92263 11.5491 1.99349 11.8221 2.10095 12.0332C2.32466 12.4721 2.68159 12.8301 3.12048 13.0537C3.33163 13.1612 3.60518 13.2311 4.06384 13.2686C4.53057 13.3067 5.1291 13.3076 5.97986 13.3076H10.0209C10.8717 13.3076 11.4702 13.3067 11.9369 13.2686C12.3957 13.231 12.6691 13.1613 12.8802 13.0537C13.3192 12.83 13.6761 12.4721 13.8998 12.0332C14.0073 11.8221 14.0781 11.5492 14.1156 11.0908C14.1537 10.6241 14.1537 10.0247 14.1537 9.17383V6.82617C14.1537 5.97541 14.1537 5.37688 14.1156 4.91016C14.0781 4.45147 14.0073 4.17795 13.8998 3.9668C13.6762 3.52802 13.319 3.17095 12.8802 2.94727C12.6691 2.83967 12.3957 2.76896 11.9369 2.73145C11.4702 2.69331 10.8717 2.69336 10.0209 2.69336H5.97986ZM4.32751 5.35254C4.58708 5.09303 5.00823 5.09327 5.26794 5.35254L7.27771 7.3623C7.84917 7.93439 7.84941 8.86165 7.27771 9.43359L5.26794 11.4434C5.00833 11.7025 4.58709 11.7025 4.32751 11.4434C4.068 11.1838 4.06829 10.7627 4.32751 10.5029L6.33728 8.49316C6.38958 8.44062 6.38935 8.35543 6.33728 8.30273L4.32751 6.29297C4.06826 6.03327 4.06804 5.61211 4.32751 5.35254ZM11.2025 10.3076C11.5696 10.3078 11.8675 10.6055 11.8676 10.9727C11.8674 11.3396 11.5695 11.6375 11.2025 11.6377H8.59314C8.22597 11.6377 7.92827 11.3398 7.9281 10.9727C7.92812 10.6054 8.22588 10.3076 8.59314 10.3076H11.2025Z" }, null, -1);
|
|
19
|
+
const _hoisted_3 = [
|
|
20
|
+
_hoisted_2
|
|
21
|
+
];
|
|
22
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23
|
+
return vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
|
|
24
|
+
viewBox: "0 0 16 16",
|
|
25
|
+
fill: $props.useCurrentColor ? "currentColor" : "#000",
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-line-code`],
|
|
28
|
+
width: "1em",
|
|
29
|
+
height: "1em"
|
|
30
|
+
}, _ctx.$attrs), _hoisted_3, 16, _hoisted_1);
|
|
31
|
+
}
|
|
32
|
+
var index = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["render", _sfc_render]]);
|
|
33
|
+
module.exports = index;
|
package/lib/index.js
CHANGED
|
@@ -150,6 +150,8 @@ var index$2i = require("./IconLineObject/index.js");
|
|
|
150
150
|
var index$2j = require("./IconLineStrArray/index.js");
|
|
151
151
|
var index$2k = require("./IconLineStr/index.js");
|
|
152
152
|
var index$2l = require("./IconLineEdit/index.js");
|
|
153
|
+
var index$2m = require("./IconFillStart/index.js");
|
|
154
|
+
var index$2n = require("./IconLineCode/index.js");
|
|
153
155
|
exports.IconFillHeart = index;
|
|
154
156
|
exports.IconFillMute = index$1;
|
|
155
157
|
exports.IconFillSound = index$2;
|
|
@@ -300,3 +302,5 @@ exports.IconLineObject = index$2i;
|
|
|
300
302
|
exports.IconLineStrArray = index$2j;
|
|
301
303
|
exports.IconLineStr = index$2k;
|
|
302
304
|
exports.IconLineEdit = index$2l;
|
|
305
|
+
exports.IconFillStart = index$2m;
|
|
306
|
+
exports.IconLineCode = index$2n;
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg viewBox="0 0 16 16" :fill="useCurrentColor ? 'currentColor' : '#000'" xmlns="http://www.w3.org/2000/svg" :class="[`${prefix}-icon`, `${prefix}-icon-fill-start`]" width="1em" height="1em" v-bind="$attrs"><g clip-path="url(#svg_3b38a6300c__clip0_4044_285953)"><path d="M8.00024 0.800781C11.9766 0.800887 15.2004 4.02459 15.2004 8.00098C15.2003 11.9773 11.9765 15.2011 8.00024 15.2012C4.02386 15.2012 0.800154 11.9773 0.800049 8.00098C0.800049 4.02453 4.02379 0.800781 8.00024 0.800781ZM6.65649 5.45996C6.51347 5.47862 6.36375 5.56084 6.27173 5.67188C6.1613 5.80529 6.13652 5.99878 6.08618 6.38477C5.92906 7.58963 5.93612 8.5386 6.09595 9.70605C6.14522 10.0659 6.16914 10.2467 6.27466 10.377C6.36147 10.484 6.50776 10.5684 6.6438 10.5908C6.80935 10.6179 6.97608 10.551 7.30884 10.417C8.34333 10.0004 9.16188 9.52255 10.1672 8.75586C10.4836 8.51458 10.6419 8.39396 10.7024 8.23145C10.7531 8.09507 10.7506 7.92533 10.6946 7.79102C10.6278 7.63087 10.4635 7.51543 10.136 7.28516C9.19642 6.62461 8.39939 6.16395 7.36548 5.68555C7.00766 5.51998 6.82835 5.43767 6.65649 5.45996Z"/></g><defs><clipPath id="svg_3b38a6300c__clip0_4044_285953"><path d="M0 0H16V16H0z"/></clipPath></defs></svg>
|
|
3
|
+
</template>
|
|
4
|
+
<script>
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
name: 'IconFillStart',
|
|
8
|
+
props: {
|
|
9
|
+
prefix: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: 'sc',
|
|
12
|
+
},
|
|
13
|
+
useCurrentColor: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: true,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
</script>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg viewBox="0 0 16 16" :fill="useCurrentColor ? 'currentColor' : '#000'" xmlns="http://www.w3.org/2000/svg" :class="[`${prefix}-icon`, `${prefix}-icon-line-code`]" width="1em" height="1em" v-bind="$attrs"><path d="M10.0209 1.35938C10.8496 1.35937 11.5117 1.35876 12.0453 1.40234C12.5866 1.4466 13.0553 1.54046 13.4857 1.75977C14.1751 2.11124 14.7359 2.67192 15.0873 3.36133C15.3065 3.79173 15.4005 4.26044 15.4447 4.80176C15.4883 5.33534 15.4877 5.99742 15.4877 6.82617V9.17383C15.4877 10.0028 15.4883 10.6656 15.4447 11.1992C15.4004 11.7405 15.3066 12.2083 15.0873 12.6387C14.7358 13.3284 14.1754 13.8897 13.4857 14.2412C13.0553 14.4605 12.5866 14.5534 12.0453 14.5977C11.5117 14.6412 10.8497 14.6406 10.0209 14.6406H5.97986C5.15109 14.6406 4.48903 14.6412 3.95544 14.5977C3.41413 14.5534 2.94542 14.4604 2.51501 14.2412C1.82538 13.8897 1.26494 13.3283 0.913452 12.6387C0.69418 12.2083 0.600289 11.7405 0.55603 11.1992C0.512431 10.6656 0.513061 10.0028 0.513062 9.17383V6.82617C0.513061 5.99739 0.512462 5.33535 0.55603 4.80176C0.600267 4.26032 0.694139 3.79181 0.913452 3.36133C1.26492 2.67179 1.82548 2.11123 2.51501 1.75977C2.94549 1.54046 3.41402 1.44658 3.95544 1.40234C4.48903 1.35878 5.15109 1.35937 5.97986 1.35938H10.0209ZM5.97986 2.69336C5.12907 2.69336 4.53057 2.69333 4.06384 2.73145C3.60496 2.76894 3.33167 2.83969 3.12048 2.94727C2.68157 3.17095 2.32463 3.52789 2.10095 3.9668C1.99337 4.17799 1.92263 4.45127 1.88513 4.91016C1.84702 5.37689 1.84705 5.97538 1.84705 6.82617V9.17383C1.84705 10.0247 1.847 10.6241 1.88513 11.0908C1.92263 11.5491 1.99349 11.8221 2.10095 12.0332C2.32466 12.4721 2.68159 12.8301 3.12048 13.0537C3.33163 13.1612 3.60518 13.2311 4.06384 13.2686C4.53057 13.3067 5.1291 13.3076 5.97986 13.3076H10.0209C10.8717 13.3076 11.4702 13.3067 11.9369 13.2686C12.3957 13.231 12.6691 13.1613 12.8802 13.0537C13.3192 12.83 13.6761 12.4721 13.8998 12.0332C14.0073 11.8221 14.0781 11.5492 14.1156 11.0908C14.1537 10.6241 14.1537 10.0247 14.1537 9.17383V6.82617C14.1537 5.97541 14.1537 5.37688 14.1156 4.91016C14.0781 4.45147 14.0073 4.17795 13.8998 3.9668C13.6762 3.52802 13.319 3.17095 12.8802 2.94727C12.6691 2.83967 12.3957 2.76896 11.9369 2.73145C11.4702 2.69331 10.8717 2.69336 10.0209 2.69336H5.97986ZM4.32751 5.35254C4.58708 5.09303 5.00823 5.09327 5.26794 5.35254L7.27771 7.3623C7.84917 7.93439 7.84941 8.86165 7.27771 9.43359L5.26794 11.4434C5.00833 11.7025 4.58709 11.7025 4.32751 11.4434C4.068 11.1838 4.06829 10.7627 4.32751 10.5029L6.33728 8.49316C6.38958 8.44062 6.38935 8.35543 6.33728 8.30273L4.32751 6.29297C4.06826 6.03327 4.06804 5.61211 4.32751 5.35254ZM11.2025 10.3076C11.5696 10.3078 11.8675 10.6055 11.8676 10.9727C11.8674 11.3396 11.5695 11.6375 11.2025 11.6377H8.59314C8.22597 11.6377 7.92827 11.3398 7.9281 10.9727C7.92812 10.6054 8.22588 10.3076 8.59314 10.3076H11.2025Z"/></svg>
|
|
3
|
+
</template>
|
|
4
|
+
<script>
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
name: 'IconLineCode',
|
|
8
|
+
props: {
|
|
9
|
+
prefix: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: 'sc',
|
|
12
|
+
},
|
|
13
|
+
useCurrentColor: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: true,
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
</script>
|
package/src/index.js
CHANGED
|
@@ -147,4 +147,6 @@ export { default as IconLineObjArray } from './IconLineObjArray/index.vue';
|
|
|
147
147
|
export { default as IconLineObject } from './IconLineObject/index.vue';
|
|
148
148
|
export { default as IconLineStrArray } from './IconLineStrArray/index.vue';
|
|
149
149
|
export { default as IconLineStr } from './IconLineStr/index.vue';
|
|
150
|
-
export { default as IconLineEdit } from './IconLineEdit/index.vue';
|
|
150
|
+
export { default as IconLineEdit } from './IconLineEdit/index.vue';
|
|
151
|
+
export { default as IconFillStart } from './IconFillStart/index.vue';
|
|
152
|
+
export { default as IconLineCode } from './IconLineCode/index.vue';
|