@prozorro/prozorro-ui 0.4.1-beta → 0.4.2-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/assets/{Color-FRDS63T2-9PhDb8yW.js → Color-FRDS63T2-CeyGl2S8.js} +1 -1
- package/dist/app/assets/{Colors.stories-Bx-0cawg.js → Colors.stories-OGSPUK4L.js} +1 -1
- package/dist/app/assets/{Display.stories-DlJJvBVi.js → Display.stories-CRn2AhWU.js} +1 -1
- package/dist/app/assets/{DocsRenderer-LL677BLK-DswsB8wJ.js → DocsRenderer-LL677BLK-DxXEJ5jb.js} +5 -5
- package/dist/app/assets/{Gap.stories-BLQTCx53.js → Gap.stories-Bc-zyzE6.js} +1 -1
- package/dist/app/assets/{Grid.stories-ZdMXhy47.js → Grid.stories-Dz16JhJ7.js} +1 -1
- package/dist/app/assets/{PzAccordion-_ik9eCPn.js → PzAccordion-W4J9NpeO.js} +1 -1
- package/dist/app/assets/{PzAccordion.stories-EvUxAle2.js → PzAccordion.stories-Cb9I6jCF.js} +1 -1
- package/dist/app/assets/{PzAccordionTable.stories-F5DGnXvo.js → PzAccordionTable.stories-DOBKN_YE.js} +1 -1
- package/dist/app/assets/{PzArrayClamp.stories-CTUMZCxw.js → PzArrayClamp.stories-ClvKfC2D.js} +1 -1
- package/dist/app/assets/{PzBreadcrumb.stories-DNrNJaKr.js → PzBreadcrumb.stories-C-QAAQfR.js} +1 -1
- package/dist/app/assets/{PzBtn-0xW9RvpA.js → PzBtn-D_CDjsOE.js} +1 -1
- package/dist/app/assets/{PzBtn.stories-BPW7JI3B.js → PzBtn.stories-DZ2CUiW9.js} +1 -1
- package/dist/app/assets/{PzCheckbox-Clmxhd8v.js → PzCheckbox-CSc16bHE.js} +1 -1
- package/dist/app/assets/{PzCheckbox.stories-ck0NMcls.js → PzCheckbox.stories-DocLQJfw.js} +1 -1
- package/dist/app/assets/{PzCheckboxGroup.stories-CmBiyVtk.js → PzCheckboxGroup.stories-k5NPBxQa.js} +1 -1
- package/dist/app/assets/{PzCopyToClipboard-DW8Y-Dvd.js → PzCopyToClipboard-BxdWOBoL.js} +1 -1
- package/dist/app/assets/{PzCopyToClipboard.stories-xZFh_UrG.js → PzCopyToClipboard.stories-aqiEiVAe.js} +1 -1
- package/dist/app/assets/{PzDate-BWmGL0nq.js → PzDate-D65pwEHm.js} +1 -1
- package/dist/app/assets/{PzDate.stories-CqJM7ntU.js → PzDate.stories-CTbeOUIk.js} +1 -1
- package/dist/app/assets/{PzDateRange.stories-ChoBpbL6.js → PzDateRange.stories-C22MXSS7.js} +1 -1
- package/dist/app/assets/{PzDivider.stories-CoJdS0Er.js → PzDivider.stories-BR4nURRY.js} +1 -1
- package/dist/app/assets/{PzDomHandler.stories-BZUHoySe.js → PzDomHandler.stories-CLogo01N.js} +1 -1
- package/dist/app/assets/{PzDropdown.stories-CJO_a_sz.js → PzDropdown.stories-Cr-TzcHW.js} +1 -1
- package/dist/app/assets/{PzFileInput.stories-Bn1gmXGn.js → PzFileInput.stories-DK91rXjq.js} +1 -1
- package/dist/app/assets/{PzGrid.stories-BogXLJcc.js → PzGrid.stories-Dt17vP6k.js} +1 -1
- package/dist/app/assets/{PzHint-5rbsVsnN.js → PzHint-DhFdj_Xf.js} +1 -1
- package/dist/app/assets/{PzHint.stories-gmR2sPCg.js → PzHint.stories-BZUub3Tr.js} +1 -1
- package/dist/app/assets/{PzIcon-CDxM5GcW.js → PzIcon-D60K-iuC.js} +1 -1
- package/dist/app/assets/{PzIcon.stories-D1FEuzU9.js → PzIcon.stories-BOJPlwoQ.js} +1 -1
- package/dist/app/assets/{PzImage.stories-Eh297t7X.js → PzImage.stories-DO5htT2y.js} +1 -1
- package/dist/app/assets/{PzImageInput.stories-n0AUQXOl.js → PzImageInput.stories-BIYMSQU-.js} +1 -1
- package/dist/app/assets/{PzInfoBlockLayout.stories-C0faEoyb.js → PzInfoBlockLayout.stories-Cno3NtyP.js} +1 -1
- package/dist/app/assets/{PzInfoHint-0oeq3AGu.js → PzInfoHint-aIP9icFO.js} +1 -1
- package/dist/app/assets/{PzInfoHint.stories-BYeNkHDp.js → PzInfoHint.stories-_Wsv0dEO.js} +1 -1
- package/dist/app/assets/{PzInput.stories-DkKwwwIp.js → PzInput.stories-DusufjXy.js} +1 -1
- package/dist/app/assets/{PzInputDate.stories-XyKuHvvB.js → PzInputDate.stories-CSI1rePP.js} +1 -1
- package/dist/app/assets/{PzInputNumber.stories-Doz5PQov.js → PzInputNumber.stories-j7pMqyEQ.js} +1 -1
- package/dist/app/assets/{PzKeyValue-DgstLA9H.js → PzKeyValue-Bt0tDjct.js} +1 -1
- package/dist/app/assets/{PzKeyValue.stories-Ds98_w0z.js → PzKeyValue.stories-CI4KxZvB.js} +1 -1
- package/dist/app/assets/{PzLabel-D1xNv20h.js → PzLabel-D0dwFrER.js} +1 -1
- package/dist/app/assets/{PzLabel.stories-DYL1QoXl.js → PzLabel.stories-60NelmXv.js} +1 -1
- package/dist/app/assets/{PzLink-BcSnVlAr.js → PzLink-fkoQGiBH.js} +1 -1
- package/dist/app/assets/{PzLink.stories-wmN6E4Se.js → PzLink.stories-qott6hdq.js} +1 -1
- package/dist/app/assets/{PzListNav-CKuwFpAo.js → PzListNav-3g-zpXKq.js} +1 -1
- package/dist/app/assets/{PzListNav.stories-CAf7DnQF.js → PzListNav.stories-CGG6zZvj.js} +1 -1
- package/dist/app/assets/{PzLoader.stories-BITdyKO3.js → PzLoader.stories-CbPGqPeH.js} +1 -1
- package/dist/app/assets/{PzMessages-I3phMtj-.js → PzMessages-vy4Ro2jw.js} +1 -1
- package/dist/app/assets/{PzMessages.stories-CYwLiQYu.js → PzMessages.stories-C9-7s6fg.js} +1 -1
- package/dist/app/assets/{PzModal.stories-D_UCrbrg.js → PzModal.stories-Cw3b5SFA.js} +1 -1
- package/dist/app/assets/{PzMultiSelect.stories-DbnPVpIm.js → PzMultiSelect.stories-cAeqIQhm.js} +1 -1
- package/dist/app/assets/{PzNav.stories-Cq7bs4k_.js → PzNav.stories-DAiYEDGs.js} +1 -1
- package/dist/app/assets/{PzNumberFormat.stories-qOZ0AAxs.js → PzNumberFormat.stories-Dkc4GvXT.js} +1 -1
- package/dist/app/assets/PzPagination-T-gL7ecr.css +1 -0
- package/dist/app/assets/{PzPagination-CBATM8OR.js → PzPagination-W6wDxtAT.js} +1 -1
- package/dist/app/assets/{PzPagination.stories-CVn-Z6Np.js → PzPagination.stories-B25K6b3z.js} +1 -1
- package/dist/app/assets/{PzPaginationProvider.stories-C_tIGJ2U.js → PzPaginationProvider.stories-8qvFYFW2.js} +1 -1
- package/dist/app/assets/{PzPrice-c6zo9lyv.js → PzPrice-DuRax8iK.js} +1 -1
- package/dist/app/assets/{PzPrice.stories-BfZwg2-q.js → PzPrice.stories-CGGo9KnA.js} +1 -1
- package/dist/app/assets/{PzPriceFormat.stories-DMHTK6cg.js → PzPriceFormat.stories-C-ioyXaL.js} +1 -1
- package/dist/app/assets/{PzPriceRange.stories-DlIFuzGY.js → PzPriceRange.stories-D_TJG1XF.js} +1 -1
- package/dist/app/assets/{PzQuote.stories-sY8uz2A0.js → PzQuote.stories-D5OZTnYp.js} +1 -1
- package/dist/app/assets/{PzRadioGroup.stories-CdyXLN-c.js → PzRadioGroup.stories-Dk-7iDfn.js} +1 -1
- package/dist/app/assets/{PzRouterLink.stories-az-NDOi0.js → PzRouterLink.stories-CqZcq44z.js} +1 -1
- package/dist/app/assets/{PzScrollTo.stories-Br_4PLhP.js → PzScrollTo.stories-BMPkg_Vx.js} +1 -1
- package/dist/app/assets/{PzSearchResultItemLayout.stories-DwyHQ78O.js → PzSearchResultItemLayout.stories-CvqWC6Uk.js} +1 -1
- package/dist/app/assets/{PzSelect-D0iOceuZ.js → PzSelect-Dr0nh9CG.js} +1 -1
- package/dist/app/assets/{PzSelect.stories-Cs0P55s8.js → PzSelect.stories-CUT6_h6O.js} +1 -1
- package/dist/app/assets/{PzSkeleton-DtUuyz3-.js → PzSkeleton-BM8HObKK.js} +1 -1
- package/dist/app/assets/{PzSkeleton.stories-QZEW8mJp.js → PzSkeleton.stories-Bpyvo4yk.js} +1 -1
- package/dist/app/assets/{PzSlider.stories-BRkA5WPH.js → PzSlider.stories-j3nv6UCX.js} +1 -1
- package/dist/app/assets/{PzStatus-shNKuBxJ.js → PzStatus-BQ668EeR.js} +1 -1
- package/dist/app/assets/{PzStatus.stories-xXY-O53l.js → PzStatus.stories-CRNA84S0.js} +1 -1
- package/dist/app/assets/{PzTable-JVc0kSm7.js → PzTable-Cn0v8-Da.js} +1 -1
- package/dist/app/assets/{PzTable.stories-BbUVbTQ4.js → PzTable.stories-CC7fRpVs.js} +1 -1
- package/dist/app/assets/{PzTablePaginationProvider.stories-PqZXFzYY.js → PzTablePaginationProvider.stories-DkyORCtF.js} +1 -1
- package/dist/app/assets/{PzTabs.stories-CzlXBLKV.js → PzTabs.stories-BfJQyoD-.js} +1 -1
- package/dist/app/assets/{PzTag-BpKaYDqR.js → PzTag-DJNeC2eG.js} +1 -1
- package/dist/app/assets/{PzTag.stories-Diit74TS.js → PzTag.stories-Uamxfs2Q.js} +1 -1
- package/dist/app/assets/{PzText-jOMo8hsJ.js → PzText-BNnHsQnX.js} +1 -1
- package/dist/app/assets/{PzText.stories-CccPlDSq.js → PzText.stories-9YK6Ihu8.js} +1 -1
- package/dist/app/assets/{PzTextClamp.stories-C4UOrdMg.js → PzTextClamp.stories-0u0mwNM3.js} +1 -1
- package/dist/app/assets/{PzTextarea.stories-CKYcghAb.js → PzTextarea.stories-D8shF3Gr.js} +1 -1
- package/dist/app/assets/{PzTranslator-PifVXJ0p.js → PzTranslator-DGsOBvWF.js} +1 -1
- package/dist/app/assets/{PzTranslator.stories-TtVIqd1D.js → PzTranslator.stories-BAytVL3Z.js} +1 -1
- package/dist/app/assets/{PzValidatorXSS.stories-DT4CQfHi.js → PzValidatorXSS.stories-sjqUsvJJ.js} +1 -1
- package/dist/app/assets/{Spacing.stories-CJD3xSqm.js → Spacing.stories-DpE7Xmqu.js} +1 -1
- package/dist/app/assets/{StaticPagination.composable-YLmf5ijV.js → StaticPagination.composable-Pn8Gff8u.js} +1 -1
- package/dist/app/assets/{Typography.stories-B39KEUw2.js → Typography.stories-DRMLzQNI.js} +1 -1
- package/dist/app/assets/{WithTooltip-65CFNBJE-C8Vpk-qV.js → WithTooltip-65CFNBJE-CvBxSgpM.js} +1 -1
- package/dist/app/assets/{floating-vue-C3CF03gO.js → floating-vue-l4TTVMfI.js} +1 -1
- package/dist/app/assets/{floating-vue-AClGhY9u.js → floating-vue-zw8Wx_JW.js} +1 -1
- package/dist/app/assets/{formatter-EIJCOSYU-CoKN2qy6.js → formatter-EIJCOSYU-mAN9Gf_N.js} +1 -1
- package/dist/app/assets/{iframe-BVMGY9oU.js → iframe-BujghGem.js} +3 -3
- package/dist/app/assets/{index-LOClFQTK.js → index-FCD_Qkdp.js} +1 -1
- package/dist/app/assets/{syntaxhighlighter-OH4MV7E3-Cb3doZYa.js → syntaxhighlighter-OH4MV7E3-dDR_04Ye.js} +1 -1
- package/dist/app/iframe.html +1 -1
- package/dist/app/project.json +1 -1
- package/dist/package.json +1 -1
- package/dist/prozorro-ui.cjs +1 -1
- package/dist/prozorro-ui.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/app/assets/PzPagination-Co8Xf-TW.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pz-pagination__list[data-v-ebcdb275]{display:flex;align-items:center;gap:var(--pz-space-4);list-style:none;margin:0;padding:0}.pz-pagination__item[data-v-ebcdb275]{display:flex}.pz-pagination__counter[data-v-ebcdb275]{display:none;align-items:center;justify-content:center;padding:var(--pz-space-12);color:var(--pz-color-text-primary);white-space:nowrap;-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-pagination-counter-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-pagination-counter-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-pagination-counter-line-height, var(--pz-typography-line-height, 1.5))}.pz-pagination__counter-current[data-v-ebcdb275]{padding-right:4px;-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-pagination-counter-current-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-pagination-counter-current-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-pagination-counter-current-line-height, var(--pz-typography-line-height, 1.5))}.pz-pagination__btn[data-v-ebcdb275]{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:2px;background:transparent;color:var(--pz-color-text-primary);cursor:pointer;transition:color .16s ease,background-color .16s ease,border-color .16s ease;-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-pagination-btn-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-pagination-btn-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-pagination-btn-line-height, var(--pz-typography-line-height, 1.5))}.pz-pagination__btn[data-v-ebcdb275]:hover:not(:disabled){background-color:var(--pz-color-grey-20);border-color:var(--pz-color-tag-blue);color:var(--pz-color-text-link-hover)}.pz-pagination__btn--active[data-v-ebcdb275]{border-color:var(--pz-color-tag-blue)}.pz-pagination__btn--nav[data-v-ebcdb275]{color:var(--pz-color-text-primary)}.pz-pagination__btn--nav[data-v-ebcdb275]:disabled{opacity:.35;cursor:default}.pz-pagination__dots[data-v-ebcdb275]{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;color:var(--pz-color-text-secondary);-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-pagination-dots-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-pagination-dots-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-pagination-dots-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 767.98px){.pz-pagination__list[data-v-ebcdb275]{justify-content:space-between;width:100%;gap:var(--pz-space-0)}.pz-pagination__counter[data-v-ebcdb275]{display:flex}.pz-pagination__item[data-v-ebcdb275],.pz-pagination__dots[data-v-ebcdb275]{display:none}.pz-pagination__btn--nav[data-v-ebcdb275]{width:var(--pz-space-40);height:var(--pz-space-40);border-radius:1px;border-color:var(--pz-color-tag-blue)}.pz-pagination__btn--nav[data-v-ebcdb275]:disabled{border-color:var(--pz-color-stroke-grey);color:var(--pz-color-stroke-grey);opacity:1}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as E,f as i,C as o,E as V,B as k,t as p,D as M,G as $,F as D,c as n,o as l,g as S}from"./iframe-
|
|
1
|
+
import{e as E,f as i,C as o,E as V,B as k,t as p,D as M,G as $,F as D,c as n,o as l,g as S}from"./iframe-BujghGem.js";import{_ as x}from"./PzIcon-D60K-iuC.js";import{a as u}from"./PzMessages-vy4Ro2jw.js";import{_ as j}from"./_plugin-vue_export-helper-DlAUqK2U.js";const G={class:"pz-pagination","aria-label":"Pagination"},O={class:"pz-pagination__list"},A=["disabled","aria-label"],R={class:"pz-pagination__counter"},W={class:"pz-pagination__counter-current"},H={key:0,class:"pz-pagination__dots","aria-hidden":"true"},J=["aria-current","onClick"],K=["disabled","aria-label"],b=1,c=E({name:"PzPagination",__name:"PzPagination",props:{modelValue:{},total:{},perPage:{},radius:{default:2}},emits:["update:modelValue"],setup(r,{emit:N}){const C=n(()=>u("navigation.pzPagination.prevLabel")),L=n(()=>u("navigation.pzPagination.nextLabel")),F=n(()=>u("navigation.pzPagination.dots")),a=r,d=N,g=n(()=>Math.ceil(a.total/a.perPage)),I=n(()=>u("navigation.pzPagination.counter",{total:g.value})),P=n(()=>a.modelValue<=1),f=n(()=>a.modelValue>=g.value),T=n(()=>{const t=g.value;if(t<=0)return[];if(t===1)return[{type:"page",page:b}];const _=a.modelValue,e=a.radius,m=b+1,z=t-1,h=Math.max(m,_-e),y=Math.min(z,_+e),s=[{type:"page",page:b}];h>m&&s.push({type:"dots",side:"left"});for(let v=h;v<=y;v++)s.push({type:"page",page:v});return y<z&&s.push({type:"dots",side:"right"}),s.push({type:"page",page:t}),s}),q=t=>{t!==a.modelValue&&d("update:modelValue",t)},w=()=>{P.value||d("update:modelValue",a.modelValue-1)},B=()=>{f.value||d("update:modelValue",a.modelValue+1)};return(t,_)=>(l(),i("nav",G,[o("ul",O,[o("li",null,[o("button",{type:"button",class:"pz-pagination__btn pz-pagination__btn--nav",disabled:P.value,"aria-label":C.value,onClick:w},[V(k(x),{name:"chevron_left",size:"24"})],8,A)]),o("li",R,[o("b",W,p(r.modelValue),1),M(" "+p(I.value),1)]),(l(!0),i($,null,D(T.value,e=>(l(),i("li",{key:e.type==="page"?`p-${e.page}`:`d-${e.side}`,class:"pz-pagination__item"},[e.type==="dots"?(l(),i("span",H,p(F.value),1)):(l(),i("button",{key:1,type:"button",class:S(["pz-pagination__btn",{"pz-pagination__btn--active":e.page===r.modelValue}]),"aria-current":e.page===r.modelValue?"page":void 0,onClick:m=>q(e.page)},p(e.page),11,J))]))),128)),o("li",null,[o("button",{type:"button",class:"pz-pagination__btn pz-pagination__btn--nav",disabled:f.value,"aria-label":L.value,onClick:B},[V(k(x),{name:"chevron_right",size:"24"})],8,K)])])]))}}),Z=j(c,[["__scopeId","data-v-ebcdb275"]]);c.__docgenInfo=Object.assign({displayName:c.name??c.__name},{name:"PzPagination",exportName:"default",displayName:"PzPagination",description:"",tags:{},props:[{name:"modelValue",required:!0,type:{name:"number"}},{name:"total",required:!0,type:{name:"number"}},{name:"perPage",required:!0,type:{name:"number"}},{name:"radius",required:!1,type:{name:"number"},defaultValue:{func:!1,value:"2"}}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Navigation/PzPagination/PzPagination.vue"]});export{Z as P};
|
package/dist/app/assets/{PzPagination.stories-CVn-Z6Np.js → PzPagination.stories-B25K6b3z.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as e,w as m}from"./iframe-
|
|
1
|
+
import{r as e,w as m}from"./iframe-BujghGem.js";import{P as v}from"./PzText-BNnHsQnX.js";import{P as s}from"./PzPagination-W6wDxtAT.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./PzIcon-D60K-iuC.js";import"./PzMessages-vy4Ro2jw.js";const l=2,z=50,y=100,P=3,b="<\/script>",f=a=>{const t=[':model-value="currentPage"',`:total="${a.total}"`,`:per-page="${a.perPage}"`,a.radius!==l?`:radius="${a.radius}"`:null,'@update:model-value="currentPage = $event"'].filter(r=>!!r).join(`
|
|
2
2
|
`);return`<script setup lang="ts">
|
|
3
3
|
import { ref } from "vue";
|
|
4
4
|
const currentPage = ref(${a.modelValue});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as E}from"./PzKeyValue-
|
|
1
|
+
import{P as E}from"./PzKeyValue-Bt0tDjct.js";import{P as v}from"./PzText-BNnHsQnX.js";import{e as A,f as l,G as q,F as V,B as a,q as k,y as C,o as p,x as K}from"./iframe-BujghGem.js";import{I,P as w}from"./PzListNav-3g-zpXKq.js";import{P as O}from"./PzScrollTo-KuzwcV-o.js";import{u as B}from"./StaticPagination.composable-Pn8Gff8u.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./isArray-uCF_2ZQ0.js";import"./isObjectLike-zXfibqpL.js";import"./lodash-CdDiHlzQ.js";import"./PzDomHandler-BU7iMNnt.js";import"./PzTranslator-DGsOBvWF.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./preload-helper-C1FmrZbK.js";import"./PzSelect-Dr0nh9CG.js";import"./index-FCD_Qkdp.js";import"./floating-vue-l4TTVMfI.js";import"./PzIcon-D60K-iuC.js";import"./PzLabel-D0dwFrER.js";import"./PzPagination-W6wDxtAT.js";import"./PzMessages-vy4Ro2jw.js";const F={class:"pagination-provider"},n=A({name:"PzPaginationProvider",__name:"PzPaginationProvider",props:{perPage:{default:I.FIVE},data:{},navigationTopElement:{default:void 0},hasAutoScroll:{type:Boolean,default:!1}},setup(e){const t=e,{perPage:b,pageChanged:x,getItems:h,isPaginationAvailable:S,visibleRangeElements:T}=B(t),_=()=>{var r;t.hasAutoScroll&&O.moveByQuerySelector(".pagination-provider",((r=t.navigationTopElement)==null?void 0:r.offsetHeight)||0)};return(r,R)=>(p(),l("div",F,[(p(!0),l(q,null,V(a(h),(N,s)=>K(r.$slots,"item",{item:N,index:s,sequenceNumber:a(T)[0]+s})),256)),a(S)?(p(),k(a(w),{key:0,total:e.data.length,"per-page":a(b),class:"pz-mt-32",onOnInput:a(x),onOnChangePerPage:_},null,8,["total","per-page","onOnInput"])):C("",!0)]))}});n.__docgenInfo=Object.assign({displayName:n.name??n.__name},{name:"PzPaginationProvider",exportName:"default",displayName:"PzPaginationProvider",description:"",tags:{},props:[{name:"perPage",required:!1,type:{name:"number"},defaultValue:{func:!1,value:"ITEMS_PER_PAGE.FIVE"}},{name:"data",required:!0,type:{name:"Array",elements:[{name:"T"}]}},{name:"navigationTopElement",required:!1,type:{name:"HTMLElement"},defaultValue:{func:!1,value:"undefined"}},{name:"hasAutoScroll",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],slots:[{name:"item",scoped:!0,bindings:[{name:"item",title:"binding"},{name:"index",title:"binding"},{name:"sequence-number",title:"binding"}]}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Navigation/PzPaginationProvider/PzPaginationProvider.vue"]});const y=n,L=n,z=E,f=[{id:"row-id",key:"id",labelKey:"Tender ID"},{id:"row-title",key:"title",labelKey:"Title"},{id:"row-amount",key:"amount",labelKey:"Expected value"}],M=12,G=6,H=1e3,D=Array.from({length:M},(e,t)=>({id:`UA-2026-04-17-${String(t+1).padStart(G,"0")}-a`,title:`Закупівля №${t+1}`,amount:`${(t+1)*H} UAH`})),ce={title:"Components/Navigation/PzPaginationProvider",component:L,parameters:{docs:{description:{component:"Generic static-pagination wrapper. Slices `data` into pages, exposes each page item through the `item` scoped slot (`{ item, index, sequenceNumber }`), and renders `PzListNav` when the data exceeds `perPage`. Here it is typed as `PzKeyValueData` and paired with `PzKeyValue`."}}},args:{data:D,perPage:5},argTypes:{data:{control:!1,description:"Full data array; the provider paginates it internally."},perPage:{control:{type:"number",min:1},description:"Items per page."}}},o={render:e=>({components:{pzPaginationProvider:y,pzKeyValue:z,pzText:v},setup(){return{args:e,config:f}},template:`
|
|
2
2
|
<div style="max-width: 640px;">
|
|
3
3
|
<pz-pagination-provider :data="args.data" :per-page="args.perPage">
|
|
4
4
|
<template #item="{ item, sequenceNumber }">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as A,f as u,g as P,q as k,v as C,B as D,y as c,C as g,G as i,D as r,t as l,c as t,o as n}from"./iframe-
|
|
1
|
+
import{e as A,f as u,g as P,q as k,v as C,B as D,y as c,C as g,G as i,D as r,t as l,c as t,o as n}from"./iframe-BujghGem.js";import{g as q}from"./_commonjsHelpers-Cpj98o6Y.js";import{i as E,_ as B}from"./isObjectLike-zXfibqpL.js";import{P as F}from"./PzText-BNnHsQnX.js";import{M as w,P as b}from"./PzPriceFormat-CfJFOj05.js";import{a as o}from"./PzMessages-vy4Ro2jw.js";import{_ as M}from"./_plugin-vue_export-helper-DlAUqK2U.js";var L=B,G=E,O="[object Number]";function j(a){return typeof a=="number"||G(a)&&L(a)==O}var R=j;const z=q(R),$=["cancelled","unsuccessful"],U=14,X={class:"pz-price__amount"},f=A({name:"PzPrice",__name:"PzPrice",props:{value:{default:()=>({currency:"UAH",amount:"",amountNet:""})},skin:{default:"default"},label:{default:""},typography:{},showVat:{type:Boolean,default:!1},showAmountNet:{type:Boolean,default:!1},showStatusColor:{type:Boolean,default:!1},status:{default:""},inheritCurrencySize:{type:Boolean,default:!1},maxFractionDigits:{default:w.SEVEN},notSpecifiedText:{},vatIncludedText:{},vatExcludedText:{},vatDifferenceLabel:{}},setup(a){const e=a,x=t(()=>e.notSpecifiedText??o("display.pzPrice.notSpecified")),N=t(()=>e.vatIncludedText??o("display.pzPrice.vatIncluded")),T=t(()=>e.vatExcludedText??o("display.pzPrice.vatExcluded")),S=t(()=>e.vatDifferenceLabel??o("display.pzPrice.vatDifferenceLabel")),d=t(()=>{var s,m,y;return z((s=e.value)==null?void 0:s.amount)||!!((m=e.value)!=null&&m.amount)&&z(Number((y=e.value)==null?void 0:y.amount))}),p=t(()=>d.value?b.currency(Number(e.value.amount)||0,e.maxFractionDigits):""),v=t(()=>{const s=Number(e.value.amount)-Number(e.value.amountNet);return s<=0?"":b.currency(s,e.maxFractionDigits)}),h=t(()=>p.value.length>=U),I=t(()=>e.skin==="large"&&h.value?"pz-price--large-minify":`pz-price--${e.skin}`),_=t(()=>d.value&&e.value?"":"pz-price--not-specified"),V=t(()=>e.showStatusColor?$.includes(e.status)?"pz-price--fail":"pz-price--success":"");return(s,m)=>(n(),u("div",{class:P(["pz-price",[I.value,V.value,_.value]])},[a.label?(n(),k(D(F),{key:0,class:"pz-price__label",variant:a.typography},{default:C(()=>[r(l(a.label),1)]),_:1},8,["variant"])):c("",!0),g("p",X,[d.value&&a.value?(n(),u(i,{key:0},[r(l(p.value)+" ",1),g("span",{class:P(["pz-price__currency",{"pz-price__currency--inherit":a.inheritCurrencySize}])},[r(l(a.value.currency)+" ",1),a.showVat?(n(),u(i,{key:0},[a.value.valueAddedTaxIncluded?(n(),u(i,{key:0},[r(l(N.value)+" ",1),a.showAmountNet&&v.value?(n(),u(i,{key:0},[r(l(`(${S.value} ${v.value} ${a.value.currency})`),1)],64)):c("",!0)],64)):a.value.valueAddedTaxIncluded===!1?(n(),u(i,{key:1},[r(l(T.value),1)],64)):c("",!0)],64)):c("",!0)],2)],64)):(n(),u(i,{key:1},[r(l(x.value),1)],64))])],2))}}),ee=M(f,[["__scopeId","data-v-af260e58"]]);f.__docgenInfo=Object.assign({displayName:f.name??f.__name},{name:"PzPrice",exportName:"default",displayName:"PzPrice",description:"",tags:{},props:[{name:"value",required:!1,type:{name:"PzPriceValue"},defaultValue:{func:!1,value:`() => ({
|
|
2
2
|
currency: "UAH",
|
|
3
3
|
amount: "",
|
|
4
4
|
amountNet: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as S}from"./configs-CtUh_XBV.js";import{M as o}from"./PzPriceFormat-CfJFOj05.js";import{P as i}from"./PzPrice-
|
|
1
|
+
import{p as S}from"./configs-CtUh_XBV.js";import{M as o}from"./PzPriceFormat-CfJFOj05.js";import{P as i}from"./PzPrice-DuRax8iK.js";import"./lodash-CdDiHlzQ.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BujghGem.js";import"./preload-helper-C1FmrZbK.js";import"./isObjectLike-zXfibqpL.js";import"./PzText-BNnHsQnX.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./PzMessages-vy4Ro2jw.js";const b=["default","medium","large"],F={title:"Components/Display/PzPrice",component:i,parameters:{docs:{description:{component:"`PzPrice` renders a formatted monetary amount with its currency. Amounts are formatted through the `PzPriceFormat.currency` utility (Ukrainian locale, floor rounding). Use `skin` to scale the amount, `showVat`/`showAmountNet` for VAT details, and `showStatusColor` to tint the value by `status`.\n\nUser-facing labels resolve in priority order: a per-instance prop (`notSpecifiedText`, `vatIncludedText`, `vatExcludedText`, `vatDifferenceLabel`) wins; otherwise the text falls back to the `PzMessages` service (`display.pzPrice.*`), so app-wide overrides can be registered globally via `setMessages` and defaults are localized (Ukrainian)."}}},args:{value:{amount:123456.5,currency:"UAH",valueAddedTaxIncluded:!0,amountNet:102880.42},skin:"large",label:"",showVat:!1,showAmountNet:!1,showStatusColor:!1,status:"",inheritCurrencySize:!1,maxFractionDigits:o.TWO},argTypes:{skin:{control:"inline-radio",options:b,description:"Amount size variant."},typography:{control:"select",options:[void 0,...S],description:"Typography variant for the label."},showVat:{control:"boolean",description:"Show the VAT suffix."},showAmountNet:{control:"boolean",description:"Show the VAT difference in parentheses."},showStatusColor:{control:"boolean",description:"Tint the amount based on status."},status:{control:"text",description:"Status driving the color (cancelled/unsuccessful = fail)."},inheritCurrencySize:{control:"boolean",description:"Currency font-size matches the amount."},maxFractionDigits:{control:"select",options:[o.TWO,o.SEVEN],description:"Maximum fraction digits passed to PzPriceFormat.currency."},label:{control:"text",description:"Optional label rendered above the amount."}},render:P=>({components:{pzPrice:i},setup(){return{args:P}},template:'<pz-price v-bind="args" />'})},e={},t={render:()=>({components:{pzPrice:i},setup(){return{value:{amount:123456.5,currency:"UAH"}}},template:`
|
|
2
2
|
<div style="display: flex; flex-direction: column; gap: 16px;">
|
|
3
3
|
<pz-price :value="value" :max-fraction-digits="2" skin="large" label="Large" />
|
|
4
4
|
<pz-price :value="value" :max-fraction-digits="2" skin="medium" label="Medium" />
|
package/dist/app/assets/{PzPriceFormat.stories-DMHTK6cg.js → PzPriceFormat.stories-C-ioyXaL.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as r}from"./PzPriceFormat-CfJFOj05.js";import{P as a}from"./PzText-
|
|
1
|
+
import{P as r}from"./PzPriceFormat-CfJFOj05.js";import{P as a}from"./PzText-BNnHsQnX.js";import"./lodash-CdDiHlzQ.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-BujghGem.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const m={title:"Utilities/PzPriceFormat",parameters:{docs:{description:{component:"The `PzPriceFormat` static class provides common utilities for rendering pricing values such as minimum steps or formatting decimal percents into percent strings."}}}},t={render:()=>({components:{pzText:a},setup(){return{minPriceExamples:[{value:1e3,step:10,description:"Value 1000, minimal step 10"},{value:50,step:2,description:"Value 50, step 2"},{value:0,step:5,description:"Zero value"}].map(e=>({...e,result:r.minPriceStep(e.value,e.step)})),percentExamples:[{value:.12345,description:"Standard fractional"},{value:1,description:"Complete ratio"},{value:"0.55",description:"String fractional"}].map(e=>({...e,result:r.multiplyByHundredPercent(e.value)})),currencyExamples:[{value:123456.5,description:"Thousands with decimals"},{value:1e3,description:"Whole amount"},{value:.1,description:"Small fraction"},{value:9999999999e-3,description:"Floor rounding (truncates, never rounds up)"}].map(e=>({...e,result:r.currency(e.value)}))}},template:`
|
|
2
2
|
<div style="display: flex; flex-direction: column; gap: 24px;">
|
|
3
3
|
<section>
|
|
4
4
|
<pz-text variant="h4-semibold">minPriceStep</pz-text>
|
package/dist/app/assets/{PzPriceRange.stories-DlIFuzGY.js → PzPriceRange.stories-D_TJG1XF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Q,f as u,B as t,G as C,E as m,C as V,t as g,q,v as B,c as i,o as l,D}from"./iframe-
|
|
1
|
+
import{e as Q,f as u,B as t,G as C,E as m,C as V,t as g,q,v as B,c as i,o as l,D}from"./iframe-BujghGem.js";import{i as M,P as f}from"./PzPrice-DuRax8iK.js";import{P as O}from"./PzText-BNnHsQnX.js";import{a as P}from"./PzMessages-vy4Ro2jw.js";import{M as x}from"./PzPriceFormat-CfJFOj05.js";import{_ as U}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./preload-helper-C1FmrZbK.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./isObjectLike-zXfibqpL.js";import"./lodash-CdDiHlzQ.js";const F={class:"pz-price-range"},H={class:"pz-price-range__separator"},p=Q({name:"PzPriceRange",__name:"PzPriceRange",props:{price:{},notSpecifiedText:{},separator:{},skin:{default:"medium"}},setup(e){const b=i(()=>r.separator??P("display.pzPriceRange.separator")),N=i(()=>r.notSpecifiedText??P("display.pzPriceRange.notSpecified")),r=e,A=i(()=>{var a;return{amount:(a=r.price)==null?void 0:a.lowerQuartile,currency:""}}),I=i(()=>{var a,d,s;return{amount:(a=r.price)==null?void 0:a.upperQuartile,currency:((d=r.price)==null?void 0:d.currency)||"UAH",valueAddedTaxIncluded:(s=r.price)==null?void 0:s.valueAddedTaxIncluded}});return(a,d)=>{var s;return l(),u("div",F,[t(M)((s=e.price)==null?void 0:s.lowerQuartile)?(l(),u(C,{key:0},[m(t(f),{value:A.value,"max-fraction-digits":t(x).TWO,skin:e.skin},null,8,["value","max-fraction-digits","skin"]),V("span",H,g(b.value),1),m(t(f),{value:I.value,"max-fraction-digits":t(x).TWO,"show-vat":!0,skin:e.skin},null,8,["value","max-fraction-digits","skin"])],64)):(l(),q(t(O),{key:1,variant:"h4-regular"},{default:B(()=>[D(g(N.value),1)]),_:1}))])}}}),y=U(p,[["__scopeId","data-v-a6832f45"]]);p.__docgenInfo=Object.assign({displayName:p.name??p.__name},{name:"PzPriceRange",exportName:"default",displayName:"PzPriceRange",description:"",tags:{},props:[{name:"price",required:!1,type:{name:"PzPriceRangeValue"}},{name:"notSpecifiedText",required:!1,type:{name:"string"}},{name:"separator",required:!1,type:{name:"string"}},{name:"skin",required:!1,type:{name:"PzPriceSkin"},defaultValue:{func:!1,value:'"medium"'}}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Display/PzPriceRange/PzPriceRange.vue"]});const $={title:"Components/Display/PzPriceRange",component:y,parameters:{docs:{description:{component:"`PzPriceRange` renders an expected price range (`lowerQuartile – upperQuartile`) by composing two `PzPrice` instances. When `lowerQuartile` is not a number it renders the not-specified fallback.\n\nThe fallback text and separator resolve in priority order: the `notSpecifiedText` / `separator` props win per-instance; otherwise they fall back to the `PzMessages` service (`display.pzPriceRange.*`), so app-wide overrides can be registered globally via `setMessages` and defaults are localized (Ukrainian)."}}},args:{price:{lowerQuartile:1e5,upperQuartile:250000.75,currency:"UAH",valueAddedTaxIncluded:!0}},argTypes:{separator:{control:"text",description:"String rendered between the two prices."},notSpecifiedText:{control:"text",description:"Fallback text when there is no lower quartile."}},render:e=>({components:{pzPriceRange:y},setup(){return{args:e}},template:'<pz-price-range v-bind="args" />'})},n={},o={args:{separator:"to"}},c={args:{price:{currency:"UAH"}}};var v,z,_;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(_=(z=n.parameters)==null?void 0:z.docs)==null?void 0:_.source}}};var k,S,T;o.parameters={...o.parameters,docs:{...(k=o.parameters)==null?void 0:k.docs,source:{originalSource:`{
|
|
2
2
|
args: {
|
|
3
3
|
separator: "to"
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as M}from"./PzText-
|
|
1
|
+
import{P as M}from"./PzText-BNnHsQnX.js";import{p as L}from"./configs-CtUh_XBV.js";import{e as B,f as a,B as t,C as r,y as h,x as E,g as f,c as m,o as s,D as V,t as $}from"./iframe-BujghGem.js";import{_ as I}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./preload-helper-C1FmrZbK.js";const N="left",O="both",n=34,i=24,y="M7.71255 0C9.90191 0 11.7709 0.829118 13.3195 2.47995C14.0594 3.24985 14.6392 4.1752 15.074 5.27822C15.5088 6.37384 15.7224 7.48427 15.7224 8.5947C15.7224 10.9414 14.9367 13.3177 13.3576 15.7236C11.7785 18.1296 9.66543 20.1727 7.02599 21.8532C4.79085 23.2819 3.02868 24 1.76236 24C1.25125 24 0.831685 23.8519 0.503662 23.5558C0.175638 23.2597 0.0078125 22.8674 0.0078125 22.3714C0.0078125 21.6311 0.488405 21.0167 1.45722 20.5207C3.76864 19.3584 5.46215 18.211 6.53014 17.0783C7.54472 16.0197 8.05583 15.2424 8.05583 14.7465C8.05583 14.2505 7.6744 13.9914 6.91156 13.8951L6.41571 13.8211L5.84358 13.7841C4.1882 13.5398 2.8456 12.7921 1.81576 11.541C0.785914 10.2899 0.26718 8.77977 0.26718 7.00309C0.26718 5.2264 0.900341 3.59778 2.17429 2.26527C3.6237 0.75509 5.46978 0 7.71255 0Z",z="M25.9899 0C28.1793 0 30.0482 0.829118 31.5968 2.47995C32.3368 3.24985 32.9165 4.1752 33.3513 5.27822C33.7862 6.37384 33.9998 7.48427 33.9998 8.5947C33.9998 10.9414 33.214 13.3177 31.6349 15.7236C30.0559 18.1296 27.9428 20.1727 25.3033 21.8532C23.0606 23.2819 21.306 24 20.0397 24C19.5286 24 19.109 23.8519 18.781 23.5558C18.453 23.2597 18.2852 22.8674 18.2852 22.3714C18.2852 21.6311 18.7657 21.0167 19.7346 20.5207C22.046 19.3584 23.7395 18.211 24.8075 17.0783C25.8221 16.0197 26.3332 15.2424 26.3332 14.7465C26.3332 14.2505 25.9517 13.9914 25.1889 13.8951L24.6931 13.8211L24.1209 13.7841C22.4655 13.5398 21.1229 12.7921 20.0931 11.541C19.0633 10.2973 18.5445 8.77977 18.5445 7.00309C18.5445 5.2264 19.1777 3.59778 20.4516 2.26527C21.901 0.762492 23.7471 0.00740284 25.9823 0.00740284L25.9899 0Z",R={key:0,class:"pz-quote__mark pz-quote__mark--open","aria-hidden":"true"},D=["width","height","viewBox"],F=["d"],H=["d"],K={key:1,class:"pz-quote__mark pz-quote__mark--close","aria-hidden":"true"},U=["width","height","viewBox"],W=["d"],G=["d"],u=B({name:"PzQuote",__name:"PzQuote",props:{text:{default:""},align:{default:N},marks:{default:O},italic:{type:Boolean,default:!0},typography:{default:void 0}},setup(e){const o=e,d=m(()=>o.marks==="both"||o.marks==="open"),Q=m(()=>o.marks==="both"||o.marks==="close"),S=m(()=>o.typography?`pz-typography--${o.typography}`:null);return(A,J)=>(s(),a("figure",{class:f(["pz-quote",[`pz-quote--${e.align}`,{"pz-quote--italic":e.italic}]])},[d.value?(s(),a("span",R,[(s(),a("svg",{class:"pz-quote__mark-icon",width:t(n),height:t(i),viewBox:`0 0 ${t(n)} ${t(i)}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[r("path",{d:t(y),fill:"currentColor"},null,8,F),r("path",{d:t(z),fill:"currentColor"},null,8,H)],8,D))])):h("",!0),r("blockquote",{class:f(["pz-quote__body",S.value])},[E(A.$slots,"default",{},()=>[V($(e.text),1)],!0)],2),Q.value?(s(),a("span",K,[(s(),a("svg",{class:"pz-quote__mark-icon",width:t(n),height:t(i),viewBox:`0 0 ${t(n)} ${t(i)}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[r("path",{d:t(y),fill:"currentColor"},null,8,W),r("path",{d:t(z),fill:"currentColor"},null,8,G)],8,U))])):h("",!0)],2))}}),g=I(u,[["__scopeId","data-v-dbd074bb"]]);u.__docgenInfo=Object.assign({displayName:u.name??u.__name},{name:"PzQuote",exportName:"default",displayName:"PzQuote",description:"",tags:{},props:[{name:"text",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'""'}},{name:"align",required:!1,type:{name:"PzQuoteAlign"},defaultValue:{func:!1,value:"DEFAULT_ALIGN"}},{name:"marks",required:!1,type:{name:"PzQuoteMarks"},defaultValue:{func:!1,value:"DEFAULT_MARKS"}},{name:"italic",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"typography",required:!1,type:{name:"PzTextVariant"},defaultValue:{func:!1,value:"undefined"}}],slots:[{name:"default"}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Text/PzQuote/PzQuote.vue"]});const k="Я захоплювався ідеєю Prozorro з самого початку її заснування, і мені дуже імпонує ця історія. Адже люди, які наважилися ламати корупційну систему в держтендерах, забезпечили державі вихід на якісно новий рівень відкритості. Тож коли я отримав пропозицію приєднатися до Prozorro, навіть не розмірковував.",j=[{kicker:"Marks on both sides",marks:"both",align:"left"},{kicker:"Centered",marks:"both",align:"center"},{kicker:"Opening mark only",marks:"open",align:"left"},{kicker:"No marks, upright text",marks:"none",align:"left",italic:!1}],X=e=>`<template>
|
|
2
2
|
<PzQuote ${[`text="${e.text}"`,e.align!=="left"?`align="${e.align}"`:null,e.marks!=="both"?`marks="${e.marks}"`:null,e.italic===!1?':italic="false"':null,e.typography?`typography="${e.typography}"`:null].filter(d=>!!d).join(" ")} />
|
|
3
3
|
</template>`,Z={title:"Components/Text/PzQuote",component:g,parameters:{prototype:{caption:"Quote component",note:"Pull quote with decorative opening/closing marks and slot-driven content."},docs:{description:{component:"Use `PzQuote` for editorial pull quotes. It renders a semantic `figure`/`blockquote` structure, draws decorative quote marks (hidden from assistive tech) and defaults to italic `body-regular` copy. Mark color and size are overridable through the `--pz-quote-mark-color` and `--pz-quote-mark-size` CSS variables."},source:{transform:(e,o)=>X(o.args??Z.args)}}},args:{text:k,align:"left",marks:"both",italic:!0,typography:void 0},argTypes:{text:{control:"text",description:"Quote text rendered when the default slot is not used."},align:{control:"inline-radio",options:["left","center"],description:"Text and marks alignment."},marks:{control:"inline-radio",options:["both","open","close","none"],description:"Which decorative quote marks are rendered."},italic:{control:"boolean",description:"Renders the quote text in italic."},typography:{control:"select",options:[void 0,...L],description:"Overrides typography using a PzText variant."}},render:e=>({components:{pzQuote:g},setup(){return{args:e,quoteStories:j,sampleText:k}},template:`
|
|
4
4
|
<div class="pz-quote-story">
|
package/dist/app/assets/{PzRadioGroup.stories-CdyXLN-c.js → PzRadioGroup.stories-Dk-7iDfn.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as w,f as i,G as k,F as C,g as b,o as n,C as p,x as g,D as S,t as _,L as v,y as R,r as f,w as O}from"./iframe-
|
|
1
|
+
import{e as w,f as i,G as k,F as C,g as b,o as n,C as p,x as g,D as S,t as _,L as v,y as R,r as f,w as O}from"./iframe-BujghGem.js";import{P as $}from"./PzLabel-D0dwFrER.js";import{P as L}from"./PzText-BNnHsQnX.js";import{_ as B}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./preload-helper-C1FmrZbK.js";const N=["aria-disabled"],q=["for"],A=["id","name","value","checked","disabled","onChange"],F={class:"pz-radio-group-label"},I={key:0,class:"pz-radio-group-content"},c=w({name:"PzRadioGroup",__name:"PzRadioGroup",props:{modelValue:{type:[String,Number,Boolean],default:void 0},name:{},disabled:{type:Boolean,default:!1},mode:{default:"default"},options:{default:()=>[]},optionClass:{default:""}},emits:["update:modelValue"],setup(e,{emit:s}){const l=e,m=s,V=o=>Object.is(l.modelValue,o),G=o=>m("update:modelValue",o),T=(o,d)=>o.id??`${l.name}-${String(d+1)}`,t=(o,d)=>({option:o,value:o.value,checked:V(o.value),disabled:!!(l.disabled||o.disabled),id:T(o,d),name:l.name});return(o,d)=>(n(),i("div",{class:b(["pz-radio-group",e.mode]),"aria-disabled":e.disabled,role:"radiogroup"},[(n(!0),i(k,null,C(e.options,(a,r)=>(n(),i("label",{key:t(a,r).id,class:b(["pz-radio-group-option",[e.optionClass,{disabled:t(a,r).disabled}]]),for:t(a,r).id},[p("input",{id:t(a,r).id,name:e.name,value:String(a.value),checked:t(a,r).checked,disabled:t(a,r).disabled,type:"radio",class:"pz-radio-group-input",onChange:U=>G(a.value)},null,40,A),d[0]||(d[0]=p("span",{class:"pz-radio-group-control","aria-hidden":"true"},[p("span",{class:"pz-radio-group-dot"})],-1)),p("span",F,[g(o.$slots,"default",v({ref_for:!0},t(a,r)),()=>[S(_(a.label),1)],!0)]),o.$slots.content&&t(a,r).checked?(n(),i("div",I,[g(o.$slots,"content",v({ref_for:!0},t(a,r)),void 0,!0)])):R("",!0)],10,q))),128))],10,N))}}),z=B(c,[["__scopeId","data-v-21d7c0d8"]]);c.__docgenInfo=Object.assign({displayName:c.name??c.__name},{name:"PzRadioGroup",exportName:"default",displayName:"PzRadioGroup",description:"",tags:{},props:[{name:"modelValue",required:!1,type:{name:"PzRadioGroupValue"},defaultValue:{func:!1,value:"undefined"}},{name:"name",required:!0,type:{name:"string"}},{name:"disabled",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"mode",required:!1,type:{name:"union",elements:[{name:'"default"'},{name:'"accordion"'}]},defaultValue:{func:!1,value:'"default"'}},{name:"options",required:!0,type:{name:"Array",elements:[{name:"PzRadioGroupOption"}]},defaultValue:{func:!1,value:"() => []"}},{name:"optionClass",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'""'}}],slots:[{name:"default",scoped:!0,bindings:[]},{name:"content",scoped:!0,bindings:[]}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Form/PzRadioGroup/PzRadioGroup.vue"]});const y=[{label:"Text radiobutton",value:"one"},{label:"Text radiobutton",value:"two"},{label:"Text radiobutton",value:"three"},{label:"Text radiobutton",value:"four"}],j=[{label:"Text radiobutton",value:"one"},{label:"Text checkboxText checkboxText checkbox",value:"two"},{label:"Text radiobutton",value:"three"},{label:"Text radiobutton",value:"four"},{label:"Text radiobutton",value:"five"}],D=e=>{const s=[`name="${e.name}"`,e.mode!=="default"?`mode="${e.mode}"`:null,e.disabled?':disabled="true"':null].filter(l=>!!l).join(" ");return`<template>
|
|
2
2
|
<PzLabel label="${e.heading}">
|
|
3
3
|
<PzRadioGroup
|
|
4
4
|
v-model="selectedValue"
|
package/dist/app/assets/{PzRouterLink.stories-az-NDOi0.js → PzRouterLink.stories-CqZcq44z.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as v,J as b,q as y,v as l,B as s,R as k,o as z,E as x,K as P,x as p,L as w,c as R,M as _}from"./iframe-
|
|
1
|
+
import{e as v,J as b,q as y,v as l,B as s,R as k,o as z,E as x,K as P,x as p,L as w,c as R,M as _}from"./iframe-BujghGem.js";import{p as L,a as S}from"./configs-DshpCAYO.js";import{_ as V}from"./PzIcon-D60K-iuC.js";import{P as T}from"./PzText-BNnHsQnX.js";import{p as $}from"./configs-CtUh_XBV.js";import{P as A}from"./PzLink-fkoQGiBH.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const n=v({name:"PzRouterLink",inheritAttrs:!1,__name:"PzRouterLink",props:{to:{},replace:{type:Boolean,default:!1},variant:{default:"primary"},target:{default:"_self"},rel:{default:void 0},disabled:{type:Boolean,default:!1},inline:{type:Boolean,default:!0},bold:{type:Boolean,default:!1},italic:{type:Boolean,default:!1},lineThrough:{type:Boolean,default:!1},typography:{}},setup(e){const t=e,o=b(),r=(a,u)=>{t.disabled||t.target!=="_self"||u(a)};return(a,u)=>(z(),y(s(k),{custom:"",to:t.to,replace:t.replace},{default:l(({href:m,navigate:h})=>[x(s(A),w(s(o),{href:m,variant:t.variant,target:t.target,rel:t.rel,disabled:t.disabled,inline:t.inline,bold:t.bold,italic:t.italic,"line-through":t.lineThrough,typography:t.typography,onClick:g=>r(g,h)}),P({default:l(()=>[p(a.$slots,"default")]),_:2},[a.$slots.prefix?{name:"prefix",fn:l(()=>[p(a.$slots,"prefix")]),key:"0"}:void 0,a.$slots.suffix?{name:"suffix",fn:l(()=>[p(a.$slots,"suffix")]),key:"1"}:void 0]),1040,["href","variant","target","rel","disabled","inline","bold","italic","line-through","typography","onClick"])]),_:3},8,["to","replace"]))}});n.__docgenInfo=Object.assign({displayName:n.name??n.__name},{name:"PzRouterLink",exportName:"default",displayName:"PzRouterLink",description:"",tags:{},props:[{name:"to",required:!0,type:{name:"PzRouterLinkTo"}},{name:"replace",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"variant",defaultValue:{func:!1,value:'"primary"'}},{name:"target",defaultValue:{func:!1,value:'"_self"'}},{name:"rel",defaultValue:{func:!1,value:"undefined"}},{name:"disabled",defaultValue:{func:!1,value:"false"}},{name:"inline",defaultValue:{func:!1,value:"true"}},{name:"bold",defaultValue:{func:!1,value:"false"}},{name:"italic",defaultValue:{func:!1,value:"false"}},{name:"lineThrough",defaultValue:{func:!1,value:"false"}}],slots:[{name:"prefix"},{name:"default"},{name:"suffix"}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Actions/PzRouterLink/PzRouterLink.vue"]});const B=e=>{const o=[`to="${typeof e.to=="string"?e.to:JSON.stringify(e.to)}"`,e.variant!=="primary"?`variant="${e.variant}"`:null,e.target!=="_self"?`target="${e.target}"`:null,e.disabled?':disabled="true"':null,e.inline===!1?':inline="false"':null,e.bold?':bold="true"':null,e.italic?':italic="true"':null,e.lineThrough?':line-through="true"':null,e.replace?':replace="true"':null].filter(a=>!!a).join(" "),r=[e.showPrefix?` <template #prefix>
|
|
2
2
|
<PzIcon name="arrow_back" size="16" />
|
|
3
3
|
</template>`:null,` ${e.label}`,e.showSuffix?` <template #suffix>
|
|
4
4
|
<PzIcon name="arrow_forward" size="16" />
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as i,w as n,z as h}from"./iframe-
|
|
1
|
+
import{r as i,w as n,z as h}from"./iframe-BujghGem.js";import{P as v}from"./PzText-BNnHsQnX.js";import{P as a}from"./PzScrollTo-KuzwcV-o.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const T=["auto","instant","smooth"],d=24,y="100vh",z=o=>{const t=[o.behavior!=="smooth"?`behavior: "${o.behavior}"`:null,o.offsetTop!==d?`offsetTop: ${o.offsetTop}`:null].filter(l=>!!l).join(", ");return`<script setup lang="ts">
|
|
2
2
|
import { PzScrollTo } from "@prozorro/prozorro-ui";
|
|
3
3
|
|
|
4
4
|
const scrollToTenderDocuments = (): void => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as d}from"./PzText-
|
|
1
|
+
import{P as d}from"./PzText-BNnHsQnX.js";import{e as m,q as y,v as h,n as z,u as f,c as v,o as g,C as s,x as i}from"./iframe-BujghGem.js";import{_ as b}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./preload-helper-C1FmrZbK.js";const x={class:"pz-search-result-item-layout-surface"},S={class:"pz-search-result-item-layout-grid"},L={class:"pz-search-result-item-layout-main"},_={class:"pz-search-result-item-layout-aside"},r=m({name:"PzSearchResultItemLayout",__name:"PzSearchResultItemLayout",props:{as:{default:"li"},desktopColumns:{default:"minmax(0, 1fr) minmax(240px, 292px)"}},setup(e){const t=e,o=v(()=>({"--pz-search-result-item-layout-columns-lg":t.desktopColumns}));return(l,C)=>(g(),y(f(t.as),{class:"pz-search-result-item-layout",style:z(o.value)},{default:h(()=>[s("div",x,[s("div",S,[s("div",L,[i(l.$slots,"first-col",{},void 0,!0)]),s("div",_,[i(l.$slots,"second-col",{},void 0,!0)])])])]),_:3},8,["style"]))}}),c=b(r,[["__scopeId","data-v-1378e59b"]]);r.__docgenInfo=Object.assign({displayName:r.name??r.__name},{name:"PzSearchResultItemLayout",exportName:"default",displayName:"PzSearchResultItemLayout",description:"",tags:{},props:[{name:"as",required:!1,type:{name:"PzSearchResultItemLayoutTag"},defaultValue:{func:!1,value:'"li"'}},{name:"desktopColumns",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'"minmax(0, 1fr) minmax(240px, 292px)"'}}],slots:[{name:"first-col"},{name:"second-col"}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Layouts/PzSearchResultItemLayout/PzSearchResultItemLayout.vue"]});const I=["li","article","div"],P=[{id:"tenders",eyebrow:"Procurement results",title:"Tender search",resultLabel:"Знайдено більше 10 000 закупівель",sortLabel:"за замовчуванням",cards:[{id:"tender-1",title:"Вогнегасник ВП-5(з)",status:"Завершена",organization:'ДЕРЖАВНА УСТАНОВА "ЛУЦЬКИЙ СЛІДЧИЙ ІЗОЛЯТОР" • Луцьк',identifier:"ID: UA-2026-04-16-007213-a",metrics:[{id:"budget",label:"Очікувана вартість",value:"4 830,00 UAH",accent:"success"}]},{id:"tender-2",title:'Електрична енергія, без розподілу (постачальник "останньої надії")',status:"Підготовка угоди",organization:"Ратнівський дитячий садок №2 Ратнівської селищної ради • Ковельський р-н, селище міського типу Ратне",identifier:"ID: UA-2026-04-16-007209-a",metrics:[{id:"budget",label:"Очікувана вартість",value:"54 741,16 UAH",accent:"success"}]}]},{id:"qualifications",eyebrow:"Selection results",title:"Framework selection search",resultLabel:"Знайдено 470 відборів",sortLabel:"за замовчуванням",cards:[{id:"selection-1",title:"33730000-6 Офтальмологічні вироби та коригувальні лінзи",status:"Активний до 5 бер. 23:00",organization:"",identifier:"ID: UA-F-2026-04-06-000001",metrics:[{id:"clarification",label:"Уточнення до:",value:"20 квіт. 23:00"},{id:"published",label:"Оголошено:",value:"6 квіт. 2026"}]},{id:"selection-2",title:"33650000-1 Загальні протиінфекційні засоби для системного застосування",status:"Активний до 13 лют. 23:00",organization:"",identifier:"ID: UA-F-2026-03-17-000001",metrics:[{id:"clarification",label:"Уточнення до:",value:"31 бер. 23:00"},{id:"published",label:"Оголошено:",value:"17 бер. 2026"}]}]},{id:"plans",eyebrow:"Planning results",title:"Annual plan search",resultLabel:"Знайдено більше 10 000 планів",sortLabel:"за замовчуванням",cards:[{id:"plan-1",title:"ДК 021:2015 по коду: 22460000-2 Рекламні матеріали, каталоги товарів та посібники",status:"22460000-2: Рекламні матеріали, каталоги товарів та посібники",organization:"Державний ліцей з посиленою військово-фізичною підготовкою «Слобожанський»",identifier:"ID: UA-P-2026-04-16-009442-a",metrics:[{id:"budget",label:"Планова сума закупівлі",value:"700,00 UAH",accent:"success"},{id:"date",label:"Планова дата",value:"березень 2026"}]},{id:"plan-2",title:"Членський внесок за 2026 рік",status:"98100000-4: Послуги членських організацій",organization:"Ганнівська сільська рада Новоукраїнського району Кіровоградської області",identifier:"ID: UA-P-2026-04-16-009435-a",metrics:[{id:"budget",label:"Планова сума закупівлі",value:"3 572,00 UAH",accent:"success"},{id:"date",label:"Планова дата",value:"квітень 2026"}]}]}],k=e=>`<template>
|
|
2
2
|
<PzSearchResultItemLayout ${[e.as&&e.as!=="li"?`as="${e.as}"`:null,e.desktopColumns&&e.desktopColumns!=="minmax(0, 1fr) minmax(240px, 292px)"?`desktop-columns="${e.desktopColumns}"`:null].filter(o=>!!o).join(" ")}>
|
|
3
3
|
<template #first-col>
|
|
4
4
|
<a href="#">Result title</a>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as O,f as m,E as f,v as p,B as d,n as S,g as b,c as s,o as g,C as v,G as $,F as D,x as V,D as P,t as _,L,r as I}from"./iframe-
|
|
1
|
+
import{e as O,f as m,E as f,v as p,B as d,n as S,g as b,c as s,o as g,C as v,G as $,F as D,x as V,D as P,t as _,L,r as I}from"./iframe-BujghGem.js";import{u as T}from"./index-FCD_Qkdp.js";import{k as W}from"./floating-vue-l4TTVMfI.js";import{l as q}from"./lodash-CdDiHlzQ.js";import{_ as A}from"./PzIcon-D60K-iuC.js";import{P as R}from"./PzLabel-D0dwFrER.js";import{_ as j}from"./_plugin-vue_export-helper-DlAUqK2U.js";const G=6,M=["id"],Z=["id","disabled","aria-controls","aria-expanded","aria-label"],H={class:"pz-select-trigger-text"},J=["id","aria-labelledby"],K=["id","aria-selected","disabled","onClick"],o=O({name:"PzSelect",__name:"PzSelect",props:{name:{},options:{},modelValue:{type:[String,Number,Boolean],default:void 0},label:{default:""},placeholder:{default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},variant:{default:"field"},width:{default:void 0}},emits:["update:modelValue"],setup(l,{emit:x}){const a=l,E=x,y=I(null),{width:N}=T(y),i=s(()=>a.options.find(e=>q.isEqual(e.value,a.modelValue))),u=s(()=>a.variant==="field"),k=s(()=>{var e;return((e=i.value)==null?void 0:e.label)??a.placeholder}),B=s(()=>{var e;return a.label||((e=i.value)==null?void 0:e.label)||a.placeholder||a.name}),C=s(()=>{const e=Math.round(N.value);return!e||!u.value?{}:{inlineSize:`${String(e)}px`}}),c=e=>q.isEqual(e,a.modelValue),h=(e,r)=>e.id??`${a.name}-trigger-option-${String(r+1)}`,w=e=>({option:e,selected:c(e.value),disabled:!!e.disabled}),F=(e,r)=>{E("update:modelValue",e),r()};return(e,r)=>(g(),m("div",{id:l.name,class:b(["pz-select",{"is-field":u.value,"is-inline":!u.value}]),style:S({width:l.width})},[f(d(R),{label:a.label,for:l.name+"-trigger",required:a.required,disabled:a.disabled},{default:p(()=>[f(d(W),{class:"pz-select-dropdown",theme:"dropdown",placement:"bottom-start",container:"#"+l.name,distance:d(G),disabled:a.disabled},{default:p(({shown:n})=>[v("button",{id:l.name+"-trigger",ref_key:"triggerRef",ref:y,type:"button",class:b(["pz-select-trigger",{"is-open":n,"is-placeholder":!i.value}]),disabled:a.disabled,"aria-controls":l.name+"-menu","aria-expanded":n?"true":"false","aria-haspopup":"listbox","aria-label":a.label?void 0:B.value},[v("span",H,[V(e.$slots,"selected",{option:i.value,placeholder:a.placeholder},()=>[P(_(k.value),1)],!0)]),f(d(A),{name:"expand_more",size:"20",class:"pz-select-trigger-icon"})],10,Z)]),popper:p(({hide:n})=>[v("div",{id:l.name+"-menu",class:"pz-select-menu",style:S(C.value),role:"listbox","aria-labelledby":l.name+"-trigger"},[(g(!0),m($,null,D(a.options,(t,z)=>(g(),m("button",{id:h(t,z),key:h(t,z),type:"button",role:"option",class:b(["pz-select-option",{"is-active":c(t.value),"is-disabled":t.disabled}]),"aria-selected":c(t.value)?"true":"false",disabled:t.disabled,onClick:Q=>F(t.value,n)},[V(e.$slots,"default",L({ref_for:!0},w(t)),()=>[P(_(t.label),1)],!0)],10,K))),128))],12,J)]),_:3},8,["container","distance","disabled"])]),_:3},8,["label","for","required","disabled"])],14,M))}}),se=j(o,[["__scopeId","data-v-c794c950"]]);o.__docgenInfo=Object.assign({displayName:o.name??o.__name},{name:"PzSelect",exportName:"default",displayName:"PzSelect",description:"",tags:{},props:[{name:"name",required:!0,type:{name:"string"}},{name:"options",required:!0,type:{name:"Array",elements:[{name:"PzFormSelectOption"}]}},{name:"modelValue",required:!1,type:{name:"PzFormSelectValue"},defaultValue:{func:!1,value:"undefined"}},{name:"label",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'""'}},{name:"placeholder",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'""'}},{name:"disabled",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"required",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"variant",required:!1,type:{name:"PzSelectVariant"},defaultValue:{func:!1,value:'"field"'}},{name:"width",required:!1,type:{name:"string"},defaultValue:{func:!1,value:"undefined"}}],slots:[{name:"selected",scoped:!0,bindings:[{name:"option",title:"binding"},{name:"placeholder",title:"binding"}]},{name:"default",scoped:!0,bindings:[]}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Form/PzSelect/PzSelect.vue"]});export{se as P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,w as S}from"./iframe-
|
|
1
|
+
import{r as t,w as S}from"./iframe-BujghGem.js";import{_ as h}from"./PzIcon-D60K-iuC.js";import{P as b}from"./PzText-BNnHsQnX.js";import{P as n}from"./PzSelect-Dr0nh9CG.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./index-FCD_Qkdp.js";import"./floating-vue-l4TTVMfI.js";import"./lodash-CdDiHlzQ.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./PzLabel-D0dwFrER.js";const O=["field","inline"],i=[{label:"Option 0",value:0},{label:"Option 1",value:1},{label:"Option 2",value:2},{label:"Option 3",value:3},{label:"Option 4",value:4},{label:"Option 5",value:5},{label:"Option 6",value:6},{label:"Option 7",value:7},{label:"Option 8",value:8},{label:"Option 9",value:9}],V=[{label:"Чернетка",value:"draft"},{label:"Активний тендер",value:"active"},{label:"Архів",value:"archive"}],P=[{label:"Пропозиція з коротким формулюванням",value:"short"},{label:"Пропозиція з довшою назвою для перевірки перенесення і ширини меню",value:"long"},{label:"Недоступний варіант",value:"disabled",disabled:!0}],r=3,k=e=>`<template>
|
|
2
2
|
<PzSelect
|
|
3
3
|
v-model="value"
|
|
4
4
|
${[`name="${e.name}"`,e.label?`label="${e.label}"`:null,e.placeholder?`placeholder="${e.placeholder}"`:null,e.variant!=="field"?`variant="${e.variant}"`:null,e.required?':required="true"':null,e.disabled?':disabled="true"':null].filter(a=>!!a).join(" ")}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as s,f as l,n as o,g as r,c as i,o as u}from"./iframe-
|
|
1
|
+
import{e as s,f as l,n as o,g as r,c as i,o as u}from"./iframe-BujghGem.js";import{_ as d}from"./_plugin-vue_export-helper-DlAUqK2U.js";const e=s({name:"PzSkeleton",__name:"PzSkeleton",props:{width:{default:"100%"},height:{default:"16px"},radius:{default:"8px"},animated:{type:Boolean,default:!0}},setup(t){const a=t,n=i(()=>({width:a.width,height:a.height,borderRadius:a.radius}));return(p,c)=>(u(),l("div",{class:r(["pz-skeleton",{"pz-skeleton--static":!t.animated}]),style:o(n.value),"aria-hidden":"true"},null,6))}}),h=d(e,[["__scopeId","data-v-f3a7d77e"]]);e.__docgenInfo=Object.assign({displayName:e.name??e.__name},{name:"PzSkeleton",exportName:"default",displayName:"PzSkeleton",description:"",tags:{},props:[{name:"width",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'"100%"'}},{name:"height",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'"16px"'}},{name:"radius",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'"8px"'}},{name:"animated",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"true"}}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Display/PzSkeleton/PzSkeleton.vue"]});export{h as P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as r}from"./PzText-
|
|
1
|
+
import{P as r}from"./PzText-BNnHsQnX.js";import{P as t}from"./PzSkeleton-BM8HObKK.js";import"./iframe-BujghGem.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const h={title:"Components/Display/PzSkeleton",component:t,parameters:{prototype:{caption:"PzSkeleton",note:"Reusable loading placeholder for lines, blocks, and lightweight preview cards. Used by `PzAccordion` as the default loading surface."},docs:{description:{component:"Use `PzSkeleton` for loading placeholders. Control its dimensions through `width`, `height`, and `radius`, and disable shimmer with `animated=false` when a static placeholder is preferred."}}},args:{width:"240px",height:"24px",radius:"8px",animated:!0},argTypes:{width:{control:"text",description:"Skeleton width."},height:{control:"text",description:"Skeleton height."},radius:{control:"text",description:"Border radius."},animated:{control:"boolean",description:"Enables the shimmer animation."}},render:a=>({components:{pzSkeleton:t,pzText:r},setup(){return{args:a}},template:`
|
|
2
2
|
<div class="pz-skeleton-story">
|
|
3
3
|
<section class="pz-skeleton-story-board">
|
|
4
4
|
<div class="pz-skeleton-story-header">
|