@tiddh/brave-vue 1.92.26 → 1.92.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brave-vue.esm.js +1 -1
- package/dist/brave-vue.min.js +1 -1
- package/dist/brave-vue.ssr.js +1 -1
- package/dist/src/Breadcrumb.stories.js +2 -20
- package/dist/src/Breadcrumb.vue +0 -35
- package/dist/src/Navigation/Breadcrumb.stories.js +2 -20
- package/dist/src/Navigation/Breadcrumb.vue +0 -35
- package/dist/src/Navigation/Stepper.vue +4 -3
- package/dist/src/Stepper.vue +4 -3
- package/dist/src/components/Navigation/Breadcrumb.stories.js +2 -20
- package/dist/src/components/Navigation/Breadcrumb.vue +0 -35
- package/dist/src/components/Navigation/Stepper.vue +4 -3
- package/package.json +2 -2
package/dist/brave-vue.esm.js
CHANGED
|
@@ -1486,7 +1486,7 @@ have_layout:{type:Boolean,required:!1,default:!1},
|
|
|
1486
1486
|
have_birth_date:{type:Boolean,required:!1,default:!1},
|
|
1487
1487
|
/** Show Pet. */
|
|
1488
1488
|
have_pet:{type:Boolean,required:!1,default:!1},typeLanguage:{type:String,required:!1,default:"br"},apiUrl:{type:String,required:!1,default:"https://builder.dentrodahistoria.com.br"}},data:function(){return{isLoaded:!0,isMobile:!1,uuid:"ddh5e5fb1b09b88d",pages:32,age:6,character_id:57,product_id:595}},mounted:function(){var t=this;t.isMobile=t.detectSize(),window.addEventListener("resize",(function(e){t.isMobile=t.detectSize()}))},methods:{detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},isLoadingMethod:function(t){this.isLoaded=t},changeUuid:function(t){this.uuid=t,//.uuid
|
|
1489
|
-
this.isLoaded=!0}}},void 0,!1,void 0,!1,x,void 0,void 0)),Et=b({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"stepper"},t._l(t.routes,(function(e,i){return a("div",{key:i,staticClass:"stepper-links"},[e?a("div",{staticClass:"stepper-links-item-area"},[a("Paragraph",{staticClass:"stepper-link-text",class:t.routes.length-1==i?"is-current":"not-current",attrs:{size:"sm",color:t.color},on:{click:function(a){t.routes.length,t.onClick(e)}}},[a("div",{staticClass:"preview-button",style:"color:"+t.color,on:{click:function(a){return t.onClick(e)}}},[0==i?a("Icon",{staticClass:"back-button",attrs:{name:"arrow-left",fill:t.color,color:t.color,size:"sm",stroke:"transparent"}}):t._e()],1),t._v("\n\n\t\t\t\t"+t._s(e.stepperName))])],1):t._e(),t._v(" "),t.routes.length-1!=i?a("Paragraph",{staticClass:"stepper-link-divider",attrs:{size:"sm",color:t.color},domProps:{innerHTML:t._s("/")}}):t._e()],1)})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-764eb19c_0",{source:'@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700,900&display=swap);@import url(https://fonts.googleapis.com/css?family=Roboto:400,600,700,900&display=swap);[data-v-764eb19c]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-764eb19c]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-764eb19c]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-764eb19c]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-764eb19c]{font-size:14px}}@media (min-width:1024px){[data-v-764eb19c]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-764eb19c]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-764eb19c]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-764eb19c]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-764eb19c]{font-size:1.56vw}}html[data-v-764eb19c]{box-sizing:border-box}*[data-v-764eb19c],[data-v-764eb19c]::after,[data-v-764eb19c]::before{box-sizing:border-box}.stepper[data-v-764eb19c]{display:flex;flex-wrap:wrap;position:relative}.stepper .stepper-links[data-v-764eb19c]{display:flex;flex-wrap:wrap}.stepper .stepper-links .stepper-links-item-area[data-v-764eb19c]{display:flex;cursor:pointer}.stepper .stepper-links .stepper-links-item-area:hover .preview-button .icon[data-v-764eb19c]{color:#12d3db!important}.stepper .stepper-links .stepper-links-item-area:hover .icon[data-v-764eb19c]{fill:#12d3db!important}.stepper .stepper-links .stepper-links-item-area:hover .icon svg[data-v-764eb19c]{fill:#12d3db!important}.stepper .stepper-links .stepper-links-item-area:hover .icon svg path[data-v-764eb19c]{fill:#12d3db!important}.stepper .stepper-links .stepper-links-item-area:hover .dropdown-stepper[data-v-764eb19c]{display:block;position:absolute;top:24px;padding:1.1428571429rem;display:flex;flex-wrap:wrap;width:180px;left:40px;box-shadow:4px 4px 16px rgba(175,162,186,.24);background-color:#fff}.stepper .stepper-links .stepper-links-item-area:hover .dropdown-stepper .stepper-links[data-v-764eb19c]{width:100%}.stepper .stepper-links .stepper-links-item-area:hover .dropdown-stepper .stepper-links p[data-v-764eb19c]{width:100%;text-align:center}.stepper .stepper-links .stepper-links-item-area .dropdown-stepper[data-v-764eb19c]{display:none}.stepper .stepper-links .stepper-links-item-area .stepper-link-text[data-v-764eb19c]{display:flex;flex-wrap:wrap;align-content:center;align-items:center}.stepper .stepper-links .stepper-links-item-area .stepper-link-text.is-current[data-v-764eb19c]{cursor:default;font-weight:700}.stepper .stepper-links .stepper-links-item-area .stepper-link-text:hover.not-current[data-v-764eb19c]{color:#12d3db!important}.stepper .stepper-links .stepper-links-item-area .icon[data-v-764eb19c]{margin-right:.380952381rem}@media (max-width:479px){.stepper .stepper-links .stepper-links-item-area .icon[data-v-764eb19c]{margin-right:.7619047619rem}}.stepper .stepper-links .stepper-link-divider[data-v-764eb19c]{margin-right:.380952381rem;margin-left:.380952381rem}',map:void 0,media:void 0})}),{name:"Stepper",components:{Button:A,Heading:gt,Paragraph:vt,Icon:C},props:{routes:{type:Array,required:!0},color:{type:String,required:!1,default:"#68596E"}},methods:{onClick:function(t){this.$emit("click",t)}},computed:{}},"data-v-764eb19c",!1,void 0,!1,x,void 0,void 0),It=b({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"top-bar"},[this.breadcrumbs?e("div",{staticClass:"steppers"},[e("Stepper",{attrs:{routes:this.breadcrumbs,color:this.color},on:{click:this.onClick}})],1):this._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-3fac45a0_0",{source:'@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700,900&display=swap);@import url(https://fonts.googleapis.com/css?family=Roboto:400,600,700,900&display=swap);[data-v-3fac45a0]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-3fac45a0]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-3fac45a0]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-3fac45a0]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-3fac45a0]{font-size:14px}}@media (min-width:1024px){[data-v-3fac45a0]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-3fac45a0]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-3fac45a0]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-3fac45a0]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-3fac45a0]{font-size:1.56vw}}html[data-v-3fac45a0]{box-sizing:border-box}*[data-v-3fac45a0],[data-v-3fac45a0]::after,[data-v-3fac45a0]::before{box-sizing:border-box}.top-bar[data-v-3fac45a0]{position:relative;width:100%;top:0;left:0;padding-top:1.1428571429rem;padding-bottom:1.1428571429rem;display:flex;flex-wrap:wrap;align-items:center;padding-left:2.7777777778vw}.preview-button[data-v-3fac45a0]{cursor:pointer}',map:void 0,media:void 0})}),{name:"TopBar",components:{Button:A,Heading:gt,Paragraph:vt,Icon:C,Stepper:Et},props:{breadcrumbs:{type:Array,required:!0},color:{type:String,required:!1,default:"#AFA2BA"}},methods:{onClick:function(t){this.$emit("click",t)}},computed:{}},"data-v-3fac45a0",!1,void 0,!1,x,void 0,void 0),At=b({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bottom-bar"},[a("div",{staticClass:"book-area"},[a("div",{staticClass:"book-cover"},[a("img",{attrs:{src:"https://builder.dentrodahistoria.com.br/api/builder/getpreview/"+t.uuid+"?page=1&w=500&v=0&noCache=true",width:"46",alt:""}})]),t._v(" "),a("div",{staticClass:"book-info"},[a("div",[t.book_brand?a("Paragraph",{attrs:{size:"sm",color:"'#ccc'"}},[t._v(t._s(t.book_brand))]):t._e(),t._v(" "),t.book_name?a("Paragraph",{attrs:{size:"sm",color:"'#ccc'",type:"bold"}},[t._v(t._s(t.book_name))]):t._e()],1)])]),t._v(" "),a("div",{staticClass:"btn-foward"},[a("Button",{attrs:{kind:"primary",size:"md",width:"liquid"},on:{click:t.action}},[a("span",[t._v("Continuar")])])],1)])},staticRenderFns:[]},(function(t){t&&t("data-v-099f5504_0",{source:'@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700,900&display=swap);@import url(https://fonts.googleapis.com/css?family=Roboto:400,600,700,900&display=swap);[data-v-099f5504]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-099f5504]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-099f5504]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-099f5504]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-099f5504]{font-size:14px}}@media (min-width:1024px){[data-v-099f5504]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-099f5504]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-099f5504]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-099f5504]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-099f5504]{font-size:1.56vw}}html[data-v-099f5504]{box-sizing:border-box}*[data-v-099f5504],[data-v-099f5504]::after,[data-v-099f5504]::before{box-sizing:border-box}.bottom-bar[data-v-099f5504]{position:relative;width:100%;bottom:0;left:0;box-shadow:0 10px 26px rgba(104,89,110,.24);padding-top:1.1428571429rem;padding-bottom:1.1428571429rem;display:flex;flex-wrap:wrap;align-items:center;width:100%;justify-content:space-between;padding-left:1.7142857143rem;z-index:4;position:absolute;z-index:23;bottom:0}.bottom-bar .book-area[data-v-099f5504]{display:flex;align-content:center;flex-wrap:wrap}.bottom-bar .book-area .book-cover[data-v-099f5504]{display:flex;align-content:center;flex-wrap:wrap}.bottom-bar .book-area .book-info[data-v-099f5504]{display:flex;padding-left:1.7142857143rem;flex-wrap:nowrap;align-items:center}.bottom-bar .book-area .book-info p[data-v-099f5504]{width:100%}.bottom-bar .btn-foward[data-v-099f5504]{display:flex;padding-right:1.7142857143rem}',map:void 0,media:void 0})}),{name:"BottomBar",components:{Button:A,Heading:gt,Paragraph:vt,Icon:C,Stepper:Et},props:{uuid:{type:String,required:!1},book_name:{type:String,required:!1},book_brand:{type:String,required:!1}},data:function(){return{isMobile:null,routes:[{path:"index",stepperName:"Etapa 2"},{path:"second",stepperName:"5 - Próximos personagens"}]}},mounted:function(){var t=this;t.isMobile=t.detectSize(),window.addEventListener("resize",(function(e){t.isMobile=t.detectSize()}))},methods:(zt={detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},onClick:function(){this.$emit("click")},action:function(){this.$emit("changeUrl")}},V(zt,"detectSize",(function(){var t=!1;return window.innerWidth<990&&(t=!0),t})),V(zt,"closeModal",(function(){this.$emit("closeModal"),document.getElementsByTagName("html")[0].removeAttribute("style"),document.getElementsByTagName("body")[0].removeAttribute("style"),document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&document.getElementsByClassName("boxes")[0].removeAttribute("style")})),zt),computed:{shadowVar:function(){return{"--shadow-color":this.shadowColor}}}},"data-v-099f5504",!1,void 0,!1,x,void 0,void 0),Bt=require("axios"),Tt=b({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isLoaded?a("div",{staticClass:"preview-full"},[a("div",{staticClass:"top-bar-area"},[a("TopBar",{attrs:{breadcrumbs:t.breadcrumbs}})],1),t._v(" "),t.isLoaded&&!t.isMobile?a("div",{staticClass:"preview-desktop-area"},[a("Preview",{attrs:{uuid:t.uuid,pages:t.pages,book_format:t.book_format,product_id:t.product_id,typeLanguage:t.typeLanguage}})],1):t._e(),t._v(" "),t.isLoaded&&t.isMobile?a("div",{staticClass:"preview-mobile-area"},[a("PreviewMobile",{attrs:{uuid:t.uuid,pages:t.pages,book_format:t.book_format,product_id:t.product_id,typeLanguage:t.typeLanguage}})],1):t._e(),t._v(" "),a("div",{staticClass:"preview-mobile-tools",class:t.isLoaded?"":"invisible"},[t.have_tools?a("PreviewTools",{attrs:{dedication_text:t.dedication_text,uuid:t.uuid,slug:t.slug,character_id:t.character_id,have_dedication:t.have_dedication,product_id:t.product_id,gender:t.gender,typeLanguage:t.typeLanguage,language:t.language,languages:t.languages,layout:t.layout,layouts:t.layouts,preview_color:t.preview_color,character_position_id:t.character_position_id,typeRead:t.typeRead,custom_mes:t.custom_mes,custom_numero:t.custom_numero},on:{isLoadingMethod:t.isLoadingMethod,changeUuid:t.changeUuid,changeName:t.changeName,changeBirthday:t.changeBirthday}}):t._e()],1),t._v(" "),a("div",{staticClass:"bottom-bar-area"},[a("BottomBar",{attrs:{uuid:t.uuid,book_brand:t.book_brand,book_name:t.book_name},on:{changeUrl:t.changeUrl}})],1)]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-7d8609be_0",{source:'.storybook-6{width:columns("lg", 6)}.storybook-12{width:columns("lg", 12)}.storybook-25{width:columns("lg", 25)}.invisible{opacity:0}.preview-full{height:100vh}.preview-mobile-area{width:100%;position:relative}.preview-desktop-area{position:relative;z-index:4;height:calc(100vh - px-size("lg", 190px));display:flex;justify-content:center}@media (max-width:990px){.preview-mobile-tools{position:relative;z-index:20}}.custom-properties{position:absolute;top:30px}',map:void 0,media:void 0})}),{name:"PreviewWithTools",components:{Preview:Ct,PreviewMobile:Mt,PreviewTools:Nt,TopBar:It,BottomBar:At},props:{dedication_text:{type:String,required:!1},
|
|
1489
|
+
this.isLoaded=!0}}},void 0,!1,void 0,!1,x,void 0,void 0)),Et=b({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"stepper"},t._l(t.routes,(function(e,i){return a("div",{key:i,staticClass:"stepper-links"},[e?a("div",{staticClass:"stepper-links-item-area"},[a("Paragraph",{staticClass:"stepper-link-text",class:t.routes.length-1==i?"is-current":"not-current",attrs:{size:"sm",color:t.color},on:{click:function(a){t.routes.length,t.onClick(e)}}},[a("div",{staticClass:"preview-button",style:"color:"+t.color,on:{click:function(a){return t.onClick(e)}}},[0==i?a("Icon",{staticClass:"back-button",attrs:{name:"arrow-left",fill:t.color,color:t.color,size:"md",stroke:"transparent"}}):t._e()],1),t._v("\n\n\t\t\t\t"+t._s(e.stepperName))])],1):t._e(),t._v(" "),t.routes.length-1!=i?a("Paragraph",{staticClass:"stepper-link-divider",attrs:{size:"sm",color:t.color},domProps:{innerHTML:t._s("/")}}):t._e()],1)})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-8b13d36e_0",{source:'@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700,900&display=swap);@import url(https://fonts.googleapis.com/css?family=Roboto:400,600,700,900&display=swap);[data-v-8b13d36e]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-8b13d36e]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-8b13d36e]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-8b13d36e]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-8b13d36e]{font-size:14px}}@media (min-width:1024px){[data-v-8b13d36e]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-8b13d36e]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-8b13d36e]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-8b13d36e]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-8b13d36e]{font-size:1.56vw}}html[data-v-8b13d36e]{box-sizing:border-box}*[data-v-8b13d36e],[data-v-8b13d36e]::after,[data-v-8b13d36e]::before{box-sizing:border-box}.stepper[data-v-8b13d36e]{display:flex;flex-wrap:wrap;position:relative}.stepper .stepper-links[data-v-8b13d36e]{display:flex;flex-wrap:wrap;align-items:center}.stepper .stepper-links .stepper-links-item-area[data-v-8b13d36e]{display:flex;cursor:pointer}.stepper .stepper-links .stepper-links-item-area:hover .preview-button .icon[data-v-8b13d36e]{color:#12d3db!important}.stepper .stepper-links .stepper-links-item-area:hover .icon[data-v-8b13d36e]{fill:#12d3db!important}.stepper .stepper-links .stepper-links-item-area:hover .icon svg[data-v-8b13d36e]{fill:#12d3db!important}.stepper .stepper-links .stepper-links-item-area:hover .icon svg path[data-v-8b13d36e]{fill:#12d3db!important}.stepper .stepper-links .stepper-links-item-area:hover .dropdown-stepper[data-v-8b13d36e]{display:block;position:absolute;top:24px;padding:1.1428571429rem;display:flex;flex-wrap:wrap;width:180px;left:40px;box-shadow:4px 4px 16px rgba(175,162,186,.24);background-color:#fff}.stepper .stepper-links .stepper-links-item-area:hover .dropdown-stepper .stepper-links[data-v-8b13d36e]{width:100%}.stepper .stepper-links .stepper-links-item-area:hover .dropdown-stepper .stepper-links p[data-v-8b13d36e]{width:100%;text-align:center}.stepper .stepper-links .stepper-links-item-area .dropdown-stepper[data-v-8b13d36e]{display:none}.stepper .stepper-links .stepper-links-item-area .stepper-link-text[data-v-8b13d36e]{display:flex;flex-wrap:wrap;align-content:center;align-items:center}.stepper .stepper-links .stepper-links-item-area .stepper-link-text.is-current[data-v-8b13d36e]{cursor:default;font-weight:700}.stepper .stepper-links .stepper-links-item-area .stepper-link-text:hover.not-current[data-v-8b13d36e]{color:#12d3db!important}.stepper .stepper-links .stepper-links-item-area .icon[data-v-8b13d36e]{margin-right:.380952381rem}@media (max-width:479px){.stepper .stepper-links .stepper-links-item-area .icon[data-v-8b13d36e]{margin-right:.7619047619rem}}.stepper .stepper-links .stepper-link-divider[data-v-8b13d36e]{margin-right:.1904761905rem;margin-left:.1904761905rem}',map:void 0,media:void 0})}),{name:"Stepper",components:{Button:A,Heading:gt,Paragraph:vt,Icon:C},props:{routes:{type:Array,required:!0},color:{type:String,required:!1,default:"#68596E"}},methods:{onClick:function(t){this.$emit("click",t)}},computed:{}},"data-v-8b13d36e",!1,void 0,!1,x,void 0,void 0),It=b({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"top-bar"},[this.breadcrumbs?e("div",{staticClass:"steppers"},[e("Stepper",{attrs:{routes:this.breadcrumbs,color:this.color},on:{click:this.onClick}})],1):this._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-3fac45a0_0",{source:'@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700,900&display=swap);@import url(https://fonts.googleapis.com/css?family=Roboto:400,600,700,900&display=swap);[data-v-3fac45a0]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-3fac45a0]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-3fac45a0]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-3fac45a0]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-3fac45a0]{font-size:14px}}@media (min-width:1024px){[data-v-3fac45a0]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-3fac45a0]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-3fac45a0]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-3fac45a0]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-3fac45a0]{font-size:1.56vw}}html[data-v-3fac45a0]{box-sizing:border-box}*[data-v-3fac45a0],[data-v-3fac45a0]::after,[data-v-3fac45a0]::before{box-sizing:border-box}.top-bar[data-v-3fac45a0]{position:relative;width:100%;top:0;left:0;padding-top:1.1428571429rem;padding-bottom:1.1428571429rem;display:flex;flex-wrap:wrap;align-items:center;padding-left:2.7777777778vw}.preview-button[data-v-3fac45a0]{cursor:pointer}',map:void 0,media:void 0})}),{name:"TopBar",components:{Button:A,Heading:gt,Paragraph:vt,Icon:C,Stepper:Et},props:{breadcrumbs:{type:Array,required:!0},color:{type:String,required:!1,default:"#AFA2BA"}},methods:{onClick:function(t){this.$emit("click",t)}},computed:{}},"data-v-3fac45a0",!1,void 0,!1,x,void 0,void 0),At=b({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bottom-bar"},[a("div",{staticClass:"book-area"},[a("div",{staticClass:"book-cover"},[a("img",{attrs:{src:"https://builder.dentrodahistoria.com.br/api/builder/getpreview/"+t.uuid+"?page=1&w=500&v=0&noCache=true",width:"46",alt:""}})]),t._v(" "),a("div",{staticClass:"book-info"},[a("div",[t.book_brand?a("Paragraph",{attrs:{size:"sm",color:"'#ccc'"}},[t._v(t._s(t.book_brand))]):t._e(),t._v(" "),t.book_name?a("Paragraph",{attrs:{size:"sm",color:"'#ccc'",type:"bold"}},[t._v(t._s(t.book_name))]):t._e()],1)])]),t._v(" "),a("div",{staticClass:"btn-foward"},[a("Button",{attrs:{kind:"primary",size:"md",width:"liquid"},on:{click:t.action}},[a("span",[t._v("Continuar")])])],1)])},staticRenderFns:[]},(function(t){t&&t("data-v-099f5504_0",{source:'@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700,900&display=swap);@import url(https://fonts.googleapis.com/css?family=Roboto:400,600,700,900&display=swap);[data-v-099f5504]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-099f5504]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-099f5504]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-099f5504]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-099f5504]{font-size:14px}}@media (min-width:1024px){[data-v-099f5504]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-099f5504]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-099f5504]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-099f5504]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-099f5504]{font-size:1.56vw}}html[data-v-099f5504]{box-sizing:border-box}*[data-v-099f5504],[data-v-099f5504]::after,[data-v-099f5504]::before{box-sizing:border-box}.bottom-bar[data-v-099f5504]{position:relative;width:100%;bottom:0;left:0;box-shadow:0 10px 26px rgba(104,89,110,.24);padding-top:1.1428571429rem;padding-bottom:1.1428571429rem;display:flex;flex-wrap:wrap;align-items:center;width:100%;justify-content:space-between;padding-left:1.7142857143rem;z-index:4;position:absolute;z-index:23;bottom:0}.bottom-bar .book-area[data-v-099f5504]{display:flex;align-content:center;flex-wrap:wrap}.bottom-bar .book-area .book-cover[data-v-099f5504]{display:flex;align-content:center;flex-wrap:wrap}.bottom-bar .book-area .book-info[data-v-099f5504]{display:flex;padding-left:1.7142857143rem;flex-wrap:nowrap;align-items:center}.bottom-bar .book-area .book-info p[data-v-099f5504]{width:100%}.bottom-bar .btn-foward[data-v-099f5504]{display:flex;padding-right:1.7142857143rem}',map:void 0,media:void 0})}),{name:"BottomBar",components:{Button:A,Heading:gt,Paragraph:vt,Icon:C,Stepper:Et},props:{uuid:{type:String,required:!1},book_name:{type:String,required:!1},book_brand:{type:String,required:!1}},data:function(){return{isMobile:null,routes:[{path:"index",stepperName:"Etapa 2"},{path:"second",stepperName:"5 - Próximos personagens"}]}},mounted:function(){var t=this;t.isMobile=t.detectSize(),window.addEventListener("resize",(function(e){t.isMobile=t.detectSize()}))},methods:(zt={detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},onClick:function(){this.$emit("click")},action:function(){this.$emit("changeUrl")}},V(zt,"detectSize",(function(){var t=!1;return window.innerWidth<990&&(t=!0),t})),V(zt,"closeModal",(function(){this.$emit("closeModal"),document.getElementsByTagName("html")[0].removeAttribute("style"),document.getElementsByTagName("body")[0].removeAttribute("style"),document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&document.getElementsByClassName("boxes")[0].removeAttribute("style")})),zt),computed:{shadowVar:function(){return{"--shadow-color":this.shadowColor}}}},"data-v-099f5504",!1,void 0,!1,x,void 0,void 0),Bt=require("axios"),Tt=b({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isLoaded?a("div",{staticClass:"preview-full"},[a("div",{staticClass:"top-bar-area"},[a("TopBar",{attrs:{breadcrumbs:t.breadcrumbs}})],1),t._v(" "),t.isLoaded&&!t.isMobile?a("div",{staticClass:"preview-desktop-area"},[a("Preview",{attrs:{uuid:t.uuid,pages:t.pages,book_format:t.book_format,product_id:t.product_id,typeLanguage:t.typeLanguage}})],1):t._e(),t._v(" "),t.isLoaded&&t.isMobile?a("div",{staticClass:"preview-mobile-area"},[a("PreviewMobile",{attrs:{uuid:t.uuid,pages:t.pages,book_format:t.book_format,product_id:t.product_id,typeLanguage:t.typeLanguage}})],1):t._e(),t._v(" "),a("div",{staticClass:"preview-mobile-tools",class:t.isLoaded?"":"invisible"},[t.have_tools?a("PreviewTools",{attrs:{dedication_text:t.dedication_text,uuid:t.uuid,slug:t.slug,character_id:t.character_id,have_dedication:t.have_dedication,product_id:t.product_id,gender:t.gender,typeLanguage:t.typeLanguage,language:t.language,languages:t.languages,layout:t.layout,layouts:t.layouts,preview_color:t.preview_color,character_position_id:t.character_position_id,typeRead:t.typeRead,custom_mes:t.custom_mes,custom_numero:t.custom_numero},on:{isLoadingMethod:t.isLoadingMethod,changeUuid:t.changeUuid,changeName:t.changeName,changeBirthday:t.changeBirthday}}):t._e()],1),t._v(" "),a("div",{staticClass:"bottom-bar-area"},[a("BottomBar",{attrs:{uuid:t.uuid,book_brand:t.book_brand,book_name:t.book_name},on:{changeUrl:t.changeUrl}})],1)]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-7d8609be_0",{source:'.storybook-6{width:columns("lg", 6)}.storybook-12{width:columns("lg", 12)}.storybook-25{width:columns("lg", 25)}.invisible{opacity:0}.preview-full{height:100vh}.preview-mobile-area{width:100%;position:relative}.preview-desktop-area{position:relative;z-index:4;height:calc(100vh - px-size("lg", 190px));display:flex;justify-content:center}@media (max-width:990px){.preview-mobile-tools{position:relative;z-index:20}}.custom-properties{position:absolute;top:30px}',map:void 0,media:void 0})}),{name:"PreviewWithTools",components:{Preview:Ct,PreviewMobile:Mt,PreviewTools:Nt,TopBar:It,BottomBar:At},props:{dedication_text:{type:String,required:!1},
|
|
1490
1490
|
/** Product id of Builder. `595` */
|
|
1491
1491
|
product_id:{type:Number,required:!0},
|
|
1492
1492
|
/** Character id of Builder. `57` */
|