@arco-iconbox/vue-smartcode 0.1.35 → 0.1.36

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.
@@ -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: "IconFillResource",
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: "M6.42627 2.02197C6.89294 2.02197 7.12643 2.02194 7.35107 2.05615C7.74082 2.11556 8.11535 2.25144 8.45264 2.45557C8.64713 2.57328 8.8266 2.72277 9.18506 3.02197C9.54319 3.3209 9.72221 3.47071 9.9165 3.58838C10.2537 3.79249 10.6284 3.92836 11.0181 3.98779C11.2428 4.02205 11.4769 4.02197 11.9438 4.02197H13.9927C15.6722 4.02197 16.5122 4.02235 17.1538 4.34912C17.7183 4.63674 18.1777 5.09616 18.4653 5.66064C18.7921 6.30228 18.7925 7.14222 18.7925 8.82178V13.1772C18.7925 14.8573 18.7922 15.6976 18.4653 16.3394C18.1777 16.9038 17.7183 17.3633 17.1538 17.6509C16.5122 17.9776 15.6722 17.978 13.9927 17.978H6.0083C4.32845 17.978 3.48788 17.9777 2.84619 17.6509C2.28171 17.3633 1.82229 16.9038 1.53467 16.3394C1.20779 15.6976 1.20752 14.8572 1.20752 13.1772V6.82178C1.20752 5.14226 1.20792 4.30227 1.53467 3.66064C1.82229 3.09616 2.28171 2.63674 2.84619 2.34912C3.48789 2.02227 4.32836 2.02197 6.0083 2.02197H6.42627ZM7.00049 7.00049C6.06884 7.00049 5.60236 6.99973 5.23486 7.15186C4.74481 7.35484 4.35484 7.74481 4.15186 8.23486C3.99976 8.60235 4.00049 9.0689 4.00049 10.0005H16.0005C16.0005 9.06887 16.0003 8.60236 15.8481 8.23486C15.6452 7.74481 15.2552 7.35484 14.7651 7.15186C14.3977 6.9998 13.9318 7.00049 13.0005 7.00049H7.00049Z" }, 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 20 20",
24
+ fill: $props.useCurrentColor ? "currentColor" : "#000",
25
+ xmlns: "http://www.w3.org/2000/svg",
26
+ class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-fill-resource`],
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
@@ -256,3 +256,4 @@ export { default as IconColorOval } from "./IconColorOval/index.js";
256
256
  export { default as IconColorRect } from "./IconColorRect/index.js";
257
257
  export { default as IconColorText } from "./IconColorText/index.js";
258
258
  export { default as IconLinePlay } from "./IconLinePlay/index.js";
259
+ export { default as IconFillResource } from "./IconFillResource/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: "IconFillResource",
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: "M6.42627 2.02197C6.89294 2.02197 7.12643 2.02194 7.35107 2.05615C7.74082 2.11556 8.11535 2.25144 8.45264 2.45557C8.64713 2.57328 8.8266 2.72277 9.18506 3.02197C9.54319 3.3209 9.72221 3.47071 9.9165 3.58838C10.2537 3.79249 10.6284 3.92836 11.0181 3.98779C11.2428 4.02205 11.4769 4.02197 11.9438 4.02197H13.9927C15.6722 4.02197 16.5122 4.02235 17.1538 4.34912C17.7183 4.63674 18.1777 5.09616 18.4653 5.66064C18.7921 6.30228 18.7925 7.14222 18.7925 8.82178V13.1772C18.7925 14.8573 18.7922 15.6976 18.4653 16.3394C18.1777 16.9038 17.7183 17.3633 17.1538 17.6509C16.5122 17.9776 15.6722 17.978 13.9927 17.978H6.0083C4.32845 17.978 3.48788 17.9777 2.84619 17.6509C2.28171 17.3633 1.82229 16.9038 1.53467 16.3394C1.20779 15.6976 1.20752 14.8572 1.20752 13.1772V6.82178C1.20752 5.14226 1.20792 4.30227 1.53467 3.66064C1.82229 3.09616 2.28171 2.63674 2.84619 2.34912C3.48789 2.02227 4.32836 2.02197 6.0083 2.02197H6.42627ZM7.00049 7.00049C6.06884 7.00049 5.60236 6.99973 5.23486 7.15186C4.74481 7.35484 4.35484 7.74481 4.15186 8.23486C3.99976 8.60235 4.00049 9.0689 4.00049 10.0005H16.0005C16.0005 9.06887 16.0003 8.60236 15.8481 8.23486C15.6452 7.74481 15.2552 7.35484 14.7651 7.15186C14.3977 6.9998 13.9318 7.00049 13.0005 7.00049H7.00049Z" }, 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 20 20",
25
+ fill: $props.useCurrentColor ? "currentColor" : "#000",
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ class: [`${$props.prefix}-icon`, `${$props.prefix}-icon-fill-resource`],
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
@@ -258,6 +258,7 @@ var index$3_ = require("./IconColorOval/index.js");
258
258
  var index$3$ = require("./IconColorRect/index.js");
259
259
  var index$40 = require("./IconColorText/index.js");
260
260
  var index$41 = require("./IconLinePlay/index.js");
261
+ var index$42 = require("./IconFillResource/index.js");
261
262
  exports.IconFillHeart = index;
262
263
  exports.IconFillMute = index$1;
263
264
  exports.IconFillSound = index$2;
@@ -516,3 +517,4 @@ exports.IconColorOval = index$3_;
516
517
  exports.IconColorRect = index$3$;
517
518
  exports.IconColorText = index$40;
518
519
  exports.IconLinePlay = index$41;
520
+ exports.IconFillResource = index$42;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arco-iconbox/vue-smartcode",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "main": "lib/index.js",
5
5
  "module": "esm/index.js",
6
6
  "license": "ISC",
@@ -0,0 +1,19 @@
1
+ <template>
2
+ <svg viewBox="0 0 20 20" :fill="useCurrentColor ? 'currentColor' : '#000'" xmlns="http://www.w3.org/2000/svg" :class="[`${prefix}-icon`, `${prefix}-icon-fill-resource`]" width="1em" height="1em" v-bind="$attrs"><path d="M6.42627 2.02197C6.89294 2.02197 7.12643 2.02194 7.35107 2.05615C7.74082 2.11556 8.11535 2.25144 8.45264 2.45557C8.64713 2.57328 8.8266 2.72277 9.18506 3.02197C9.54319 3.3209 9.72221 3.47071 9.9165 3.58838C10.2537 3.79249 10.6284 3.92836 11.0181 3.98779C11.2428 4.02205 11.4769 4.02197 11.9438 4.02197H13.9927C15.6722 4.02197 16.5122 4.02235 17.1538 4.34912C17.7183 4.63674 18.1777 5.09616 18.4653 5.66064C18.7921 6.30228 18.7925 7.14222 18.7925 8.82178V13.1772C18.7925 14.8573 18.7922 15.6976 18.4653 16.3394C18.1777 16.9038 17.7183 17.3633 17.1538 17.6509C16.5122 17.9776 15.6722 17.978 13.9927 17.978H6.0083C4.32845 17.978 3.48788 17.9777 2.84619 17.6509C2.28171 17.3633 1.82229 16.9038 1.53467 16.3394C1.20779 15.6976 1.20752 14.8572 1.20752 13.1772V6.82178C1.20752 5.14226 1.20792 4.30227 1.53467 3.66064C1.82229 3.09616 2.28171 2.63674 2.84619 2.34912C3.48789 2.02227 4.32836 2.02197 6.0083 2.02197H6.42627ZM7.00049 7.00049C6.06884 7.00049 5.60236 6.99973 5.23486 7.15186C4.74481 7.35484 4.35484 7.74481 4.15186 8.23486C3.99976 8.60235 4.00049 9.0689 4.00049 10.0005H16.0005C16.0005 9.06887 16.0003 8.60236 15.8481 8.23486C15.6452 7.74481 15.2552 7.35484 14.7651 7.15186C14.3977 6.9998 13.9318 7.00049 13.0005 7.00049H7.00049Z"/></svg>
3
+ </template>
4
+ <script>
5
+
6
+ export default {
7
+ name: 'IconFillResource',
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
@@ -255,4 +255,5 @@ export { default as IconColorTime } from './IconColorTime/index.vue';
255
255
  export { default as IconColorOval } from './IconColorOval/index.vue';
256
256
  export { default as IconColorRect } from './IconColorRect/index.vue';
257
257
  export { default as IconColorText } from './IconColorText/index.vue';
258
- export { default as IconLinePlay } from './IconLinePlay/index.vue';
258
+ export { default as IconLinePlay } from './IconLinePlay/index.vue';
259
+ export { default as IconFillResource } from './IconFillResource/index.vue';