@arco-iconbox/vue-smartcode 0.1.15 → 0.1.16
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 +1302 -1272
- package/dist/icon.js.map +1 -1
- package/dist/icon.min.js +38 -34
- package/dist/icon.min.js.map +1 -1
- package/esm/IconLineSwitch/index.js +32 -0
- package/esm/index.js +1 -0
- package/lib/IconLineSwitch/index.js +33 -0
- package/lib/index.js +2 -0
- package/package.json +1 -1
- package/src/IconLineSwitch/index.vue +19 -0
- package/src/index.js +2 -1
|
@@ -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: "IconLineSwitch",
|
|
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: "M2.69727 6.62941C2.42193 6.62955 2.19824 6.85307 2.19824 7.12844C2.19859 7.40352 2.42214 7.62635 2.69727 7.62649H8.10059L7.28125 8.44582C7.0868 8.64062 7.08658 8.95623 7.28125 9.1509C7.47593 9.34536 7.7916 9.34528 7.98633 9.1509L9.65625 7.48098C9.79883 7.3384 9.8417 7.12334 9.76465 6.93703C9.6874 6.75078 9.50536 6.62941 9.30371 6.62941H2.69727ZM4.71973 2.85305C4.52494 2.6584 4.20938 2.65832 4.01465 2.85305L2.34473 4.52297C2.20234 4.66561 2.15919 4.88068 2.23633 5.06691C2.3136 5.25295 2.4958 5.37443 2.69727 5.37453H9.30371C9.57903 5.37453 9.80252 5.15078 9.80273 4.87551C9.80261 4.60017 9.57908 4.37746 9.30371 4.37746H3.90039L4.71973 3.55813C4.91448 3.36338 4.91442 3.04783 4.71973 2.85305Z" }, 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 12 12",
|
|
24
|
+
fill: $props.useCurrentColor ? "currentColor" : "#000",
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-line-switch`],
|
|
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
|
@@ -166,3 +166,4 @@ export { default as IconLineAdd } from "./IconLineAdd/index.js";
|
|
|
166
166
|
export { default as IconLineGo } from "./IconLineGo/index.js";
|
|
167
167
|
export { default as IconColorRequired } from "./IconColorRequired/index.js";
|
|
168
168
|
export { default as IconLineBigger } from "./IconLineBigger/index.js";
|
|
169
|
+
export { default as IconLineSwitch } from "./IconLineSwitch/index.js";
|
|
@@ -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: "IconLineSwitch",
|
|
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: "M2.69727 6.62941C2.42193 6.62955 2.19824 6.85307 2.19824 7.12844C2.19859 7.40352 2.42214 7.62635 2.69727 7.62649H8.10059L7.28125 8.44582C7.0868 8.64062 7.08658 8.95623 7.28125 9.1509C7.47593 9.34536 7.7916 9.34528 7.98633 9.1509L9.65625 7.48098C9.79883 7.3384 9.8417 7.12334 9.76465 6.93703C9.6874 6.75078 9.50536 6.62941 9.30371 6.62941H2.69727ZM4.71973 2.85305C4.52494 2.6584 4.20938 2.65832 4.01465 2.85305L2.34473 4.52297C2.20234 4.66561 2.15919 4.88068 2.23633 5.06691C2.3136 5.25295 2.4958 5.37443 2.69727 5.37453H9.30371C9.57903 5.37453 9.80252 5.15078 9.80273 4.87551C9.80261 4.60017 9.57908 4.37746 9.30371 4.37746H3.90039L4.71973 3.55813C4.91448 3.36338 4.91442 3.04783 4.71973 2.85305Z" }, 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 12 12",
|
|
25
|
+
fill: $props.useCurrentColor ? "currentColor" : "#000",
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-line-switch`],
|
|
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
|
@@ -168,6 +168,7 @@ var index$2A = require("./IconLineAdd/index.js");
|
|
|
168
168
|
var index$2B = require("./IconLineGo/index.js");
|
|
169
169
|
var index$2C = require("./IconColorRequired/index.js");
|
|
170
170
|
var index$2D = require("./IconLineBigger/index.js");
|
|
171
|
+
var index$2E = require("./IconLineSwitch/index.js");
|
|
171
172
|
exports.IconFillHeart = index;
|
|
172
173
|
exports.IconFillMute = index$1;
|
|
173
174
|
exports.IconFillSound = index$2;
|
|
@@ -336,3 +337,4 @@ exports.IconLineAdd = index$2A;
|
|
|
336
337
|
exports.IconLineGo = index$2B;
|
|
337
338
|
exports.IconColorRequired = index$2C;
|
|
338
339
|
exports.IconLineBigger = index$2D;
|
|
340
|
+
exports.IconLineSwitch = index$2E;
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg viewBox="0 0 12 12" :fill="useCurrentColor ? 'currentColor' : '#000'" xmlns="http://www.w3.org/2000/svg" :class="[`${prefix}-icon`, `${prefix}-icon-line-switch`]" width="1em" height="1em" v-bind="$attrs"><path d="M2.69727 6.62941C2.42193 6.62955 2.19824 6.85307 2.19824 7.12844C2.19859 7.40352 2.42214 7.62635 2.69727 7.62649H8.10059L7.28125 8.44582C7.0868 8.64062 7.08658 8.95623 7.28125 9.1509C7.47593 9.34536 7.7916 9.34528 7.98633 9.1509L9.65625 7.48098C9.79883 7.3384 9.8417 7.12334 9.76465 6.93703C9.6874 6.75078 9.50536 6.62941 9.30371 6.62941H2.69727ZM4.71973 2.85305C4.52494 2.6584 4.20938 2.65832 4.01465 2.85305L2.34473 4.52297C2.20234 4.66561 2.15919 4.88068 2.23633 5.06691C2.3136 5.25295 2.4958 5.37443 2.69727 5.37453H9.30371C9.57903 5.37453 9.80252 5.15078 9.80273 4.87551C9.80261 4.60017 9.57908 4.37746 9.30371 4.37746H3.90039L4.71973 3.55813C4.91448 3.36338 4.91442 3.04783 4.71973 2.85305Z"/></svg>
|
|
3
|
+
</template>
|
|
4
|
+
<script>
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
name: 'IconLineSwitch',
|
|
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
|
@@ -165,4 +165,5 @@ export { default as IconLineSubtract } from './IconLineSubtract/index.vue';
|
|
|
165
165
|
export { default as IconLineAdd } from './IconLineAdd/index.vue';
|
|
166
166
|
export { default as IconLineGo } from './IconLineGo/index.vue';
|
|
167
167
|
export { default as IconColorRequired } from './IconColorRequired/index.vue';
|
|
168
|
-
export { default as IconLineBigger } from './IconLineBigger/index.vue';
|
|
168
|
+
export { default as IconLineBigger } from './IconLineBigger/index.vue';
|
|
169
|
+
export { default as IconLineSwitch } from './IconLineSwitch/index.vue';
|