import{a as s}from"./iframe-Cq4HMdIu.js";import"./preload-helper-PPVm8Dsz.js";function c(){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 d(){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 p(){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 m(){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 k(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 u(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 x={title:"Componenti/Button e Link/Link",parameters:{docs:{showAccessibility:!0}},decorators:[(e,t)=>s(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:()=>c()},i={name:"Text Link 1 Semibold",render:()=>p()},n={name:"Text Link 2",render:()=>d()},r={name:"Text Link 2 Semibold",render:()=>m()},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=>k(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=>u(e.linkLabel,e.tooltip)};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
  name: "Text Link 1",
  render: () => {
    return createTextLink1();
  }
}`,...a.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
  name: "Text Link 1 Semibold",
  render: () => {
    return createTextLink1Semibold();
  }
}`,...i.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
  name: "Text Link 2",
  render: () => {
    return createTextLink2();
  }
}`,...n.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.docs,source:{originalSource:`{
  name: "Text Link 2 Semibold",
  render: () => {
    return createTextLink2Semibold();
  }
}`,...r.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.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);
  }
}`,...o.parameters?.docs?.source}}};l.parameters={...l.parameters,docs:{...l.parameters?.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);
  }
}`,...l.parameters?.docs?.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,x as default};
