-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path8f4c56e.modern.js
More file actions
1 lines (1 loc) · 2.86 KB
/
Copy path8f4c56e.modern.js
File metadata and controls
1 lines (1 loc) · 2.86 KB
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[109],{313:function(t,e,o){var content=o(575);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(11).default)("3e91dbdc",content,!0,{sourceMap:!1})},314:function(t,e,o){var content=o(577);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(11).default)("77a90c7e",content,!0,{sourceMap:!1})},574:function(t,e,o){"use strict";o(313)},575:function(t,e,o){var n=o(10)(function(i){return i[1]});n.push([t.i,".title_and_description[data-v-28abcbfb]{display:flex;flex-direction:column;margin-top:8px}.container_description[data-v-28abcbfb]{color:var(--text_secondary);height:5rem;margin:20px 0 0;overflow:hidden;position:relative;width:100%}.container_description[data-v-28abcbfb],.description_content[data-v-28abcbfb]{transition:var(--transition_move)}.description_content.-collapsed[data-v-28abcbfb]{max-height:none}.fade_effect[data-v-28abcbfb]{background:linear-gradient(to bottom,transparent,var(--bg_primary));bottom:0;height:1.5em;left:0;position:absolute;width:100%}.toggle_button[data-v-28abcbfb]{border:none;color:var(--text_base);cursor:pointer;font-size:var(--font_size_base);padding:10px 0;text-align:center;text-transform:uppercase}@media (max-width:768px){.title_and_description[data-v-28abcbfb]{margin-top:16px}}",""]),n.locals={},t.exports=n},576:function(t,e,o){"use strict";o(314)},577:function(t,e,o){var n=o(10)(function(i){return i[1]});n.push([t.i,".description_content li,.description_content ul{list-style:disc}",""]),n.locals={},t.exports=n},825:function(t,e,o){"use strict";o.r(e);var n={props:{pageData:Object,tipoListagem:{type:String,required:!0}},data:()=>({isExpanded:!1,fullHeight:0}),mounted(){this.$nextTick(()=>{this.$refs.description&&(this.fullHeight=this.$refs.description.offsetHeight)})},methods:{toggleDropdown(){this.isExpanded=!this.isExpanded;const t=this.$refs.descriptionWrapper;this.isExpanded?t.style.height=`${this.fullHeight}px`:t.style.height="3.2em"}}},r=(o(574),o(576),o(12)),component=Object(r.a)(n,function(){var t=this,e=t._self._c;return e("div",{staticClass:"title_and_description"},[t.pageData.conteudo[t.tipoListagem].descricaoLonga?e("div",{ref:"descriptionWrapper",staticClass:"container_description"},[e("div",{ref:"description",staticClass:"description_content",class:{"-collapsed":!t.isExpanded},domProps:{innerHTML:t._s(t.pageData.conteudo[t.tipoListagem].descricaoLonga)}}),t._v(" "),t.isExpanded?t._e():e("div",{staticClass:"fade_effect"})]):t._e(),t._v(" "),t.pageData.conteudo[t.tipoListagem].descricaoLonga?e("button",{staticClass:"toggle_button",on:{click:t.toggleDropdown}},[t._v("\n "+t._s(t.isExpanded?"Ver menos":"Ver mais")+"\n ")]):t._e()])},[],!1,null,"28abcbfb",null);e.default=component.exports}}]);