UNPKG

@geoblink/design-system

Version:

Geoblink Design System for Vue.js

1 lines 3.3 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/GeoWarningFeedbackBox"]=t():e["components/GeoWarningFeedbackBox"]=t()}(window,function(){return n={},e.m=t={60:function(e,t,n){e.exports=n("w2qU")},"KHd+":function(e,t,n){"use strict";function o(e,t,n,o,r,i,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),i&&(u._scopeId="data-v-"+i),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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=a):r&&(a=c?function(){r.call(this,this.$root.$options.shadowRoot)}:r),a)if(u.functional){u._injectStyles=a;var l=u.render;u.render=function(e,t){return a.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,a):[a]}return{exports:e,options:u}}n.d(t,"a",function(){return o})},hlGY:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o={success:"success",info:"info",warning:"warning",error:"error",progress:"progress"};t.b={props:{floating:{type:Boolean,default:!1},closeIcon:{type:Array,default:function(){return["fal","times"]}}},computed:{hasLeadingAccessoryItem:function(){return!!(this.$slots.leadingAccessoryItem||[]).length},hasActions:function(){return!!(this.$slots.actions||[]).length},shouldShowCloseButton:function(){return!!this.$listeners.close}},methods:{close:function(e){this.$emit("close",e)}}}},w2qU:function(e,t,n){"use strict";n.r(t);var o=n("hlGY"),r={name:"GeoWarningFeedbackBox",status:"ready",release:"21.0.0",mixins:[o.b],props:{icon:{type:Array,default:function(){return["fal","exclamation-triangle"]}}},computed:{variant:function(){return o.a.warning}}},i=n("KHd+"),s=Object(i.a)(r,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("geo-feedback-box",e._g(e._b({attrs:{variant:e.variant}},"geo-feedback-box",e.$props,!1),e.$listeners),[n("font-awesome-icon",{attrs:{slot:"leadingAccessoryItem",icon:e.icon,"aria-hidden":"","fixed-width":""},slot:"leadingAccessoryItem"}),e._v(" "),e._t("content",null,{slot:"content"}),e._v(" "),e._t("actions",null,{slot:"actions"})],2)},[],!1,null,null,null);t.default=s.exports}},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 r in t)e.d(o,r,function(e){return t[e]}.bind(null,r));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=60);function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var t,n});