import{a as j}from"./Utilities-CQhZFhp5.js";function y(){return`

  <a data-toggle="tooltip" data-original-title="Informazioni aggiuntive se necessario" class="inail-text-link-1" data-placement="right" tabindex="0" href="javascript:void(0)">Text link 1</a>
`}function M(){return` 

<a data-toggle="tooltip" data-original-title="Informazioni aggiuntive se necessario" class="inail-text-link-2" data-placement="right" tabindex="0" href="javascript:void(0)">Text link 2</a>
  
`}function $(){return`

  <a data-toggle="tooltip" data-original-title="Informazioni aggiuntive se necessario" class="inail-text-link-1-semibold" data-placement="right" tabindex="0" href="javascript:void(0)">Text link 1</a>
`}function w(){return` 

<a data-toggle="tooltip" data-original-title="Informazioni aggiuntive se necessario" class="inail-text-link-2-semibold" data-placement="right" tabindex="0" href="javascript:void(0)">Text link 2</a>
  
`}function z(e,t){return` 
    <a data-toggle="tooltip"  data-original-title="${t}" class="inail-text-link-1" data-placement="right" href="mailto:javascript:void(0)" type="email">${e}
    </a>
  `}function A(e,t){return`
    <a data-toggle="tooltip" data-original-title="${t}" class="inail-text-link-1" data-placement="right" href="javascript:void(0)">${e}</a>
  `}const _={title:"Componenti/Button e Link/Link",parameters:{docs:{showAccessibility:!0}},decorators:[(e,t)=>j(e,t,1,["https://cdn.inailcloud.it/assets/inail/u.1.0/static-webkit/js/custom-webkit.js"],!1),e=>`<main id="contenutoPrincipale">${e()}</main>`]},a={name:"Text Link 1",render:()=>y()},i={name:"Text Link 1 Semibold",render:()=>$()},n={name:"Text Link 2",render:()=>M()},r={name:"Text Link 2 Semibold",render:()=>w()},o={name:"Link / mailto",argTypes:{linkLabel:{control:"text",description:"Etichetta del link."},tooltip:{control:"text",description:"Il testo del tooltip."}},args:{linkLabel:"Link Mailto",tooltip:"Invia una email"},render:e=>z(e.linkLabel,e.tooltip)},l={name:"Link esterno (apertura in una nuova scheda/finestra)",argTypes:{linkLabel:{control:"text",description:"Etichetta del link."},tooltip:{control:"text",description:"Il testo del tooltip."}},args:{linkLabel:"Link Esterno",tooltip:"Apre una nuova scheda del browser"},render:e=>A(e.linkLabel,e.tooltip)};var s,c,d;a.parameters={...a.parameters,docs:{...(s=a.parameters)==null?void 0:s.docs,source:{originalSource:`{
  name: "Text Link 1",
  render: () => {
    return createTextLink1();
  }
}`,...(d=(c=a.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};var p,m,k;i.parameters={...i.parameters,docs:{...(p=i.parameters)==null?void 0:p.docs,source:{originalSource:`{
  name: "Text Link 1 Semibold",
  render: () => {
    return createTextLink1Semibold();
  }
}`,...(k=(m=i.parameters)==null?void 0:m.docs)==null?void 0:k.source}}};var u,L,g;n.parameters={...n.parameters,docs:{...(u=n.parameters)==null?void 0:u.docs,source:{originalSource:`{
  name: "Text Link 2",
  render: () => {
    return createTextLink2();
  }
}`,...(g=(L=n.parameters)==null?void 0:L.docs)==null?void 0:g.source}}};var x,b,T;r.parameters={...r.parameters,docs:{...(x=r.parameters)==null?void 0:x.docs,source:{originalSource:`{
  name: "Text Link 2 Semibold",
  render: () => {
    return createTextLink2Semibold();
  }
}`,...(T=(b=r.parameters)==null?void 0:b.docs)==null?void 0:T.source}}};var h,v,f;o.parameters={...o.parameters,docs:{...(h=o.parameters)==null?void 0:h.docs,source:{originalSource:`{
  name: "Link / mailto",
  argTypes: {
    linkLabel: {
      control: 'text',
      description: 'Etichetta del link.'
    },
    tooltip: {
      control: 'text',
      description: 'Il testo del tooltip.'
    }
  },
  args: {
    linkLabel: 'Link Mailto',
    tooltip: 'Invia una email'
  },
  render: (args: {
    linkLabel: string;
    tooltip: string;
  }) => {
    return createLinkMailTo(args.linkLabel, args.tooltip);
  }
}`,...(f=(v=o.parameters)==null?void 0:v.docs)==null?void 0:f.source}}};var S,E,I;l.parameters={...l.parameters,docs:{...(S=l.parameters)==null?void 0:S.docs,source:{originalSource:`{
  name: "Link esterno (apertura in una nuova scheda/finestra)",
  argTypes: {
    linkLabel: {
      control: 'text',
      description: 'Etichetta del link.'
    },
    tooltip: {
      control: 'text',
      description: 'Il testo del tooltip.'
    }
  },
  args: {
    linkLabel: 'Link Esterno',
    tooltip: 'Apre una nuova scheda del browser'
  },
  render: (args: {
    linkLabel: string;
    tooltip: string;
  }) => {
    return createLinkEsterno(args.linkLabel, args.tooltip);
  }
}`,...(I=(E=l.parameters)==null?void 0:E.docs)==null?void 0:I.source}}};const B=["TextLink1","TextLink1Semibold","TextLink2","TextLink2Semibold","LinkMailTo","LinkEsterno"];export{l as LinkEsterno,o as LinkMailTo,a as TextLink1,i as TextLink1Semibold,n as TextLink2,r as TextLink2Semibold,B as __namedExportsOrder,_ as default};
