@revolugo/elements 4.13.18-beta.4 → 4.13.18-beta.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/css/revolugo.29.min.css +1 -1
- package/dist/css/revolugo.30.min.css +1 -1
- package/dist/css/revolugo.32.min.css +1 -1
- package/dist/css/revolugo.33.min.css +1 -1
- package/dist/css/revolugo.34.min.css +1 -1
- package/dist/css/revolugo.35.min.css +1 -0
- package/dist/index.min.js +1 -1
- package/dist/revolugo.1.js +0 -11
- package/dist/revolugo.1.min.js +1 -1
- package/dist/revolugo.10.js +13 -0
- package/dist/revolugo.10.min.js +2 -2
- package/dist/revolugo.11.js +13 -0
- package/dist/revolugo.11.min.js +2 -2
- package/dist/revolugo.12.js +13 -0
- package/dist/revolugo.12.min.js +2 -2
- package/dist/revolugo.13.js +13 -0
- package/dist/revolugo.13.min.js +2 -2
- package/dist/revolugo.14.js +13 -0
- package/dist/revolugo.14.min.js +2 -2
- package/dist/revolugo.15.js +13 -0
- package/dist/revolugo.15.min.js +2 -2
- package/dist/revolugo.16.js +13 -0
- package/dist/revolugo.16.min.js +2 -2
- package/dist/revolugo.17.js +13 -0
- package/dist/revolugo.17.min.js +1 -1
- package/dist/revolugo.18.js +2 -0
- package/dist/revolugo.18.min.js +1 -1
- package/dist/revolugo.19.js +2 -0
- package/dist/revolugo.19.min.js +1 -1
- package/dist/revolugo.20.js +2 -0
- package/dist/revolugo.20.min.js +2 -2
- package/dist/revolugo.21.js +13 -0
- package/dist/revolugo.21.min.js +2 -2
- package/dist/revolugo.22.js +2 -0
- package/dist/revolugo.22.min.js +1 -1
- package/dist/revolugo.23.js +2 -0
- package/dist/revolugo.23.min.js +1 -1
- package/dist/revolugo.24.js +2 -0
- package/dist/revolugo.24.min.js +1 -1
- package/dist/revolugo.25.js +11 -0
- package/dist/revolugo.25.min.js +1 -1
- package/dist/revolugo.26.js +2 -0
- package/dist/revolugo.26.min.js +1 -1
- package/dist/revolugo.29.js +1460 -997
- package/dist/revolugo.29.min.js +1 -1
- package/dist/revolugo.30.js +1141 -35810
- package/dist/revolugo.30.min.js +1 -1
- package/dist/revolugo.31.js +1359 -2190
- package/dist/revolugo.31.min.js +1 -1
- package/dist/revolugo.32.js +36689 -1836
- package/dist/revolugo.32.min.js +1 -1
- package/dist/revolugo.33.js +1724 -1437
- package/dist/revolugo.33.min.js +1 -1
- package/dist/revolugo.34.js +1576 -6567
- package/dist/revolugo.34.min.js +1 -1
- package/dist/revolugo.35.js +5198 -909
- package/dist/revolugo.35.min.js +1 -1
- package/dist/revolugo.36.js +680 -1607
- package/dist/revolugo.36.min.js +1 -1
- package/dist/revolugo.37.js +2986 -250
- package/dist/revolugo.37.min.js +1 -1
- package/dist/revolugo.38.js +1819 -0
- package/dist/revolugo.38.min.js +1 -0
- package/dist/revolugo.39.js +579 -0
- package/dist/revolugo.39.min.js +1 -0
- package/dist/revolugo.4.js +11 -0
- package/dist/revolugo.4.min.js +1 -1
- package/dist/revolugo.5.js +2 -0
- package/dist/revolugo.5.min.js +1 -1
- package/dist/revolugo.9.js +13 -0
- package/dist/revolugo.9.min.js +2 -2
- package/dist/revolugo.en-US.js +7 -0
- package/dist/revolugo.en-US.min.js +1 -1
- package/dist/revolugo.fr-FR.js +7 -0
- package/dist/revolugo.fr-FR.min.js +1 -1
- package/dist/revolugo.js +10 -8
- package/dist/revolugo.min.js +1 -1
- package/package.json +1 -1
- /package/dist/css/{revolugo.36.min.css → revolugo.37.min.css} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
(window["revolugo_jsonp"]=window["revolugo_jsonp"]||[]).push([[38],{3206:function(n,e,t){t.d(e,"a",(function(){return o}));var l=t("f6d7");function a(){var n="/opt/atlassian/pipelines/agent/build/libs/elements/core/src/utils/currency.ts",e="5089570010f92fa7318032d13ee6dd3b43bdc482",t=new Function("return this")(),l="__coverage__",o={path:"/opt/atlassian/pipelines/agent/build/libs/elements/core/src/utils/currency.ts",statementMap:{0:{start:{line:2,column:27},end:{line:17,column:1}},1:{start:{line:3,column:18},end:{line:6,column:6}},2:{start:{line:7,column:27},end:{line:7,column:67}},3:{start:{line:9,column:4},end:{line:9,column:59}},4:{start:{line:10,column:4},end:{line:16,column:21}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:2,column:27},end:{line:2,column:28}},loc:{start:{line:2,column:76},end:{line:17,column:1}},line:2}},branchMap:{0:{loc:{start:{line:2,column:56},end:{line:2,column:68}},type:"default-arg",locations:[{start:{line:2,column:66},end:{line:2,column:68}}],line:2},1:{loc:{start:{line:7,column:27},end:{line:7,column:67}},type:"cond-expr",locations:[{start:{line:7,column:62},end:{line:7,column:63}},{start:{line:7,column:66},end:{line:7,column:67}}],line:7},2:{loc:{start:{line:9,column:13},end:{line:9,column:58}},type:"binary-expr",locations:[{start:{line:9,column:13},end:{line:9,column:19}},{start:{line:9,column:23},end:{line:9,column:58}}],line:9}},s:{0:0,1:0,2:0,3:0,4:0},f:{0:0},b:{0:[0],1:[0,0],2:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"5089570010f92fa7318032d13ee6dd3b43bdc482"},i=t[l]||(t[l]={});i[n]&&i[n].hash===e||(i[n]=o);var c=i[n];return a=function(){return c},c}a(),a().s[0]++;const o=({amount:n,currency:e,locale:t,options:o=(a().b[0][0]++,{})})=>{a().f[0]++;const i=(a().s[1]++,Object(l["k"])({amount:n,currency:e})),c=(a().s[2]++,i.toFixed(2).endsWith(".00")?(a().b[1][0]++,0):(a().b[1][1]++,2));return a().s[3]++,a().b[2][0]++,t=t||(a().b[2][1]++,window.RevolugoElements.config.lang),a().s[4]++,new Intl.NumberFormat(t,{currency:e,maximumFractionDigits:c,minimumFractionDigits:c,style:"currency",...o}).format(i)}},"507d":function(n,e,t){t.r(e);var l=function(){var n=this,e=n._self._c;n._self._setupProxy;return e("web-component-wrapper",[e("bank-transfer-details",n._b({},"bank-transfer-details",n.$props,!1))],1)},a=[],o=t("ad27");function i(){var n="/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/BankTransferDetails/BankTransferDetails.props.ts",e="0890375ec03890104375d9a240f2dc2ffa2c8806",t=new Function("return this")(),l="__coverage__",a={path:"/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/BankTransferDetails/BankTransferDetails.props.ts",statementMap:{0:{start:{line:1,column:40},end:{line:9,column:1}}},fnMap:{},branchMap:{},s:{0:0},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"0890375ec03890104375d9a240f2dc2ffa2c8806"},o=t[l]||(t[l]={});o[n]&&o[n].hash===e||(o[n]=a);var c=o[n];return i=function(){return c},c}i();const c=(i().s[0]++,{token:{type:String},amount:{type:Number},currency:{type:String},withTerms:{type:Boolean,default:!1}});var s=function(){var n=this,e=n._self._c;n._self._setupProxy;return e("v-card",[e("v-toolbar",{attrs:{color:"grey lighten-4",dense:"",elevation:"0"}},[e("div",{staticClass:"w-100 d-flex justify-space-between items-center"},[e("h4",[e("v-icon",{attrs:{left:""}},[n._v(" fa-money-bill-transfer ")]),n._v(" "+n._s(n.$t("BankTransferDetails.title"))+": "),n.loading?e("v-progress-circular",{staticClass:"ml-2",attrs:{indeterminate:"",color:"primary",size:"20",width:"1"}}):e("b-formatted-amount",{staticClass:"font-weight-bold",attrs:{amount:n.amount,currency:n.currency}})],1)])]),e("v-card-text",[e("v-row",[e("v-col",[e("h4",[n._v(n._s(n.$t("BankTransferDetails.description")))])])],1),e("v-row",[e("v-col",[e("v-card",{staticClass:"px-4 py-2",attrs:{outlined:""}},[e("v-card-text",[e("v-row",[e("v-col",{staticClass:"mr-2"},[e("v-row",[e("h4",[n._v(n._s(n.$t("BankTransferDetails.IBAN")))])]),e("v-row",[e("v-btn",{staticClass:"mt-1",attrs:{width:n.$breakpointService.xs?"100%":"auto",elevation:"0"},on:{click:function(e){return n.copy(n.iban)}}},[n._v(" "+n._s(n.iban)+" ")])],1)],1),e("v-col",{staticClass:"mt-4 mt-sm-0"},[e("v-row",[e("h4",[n._v(n._s(n.$t("BankTransferDetails.BIC")))])]),e("v-row",[e("v-btn",{staticClass:"mt-1",attrs:{width:n.$breakpointService.xs?"100%":"auto",elevation:"0"},on:{click:function(e){return n.copy(n.bic)}}},[n._v(" "+n._s(n.bic)+" ")])],1)],1)],1),e("v-row",[e("v-col",{staticClass:"mt-4"},[e("v-row",[e("h4",[n._v(n._s(n.$t("BankTransferDetails.owner")))])]),e("v-row",[e("v-btn",{staticClass:"mt-1 px-4 py-2 text-left",attrs:{width:n.$breakpointService.xs?"100%":"auto",elevation:"0",height:"auto"},domProps:{innerHTML:n._s(n.address)},on:{click:function(e){return n.copy(n.address)}}})],1)],1)],1)],1)],1)],1)],1),n.withTerms?e("v-row",[e("v-col",[e("span",{domProps:{innerHTML:n._s(n.$t("BankTransferDetails.termsAndConditions",{url:n.termsAndConditionsUrl}))}})])],1):n._e()],1),e("v-snackbar",{attrs:{timeout:n.timeout,color:"success",width:"auto",top:"",right:""},model:{value:n.snackbar,callback:function(e){n.snackbar=e},expression:"snackbar"}},[n._v(" "+n._s(n.$t("BankTransferDetails.copied"))+" ")])],1)},r=[],u=t("bc25"),m=t("7230"),d=t("6337");function p(){var n="/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/BankTransferDetails/BankTransferDetails.ts",e="808c64fd84329b2ea707d4fb739d3b5a4aaef7d7",t=new Function("return this")(),l="__coverage__",a={path:"/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/BankTransferDetails/BankTransferDetails.ts",statementMap:{0:{start:{line:6,column:26},end:{line:6,column:84}},1:{start:{line:7,column:13},end:{line:7,column:48}},2:{start:{line:8,column:12},end:{line:8,column:25}},3:{start:{line:9,column:16},end:{line:9,column:84}},4:{start:{line:17,column:17},end:{line:24,column:5}},5:{start:{line:27,column:12},end:{line:34,column:13}},6:{start:{line:28,column:16},end:{line:28,column:82}},7:{start:{line:29,column:16},end:{line:29,column:37}},8:{start:{line:33,column:16},end:{line:33,column:37}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:17,column:10},end:{line:17,column:11}},loc:{start:{line:17,column:17},end:{line:24,column:5}},line:17},1:{name:"(anonymous_1)",decl:{start:{line:26,column:8},end:{line:26,column:9}},loc:{start:{line:26,column:25},end:{line:35,column:9}},line:26}},branchMap:{},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0},f:{0:0,1:0},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"808c64fd84329b2ea707d4fb739d3b5a4aaef7d7"},o=t[l]||(t[l]={});o[n]&&o[n].hash===e||(o[n]=a);var i=o[n];return p=function(){return i},i}p();const b=(p().s[0]++,"https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf"),f=(p().s[1]++,"FR76 1695 8000 0150 0746 9070 991"),v=(p().s[2]++,"QNTOFRP1XXX"),h=(p().s[3]++,"CBS TRAVEL 5<br> Avenue du Général de Gaulle<br> 94160 Saint-Mandé");var _=o["a"].extend({name:"BankTransferDetails",components:{BFormattedAmount:u["a"]},mixins:[Object(d["a"])("components/RevolugoElements/BankTransferDetails"),m["a"]],props:c,data:()=>(p().f[0]++,p().s[4]++,{termsAndConditionsUrl:b,iban:f,bic:v,address:h,snackbar:!1,timeout:1e3}),methods:{async copy(n){p().f[1]++,p().s[5]++;try{p().s[6]++,await navigator.clipboard.writeText(n.replace(/<br>/giu,",")),p().s[7]++,this.snackbar=!0}catch{p().s[8]++,console.log("error")}}}}),y=_,g=t("f0a0"),k=t("61eb"),w=t.n(k),x=t("0a65"),B=t("f473"),T=t("ea33"),D=t("3c96"),S=t("fbf8"),M=t("c527"),C=t("5c91"),F=t("c25c"),E=t("37d99"),$=Object(g["a"])(y,s,r,!1,null,null,null,!0),A=$.exports;w()($,{VBtn:x["a"],VCard:B["a"],VCardText:T["c"],VCol:D["a"],VIcon:S["a"],VProgressCircular:M["a"],VRow:C["a"],VSnackbar:F["a"],VToolbar:E["a"]});var O=t("9825");function R(){var n="/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/web-components/BankTransferDetails/BankTransferDetails.ts",e="6dccd34bd79dc3f01782f329d4b0d75178b63fa7",t=new Function("return this")(),l="__coverage__",a={path:"/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/web-components/BankTransferDetails/BankTransferDetails.ts",statementMap:{},fnMap:{},branchMap:{},s:{},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"6dccd34bd79dc3f01782f329d4b0d75178b63fa7"},o=t[l]||(t[l]={});o[n]&&o[n].hash===e||(o[n]=a);var i=o[n];return R=function(){return i},i}R();var j=o["a"].extend({components:{BankTransferDetails:A,WebComponentWrapper:O["a"]},props:c}),V=j,I=Object(g["a"])(V,l,a,!1,null,null,null,!0);e["default"]=I.exports},7230:function(n,e,t){t.d(e,"a",(function(){return i}));var l=t("ad27"),a=t("379c");function o(){var n="/opt/atlassian/pipelines/agent/build/libs/elements/core/src/mixins/breakpoint-service.ts",e="00de0f3a3891c52e36c692cde48b1416370594fb",t=new Function("return this")(),l="__coverage__",a={path:"/opt/atlassian/pipelines/agent/build/libs/elements/core/src/mixins/breakpoint-service.ts",statementMap:{0:{start:{line:3,column:27},end:{line:20,column:1}},1:{start:{line:21,column:38},end:{line:51,column:2}},2:{start:{line:23,column:8},end:{line:26,column:10}},3:{start:{line:30,column:12},end:{line:30,column:45}},4:{start:{line:33,column:12},end:{line:33,column:125}},5:{start:{line:37,column:8},end:{line:39,column:11}},6:{start:{line:38,column:12},end:{line:38,column:46}},7:{start:{line:43,column:12},end:{line:44,column:84}},8:{start:{line:45,column:12},end:{line:47,column:13}},9:{start:{line:46,column:16},end:{line:46,column:23}},10:{start:{line:48,column:12},end:{line:48,column:84}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:22,column:4},end:{line:22,column:5}},loc:{start:{line:22,column:11},end:{line:27,column:5}},line:22},1:{name:"(anonymous_1)",decl:{start:{line:29,column:8},end:{line:29,column:9}},loc:{start:{line:29,column:32},end:{line:31,column:9}},line:29},2:{name:"(anonymous_2)",decl:{start:{line:32,column:8},end:{line:32,column:9}},loc:{start:{line:32,column:29},end:{line:34,column:9}},line:32},3:{name:"(anonymous_3)",decl:{start:{line:36,column:4},end:{line:36,column:5}},loc:{start:{line:36,column:14},end:{line:40,column:5}},line:36},4:{name:"(anonymous_4)",decl:{start:{line:37,column:23},end:{line:37,column:24}},loc:{start:{line:37,column:29},end:{line:39,column:9}},line:37},5:{name:"(anonymous_5)",decl:{start:{line:42,column:8},end:{line:42,column:9}},loc:{start:{line:42,column:37},end:{line:49,column:9}},line:42}},branchMap:{0:{loc:{start:{line:33,column:20},end:{line:33,column:123}},type:"binary-expr",locations:[{start:{line:33,column:20},end:{line:33,column:103}},{start:{line:33,column:107},end:{line:33,column:123}}],line:33},1:{loc:{start:{line:44,column:16},end:{line:44,column:83}},type:"binary-expr",locations:[{start:{line:44,column:16},end:{line:44,column:41}},{start:{line:44,column:45},end:{line:44,column:83}}],line:44},2:{loc:{start:{line:45,column:12},end:{line:47,column:13}},type:"if",locations:[{start:{line:45,column:12},end:{line:47,column:13}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:45}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0},f:{0:0,1:0,2:0,3:0,4:0,5:0},b:{0:[0,0],1:[0,0],2:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"00de0f3a3891c52e36c692cde48b1416370594fb"},i=t[l]||(t[l]={});i[n]&&i[n].hash===e||(i[n]=a);var c=i[n];return o=function(){return c},c}o();o().s[0]++;const i=(o().s[1]++,l["a"].extend({data(){return o().f[0]++,o().s[2]++,{breakpointObserverEl:null,breakpointServiceId:null}},computed:{$breakpointObserverEl(){return o().f[1]++,o().s[3]++,this.breakpointObserverEl},$breakpointService(){return o().f[2]++,o().s[4]++,o().b[0][0]++,this.$store.get("breakpointService/getBreakpointService",this.breakpointServiceId)||(o().b[0][1]++,{ready:!1})}},mounted(){o().f[3]++,o().s[5]++,this.$nextTick(()=>{o().f[4]++,o().s[6]++,this.breakpointServiceMixinInit()})},methods:{breakpointServiceMixinInit(){if(o().f[5]++,o().s[7]++,this.breakpointObserverEl=(o().b[1][0]++,this.breakpointObserverEl||(o().b[1][1]++,Object(a["d"])(this))),o().s[8]++,!this.breakpointObserverEl)return o().b[2][0]++,void o().s[9]++;o().b[2][1]++,o().s[10]++,this.breakpointServiceId=this.breakpointObserverEl.getAttribute("id")}}}))},bc25:function(n,e,t){var l=function(){var n=this,e=n._self._c;n._self._setupProxy;return isNaN(n.amount)?n._e():e("span",[n._v(n._s(n.formattedAmount))])},a=[],o=t("ad27"),i=t("3206");function c(){var n="/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/ui/BFormattedAmount/BFormattedAmount.ts",e="dda7695cd4aab3221802a4472ff661eaf4e0a752",t=new Function("return this")(),l="__coverage__",a={path:"/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/ui/BFormattedAmount/BFormattedAmount.ts",statementMap:{0:{start:{line:3,column:21},end:{line:13,column:1}},1:{start:{line:7,column:37},end:{line:7,column:178}},2:{start:{line:11,column:37},end:{line:11,column:174}},3:{start:{line:19,column:12},end:{line:19,column:44}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:7,column:17},end:{line:7,column:18}},loc:{start:{line:7,column:23},end:{line:7,column:180}},line:7},1:{name:"(anonymous_1)",decl:{start:{line:11,column:17},end:{line:11,column:18}},loc:{start:{line:11,column:23},end:{line:11,column:176}},line:11},2:{name:"(anonymous_2)",decl:{start:{line:18,column:8},end:{line:18,column:9}},loc:{start:{line:18,column:26},end:{line:20,column:9}},line:18}},branchMap:{0:{loc:{start:{line:7,column:44},end:{line:7,column:177}},type:"cond-expr",locations:[{start:{line:7,column:157},end:{line:7,column:163}},{start:{line:7,column:166},end:{line:7,column:177}}],line:7},1:{loc:{start:{line:7,column:44},end:{line:7,column:154}},type:"binary-expr",locations:[{start:{line:7,column:44},end:{line:7,column:137}},{start:{line:7,column:141},end:{line:7,column:154}}],line:7},2:{loc:{start:{line:7,column:50},end:{line:7,column:127}},type:"cond-expr",locations:[{start:{line:7,column:109},end:{line:7,column:115}},{start:{line:7,column:118},end:{line:7,column:127}}],line:7},3:{loc:{start:{line:7,column:50},end:{line:7,column:106}},type:"binary-expr",locations:[{start:{line:7,column:50},end:{line:7,column:89}},{start:{line:7,column:93},end:{line:7,column:106}}],line:7},4:{loc:{start:{line:11,column:44},end:{line:11,column:173}},type:"cond-expr",locations:[{start:{line:11,column:157},end:{line:11,column:163}},{start:{line:11,column:166},end:{line:11,column:173}}],line:11},5:{loc:{start:{line:11,column:44},end:{line:11,column:154}},type:"binary-expr",locations:[{start:{line:11,column:44},end:{line:11,column:137}},{start:{line:11,column:141},end:{line:11,column:154}}],line:11},6:{loc:{start:{line:11,column:50},end:{line:11,column:127}},type:"cond-expr",locations:[{start:{line:11,column:109},end:{line:11,column:115}},{start:{line:11,column:118},end:{line:11,column:127}}],line:11},7:{loc:{start:{line:11,column:50},end:{line:11,column:106}},type:"binary-expr",locations:[{start:{line:11,column:50},end:{line:11,column:89}},{start:{line:11,column:93},end:{line:11,column:106}}],line:11}},s:{0:0,1:0,2:0,3:0},f:{0:0,1:0,2:0},b:{0:[0,0],1:[0,0],2:[0,0],3:[0,0],4:[0,0],5:[0,0],6:[0,0],7:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"dda7695cd4aab3221802a4472ff661eaf4e0a752"},o=t[l]||(t[l]={});o[n]&&o[n].hash===e||(o[n]=a);var i=o[n];return c=function(){return i},i}c();const s=(c().s[0]++,{amount:{type:Number},currency:{type:String,default:()=>{var n,e;return c().f[0]++,c().s[1]++,c().b[1][0]++,null===(c().b[3][0]++,e=null===(n=window.RevolugoElements)||(c().b[3][1]++,void 0===n)?void c().b[2][0]++:(c().b[2][1]++,n.config))||(c().b[1][1]++,void 0===e)?void c().b[0][0]++:(c().b[0][1]++,e.currency)}},locale:{type:String,default:()=>{var n,e;return c().f[1]++,c().s[2]++,c().b[5][0]++,null===(c().b[7][0]++,e=null===(n=window.RevolugoElements)||(c().b[7][1]++,void 0===n)?void c().b[6][0]++:(c().b[6][1]++,n.config))||(c().b[5][1]++,void 0===e)?void c().b[4][0]++:(c().b[4][1]++,e.lang)}}});var r=o["a"].extend({name:"BFormattedAmount",props:s,computed:{formattedAmount(){return c().f[2]++,c().s[3]++,Object(i["a"])(this.$props)}}}),u=r,m=t("f0a0"),d=Object(m["a"])(u,l,a,!1,null,null,null,!0);e["a"]=d.exports}}]);
|
@@ -0,0 +1,579 @@
|
|
1
|
+
(window["revolugo_jsonp"] = window["revolugo_jsonp"] || []).push([[39],{
|
2
|
+
|
3
|
+
/***/ "4a48":
|
4
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5
|
+
|
6
|
+
"use strict";
|
7
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return langSwitchButtonProps; });
|
8
|
+
function cov_1kk3y13e2e() {
|
9
|
+
var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.props.ts";
|
10
|
+
var hash = "b0b3d93c7c8e40768c4894718af8a4d622b68202";
|
11
|
+
var global = new Function("return this")();
|
12
|
+
var gcv = "__coverage__";
|
13
|
+
var coverageData = {
|
14
|
+
path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.props.ts",
|
15
|
+
statementMap: {
|
16
|
+
"0": {
|
17
|
+
start: {
|
18
|
+
line: 1,
|
19
|
+
column: 37
|
20
|
+
},
|
21
|
+
end: {
|
22
|
+
line: 6,
|
23
|
+
column: 1
|
24
|
+
}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
fnMap: {},
|
28
|
+
branchMap: {},
|
29
|
+
s: {
|
30
|
+
"0": 0
|
31
|
+
},
|
32
|
+
f: {},
|
33
|
+
b: {},
|
34
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
35
|
+
hash: "b0b3d93c7c8e40768c4894718af8a4d622b68202"
|
36
|
+
};
|
37
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
38
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
39
|
+
coverage[path] = coverageData;
|
40
|
+
}
|
41
|
+
var actualCoverage = coverage[path];
|
42
|
+
{
|
43
|
+
// @ts-ignore
|
44
|
+
cov_1kk3y13e2e = function () {
|
45
|
+
return actualCoverage;
|
46
|
+
};
|
47
|
+
}
|
48
|
+
return actualCoverage;
|
49
|
+
}
|
50
|
+
cov_1kk3y13e2e();
|
51
|
+
const langSwitchButtonProps = (cov_1kk3y13e2e().s[0]++, {
|
52
|
+
modalDirection: {
|
53
|
+
type: String,
|
54
|
+
default: 'right'
|
55
|
+
}
|
56
|
+
});
|
57
|
+
|
58
|
+
/***/ }),
|
59
|
+
|
60
|
+
/***/ "8e95":
|
61
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
62
|
+
|
63
|
+
"use strict";
|
64
|
+
|
65
|
+
// CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"38294fbf-vue-loader-template"}!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib??vue-loader-options!./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.vue?vue&type=template&id=103494b6&
|
66
|
+
var render = function render() {
|
67
|
+
var _vm = this,
|
68
|
+
_c = _vm._self._c,
|
69
|
+
_setup = _vm._self._setupProxy;
|
70
|
+
return _c('v-menu', {
|
71
|
+
staticClass: "z-index-over-map",
|
72
|
+
attrs: {
|
73
|
+
"offset-y": "",
|
74
|
+
"attach": "",
|
75
|
+
"right": _vm.modalDirection === 'right',
|
76
|
+
"left": _vm.modalDirection === 'left',
|
77
|
+
"eager": ""
|
78
|
+
},
|
79
|
+
scopedSlots: _vm._u([{
|
80
|
+
key: "activator",
|
81
|
+
fn: function ({
|
82
|
+
on,
|
83
|
+
attrs
|
84
|
+
}) {
|
85
|
+
return [_c('v-btn', _vm._g(_vm._b({
|
86
|
+
attrs: {
|
87
|
+
"color": "primary",
|
88
|
+
"outlined": "",
|
89
|
+
"dark": "",
|
90
|
+
"small": ""
|
91
|
+
}
|
92
|
+
}, 'v-btn', attrs, false), on), [_vm._v(" " + _vm._s(_vm.selectedLang.substring(0, 2)) + " "), _c('v-icon', {
|
93
|
+
staticClass: "ml-2"
|
94
|
+
}, [_vm._v(" fa fa-caret-down ")])], 1)];
|
95
|
+
}
|
96
|
+
}])
|
97
|
+
}, [_c('v-list', [_c('p', {
|
98
|
+
staticClass: "mb-2 px-3 text--secondary"
|
99
|
+
}, [_vm._v(" " + _vm._s(_vm.$t('title')) + " ")]), _vm._l(_vm.locales, function (locale) {
|
100
|
+
return _c('v-list-item', {
|
101
|
+
key: locale.name,
|
102
|
+
class: _vm.selectedLang === locale.code ? 'grey lighten-4' : null,
|
103
|
+
attrs: {
|
104
|
+
"link": "",
|
105
|
+
"dense": ""
|
106
|
+
},
|
107
|
+
on: {
|
108
|
+
"click": function ($event) {
|
109
|
+
return _vm.onItemClick(locale.code);
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}, [_c('span', {
|
113
|
+
class: _vm.selectedLang === locale.code ? 'font-weight-bold' : ''
|
114
|
+
}, [_vm._v(" " + _vm._s(locale.name) + " " + _vm._s(locale.icon) + " ")])]);
|
115
|
+
})], 2)], 1);
|
116
|
+
};
|
117
|
+
var staticRenderFns = [];
|
118
|
+
|
119
|
+
// CONCATENATED MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.vue?vue&type=template&id=103494b6&
|
120
|
+
|
121
|
+
// EXTERNAL MODULE: ./src/config/constants.ts
|
122
|
+
var constants = __webpack_require__("946e");
|
123
|
+
|
124
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/libs/common/dist/index.js + 22 modules
|
125
|
+
var dist = __webpack_require__("f6d7");
|
126
|
+
|
127
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue@2.7.14_patch_hash=eabltful76efbfyd536dwkbr5a/node_modules/vue/dist/vue.runtime.esm.js
|
128
|
+
var vue_runtime_esm = __webpack_require__("ad27");
|
129
|
+
|
130
|
+
// EXTERNAL MODULE: ./src/mixins/locale-async-loader.ts + 1 modules
|
131
|
+
var locale_async_loader = __webpack_require__("6337");
|
132
|
+
|
133
|
+
// EXTERNAL MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.props.ts
|
134
|
+
var LangSwitchButton_props = __webpack_require__("4a48");
|
135
|
+
|
136
|
+
// CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--13-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/ts-loader@6.2.2_typescript@4.7.4/node_modules/ts-loader??ref--13-2!./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.ts?vue&type=script&lang=ts&
|
137
|
+
function cov_76jb75l6i() {
|
138
|
+
var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.ts";
|
139
|
+
var hash = "f4e6b4ea73a879991e905d71cc2127fd0ff9a9f4";
|
140
|
+
var global = new Function("return this")();
|
141
|
+
var gcv = "__coverage__";
|
142
|
+
var coverageData = {
|
143
|
+
path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.ts",
|
144
|
+
statementMap: {
|
145
|
+
"0": {
|
146
|
+
start: {
|
147
|
+
line: 12,
|
148
|
+
column: 12
|
149
|
+
},
|
150
|
+
end: {
|
151
|
+
line: 12,
|
152
|
+
column: 54
|
153
|
+
}
|
154
|
+
},
|
155
|
+
"1": {
|
156
|
+
start: {
|
157
|
+
line: 16,
|
158
|
+
column: 12
|
159
|
+
},
|
160
|
+
end: {
|
161
|
+
line: 16,
|
162
|
+
column: 90
|
163
|
+
}
|
164
|
+
},
|
165
|
+
"2": {
|
166
|
+
start: {
|
167
|
+
line: 21,
|
168
|
+
column: 12
|
169
|
+
},
|
170
|
+
end: {
|
171
|
+
line: 21,
|
172
|
+
column: 71
|
173
|
+
}
|
174
|
+
},
|
175
|
+
"3": {
|
176
|
+
start: {
|
177
|
+
line: 26,
|
178
|
+
column: 12
|
179
|
+
},
|
180
|
+
end: {
|
181
|
+
line: 26,
|
182
|
+
column: 34
|
183
|
+
}
|
184
|
+
}
|
185
|
+
},
|
186
|
+
fnMap: {
|
187
|
+
"0": {
|
188
|
+
name: "(anonymous_0)",
|
189
|
+
decl: {
|
190
|
+
start: {
|
191
|
+
line: 11,
|
192
|
+
column: 8
|
193
|
+
},
|
194
|
+
end: {
|
195
|
+
line: 11,
|
196
|
+
column: 9
|
197
|
+
}
|
198
|
+
},
|
199
|
+
loc: {
|
200
|
+
start: {
|
201
|
+
line: 11,
|
202
|
+
column: 18
|
203
|
+
},
|
204
|
+
end: {
|
205
|
+
line: 13,
|
206
|
+
column: 9
|
207
|
+
}
|
208
|
+
},
|
209
|
+
line: 11
|
210
|
+
},
|
211
|
+
"1": {
|
212
|
+
name: "(anonymous_1)",
|
213
|
+
decl: {
|
214
|
+
start: {
|
215
|
+
line: 14,
|
216
|
+
column: 8
|
217
|
+
},
|
218
|
+
end: {
|
219
|
+
line: 14,
|
220
|
+
column: 9
|
221
|
+
}
|
222
|
+
},
|
223
|
+
loc: {
|
224
|
+
start: {
|
225
|
+
line: 14,
|
226
|
+
column: 23
|
227
|
+
},
|
228
|
+
end: {
|
229
|
+
line: 17,
|
230
|
+
column: 9
|
231
|
+
}
|
232
|
+
},
|
233
|
+
line: 14
|
234
|
+
},
|
235
|
+
"2": {
|
236
|
+
name: "(anonymous_2)",
|
237
|
+
decl: {
|
238
|
+
start: {
|
239
|
+
line: 20,
|
240
|
+
column: 8
|
241
|
+
},
|
242
|
+
end: {
|
243
|
+
line: 20,
|
244
|
+
column: 9
|
245
|
+
}
|
246
|
+
},
|
247
|
+
loc: {
|
248
|
+
start: {
|
249
|
+
line: 20,
|
250
|
+
column: 23
|
251
|
+
},
|
252
|
+
end: {
|
253
|
+
line: 22,
|
254
|
+
column: 9
|
255
|
+
}
|
256
|
+
},
|
257
|
+
line: 20
|
258
|
+
},
|
259
|
+
"3": {
|
260
|
+
name: "(anonymous_3)",
|
261
|
+
decl: {
|
262
|
+
start: {
|
263
|
+
line: 25,
|
264
|
+
column: 8
|
265
|
+
},
|
266
|
+
end: {
|
267
|
+
line: 25,
|
268
|
+
column: 9
|
269
|
+
}
|
270
|
+
},
|
271
|
+
loc: {
|
272
|
+
start: {
|
273
|
+
line: 25,
|
274
|
+
column: 26
|
275
|
+
},
|
276
|
+
end: {
|
277
|
+
line: 27,
|
278
|
+
column: 9
|
279
|
+
}
|
280
|
+
},
|
281
|
+
line: 25
|
282
|
+
}
|
283
|
+
},
|
284
|
+
branchMap: {
|
285
|
+
"0": {
|
286
|
+
loc: {
|
287
|
+
start: {
|
288
|
+
line: 16,
|
289
|
+
column: 19
|
290
|
+
},
|
291
|
+
end: {
|
292
|
+
line: 16,
|
293
|
+
column: 89
|
294
|
+
}
|
295
|
+
},
|
296
|
+
type: "cond-expr",
|
297
|
+
locations: [{
|
298
|
+
start: {
|
299
|
+
line: 16,
|
300
|
+
column: 71
|
301
|
+
},
|
302
|
+
end: {
|
303
|
+
line: 16,
|
304
|
+
column: 73
|
305
|
+
}
|
306
|
+
}, {
|
307
|
+
start: {
|
308
|
+
line: 16,
|
309
|
+
column: 76
|
310
|
+
},
|
311
|
+
end: {
|
312
|
+
line: 16,
|
313
|
+
column: 89
|
314
|
+
}
|
315
|
+
}],
|
316
|
+
line: 16
|
317
|
+
},
|
318
|
+
"1": {
|
319
|
+
loc: {
|
320
|
+
start: {
|
321
|
+
line: 16,
|
322
|
+
column: 19
|
323
|
+
},
|
324
|
+
end: {
|
325
|
+
line: 16,
|
326
|
+
column: 68
|
327
|
+
}
|
328
|
+
},
|
329
|
+
type: "binary-expr",
|
330
|
+
locations: [{
|
331
|
+
start: {
|
332
|
+
line: 16,
|
333
|
+
column: 19
|
334
|
+
},
|
335
|
+
end: {
|
336
|
+
line: 16,
|
337
|
+
column: 51
|
338
|
+
}
|
339
|
+
}, {
|
340
|
+
start: {
|
341
|
+
line: 16,
|
342
|
+
column: 55
|
343
|
+
},
|
344
|
+
end: {
|
345
|
+
line: 16,
|
346
|
+
column: 68
|
347
|
+
}
|
348
|
+
}],
|
349
|
+
line: 16
|
350
|
+
}
|
351
|
+
},
|
352
|
+
s: {
|
353
|
+
"0": 0,
|
354
|
+
"1": 0,
|
355
|
+
"2": 0,
|
356
|
+
"3": 0
|
357
|
+
},
|
358
|
+
f: {
|
359
|
+
"0": 0,
|
360
|
+
"1": 0,
|
361
|
+
"2": 0,
|
362
|
+
"3": 0
|
363
|
+
},
|
364
|
+
b: {
|
365
|
+
"0": [0, 0],
|
366
|
+
"1": [0, 0]
|
367
|
+
},
|
368
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
369
|
+
hash: "f4e6b4ea73a879991e905d71cc2127fd0ff9a9f4"
|
370
|
+
};
|
371
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
372
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
373
|
+
coverage[path] = coverageData;
|
374
|
+
}
|
375
|
+
var actualCoverage = coverage[path];
|
376
|
+
{
|
377
|
+
// @ts-ignore
|
378
|
+
cov_76jb75l6i = function () {
|
379
|
+
return actualCoverage;
|
380
|
+
};
|
381
|
+
}
|
382
|
+
return actualCoverage;
|
383
|
+
}
|
384
|
+
cov_76jb75l6i();
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
/* harmony default export */ var LangSwitchButtonvue_type_script_lang_ts_ = (vue_runtime_esm["a" /* default */].extend({
|
391
|
+
name: 'LangSwitchButton',
|
392
|
+
mixins: [Object(locale_async_loader["a" /* localeAsyncLoaderMixin */])("components/RevolugoElements/LangSwitchButton")],
|
393
|
+
props: LangSwitchButton_props["a" /* langSwitchButtonProps */],
|
394
|
+
computed: {
|
395
|
+
locales() {
|
396
|
+
cov_76jb75l6i().f[0]++;
|
397
|
+
cov_76jb75l6i().s[0]++;
|
398
|
+
return Object.values(dist["f" /* LOCALES_DESCRIPTION */]);
|
399
|
+
},
|
400
|
+
selectedLang() {
|
401
|
+
cov_76jb75l6i().f[1]++;
|
402
|
+
var _a;
|
403
|
+
cov_76jb75l6i().s[1]++;
|
404
|
+
return (cov_76jb75l6i().b[1][0]++, (_a = this.config.lang) !== null) && (cov_76jb75l6i().b[1][1]++, _a !== void 0) ? (cov_76jb75l6i().b[0][0]++, _a) : (cov_76jb75l6i().b[0][1]++, dist["g" /* Locales */].EN_US);
|
405
|
+
}
|
406
|
+
},
|
407
|
+
watch: {
|
408
|
+
selectedLang() {
|
409
|
+
cov_76jb75l6i().f[2]++;
|
410
|
+
cov_76jb75l6i().s[2]++;
|
411
|
+
this.$eventBus.$emit(constants["d" /* EVENTS */].LANG_UPDATE, this.config.lang);
|
412
|
+
}
|
413
|
+
},
|
414
|
+
methods: {
|
415
|
+
onItemClick(item) {
|
416
|
+
cov_76jb75l6i().f[3]++;
|
417
|
+
cov_76jb75l6i().s[3]++;
|
418
|
+
this.updateLang(item);
|
419
|
+
}
|
420
|
+
}
|
421
|
+
}));
|
422
|
+
// CONCATENATED MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.ts?vue&type=script&lang=ts&
|
423
|
+
/* harmony default export */ var LangSwitchButton_LangSwitchButtonvue_type_script_lang_ts_ = (LangSwitchButtonvue_type_script_lang_ts_);
|
424
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
425
|
+
var componentNormalizer = __webpack_require__("f0a0");
|
426
|
+
|
427
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/github.com+adhimos+vuetify-loader@3649a32836cbd14daf4400733f35df2946fe69c7_vue-template-compi_f774ocvuwakfhkezdbjczje4tu/node_modules/vuetify-loader/lib/runtime/installComponents.js
|
428
|
+
var installComponents = __webpack_require__("61eb");
|
429
|
+
var installComponents_default = /*#__PURE__*/__webpack_require__.n(installComponents);
|
430
|
+
|
431
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VBtn/VBtn.js
|
432
|
+
var VBtn = __webpack_require__("0a65");
|
433
|
+
|
434
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VIcon/VIcon.js
|
435
|
+
var VIcon = __webpack_require__("fbf8");
|
436
|
+
|
437
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VList/VList.js
|
438
|
+
var VList = __webpack_require__("c533");
|
439
|
+
|
440
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VList/VListItem.js
|
441
|
+
var VListItem = __webpack_require__("dc7f");
|
442
|
+
|
443
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vuetify@2.6.14_patch_hash=7jnfvumgd57swvvwptudmj6sgy_vue@2.7.14/node_modules/vuetify/lib/components/VMenu/VMenu.js
|
444
|
+
var VMenu = __webpack_require__("f119");
|
445
|
+
|
446
|
+
// CONCATENATED MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.vue
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
/* normalize component */
|
453
|
+
|
454
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
455
|
+
LangSwitchButton_LangSwitchButtonvue_type_script_lang_ts_,
|
456
|
+
render,
|
457
|
+
staticRenderFns,
|
458
|
+
false,
|
459
|
+
null,
|
460
|
+
null,
|
461
|
+
null
|
462
|
+
,true
|
463
|
+
)
|
464
|
+
|
465
|
+
/* harmony default export */ var LangSwitchButton = __webpack_exports__["a"] = (component.exports);
|
466
|
+
|
467
|
+
/* vuetify-loader */
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
installComponents_default()(component, {VBtn: VBtn["a" /* default */],VIcon: VIcon["a" /* default */],VList: VList["a" /* default */],VListItem: VListItem["a" /* default */],VMenu: VMenu["a" /* default */]})
|
475
|
+
|
476
|
+
|
477
|
+
/***/ }),
|
478
|
+
|
479
|
+
/***/ "9081":
|
480
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
481
|
+
|
482
|
+
"use strict";
|
483
|
+
// ESM COMPAT FLAG
|
484
|
+
__webpack_require__.r(__webpack_exports__);
|
485
|
+
|
486
|
+
// CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"38294fbf-vue-loader-template"}!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib??vue-loader-options!./src/components/web-components/LangSwitchButton/LangSwitchButton.vue?vue&type=template&id=d98a17ea&shadow
|
487
|
+
var render = function render() {
|
488
|
+
var _vm = this,
|
489
|
+
_c = _vm._self._c,
|
490
|
+
_setup = _vm._self._setupProxy;
|
491
|
+
return _c('web-component-wrapper', [_c('lang-switch-button', _vm._b({}, 'lang-switch-button', _vm.$props, false))], 1);
|
492
|
+
};
|
493
|
+
var staticRenderFns = [];
|
494
|
+
|
495
|
+
// CONCATENATED MODULE: ./src/components/web-components/LangSwitchButton/LangSwitchButton.vue?vue&type=template&id=d98a17ea&shadow
|
496
|
+
|
497
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue@2.7.14_patch_hash=eabltful76efbfyd536dwkbr5a/node_modules/vue/dist/vue.runtime.esm.js
|
498
|
+
var vue_runtime_esm = __webpack_require__("ad27");
|
499
|
+
|
500
|
+
// EXTERNAL MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.props.ts
|
501
|
+
var LangSwitchButton_props = __webpack_require__("4a48");
|
502
|
+
|
503
|
+
// EXTERNAL MODULE: ./src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.vue + 4 modules
|
504
|
+
var LangSwitchButton = __webpack_require__("8e95");
|
505
|
+
|
506
|
+
// EXTERNAL MODULE: ./src/components/utils/WebComponentWrapper/WebComponentWrapper.vue + 12 modules
|
507
|
+
var WebComponentWrapper = __webpack_require__("9825");
|
508
|
+
|
509
|
+
// CONCATENATED MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--13-0!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.21.4_webpack@4.46.0/node_modules/babel-loader/lib!/opt/atlassian/pipelines/agent/build/node_modules/.pnpm/ts-loader@6.2.2_typescript@4.7.4/node_modules/ts-loader??ref--13-2!./src/components/web-components/LangSwitchButton/LangSwitchButton.ts?vue&type=script&lang=ts&shadow
|
510
|
+
function cov_kt0xb72ai() {
|
511
|
+
var path = "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/web-components/LangSwitchButton/LangSwitchButton.ts";
|
512
|
+
var hash = "c1a8f41b551785d61167115e8a7a4eabda6b8099";
|
513
|
+
var global = new Function("return this")();
|
514
|
+
var gcv = "__coverage__";
|
515
|
+
var coverageData = {
|
516
|
+
path: "/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/web-components/LangSwitchButton/LangSwitchButton.ts",
|
517
|
+
statementMap: {},
|
518
|
+
fnMap: {},
|
519
|
+
branchMap: {},
|
520
|
+
s: {},
|
521
|
+
f: {},
|
522
|
+
b: {},
|
523
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
524
|
+
hash: "c1a8f41b551785d61167115e8a7a4eabda6b8099"
|
525
|
+
};
|
526
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
527
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
528
|
+
coverage[path] = coverageData;
|
529
|
+
}
|
530
|
+
var actualCoverage = coverage[path];
|
531
|
+
{
|
532
|
+
// @ts-ignore
|
533
|
+
cov_kt0xb72ai = function () {
|
534
|
+
return actualCoverage;
|
535
|
+
};
|
536
|
+
}
|
537
|
+
return actualCoverage;
|
538
|
+
}
|
539
|
+
cov_kt0xb72ai();
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
/* harmony default export */ var LangSwitchButtonvue_type_script_lang_ts_shadow = (vue_runtime_esm["a" /* default */].extend({
|
545
|
+
components: {
|
546
|
+
LangSwitchButton: LangSwitchButton["a" /* default */],
|
547
|
+
WebComponentWrapper: WebComponentWrapper["a" /* default */]
|
548
|
+
},
|
549
|
+
props: LangSwitchButton_props["a" /* langSwitchButtonProps */]
|
550
|
+
}));
|
551
|
+
// CONCATENATED MODULE: ./src/components/web-components/LangSwitchButton/LangSwitchButton.ts?vue&type=script&lang=ts&shadow
|
552
|
+
/* harmony default export */ var LangSwitchButton_LangSwitchButtonvue_type_script_lang_ts_shadow = (LangSwitchButtonvue_type_script_lang_ts_shadow);
|
553
|
+
// EXTERNAL MODULE: /opt/atlassian/pipelines/agent/build/node_modules/.pnpm/vue-loader@15.10.1_cache-loader@4.1.0_css-loader@3.6.0_react-dom@16.14.0_react@16.14.0_vue-te_in2h7w4pcz7gmv74d3b5fqofg4/node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
554
|
+
var componentNormalizer = __webpack_require__("f0a0");
|
555
|
+
|
556
|
+
// CONCATENATED MODULE: ./src/components/web-components/LangSwitchButton/LangSwitchButton.vue?shadow
|
557
|
+
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
/* normalize component */
|
563
|
+
|
564
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
565
|
+
LangSwitchButton_LangSwitchButtonvue_type_script_lang_ts_shadow,
|
566
|
+
render,
|
567
|
+
staticRenderFns,
|
568
|
+
false,
|
569
|
+
null,
|
570
|
+
null,
|
571
|
+
null
|
572
|
+
,true
|
573
|
+
)
|
574
|
+
|
575
|
+
/* harmony default export */ var LangSwitchButtonshadow = __webpack_exports__["default"] = (component.exports);
|
576
|
+
|
577
|
+
/***/ })
|
578
|
+
|
579
|
+
}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(window["revolugo_jsonp"]=window["revolugo_jsonp"]||[]).push([[39],{"4a48":function(n,e,t){function a(){var n="/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.props.ts",e="b0b3d93c7c8e40768c4894718af8a4d622b68202",t=new Function("return this")(),l="__coverage__",o={path:"/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.props.ts",statementMap:{0:{start:{line:1,column:37},end:{line:6,column:1}}},fnMap:{},branchMap:{},s:{0:0},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"b0b3d93c7c8e40768c4894718af8a4d622b68202"},c=t[l]||(t[l]={});c[n]&&c[n].hash===e||(c[n]=o);var s=c[n];return a=function(){return s},s}t.d(e,"a",(function(){return l})),a();const l=(a().s[0]++,{modalDirection:{type:String,default:"right"}})},"8e95":function(n,e,t){var a=function(){var n=this,e=n._self._c;n._self._setupProxy;return e("v-menu",{staticClass:"z-index-over-map",attrs:{"offset-y":"",attach:"",right:"right"===n.modalDirection,left:"left"===n.modalDirection,eager:""},scopedSlots:n._u([{key:"activator",fn:function({on:t,attrs:a}){return[e("v-btn",n._g(n._b({attrs:{color:"primary",outlined:"",dark:"",small:""}},"v-btn",a,!1),t),[n._v(" "+n._s(n.selectedLang.substring(0,2))+" "),e("v-icon",{staticClass:"ml-2"},[n._v(" fa fa-caret-down ")])],1)]}}])},[e("v-list",[e("p",{staticClass:"mb-2 px-3 text--secondary"},[n._v(" "+n._s(n.$t("title"))+" ")]),n._l(n.locales,(function(t){return e("v-list-item",{key:t.name,class:n.selectedLang===t.code?"grey lighten-4":null,attrs:{link:"",dense:""},on:{click:function(e){return n.onItemClick(t.code)}}},[e("span",{class:n.selectedLang===t.code?"font-weight-bold":""},[n._v(" "+n._s(t.name)+" "+n._s(t.icon)+" ")])])}))],2)],1)},l=[],o=t("946e"),c=t("f6d7"),s=t("ad27"),i=t("6337"),u=t("4a48");function r(){var n="/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.ts",e="f4e6b4ea73a879991e905d71cc2127fd0ff9a9f4",t=new Function("return this")(),a="__coverage__",l={path:"/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/RevolugoElements/LangSwitchButton/LangSwitchButton.ts",statementMap:{0:{start:{line:12,column:12},end:{line:12,column:54}},1:{start:{line:16,column:12},end:{line:16,column:90}},2:{start:{line:21,column:12},end:{line:21,column:71}},3:{start:{line:26,column:12},end:{line:26,column:34}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:11,column:8},end:{line:11,column:9}},loc:{start:{line:11,column:18},end:{line:13,column:9}},line:11},1:{name:"(anonymous_1)",decl:{start:{line:14,column:8},end:{line:14,column:9}},loc:{start:{line:14,column:23},end:{line:17,column:9}},line:14},2:{name:"(anonymous_2)",decl:{start:{line:20,column:8},end:{line:20,column:9}},loc:{start:{line:20,column:23},end:{line:22,column:9}},line:20},3:{name:"(anonymous_3)",decl:{start:{line:25,column:8},end:{line:25,column:9}},loc:{start:{line:25,column:26},end:{line:27,column:9}},line:25}},branchMap:{0:{loc:{start:{line:16,column:19},end:{line:16,column:89}},type:"cond-expr",locations:[{start:{line:16,column:71},end:{line:16,column:73}},{start:{line:16,column:76},end:{line:16,column:89}}],line:16},1:{loc:{start:{line:16,column:19},end:{line:16,column:68}},type:"binary-expr",locations:[{start:{line:16,column:19},end:{line:16,column:51}},{start:{line:16,column:55},end:{line:16,column:68}}],line:16}},s:{0:0,1:0,2:0,3:0},f:{0:0,1:0,2:0,3:0},b:{0:[0,0],1:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"f4e6b4ea73a879991e905d71cc2127fd0ff9a9f4"},o=t[a]||(t[a]={});o[n]&&o[n].hash===e||(o[n]=l);var c=o[n];return r=function(){return c},c}r();var m=s["a"].extend({name:"LangSwitchButton",mixins:[Object(i["a"])("components/RevolugoElements/LangSwitchButton")],props:u["a"],computed:{locales(){return r().f[0]++,r().s[0]++,Object.values(c["f"])},selectedLang(){var n;return r().f[1]++,r().s[1]++,r().b[1][0]++,null!==(n=this.config.lang)&&(r().b[1][1]++,void 0!==n)?(r().b[0][0]++,n):(r().b[0][1]++,c["g"].EN_US)}},watch:{selectedLang(){r().f[2]++,r().s[2]++,this.$eventBus.$emit(o["d"].LANG_UPDATE,this.config.lang)}},methods:{onItemClick(n){r().f[3]++,r().s[3]++,this.updateLang(n)}}}),d=m,p=t("f0a0"),f=t("61eb"),b=t.n(f),g=t("0a65"),h=t("fbf8"),_=t("c533"),v=t("dc7f"),w=t("f119"),L=Object(p["a"])(d,a,l,!1,null,null,null,!0);e["a"]=L.exports;b()(L,{VBtn:g["a"],VIcon:h["a"],VList:_["a"],VListItem:v["a"],VMenu:w["a"]})},9081:function(n,e,t){t.r(e);var a=function(){var n=this,e=n._self._c;n._self._setupProxy;return e("web-component-wrapper",[e("lang-switch-button",n._b({},"lang-switch-button",n.$props,!1))],1)},l=[],o=t("ad27"),c=t("4a48"),s=t("8e95"),i=t("9825");function u(){var n="/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/web-components/LangSwitchButton/LangSwitchButton.ts",e="c1a8f41b551785d61167115e8a7a4eabda6b8099",t=new Function("return this")(),a="__coverage__",l={path:"/opt/atlassian/pipelines/agent/build/libs/elements/core/src/components/web-components/LangSwitchButton/LangSwitchButton.ts",statementMap:{},fnMap:{},branchMap:{},s:{},f:{},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"c1a8f41b551785d61167115e8a7a4eabda6b8099"},o=t[a]||(t[a]={});o[n]&&o[n].hash===e||(o[n]=l);var c=o[n];return u=function(){return c},c}u();var r=o["a"].extend({components:{LangSwitchButton:s["a"],WebComponentWrapper:i["a"]},props:c["a"]}),m=r,d=t("f0a0"),p=Object(d["a"])(m,a,l,!1,null,null,null,!0);e["default"]=p.exports}}]);
|
package/dist/revolugo.4.js
CHANGED
@@ -97,6 +97,17 @@ var helpers = __webpack_require__("3d78");
|
|
97
97
|
|
98
98
|
/***/ }),
|
99
99
|
|
100
|
+
/***/ "36e1":
|
101
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
102
|
+
|
103
|
+
"use strict";
|
104
|
+
/* harmony import */ var _VIcon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fbf8");
|
105
|
+
|
106
|
+
|
107
|
+
/* harmony default export */ __webpack_exports__["a"] = (_VIcon__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]);
|
108
|
+
|
109
|
+
/***/ }),
|
110
|
+
|
100
111
|
/***/ "4a1e":
|
101
112
|
/***/ (function(module, exports, __webpack_require__) {
|
102
113
|
|