@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
package/dist/revolugo.4.min.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(window["revolugo_jsonp"]=window["revolugo_jsonp"]||[]).push([[4],{"24a7":function(e,t,s){s("5cdd");var i=s("de91"),a=s("64ad"),r=s("9d7d"),n=s("3d78"),l=Object(r["a"])(a["a"]).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(e,t){const{children:s,listeners:r,props:l}=t,o={staticClass:"v-label",class:{"v-label--active":l.value,"v-label--is-disabled":l.disabled,...Object(a["b"])(t)},attrs:{for:l.for,"aria-hidden":!l.for},on:r,style:{left:Object(n["g"])(l.left),right:Object(n["g"])(l.right),position:l.absolute?"absolute":"relative"},ref:"label"};return e("label",i["a"].options.methods.setTextColor(l.focused&&l.color,o),s)}});t["a"]=l},"363e":function(e,t,s){},"4a1e":function(e,t,s){},5300:function(e,t,s){var i=s("ad27");function a(e="value",t="change"){return i["a"].extend({name:"proxyable",model:{prop:e,event:t},props:{[e]:{required:!1}},data(){return{internalLazyValue:this[e]}},computed:{internalValue:{get(){return this.internalLazyValue},set(e){e!==this.internalLazyValue&&(this.internalLazyValue=e,this.$emit(t,e))}}},watch:{[e](e){this.internalLazyValue=e}}})}const r=a();t["a"]=r},"5cdd":function(e,t,s){},"68be":function(e,t,s){s("c3d6");var i=s("de91"),a=s("64ad"),r=s("92e2"),n=s("3d78"),l=s("6c21"),o=s("9d7d");const h=Object(o["a"])(i["a"],Object(r["a"])("form"),a["a"]);t["a"]=h.extend({name:"validatable",props:{disabled:Boolean,error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:Boolean,rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.isDisabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return!this.isDisabled&&(this.hasSuccess||this.shouldValidate&&this.hasError)},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit("input",e)}},isDisabled(){return this.disabled||!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){return this.readonly||!!this.form&&this.form.readonly},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages&&this.successMessages.length>0?this.internalSuccessMessages:this.messages&&this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(e,t){Object(n["j"])(e,t)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(e){e||this.isDisabled||(this.hasFocused=!0,this.validateOnBlur&&this.$nextTick(this.validate))},isResetting(){setTimeout(()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()},0)},hasError(e){this.shouldValidate&&this.$emit("update:error",e)},value(e){this.lazyValue=e}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(e){return e?Array.isArray(e)?e:[e]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(e=!1,t){const s=[];t=t||this.internalValue,e&&(this.hasInput=this.hasFocused=!0);for(let i=0;i<this.rules.length;i++){const e=this.rules[i],a="function"===typeof e?e(t):e;!1===a||"string"===typeof a?s.push(a||""):"boolean"!==typeof a&&Object(l["b"])(`Rules should return a string or boolean, received '${typeof a}' instead`,this)}return this.errorBucket=s,this.valid=0===s.length,this.valid}}})},a3ce:function(e,t,s){var i=s("ad27"),a=s("fe33");t["a"]=i["a"].extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:this.$slots.progress||this.$createElement(a["a"],{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}})},a826:function(e,t,s){s("c3d6"),s("d32c");var i=s("36e1"),a=s("24a7"),r=(s("4a1e"),s("de91")),n=s("64ad"),l=s("9d7d"),o=s("3d78"),h=Object(l["a"])(r["a"],n["a"]).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(e,t){return this.$createElement("div",{staticClass:"v-messages__message",key:t},Object(o["o"])(this,"default",{message:e,key:t})||[e])}},render(e){return e("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}}),u=h,d=s("7c5f"),c=s("68be"),g=s("e2e3");const p=Object(l["a"])(d["a"],c["a"]);var v=p.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.isDisabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":!1!==this.loading&&null!=this.loading,"v-input--is-readonly":this.isReadonly,"v-input--dense":this.dense,"v-input--hide-spin-buttons":this.hideSpinButtons,...this.themeClasses}},computedId(){return this.id||"input-"+this._uid},hasDetails(){return this.messagesToDisplay.length>0},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!(!this.$slots.label&&!this.label)},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit(this.$_modelEvent,e)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map(e=>{if("string"===typeof e)return e;const t=e(this.internalValue);return"string"===typeof t?t:""}).filter(e=>""!==e):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.hasDetails}},watch:{value(e){this.lazyValue=e}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control",attrs:{title:this.attrs$.title}},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),this.$slots.default]},genIcon(e,t,s={}){const a=this[e+"Icon"],r="click:"+Object(o["r"])(e),n=!(!this.listeners$[r]&&!t),l=Object(g["a"])({attrs:{"aria-label":n?Object(o["r"])(e).split("-")[0]+" icon":void 0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light,tabindex:"clear"===e?-1:void 0},on:n?{click:e=>{e.preventDefault(),e.stopPropagation(),this.$emit(r,e),t&&t(e)},mouseup:e=>{e.preventDefault(),e.stopPropagation()}}:void 0},s);return this.$createElement("div",{staticClass:"v-input__icon",class:e?"v-input__icon--"+Object(o["r"])(e):void 0},[this.$createElement(i["a"],l,a)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:Object(o["g"])(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(a["a"],{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},this.$slots.label||this.label):null},genMessages(){return this.showDetails?this.$createElement(u,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:e=>Object(o["o"])(this,"message",e)}}):null},genSlot(e,t,s){if(!s.length)return null;const i=`${e}-${t}`;return this.$createElement("div",{staticClass:"v-input__"+i,ref:i},s)},genPrependSlot(){const e=[];return this.$slots.prepend?e.push(this.$slots.prepend):this.prependIcon&&e.push(this.genIcon("prepend")),this.genSlot("prepend","outer",e)},genAppendSlot(){const e=[];return this.$slots.append?e.push(this.$slots.append):this.appendIcon&&e.push(this.genIcon("append")),this.genSlot("append","outer",e)},onClick(e){this.$emit("click",e)},onMouseDown(e){this.hasMouseDown=!0,this.$emit("mousedown",e)},onMouseUp(e){this.hasMouseDown=!1,this.$emit("mouseup",e)}},render(e){return e("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}});t["a"]=v},d32c:function(e,t,s){},dced:function(e,t,s){s("363e");var i=s("177c"),a=s("a2d1"),r=s("de91"),n=s("3473"),l=s("5300"),o=s("64ad"),h=s("3d78"),u=s("9d7d");const d=Object(u["a"])(r["a"],Object(n["b"])(["absolute","fixed","top","bottom"]),l["a"],o["a"]);t["a"]=d.extend({name:"v-progress-linear",directives:{intersect:a["a"]},props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,reverse:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0,isVisible:!0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:Object(h["g"])(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:Object(h["g"])(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){const e=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{opacity:e,[this.isReversed?"right":"left"]:Object(h["g"])(this.normalizedValue,"%"),width:Object(h["g"])(Math.max(0,this.normalizedBuffer-this.normalizedValue),"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--reverse":this.isReversed,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,"v-progress-linear--visible":this.isVisible,...this.themeClasses}},computedTransition(){return this.indeterminate?i["d"]:i["f"]},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const e={};return this.active||(e.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(e.width=Object(h["g"])(this.normalizedBuffer,"%")),e}},methods:{genContent(){const e=Object(h["o"])(this,"default",{value:this.internalLazyValue});return e?this.$createElement("div",{staticClass:"v-progress-linear__content"},e):null},genListeners(){const e=this.$listeners;return this.reactive&&(e.click=this.onClick),e},genProgressBar(e){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[e]:!0}}))},onClick(e){if(!this.reactive)return;const{width:t}=this.$el.getBoundingClientRect();this.internalValue=e.offsetX/t*100},onObserve(e,t,s){this.isVisible=s},normalize(e){return e<0?0:e>100?100:parseFloat(e)}},render(e){const t={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?Object(h["g"])(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return e("div",t,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}})},fe33:function(e,t,s){var i=s("dced");t["a"]=i["a"]}}]);
|
1
|
+
(window["revolugo_jsonp"]=window["revolugo_jsonp"]||[]).push([[4],{"24a7":function(e,t,s){s("5cdd");var i=s("de91"),a=s("64ad"),r=s("9d7d"),n=s("3d78"),l=Object(r["a"])(a["a"]).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(e,t){const{children:s,listeners:r,props:l}=t,o={staticClass:"v-label",class:{"v-label--active":l.value,"v-label--is-disabled":l.disabled,...Object(a["b"])(t)},attrs:{for:l.for,"aria-hidden":!l.for},on:r,style:{left:Object(n["g"])(l.left),right:Object(n["g"])(l.right),position:l.absolute?"absolute":"relative"},ref:"label"};return e("label",i["a"].options.methods.setTextColor(l.focused&&l.color,o),s)}});t["a"]=l},"363e":function(e,t,s){},"36e1":function(e,t,s){var i=s("fbf8");t["a"]=i["a"]},"4a1e":function(e,t,s){},5300:function(e,t,s){var i=s("ad27");function a(e="value",t="change"){return i["a"].extend({name:"proxyable",model:{prop:e,event:t},props:{[e]:{required:!1}},data(){return{internalLazyValue:this[e]}},computed:{internalValue:{get(){return this.internalLazyValue},set(e){e!==this.internalLazyValue&&(this.internalLazyValue=e,this.$emit(t,e))}}},watch:{[e](e){this.internalLazyValue=e}}})}const r=a();t["a"]=r},"5cdd":function(e,t,s){},"68be":function(e,t,s){s("c3d6");var i=s("de91"),a=s("64ad"),r=s("92e2"),n=s("3d78"),l=s("6c21"),o=s("9d7d");const h=Object(o["a"])(i["a"],Object(r["a"])("form"),a["a"]);t["a"]=h.extend({name:"validatable",props:{disabled:Boolean,error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:Boolean,rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.isDisabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return!this.isDisabled&&(this.hasSuccess||this.shouldValidate&&this.hasError)},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit("input",e)}},isDisabled(){return this.disabled||!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){return this.readonly||!!this.form&&this.form.readonly},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages&&this.successMessages.length>0?this.internalSuccessMessages:this.messages&&this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(e,t){Object(n["j"])(e,t)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(e){e||this.isDisabled||(this.hasFocused=!0,this.validateOnBlur&&this.$nextTick(this.validate))},isResetting(){setTimeout(()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()},0)},hasError(e){this.shouldValidate&&this.$emit("update:error",e)},value(e){this.lazyValue=e}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(e){return e?Array.isArray(e)?e:[e]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(e=!1,t){const s=[];t=t||this.internalValue,e&&(this.hasInput=this.hasFocused=!0);for(let i=0;i<this.rules.length;i++){const e=this.rules[i],a="function"===typeof e?e(t):e;!1===a||"string"===typeof a?s.push(a||""):"boolean"!==typeof a&&Object(l["b"])(`Rules should return a string or boolean, received '${typeof a}' instead`,this)}return this.errorBucket=s,this.valid=0===s.length,this.valid}}})},a3ce:function(e,t,s){var i=s("ad27"),a=s("fe33");t["a"]=i["a"].extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:this.$slots.progress||this.$createElement(a["a"],{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}})},a826:function(e,t,s){s("c3d6"),s("d32c");var i=s("36e1"),a=s("24a7"),r=(s("4a1e"),s("de91")),n=s("64ad"),l=s("9d7d"),o=s("3d78"),h=Object(l["a"])(r["a"],n["a"]).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(e,t){return this.$createElement("div",{staticClass:"v-messages__message",key:t},Object(o["o"])(this,"default",{message:e,key:t})||[e])}},render(e){return e("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}}),u=h,d=s("7c5f"),c=s("68be"),g=s("e2e3");const p=Object(l["a"])(d["a"],c["a"]);var v=p.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.isDisabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":!1!==this.loading&&null!=this.loading,"v-input--is-readonly":this.isReadonly,"v-input--dense":this.dense,"v-input--hide-spin-buttons":this.hideSpinButtons,...this.themeClasses}},computedId(){return this.id||"input-"+this._uid},hasDetails(){return this.messagesToDisplay.length>0},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!(!this.$slots.label&&!this.label)},internalValue:{get(){return this.lazyValue},set(e){this.lazyValue=e,this.$emit(this.$_modelEvent,e)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map(e=>{if("string"===typeof e)return e;const t=e(this.internalValue);return"string"===typeof t?t:""}).filter(e=>""!==e):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.hasDetails}},watch:{value(e){this.lazyValue=e}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control",attrs:{title:this.attrs$.title}},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),this.$slots.default]},genIcon(e,t,s={}){const a=this[e+"Icon"],r="click:"+Object(o["r"])(e),n=!(!this.listeners$[r]&&!t),l=Object(g["a"])({attrs:{"aria-label":n?Object(o["r"])(e).split("-")[0]+" icon":void 0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light,tabindex:"clear"===e?-1:void 0},on:n?{click:e=>{e.preventDefault(),e.stopPropagation(),this.$emit(r,e),t&&t(e)},mouseup:e=>{e.preventDefault(),e.stopPropagation()}}:void 0},s);return this.$createElement("div",{staticClass:"v-input__icon",class:e?"v-input__icon--"+Object(o["r"])(e):void 0},[this.$createElement(i["a"],l,a)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:Object(o["g"])(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(a["a"],{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},this.$slots.label||this.label):null},genMessages(){return this.showDetails?this.$createElement(u,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:e=>Object(o["o"])(this,"message",e)}}):null},genSlot(e,t,s){if(!s.length)return null;const i=`${e}-${t}`;return this.$createElement("div",{staticClass:"v-input__"+i,ref:i},s)},genPrependSlot(){const e=[];return this.$slots.prepend?e.push(this.$slots.prepend):this.prependIcon&&e.push(this.genIcon("prepend")),this.genSlot("prepend","outer",e)},genAppendSlot(){const e=[];return this.$slots.append?e.push(this.$slots.append):this.appendIcon&&e.push(this.genIcon("append")),this.genSlot("append","outer",e)},onClick(e){this.$emit("click",e)},onMouseDown(e){this.hasMouseDown=!0,this.$emit("mousedown",e)},onMouseUp(e){this.hasMouseDown=!1,this.$emit("mouseup",e)}},render(e){return e("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}});t["a"]=v},d32c:function(e,t,s){},dced:function(e,t,s){s("363e");var i=s("177c"),a=s("a2d1"),r=s("de91"),n=s("3473"),l=s("5300"),o=s("64ad"),h=s("3d78"),u=s("9d7d");const d=Object(u["a"])(r["a"],Object(n["b"])(["absolute","fixed","top","bottom"]),l["a"],o["a"]);t["a"]=d.extend({name:"v-progress-linear",directives:{intersect:a["a"]},props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,reverse:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0,isVisible:!0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:Object(h["g"])(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:Object(h["g"])(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){const e=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{opacity:e,[this.isReversed?"right":"left"]:Object(h["g"])(this.normalizedValue,"%"),width:Object(h["g"])(Math.max(0,this.normalizedBuffer-this.normalizedValue),"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--reverse":this.isReversed,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,"v-progress-linear--visible":this.isVisible,...this.themeClasses}},computedTransition(){return this.indeterminate?i["d"]:i["f"]},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const e={};return this.active||(e.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(e.width=Object(h["g"])(this.normalizedBuffer,"%")),e}},methods:{genContent(){const e=Object(h["o"])(this,"default",{value:this.internalLazyValue});return e?this.$createElement("div",{staticClass:"v-progress-linear__content"},e):null},genListeners(){const e=this.$listeners;return this.reactive&&(e.click=this.onClick),e},genProgressBar(e){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[e]:!0}}))},onClick(e){if(!this.reactive)return;const{width:t}=this.$el.getBoundingClientRect();this.internalValue=e.offsetX/t*100},onObserve(e,t,s){this.isVisible=s},normalize(e){return e<0?0:e>100?100:parseFloat(e)}},render(e){const t={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?Object(h["g"])(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return e("div",t,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}})},fe33:function(e,t,s){var i=s("dced");t["a"]=i["a"]}}]);
|
package/dist/revolugo.5.js
CHANGED
@@ -11826,6 +11826,7 @@ const hotelOffers = (cov_2ilpgc8z15().s[66]++, {
|
|
11826
11826
|
|
11827
11827
|
var map = {
|
11828
11828
|
"./assets/locales/en-US.json": "cff0",
|
11829
|
+
"./components/RevolugoElements/BankTransferDetails/locales/en-US.json": "502d",
|
11829
11830
|
"./components/RevolugoElements/BookingDetailsSidebar/locales/en-US.json": "3ec2",
|
11830
11831
|
"./components/RevolugoElements/BookingManager/locales/en-US.json": "f731",
|
11831
11832
|
"./components/RevolugoElements/CancellationPoliciesBadge/locales/en-US.json": "6d14",
|
@@ -29014,6 +29015,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
29014
29015
|
|
29015
29016
|
var map = {
|
29016
29017
|
"./assets/locales/fr-FR.json": "beee",
|
29018
|
+
"./components/RevolugoElements/BankTransferDetails/locales/fr-FR.json": "7bc8",
|
29017
29019
|
"./components/RevolugoElements/BookingDetailsSidebar/locales/fr-FR.json": "eef3",
|
29018
29020
|
"./components/RevolugoElements/BookingManager/locales/fr-FR.json": "0d1f",
|
29019
29021
|
"./components/RevolugoElements/CancellationPoliciesBadge/locales/fr-FR.json": "6a64",
|