@coreui/icons-vue
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -344,4 +344,8 @@ module.exports = | ||
"use strict"; | ||
// ESM COMPAT FLAG | ||
__webpack_require__.r(__webpack_exports__); | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, "default", function() { return /* binding */ addStylesClient; }); | ||
// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js | ||
@@ -377,3 +381,2 @@ /** | ||
// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return addStylesClient; }); | ||
/* | ||
@@ -991,4 +994,8 @@ MIT License http://www.opensource.org/licenses/mit-license.php | ||
"use strict"; | ||
// ESM COMPAT FLAG | ||
__webpack_require__.r(__webpack_exports__); | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, "CIcon", function() { return /* reexport */ CIcon; }); | ||
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js | ||
@@ -1011,3 +1018,3 @@ // This file is imported into lib/wc client bundles. | ||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"487d9f2b-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/CIconRaw.vue?vue&type=template&id=155587e0& | ||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d6b5abdc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/CIconRaw.vue?vue&type=template&id=155587e0& | ||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.src && !_vm.use)?_c('svg',{class:_vm.computedClasses,attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":_vm.viewBox,"role":"img"},domProps:{"innerHTML":_vm._s(_vm.titleCode + _vm.iconCode)}}):(_vm.src)?_c('img',{attrs:{"src":_vm.src,"role":"img"}}):(_vm.use)?_c('svg',{class:_vm.computedClasses,attrs:{"xmlns":"http://www.w3.org/2000/svg","role":"img"}},[_c('use',{attrs:{"href":_vm.use}})]):_vm._e()} | ||
@@ -1173,3 +1180,2 @@ var staticRenderFns = [] | ||
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js | ||
/* concated harmony reexport CIcon */__webpack_require__.d(__webpack_exports__, "CIcon", function() { return CIcon; }); | ||
@@ -1176,0 +1182,0 @@ |
@@ -353,4 +353,8 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
"use strict"; | ||
// ESM COMPAT FLAG | ||
__webpack_require__.r(__webpack_exports__); | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, "default", function() { return /* binding */ addStylesClient; }); | ||
// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js | ||
@@ -386,3 +390,2 @@ /** | ||
// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return addStylesClient; }); | ||
/* | ||
@@ -1000,4 +1003,8 @@ MIT License http://www.opensource.org/licenses/mit-license.php | ||
"use strict"; | ||
// ESM COMPAT FLAG | ||
__webpack_require__.r(__webpack_exports__); | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, "CIcon", function() { return /* reexport */ CIcon; }); | ||
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js | ||
@@ -1020,3 +1027,3 @@ // This file is imported into lib/wc client bundles. | ||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"487d9f2b-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/CIconRaw.vue?vue&type=template&id=155587e0& | ||
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d6b5abdc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/CIconRaw.vue?vue&type=template&id=155587e0& | ||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.src && !_vm.use)?_c('svg',{class:_vm.computedClasses,attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":_vm.viewBox,"role":"img"},domProps:{"innerHTML":_vm._s(_vm.titleCode + _vm.iconCode)}}):(_vm.src)?_c('img',{attrs:{"src":_vm.src,"role":"img"}}):(_vm.use)?_c('svg',{class:_vm.computedClasses,attrs:{"xmlns":"http://www.w3.org/2000/svg","role":"img"}},[_c('use',{attrs:{"href":_vm.use}})]):_vm._e()} | ||
@@ -1182,3 +1189,2 @@ var staticRenderFns = [] | ||
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js | ||
/* concated harmony reexport CIcon */__webpack_require__.d(__webpack_exports__, "CIcon", function() { return CIcon; }); | ||
@@ -1185,0 +1191,0 @@ |
@@ -1,2 +0,2 @@ | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["coreui-icons-vue"]=t():e["coreui-icons-vue"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fae3")}({"03be":function(e,t,n){"use strict";(function(e){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t["a"]={name:"CIcon",props:{name:String,content:[String,Array],size:{type:String,validator:function(e){return["custom","custom-size","sm","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl"].includes(e)}},customClasses:[String,Array,Object],src:String,title:String,use:String},computed:{iconName:function(){var e=this.name&&this.name.includes("-");return e?this.toCamelCase(this.name):this.name},titleCode:function(){return this.title?"<title>".concat(this.title,"</title>"):""},code:function(){if(this.content)return this.content;if(this.$root.$options.icons){var t=this.$root.$options.icons[this.iconName];return!t&&e&&Object({NODE_ENV:"production",BASE_URL:"/"}),t}},iconCode:function(){return Array.isArray(this.code)?this.code[1]||this.code[0]:this.code},scale:function(){return Array.isArray(this.code)&&this.code.length>1?this.code[0]:"64 64"},viewBox:function(){return this.$attrs.viewBox||"0 0 ".concat(this.scale)},computedSize:function(){var e=!this.size&&(this.$attrs.width||this.$attrs.height);return"custom"===this.size||e?"custom-size":this.size},computedClasses:function(){var e=this.computedSize;return this.customClasses||["c-icon",n({},"c-icon-".concat(e),e)]}},methods:{toCamelCase:function(e){return e.replace(/([-_][a-z0-9])/gi,(function(e){return e.toUpperCase().replace("-","")}))}}}}).call(this,n("4362"))},"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var o=i(r),s=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(s).concat([o]).join("\n")}return[n].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var c=0;c<e.length;c++){var a=[].concat(e[c]);r&&i[a[0]]||(n&&(a[2]?a[2]="".concat(n," and ").concat(a[2]):a[2]=n),t.push(a))}},t}},"2ed7":function(e,t,n){"use strict";var r=n("512c"),i=n.n(r);i.a},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"499e":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],s=o[0],c=o[1],a=o[2],u=o[3],f={id:e+":"+i,css:c,media:a,sourceMap:u};r[s]?r[s].parts.push(f):n.push(r[s]={id:s,parts:[f]})}return n}n.r(t),n.d(t,"default",(function(){return p}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),c=null,a=0,u=!1,f=function(){},l=null,d="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,i){u=n,l=i||{};var s=r(e,t);return m(s),function(t){for(var n=[],i=0;i<s.length;i++){var c=s[i],a=o[c.id];a.refs--,n.push(a)}t?(s=r(e,t),m(s)):s=[];for(i=0;i<n.length;i++){a=n[i];if(0===a.refs){for(var u=0;u<a.parts.length;u++)a.parts[u]();delete o[a.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(g(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(g(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function v(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function g(e){var t,n,r=document.querySelector("style["+d+'~="'+e.id+'"]');if(r){if(u)return f;r.parentNode.removeChild(r)}if(h){var i=a++;r=c||(c=v()),t=y.bind(null,r,i,!1),n=y.bind(null,r,i,!0)}else r=v(),t=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,i);else{var o=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function x(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),l.ssrId&&e.setAttribute(d,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"512c":function(e,t,n){var r=n("aec6");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("14b7539e",r,!0,{sourceMap:!1,shadowMode:!1})},aec6:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".c-icon[data-v-eaf75dec]{display:inline-block;color:inherit;text-align:center;fill:currentColor;width:1rem;height:1rem;font-size:1rem}.c-icon-2xl[data-v-eaf75dec]{width:2rem;height:2rem;font-size:2rem}.c-icon-3xl[data-v-eaf75dec]{width:3rem;height:3rem;font-size:3rem}.c-icon-4xl[data-v-eaf75dec]{width:4rem;height:4rem;font-size:4rem}.c-icon-5xl[data-v-eaf75dec]{width:5rem;height:5rem;font-size:5rem}.c-icon-6xl[data-v-eaf75dec]{width:6rem;height:6rem;font-size:6rem}.c-icon-7xl[data-v-eaf75dec]{width:7rem;height:7rem;font-size:7rem}.c-icon-8xl[data-v-eaf75dec]{width:8rem;height:8rem;font-size:8rem}.c-icon-9xl[data-v-eaf75dec]{width:9rem;height:9rem;font-size:9rem}.c-icon-xl[data-v-eaf75dec]{width:1.5rem;height:1.5rem;font-size:1.5rem}.c-icon-lg[data-v-eaf75dec]{width:1.25rem;height:1.25rem;font-size:1.25rem}.c-icon-sm[data-v-eaf75dec]{width:.875rem;height:.875rem;font-size:.875rem}.c-icon-c-s[data-v-eaf75dec],.c-icon-custom-size[data-v-eaf75dec]{width:auto!important;height:auto!important}",""]),e.exports=t},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}function i(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,r="/"===s.charAt(0))}return t=n(i(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),s="/"===o(e,-1);return e=n(i(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&s&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),s=Math.min(i.length,o.length),c=s,a=0;a<s;a++)if(i[a]!==o[a]){c=a;break}var u=[];for(a=c;a<i.length;a++)u.push("..");return u=u.concat(o.slice(c)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===r&&(i=!1,r=s+1),46===c?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=s+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fae3:function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.src||e.use?e.src?n("img",{attrs:{src:e.src,role:"img"}}):e.use?n("svg",{class:e.computedClasses,attrs:{xmlns:"http://www.w3.org/2000/svg",role:"img"}},[n("use",{attrs:{href:e.use}})]):e._e():n("svg",{class:e.computedClasses,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:e.viewBox,role:"img"},domProps:{innerHTML:e._s(e.titleCode+e.iconCode)}})},o=[],s=n("03be"),c=s["a"];function a(e,t,n,r,i,o,s,c){var a,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(a=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=a):i&&(a=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),a)if(u.functional){u._injectStyles=a;var f=u.render;u.render=function(e,t){return a.call(t),f(e,t)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,a):[a]}return{exports:e,options:u}}var u,f,l=a(c,i,o,!1,null,null,null),d=l.exports,h={name:"CIcon",extends:d},p=h,m=(n("2ed7"),a(p,u,f,!1,null,"eaf75dec",null)),v=m.exports;n.d(t,"CIcon",(function(){return v}))}})})); | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["coreui-icons-vue"]=t():e["coreui-icons-vue"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fae3")}({"03be":function(e,t,n){"use strict";(function(e){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t["a"]={name:"CIcon",props:{name:String,content:[String,Array],size:{type:String,validator:function(e){return["custom","custom-size","sm","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl"].includes(e)}},customClasses:[String,Array,Object],src:String,title:String,use:String},computed:{iconName:function(){var e=this.name&&this.name.includes("-");return e?this.toCamelCase(this.name):this.name},titleCode:function(){return this.title?"<title>".concat(this.title,"</title>"):""},code:function(){if(this.content)return this.content;if(this.$root.$options.icons){var t=this.$root.$options.icons[this.iconName];return!t&&e&&Object({NODE_ENV:"production",BASE_URL:"/"}),t}},iconCode:function(){return Array.isArray(this.code)?this.code[1]||this.code[0]:this.code},scale:function(){return Array.isArray(this.code)&&this.code.length>1?this.code[0]:"64 64"},viewBox:function(){return this.$attrs.viewBox||"0 0 ".concat(this.scale)},computedSize:function(){var e=!this.size&&(this.$attrs.width||this.$attrs.height);return"custom"===this.size||e?"custom-size":this.size},computedClasses:function(){var e=this.computedSize;return this.customClasses||["c-icon",n({},"c-icon-".concat(e),e)]}},methods:{toCamelCase:function(e){return e.replace(/([-_][a-z0-9])/gi,(function(e){return e.toUpperCase().replace("-","")}))}}}}).call(this,n("4362"))},"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var o=i(r),s=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(s).concat([o]).join("\n")}return[n].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var c=0;c<e.length;c++){var a=[].concat(e[c]);r&&i[a[0]]||(n&&(a[2]?a[2]="".concat(n," and ").concat(a[2]):a[2]=n),t.push(a))}},t}},"2ed7":function(e,t,n){"use strict";var r=n("512c"),i=n.n(r);i.a},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"499e":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],s=o[0],c=o[1],a=o[2],u=o[3],f={id:e+":"+i,css:c,media:a,sourceMap:u};r[s]?r[s].parts.push(f):n.push(r[s]={id:s,parts:[f]})}return n}n.r(t),n.d(t,"default",(function(){return p}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),c=null,a=0,u=!1,f=function(){},l=null,d="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,i){u=n,l=i||{};var s=r(e,t);return m(s),function(t){for(var n=[],i=0;i<s.length;i++){var c=s[i],a=o[c.id];a.refs--,n.push(a)}t?(s=r(e,t),m(s)):s=[];for(i=0;i<n.length;i++){a=n[i];if(0===a.refs){for(var u=0;u<a.parts.length;u++)a.parts[u]();delete o[a.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(g(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(g(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function v(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function g(e){var t,n,r=document.querySelector("style["+d+'~="'+e.id+'"]');if(r){if(u)return f;r.parentNode.removeChild(r)}if(h){var i=a++;r=c||(c=v()),t=y.bind(null,r,i,!1),n=y.bind(null,r,i,!0)}else r=v(),t=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,i);else{var o=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function x(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),l.ssrId&&e.setAttribute(d,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"512c":function(e,t,n){var r=n("aec6");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("14b7539e",r,!0,{sourceMap:!1,shadowMode:!1})},aec6:function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,".c-icon[data-v-eaf75dec]{display:inline-block;color:inherit;text-align:center;fill:currentColor;width:1rem;height:1rem;font-size:1rem}.c-icon-2xl[data-v-eaf75dec]{width:2rem;height:2rem;font-size:2rem}.c-icon-3xl[data-v-eaf75dec]{width:3rem;height:3rem;font-size:3rem}.c-icon-4xl[data-v-eaf75dec]{width:4rem;height:4rem;font-size:4rem}.c-icon-5xl[data-v-eaf75dec]{width:5rem;height:5rem;font-size:5rem}.c-icon-6xl[data-v-eaf75dec]{width:6rem;height:6rem;font-size:6rem}.c-icon-7xl[data-v-eaf75dec]{width:7rem;height:7rem;font-size:7rem}.c-icon-8xl[data-v-eaf75dec]{width:8rem;height:8rem;font-size:8rem}.c-icon-9xl[data-v-eaf75dec]{width:9rem;height:9rem;font-size:9rem}.c-icon-xl[data-v-eaf75dec]{width:1.5rem;height:1.5rem;font-size:1.5rem}.c-icon-lg[data-v-eaf75dec]{width:1.25rem;height:1.25rem;font-size:1.25rem}.c-icon-sm[data-v-eaf75dec]{width:.875rem;height:.875rem;font-size:.875rem}.c-icon-c-s[data-v-eaf75dec],.c-icon-custom-size[data-v-eaf75dec]{width:auto!important;height:auto!important}",""]),e.exports=t},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}function i(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,r="/"===s.charAt(0))}return t=n(i(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),s="/"===o(e,-1);return e=n(i(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&s&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),s=Math.min(i.length,o.length),c=s,a=0;a<s;a++)if(i[a]!==o[a]){c=a;break}var u=[];for(a=c;a<i.length;a++)u.push("..");return u=u.concat(o.slice(c)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(47!==c)-1===r&&(i=!1,r=s+1),46===c?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=s+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fae3:function(e,t,n){"use strict";var r;(n.r(t),n.d(t,"CIcon",(function(){return v})),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.src||e.use?e.src?n("img",{attrs:{src:e.src,role:"img"}}):e.use?n("svg",{class:e.computedClasses,attrs:{xmlns:"http://www.w3.org/2000/svg",role:"img"}},[n("use",{attrs:{href:e.use}})]):e._e():n("svg",{class:e.computedClasses,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:e.viewBox,role:"img"},domProps:{innerHTML:e._s(e.titleCode+e.iconCode)}})},o=[],s=n("03be"),c=s["a"];function a(e,t,n,r,i,o,s,c){var a,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(a=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=a):i&&(a=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),a)if(u.functional){u._injectStyles=a;var f=u.render;u.render=function(e,t){return a.call(t),f(e,t)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,a):[a]}return{exports:e,options:u}}var u,f,l=a(c,i,o,!1,null,null,null),d=l.exports,h={name:"CIcon",extends:d},p=h,m=(n("2ed7"),a(p,u,f,!1,null,"eaf75dec",null)),v=m.exports}})})); | ||
//# sourceMappingURL=coreui-icons-vue.umd.min.js.map |
{ | ||
"name": "@coreui/icons-vue", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"license": "MIT", | ||
@@ -51,9 +51,9 @@ "sideEffects": "src/CIcon.vue", | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "~4.2.2", | ||
"@vue/cli-plugin-eslint": "~4.2.2", | ||
"@vue/cli-service": "~4.2.2", | ||
"babel-eslint": "~10.0.3", | ||
"@vue/cli-plugin-babel": "~4.2.3", | ||
"@vue/cli-plugin-eslint": "~4.2.3", | ||
"@vue/cli-service": "~4.2.3", | ||
"babel-eslint": "~10.1.0", | ||
"babel-preset-vue-app": "~2.0.0", | ||
"eslint": "~6.8.0", | ||
"eslint-plugin-vue": "~6.2.1", | ||
"eslint-plugin-vue": "~6.2.2", | ||
"vue-template-compiler": "~2.6.11" | ||
@@ -60,0 +60,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2096
244296