design-system-icons-anz
Version:
A web component icon that works in all frameworks including Nuxt2, Nuxt3 and Next.js
1 lines • 5.22 kB
JavaScript
;function e(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function t(e,t,n){t=i(t);return l(e,d()?Reflect.construct(t,n||[],i(e).constructor):t.apply(e,n))}function n(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function r(e,t,n){if(d()){r=Reflect.construct}else{r=function e(e,t,n){var r=[null];r.push.apply(r,t);var o=Function.bind.apply(e,r);var u=new o;if(n)a(u,n.prototype);return u}}return r.apply(null,arguments)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function u(e,t,n){if(t)o(e.prototype,t);if(n)o(e,n);return e}function i(e){i=Object.setPrototypeOf?Object.getPrototypeOf:function e(e){return e.__proto__||Object.getPrototypeOf(e)};return i(e)}function f(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)a(e,t)}function c(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function l(t,n){if(n&&(p(n)==="object"||typeof n==="function")){return n}return e(t)}function a(e,t){a=Object.setPrototypeOf||function e(e,t){e.__proto__=t;return e};return a(e,t)}function p(e){"@swc/helpers - typeof";return e&&typeof Symbol!=="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s(e){var t=typeof Map==="function"?new Map:undefined;s=function e(e){if(e===null||!c(e))return e;if(typeof e!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof t!=="undefined"){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return r(e,arguments,i(this).constructor)}n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:false,writable:true,configurable:true}});return a(n,e)};return s(e)}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d=function(){return!!e})()}var C=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var m=function(e,t){for(var n in t)C(e,n,{get:t[n],enumerable:!0})},h=function(e,t,n,r){var o=true,u=false,i=undefined;if(t&&(typeof t==="undefined"?"undefined":p(t))=="object"||typeof t=="function")try{var f=function(){var o=l.value;!b.call(e,o)&&o!==n&&C(e,o,{get:function(){return t[o]},enumerable:!(r=y(t,o))||r.enumerable})};for(var c=v(t)[Symbol.iterator](),l;!(o=(l=c.next()).done);o=true)f()}catch(e){u=true;i=e}finally{try{if(!o&&c.return!=null){c.return()}}finally{if(u){throw i}}}return e};var w=function(e){return h(C({},"__esModule",{value:!0}),e)};var O={};m(O,{default:function(){return j},defineCustomElements:function(){return _}});module.exports=w(O);var g=(typeof window==="undefined"?"undefined":p(window))<"u"&&p(window.document)<"u",V,_;g?(V=/*#__PURE__*/function(e){f(r,e);function r(){n(this,r);return t(this,r)}u(r,[{key:"connectedCallback",value:function e(){this.innerHTML='\n <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M6.00003 13C5.99603 12.448 6.44402 12 6.99601 12C7.55201 12 8 12.448 8 13C8 13.552 7.55201 14 7.00001 14C6.44802 14 6.00003 13.552 6.00003 13Z" fill="#1C1D1F"/>\n <path d="M11.996 12C11.444 12 10.996 12.448 11 13C11 13.552 11.448 14 12 14C12.552 14 13 13.552 13 13C13 12.448 12.552 12 11.996 12Z" fill="#1C1D1F"/>\n <path d="M16 13C15.996 12.448 16.444 12 16.996 12C17.552 12 18 12.448 18 13C18 13.552 17.552 14 17 14C16.448 14 16 13.552 16 13Z" fill="#1C1D1F"/>\n <path d="M6.99601 16C6.44402 16 5.99603 16.448 6.00003 17C6.00003 17.552 6.44802 18 7.00001 18C7.55201 18 8 17.552 8 17C8 16.448 7.55201 16 6.99601 16Z" fill="#1C1D1F"/>\n <path d="M11 17C10.996 16.448 11.444 16 11.996 16C12.552 16 13 16.448 13 17C13 17.552 12.552 18 12 18C11.448 18 11 17.552 11 17Z" fill="#1C1D1F"/>\n <path fill-rule="evenodd" clip-rule="evenodd" d="M8 1.25C8.41421 1.25 8.75 1.58579 8.75 2V3.25H15.25V2C15.25 1.58579 15.5858 1.25 16 1.25C16.4142 1.25 16.75 1.58579 16.75 2V3.25H19C20.5192 3.25 21.75 4.48079 21.75 6V19C21.75 20.5192 20.5192 21.75 19 21.75H5C3.48079 21.75 2.25 20.5192 2.25 19V6C2.25 4.48079 3.48079 3.25 5 3.25H7.25V2C7.25 1.58579 7.58579 1.25 8 1.25ZM7.25 6V4.75H5C4.30921 4.75 3.75 5.30921 3.75 6V8.25H20.25V6C20.25 5.30921 19.6908 4.75 19 4.75H16.75V6C16.75 6.41421 16.4142 6.75 16 6.75C15.5858 6.75 15.25 6.41421 15.25 6V4.75H8.75V6C8.75 6.41421 8.41421 6.75 8 6.75C7.58579 6.75 7.25 6.41421 7.25 6ZM3.75 19V9.75H20.25V19C20.25 19.6908 19.6908 20.25 19 20.25H5C4.30921 20.25 3.75 19.6908 3.75 19Z" fill="#1C1D1F"/>\n </svg>\n '}}]);return r}(s(HTMLElement)),_=function e(){customElements.get("calendar-dots-icon")||customElements.define("calendar-dots-icon",V)},_()):_=function e(){};g&&(customElements.get("calendar-dots-icon")||customElements.define("calendar-dots-icon",V));var j=_;0&&(module.exports={defineCustomElements:defineCustomElements});