(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c0842"],{"41b1":function(e,n,l){"use strict";l.r(n);var t=l("7a23"),i={class:"content-section introduction"},c=Object(t["m"])("div",{class:"feature-intro"},[Object(t["m"])("h1",null,"Display"),Object(t["m"])("p",null,[Object(t["l"])("Efficiently configure the display of the component with "),Object(t["m"])("a",{href:"https://github.com/primefaces/primeflex"},"PrimeFlex"),Object(t["l"])(" display utilities.")])],-1),s={class:"content-section implementation"},o={class:"card"},p=Object(t["m"])("h5",null,"Inline",-1),b=Object(t["m"])("h5",null,"Block",-1),a=Object(t["m"])("h5",null,"Visible on a Small Screen",-1),d=Object(t["m"])("p",null,"Resize to view.",-1),r=Object(t["m"])("h5",null,"Hidden on a Small Screen",-1),u=Object(t["m"])("p",null,"Resize to hide.",-1),m=Object(t["m"])("h5",null,"Visible to Print, Invisible for Screen",-1),O=Object(t["m"])("p",{class:"p-d-none p-d-print-block"},"Only visible when printed.",-1),j=Object(t["m"])("h5",null,"Visible to Screen, Invisible for Print",-1),h=Object(t["m"])("p",{class:"p-d-block p-d-print-none"},"Not available for printing.",-1);function f(e,n,l,f,v,k){var x=Object(t["K"])("AppDemoActions"),y=Object(t["K"])("InputText"),g=Object(t["K"])("Button"),S=Object(t["K"])("DisplayDoc");return Object(t["C"])(),Object(t["h"])("div",null,[Object(t["m"])("div",i,[c,Object(t["m"])(x)]),Object(t["m"])("div",s,[Object(t["m"])("div",o,[p,Object(t["m"])(y,{class:"p-mr-2 p-d-inline"}),Object(t["m"])(y,{class:"p-d-inline"}),b,Object(t["m"])(y,{class:"p-mb-2 p-d-block"}),Object(t["m"])(y,{class:"p-d-block"}),a,d,Object(t["m"])(g,{type:"button",icon:"pi pi-bars",class:"p-button-rounded p-d-md-none"}),r,u,Object(t["m"])(g,{type:"button",icon:"pi pi-search",class:"p-button-rounded p-button-success p-d-none p-d-md-inline-flex"}),m,O,j,h])]),Object(t["m"])(S)])}var v=Object(t["m"])("h5",null,"Getting Started",-1),k=Object(t["m"])("p",null,[Object(t["l"])("The display classes use the "),Object(t["m"])("i",null,"p-d-{value}"),Object(t["l"])(" format and "),Object(t["m"])("i",null,"p-d-{breakpoint}-{value}"),Object(t["l"])(" format for responsive design.")],-1),x=Object(t["m"])("h5",null,"Values",-1),y=Object(t["m"])("p",null,"Value field can be one of the following options.",-1),g=Object(t["m"])("ul",null,[Object(t["m"])("li",null,"none"),Object(t["m"])("li",null,"inline"),Object(t["m"])("li",null,"inline-block"),Object(t["m"])("li",null,"block"),Object(t["m"])("li",null,"flex"),Object(t["m"])("li",null,"inline-flex")],-1),S=Object(t["m"])("h5",null,"Breakpoint",-1),I=Object(t["m"])("p",null,"Breakpoints define how the display property should be defined depending on the screen size. Design is mobile first so smaller values can also apply to larger values e.g. md also applies to lg or xl if they are not explicitly defined.",-1),w=Object(t["m"])("ul",null,[Object(t["m"])("li",null,[Object(t["m"])("b",null,"sm"),Object(t["l"])(": small screens e.g. phones")]),Object(t["m"])("li",null,[Object(t["m"])("b",null,"md"),Object(t["l"])(": medium screens e.g. tablets")]),Object(t["m"])("li",null,[Object(t["m"])("b",null,"lg"),Object(t["l"])(": large screens e.g. notebooks")]),Object(t["m"])("li",null,[Object(t["m"])("b",null,"xl"),Object(t["l"])(": larger screens .e.g monitors")])],-1),D=Object(t["m"])("h5",null,"Examples",-1),V=Object(t["m"])("code",null,'\n<div class="p-d-inline">Displayed as inline.</div>\n<div class="p-d-flex">Displayed as a flexbox container.</div>\n<div class="p-d-block p-d-lg-inline">Inline for larger screens and block for others.</div>\n<div class="p-d-md-none">Visible on a Small Screen</div>\n<div class="p-d-none p-d-md-inline-flex">Hidden on a Small Screen</div>\n<div class="p-d-none p-d-print-block">Only visible when printed.</div>\n<div class="p-d-block p-d-print-none">Not available for printing.</div>\n\n',-1),B=Object(t["m"])("h5",null,"Customization",-1),P=Object(t["m"])("p",null,[Object(t["l"])("A custom build with different values can be obtained from "),Object(t["m"])("a",{href:"https://github.com/primefaces/primeflex"},"PrimeFlex"),Object(t["l"])(" using the _variables.scss file.")],-1);function T(e,n,l,i,c,s){var o=Object(t["K"])("AppDoc"),p=Object(t["L"])("code");return Object(t["C"])(),Object(t["h"])(o,{name:"DisplayDemo",sources:c.sources,github:"display/DisplayDemo.vue"},{default:Object(t["U"])((function(){return[v,k,x,y,g,S,I,w,D,Object(t["V"])(Object(t["m"])("pre",null,[V],512),[[p]]),B,P]})),_:1},8,["sources"])}var z={data:function(){return{sources:{"options-api":{tabName:"Options API Source",content:'\n<template>\n   <div>\n        <h5>Inline</h5>\n        <InputText class="p-mr-2 p-d-inline" />\n        <InputText class="p-d-inline" />\n\n        <h5>Block</h5>\n        <InputText class="p-mb-2 p-d-block" />\n        <InputText class="p-d-block" />\n\n        <h5>Visible on a Small Screen</h5>\n        <p>Resize to view.</p>\n        <Button type="button" icon="pi pi-bars" class="p-button-rounded p-d-md-none" />\n\n        <h5>Hidden on a Small Screen</h5>\n        <p>Resize to hide.</p>\n        <Button type="button" icon="pi pi-search" class="p-button-rounded p-button-success p-d-none p-d-md-inline-flex" />\n\n        <h5>Visible to Print, Invisible for Screen</h5>\n        <p class="p-d-none p-d-print-block">Only visible when printed.</p>\n\n        <h5>Visible to Screen, Invisible for Print</h5>\n        <p class="p-d-block p-d-print-none">Not available for printing.</p>\n    </div>\n</template>\n\n<script>\nexport default {\n\n}\n<\\/script>\n'},"composition-api":{tabName:"Composition API Source",content:'\n<template>\n   <div>\n        <h5>Inline</h5>\n        <InputText class="p-mr-2 p-d-inline" />\n        <InputText class="p-d-inline" />\n\n        <h5>Block</h5>\n        <InputText class="p-mb-2 p-d-block" />\n        <InputText class="p-d-block" />\n\n        <h5>Visible on a Small Screen</h5>\n        <p>Resize to view.</p>\n        <Button type="button" icon="pi pi-bars" class="p-button-rounded p-d-md-none" />\n\n        <h5>Hidden on a Small Screen</h5>\n        <p>Resize to hide.</p>\n        <Button type="button" icon="pi pi-search" class="p-button-rounded p-button-success p-d-none p-d-md-inline-flex" />\n\n        <h5>Visible to Print, Invisible for Screen</h5>\n        <p class="p-d-none p-d-print-block">Only visible when printed.</p>\n\n        <h5>Visible to Screen, Invisible for Print</h5>\n        <p class="p-d-block p-d-print-none">Not available for printing.</p>\n    </div>\n</template>\n\n<script>\nexport default {\n\n}\n<\\/script>\n'}}}}};z.render=T;var A=z,N={components:{DisplayDoc:A}};N.render=f;n["default"]=N}}]);