@prozorro/prozorro-ui 0.1.4-beta → 0.1.5-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-CZ8kaVaO.js → Color-FRDS63T2-Bcqlz3-e.js} +1 -1
- package/dist/app/assets/{Colors.stories-CzAE_knc.js → Colors.stories-DUmagO3j.js} +1 -1
- package/dist/app/assets/{Display.stories-aYF4iG8M.js → Display.stories-CjiOS8sm.js} +1 -1
- package/dist/app/assets/{DocsRenderer-LL677BLK-C04iENEm.js → DocsRenderer-LL677BLK-yOiTyWji.js} +5 -5
- package/dist/app/assets/{Gap.stories-BIVV-rx9.js → Gap.stories-DNUI2cYa.js} +1 -1
- package/dist/app/assets/{Grid.stories-CsDevRN2.js → Grid.stories-BJHGof5W.js} +1 -1
- package/dist/app/assets/{PzAccordion-N7V1Ja9h.js → PzAccordion-DREFT4TF.js} +1 -1
- package/dist/app/assets/{PzAccordion.stories-14VanN66.js → PzAccordion.stories-Dguda5es.js} +1 -1
- package/dist/app/assets/{PzAccordionTable.stories-D5hUbxR2.js → PzAccordionTable.stories-dca_T_42.js} +1 -1
- package/dist/app/assets/{PzArrayClamp.stories-ChSImrwF.js → PzArrayClamp.stories-plV4q0U1.js} +1 -1
- package/dist/app/assets/{PzBreadcrumb.stories-C7b4vOJ3.js → PzBreadcrumb.stories-CIUYlVEb.js} +1 -1
- package/dist/app/assets/{PzBtn-BZo2eIVF.js → PzBtn-Dr0RvJlF.js} +1 -1
- package/dist/app/assets/{PzBtn.stories-Cz_VznCR.js → PzBtn.stories-BTtpo_5K.js} +1 -1
- package/dist/app/assets/{PzCheckbox-dpz_Q9Fj.js → PzCheckbox-DcD64VfR.js} +1 -1
- package/dist/app/assets/{PzCheckbox.stories-BY5rLxk4.js → PzCheckbox.stories-DQJlBmr6.js} +1 -1
- package/dist/app/assets/{PzCheckboxGroup.stories-DwvJGQaS.js → PzCheckboxGroup.stories-BD57Mc8u.js} +1 -1
- package/dist/app/assets/{PzCopyToClipboard-BNf8Y1IZ.js → PzCopyToClipboard-Duwab6V7.js} +1 -1
- package/dist/app/assets/{PzCopyToClipboard.stories-BheEX6H1.js → PzCopyToClipboard.stories-M9I6q-z7.js} +1 -1
- package/dist/app/assets/{PzDate-CHUu7dUF.js → PzDate-DpQZ6SLC.js} +1 -1
- package/dist/app/assets/{PzDate.stories-CjlKhrrS.js → PzDate.stories-wD0vlfbu.js} +1 -1
- package/dist/app/assets/{PzDateRange.stories-8ZOXL5xm.js → PzDateRange.stories-B17ziIEV.js} +1 -1
- package/dist/app/assets/{PzDomHandler.stories-ClbA1oE3.js → PzDomHandler.stories-2ohjHfpn.js} +1 -1
- package/dist/app/assets/{PzDropdown.stories-Bn3q1xG1.js → PzDropdown.stories-DXefxVn1.js} +1 -1
- package/dist/app/assets/{PzFileInput.stories-Poo_9hgj.js → PzFileInput.stories-qVfasMFo.js} +1 -1
- package/dist/app/assets/{PzGrid.stories-CtwC_u9O.js → PzGrid.stories-CPz5HUg3.js} +1 -1
- package/dist/app/assets/{PzHint-CX-sBo8K.js → PzHint-BCwFXT-z.js} +1 -1
- package/dist/app/assets/{PzHint.stories-C7oCoHFy.js → PzHint.stories-BV71ySG_.js} +1 -1
- package/dist/app/assets/{PzIcon-DmhFr-JC.js → PzIcon-D24sfVws.js} +1 -1
- package/dist/app/assets/{PzIcon.stories-CvHEIWlc.js → PzIcon.stories-DRisBZ64.js} +1 -1
- package/dist/app/assets/{PzImage.stories-DF6VSFHO.js → PzImage.stories-NlZaxROV.js} +1 -1
- package/dist/app/assets/{PzImageInput.stories-DycRzTZh.js → PzImageInput.stories-MwcvoKGV.js} +1 -1
- package/dist/app/assets/{PzInfoBlockLayout.stories-ftvyBOdK.js → PzInfoBlockLayout.stories-B0bXEExz.js} +1 -1
- package/dist/app/assets/{PzInfoHint-DjTH7kv0.js → PzInfoHint-DtjvD8aP.js} +1 -1
- package/dist/app/assets/{PzInfoHint.stories-DMu0W3eL.js → PzInfoHint.stories-jgQ_n-iw.js} +1 -1
- package/dist/app/assets/{PzInput.stories-MHfEtZy1.js → PzInput.stories-ogjiJobz.js} +1 -1
- package/dist/app/assets/{PzInputDate.stories-DzQhbgq_.js → PzInputDate.stories-CY7J2OKT.js} +1 -1
- package/dist/app/assets/{PzInputNumber.stories-DWnwIU7n.js → PzInputNumber.stories-CCoKejdB.js} +1 -1
- package/dist/app/assets/{PzKeyValue-Dfzm5p4M.js → PzKeyValue-Cmrs5g7c.js} +1 -1
- package/dist/app/assets/{PzKeyValue.stories-Bn7Z5VYY.js → PzKeyValue.stories-CvfA63XD.js} +1 -1
- package/dist/app/assets/{PzLabel-DXQJZ7Y2.js → PzLabel-D8LuLvvb.js} +1 -1
- package/dist/app/assets/{PzLabel.stories-DEJoAJQt.js → PzLabel.stories-DuD-5DnK.js} +1 -1
- package/dist/app/assets/{PzLink-Dwvn1Tvn.js → PzLink-DQ_h0U4g.js} +1 -1
- package/dist/app/assets/{PzLink.stories-CzXEsyJ4.js → PzLink.stories-DbPESvS2.js} +1 -1
- package/dist/app/assets/{PzListNav-Bg4PUiBf.js → PzListNav-48WW1MWK.js} +1 -1
- package/dist/app/assets/{PzListNav.stories-DtluRiE6.js → PzListNav.stories-CHOc8f6W.js} +1 -1
- package/dist/app/assets/{PzLoader.stories-BfZRY5DL.js → PzLoader.stories-DrZGvr9s.js} +1 -1
- package/dist/app/assets/{PzMessages-8TKYB7Nz.js → PzMessages-D1DM-leP.js} +1 -1
- package/dist/app/assets/{PzMessages.stories-DBrowhFe.js → PzMessages.stories-CZgvrxW7.js} +1 -1
- package/dist/app/assets/{PzModal.stories-gU_cdlWi.js → PzModal.stories-AYCYM62W.js} +1 -1
- package/dist/app/assets/{PzMultiSelect.stories-DHagSFti.js → PzMultiSelect.stories-Sq02ATVs.js} +1 -1
- package/dist/app/assets/{PzNav.stories-CviAIKxM.js → PzNav.stories-CtYmbnp7.js} +1 -1
- package/dist/app/assets/{PzNumberFormat.stories-C7Se16sY.js → PzNumberFormat.stories-D_O5zCyH.js} +1 -1
- package/dist/app/assets/{PzPagination-7YZsxckd.js → PzPagination-HhzxdaVR.js} +1 -1
- package/dist/app/assets/{PzPagination.stories-CByiDew-.js → PzPagination.stories-COczmkN7.js} +1 -1
- package/dist/app/assets/{PzPaginationProvider.stories-Bizw0mSS.js → PzPaginationProvider.stories-CQnRDNJR.js} +1 -1
- package/dist/app/assets/{PzPrice-DU1MAWfD.js → PzPrice-BcIkv3ha.js} +1 -1
- package/dist/app/assets/{PzPrice.stories-Cr3pehdF.js → PzPrice.stories-BwtHCv2O.js} +1 -1
- package/dist/app/assets/{PzPriceFormat.stories-DY8Jyz7z.js → PzPriceFormat.stories-UHeHpzTi.js} +1 -1
- package/dist/app/assets/{PzPriceRange.stories-BZg9WX3j.js → PzPriceRange.stories-CHNvQ5H4.js} +1 -1
- package/dist/app/assets/{PzRadioGroup.stories-BTkI57jK.js → PzRadioGroup.stories-BbIKlBAQ.js} +1 -1
- package/dist/app/assets/{PzRouterLink.stories-BoKmb15m.js → PzRouterLink.stories-DKX4HGPu.js} +1 -1
- package/dist/app/assets/{PzScrollTo.stories-BVcEBPyx.js → PzScrollTo.stories-BIseLUps.js} +1 -1
- package/dist/app/assets/{PzSearchResultItemLayout.stories-CWmICIbx.js → PzSearchResultItemLayout.stories-B8Pcj-ZS.js} +1 -1
- package/dist/app/assets/{PzSelect-Cd5zjzyV.js → PzSelect-BzPECbNG.js} +1 -1
- package/dist/app/assets/{PzSelect.stories-Be4_n5p4.js → PzSelect.stories-D2m2AvwL.js} +1 -1
- package/dist/app/assets/{PzSkeleton-BXUX4_4Q.js → PzSkeleton-D9YIYvFW.js} +1 -1
- package/dist/app/assets/{PzSkeleton.stories-BbZmm6eU.js → PzSkeleton.stories-DnlbczYk.js} +1 -1
- package/dist/app/assets/{PzStatus-DAFM_F0-.js → PzStatus-DdniWLd0.js} +1 -1
- package/dist/app/assets/{PzStatus.stories-DNgOSBMi.js → PzStatus.stories-BQSWm5rj.js} +1 -1
- package/dist/app/assets/{PzTable-CV2wsaEF.js → PzTable-TOW-Mx5V.js} +1 -1
- package/dist/app/assets/{PzTable.stories-B87S4Zq7.js → PzTable.stories-CMJHGHdP.js} +1 -1
- package/dist/app/assets/{PzTablePaginationProvider.stories-BWTljYLK.js → PzTablePaginationProvider.stories-CVtkPVTK.js} +1 -1
- package/dist/app/assets/{PzTabs.stories-Dq4nGG-2.js → PzTabs.stories-Cpa99POC.js} +1 -1
- package/dist/app/assets/{PzTag-CAUymIFL.js → PzTag-CogK2BsT.js} +1 -1
- package/dist/app/assets/{PzTag.stories-CHJ-_iA5.js → PzTag.stories-CKxcvlAN.js} +1 -1
- package/dist/app/assets/PzText-C7e3sb8e.js +1 -0
- package/dist/app/assets/PzText-mmcCaXNv.css +1 -0
- package/dist/app/assets/PzText.stories-Gl8wt-nk.js +139 -0
- package/dist/app/assets/{PzTextClamp.stories-Btu1L6QM.js → PzTextClamp.stories-BRZtwLmn.js} +1 -1
- package/dist/app/assets/{PzTextarea.stories-CMF87OLl.js → PzTextarea.stories-BcSgT9zj.js} +1 -1
- package/dist/app/assets/{PzValidatorXSS.stories-DBFCiaDL.js → PzValidatorXSS.stories-D6EWePSI.js} +1 -1
- package/dist/app/assets/{Spacing.stories-htFO9wlu.js → Spacing.stories-DPYiP8sW.js} +1 -1
- package/dist/app/assets/{StaticPagination.composable-Dlu2CnrN.js → StaticPagination.composable-CgYFhFQP.js} +1 -1
- package/dist/app/assets/{Typography.stories-36Eludse.js → Typography.stories-BUPZ_7li.js} +1 -1
- package/dist/app/assets/{WithTooltip-65CFNBJE-DdH09Nn8.js → WithTooltip-65CFNBJE-BL-w359W.js} +1 -1
- package/dist/app/assets/configs-CtUh_XBV.js +1 -0
- package/dist/app/assets/{floating-vue-DGFXb4AU.js → floating-vue-DYPq9upl.js} +1 -1
- package/dist/app/assets/{floating-vue-BLeW4w9g.js → floating-vue-qFlhbltu.js} +1 -1
- package/dist/app/assets/{formatter-EIJCOSYU-T2XSLP7N.js → formatter-EIJCOSYU-GZQ60fh4.js} +1 -1
- package/dist/app/assets/{iframe-D6lHM2va.js → iframe-DAeXTYJe.js} +3 -3
- package/dist/app/assets/{iframe--Tl2Yf5z.css → iframe-Dzvy9uZQ.css} +1 -1
- package/dist/app/assets/{index-goqvuAGJ.js → index-VUE-4zG4.js} +1 -1
- package/dist/app/assets/{syntaxhighlighter-OH4MV7E3-ClZAdsVh.js → syntaxhighlighter-OH4MV7E3-elSx9c4f.js} +1 -1
- package/dist/app/iframe.html +2 -2
- package/dist/app/index.json +1 -1
- package/dist/app/project.json +1 -1
- package/dist/components/Layouts/PzGrid/types.d.ts +1 -1
- package/dist/components/Text/PzText/configs.d.ts +1 -1
- package/dist/components/Text/PzText/types.d.ts +1 -1
- package/dist/package.json +1 -1
- package/dist/prozorro-ui.cjs +1 -1
- package/dist/prozorro-ui.js +2 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/styles/abstract/_typography.scss +4 -0
- package/src/styles/base/_typography.scss +4 -0
- package/dist/app/assets/PzText-CUisHoBu.css +0 -1
- package/dist/app/assets/PzText-eUkARtOR.js +0 -1
- package/dist/app/assets/PzText.stories-xOpYfglq.js +0 -133
- package/dist/app/assets/configs-B15JgQZ-.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as V,f as r,g as P,v as k,y as A,C,q as m,u as g,F as i,D as u,t as l,c as t,o as n}from"./iframe-
|
|
1
|
+
import{e as V,f as r,g as P,v as k,y as A,C,q as m,u as g,F as i,D as u,t as l,c as t,o as n}from"./iframe-DAeXTYJe.js";import{g as D}from"./_commonjsHelpers-Cpj98o6Y.js";import{i as q,_ as E}from"./isObjectLike-zXfibqpL.js";import{P as F}from"./PzText-C7e3sb8e.js";import{M as B,P as b}from"./PzPriceFormat-CfJFOj05.js";import{a as c}from"./PzMessages-D1DM-leP.js";import{_ as w}from"./_plugin-vue_export-helper-DlAUqK2U.js";var M=E,L=q,O="[object Number]";function j(a){return typeof a=="number"||L(a)&&M(a)==O}var G=j;const z=D(G),R=["cancelled","unsuccessful"],$=14,U={class:"pz-price__amount"},o=V({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:B.SEVEN},notSpecifiedText:{},vatIncludedText:{},vatExcludedText:{},vatDifferenceLabel:{}},setup(a){const e=a,x=t(()=>e.notSpecifiedText??c("display.pzPrice.notSpecified")),N=t(()=>e.vatIncludedText??c("display.pzPrice.vatIncluded")),T=t(()=>e.vatExcludedText??c("display.pzPrice.vatExcluded")),_=t(()=>e.vatDifferenceLabel??c("display.pzPrice.vatDifferenceLabel")),d=t(()=>{var s,f,y;return z((s=e.value)==null?void 0:s.amount)||!!((f=e.value)!=null&&f.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>=$),S=t(()=>e.skin==="large"&&h.value?"pz-price--large-minify":`pz-price--${e.skin}`),I=t(()=>e.showStatusColor?R.includes(e.status)?"pz-price--fail":"pz-price--success":"");return(s,f)=>(n(),r("div",{class:P(["pz-price",[S.value,I.value]])},[a.label?(n(),k(C(F),{key:0,class:"pz-price__label",variant:a.typography},{default:A(()=>[u(l(a.label),1)]),_:1},8,["variant"])):m("",!0),g("p",U,[d.value&&a.value?(n(),r(i,{key:0},[u(l(p.value)+" ",1),g("span",{class:P(["pz-price__currency",{"pz-price__currency--inherit":a.inheritCurrencySize}])},[u(l(a.value.currency)+" ",1),a.showVat?(n(),r(i,{key:0},[a.value.valueAddedTaxIncluded?(n(),r(i,{key:0},[u(l(N.value)+" ",1),a.showAmountNet&&v.value?(n(),r(i,{key:0},[u(l(`(${_.value} ${v.value} ${a.value.currency})`),1)],64)):m("",!0)],64)):(n(),r(i,{key:1},[u(l(T.value),1)],64))],64)):m("",!0)],2)],64)):(n(),r(i,{key:1},[u(l(x.value),1)],64))])],2))}}),Y=w(o,[["__scopeId","data-v-29314576"]]);o.__docgenInfo=Object.assign({displayName:o.name??o.__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-
|
|
1
|
+
import{p as S}from"./configs-CtUh_XBV.js";import{M as o}from"./PzPriceFormat-CfJFOj05.js";import{P as i}from"./PzPrice-BcIkv3ha.js";import"./lodash-CdDiHlzQ.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-DAeXTYJe.js";import"./preload-helper-C1FmrZbK.js";import"./isObjectLike-zXfibqpL.js";import"./PzText-C7e3sb8e.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./PzMessages-D1DM-leP.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-DY8Jyz7z.js → PzPriceFormat.stories-UHeHpzTi.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-C7e3sb8e.js";import"./lodash-CdDiHlzQ.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-DAeXTYJe.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-BZg9WX3j.js → PzPriceRange.stories-CHNvQ5H4.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as Q,f as u,C as a,F as C,E as m,u as V,t as g,v as D,y as F,c as o,o as l,D as M}from"./iframe-
|
|
1
|
+
import{e as Q,f as u,C as a,F as C,E as m,u as V,t as g,v as D,y as F,c as o,o as l,D as M}from"./iframe-DAeXTYJe.js";import{i as O,P as f}from"./PzPrice-BcIkv3ha.js";import{P as U}from"./PzText-C7e3sb8e.js";import{a as P}from"./PzMessages-D1DM-leP.js";import{M as x}from"./PzPriceFormat-CfJFOj05.js";import{_ as q}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 B={class:"pz-price-range"},H={class:"pz-price-range__separator"},p=Q({name:"PzPriceRange",__name:"PzPriceRange",props:{price:{},notSpecifiedText:{},separator:{}},setup(s){const e=s,k=o(()=>e.notSpecifiedText??P("display.pzPriceRange.notSpecified")),N=o(()=>e.separator??P("display.pzPriceRange.separator")),A=o(()=>{var r;return{amount:(r=e.price)==null?void 0:r.lowerQuartile,currency:""}}),I=o(()=>{var r,d,t;return{amount:(r=e.price)==null?void 0:r.upperQuartile,currency:((d=e.price)==null?void 0:d.currency)||"UAH",valueAddedTaxIncluded:(t=e.price)==null?void 0:t.valueAddedTaxIncluded}});return(r,d)=>{var t;return l(),u("div",B,[a(O)((t=s.price)==null?void 0:t.lowerQuartile)?(l(),u(C,{key:0},[m(a(f),{value:A.value,"max-fraction-digits":a(x).TWO,skin:"medium"},null,8,["value","max-fraction-digits"]),V("span",H,g(N.value),1),m(a(f),{value:I.value,"max-fraction-digits":a(x).TWO,"show-vat":!0,skin:"medium"},null,8,["value","max-fraction-digits"])],64)):(l(),D(a(U),{key:1,variant:"h4-regular"},{default:F(()=>[M(g(k.value),1)]),_:1}))])}}}),y=q(p,[["__scopeId","data-v-bca0ec4f"]]);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"}}],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:s=>({components:{pzPriceRange:y},setup(){return{args:s}},template:'<pz-price-range v-bind="args" />'})},i={},n={args:{separator:"to"}},c={args:{price:{currency:"UAH"}}};var _,v,z;i.parameters={...i.parameters,docs:{...(_=i.parameters)==null?void 0:_.docs,source:{originalSource:"{}",...(z=(v=i.parameters)==null?void 0:v.docs)==null?void 0:z.source}}};var S,T,h;n.parameters={...n.parameters,docs:{...(S=n.parameters)==null?void 0:S.docs,source:{originalSource:`{
|
|
2
2
|
args: {
|
|
3
3
|
separator: "to"
|
|
4
4
|
}
|
package/dist/app/assets/{PzRadioGroup.stories-BTkI57jK.js → PzRadioGroup.stories-BbIKlBAQ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as w,f as i,F as k,G as S,g as b,o as n,u as p,z as g,D as _,t as C,L as v,q as R,r as f,w as O}from"./iframe-
|
|
1
|
+
import{e as w,f as i,F as k,G as S,g as b,o as n,u as p,z as g,D as _,t as C,L as v,q as R,r as f,w as O}from"./iframe-DAeXTYJe.js";import{P as $}from"./PzLabel-D8LuLvvb.js";import{P as L}from"./PzText-C7e3sb8e.js";import{_ as q}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./preload-helper-C1FmrZbK.js";const B=["aria-disabled"],N=["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,S(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)),()=>[_(C(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,N))),128))],10,B))}}),z=q(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-BoKmb15m.js → PzRouterLink.stories-DKX4HGPu.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as v,J as y,v as b,y as l,C as s,R as k,o as z,E as x,K as P,z as p,L as w,c as R,M as _}from"./iframe-
|
|
1
|
+
import{e as v,J as y,v as b,y as l,C as s,R as k,o as z,E as x,K as P,z as p,L as w,c as R,M as _}from"./iframe-DAeXTYJe.js";import{p as L,a as S}from"./configs-DshpCAYO.js";import{_ as V}from"./PzIcon-D24sfVws.js";import{P as T}from"./PzText-C7e3sb8e.js";import{p as $}from"./configs-CtUh_XBV.js";import{P as A}from"./PzLink-DQ_h0U4g.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=y(),r=(a,u)=>{t.disabled||t.target!=="_self"||u(a)};return(a,u)=>(z(),b(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,A as h}from"./iframe-
|
|
1
|
+
import{r as i,w as n,A as h}from"./iframe-DAeXTYJe.js";import{P as v}from"./PzText-C7e3sb8e.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-C7e3sb8e.js";import{e as m,v as y,y as h,n as z,x as f,c as v,o as g,u as s,z as i}from"./iframe-DAeXTYJe.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-53ce1156"]]);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,y as p,C as d,n as S,g as b,c as s,o as g,u as v,F as $,G as D,z as V,D as P,t as _,r as L,L as I}from"./iframe-
|
|
1
|
+
import{e as O,f as m,E as f,y as p,C as d,n as S,g as b,c as s,o as g,u as v,F as $,G as D,z as V,D as P,t as _,r as L,L as I}from"./iframe-DAeXTYJe.js";import{u as T}from"./index-VUE-4zG4.js";import{k as W}from"./floating-vue-DYPq9upl.js";import{l as q}from"./lodash-CdDiHlzQ.js";import{_ as A}from"./PzIcon-D24sfVws.js";import{P as R}from"./PzLabel-D8LuLvvb.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=L(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}),C=s(()=>{var e;return a.label||((e=i.value)==null?void 0:e.label)||a.placeholder||a.name}),w=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)}`,B=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:C.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(w.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",I({ref_for:!0},B(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-DAeXTYJe.js";import{_ as h}from"./PzIcon-D24sfVws.js";import{P as b}from"./PzText-C7e3sb8e.js";import{P as n}from"./PzSelect-BzPECbNG.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./index-VUE-4zG4.js";import"./floating-vue-DYPq9upl.js";import"./lodash-CdDiHlzQ.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./PzLabel-D8LuLvvb.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-DAeXTYJe.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-C7e3sb8e.js";import{P as t}from"./PzSkeleton-D9YIYvFW.js";import"./iframe-DAeXTYJe.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">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as o,v as r,y as u,g as p,x as l,c,o as i,u as d,z as m}from"./iframe-
|
|
1
|
+
import{e as o,v as r,y as u,g as p,x as l,c,o as i,u as d,z as m}from"./iframe-DAeXTYJe.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";const z=["auction-progress","auction-waiting","auction-success"],_={class:"pz-status__label"},s=o({name:"PzStatus",__name:"PzStatus",props:{variant:{default:"progress"},as:{default:"span"},typography:{}},setup(e){const a=e,t=c(()=>[`pz-status--${a.variant}`,a.typography?`pz-typography--${a.typography}`:null,{"pz-status--gradient":z.includes(a.variant)}]);return(n,y)=>(i(),r(l(a.as),{class:p(["pz-status",t.value])},{default:u(()=>[d("span",_,[m(n.$slots,"default",{},void 0,!0)])]),_:3},8,["class"]))}}),P=f(s,[["__scopeId","data-v-7325e2b7"]]);s.__docgenInfo=Object.assign({displayName:s.name??s.__name},{name:"PzStatus",exportName:"default",displayName:"PzStatus",description:"",tags:{},props:[{name:"variant",required:!1,type:{name:"PzStatusVariant"},defaultValue:{func:!1,value:'"progress"'}},{name:"as",required:!1,type:{name:"PzStatusTag"},defaultValue:{func:!1,value:'"span"'}},{name:"typography",required:!1,type:{name:"PzTextVariant"}}],slots:[{name:"default"}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Display/PzStatus/PzStatus.vue"]});export{P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as l}from"./PzText-
|
|
1
|
+
import{P as l}from"./PzText-C7e3sb8e.js";import{p as c}from"./configs-CtUh_XBV.js";import{P as s}from"./PzStatus-DdniWLd0.js";import"./iframe-DAeXTYJe.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const p=["inactive","hidden","active","monitoring","disabled","progress","auction-progress","auction-waiting","auction-success"],d=["span","div","li"],v=[{id:"hidden-review",variant:"hidden",label:"Очікує розгляду"},{id:"monitoring-accepted",variant:"monitoring",label:"Прийнято до розгляду"},{id:"inactive-without-review",variant:"inactive",label:"Залишено без розгляду"},{id:"inactive-stopped",variant:"inactive",label:"Розгляд припинено"},{id:"inactive-rejected",variant:"inactive",label:"Відмовлено в задоволенні"},{id:"active-satisfied",variant:"active",label:"Задоволено"},{id:"inactive-withdrawn",variant:"inactive",label:"Відкликано"},{id:"inactive-cancelled",variant:"inactive",label:"Скасовано"},{id:"active-fixed",variant:"active",label:"Порушення усунуто"}],u=[{id:"palette-hidden",variant:"hidden",label:"Текст"},{id:"palette-inactive",variant:"inactive",label:"Текст"},{id:"palette-active",variant:"active",label:"Текст"},{id:"palette-monitoring",variant:"monitoring",label:"Текст"},{id:"palette-disabled",variant:"disabled",label:"Текст"}],m=t=>`<template>
|
|
2
2
|
<PzStatus ${[t.variant!=="progress"?`variant="${t.variant}"`:null,t.as!=="span"?`as="${t.as}"`:null].filter(o=>!!o).join(" ")}>${t.label}</PzStatus>
|
|
3
3
|
</template>`,g={title:"Components/Display/PzStatus",component:s,parameters:{prototype:{caption:"Status component",note:"Aligned with Figma node 76:1113: compact filled badges with 3px radius, white label text, optional indicator, and multiline support."},docs:{description:{component:"Use `PzStatus` for semantic state labels. The component matches the design-system badge treatment from Figma and keeps semantic color variants, including gradient auction states."},source:{transform:(t,i)=>m(i.args??g.args)}}},args:{variant:"progress",as:"span",typography:void 0,label:"Очікує розгляду"},argTypes:{variant:{control:"select",options:p,description:"Semantic status variant."},as:{control:"select",options:d,description:"HTML tag used for the wrapper."},typography:{control:"select",options:[void 0,...c],description:"Overrides typography using a PzText variant."},label:{control:"text",description:"Slot content preview text.",table:{category:"Slots"}}},render:t=>({components:{pzStatus:s,pzText:l},setup(){return{args:t,statusReferenceItems:v,statusPaletteItems:u}},template:`
|
|
4
4
|
<div class="pz-status-story">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as h,o as a,f as l,g as B,u as r,t as T,v as y,C as H,q as v,z as V,F as m,D as F,c as P,I as S,G as _,n as k,K as $,y as w,L as W}from"./iframe-
|
|
1
|
+
import{e as h,o as a,f as l,g as B,u as r,t as T,v as y,C as H,q as v,z as V,F as m,D as F,c as P,I as S,G as _,n as k,K as $,y as w,L as W}from"./iframe-DAeXTYJe.js";import{a as L}from"./PzMessages-D1DM-leP.js";import{l as j}from"./lodash-CdDiHlzQ.js";import{P as D}from"./PzInfoHint-DtjvD8aP.js";import{_ as C}from"./_plugin-vue_export-helper-DlAUqK2U.js";const E={class:"pz-table-data__title"},R=["innerHTML"],f=h({name:"PzTableData",__name:"PzTableData",props:{column:{},data:{default:void 0},defaultValue:{},isBold:{type:Boolean,default:!1}},setup(e){const o=e,u=P(()=>o.data??{}),s=P(()=>j.get(o.data,o.column.key)||o.defaultValue);return(i,N)=>{var c;return a(),l("td",{class:B(["pz-table-data",{"pz-table-data--bold":e.isBold}])},[r("p",E,[r("span",null,T(e.column.mobileName||e.column.name),1),(c=e.column.infoContent)!=null&&c.length?(a(),y(H(D),{key:0,"info-content":e.column.infoContent},null,8,["info-content"])):v("",!0)]),V(i.$slots,"default",{data:u.value,column:e.column,value:s.value},()=>[e.column.isContentHtml?(a(),l("span",{key:0,innerHTML:String(s.value)},null,8,R)):(a(),l(m,{key:1},[F(T(s.value),1)],64))],!0)],2)}}}),K=C(f,[["__scopeId","data-v-e0a86207"]]);f.__docgenInfo=Object.assign({displayName:f.name??f.__name},{name:"PzTableData",exportName:"default",displayName:"PzTableData",description:"",tags:{},props:[{name:"column",required:!0,type:{name:"PzTableColumn",elements:[{name:"TKey"}]}},{name:"data",required:!1,type:{name:"TRow"},defaultValue:{func:!1,value:"undefined"}},{name:"defaultValue",required:!0,type:{name:"string"}},{name:"isBold",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],slots:[{name:"default",scoped:!0,bindings:[{name:"data",title:"binding"},{name:"column",title:"binding"},{name:"value",title:"binding"}]}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Data/PzTable/PzTableData.vue"]});const M={class:"pz-table-head",scope:"col"},b=h({name:"PzTableHead",__name:"PzTableHead",props:{column:{}},setup(e){return(o,u)=>{var s;return a(),l("th",M,[r("span",null,T(e.column.name),1),(s=e.column.infoContent)!=null&&s.length?(a(),y(H(D),{key:0,"info-content":e.column.infoContent,class:"pz-table-head__hint"},null,8,["info-content"])):v("",!0)])}}}),A=C(b,[["__scopeId","data-v-c4688b62"]]);b.__docgenInfo=Object.assign({displayName:b.name??b.__name},{name:"PzTableHead",exportName:"default",displayName:"PzTableHead",description:"",tags:{},props:[{name:"column",required:!0,type:{name:"PzTableColumn"}}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Data/PzTable/PzTableHead.vue"]});const O={class:"pz-table-wrap"},G={key:0,class:"pz-table__head"},U={class:"pz-table__row pz-table__row--head"},J=100,p=h({name:"PzTable",__name:"PzTable",props:{config:{},data:{},defaultValue:{},visibleHeader:{type:Boolean,default:!0},isBoldFirstColumn:{type:Boolean,default:!0}},setup(e){const o=S(),u=e,s=P(()=>u.defaultValue??L("data.pzTable.defaultValue")),i=({colWidth:n})=>({width:u.config.some(({colWidth:t})=>!!t)?`${n}%`:`${Math.floor(J/u.config.length)}%`}),N=n=>!!o[n],c=n=>n,q=(n,z)=>{const{id:t}=n,g=typeof t=="string"||typeof t=="number";return"id"in n&&g?t:z};return(n,z)=>(a(),l("div",O,[r("table",{class:B(["pz-table",{"pz-table--no-head":!e.visibleHeader}])},[e.visibleHeader?(a(),l("thead",G,[r("tr",U,[(a(!0),l(m,null,_(e.config,t=>(a(),y(A,{key:t.id,column:t,style:k(i(t))},null,8,["column","style"]))),128))])])):v("",!0),r("tbody",null,[(a(!0),l(m,null,_(e.data,(t,g)=>(a(),l("tr",{key:q(t,g),class:"pz-table__row"},[(a(!0),l(m,null,_(e.config,(d,I)=>(a(),y(K,{key:d.id,column:d,data:t,"default-value":s.value,"is-bold":e.isBoldFirstColumn&&I===0,style:k(i(d))},$({_:2},[N(d.key)?{name:"default",fn:w(x=>[V(n.$slots,c(d.key),W({ref_for:!0},x),void 0,!0)]),key:"0"}:void 0]),1032,["column","data","default-value","is-bold","style"]))),128))]))),128))])],2)]))}}),ae=C(p,[["__scopeId","data-v-ac7bfb59"]]);p.__docgenInfo=Object.assign({displayName:p.name??p.__name},{name:"PzTable",exportName:"default",displayName:"PzTable",description:"",tags:{},props:[{name:"config",required:!0,type:{name:"Array",elements:[{name:"PzTableColumn",elements:[{name:"TKey"}]}]}},{name:"data",required:!0,type:{name:"Array",elements:[{name:"TRow"}]}},{name:"defaultValue",required:!1,type:{name:"string"}},{name:"visibleHeader",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"isBoldFirstColumn",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"true"}}],slots:[{name:"getSlotName(column.key)",scoped:!0,bindings:[{name:"name",title:"binding"}]}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Data/PzTable/PzTable.vue"]});export{ae as P,A as a,K as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P}from"./PzLink-
|
|
1
|
+
import{P}from"./PzLink-DQ_h0U4g.js";import{P as S}from"./PzTag-CogK2BsT.js";import{P as r}from"./PzText-C7e3sb8e.js";import{P as k}from"./PzTable-TOW-Mx5V.js";import"./iframe-DAeXTYJe.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./PzMessages-D1DM-leP.js";import"./lodash-CdDiHlzQ.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./PzInfoHint-DtjvD8aP.js";import"./PzIcon-D24sfVws.js";import"./PzHint-BCwFXT-z.js";import"./floating-vue-DYPq9upl.js";import"./floating-vue-qFlhbltu.js";const i="—",l=k,w=k,C=[{id:"name",name:"Назва",key:"name",colWidth:22},{id:"classification",name:"Класифікатор та його відповідний код",key:"classification",colWidth:30},{id:"quantity",name:"Кількість/Одиниці виміру",key:"quantity",colWidth:14},{id:"deliveryLocation",name:"Місце поставки",key:"deliveryLocation",colWidth:18},{id:"deliveryDate",name:"Дата поставки",key:"deliveryDate",colWidth:16}],T=[{id:"item-1",name:"Швидкозшивач пласт. E31509, 31511",classification:"ДК 021:2015: 30190000-7 — Офісне устаткування та приладдя різне",quantity:"100 штука",deliveryLocation:"79025, Україна, Львівська область, Львів, вул.Левандівська, будинок 17-В",deliveryDate:"до 30 грудня 2026"},{id:"item-2",name:"Ручка масляна, 0,7мм, PT-195, Piano",classification:"ДК 021:2015: 30190000-7 — Офісне устаткування та приладдя різне",quantity:"150 штука",deliveryLocation:"79025, Україна, Львівська область, Львів, вул.Левандівська, будинок 17-В",deliveryDate:"до 30 грудня 2026"},{id:"item-3",name:"Папка А4 КОШЕНЯ 34,527,51см, верт. 2 ручки",classification:"ДК 021:2015: 30190000-7 — Офісне устаткування та приладдя різне",quantity:"30 штука",deliveryLocation:"79025, Україна, Львівська область, Львів, вул.Левандівська, будинок 17-В",deliveryDate:"до 30 грудня 2026"}],x=[{id:"name",name:"Назва",key:"name",colWidth:18},{id:"classification",name:"Класифікатор та його відповідний код",key:"classification",colWidth:24},{id:"quantity",name:"Кількість/Одиниці виміру",key:"quantity",colWidth:14},{id:"price",name:"Ціна за одиницю",key:"price",colWidth:14},{id:"deliveryLocation",name:"Місце поставки",key:"deliveryLocation",colWidth:18},{id:"deliveryDate",name:"Дата поставки",key:"deliveryDate",colWidth:12}],W=T.map(t=>({...t,price:null})),L=[{id:"event",name:"Подія",key:"event",colWidth:18},{id:"type",name:"Тип",key:"type",colWidth:18},{id:"reason",name:"Підстава",key:"reason",colWidth:18},{id:"period",name:"Період, (днів)",key:"period",colWidth:16},{id:"daysType",name:"Тип днів",key:"daysType",colWidth:15},{id:"amount",name:"Розмір, (%)",key:"amount",colWidth:15}],D=[{id:"payment-1",event:"Оплата",type:"Пiсляоплата",reason:"поставка товару",period:10,daysType:"робочі",amount:100},{id:"payment-2",event:"Поставка",type:"Одноразова поставка",reason:"подання заявки",period:10,daysType:"робочі",amount:100}],A=[{id:"supplier",name:"Постачальник",key:"supplier",colWidth:28},{id:"contractId",name:"Договір",key:"contractId",colWidth:20},{id:"amount",name:"Сума",key:"amount",colWidth:18},{id:"status",name:"Статус",key:"statusLabel",colWidth:18},{id:"updatedAt",name:"Оновлено",key:"updatedAt",colWidth:16}],U=[{id:"contract-01",supplier:{name:"ТОВ «Офіс-Постач»",href:"https://prozorro.gov.ua"},contractId:"UA-2026-04-17-000001",amount:128340.5,status:"active",statusLabel:"Активний",updatedAt:"17.04.2026"},{id:"contract-02",supplier:{name:"ФОП Іваненко Ірина",href:"https://prozorro.gov.ua"},contractId:"UA-2026-04-17-000002",amount:68400,status:"hidden",statusLabel:"Очікує підтвердження",updatedAt:"16.04.2026"}],E=`<template>
|
|
2
2
|
<PzTable
|
|
3
3
|
:config="config"
|
|
4
4
|
:data="data"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P}from"./PzTable-
|
|
1
|
+
import{P}from"./PzTable-TOW-Mx5V.js";import{P as u}from"./PzText-C7e3sb8e.js";import{e as b,f as v,z,C as t,v as T,q as f,o as r}from"./iframe-DAeXTYJe.js";import{I as y,P as _}from"./PzListNav-48WW1MWK.js";import{u as h}from"./StaticPagination.composable-CgYFhFQP.js";import"./PzMessages-D1DM-leP.js";import"./lodash-CdDiHlzQ.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./PzInfoHint-DtjvD8aP.js";import"./PzIcon-D24sfVws.js";import"./PzHint-BCwFXT-z.js";import"./floating-vue-DYPq9upl.js";import"./floating-vue-qFlhbltu.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./preload-helper-C1FmrZbK.js";import"./PzSelect-BzPECbNG.js";import"./index-VUE-4zG4.js";import"./PzLabel-D8LuLvvb.js";import"./PzPagination-HhzxdaVR.js";const n=b({name:"PzTablePaginationProvider",__name:"PzTablePaginationProvider",props:{perPage:{default:y.FIVE},data:{}},setup(e){const a=e,{perPage:l,pageChanged:d,getItems:m,isPaginationAvailable:g}=h(a);return(c,k)=>(r(),v("div",null,[z(c.$slots,"default",{items:t(m)}),t(g)?(r(),T(t(_),{key:0,total:e.data.length,"per-page":t(l),class:"pz-mt-32",onOnInput:t(d)},null,8,["total","per-page","onOnInput"])):f("",!0)]))}});n.__docgenInfo=Object.assign({displayName:n.name??n.__name},{name:"PzTablePaginationProvider",exportName:"default",displayName:"PzTablePaginationProvider",description:"",tags:{},props:[{name:"perPage",defaultValue:{func:!1,value:"ITEMS_PER_PAGE.FIVE"}}],slots:[{name:"default",scoped:!0,bindings:[{name:"items",title:"binding"}]}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Navigation/PzTablePaginationProvider/PzTablePaginationProvider.vue"]});const S=n,C=n,x=P,E=[{id:"name",name:"Назва",key:"name",colWidth:40},{id:"quantity",name:"Кількість",key:"quantity",colWidth:30},{id:"deliveryDate",name:"Дата поставки",key:"deliveryDate",colWidth:30}],I=12,N=10,w=Array.from({length:I},(e,a)=>({id:`item-${a+1}`,name:`Товар №${a+1}`,quantity:`${(a+1)*N} штука`,deliveryDate:"до 30 грудня 2026"})),J={title:"Components/Navigation/PzTablePaginationProvider",component:C,parameters:{docs:{description:{component:"Generic static-pagination wrapper for tabular data. Slices `data` into pages, exposes the current page array through the default `items` slot prop, and renders `PzListNav` when the data exceeds `perPage`. Here it is typed as `PzTableRow` and feeds a `PzTable`."}}},args:{data:w,perPage:5},argTypes:{data:{control:!1,description:"Full row array; the provider paginates it internally."},perPage:{control:{type:"number",min:1},description:"Rows per page."}}},o={render:e=>({components:{pzTablePaginationProvider:S,pzTable:x,pzText:u},setup(){return{args:e,config:E}},template:`
|
|
2
2
|
<div style="max-width: 720px;">
|
|
3
3
|
<pz-table-pagination-provider :data="args.data" :per-page="args.perPage">
|
|
4
4
|
<template #default="{ items }">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as T}from"./PzText-
|
|
1
|
+
import{P as T}from"./PzText-C7e3sb8e.js";import{e as q,a5 as f,w as G,a6 as Q,A as J,B as X,a7 as Y,f as m,z as F,r as Z,o as u,k as K,i as tt,u as _,F as at,G as st,n as et,g as k,h as nt,c as rt,t as pt,a8 as P}from"./iframe-DAeXTYJe.js";import{_ as M}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./preload-helper-C1FmrZbK.js";const ot=["","light"];var r=(t=>(t.INIT_TAB="init-tab",t.TABS_STATE="tabs-state",t.REMOVE_TAB="remove-tab",t))(r||{});const it={class:"pz-tab"},x=q({name:"PzTab",__name:"PzTab",props:{name:{default:"Tab"},selected:{type:Boolean,default:!1},id:{default:void 0}},setup(t){const a=t,p=K(),i=Z(!1),o=f(r.REMOVE_TAB,void 0),s=f(r.TABS_STATE,void 0),e=f(r.INIT_TAB,void 0),n={get id(){return a.id??`pz-tab-${(p==null?void 0:p.uid)??a.name}`},get name(){return a.name}};return G(()=>s==null?void 0:s.activeTab,z=>{i.value=a.name===z}),Q(()=>{e==null||e(n),i.value=a.selected}),J(()=>o==null?void 0:o(n)),(z,mt)=>X((u(),m("div",it,[F(z.$slots,"default",{},void 0,!0)],512)),[[Y,i.value]])}}),h=M(x,[["__scopeId","data-v-2374460d"]]);x.__docgenInfo=Object.assign({displayName:x.name??x.__name},{name:"PzTab",exportName:"default",displayName:"PzTab",description:"",tags:{},props:[{name:"name",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'"Tab"'}},{name:"selected",required:!1,type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"id",required:!1,type:{name:"string"},defaultValue:{func:!1,value:"undefined"}}],slots:[{name:"default"}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Layouts/PzTabs/PzTab.vue"]});const lt={class:"pz-tabs__nav"},zt=["onClick"],bt={class:"pz-tabs__content"},g=q({name:"PzTabs",__name:"PzTabs",props:{skin:{default:""},maxWidth:{default:""}},setup(t){const a=nt({tabs:[],activeTab:""}),p=t,i=rt(()=>p.skin?`pz-tabs--${p.skin}`:"");P(r.TABS_STATE,a),P(r.INIT_TAB,s=>a.tabs.push(s)),P(r.REMOVE_TAB,s=>{a.tabs=a.tabs.filter(e=>e.id!==s.id),o()}),tt(()=>o());const o=()=>{var e;const[{name:s}={name:""}]=a.tabs.filter(({selected:n})=>n);a.activeTab=s||((e=a.tabs[0])==null?void 0:e.name)||""};return(s,e)=>(u(),m("div",{class:k(["pz-tabs",i.value]),style:et({maxWidth:t.maxWidth})},[_("ul",lt,[(u(!0),m(at,null,st(a.tabs,n=>(u(),m("li",{key:n.id,class:k(["pz-tabs__item",{active:a.activeTab===n.name}]),onClick:z=>a.activeTab=n.name||""},pt(n.name),11,zt))),128))]),_("div",bt,[F(s.$slots,"default",{},void 0,!0)])],6))}}),l=M(g,[["__scopeId","data-v-cb10282b"]]);g.__docgenInfo=Object.assign({displayName:g.name??g.__name},{name:"PzTabs",exportName:"default",displayName:"PzTabs",description:"",tags:{},props:[{name:"skin",required:!1,type:{name:"PzTabsSkin"},defaultValue:{func:!1,value:'""'}},{name:"maxWidth",required:!1,type:{name:"string"},defaultValue:{func:!1,value:'""'}}],slots:[{name:"default"}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Layouts/PzTabs/PzTabs.vue"]});const dt=t=>[t.skin?`skin="${t.skin}"`:null,t.maxWidth?`max-width="${t.maxWidth}"`:null].filter(a=>!!a).join(" "),ct=t=>`<template>
|
|
2
2
|
<PzTabs ${dt(t)}>
|
|
3
3
|
<PzTab name="${t.currentEditionLabel}" selected>
|
|
4
4
|
Current content
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as l,v as p,y as i,g as u,x as f,o as t,f as n,z as o,q as r,u as c}from"./iframe-
|
|
1
|
+
import{e as l,v as p,y as i,g as u,x as f,o as t,f as n,z as o,q as r,u as c}from"./iframe-DAeXTYJe.js";import{_ as m}from"./_plugin-vue_export-helper-DlAUqK2U.js";const d={key:0,class:"pz-tag-prefix"},g={class:"pz-tag-label"},y={key:1,class:"pz-tag-suffix"},s=l({name:"PzTag",__name:"PzTag",props:{variant:{default:"grey"},as:{default:"span"},typography:{}},setup(e){return(a,z)=>(t(),p(f(e.as),{class:u(["pz-tag",[`pz-tag--${e.variant}`,e.typography?`pz-typography--${e.typography}`:null]])},{default:i(()=>[a.$slots.prefix?(t(),n("span",d,[o(a.$slots,"prefix",{},void 0,!0)])):r("",!0),c("span",g,[o(a.$slots,"default",{},void 0,!0)]),a.$slots.suffix?(t(),n("span",y,[o(a.$slots,"suffix",{},void 0,!0)])):r("",!0)]),_:3},8,["class"]))}}),T=m(s,[["__scopeId","data-v-8265a687"]]);s.__docgenInfo=Object.assign({displayName:s.name??s.__name},{name:"PzTag",exportName:"default",displayName:"PzTag",description:"",tags:{},props:[{name:"variant",required:!1,type:{name:"PzTagVariant"},defaultValue:{func:!1,value:'"grey"'}},{name:"as",required:!1,type:{name:"PzTagTag"},defaultValue:{func:!1,value:'"span"'}},{name:"typography",required:!1,type:{name:"PzTextVariant"}}],slots:[{name:"prefix"},{name:"default"},{name:"suffix"}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Display/PzTag/PzTag.vue"]});export{T as P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as c}from"./PzIcon-
|
|
1
|
+
import{_ as c}from"./PzIcon-D24sfVws.js";import{P as g}from"./PzText-C7e3sb8e.js";import{p as d}from"./configs-CtUh_XBV.js";import{P as o}from"./PzTag-CogK2BsT.js";import"./iframe-DAeXTYJe.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const m=["grey","blue","green","red","grey-light"],f=["span","div","li"],v=[{variant:"grey",label:"Neutral"},{variant:"grey-light",label:"Neutral light"},{variant:"blue",label:"Information"},{variant:"green",label:"Verified"},{variant:"red",label:"Important"}],y=t=>{const e=[t.variant!=="grey"?`variant="${t.variant}"`:null,t.as!=="span"?`as="${t.as}"`:null].filter(l=>!!l).join(" "),n=t.showPrefix?`
|
|
2
2
|
<template #prefix>
|
|
3
3
|
<PzIcon name="sell" size="12" />
|
|
4
4
|
</template>`:"",p=t.showSuffix?`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as n,v as r,g as d,x as p,c as u,o as i,y as c,z as m}from"./iframe-DAeXTYJe.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";const e=n({name:"PzText",__name:"PzText",props:{variant:{default:"body-regular"},as:{default:void 0}},setup(a){const s={"h1-bold":"h1","h1-regular":"h1","h2-bold":"h2","h3-bold":"h3","h3-regular":"h3","h4-regular":"h4","h4-semibold":"h4","h4-bold":"h4",subtitle:"p","subtitle-bold":"p","body-regular":"p","body-semibold":"p","body-bold":"p",capitalized:"span",hint:"span","line-through":"span","small-regular":"span","small-semibold":"span","small-bold":"span",link:"a",document:"p"},t=a,l=u(()=>t.as??s[t.variant]??"span");return(o,h)=>(i(),r(p(l.value),{class:d(["pz-text",`pz-text--${a.variant}`])},{default:c(()=>[m(o.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),g=f(e,[["__scopeId","data-v-0436805e"]]);e.__docgenInfo=Object.assign({displayName:e.name??e.__name},{name:"PzText",exportName:"default",displayName:"PzText",description:"",tags:{},props:[{name:"variant",required:!1,type:{name:"PzTextVariant"},defaultValue:{func:!1,value:'"body-regular"'}},{name:"as",required:!1,type:{name:"PzTextTag"},defaultValue:{func:!1,value:"undefined"}}],slots:[{name:"default"}],sourceFiles:["/builds/Web-Projects/client-services/prozorro-ui/src/components/Text/PzText/PzText.vue"]});export{g as P};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pz-text[data-v-0436805e]{margin:0;padding:0}.pz-text--h1-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-44)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h1-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-24)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h1-regular[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-44)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h1-regular[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-24)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h2-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-32)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h2-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-20)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h3-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-24)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h3-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-18)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h3-regular[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-24)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h3-regular[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-18)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h4-regular[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-18)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h4-regular[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-16)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h4-semibold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-18)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 600));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h4-semibold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-16)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 600));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--h4-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-18)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}@media (max-width: 575.98px){.pz-text--h4-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-16)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}}.pz-text--subtitle[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-16)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 600));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--subtitle-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-16)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--body-regular[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--body-semibold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 600));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--body-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--capitalized[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5));text-transform:uppercase;letter-spacing:.05em}.pz-text--hint[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5));font-style:italic;color:var(--pz-color-text-secondary)}.pz-text--line-through[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5));text-decoration:line-through}.pz-text--small-regular[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-12)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--small-semibold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-12)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 600));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--small-bold[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-12)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 700));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}.pz-text--link[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5));color:var(--pz-color-text-link);text-decoration:underline;cursor:pointer}.pz-text--link[data-v-0436805e]:hover{color:var(--pz-color-text-link-hover)}.pz-text--document[data-v-0436805e]{-webkit-hyphens:auto;hyphens:auto;white-space:pre-line;overflow-wrap:break-word;font-size:var(--pz-text-font-size, var(--pz-typography-font-size, var(--pz-font-size-14)));font-weight:var(--pz-text-font-weight, var(--pz-typography-font-weight, 400));line-height:var(--pz-text-line-height, var(--pz-typography-line-height, 1.5))}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import{a as Ve,p as _e}from"./configs-CtUh_XBV.js";import{P as z}from"./PzText-C7e3sb8e.js";import"./iframe-DAeXTYJe.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const je=r=>r.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),Me={title:"Components/Text/PzText",component:z,parameters:{prototype:{caption:"Text component",note:"Component-level playground for semantic tag overrides and text variant rendering."},docs:{description:{component:"Vue text primitive for rendering the shared typography variants. Use `Foundation/Typography` for the full type-scale reference and `Components/Text/PzText` for the component API."},source:{transform:(r,e)=>{const a=e.args??{};return`<template>
|
|
2
|
+
<PzText ${[a.variant?`variant="${a.variant}"`:null,a.as?`as="${a.as}"`:null,a.content?`content="${a.content}"`:null].filter(Boolean).join(" ")} />
|
|
3
|
+
</template>`}}}},args:{variant:"body-regular",content:"Every procurement notice should stay readable across dense interfaces and long-form content."},argTypes:{variant:{control:"select",options:_e,description:"Text style variant from the Design System."},as:{control:"select",options:Ve,description:"HTML tag to render. Defaults to a semantic tag based on variant."},content:{control:"text",description:"Text content.",table:{category:"Slots"}}},render:r=>({components:{pzText:z},setup(){const e=je(r.variant??"body-regular");return{args:r,currentLabel:e}},template:`
|
|
4
|
+
<section class="pz-text-demo">
|
|
5
|
+
<div class="pz-text-demo-header">
|
|
6
|
+
<div>
|
|
7
|
+
<span class="pz-text-demo-eyebrow">Live preview</span>
|
|
8
|
+
<h2 class="pz-text-demo-title">{{ currentLabel }}</h2>
|
|
9
|
+
</div>
|
|
10
|
+
<span class="pz-text-demo-spec">{{ args.variant }}</span>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<div class="pz-text-demo-surface">
|
|
14
|
+
<pz-text :variant="args.variant" :as="args.as">{{ args.content }}</pz-text>
|
|
15
|
+
</div>
|
|
16
|
+
</section>
|
|
17
|
+
`})},t={name:"H1 Bold",args:{variant:"h1-bold",content:"Headline Bold 1"}},n={name:"H1 Regular",args:{variant:"h1-regular",content:"Headline Regular 1"}},o={name:"H2 Bold",args:{variant:"h2-bold",content:"Headline Bold 2"}},s={name:"H3 Bold",args:{variant:"h3-bold",content:"Headline Bold 3"}},l={name:"H3 Regular",args:{variant:"h3-regular",content:"Headline Regular 3"}},c={name:"H4 Regular",args:{variant:"h4-regular",content:"Headline Regular 4"}},i={name:"H4 Semibold",args:{variant:"h4-semibold",content:"Headline Semibold 4"}},d={name:"H4 Bold",args:{variant:"h4-bold",content:"Headline Bold 4"}},m={args:{variant:"subtitle",content:"Subtitle"}},u={name:"Subtitle Bold",args:{variant:"subtitle-bold",content:"Subtitle bold"}},p={name:"Body Regular",args:{variant:"body-regular",content:"Body text regular"}},g={name:"Body Semibold",args:{variant:"body-semibold",content:"Body text semibold"}},b={name:"Body Bold",args:{variant:"body-bold",content:"Body text bold"}},S={args:{variant:"capitalized",content:"Capitalized text"}},v={args:{variant:"hint",content:"Hint text"}},B={name:"Line Through",args:{variant:"line-through",content:"Line through text"}},H={name:"Small Regular",args:{variant:"small-regular",content:"Small text regular"}},x={name:"Small Semibold",args:{variant:"small-semibold",content:"Small text semibold"}},h={name:"Small Bold",args:{variant:"small-bold",content:"Small text bold"}},y={name:"Link",args:{variant:"link",content:"Link text"}},R={args:{variant:"document",content:"Document text"}};var T,f,L;t.parameters={...t.parameters,docs:{...(T=t.parameters)==null?void 0:T.docs,source:{originalSource:`{
|
|
18
|
+
name: "H1 Bold",
|
|
19
|
+
args: {
|
|
20
|
+
variant: "h1-bold",
|
|
21
|
+
content: "Headline Bold 1"
|
|
22
|
+
}
|
|
23
|
+
}`,...(L=(f=t.parameters)==null?void 0:f.docs)==null?void 0:L.source}}};var k,C,D;n.parameters={...n.parameters,docs:{...(k=n.parameters)==null?void 0:k.docs,source:{originalSource:`{
|
|
24
|
+
name: "H1 Regular",
|
|
25
|
+
args: {
|
|
26
|
+
variant: "h1-regular",
|
|
27
|
+
content: "Headline Regular 1"
|
|
28
|
+
}
|
|
29
|
+
}`,...(D=(C=n.parameters)==null?void 0:C.docs)==null?void 0:D.source}}};var P,$,O;o.parameters={...o.parameters,docs:{...(P=o.parameters)==null?void 0:P.docs,source:{originalSource:`{
|
|
30
|
+
name: "H2 Bold",
|
|
31
|
+
args: {
|
|
32
|
+
variant: "h2-bold",
|
|
33
|
+
content: "Headline Bold 2"
|
|
34
|
+
}
|
|
35
|
+
}`,...(O=($=o.parameters)==null?void 0:$.docs)==null?void 0:O.source}}};var V,_,j;s.parameters={...s.parameters,docs:{...(V=s.parameters)==null?void 0:V.docs,source:{originalSource:`{
|
|
36
|
+
name: "H3 Bold",
|
|
37
|
+
args: {
|
|
38
|
+
variant: "h3-bold",
|
|
39
|
+
content: "Headline Bold 3"
|
|
40
|
+
}
|
|
41
|
+
}`,...(j=(_=s.parameters)==null?void 0:_.docs)==null?void 0:j.source}}};var w,A,E;l.parameters={...l.parameters,docs:{...(w=l.parameters)==null?void 0:w.docs,source:{originalSource:`{
|
|
42
|
+
name: "H3 Regular",
|
|
43
|
+
args: {
|
|
44
|
+
variant: "h3-regular",
|
|
45
|
+
content: "Headline Regular 3"
|
|
46
|
+
}
|
|
47
|
+
}`,...(E=(A=l.parameters)==null?void 0:A.docs)==null?void 0:E.source}}};var U,F,I;c.parameters={...c.parameters,docs:{...(U=c.parameters)==null?void 0:U.docs,source:{originalSource:`{
|
|
48
|
+
name: "H4 Regular",
|
|
49
|
+
args: {
|
|
50
|
+
variant: "h4-regular",
|
|
51
|
+
content: "Headline Regular 4"
|
|
52
|
+
}
|
|
53
|
+
}`,...(I=(F=c.parameters)==null?void 0:F.docs)==null?void 0:I.source}}};var M,q,G;i.parameters={...i.parameters,docs:{...(M=i.parameters)==null?void 0:M.docs,source:{originalSource:`{
|
|
54
|
+
name: "H4 Semibold",
|
|
55
|
+
args: {
|
|
56
|
+
variant: "h4-semibold",
|
|
57
|
+
content: "Headline Semibold 4"
|
|
58
|
+
}
|
|
59
|
+
}`,...(G=(q=i.parameters)==null?void 0:q.docs)==null?void 0:G.source}}};var J,K,N;d.parameters={...d.parameters,docs:{...(J=d.parameters)==null?void 0:J.docs,source:{originalSource:`{
|
|
60
|
+
name: "H4 Bold",
|
|
61
|
+
args: {
|
|
62
|
+
variant: "h4-bold",
|
|
63
|
+
content: "Headline Bold 4"
|
|
64
|
+
}
|
|
65
|
+
}`,...(N=(K=d.parameters)==null?void 0:K.docs)==null?void 0:N.source}}};var Q,W,X;m.parameters={...m.parameters,docs:{...(Q=m.parameters)==null?void 0:Q.docs,source:{originalSource:`{
|
|
66
|
+
args: {
|
|
67
|
+
variant: "subtitle",
|
|
68
|
+
content: "Subtitle"
|
|
69
|
+
}
|
|
70
|
+
}`,...(X=(W=m.parameters)==null?void 0:W.docs)==null?void 0:X.source}}};var Y,Z,ee;u.parameters={...u.parameters,docs:{...(Y=u.parameters)==null?void 0:Y.docs,source:{originalSource:`{
|
|
71
|
+
name: "Subtitle Bold",
|
|
72
|
+
args: {
|
|
73
|
+
variant: "subtitle-bold",
|
|
74
|
+
content: "Subtitle bold"
|
|
75
|
+
}
|
|
76
|
+
}`,...(ee=(Z=u.parameters)==null?void 0:Z.docs)==null?void 0:ee.source}}};var ae,re,te;p.parameters={...p.parameters,docs:{...(ae=p.parameters)==null?void 0:ae.docs,source:{originalSource:`{
|
|
77
|
+
name: "Body Regular",
|
|
78
|
+
args: {
|
|
79
|
+
variant: "body-regular",
|
|
80
|
+
content: "Body text regular"
|
|
81
|
+
}
|
|
82
|
+
}`,...(te=(re=p.parameters)==null?void 0:re.docs)==null?void 0:te.source}}};var ne,oe,se;g.parameters={...g.parameters,docs:{...(ne=g.parameters)==null?void 0:ne.docs,source:{originalSource:`{
|
|
83
|
+
name: "Body Semibold",
|
|
84
|
+
args: {
|
|
85
|
+
variant: "body-semibold",
|
|
86
|
+
content: "Body text semibold"
|
|
87
|
+
}
|
|
88
|
+
}`,...(se=(oe=g.parameters)==null?void 0:oe.docs)==null?void 0:se.source}}};var le,ce,ie;b.parameters={...b.parameters,docs:{...(le=b.parameters)==null?void 0:le.docs,source:{originalSource:`{
|
|
89
|
+
name: "Body Bold",
|
|
90
|
+
args: {
|
|
91
|
+
variant: "body-bold",
|
|
92
|
+
content: "Body text bold"
|
|
93
|
+
}
|
|
94
|
+
}`,...(ie=(ce=b.parameters)==null?void 0:ce.docs)==null?void 0:ie.source}}};var de,me,ue;S.parameters={...S.parameters,docs:{...(de=S.parameters)==null?void 0:de.docs,source:{originalSource:`{
|
|
95
|
+
args: {
|
|
96
|
+
variant: "capitalized",
|
|
97
|
+
content: "Capitalized text"
|
|
98
|
+
}
|
|
99
|
+
}`,...(ue=(me=S.parameters)==null?void 0:me.docs)==null?void 0:ue.source}}};var pe,ge,be;v.parameters={...v.parameters,docs:{...(pe=v.parameters)==null?void 0:pe.docs,source:{originalSource:`{
|
|
100
|
+
args: {
|
|
101
|
+
variant: "hint",
|
|
102
|
+
content: "Hint text"
|
|
103
|
+
}
|
|
104
|
+
}`,...(be=(ge=v.parameters)==null?void 0:ge.docs)==null?void 0:be.source}}};var Se,ve,Be;B.parameters={...B.parameters,docs:{...(Se=B.parameters)==null?void 0:Se.docs,source:{originalSource:`{
|
|
105
|
+
name: "Line Through",
|
|
106
|
+
args: {
|
|
107
|
+
variant: "line-through",
|
|
108
|
+
content: "Line through text"
|
|
109
|
+
}
|
|
110
|
+
}`,...(Be=(ve=B.parameters)==null?void 0:ve.docs)==null?void 0:Be.source}}};var He,xe,he;H.parameters={...H.parameters,docs:{...(He=H.parameters)==null?void 0:He.docs,source:{originalSource:`{
|
|
111
|
+
name: "Small Regular",
|
|
112
|
+
args: {
|
|
113
|
+
variant: "small-regular",
|
|
114
|
+
content: "Small text regular"
|
|
115
|
+
}
|
|
116
|
+
}`,...(he=(xe=H.parameters)==null?void 0:xe.docs)==null?void 0:he.source}}};var ye,Re,ze;x.parameters={...x.parameters,docs:{...(ye=x.parameters)==null?void 0:ye.docs,source:{originalSource:`{
|
|
117
|
+
name: "Small Semibold",
|
|
118
|
+
args: {
|
|
119
|
+
variant: "small-semibold",
|
|
120
|
+
content: "Small text semibold"
|
|
121
|
+
}
|
|
122
|
+
}`,...(ze=(Re=x.parameters)==null?void 0:Re.docs)==null?void 0:ze.source}}};var Te,fe,Le;h.parameters={...h.parameters,docs:{...(Te=h.parameters)==null?void 0:Te.docs,source:{originalSource:`{
|
|
123
|
+
name: "Small Bold",
|
|
124
|
+
args: {
|
|
125
|
+
variant: "small-bold",
|
|
126
|
+
content: "Small text bold"
|
|
127
|
+
}
|
|
128
|
+
}`,...(Le=(fe=h.parameters)==null?void 0:fe.docs)==null?void 0:Le.source}}};var ke,Ce,De;y.parameters={...y.parameters,docs:{...(ke=y.parameters)==null?void 0:ke.docs,source:{originalSource:`{
|
|
129
|
+
name: "Link",
|
|
130
|
+
args: {
|
|
131
|
+
variant: "link",
|
|
132
|
+
content: "Link text"
|
|
133
|
+
}
|
|
134
|
+
}`,...(De=(Ce=y.parameters)==null?void 0:Ce.docs)==null?void 0:De.source}}};var Pe,$e,Oe;R.parameters={...R.parameters,docs:{...(Pe=R.parameters)==null?void 0:Pe.docs,source:{originalSource:`{
|
|
135
|
+
args: {
|
|
136
|
+
variant: "document",
|
|
137
|
+
content: "Document text"
|
|
138
|
+
}
|
|
139
|
+
}`,...(Oe=($e=R.parameters)==null?void 0:$e.docs)==null?void 0:Oe.source}}};const qe=["H1Bold","H1Regular","H2Bold","H3Bold","H3Regular","H4Regular","H4Semibold","H4Bold","Subtitle","SubtitleBold","BodyRegular","BodySemibold","BodyBold","Capitalized","Hint","LineThroughStory","SmallRegular","SmallSemibold","SmallBold","LinkStory","Document"];export{b as BodyBold,p as BodyRegular,g as BodySemibold,S as Capitalized,R as Document,t as H1Bold,n as H1Regular,o as H2Bold,s as H3Bold,l as H3Regular,d as H4Bold,c as H4Regular,i as H4Semibold,v as Hint,B as LineThroughStory,y as LinkStory,h as SmallBold,H as SmallRegular,x as SmallSemibold,m as Subtitle,u as SubtitleBold,qe as __namedExportsOrder,Me as default};
|