1import{c as p}from"./Be1fzYNM.js";import{s as v}from"./Bj_9D2qP.js";import{am as c,a,o as l,n as u,aC as s,x as y}from"./Do5BbwZC.js";var f=({dt:e})=>` 2.p-divider-horizontal { 3 display: flex; 4 width: 100%; 5 position: relative; 6 align-items: center; 7 margin: ${e("divider.horizontal.margin")}; 8 padding: ${e("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 ${e("divider.border.color")}; 19} 20 21.p-divider-horizontal .p-divider-content { 22 padding: ${e("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: ${e("divider.vertical.margin")}; 31 padding: ${e("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 ${e("divider.border.color")}; 42} 43 44.p-divider.p-divider-vertical .p-divider-content { 45 padding: ${e("divider.vertical.content.padding")}; 46} 47 48.p-divider-content { 49 z-index: 1; 50 background: ${e("divider.content.background")}; 51 color: ${e("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`,b={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}}},g={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=c.extend({name:"divider",style:f,classes:g,inlineStyles:b}),h={name:"BaseDivider",extends:v,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 n(e){"@babel/helpers - typeof";return n=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},n(e)}function o(e,i,t){return(i=$(i))in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function $(e){var i=z(e,"string");return n(i)=="symbol"?i:i+""}function z(e,i){if(n(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,i);if(n(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(e)}var S={name:"Divider",extends:h,inheritAttrs:!1,computed:{dataP:function(){return p(o(o(o({},this.align,this.align),this.layout,this.layout),this.type,this.type))}}},k=["aria-orientation","data-p"],x=["data-p"];function P(e,i,t,r,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")),[y(e.$slots,"default")],16,x)):u("",!0)],16,k)}S.render=P;export{S 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.