UNPKG

@geoblink/design-system

Version:

Geoblink Design System for Vue.js

1 lines 3.06 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["components/GeoNotificationBar"]=t():e["components/GeoNotificationBar"]=t()}(window,function(){return n={},e.m=t={80:function(e,t,n){e.exports=n("JNFl")},JNFl:function(e,t,n){"use strict";n.r(t);var o={name:"GeoNotificationBar",status:"ready",release:"9.1.0",props:{icon:{type:Array,required:!1},closeIcon:{type:Array,default:function(){return["fal","times"]}}},computed:{isCloseButtonVisible:function(){return this.$listeners&&this.$listeners.close}},methods:{emitClose:function(e){this.$emit("close",e)}}},i=n("KHd+"),r=Object(i.a)(o,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"geo-notification-bar"},[n("div",{staticClass:"geo-notification-bar__message-body"},[e.icon?n("font-awesome-icon",{staticClass:"geo-notification-bar__icon",attrs:{icon:e.icon,"fixed-width":"","aria-hidden":""}}):e._e(),e._v(" "),n("span",{staticClass:"geo-notification-bar__message-text"},[e._t("default")],2),e._v(" "),e._t("actions")],2),e._v(" "),e.isCloseButtonVisible?n("font-awesome-icon",{staticClass:"geo-notification-bar__close-icon",attrs:{icon:e.closeIcon,"fixed-width":""},on:{click:function(t){return e.emitClose(t)}}}):e._e()],1)},[],!1,null,null,null);t.default=r.exports},"KHd+":function(e,t,n){"use strict";function o(e,t,n,o,i,r,s,c){var a,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),o&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),s?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"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}}n.d(t,"a",function(){return o})}},e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:o})},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(o,i,function(e){return t[e]}.bind(null,i));return o},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.p="/",e(e.s=80);function e(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var t,n});