1import{s}from"./Bapn_D_L.js";import{B as o,o as i,c as a,T as n,R as r,U as d}from"./Bdk4qgbI.js";/* empty css */var l=` 2 .p-steplist { 3 position: relative; 4 display: flex; 5 justify-content: space-between; 6 align-items: center; 7 margin: 0; 8 padding: 0; 9 list-style-type: none; 10 overflow-x: auto; 11 } 12 13 .p-step { 14 position: relative; 15 display: flex; 16 flex: 1 1 auto; 17 align-items: center; 18 gap: dt('stepper.step.gap'); 19 padding: dt('stepper.step.padding'); 20 } 21 22 .p-step:last-of-type { 23 flex: initial; 24 } 25 26 .p-step-header { 27 border: 0 none; 28 display: inline-flex; 29 align-items: center; 30 text-decoration: none; 31 cursor: pointer; 32 transition: 33 background dt('stepper.transition.duration'), 34 color dt('stepper.transition.duration'), 35 border-color dt('stepper.transition.duration'), 36 outline-color dt('stepper.transition.duration'), 37 box-shadow dt('stepper.transition.duration'); 38 border-radius: dt('stepper.step.header.border.radius'); 39 outline-color: transparent; 40 background: transparent; 41 padding: dt('stepper.step.header.padding'); 42 gap: dt('stepper.step.header.gap'); 43 } 44 45 .p-step-header:focus-visible { 46 box-shadow: dt('stepper.step.header.focus.ring.shadow'); 47 outline: dt('stepper.step.header.focus.ring.width') dt('stepper.step.header.focus.ring.style') dt('stepper.step.header.focus.ring.color'); 48 outline-offset: dt('stepper.step.header.focus.ring.offset'); 49 } 50 51 .p-stepper.p-stepper-readonly .p-step { 52 cursor: auto; 53 } 54 55 .p-step-title { 56 display: block; 57 white-space: nowrap; 58 overflow: hidden; 59 text-overflow: ellipsis; 60 max-width: 100%; 61 color: dt('stepper.step.title.color'); 62 font-weight: dt('stepper.step.title.font.weight'); 63 transition: 64 background dt('stepper.transition.duration'), 65 color dt('stepper.transition.duration'), 66 border-color dt('stepper.transition.duration'), 67 box-shadow dt('stepper.transition.duration'), 68 outline-color dt('stepper.transition.duration'); 69 } 70 71 .p-step-number { 72 display: flex; 73 align-items: center; 74 justify-content: center; 75 color: dt('stepper.step.number.color'); 76 border: 2px solid dt('stepper.step.number.border.color'); 77 background: dt('stepper.step.number.background'); 78 min-width: dt('stepper.step.number.size'); 79 height: dt('stepper.step.number.size'); 80 line-height: dt('stepper.step.number.size'); 81 font-size: dt('stepper.step.number.font.size'); 82 z-index: 1; 83 border-radius: dt('stepper.step.number.border.radius'); 84 position: relative; 85 font-weight: dt('stepper.step.number.font.weight'); 86 } 87 88 .p-step-number::after { 89 content: ' '; 90 position: absolute; 91 width: 100%; 92 height: 100%; 93 border-radius: dt('stepper.step.number.border.radius'); 94 box-shadow: dt('stepper.step.number.shadow'); 95 } 96 97 .p-step-active .p-step-header { 98 cursor: default; 99 } 100 101 .p-step-active .p-step-number { 102 background: dt('stepper.step.number.active.background'); 103 border-color: dt('stepper.step.number.active.border.color'); 104 color: dt('stepper.step.number.active.color'); 105 } 106 107 .p-step-active .p-step-title { 108 color: dt('stepper.step.title.active.color'); 109 } 110 111 .p-step:not(.p-disabled):focus-visible { 112 outline: dt('focus.ring.width') dt('focus.ring.style') dt('focus.ring.color'); 113 outline-offset: dt('focus.ring.offset'); 114 } 115 116 .p-step:has(~ .p-step-active) .p-stepper-separator { 117 background: dt('stepper.separator.active.background'); 118 } 119 120 .p-stepper-separator { 121 flex: 1 1 0; 122 background: dt('stepper.separator.background'); 123 width: 100%; 124 height: dt('stepper.separator.size'); 125 transition: 126 background dt('stepper.transition.duration'), 127 color dt('stepper.transition.duration'), 128 border-color dt('stepper.transition.duration'), 129 box-shadow dt('stepper.transition.duration'), 130 outline-color dt('stepper.transition.duration'); 131 } 132 133 .p-steppanels { 134 padding: dt('stepper.steppanels.padding'); 135 } 136 137 .p-steppanel { 138 background: dt('stepper.steppanel.background'); 139 color: dt('stepper.steppanel.color'); 140 } 141 142 .p-stepper:has(.p-stepitem) { 143 display: flex; 144 flex-direction: column; 145 } 146 147 .p-stepitem { 148 display: flex; 149 flex-direction: column; 150 flex: initial; 151 } 152 153 .p-stepitem.p-stepitem-active { 154 flex: 1 1 auto; 155 } 156 157 .p-stepitem .p-step { 158 flex: initial; 159 } 160 161 .p-stepitem .p-steppanel { 162 display: grid; 163 grid-template-rows: 1fr; 164 } 165 166 .p-stepitem .p-steppanel-content-wrapper { 167 display: flex; 168 flex: 1 1 auto; 169 min-height: 0; 170 } 171 .p-stepitem .p-steppanel-content { 172 width: 100%; 173 padding: dt('stepper.steppanel.padding'); 174 margin-inline-start: 1rem; 175 } 176 177 .p-stepitem .p-stepper-separator { 178 flex: 0 0 auto; 179 width: dt('stepper.separator.size'); 180 height: auto; 181 margin: dt('stepper.separator.margin'); 182 position: relative; 183 left: calc(-1 * dt('stepper.separator.size')); 184 } 185 186 .p-stepitem .p-stepper-separator:dir(rtl) { 187 left: calc(-9 * dt('stepper.separator.size')); 188 } 189 190 .p-stepitem:has(~ .p-stepitem-active) .p-stepper-separator { 191 background: dt('stepper.separator.active.background'); 192 } 193 194 .p-stepitem:last-of-type .p-steppanel { 195 padding-inline-start: dt('stepper.step.number.size'); 196 } 197`,u={root:function(t){var p=t.props;return["p-stepper p-component",{"p-readonly":p.linear}]},separator:"p-stepper-separator"},c=o.extend({name:"stepper",style:l,classes:u}),f={name:"BaseStepper",extends:s,props:{value:{type:[String,Number],default:void 0},linear:{type:Boolean,default:!1}},style:c,provide:function(){return{$pcStepper:this,$parentInstance:this,$pcStepItem:null}}},m={name:"Stepper",extends:f,inheritAttrs:!1,emits:["update:value"],data:function(){return{d_value:this.value}},watch:{value:function(t){this.d_value=t}},methods:{updateValue:function(t){this.d_value!==t&&(this.d_value=t,this.$emit("update:value",t))},isStepActive:function(t){return this.d_value===t},isStepDisabled:function(){return this.linear}}};function b(e,t,p,g,h,v){return i(),a("div",d({class:e.cx("root"),role:"tablist"},e.ptmi("root")),[e.$slots.start?n(e.$slots,"start",{key:0}):r("",!0),n(e.$slots,"default"),e.$slots.end?n(e.$slots,"end",{key:1}):r("",!0)],16)}m.render=b;export{m 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.