import{a as l}from"./iframe-4Ua0A6k5.js";import"./preload-helper-PPVm8Dsz.js";function s(t,i){return`
    <button type="button" class="inail-tertiary-button">${t}</button>
  `}function c(t,i){return`
  <div>
    <button type="button" data-toggle="tooltip" data-original-title="${i}" 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 p(t,i){return`
    <button type="button" class="inail-tertiary-button"><span class="fa fa-${i} inial-left-icon"></span>${t}</button>`}function d(t,i){return`
    <button type="button" class="inail-tertiary-button pull-right ">${t}<span class='fa right fa-${i} inial-right-icon'></span></button>
  `}function u(t){return`
    <button type="button" class="inail-tertiary-button" disabled>${t}</a>
  `}const g={title:"Componenti/Button e Link/Buttons/Terziario",decorators:[(t,i)=>l(t,i,1,["https://linneoclass.it/app/webkit/unico/static-webkit/js/custom-webkit.js"],!1),t=>`<main id="contenutoPrincipale">${t()}</main>`]},e={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=>s(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=>c(t.linkLabel,t.tooltip)},n={name:"Terziario disabilitato",argTypes:{linkLabel:{control:"text",description:"Etichetta del link."}},args:{linkLabel:"Disabilitato"},render:t=>u(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=>p(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=>d(t.linkLabel,t.icona)};e.parameters={...e.parameters,docs:{...e.parameters?.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);
  }
}`,...e.parameters?.docs?.source}}};a.parameters={...a.parameters,docs:{...a.parameters?.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);
  }
}`,...a.parameters?.docs?.source}}};n.parameters={...n.parameters,docs:{...n.parameters?.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);
  }
}`,...n.parameters?.docs?.source}}};o.parameters={...o.parameters,docs:{...o.parameters?.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);
  }
}`,...o.parameters?.docs?.source}}};r.parameters={...r.parameters,docs:{...r.parameters?.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);
  }
}`,...r.parameters?.docs?.source}}};const m=["LinkSemplice","LinkDownload","LinkDisabilitato","ButtonIconLeft","ButtonIconRight"];export{o as ButtonIconLeft,r as ButtonIconRight,n as LinkDisabilitato,a as LinkDownload,e as LinkSemplice,m as __namedExportsOrder,g as default};
