1import{aD as p,a6 as v,b6 as c,aE as u,c as a,o as l,j as y,H as s,R as f}from"./D4xaJkGG.js";var b=p` 2 .p-divider-horizontal { 3 display: flex; 4 width: 100%; 5 position: relative; 6 align-items: center; 7 margin: dt('divider.horizontal.margin'); 8 padding: dt('divider.horizontal.padding'); 9 } 10 11 .p-divider-horizontal:before { 12 position: absolute; 13 display: block; 14 inset-block-start: 50%; 15 inset-inline-start: 0; 16 width: 100%; 17 content: ''; 18 border-block-start: 1px solid dt('divider.border.color'); 19 } 20 21 .p-divider-horizontal .p-divider-content { 22 padding: dt('divider.horizontal.content.padding'); 23 } 24 25 .p-divider-vertical { 26 min-height: 100%; 27 display: flex; 28 position: relative; 29 justify-content: center; 30 margin: dt('divider.vertical.margin'); 31 padding: dt('divider.vertical.padding'); 32 } 33 34 .p-divider-vertical:before { 35 position: absolute; 36 display: block; 37 inset-block-start: 0; 38 inset-inline-start: 50%; 39 height: 100%; 40 content: ''; 41 border-inline-start: 1px solid dt('divider.border.color'); 42 } 43 44 .p-divider.p-divider-vertical .p-divider-content { 45 padding: dt('divider.vertical.content.padding'); 46 } 47 48 .p-divider-content { 49 z-index: 1; 50 background: dt('divider.content.background'); 51 color: dt('divider.content.color'); 52 } 53 54 .p-divider-solid.p-divider-horizontal:before { 55 border-block-start-style: solid; 56 } 57 58 .p-divider-solid.p-divider-vertical:before { 59 border-inline-start-style: solid; 60 } 61 62 .p-divider-dashed.p-divider-horizontal:before { 63 border-block-start-style: dashed; 64 } 65 66 .p-divider-dashed.p-divider-vertical:before { 67 border-inline-start-style: dashed; 68 } 69 70 .p-divider-dotted.p-divider-horizontal:before { 71 border-block-start-style: dotted; 72 } 73 74 .p-divider-dotted.p-divider-vertical:before { 75 border-inline-start-style: dotted; 76 } 77 78 .p-divider-left:dir(rtl), 79 .p-divider-right:dir(rtl) { 80 flex-direction: row-reverse; 81 } 82`,g={root:function(i){var t=i.props;return{justifyContent:t.layout==="horizontal"?t.align==="center"||t.align===null?"center":t.align==="left"?"flex-start":t.align==="right"?"flex-end":null:null,alignItems:t.layout==="vertical"?t.align==="center"||t.align===null?"center":t.align==="top"?"flex-start":t.align==="bottom"?"flex-end":null:null}}},h={root:function(i){var t=i.props;return["p-divider p-component","p-divider-"+t.layout,"p-divider-"+t.type,{"p-divider-left":t.layout==="horizontal"&&(!t.align||t.align==="left")},{"p-divider-center":t.layout==="horizontal"&&t.align==="center"},{"p-divider-right":t.layout==="horizontal"&&t.align==="right"},{"p-divider-top":t.layout==="vertical"&&t.align==="top"},{"p-divider-center":t.layout==="vertical"&&(!t.align||t.align==="center")},{"p-divider-bottom":t.layout==="vertical"&&t.align==="bottom"}]},content:"p-divider-content"},m=v.extend({name:"divider",style:b,classes:h,inlineStyles:g}),z={name:"BaseDivider",extends:c,props:{align:{type:String,default:null},layout:{type:String,default:"horizontal"},type:{type:String,default:"solid"}},style:m,provide:function(){return{$pcDivider:this,$parentInstance:this}}};function r(e){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},r(e)}function n(e,i,t){return(i=S(i))in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function S(e){var i=k(e,"string");return r(i)=="symbol"?i:i+""}function k(e,i){if(r(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var o=t.call(e,i);if(r(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(e)}var P={name:"Divider",extends:z,inheritAttrs:!1,computed:{dataP:function(){return u(n(n(n({},this.align,this.align),this.layout,this.layout),this.type,this.type))}}}
82,x=["aria-orientation","data-p"],$=["data-p"];function j(e,i,t,o,w,d){return l(),a("div",s({class:e.cx("root"),style:e.sx("root"),role:"separator","aria-orientation":e.layout,"data-p":d.dataP},e.ptmi("root")),[e.$slots.default?(l(),a("div",s({key:0,class:e.cx("content"),"data-p":d.dataP},e.ptm("content")),[f(e.$slots,"default")],16,$)):y("",!0)],16,x)}P.render=j;export{P as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.