1import{s as n}from"./Bp6GqyqO.js";import{B as e}from"./HFmAJpcW.js";import{D as o,E as p,a6 as i,P as r}from"./DbUCkEhY.js";var s=function(t){var l=t.dt;return` 2.p-floatlabel { 3 display: block; 4 position: relative; 5} 6 7.p-floatlabel label { 8 position: absolute; 9 pointer-events: none; 10 top: 50%; 11 transform: translateY(-50%); 12 transition-property: all; 13 transition-timing-function: ease; 14 line-height: 1; 15 font-weight: `.concat(l("floatlabel.font.weight"),`; 16 inset-inline-start: `).concat(l("floatlabel.position.x"),`; 17 color: `).concat(l("floatlabel.color"),`; 18 transition-duration: `).concat(l("floatlabel.transition.duration"),`; 19} 20 21.p-floatlabel:has(.p-textarea) label { 22 top: `).concat(l("floatlabel.position.y"),`; 23 transform: translateY(0); 24} 25 26.p-floatlabel:has(.p-inputicon:first-child) label { 27 inset-inline-start: calc((`).concat(l("form.field.padding.x")," * 2) + ").concat(l("icon.size"),`); 28} 29 30.p-floatlabel:has(.p-invalid) label { 31 color: `).concat(l("floatlabel.invalid.color"),`; 32} 33 34.p-floatlabel:has(input:focus) label, 35.p-floatlabel:has(input.p-filled) label, 36.p-floatlabel:has(input:-webkit-autofill) label, 37.p-floatlabel:has(textarea:focus) label, 38.p-floatlabel:has(textarea.p-filled) label, 39.p-floatlabel:has(.p-inputwrapper-focus) label, 40.p-floatlabel:has(.p-inputwrapper-filled) label { 41 top: `).concat(l("floatlabel.over.active.top"),`; 42 transform: translateY(0); 43 font-size: `).concat(l("floatlabel.active.font.size"),`; 44 font-weight: `).concat(l("floatlabel.label.active.font.weight"),`; 45} 46 47.p-floatlabel:has(input.p-filled) label, 48.p-floatlabel:has(textarea.p-filled) label, 49.p-floatlabel:has(.p-inputwrapper-filled) label { 50 color: `).concat(l("floatlabel.active.color"),`; 51} 52 53.p-floatlabel:has(input:focus) label, 54.p-floatlabel:has(input:-webkit-autofill) label, 55.p-floatlabel:has(textarea:focus) label, 56.p-floatlabel:has(.p-inputwrapper-focus) label { 57 color: `).concat(l("floatlabel.focus.color"),`; 58} 59 60.p-floatlabel-in .p-inputtext, 61.p-floatlabel-in .p-textarea, 62.p-floatlabel-in .p-select-label, 63.p-floatlabel-in .p-multiselect-label, 64.p-floatlabel-in .p-autocomplete-input-multiple, 65.p-floatlabel-in .p-cascadeselect-label, 66.p-floatlabel-in .p-treeselect-label { 67 padding-block-start: `).concat(l("floatlabel.in.input.padding.top"),`; 68 padding-block-end: `).concat(l("floatlabel.in.input.padding.bottom"),`; 69} 70 71.p-floatlabel-in:has(input:focus) label, 72.p-floatlabel-in:has(input.p-filled) label, 73.p-floatlabel-in:has(input:-webkit-autofill) label, 74.p-floatlabel-in:has(textarea:focus) label, 75.p-floatlabel-in:has(textarea.p-filled) label, 76.p-floatlabel-in:has(.p-inputwrapper-focus) label, 77.p-floatlabel-in:has(.p-inputwrapper-filled) label { 78 top: `).concat(l("floatlabel.in.active.top"),`; 79} 80 81.p-floatlabel-on:has(input:focus) label, 82.p-floatlabel-on:has(input.p-filled) label, 83.p-floatlabel-on:has(input:-webkit-autofill) label, 84.p-floatlabel-on:has(textarea:focus) label, 85.p-floatlabel-on:has(textarea.p-filled) label, 86.p-floatlabel-on:has(.p-inputwrapper-focus) label, 87.p-floatlabel-on:has(.p-inputwrapper-filled) label { 88 top: 0; 89 transform: translateY(-50%); 90 border-radius: `).concat(l("floatlabel.on.border.radius"),`; 91 background: `).concat(l("floatlabel.on.active.background"),`; 92 padding: `).concat(l("floatlabel.on.active.padding"),`; 93} 94`)},b={root:function(t){t.instance;var l=t.props;return["p-floatlabel",{"p-floatlabel-over":l.variant==="over","p-floatlabel-on":l.variant==="on","p-floatlabel-in":l.variant==="in"}]}},f=e.extend({name:"floatlabel",theme:s,classes:b}),c={name:"BaseFloatLabel",extends:n,props:{variant:{type:String,default:"over"}},style:f,provide:function(){return{$pcFloatLabel:this,$parentInstance:this}}},u={name:"FloatLabel",extends:c,inheritAttrs:!1};function d(a,t,l,h,v,m){return o(),p("span",r({class:a.cx("root")},a.ptmi("root")),[i(a.$slots,"default")],16)}u.render=d;export{u as s};
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.