import{a as x}from"./Utilities-CQhZFhp5.js";function D(t,e){return`
    <button type="button" class="inail-tertiary-button">${t}</button>
  `}function I(t,e){return`
  <div>
    <button type="button" data-toggle="tooltip" data-original-title="${e}" class="inail-tertiary-button px-0" data-placement="bottom" aria-describedby="peso-file">
      <span class="fa fa-download left"></span>
      ${t}
      <span aria-label="Download"></span>
      <span class="sr-only">Scarica il file</span>
       <span id="peso-file" class="sr-only">Peso del file: 23 megabyte</span>
    </button>
   
    <span>23MB</span>
    </div>
  `}function z(t,e){return`
    <button type="button" class="inail-tertiary-button"><span class="fa fa-${e} inial-left-icon"></span>${t}</button>`}function S(t,e){return`
    <button type="button" class="inail-tertiary-button pull-right ">${t}<span class='fa right fa-${e} inial-right-icon'></span></button>
  `}function E(t){return`
    <button type="button" class="inail-tertiary-button" disabled>${t}</a>
  `}const $={title:"Componenti/Button e Link/Buttons/Terziario",decorators:[(t,e)=>x(t,e,1,["static-webkit/js/custom-webkit.js"],!1),t=>`<main id="contenutoPrincipale">${t()}</main>`]},i={name:"Terziario",argTypes:{linkLabel:{control:"text",description:"Etichetta del link."},tooltip:{control:"text",description:"Il testo del tooltip."}},args:{linkLabel:"Terziario",tooltip:"Informazioni aggiuntive se necessario"},render:t=>D(t.linkLabel,t.tooltip)},a={name:"Link terziario / download",argTypes:{linkLabel:{control:"text",description:"Etichetta del link."},tooltip:{control:"text",description:"Il testo del tooltip."}},args:{linkLabel:"Nome-file-01.pdf",tooltip:"Scarica il file"},render:t=>I(t.linkLabel,t.tooltip)},n={name:"Terziario disabilitato",argTypes:{linkLabel:{control:"text",description:"Etichetta del link."}},args:{linkLabel:"Disabilitato"},render:t=>E(t.linkLabel)},o={name:"Tasto terziario con icona a sinistra",argTypes:{linkLabel:{control:"text",description:"Etichetta del link."},icona:{control:"select",options:["trash-alt","fas fa-pencil-alt","edit","plus","minus","check","times"],description:"La icona del link."}},args:{linkLabel:"Modifica",icona:"fas fa-pencil-alt"},render:t=>z(t.linkLabel,t.icona)},r={name:"Tasto terziario con icona a destra",argTypes:{linkLabel:{control:"text",description:"Etichetta del link."},icona:{control:"select",options:["trash-alt","edit","plus","minus","check","times"],description:"La icona del link."}},args:{linkLabel:"Tasto Icona DX",icona:"angle-double-right"},render:t=>S(t.linkLabel,t.icona)};var l,s,c;i.parameters={...i.parameters,docs:{...(l=i.parameters)==null?void 0:l.docs,source:{originalSource:`{
  name: "Terziario",
  argTypes: {
    linkLabel: {
      control: 'text',
      description: 'Etichetta del link.'
    },
    tooltip: {
      control: 'text',
      description: 'Il testo del tooltip.'
    }
  },
  args: {
    linkLabel: 'Terziario',
    tooltip: 'Informazioni aggiuntive se necessario'
  },
  render: (args: {
    linkLabel: string;
    tooltip: string;
  }) => {
    return createLinkSemplice(args.linkLabel, args.tooltip);
  }
}`,...(c=(s=i.parameters)==null?void 0:s.docs)==null?void 0:c.source}}};var p,d,u;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`{
  name: "Link terziario / download",
  argTypes: {
    linkLabel: {
      control: 'text',
      description: 'Etichetta del link.'
    },
    tooltip: {
      control: 'text',
      description: 'Il testo del tooltip.'
    }
  },
  args: {
    linkLabel: 'Nome-file-01.pdf',
    tooltip: 'Scarica il file'
  },
  render: (args: {
    linkLabel: string;
    tooltip: string;
  }) => {
    return createLinkDownload(args.linkLabel, args.tooltip);
  }
}`,...(u=(d=a.parameters)==null?void 0:d.docs)==null?void 0:u.source}}};var k,b,g;n.parameters={...n.parameters,docs:{...(k=n.parameters)==null?void 0:k.docs,source:{originalSource:`{
  name: "Terziario disabilitato",
  argTypes: {
    linkLabel: {
      control: 'text',
      description: 'Etichetta del link.'
    }
  },
  args: {
    linkLabel: 'Disabilitato'
  },
  render: (args: {
    linkLabel: string;
  }) => {
    return createLinkDisabilitato(args.linkLabel);
  }
}`,...(g=(b=n.parameters)==null?void 0:b.docs)==null?void 0:g.source}}};var L,m,f;o.parameters={...o.parameters,docs:{...(L=o.parameters)==null?void 0:L.docs,source:{originalSource:`{
  name: "Tasto terziario con icona a sinistra",
  argTypes: {
    linkLabel: {
      control: 'text',
      description: 'Etichetta del link.'
    },
    icona: {
      control: 'select',
      options: ['trash-alt', 'fas fa-pencil-alt', 'edit', 'plus', 'minus', 'check', 'times'],
      description: 'La icona del link.'
    }
  },
  args: {
    linkLabel: 'Modifica',
    icona: 'fas fa-pencil-alt'
  },
  render: (args: {
    linkLabel: string;
    tooltip: string;
    icona: string;
  }) => {
    return createLinkIconaSinistra(args.linkLabel, args.icona);
  }
}`,...(f=(m=o.parameters)==null?void 0:m.docs)==null?void 0:f.source}}};var y,h,T;r.parameters={...r.parameters,docs:{...(y=r.parameters)==null?void 0:y.docs,source:{originalSource:`{
  name: "Tasto terziario con icona a destra",
  argTypes: {
    linkLabel: {
      control: 'text',
      description: 'Etichetta del link.'
    },
    icona: {
      control: 'select',
      options: ['trash-alt', 'edit', 'plus', 'minus', 'check', 'times'],
      description: 'La icona del link.'
    }
  },
  args: {
    linkLabel: 'Tasto Icona DX',
    icona: 'angle-double-right'
  },
  render: (args: {
    linkLabel: string;
    tooltip: string;
    icona: string;
  }) => {
    return createLinkIconaDestra(args.linkLabel, args.icona);
  }
}`,...(T=(h=r.parameters)==null?void 0:h.docs)==null?void 0:T.source}}};const B=["LinkSemplice","LinkDownload","LinkDisabilitato","ButtonIconLeft","ButtonIconRight"];export{o as ButtonIconLeft,r as ButtonIconRight,n as LinkDisabilitato,a as LinkDownload,i as LinkSemplice,B as __namedExportsOrder,$ as default};
