@italia/input 1.0.0-alpha.5 → 1.0.0-alpha.6

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.
@@ -469,7 +469,7 @@
469
469
  {
470
470
  "kind": "variable",
471
471
  "name": "meta",
472
- "default": "{ title: 'Componenti/Form/Input Calendario', tags: ['a11y-ok', 'web-component', 'new'], component: 'it-input', args: { id: '', label: 'Datepicker', type: 'date', name: 'inputDate', value: undefined, disabled: false, customValidation: false, validityMessage: '', min: undefined, max: undefined, step: undefined, required: false, readonly: false, plaintext: false, placeholder: '', supportText: '', size: undefined, }, argTypes: { label: { control: 'text', description: 'Etichetta del campo', }, type: { control: 'select', options: ['date'], fixed: true, table: { defaultValue: { summary: 'date' } }, }, name: { control: 'text', }, value: { control: 'text', description: 'Valore del campo (nel formato YYYY-MM-DD)', type: 'string', }, disabled: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, customValidation: { name: 'custom-validation', control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: 'Se la validazione del campo è fatta esternamente (lato server o con plugin js), impostare questo attributo a `true`.', }, validityMessage: { name: 'validity-message', control: 'text', description: \"Messaggio da mostrare quando il campo è invalido nel caso di validazione esterna (validazione custom). Se impostato a '' (stringa vuota) il campo viene considerato valido.\", }, min: { control: 'text', description: 'Valore minimo consentito (nel formato YYYY-MM-DD)', type: 'string', }, max: { control: 'text', description: 'Valore massimo consentito (nel formato YYYY-MM-DD)', type: 'string', }, step: { control: 'number', description: 'Incremento per ogni step (utilizzato dai pulsanti +/-)', type: 'string', }, required: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, readonly: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, plaintext: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: \"Se il campo è readonly, con l'attributo 'plaintext' il campo assume l'aspetto di testo normalizzato.\", }, placeholder: { control: 'text', description: 'Testo segnaposto', }, supportText: { name: 'support-text', control: 'text', description: 'Testo di supporto', }, size: { control: { type: 'select', labels: { undefined: '(non definito)', sm: 'sm', lg: 'lg' } }, options: INPUT_SIZES, description: \"Dimensione del campo: 'sm' | (non definito) | 'lg' \", table: { defaultValue: { summary: undefined } }, type: 'string', }, }, } satisfies Meta<InputCalendarProps>"
472
+ "default": "{ title: 'Componenti/Form/Datepicker', tags: ['a11y-ok', 'web-component', 'new'], component: 'it-input', args: { id: '', label: 'Datepicker', type: 'date', name: 'inputDate', value: undefined, disabled: false, customValidation: false, validityMessage: '', min: undefined, max: undefined, step: undefined, required: false, readonly: false, plaintext: false, placeholder: '', supportText: '', size: undefined, }, argTypes: { label: { control: 'text', description: 'Etichetta del campo', }, type: { control: 'select', options: ['date'], fixed: true, table: { defaultValue: { summary: 'date' } }, }, name: { control: 'text', }, value: { control: 'text', description: 'Valore del campo (nel formato YYYY-MM-DD)', type: 'string', }, disabled: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, customValidation: { name: 'custom-validation', control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: 'Se la validazione del campo è fatta esternamente (lato server o con plugin js), impostare questo attributo a `true`.', }, validityMessage: { name: 'validity-message', control: 'text', description: \"Messaggio da mostrare quando il campo è invalido nel caso di validazione esterna (validazione custom). Se impostato a '' (stringa vuota) il campo viene considerato valido.\", }, min: { control: 'text', description: 'Valore minimo consentito (nel formato YYYY-MM-DD)', type: 'string', }, max: { control: 'text', description: 'Valore massimo consentito (nel formato YYYY-MM-DD)', type: 'string', }, step: { control: 'number', description: 'Incremento per ogni step (utilizzato dai pulsanti +/-)', type: 'string', }, required: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, readonly: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, plaintext: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: \"Se il campo è readonly, con l'attributo 'plaintext' il campo assume l'aspetto di testo normalizzato.\", }, placeholder: { control: 'text', description: 'Testo segnaposto', }, supportText: { name: 'support-text', control: 'text', description: 'Testo di supporto', }, size: { control: { type: 'select', labels: { undefined: '(non definito)', sm: 'sm', lg: 'lg' } }, options: INPUT_SIZES, description: \"Dimensione del campo: 'sm' | (non definito) | 'lg' \", table: { defaultValue: { summary: undefined } }, type: 'string', }, }, } satisfies Meta<InputCalendarProps>"
473
473
  },
474
474
  {
475
475
  "kind": "variable",
@@ -477,7 +477,7 @@
477
477
  "type": {
478
478
  "text": "Story"
479
479
  },
480
- "default": "{ ...meta, name: 'Esempio interattivo', parameters: { docs: { canvas: { sourceState: 'shown', }, }, }, render: (params) => html`${renderCalendarInput({ ...params, })}`, }"
480
+ "default": "{ ...meta, name: 'Esempio interattivo', tags: ['!dev'], parameters: { docs: { canvas: { sourceState: 'shown', }, }, }, render: (params) => html`${renderCalendarInput({ ...params, })}`, }"
481
481
  },
482
482
  {
483
483
  "kind": "variable",
@@ -538,7 +538,7 @@
538
538
  {
539
539
  "kind": "variable",
540
540
  "name": "meta",
541
- "default": "{ title: 'Componenti/Form/Input Numerico', tags: ['autodocs', 'a11y-ok', 'web-component'], component: 'it-input', args: { id: '', label: 'Input Number', type: 'number', name: 'inputNumber', value: '100', disabled: false, customValidation: false, validityMessage: '', min: undefined, max: undefined, step: undefined, required: false, readonly: false, plaintext: false, placeholder: '', supportText: '', size: undefined, adaptive: false, }, argTypes: { label: { control: 'text', description: 'Etichetta del campo', }, type: { control: 'select', options: ['number'], fixed: true, table: { defaultValue: { summary: 'number' } }, }, name: { control: 'text', }, value: { control: 'text', description: 'Valore del campo', }, disabled: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, customValidation: { name: 'custom-validation', control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: 'Se la validazione del campo è fatta esternamente (lato server o con plugin js), impostare questo attributo a `true`.', }, validityMessage: { name: 'validity-message', control: 'text', description: \"Messaggio da mostrare quando il campo è invalido nel caso di validazione esterna (validazione custom). Se impostato a '' (stringa vuota) il campo viene considerato valido.\", }, min: { control: 'number', description: 'Valore minimo consentito', type: 'number', }, max: { control: 'number', description: 'Valore massimo consentito', type: 'number', }, step: { control: 'number', description: 'Incremento per ogni step (utilizzato dai pulsanti +/-)', type: 'number', }, required: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, readonly: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, plaintext: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: \"Se il campo è `readonly`, con l'attributo 'plaintext' il campo assume l'aspetto di testo normalizzato.\", }, placeholder: { control: 'text', description: 'Testo segnaposto', }, supportText: { name: 'support-text', control: 'text', description: 'Testo di supporto', }, size: { control: { type: 'select', labels: { undefined: '(non definito)', sm: 'sm', lg: 'lg' } }, options: INPUT_SIZES, description: \"Dimensione del campo: 'sm' | (non definito) | 'lg' \", table: { defaultValue: { summary: undefined } }, type: 'string', }, adaptive: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: 'Se il campo è `type=\"number\"`, con l\\'attributo `adaptive` il campo assume adatta la sua larghezza al contenuto', }, }, } satisfies Meta<InputNumberProps>"
541
+ "default": "{ title: 'Componenti/Form/Number input', tags: ['autodocs', 'a11y-ok', 'web-component'], component: 'it-input', args: { id: '', label: 'Input Number', type: 'number', name: 'inputNumber', value: '100', disabled: false, customValidation: false, validityMessage: '', min: undefined, max: undefined, step: undefined, required: false, readonly: false, plaintext: false, placeholder: '', supportText: '', size: undefined, adaptive: false, }, argTypes: { label: { control: 'text', description: 'Etichetta del campo', }, type: { control: 'select', options: ['number'], fixed: true, table: { defaultValue: { summary: 'number' } }, }, name: { control: 'text', }, value: { control: 'text', description: 'Valore del campo', }, disabled: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, customValidation: { name: 'custom-validation', control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: 'Se la validazione del campo è fatta esternamente (lato server o con plugin js), impostare questo attributo a `true`.', }, validityMessage: { name: 'validity-message', control: 'text', description: \"Messaggio da mostrare quando il campo è invalido nel caso di validazione esterna (validazione custom). Se impostato a '' (stringa vuota) il campo viene considerato valido.\", }, min: { control: 'number', description: 'Valore minimo consentito', type: 'number', }, max: { control: 'number', description: 'Valore massimo consentito', type: 'number', }, step: { control: 'number', description: 'Incremento per ogni step (utilizzato dai pulsanti +/-)', type: 'number', }, required: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, readonly: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, plaintext: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: \"Se il campo è `readonly`, con l'attributo 'plaintext' il campo assume l'aspetto di testo normalizzato.\", }, placeholder: { control: 'text', description: 'Testo segnaposto', }, supportText: { name: 'support-text', control: 'text', description: 'Testo di supporto', }, size: { control: { type: 'select', labels: { undefined: '(non definito)', sm: 'sm', lg: 'lg' } }, options: INPUT_SIZES, description: \"Dimensione del campo: 'sm' | (non definito) | 'lg' \", table: { defaultValue: { summary: undefined } }, type: 'string', }, adaptive: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: 'Se il campo è `type=\"number\"`, con l\\'attributo `adaptive` il campo assume adatta la sua larghezza al contenuto', }, }, } satisfies Meta<InputNumberProps>"
542
542
  },
543
543
  {
544
544
  "kind": "variable",
@@ -554,7 +554,7 @@
554
554
  "type": {
555
555
  "text": "Story"
556
556
  },
557
- "default": "{ ...meta, parameters: { docs: { description: { story: ` La larghezza del campo predefinita è quella del suo contenitore. Per limitare la larghezza alle dimensioni del valore contenuto, utilizza il ridimensionamento adattivo. `, }, }, }, args: { value: '100', }, render: (params) => html` <div class=\"w-100\"> ${renderNumberInput({ ...params, label: 'Input Numerico inserito in una colonna a tutta larghezza', name: 'inputNumberFull', id: 'inputNumberFull', })} </div> <div class=\"w-50\"> ${renderNumberInput({ ...params, label: 'Input Numerico inserito in una colonna di larghezza 50%', name: 'inputNumberHalf', id: 'inputNumberHalf', })} </div> `, }"
557
+ "default": "{ ...meta, parameters: { docs: { description: { story: ` La larghezza del campo predefinita è quella del suo contenitore. Per limitare la larghezza alle dimensioni del valore contenuto, usa il ridimensionamento adattivo. `, }, }, }, args: { value: '100', }, render: (params) => html` <div class=\"w-100\"> ${renderNumberInput({ ...params, label: 'Input Numerico inserito in una colonna a tutta larghezza', name: 'inputNumberFull', id: 'inputNumberFull', })} </div> <div class=\"w-50\"> ${renderNumberInput({ ...params, label: 'Input Numerico inserito in una colonna di larghezza 50%', name: 'inputNumberHalf', id: 'inputNumberHalf', })} </div> `, }"
558
558
  },
559
559
  {
560
560
  "kind": "variable",
@@ -562,7 +562,7 @@
562
562
  "type": {
563
563
  "text": "Story"
564
564
  },
565
- "default": "{ ...meta, name: 'Limiti e Step', parameters: { docs: { description: { story: ` Aggiungendo gli attributi HTML \\`min=\"\"\\`, \\`max=\"\"\\` e \\`step=\"\"\\` all'input, puoi limitare il valore minimo e massimo del campo e decidere di quanto varierà a ogni click sui pulsanti. `, }, }, }, args: { value: '100', min: 0, max: 200, step: 10, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Min, Max & Step', name: 'inputNumberLimits', id: 'inputNumberLimits', })} `, }"
565
+ "default": "{ ...meta, name: 'Limiti e Step', parameters: { docs: { description: { story: ` Per limitare il valore minimo e massimo del campo e decidere di quanto varierà a ogni clic sui pulsanti, aggiungi gli attributi HTML \\`min=\"\"\\`, \\`max=\"\"\\` e \\`step=\"\"\\` all'input. `, }, }, }, args: { value: '100', min: 0, max: 200, step: 10, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Min, Max & Step', name: 'inputNumberLimits', id: 'inputNumberLimits', })} `, }"
566
566
  },
567
567
  {
568
568
  "kind": "variable",
@@ -570,7 +570,7 @@
570
570
  "type": {
571
571
  "text": "Story"
572
572
  },
573
- "default": "{ ...meta, parameters: { docs: { description: { story: ` Per anteporre il simbolo della valuta (ad esempio in Euro), utilizza lo slot \\`prepend\\`. `, }, }, }, args: { value: '3.50', step: 0.01, min: 0, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Currency', name: 'inputNumberCurrency', id: 'inputNumberCurrency', children: html`<span slot=\"prepend\" class=\"fw-semibold\">&euro;</span> `, })} `, }"
573
+ "default": "{ ...meta, parameters: { docs: { description: { story: ` Per anteporre il simbolo della valuta (ad esempio in euro), usa lo slot \\`prepend\\`. `, }, }, }, args: { value: '3.50', step: 0.01, min: 0, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Currency', name: 'inputNumberCurrency', id: 'inputNumberCurrency', children: html`<span slot=\"prepend\" class=\"fw-semibold\">&euro;</span> `, })} `, }"
574
574
  },
575
575
  {
576
576
  "kind": "variable",
@@ -578,7 +578,7 @@
578
578
  "type": {
579
579
  "text": "Story"
580
580
  },
581
- "default": "{ ...meta, parameters: { docs: { description: { story: ` Per anteporre il simbolo percentuale, utilizza lo slot \\`prepend\\`. Ti consigliamo di impostare gli attributi \\`min=\"0\"\\` e \\`max=\"100\"\\`. `, }, }, }, args: { value: '50', step: 10, min: 0, max: 100, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Percentage', name: 'inputNumberPercent', id: 'inputNumberPercent', children: html`<span slot=\"prepend\" class=\"fw-semibold\">%</span> `, })} `, }"
581
+ "default": "{ ...meta, parameters: { docs: { description: { story: ` Per anteporre il simbolo percentuale, usa lo slot \\`prepend\\`. Ti consigliamo di impostare gli attributi \\`min=\"0\"\\` e \\`max=\"100\"\\`. `, }, }, }, args: { value: '50', step: 10, min: 0, max: 100, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Percentage', name: 'inputNumberPercent', id: 'inputNumberPercent', children: html`<span slot=\"prepend\" class=\"fw-semibold\">%</span> `, })} `, }"
582
582
  },
583
583
  {
584
584
  "kind": "variable",
@@ -586,7 +586,7 @@
586
586
  "type": {
587
587
  "text": "Story"
588
588
  },
589
- "default": "{ ...meta, parameters: { docs: { description: { story: ` Per disabilitare un Input number, aggiungi l'attributo \\`disabled\\` al componente \\`<it-input>\\`. `, }, }, }, args: { value: '50', disabled: true, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Disabled', name: 'inputNumberDisabled', id: 'inputNumberDisabled', })} `, }"
589
+ "default": "{ ...meta, parameters: { docs: { description: { story: ` Per disabilitare un number input, aggiungi l'attributo \\`disabled\\` al componente \\`<it-input>\\`. `, }, }, }, args: { value: '50', disabled: true, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Disabled', name: 'inputNumberDisabled', id: 'inputNumberDisabled', })} `, }"
590
590
  },
591
591
  {
592
592
  "kind": "variable",
@@ -594,7 +594,7 @@
594
594
  "type": {
595
595
  "text": "Story"
596
596
  },
597
- "default": "{ ...meta, parameters: { docs: { description: { story: ` Per rendere un Input number \\`readonly\\`, aggiungi l'attributo \\`readonly\\` al componente \\`<it-input>\\`. `, }, }, }, args: { value: '50', readonly: true, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Contenuto in sola lettura', name: 'inputNumberReadonly', id: 'inputNumberReadonly', })} `, }"
597
+ "default": "{ ...meta, parameters: { docs: { description: { story: ` Per rendere un number input read only, aggiungi l'attributo \\`readonly\\` al componente \\`<it-input>\\`. `, }, }, }, args: { value: '50', readonly: true, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Contenuto in sola lettura', name: 'inputNumberReadonly', id: 'inputNumberReadonly', })} `, }"
598
598
  },
599
599
  {
600
600
  "kind": "variable",
@@ -602,7 +602,7 @@
602
602
  "type": {
603
603
  "text": "Story"
604
604
  },
605
- "default": "{ ...meta, parameters: { docs: { description: { story: ` Puoi far che il campo numerico si ridimensioni automaticamente a seconda del valore contenuto in esso. Per ottenere questo comportamento, è sufficiente aggiungere l'attributo \\`adaptive\\` al componente \\`<it-input>\\`. `, }, }, }, args: { value: '99999', adaptive: true, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Adattivo', name: 'inputNumberAdaptive', id: 'inputNumberAdaptive', })} `, }"
605
+ "default": "{ ...meta, parameters: { docs: { description: { story: ` Per far ridimensionare automaticamente il campo numerico a seconda del valore contenuto, aggiungi l'attributo \\`adaptive\\` al componente \\`<it-input>\\`. `, }, }, }, args: { value: '99999', adaptive: true, }, render: (params) => html` ${renderNumberInput({ ...params, label: 'Adattivo', name: 'inputNumberAdaptive', id: 'inputNumberAdaptive', })} `, }"
606
606
  }
607
607
  ],
608
608
  "exports": [
@@ -687,7 +687,7 @@
687
687
  {
688
688
  "kind": "variable",
689
689
  "name": "meta",
690
- "default": "{ title: 'Componenti/Form/Input Ora', tags: ['autodocs', 'a11y-ok', 'web-component', 'alpha'], component: 'it-input', args: { id: '', label: 'Input Ora', type: 'time', name: 'timepicker', value: '', disabled: false, customValidation: false, validityMessage: '', min: undefined, max: undefined, step: undefined, required: false, readonly: false, plaintext: false, placeholder: '', supportText: '', size: undefined, }, argTypes: { label: { control: 'text', description: 'Etichetta del campo', }, type: { control: 'select', options: ['time'], fixed: true, table: { defaultValue: { summary: 'time' } }, }, name: { control: 'text', }, value: { control: 'text', description: 'Valore del campo', }, disabled: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, customValidation: { name: 'custom-validation', control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: 'Se la validazione del campo è fatta esternamente (lato server o con plugin js), impostare questo attributo a `true`.', }, validityMessage: { name: 'validity-message', control: 'text', description: \"Messaggio da mostrare quando il campo è invalido nel caso di validazione esterna (validazione custom). Se impostato a '' (stringa vuota) il campo viene considerato valido.\", }, min: { control: 'text', description: 'Valore minimo consentito nel formato HH:MM. Es: 08:00', type: 'string', }, max: { control: 'text', description: 'Valore massimo consentito nel formato HH:MM. Es: 15:30', type: 'string', }, step: { control: 'number', description: 'Incremento per ogni step (utilizzato dai pulsanti +/-), in secondi', type: 'number', }, required: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, readonly: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, plaintext: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: \"Se il campo è `readonly`, con l'attributo 'plaintext' il campo assume l'aspetto di testo normalizzato.\", }, placeholder: { control: 'text', description: 'Testo segnaposto', }, supportText: { name: 'support-text', control: 'text', description: 'Testo di supporto', }, size: { control: { type: 'select', labels: { undefined: '(non definito)', sm: 'sm', lg: 'lg' } }, options: INPUT_SIZES, description: \"Dimensione del campo: 'sm' | (non definito) | 'lg' \", table: { defaultValue: { summary: undefined } }, type: 'string', }, }, } satisfies Meta<InputNumberProps>"
690
+ "default": "{ title: 'Componenti/Form/Timepicker', tags: ['autodocs', 'a11y-ok', 'web-component', 'alpha'], component: 'it-input', args: { id: '', label: 'Input Ora', type: 'time', name: 'timepicker', value: '', disabled: false, customValidation: false, validityMessage: '', min: undefined, max: undefined, step: undefined, required: false, readonly: false, plaintext: false, placeholder: '', supportText: '', size: undefined, }, argTypes: { label: { control: 'text', description: 'Etichetta del campo', }, type: { control: 'select', options: ['time'], fixed: true, table: { defaultValue: { summary: 'time' } }, }, name: { control: 'text', }, value: { control: 'text', description: 'Valore del campo', }, disabled: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, customValidation: { name: 'custom-validation', control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: 'Se la validazione del campo è fatta esternamente (lato server o con plugin js), impostare questo attributo a `true`.', }, validityMessage: { name: 'validity-message', control: 'text', description: \"Messaggio da mostrare quando il campo è invalido nel caso di validazione esterna (validazione custom). Se impostato a '' (stringa vuota) il campo viene considerato valido.\", }, min: { control: 'text', description: 'Valore minimo consentito nel formato HH:MM. Es: 08:00', type: 'string', }, max: { control: 'text', description: 'Valore massimo consentito nel formato HH:MM. Es: 15:30', type: 'string', }, step: { control: 'number', description: 'Incremento per ogni step (utilizzato dai pulsanti +/-), in secondi', type: 'number', }, required: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, readonly: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, }, plaintext: { control: 'boolean', type: 'boolean', table: { defaultValue: { summary: 'false' } }, description: \"Se il campo è `readonly`, con l'attributo 'plaintext' il campo assume l'aspetto di testo normalizzato.\", }, placeholder: { control: 'text', description: 'Testo segnaposto', }, supportText: { name: 'support-text', control: 'text', description: 'Testo di supporto', }, size: { control: { type: 'select', labels: { undefined: '(non definito)', sm: 'sm', lg: 'lg' } }, options: INPUT_SIZES, description: \"Dimensione del campo: 'sm' | (non definito) | 'lg' \", table: { defaultValue: { summary: undefined } }, type: 'string', }, }, } satisfies Meta<InputNumberProps>"
691
691
  },
692
692
  {
693
693
  "kind": "variable",
@@ -703,7 +703,7 @@
703
703
  "type": {
704
704
  "text": "Story"
705
705
  },
706
- "default": "{ ...meta, name: 'Limiti e Step', parameters: { docs: { description: { story: ` Aggiungendo gli attributi HTML \\`min=\"\"\\`, \\`max=\"\"\\` o \\`step=\"\"\\` all'input, puoi limitare il valore minimo e massimo del campo e decidere un intervallo orario valido. Questi attributi sono utili solo ai fini della validazione, e non modificano l'interfaccia del selettore. Gli attributi \\`min=\"\"\\`, \\`max=\"\"\\` accettano valori nel formato HH:MM. L'attributo \\`step=\"\"\\` prevede l'inserimento di un intervallo in secondi. `, }, }, }, args: { value: '10:00', min: '09:00', max: '12:00', step: 1800, }, render: (params) => html` ${renderTimeInput({ ...params, label: 'Min, Max & Step', name: 'inputTimeLimits', id: 'inputTimeLimits', })} `, }"
706
+ "default": "{ ...meta, name: 'Limiti e Step', parameters: { docs: { description: { story: ` Per aggiungere limitazioni ai valori orari selezionabili, usa questi attributi HTML: - \\`min=\"\"\\`, per limitare il valore minimo; - \\`max=\"\"\\`, per limitare il valore massimo; - \\`step=\"\"\\`, per un intervallo orario valido. Gli attributi \\`min=\"\"\\`, \\`max=\"\"\\` accettano valori nel formato HH:MM. L'attributo \\`step=\"\"\\` prevede l'inserimento di un intervallo in secondi. Questi attributi sono utili solo ai fini della validazione e non modificano l'interfaccia del selettore. `, }, }, }, args: { value: '10:00', min: '09:00', max: '12:00', step: 1800, }, render: (params) => html` ${renderTimeInput({ ...params, label: 'Min, Max & Step', name: 'inputTimeLimits', id: 'inputTimeLimits', })} `, }"
707
707
  }
708
708
  ],
709
709
  "exports": [
@@ -1081,7 +1081,7 @@ if (typeof window !== 'undefined') {
1081
1081
  window._itAnalytics = window._itAnalytics || {};
1082
1082
  window._itAnalytics = {
1083
1083
  ...window._itAnalytics,
1084
- version: '1.0.0-alpha.5',
1084
+ version: '1.0.0-alpha.6',
1085
1085
  };
1086
1086
  }
1087
1087
 
@@ -1390,6 +1390,7 @@ a {
1390
1390
  }
1391
1391
  a:hover {
1392
1392
  color: var(--bsi-color-link-hover);
1393
+ cursor: pointer;
1393
1394
  }
1394
1395
 
1395
1396
  pre,
@@ -1605,7 +1606,7 @@ progress {
1605
1606
  --bsi-btn-font-family: var(--bsi-font-sans);
1606
1607
  --bsi-btn-font-size: var(--bsi-label-font-size);
1607
1608
  --bsi-btn-font-weight: var(--bsi-font-weight-solid);
1608
- --bsi-btn-line-height: var(--bsi-font-line-height-3);
1609
+ --bsi-btn-line-height: var(--bsi-font-leading-3);
1609
1610
  --bsi-btn-outline-border-color: transparent;
1610
1611
  --bsi-btn-outline-border-size: 2px;
1611
1612
  --bsi-btn-padding-x: var(--bsi-spacing-s);
@@ -1664,7 +1665,7 @@ progress {
1664
1665
  --bsi-btn-padding-x: var(--bsi-spacing-xs);
1665
1666
  --bsi-btn-padding-y: var(--bsi-spacing-xs);
1666
1667
  --bsi-btn-font-size: var(--bsi-label-font-size-s);
1667
- --bsi-btn-line-height: var(--bsi-font-line-height-1);
1668
+ --bsi-btn-line-height: var(--bsi-font-leading-1);
1668
1669
  --bsi-rounded-icon-size: 20px;
1669
1670
  }
1670
1671
 
@@ -1672,7 +1673,7 @@ progress {
1672
1673
  --bsi-btn-padding-x: var(--bsi-spacing-m);
1673
1674
  --bsi-btn-padding-y: var(--bsi-spacing-s);
1674
1675
  --bsi-btn-font-size: var(--bsi-label-font-size-l);
1675
- --bsi-btn-line-height: var(--bsi-font-line-height-5);
1676
+ --bsi-btn-line-height: var(--bsi-font-leading-5);
1676
1677
  }
1677
1678
 
1678
1679
  .btn-progress {
@@ -1929,18 +1930,17 @@ a.btn-outline-danger:active {
1929
1930
  height: 2.5rem;
1930
1931
  padding: 0;
1931
1932
  border: 0;
1932
- opacity: 0.5;
1933
1933
  background-color: transparent;
1934
- color: var(--bsi-color-text-base);
1935
1934
  }
1936
1935
  .btn-close .icon {
1937
1936
  position: absolute;
1938
1937
  top: 50%;
1939
1938
  left: 50%;
1940
1939
  transform: translate(-50%, -50%);
1940
+ fill: var(--bsi-icon-secondary);
1941
1941
  }
1942
- .btn-close:hover {
1943
- opacity: 1;
1942
+ .btn-close .icon:hover {
1943
+ fill: var(--bsi-icon-default);
1944
1944
  text-decoration: none;
1945
1945
  }
1946
1946
  .btn-close:focus {
@@ -3300,11 +3300,17 @@ a.btn-outline-danger:active {
3300
3300
  bottom: auto;
3301
3301
  }
3302
3302
 
3303
- @keyframes progress-bar-stripes {
3304
- 0% {
3305
- background-position-x: 16px;
3306
- }
3303
+ .progress {
3304
+ --bsi-progress-bg: var(--bsi-color-background-secondary-lighter);
3305
+ --bsi-progress-border-radius: var(--bsi-radius-smooth);
3306
+ --bsi-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
3307
+ --bsi-progress-label-color: var(--bsi-color-text-secondary);
3308
+ --bsi-progress-label-font-size: var(--bsi-label-font-size-xs);
3309
+ --bsi-progress-bar-transition: width 0.5s ease;
3310
+ --bsi-progress-bar-bg: var(--bsi-color-background-secondary);
3311
+ --bsi-progress-height: 4px;
3307
3312
  }
3313
+
3308
3314
  .progress-bar-striped {
3309
3315
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
3310
3316
  background-size: var(--bsi-progress-height) var(--bsi-progress-height);
@@ -3319,6 +3325,11 @@ a.btn-outline-danger:active {
3319
3325
  }
3320
3326
  }
3321
3327
 
3328
+ @keyframes progress-bar-stripes {
3329
+ 0% {
3330
+ background-position-x: 16px;
3331
+ }
3332
+ }
3322
3333
  @keyframes progressBarIndeterminate {
3323
3334
  0% {
3324
3335
  left: -5%;
@@ -3332,25 +3343,13 @@ a.btn-outline-danger:active {
3332
3343
  }
3333
3344
  }
3334
3345
  .progress {
3335
- --bsi-progress-height: 16px;
3336
- --bsi-progress-font-size: 0.75rem;
3337
- --bsi-progress-bg: hsl(0, 0%, 90%);
3338
- --bsi-progress-border-radius: 0;
3339
- --bsi-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
3340
- --bsi-progress-bar-color: hsl(0, 0%, 100%);
3341
- --bsi-progress-bar-bg: hsl(210, 100%, 40%);
3342
- --bsi-progress-bar-transition: width 0.6s ease;
3343
3346
  display: flex;
3344
3347
  overflow: hidden;
3345
- font-size: var(--bsi-progress-font-size);
3346
3348
  background-color: var(--bsi-progress-bg);
3347
3349
  border-radius: var(--bsi-progress-border-radius);
3348
- height: 4px;
3350
+ height: var(--bsi-progress-height);
3349
3351
  box-shadow: none;
3350
3352
  }
3351
- .progress.progress-color {
3352
- background-color: hsl(210, 3%, 85%);
3353
- }
3354
3353
  .progress.progress-indeterminate {
3355
3354
  position: relative;
3356
3355
  }
@@ -3367,7 +3366,6 @@ a.btn-outline-danger:active {
3367
3366
  flex-direction: column;
3368
3367
  justify-content: center;
3369
3368
  overflow: hidden;
3370
- color: var(--bsi-progress-bar-color);
3371
3369
  text-align: center;
3372
3370
  white-space: nowrap;
3373
3371
  transition: var(--bsi-progress-bar-transition);
@@ -3378,13 +3376,13 @@ a.btn-outline-danger:active {
3378
3376
  }
3379
3377
  }
3380
3378
  .progress-bar {
3381
- background-color: hsl(210, 17%, 44%);
3379
+ background-color: var(--bsi-progress-bar-bg);
3382
3380
  }
3383
3381
 
3384
3382
  .progress-bar-label {
3385
3383
  text-align: right;
3386
- font-size: 0.75rem;
3387
- color: hsl(0, 0%, 10%);
3384
+ font-size: var(--bsi-progress-label-font-size);
3385
+ color: var(--bsi-progress-label-color);
3388
3386
  font-weight: 500;
3389
3387
  }
3390
3388
 
@@ -3394,17 +3392,12 @@ a.btn-outline-danger:active {
3394
3392
  bottom: 0;
3395
3393
  width: 100%;
3396
3394
  left: 0;
3397
- border-radius: 0 0 4px 4px;
3395
+ border-radius: 0 0 var(--bsi-progress-border-radius) var(--bsi-progress-border-radius);
3398
3396
  }
3399
3397
  .btn-progress .progress-bar {
3400
- height: 4px;
3398
+ height: var(--bsi-progress-height);
3401
3399
  }
3402
3400
 
3403
- @media (min-width: 576px) {
3404
- .progress-bar-label {
3405
- font-size: 0.75rem;
3406
- }
3407
- }
3408
3401
  body {
3409
3402
  font-family: var(--bsi-font-sans);
3410
3403
  }
@@ -3414,13 +3407,13 @@ ul,
3414
3407
  ol,
3415
3408
  dl {
3416
3409
  font-size: var(--bsi-body-font-size);
3417
- line-height: var(--bsi-body-line-height);
3410
+ line-height: var(--bsi-body-leading);
3418
3411
  }
3419
3412
 
3420
3413
  caption,
3421
3414
  figcaption {
3422
3415
  font-size: var(--bsi-caption-font-size);
3423
- line-height: var(--bsi-caption-line-height);
3416
+ line-height: var(--bsi-caption-leading);
3424
3417
  }
3425
3418
 
3426
3419
  b,
@@ -3630,7 +3623,7 @@ blockquote,
3630
3623
  padding: var(--bsi-spacing-s);
3631
3624
  border-left: var(--bsi-border-thick) solid var(--bsi-border-color-secondary);
3632
3625
  font-size: var(--bsi-body-font-size);
3633
- line-height: var(--bsi-body-line-height);
3626
+ line-height: var(--bsi-body-leading);
3634
3627
  }
3635
3628
  blockquote > :last-child,
3636
3629
  .blockquote > :last-child {
@@ -4060,6 +4053,11 @@ input::-webkit-datetime-edit {
4060
4053
  .form-check input[type=radio]:disabled:checked + label::before {
4061
4054
  border-color: var(--bsi-color-border-disabled);
4062
4055
  }
4056
+ .form-check .form-text {
4057
+ display: block;
4058
+ margin-bottom: 0.5rem;
4059
+ padding-right: 3.25rem;
4060
+ }
4063
4061
  .form-check.form-check-group {
4064
4062
  margin-bottom: 1rem;
4065
4063
  padding: 0 0 1rem 0;
@@ -4083,11 +4081,6 @@ input::-webkit-datetime-edit {
4083
4081
  .form-check.form-check-group input[type=radio]:checked + label::before {
4084
4082
  right: 0;
4085
4083
  }
4086
- .form-check.form-check-group .form-text {
4087
- display: block;
4088
- margin-bottom: 0.5rem;
4089
- padding-right: 3.25rem;
4090
- }
4091
4084
  .form-check.form-check-group input.semi-checked:not(:checked) + label::before {
4092
4085
  right: 4px;
4093
4086
  left: auto;
@@ -4565,7 +4558,7 @@ select.just-validate-success-field {
4565
4558
  }
4566
4559
 
4567
4560
  .border-start {
4568
- border-left: var(--bsi-border-width) var(--bsi-border-style) var(--bsi-border-color) !important;
4561
+ border-left: var(--bsi-border-base) var(--bsi-border-style) var(--bsi-color-border-subtle) !important;
4569
4562
  }
4570
4563
 
4571
4564
  .border-start-0 {
@@ -4573,7 +4566,7 @@ select.just-validate-success-field {
4573
4566
  }
4574
4567
 
4575
4568
  .border-end {
4576
- border-right: var(--bsi-border-width) var(--bsi-border-style) var(--bsi-border-color) !important;
4569
+ border-right: var(--bsi-border-base) var(--bsi-border-style) var(--bsi-color-border-subtle) !important;
4577
4570
  }
4578
4571
 
4579
4572
  .border-end-0 {
@@ -1 +1 @@
1
- {"version":3,"file":"it-input.js","sources":["../../../../node_modules/.pnpm/@rollup+plugin-typescript@12.3.0_rollup@4.56.0_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js","../../../globals/dist/src/directives/setAttributes.js","../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../i18n/dist/src/index.js","../../../globals/dist/src/utils/logger.js","../../../globals/dist/src/base-component/base-component.js","../../../globals/dist/src/form/form-controller.js","../../../globals/dist/src/form/locales/it.js","../../../globals/dist/src/form/form-control.js","../../../globals/dist/src/index.js","../../../src/helpers/password.ts","../../../src/locales/it.ts","../../../src/it-input.ts"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nvar ownKeys = function(o) {\r\n ownKeys = Object.getOwnPropertyNames || function (o) {\r\n var ar = [];\r\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\r\n return ar;\r\n };\r\n return ownKeys(o);\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n};\r\n","import { directive, Directive } from 'lit/directive.js';\nclass SetAttributesDirective extends Directive {\n update(part, [attributes]) {\n const el = part.element;\n for (const [name, value] of Object.entries(attributes)) {\n if (value != null)\n el.setAttribute(name, value);\n else\n el.removeAttribute(name);\n }\n return null;\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n render(_attributes) {\n return null;\n }\n}\n/* How to use:\n\n<textarea ${setAttributes(this._ariaAttributes)} ... />\n*/\nconst setAttributes = directive(SetAttributesDirective);\nexport default setAttributes;\n//# sourceMappingURL=setAttributes.js.map","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","const connectedElements = new Set();\nif (window && !window.translations) {\n window.translations = new Map();\n}\nconst { translations } = window;\nlet fallback;\n// TODO: We need some way for users to be able to set these on the server.\nlet documentDirection = 'ltr';\n// Fallback for server.\nlet documentLanguage = 'en';\nconst isClient = typeof MutationObserver !== 'undefined' &&\n typeof document !== 'undefined' &&\n typeof document.documentElement !== 'undefined';\n/** Updates all localized elements that are currently connected */\nfunction update() {\n if (isClient) {\n documentDirection = document.documentElement.dir || 'ltr';\n documentLanguage = document.documentElement.lang || navigator.language;\n }\n [...connectedElements.keys()].forEach((el) => {\n const litEl = el;\n if (typeof litEl.requestUpdate === 'function') {\n litEl.requestUpdate();\n }\n });\n}\nif (isClient) {\n const documentElementObserver = new MutationObserver(update);\n documentDirection = document.documentElement.dir || 'ltr';\n documentLanguage = document.documentElement.lang || navigator.language;\n // Watch for changes on <html lang>\n documentElementObserver.observe(document.documentElement, {\n attributes: true,\n attributeFilter: ['dir', 'lang'],\n });\n}\n/** Registers one or more translations */\nfunction registerTranslation(...translation) {\n translation.forEach((t) => {\n const code = t.$code.toLowerCase();\n if (translations.has(code)) {\n // Merge translations that share the same language code\n translations.set(code, { ...translations.get(code), ...t });\n }\n else {\n translations.set(code, t);\n }\n // The first translation that's registered is the fallback\n if (!fallback) {\n fallback = t;\n }\n });\n update();\n}\nwindow.registerTranslation = registerTranslation;\n/**\n * Localize Reactive Controller for components built with Lit\n *\n * To use this controller, import the class and instantiate it in a custom element constructor:\n *\n * private localize = new LocalizeController(this);\n *\n * This will add the element to the set and make it respond to changes to <html dir|lang> automatically. To make it\n * respond to changes to its own dir|lang properties, make it a property:\n *\n * @property() dir: string;\n * @property() lang: string;\n *\n * To use a translation method, call it like this:\n *\n * ${this.localize.term('term_key_here')}\n * ${this.localize.date('2021-12-03')}\n * ${this.localize.number(1000000)}\n */\nclass LocalizeController {\n constructor(host) {\n this.host = host;\n this.host.addController(this);\n }\n hostConnected() {\n connectedElements.add(this.host);\n }\n hostDisconnected() {\n connectedElements.delete(this.host);\n }\n /**\n * Gets the host element's directionality as determined by the `dir` attribute. The return value is transformed to\n * lowercase.\n */\n dir() {\n return `${this.host.dir || documentDirection}`.toLowerCase();\n }\n /**\n * Gets the host element's language as determined by the `lang` attribute. The return value is transformed to\n * lowercase.\n */\n lang() {\n return `${this.host.lang || documentLanguage}`.toLowerCase();\n }\n // eslint-disable-next-line class-methods-use-this\n getTranslationData(lang) {\n // Convert \"en_US\" to \"en-US\". Note that both underscores and dashes are allowed per spec, but underscores result in\n // a RangeError by the call to `new Intl.Locale()`. See: https://unicode.org/reports/tr35/#unicode-locale-identifier\n const locale = new Intl.Locale(lang.replace(/_/g, '-'));\n const language = locale?.language.toLowerCase();\n const region = locale?.region?.toLowerCase() ?? '';\n const primary = translations.get(`${language}-${region}`);\n const secondary = translations.get(language);\n return { locale, language, region, primary, secondary };\n }\n /** Determines if the specified term exists, optionally checking the fallback translation. */\n exists(key, options) {\n const { primary, secondary } = this.getTranslationData(options.lang ?? this.lang());\n const mergedOptions = {\n includeFallback: false,\n ...options,\n };\n if ((primary && primary[key]) ||\n (secondary && secondary[key]) ||\n (mergedOptions.includeFallback && fallback && fallback[key])) {\n return true;\n }\n return false;\n }\n /** Outputs a translated term. */\n term(key, ...args) {\n const { primary, secondary } = this.getTranslationData(this.lang());\n let term;\n // Look for a matching term using regionCode, code, then the fallback\n if (primary && primary[key]) {\n term = primary[key];\n }\n else if (secondary && secondary[key]) {\n term = secondary[key];\n }\n else if (fallback && fallback[key]) {\n term = fallback[key];\n }\n else {\n // eslint-disable-next-line no-console\n console.error(`No translation found for: ${String(key)}`);\n return String(key);\n }\n if (typeof term === 'function') {\n return term(...args);\n }\n return term;\n }\n /** Outputs a localized date in the specified format. */\n date(dateToFormat, options) {\n const date = new Date(dateToFormat);\n return new Intl.DateTimeFormat(this.lang(), options).format(date);\n }\n /** Outputs a localized number in the specified format. */\n number(numberToFormat, options) {\n const num = Number(numberToFormat);\n return Number.isNaN(num) ? '' : new Intl.NumberFormat(this.lang(), options).format(num);\n }\n /** Outputs a localized time in relative format. */\n relativeTime(value, unit, options) {\n return new Intl.RelativeTimeFormat(this.lang(), options).format(value, unit);\n }\n}\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing `localizations` method.\n *\n *@example\n * <!-- Terms -->\n ${this.$localize.term('hello')}\n or\n ${this.$t('hello')}\n\n <!-- Dates -->\n ${this.$localize.date('2021-09-15 14:00:00 ET', { month: 'long', day: 'numeric', year: 'numeric' })}\n or\n ${this.$d('2021-09-15 14:00:00 ET', { month: 'long', day: 'numeric', year: 'numeric' })}\n\n <!-- Numbers/currency -->\n ${this.$localize.number(1000, { style: 'currency', currency: 'USD'})}\n or\n ${this.$n(1000,{ style: 'currency', currency: 'USD'})}\n\n <!-- Determining language -->\n ${this.$localize.lang()}\n\n <!-- Determining directionality, e.g. 'ltr' or 'rtl' -->\n ${this.$localize.dir()}\n\n\n *** HOW TO DEFINE TRANSLATIONS: ***\n // Simple terms\n upload: 'Upload',\n\n // Terms with placeholders\n greetUser: (name: string) => `Hello, ${name}!`,\n\n // Plurals\n numFilesSelected: (count: number) => {\n if (count === 0) return 'No files selected';\n if (count === 1) return '1 file selected';\n return `${count} files selected`;\n }\n */\nconst LocalizeMixin = (Base) => class extends Base {\n constructor() {\n super(...arguments);\n this.localize = new LocalizeController(this);\n }\n // Provide default values to avoid definite assignment errors and avoid decorators\n // commentati perchè danno problemi su React.js. Sono attributi nativi, e assegnare un valore di default a react da fastidio\n // dir: string = '';\n // lang: string = '';\n /**\n * Restituisce tutta l'utility di traduzione\n *\n\n *\n * @returns tutta l'utility di traduzione\n *\n * @example\n * this.$localize.lang() -> ritorna la lingua corrente\n * this.$localize.dir() -> ritorna la direzione della lingua corrente\n */\n get $localize() {\n return this.localize;\n }\n /**\n * Restituisce una stringa localizzata a partire da una chiave di termine.\n *\n * Utilizza il `LocalizeController` per accedere al dizionario corrente e\n * tradurre la chiave fornita secondo la lingua attiva.\n *\n * @param t - La chiave del termine da localizzare (es. 'hello', 'submit', ecc.).\n * @returns La stringa tradotta in base alla lingua attiva. Se la chiave non è trovata, restituisce la chiave stessa.\n *\n * @example\n * this.$t('hello'); // → \"Ciao\" (in locale it-IT)\n */\n $t(t) {\n // format term\n return this.localize.term(t);\n }\n /**\n * Formatta una data in base alla localizzazione attiva.\n *\n * Utilizza il `LocalizeController` per restituire una stringa localizzata\n * secondo le opzioni fornite (es. mese esteso, anno, ecc.).\n *\n * @param n - La data da formattare come stringa compatibile (es. ISO o con timezone, es. '2021-09-15 14:00:00 ET').\n * @param p - Le opzioni di formattazione per `Intl.DateTimeFormat` (es. { year: 'numeric', month: 'long', day: 'numeric' }).\n * @returns Una stringa rappresentante la data formattata secondo la localizzazione attiva.\n *\n * @example\n * this.$d('2021-09-15 14:00:00 ET', { year: 'numeric', month: 'long', day: 'numeric' });\n * // → \"15 settembre 2021\" (in locale it-IT)\n */\n $d(d, p) {\n // format date\n return this.localize.date(d, p);\n }\n /**\n * Formatta un numero secondo le impostazioni locali dell'utente corrente.\n *\n * Utilizza il `LocalizeController` per applicare formattazione numerica,\n * incluse opzioni come separatori, decimali, valute, ecc.\n *\n * @param d - Il numero da formattare.\n * @param p - Le opzioni di formattazione (es. { style: 'currency', currency: 'EUR' }).\n * @returns Una stringa rappresentante il numero formattato secondo la localizzazione attiva.\n *\n * @example\n * this.$n(1234.56, { style: 'currency', currency: 'USD' }); // → \"$1,234.56\" (in locale en-US)\n */\n $n(d, p) {\n return this.localize.number(d, p);\n }\n};\n// export interface LocalizedComponent {\n// $t(t: string): string;\n// $d(d: Date | string, p?: Intl.DateTimeFormatOptions): string;\n// $n(n: number, p?: Intl.NumberFormatOptions): string;\n// $localize: LocalizeController;\n// }\n\nexport { LocalizeController, LocalizeMixin, registerTranslation };\n//# sourceMappingURL=index.js.map\n","/* eslint-disable no-console */\nexport class Logger {\n constructor(tag) {\n this.tag = tag;\n }\n format(level, msg) {\n return [`[${this.tag}] ${msg}`];\n }\n warn(msg) {\n console.warn(...this.format('warn', msg));\n }\n error(msg) {\n console.error(...this.format('error', msg));\n }\n info(msg) {\n console.info(...this.format('info', msg));\n }\n}\n//# sourceMappingURL=logger.js.map","import clsx from 'clsx';\nimport { LitElement } from 'lit';\nimport { LocalizeMixin } from '@italia/i18n';\nimport { Logger } from '../utils/logger.js';\n/**\n * Factory function per creare una base class estendibile\n * con stili personalizzati.\n */\nexport class BaseComponent extends LitElement {\n constructor() {\n super();\n this.composeClass = clsx;\n this.logger = new Logger(this.tagName.toLowerCase());\n }\n get _ariaAttributes() {\n const attributes = {};\n for (const attr of this.getAttributeNames()) {\n if (attr === 'it-role') {\n attributes.role = this.getAttribute(attr);\n }\n else if (attr.startsWith('it-aria-')) {\n attributes[attr.replace(/^it-/, '')] = this.getAttribute(attr);\n }\n }\n return attributes;\n }\n // eslint-disable-next-line class-methods-use-this\n generateId(prefix) {\n return `${prefix}-${Math.random().toString(36).slice(2)}`;\n }\n // eslint-disable-next-line class-methods-use-this, @typescript-eslint/no-unused-vars\n addFocus(element) {\n // new TrackFocus(element); // per il momento è stato disattivato perchè ci sono le pseudo classi ::focus-visible per fare quello che fa TrackFocus. Si possono aggiungere regole css in bsi-italia 3 dato che stiamo facendo una breaking release di bsi.\n }\n // eslint-disable-next-line class-methods-use-this\n getActiveElement() {\n let active = document.activeElement;\n while (active && active.shadowRoot && active.shadowRoot.activeElement) {\n active = active.shadowRoot.activeElement;\n }\n return active;\n }\n get focusElement() {\n return this;\n }\n // eslint-disable-next-line class-methods-use-this\n get prefersReducedMotion() {\n return window.matchMedia('(prefers-reduced-motion: reduce)').matches;\n }\n connectedCallback() {\n super.connectedCallback();\n // generate internal _id\n const prefix = this.id?.length > 0 ? this.id : this.tagName.toLowerCase();\n this._id = this.generateId(prefix);\n }\n}\nexport const BaseLocalizedComponent = LocalizeMixin(BaseComponent);\n//# sourceMappingURL=base-component.js.map","//\n// We store a WeakMap of forms + controls so we can keep references to all FormControl within a given form. As\n// elements connect and disconnect to/from the DOM, their containing form is used as the key and the form control is\n// added and removed from the form's set, respectively.\n//\nexport const formCollections = new WeakMap();\n//\n// We store a WeakMap of reportValidity() overloads so we can override it when form controls connect to the DOM and\n// restore the original behavior when they disconnect.\n//\nconst reportValidityOverloads = new WeakMap();\nconst checkValidityOverloads = new WeakMap();\n//\n// We store a Set of controls that users have interacted with. This allows us to determine the interaction state\n// without littering the DOM with additional data attributes.\n//\nconst userInteractedControls = new WeakSet();\n//\n// We store a WeakMap of interactions for each form control so we can track when all conditions are met for validation.\n//\nconst interactions = new WeakMap();\n/** A reactive controller to allow form controls to participate in form submission, validation, etc. */\nexport class FormControlController {\n constructor(host, options) {\n this.submittedOnce = false;\n this.handleFormData = (event) => {\n // console.log('handleFormData');\n const disabled = this.options.disabled(this.host);\n const name = this.options.name(this.host);\n const value = this.options.value(this.host);\n const tagName = this.host.tagName.toLowerCase();\n // For buttons, we only submit the value if they were the submitter. This is currently done in doAction() by\n // injecting the name/value on a temporary button, so we can just skip them here.\n const isButton = tagName === 'it-button';\n if (this.host.isConnected &&\n !disabled &&\n !isButton &&\n typeof name === 'string' &&\n name.length > 0 &&\n typeof value !== 'undefined') {\n switch (tagName) {\n case 'it-radio':\n if (this.host.checked) {\n event.formData.append(name, value);\n }\n break;\n case 'it-checkbox':\n if (this.host.checked) {\n if (event.formData.getAll(name).indexOf(value) < 0) {\n // handle group checkbox\n event.formData.append(name, value);\n }\n }\n break;\n case 'it-checkbox-group':\n // non settare valori in formData, perchè ogni singola checkbox setta il suo valore\n break;\n default:\n if (Array.isArray(value)) {\n value.forEach((val) => {\n event.formData.append(name, val.toString());\n });\n }\n else {\n event.formData.append(name, value.toString());\n }\n }\n }\n };\n this.handleFormSubmit = (event) => {\n const disabled = this.options.disabled(this.host);\n const reportValidity = this.options.reportValidity;\n // Update the interacted state for all controls when the form is submitted\n if (this.form && !this.form.noValidate) {\n formCollections.get(this.form)?.forEach((control) => {\n this.setUserInteracted(control, true);\n });\n }\n const resReportValidity = reportValidity(this.host);\n if (this.form && !this.form.noValidate && !disabled && !resReportValidity) {\n event.preventDefault();\n // event.stopImmediatePropagation(); // se lo attiviamo, valida un campo alla volta\n // Scroll al primo controllo non valido\n const formControls = formCollections.get(this.form);\n if (formControls) {\n for (const control of formControls) {\n if (!control.validity?.valid) {\n // Scroll smooth verso il controllo non valido\n control.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n });\n break;\n }\n }\n }\n }\n this.submittedOnce = true;\n };\n this.handleFormReset = () => {\n this.options.setValue(this.host, '');\n this.submittedOnce = false;\n this.setUserInteracted(this.host, false);\n interactions.set(this.host, []);\n };\n this.handleInteraction = (event) => {\n const emittedEvents = interactions.get(this.host);\n if (!emittedEvents.includes(event.type)) {\n emittedEvents.push(event.type);\n }\n // Mark it as user-interacted as soon as all associated events have been emitted\n if (emittedEvents.length === this.options.assumeInteractionOn.length) {\n this.setUserInteracted(this.host, true);\n }\n };\n this.checkFormValidity = () => {\n // console.log('checkFormValidity');\n //\n // This is very similar to the `reportFormValidity` function, but it does not trigger native constraint validation\n // Allow the user to simply check if the form is valid and handling validity in their own way.\n //\n // We preserve the original method in a WeakMap, but we don't call it from the overload because that would trigger\n // validations in an unexpected order. When the element disconnects, we revert to the original behavior. This won't\n // be necessary once we can use ElementInternals.\n //\n // Note that we're also honoring the form's novalidate attribute.\n //\n if (this.form && !this.form.noValidate) {\n // This seems sloppy, but checking all elements will cover native inputs, Shoelace inputs, and other custom\n // elements that support the constraint validation API.\n const elements = this.form.querySelectorAll('*');\n for (const element of elements) {\n if (typeof element.checkValidity === 'function') {\n if (!element.checkValidity()) {\n return false;\n }\n }\n }\n }\n return true;\n };\n this.reportFormValidity = () => {\n // console.log('reportFormValidity');\n //\n // FormControl work hard to act like regular form controls. They support the Constraint Validation API\n // and its associated methods such as setCustomValidity() and reportValidity(). However, the HTMLFormElement also\n // has a reportValidity() method that will trigger validation on all child controls. Since we're not yet using\n // ElementInternals, we need to overload this method so it looks for any element with the reportValidity() method.\n //\n // We preserve the original method in a WeakMap, but we don't call it from the overload because that would trigger\n // validations in an unexpected order. When the element disconnects, we revert to the original behavior. This won't\n // be necessary once we can use ElementInternals.\n //\n // Note that we're also honoring the form's novalidate attribute.\n //\n if (this.form && !this.form.noValidate) {\n // This seems sloppy, but checking all elements will cover native inputs, Shoelace inputs, and other custom\n // elements that support the constraint validation API.\n const elements = this.form.querySelectorAll('*');\n for (const element of elements) {\n if (typeof element.reportValidity === 'function') {\n if (!element.reportValidity()) {\n return false;\n }\n }\n }\n }\n return true;\n };\n (this.host = host).addController(this);\n this.options = {\n form: (input) => {\n // If there's a form attribute, use it to find the target form by id\n // Controls may not always reflect the 'form' property. For example, `<it-button>` doesn't reflect.\n const formId = input.form;\n if (formId) {\n const root = input.getRootNode();\n const form = root.querySelector(`#${formId}`);\n if (form) {\n return form;\n }\n }\n return input.closest('form');\n },\n name: (input) => input.name,\n value: (input) => input.value,\n disabled: (input) => input.disabled ?? false,\n reportValidity: (input) => typeof input.reportValidity === 'function' ? input.reportValidity() : true,\n checkValidity: (input) => (typeof input.checkValidity === 'function' ? input.checkValidity() : true),\n setValue: (input, value) => {\n // eslint-disable-next-line no-param-reassign\n input.value = value;\n },\n assumeInteractionOn: ['it-input'],\n ...options,\n };\n }\n hostConnected() {\n const form = this.options.form(this.host);\n if (form) {\n this.attachForm(form);\n }\n // Listen for interactions\n interactions.set(this.host, []);\n this.options.assumeInteractionOn.forEach((event) => {\n this.host.addEventListener(event, this.handleInteraction);\n });\n }\n hostDisconnected() {\n this.detachForm();\n // Clean up interactions\n interactions.delete(this.host);\n this.options.assumeInteractionOn.forEach((event) => {\n this.host.removeEventListener(event, this.handleInteraction);\n });\n }\n hostUpdated() {\n const form = this.options.form(this.host);\n // Detach if the form no longer exists\n if (!form) {\n this.detachForm();\n }\n // If the form has changed, reattach it\n if (form && this.form !== form) {\n this.detachForm();\n this.attachForm(form);\n }\n if (this.host.hasUpdated) {\n this.setValidity(this.host.validity.valid);\n }\n }\n attachForm(form) {\n if (form) {\n this.form = form;\n // Add this element to the form's collection\n if (formCollections.has(this.form)) {\n formCollections.get(this.form).add(this.host);\n }\n else {\n formCollections.set(this.form, new Set([this.host]));\n }\n this.form.addEventListener('formdata', this.handleFormData);\n this.form.addEventListener('submit', this.handleFormSubmit);\n this.form.addEventListener('reset', this.handleFormReset);\n // Overload the form's reportValidity() method so it looks at FormControl\n if (!reportValidityOverloads.has(this.form)) {\n reportValidityOverloads.set(this.form, this.form.reportValidity);\n this.form.reportValidity = () => this.reportFormValidity();\n }\n // Overload the form's checkValidity() method so it looks at FormControl\n if (!checkValidityOverloads.has(this.form)) {\n checkValidityOverloads.set(this.form, this.form.checkValidity);\n this.form.checkValidity = () => this.checkFormValidity();\n }\n }\n else {\n this.form = undefined;\n }\n }\n detachForm() {\n if (!this.form)\n return;\n const formCollection = formCollections.get(this.form);\n if (!formCollection) {\n return;\n }\n this.submittedOnce = false;\n // Remove this host from the form's collection\n formCollection.delete(this.host);\n // Check to make sure there's no other form controls in the collection. If we do this\n // without checking if any other controls are still in the collection, then we will wipe out the\n // validity checks for all other elements.\n // see: https://github.com/shoelace-style/shoelace/issues/1703\n if (formCollection.size <= 0) {\n this.form.removeEventListener('formdata', this.handleFormData);\n this.form.removeEventListener('submit', this.handleFormSubmit);\n this.form.removeEventListener('reset', this.handleFormReset);\n // Remove the overload and restore the original method\n if (reportValidityOverloads.has(this.form)) {\n this.form.reportValidity = reportValidityOverloads.get(this.form);\n reportValidityOverloads.delete(this.form);\n }\n if (checkValidityOverloads.has(this.form)) {\n this.form.checkValidity = checkValidityOverloads.get(this.form);\n checkValidityOverloads.delete(this.form);\n }\n // So it looks weird here to not always set the form to undefined. But I _think_ if we unattach this.form here,\n // we end up in this fun spot where future validity checks don't have a reference to the form validity handler.\n // First form element in sets the validity handler. So we can't clean up `this.form` until there are no other form elements in the form.\n this.form = undefined;\n }\n }\n // eslint-disable-next-line class-methods-use-this\n setUserInteracted(el, hasInteracted) {\n if (hasInteracted) {\n userInteractedControls.add(el);\n }\n else {\n userInteractedControls.delete(el);\n }\n el.requestUpdate();\n }\n doAction(type, submitter) {\n // console.log('doaction', type);\n if (this.form) {\n const button = document.createElement('button');\n button.type = type;\n button.style.position = 'absolute';\n button.style.width = '0';\n button.style.height = '0';\n button.style.clipPath = 'inset(50%)';\n button.style.overflow = 'hidden';\n button.style.whiteSpace = 'nowrap';\n // Pass name, value, and form attributes through to the temporary button\n if (submitter) {\n button.name = submitter.name;\n button.value = submitter.value;\n ['formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget'].forEach((attr) => {\n if (submitter.hasAttribute(attr)) {\n button.setAttribute(attr, submitter.getAttribute(attr));\n }\n });\n }\n this.form.append(button);\n button.click();\n button.remove();\n }\n }\n /** Returns the associated `<form>` element, if one exists. */\n getForm() {\n return this.form ?? null;\n }\n /** Resets the form, restoring all the control to their default value */\n reset(submitter) {\n this.doAction('reset', submitter);\n }\n /** Submits the form, triggering validation and form data injection. */\n submit(submitter) {\n // Calling form.submit() bypasses the submit event and constraint validation. To prevent this, we can inject a\n // native submit button into the form, \"click\" it, then remove it to simulate a standard form submission.\n this.doAction('submit', submitter);\n }\n /**\n * Synchronously sets the form control's validity. Call this when you know the future validity but need to update\n * the host element immediately, i.e. before Lit updates the component in the next update.\n */\n setValidity(isValid) {\n const host = this.host;\n const hasInteracted = Boolean(userInteractedControls.has(host));\n const required = Boolean(host.required);\n //\n // We're mapping the following \"states\" to data attributes. In the future, we can use ElementInternals.states to\n // create a similar mapping, but instead of [data-invalid] it will look like :--invalid.\n //\n // See this RFC for more details: https://github.com/shoelace-style/shoelace/issues/1011\n //\n host.toggleAttribute('data-required', required);\n host.toggleAttribute('data-optional', !required);\n host.toggleAttribute('data-invalid', !isValid);\n host.toggleAttribute('data-valid', isValid);\n host.toggleAttribute('data-user-invalid', !isValid && hasInteracted);\n host.toggleAttribute('data-user-valid', isValid && hasInteracted);\n }\n userInteracted() {\n const hasInteracted = Boolean(userInteractedControls.has(this.host));\n return hasInteracted;\n }\n /**\n * Updates the form control's validity based on the current value of `host.validity.valid`. Call this when anything\n * that affects constraint validation changes so the component receives the correct validity states.\n */\n updateValidity() {\n const host = this.host;\n this.setValidity(host.validity.valid);\n }\n /**\n * Dispatches a non-bubbling, cancelable custom event of type `it-invalid`.\n * If the `it-invalid` event will be cancelled then the original `invalid`\n * event (which may have been passed as argument) will also be cancelled.\n * If no original `invalid` event has been passed then the `it-invalid`\n * event will be cancelled before being dispatched.\n */\n emitInvalidEvent(originalInvalidEvent) {\n const itInvalidEvent = new CustomEvent('it-invalid', {\n bubbles: false,\n composed: false,\n cancelable: true,\n detail: {},\n });\n if (!originalInvalidEvent) {\n itInvalidEvent.preventDefault();\n }\n if (!this.host.dispatchEvent(itInvalidEvent)) {\n originalInvalidEvent?.preventDefault();\n }\n }\n}\n//# sourceMappingURL=form-controller.js.map","const translation = {\n $code: 'it',\n $name: 'Italiano',\n $dir: 'ltr',\n validityRequired: 'Questo campo è obbligatorio.',\n validityGroupRequired: \"Scegli almeno un'opzione\",\n validityPattern: 'Il valore non corrisponde al formato richiesto.',\n validityMinlength: 'Il valore deve essere lungo almeno {minlength} caratteri.',\n validityMaxlength: 'Il valore deve essere lungo al massimo {maxlength} caratteri.',\n};\nexport default translation;\n//# sourceMappingURL=it.js.map","import { __decorate, __metadata } from \"tslib\";\nimport { property, query, state } from 'lit/decorators.js';\nimport { registerTranslation } from '@italia/i18n';\nimport { BaseLocalizedComponent } from '../base-component/base-component.js';\nimport { FormControlController } from './form-controller.js';\nimport it from './locales/it.js';\nregisterTranslation(it);\nexport class FormControl extends BaseLocalizedComponent {\n constructor() {\n super(...arguments);\n this.formControlController = new FormControlController(this, {\n assumeInteractionOn: ['it-input', 'it-blur', 'it-change'],\n });\n // TODO: verificare se serve davvero con il fatto che usiamo form-controller\n // static formAssociated = true;\n // @property()\n // internals = this.attachInternals();\n this._touched = false;\n /** The name of the input, submitted as a name/value pair with form data. */\n this.name = '';\n /** The current value of the input, submitted as a name/value pair with form data. */\n this.value = '';\n /** If the input is disabled. */\n this.disabled = false;\n /**\n * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\n * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in\n * the same document or shadow root for this to work.\n */\n this.form = '';\n /** If you implement your custom validation and you won't to trigger default validation */\n this.customValidation = false;\n /** If your input is invalid from your custom validition, set this attribute with message validation */\n this.validationText = '';\n /**\n * Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\n * implied, allowing any numeric value. Only applies to date and number input types.\n */\n this.step = 'any';\n /** The input's minimum length. */\n this.minlength = -1;\n /** The input's maximum length. */\n this.maxlength = -1;\n /** If the input is required. */\n this.required = false;\n /* For grouped input, like checkbox-group */\n this.isInGroup = false;\n this.validationMessage = '';\n }\n /** Gets the validity state object */\n get validity() {\n return this.inputElement?.validity;\n }\n /** Gets the associated form, if one exists. */\n getForm() {\n return this.formControlController.getForm();\n }\n // Form validation methods\n checkValidity() {\n const inputValid = this.inputElement?.checkValidity() ?? true; // this.inputElement.checkValidity() è la validazione del browser\n return inputValid;\n }\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n // const ret = this.inputElement.checkValidity();\n const ret = this.checkValidity(); // chiama la checkValidity, che se è stata overridata chiama quella\n this.handleValidationMessages();\n return ret; // this.inputElement.reportValidity();\n }\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message) {\n this.inputElement.setCustomValidity(message);\n this.validationMessage = this.inputElement.validationMessage;\n this.formControlController.updateValidity();\n }\n // Handlers\n _handleReady() {\n requestAnimationFrame(() => {\n this.dispatchEvent(new CustomEvent('it-input-ready', { bubbles: true, detail: { el: this.inputElement } }));\n });\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _handleInput(e) {\n this.handleValidationMessages();\n this.dispatchEvent(new CustomEvent('it-input', {\n detail: { value: this.inputElement.value, el: this.inputElement },\n bubbles: true,\n composed: true,\n }));\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _handleBlur(e) {\n this._touched = true;\n this.handleValidationMessages();\n this.dispatchEvent(new FocusEvent('it-blur', { bubbles: true, composed: true }));\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _handleFocus(e) {\n this.dispatchEvent(new FocusEvent('it-focus', { bubbles: true, composed: true }));\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _handleClick(e) {\n this.dispatchEvent(new MouseEvent('it-click', { bubbles: true, composed: true }));\n }\n /*\n Override default browser validation messages\n */\n handleValidationMessages() {\n if (!this.customValidation) {\n const _v = this.inputElement.validity;\n const isRequiredHandledByGroup = this.isInGroup === true;\n if (_v.valueMissing && !isRequiredHandledByGroup) {\n this.setCustomValidity(this.$t('validityRequired'));\n }\n else if (_v.patternMismatch) {\n this.setCustomValidity(this.$t('validityPattern'));\n }\n else if (_v.tooShort) {\n this.setCustomValidity(this.$t('validityMinlength').replace('{minlength}', this.minlength.toString()));\n }\n else if (_v.tooLong) {\n this.setCustomValidity(this.$t('validityMaxlength').replace('{maxlength}', this.maxlength.toString()));\n }\n else {\n /* nothing. Usa il messaggio di errore della validazione\n di default del browser per altri errori di validità come:\n - typeMismatch\n - rangeUnderflow\n - rangeOverflow\n - stepMismatch\n - badInput */\n const otherConstraintErrors = _v.typeMismatch || _v.rangeUnderflow || _v.rangeOverflow || _v.stepMismatch || _v.badInput;\n if (!otherConstraintErrors) {\n this.setCustomValidity('');\n }\n }\n }\n this.validationMessage = this.inputElement.validationMessage;\n }\n _handleInvalid(event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n _handleChange(e) {\n const target = e.target;\n let value;\n if (target instanceof HTMLInputElement) {\n switch (target.type) {\n case 'checkbox':\n case 'radio':\n value = target.checked;\n break;\n case 'file':\n value = target.files; // FileList\n break;\n default:\n value = target.value;\n }\n }\n else if (target instanceof HTMLSelectElement) {\n if (target.multiple) {\n value = Array.from(target.selectedOptions).map((o) => o.value);\n }\n else {\n value = target.value;\n }\n }\n else {\n // textarea o altri input con value\n value = target.value;\n }\n this.dispatchEvent(new CustomEvent('it-change', {\n detail: { value, el: target },\n bubbles: true,\n composed: true,\n }));\n }\n updated(changedProperties) {\n super.updated?.(changedProperties);\n if (this.customValidation) {\n this.setCustomValidity(this.validationText ?? '');\n }\n else if (this.formControlController.userInteracted()) {\n this.formControlController.updateValidity();\n }\n }\n}\n__decorate([\n state(),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"_touched\", void 0);\n__decorate([\n query('.it-form__control'),\n __metadata(\"design:type\", HTMLInputElement)\n], FormControl.prototype, \"inputElement\", void 0);\n__decorate([\n property({ type: String, reflect: true }) // from FormControl\n ,\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"name\", void 0);\n__decorate([\n property({ reflect: true }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"value\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true }) // from FormControl\n ,\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"disabled\", void 0);\n__decorate([\n property({ reflect: true, type: String }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"form\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true, attribute: 'custom-validation' }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"customValidation\", void 0);\n__decorate([\n property({ attribute: 'validity-message', reflect: true }),\n __metadata(\"design:type\", String)\n], FormControl.prototype, \"validationText\", void 0);\n__decorate([\n property(),\n __metadata(\"design:type\", String)\n], FormControl.prototype, \"pattern\", void 0);\n__decorate([\n property(),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"min\", void 0);\n__decorate([\n property(),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"max\", void 0);\n__decorate([\n property(),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"step\", void 0);\n__decorate([\n property({ type: Number }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"minlength\", void 0);\n__decorate([\n property({ type: Number }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"maxlength\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true }) // from FormControl\n ,\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"required\", void 0);\n__decorate([\n property({ type: Boolean }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"isInGroup\", void 0);\n__decorate([\n state(),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"validationMessage\", void 0);\n//# sourceMappingURL=form-control.js.map","import TrackFocus from './utils/track-focus.js';\nimport setAttributes from './directives/setAttributes.js';\nimport AriaKeyboardListController from './controllers/aria-keyboard-list-controller.js';\nimport { StoryFormControlMethodAndProps } from './stories/formControlReusableStories.js';\nif (typeof window !== 'undefined') {\n window._itAnalytics = window._itAnalytics || {};\n window._itAnalytics = {\n ...window._itAnalytics,\n version: '1.0.0-alpha.5',\n };\n}\nexport { TrackFocus, setAttributes, AriaKeyboardListController };\nexport { RovingTabindexController } from './controllers/roving-tabindex-controller.js';\nexport { BaseComponent, BaseLocalizedComponent, } from './base-component/base-component.js';\nexport { AriaKeyboardAccordionController, } from './controllers/aria-keyboard-accordion-controller.js';\nexport { CollapseAnimationController } from './controllers/collapse-controller.js';\nexport { FocusTrapController } from './controllers/focus-trap-controller.js';\nexport { FormControl } from './form/form-control.js';\nexport { formCollections, FormControlController } from './form/form-controller.js';\nexport { cookies } from './utils/cookies.js';\nexport { WindowManager } from './window-manager.js';\nexport { StoryFormControlMethodAndProps };\n//# sourceMappingURL=index.js.map","import { type Suggestion } from '../types.js';\n/**\n * Checks for repetition of characters in\n * a string\n *\n * @param int rLen Repetition length.\n * @param string str The string to be checked.\n * @return string\n */\nconst checkRepetition = (rLen: number, str: string) => {\n let res = '';\n let repeated = false;\n for (let i: number = 0; i < str.length; i += 1) {\n repeated = true;\n for (let j: number = 0; j < rLen && j + i + rLen < str.length; j += 1) {\n repeated = repeated && str.charAt(j + i) === str.charAt(j + i + rLen);\n }\n if (repeated) {\n i += rLen - 1;\n repeated = false;\n } else {\n res += str.charAt(i);\n }\n }\n return res;\n};\n\n/**\n * Returns a value between -1 and 100 to score\n * the user's password.\n *\n * @param string password The password to be checked.\n * @return int\n */\nconst calculateScore = (password: string, lmin: number) => {\n let score = 0;\n\n // empty password\n if (password.trim().length === 0) {\n return -2;\n }\n\n if (password.length < lmin) {\n return -1;\n }\n\n // password length\n score += password.length * 4;\n score += checkRepetition(1, password).length - password.length;\n score += checkRepetition(2, password).length - password.length;\n score += checkRepetition(3, password).length - password.length;\n score += checkRepetition(4, password).length - password.length;\n\n // password has 3 numbers\n if (password.match(/(.*[0-9].*[0-9].*[0-9])/)) {\n score += 5;\n }\n\n // password has at least 2 symbols\n const symbols = /(.*[!,@,#,$,%,^,&,*,?,_,~].*[!,@,#,$,%,^,&,*,?,_,~])/;\n if (password.match(symbols)) {\n score += 5;\n }\n\n // password has Upper and Lower chars\n if (password.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)) {\n score += 10;\n }\n\n // password has number and chars\n if (password.match(/([a-zA-Z])/) && password.match(/([0-9])/)) {\n score += 15;\n }\n\n // password has number and symbol\n if (password.match(/([!,@,#,$,%,^,&,*,?,_,~])/) && password.match(/([0-9])/)) {\n score += 15;\n }\n\n // password has char and symbol\n if (password.match(/([!,@,#,$,%,^,&,*,?,_,~])/) && password.match(/([a-zA-Z])/)) {\n score += 15;\n }\n\n // password is just numbers or chars\n if (password.match(/^\\w+$/) || password.match(/^\\d+$/)) {\n score -= 10;\n }\n\n if (score > 100) {\n score = 100;\n }\n\n if (score < 0) {\n score = 0;\n }\n\n return score;\n};\n\nconst scoreColor = (score: number) => {\n if (score === -1 || score === -2 || score < 26) {\n return 'danger';\n }\n if (score < 51) {\n return 'warning';\n }\n if (score < 76) {\n return 'success';\n }\n return 'success';\n};\n\nconst scoreText = (score: number, messages: any) => {\n if (score === -1) {\n return messages.shortPass;\n }\n if (score === -2) {\n return '';\n }\n if (score < 26) {\n return messages.badPass;\n }\n if (score < 51) {\n return messages.badPass;\n }\n if (score < 76) {\n return messages.goodPass;\n }\n return messages.strongPass;\n};\n\nconst suggestionsConfig: Array<Suggestion> = [\n {\n key: 'length',\n text: (config) => config.suggestionLength.replace('{minLength}', config.minimumLength.toString()),\n test: (password, config) => password.length >= config.minimumLength,\n },\n {\n key: 'uppercase',\n text: (config) => config.suggestionUppercase,\n test: (password) => /[A-Z]/.test(password),\n },\n {\n key: 'lowercase',\n text: (config) => config.suggestionLowercase,\n test: (password) => /[a-z]/.test(password),\n },\n {\n key: 'number',\n text: (config) => config.suggestionNumber,\n test: (password) => /[0-9]/.test(password),\n },\n {\n key: 'special',\n text: (config) => config.suggestionSpecial,\n test: (password) => /[^A-Za-z0-9]/.test(password),\n },\n];\n\nconst calcCompletedSuggestions = (_suggestions: Array<Suggestion>, password: string, config: Record<string, any>) => {\n let completedCount = 0;\n const totalCount = _suggestions.length;\n _suggestions.forEach((sugg) => {\n if (sugg.test(password, config)) {\n completedCount += 1;\n }\n });\n return { completedCount, totalCount };\n};\nexport { calculateScore, scoreColor, scoreText, suggestionsConfig, calcCompletedSuggestions };\n","import type { DefaultTranslation } from '@italia/i18n';\n\nconst translation: DefaultTranslation = {\n $code: 'it',\n $name: 'Italiano',\n $dir: 'ltr',\n\n showHidePassword: 'Mostra/Nascondi Password.',\n shortPass: 'Password troppo breve.',\n badPass: 'Password debole.',\n goodPass: 'Password abbastanza sicura.',\n strongPass: 'Password sicura.',\n ariaLabelPasswordMeter: 'Robustezza della password',\n passwordSuggestionsLabel: 'Suggerimenti per una buona password:',\n passwordSuggestionLength: 'Almeno {minLength} caratteri.',\n passwordSuggestionUppercase: 'Una o più maiuscole.',\n passwordSuggestionLowercase: 'Una o più minuscole.',\n passwordSuggestionNumber: 'Uno o più numeri.',\n passwordSuggestionSpecial: 'Uno o più caratteri speciali.',\n passwordSuggestionFollowed: 'suggerimenti seguiti',\n passwordSuggestionFollowedPlural: 'suggerimenti seguiti',\n passwordSuggestionOf: 'di',\n passwordSuggestionMetLabel: 'Soddisfatto:',\n increaseValue: 'Aumenta il valore',\n decreaseValue: 'Diminuisci il valore',\n};\n\nexport default translation;\n","import { setAttributes, FormControl } from '@italia/globals';\nimport { registerTranslation } from '@italia/i18n';\nimport { html, nothing } from 'lit';\nimport { customElement, property, state, queryAssignedElements } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { when } from 'lit/directives/when.js';\nimport { live } from 'lit/directives/live.js';\nimport {\n calculateScore,\n scoreColor,\n scoreText,\n suggestionsConfig,\n calcCompletedSuggestions,\n} from './helpers/password.js';\n\nimport { type InputType, type Sizes, type Suggestion } from './types.js';\nimport it from './locales/it.js';\nimport styles from './input.scss';\n\nregisterTranslation(it);\n\n@customElement('it-input')\nexport class ItInput extends FormControl {\n static styles = styles;\n\n @state()\n private _slotPrepend: HTMLSlotElement | null = null;\n\n @state()\n private _slotAppend: HTMLSlotElement | null = null;\n\n /**\n * The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\n * to `text`.\n */\n @property({ type: String })\n type: InputType = 'text';\n\n /** The input's size. */\n @property()\n size?: Sizes;\n\n /** If you want number-input to be adaptive in width */\n @property({ type: Boolean })\n adaptive = false;\n\n /** If you want label to be hidden. */\n @property({ type: Boolean, attribute: 'label-hidden' })\n labelHidden = false;\n\n /** Placeholder text to show as a hint when the input is empty. */\n @property({ type: String })\n placeholder = '';\n\n /** The input's help text. */\n @property({ type: String, attribute: 'support-text' })\n supportText = '';\n\n /** If you want the input to be displayed as plaintext. */\n @property({ type: Boolean })\n plaintext = false;\n\n /** If the input is read-only. */\n @property({ type: Boolean })\n readonly = false;\n\n /** If your input is of type 'password' and you want to display a strength meter */\n @property({ type: Boolean, attribute: 'strength-meter' })\n passwordStrengthMeter = false;\n\n /** If your input is of type 'password' and you want to show password suggestions. */\n @property({ type: Boolean })\n suggestions = false;\n\n @queryAssignedElements({ slot: 'label' })\n labelElements!: HTMLElement[];\n\n get label(): string {\n if (this.labelElements.length > 0) {\n return this.labelElements[0].innerText.trim();\n }\n return '';\n }\n\n @state()\n private _passwordVisible = false;\n\n @state()\n private _strengthInfos = '';\n\n @state()\n private _score = 0;\n\n get slotted() {\n return this._slotPrepend || this._slotAppend;\n }\n\n firstUpdated() {\n // this.addFocus(this.inputElement); //NON serve per il momento perche sfruttiamo :focus-visible. Per gli input focus-visible si attiva anche al click perchè è il browser che lo gestisce\n this._slotPrepend = this.querySelector('[slot=\"prepend\"]');\n this._slotAppend = this.querySelector('[slot=\"append\"]');\n\n this._slotPrepend?.addEventListener('slotchange', () => {\n this.requestUpdate();\n });\n\n this._slotAppend?.addEventListener('slotchange', () => {\n this.requestUpdate();\n });\n }\n\n override connectedCallback() {\n super.connectedCallback?.();\n\n if (this.type === 'password' && this.minlength < 0) {\n this.minlength = 8; // set default minlength for password\n }\n this._handleReady();\n }\n\n override updated(changedProperties: Map<string | number | symbol, unknown>) {\n super.updated?.(changedProperties);\n\n // logger\n if (this.passwordStrengthMeter && this.type !== 'password') {\n this.logger.warn(\n \"The strength-meter property is enabled, but type isn't password. Please, remove strength-meter property.\",\n );\n }\n\n if (this.suggestions && this.type !== 'password') {\n this.logger.warn(\n \"The suggestions property is enabled, but type isn't password. Please, remove suggestions this property.\",\n );\n }\n\n if (!this.label || this.label?.length === 0) {\n this.logger.warn(\n `Label is required to ensure accessibility. Please, define a label for <it-input name=\"${this.name}\" id=\"${this.id}\" ... /> . Set attribute label-hidden=\"true\" if you don't want to show label.`,\n );\n }\n }\n\n override _handleInput(e: Event) {\n this.value = this.inputElement.value;\n if (this.value === '00') {\n this.value = '0';\n this.inputElement.value = '0';\n }\n\n if (this.passwordStrengthMeter) {\n this._checkPasswordStrength(this.inputElement.value);\n }\n\n super._handleInput(e);\n }\n\n private _togglePasswordVisibility() {\n this._passwordVisible = !this._passwordVisible;\n if (this.inputElement) {\n this.inputElement.type = this._passwordVisible ? 'text' : 'password';\n }\n }\n\n private _checkPasswordStrength(value: string) {\n this._score = calculateScore(value, this.minlength);\n this._updateStrengthInfos();\n }\n\n private _getPasswordConfig() {\n return {\n minimumLength: this.minlength,\n showHidePassword: this.$t('showHidePassword'),\n shortPass: this.$t('shortPass'),\n badPass: this.$t('badPass'),\n goodPass: this.$t('goodPass'),\n strongPass: this.$t('strongPass'),\n ariaLabelPasswordMeter: this.$t('ariaLabelPasswordMeter'),\n suggestionsLabel: this.$t('passwordSuggestionsLabel'),\n suggestionLength: this.$t('passwordSuggestionLength'),\n suggestionUppercase: this.$t('passwordSuggestionUppercase'),\n suggestionLowercase: this.$t('passwordSuggestionLowercase'),\n suggestionNumber: this.$t('passwordSuggestionNumber'),\n suggestionSpecial: this.$t('passwordSuggestionSpecial'),\n suggestionFollowed: this.$t('passwordSuggestionFollowed'),\n suggestionFollowedPlural: this.$t('passwordSuggestionFollowedPlural'),\n suggestionOf: this.$t('passwordSuggestionOf'),\n };\n }\n\n private _updateStrengthInfos() {\n let text = scoreText(this._score, {\n shortPass: this.$t('shortPass'),\n badPass: this.$t('badPass'),\n goodPass: this.$t('goodPass'),\n strongPass: this.$t('strongPass'),\n });\n\n if (suggestionsConfig) {\n const { completedCount, totalCount } = calcCompletedSuggestions(\n suggestionsConfig,\n this.value,\n this._getPasswordConfig(),\n );\n const suggestionOfText =\n completedCount === 1 ? this.$t('passwordSuggestionFollowed') : this.$t('passwordSuggestionFollowedPlural');\n\n text += ` ${completedCount} ${this.$t('passwordSuggestionOf')} ${totalCount} ${suggestionOfText}.`;\n }\n this._strengthInfos = text;\n }\n\n private static _cleanFloat(num: number) {\n return parseFloat(num.toPrecision(15));\n }\n\n private _inputNumberIncDec(v: number) {\n const step = typeof this.step === 'number' ? this.step : Number(this.step) || 1;\n\n const value = typeof this.value === 'number' ? this.value : Number(this.value) || 0;\n const min = typeof this.min === 'number' ? this.min : Number(this.min);\n const max = typeof this.max === 'number' ? this.max : Number(this.max);\n\n const _v = v * step;\n\n const newValue = ItInput._cleanFloat(value + _v);\n\n if (newValue > max || newValue < min) {\n // non fare nulla\n } else {\n const _value = newValue.toString();\n this.value = _value;\n this.inputElement.dispatchEvent(new Event('blur', { bubbles: true }));\n this.inputElement.dispatchEvent(new Event('change', { bubbles: true }));\n const liveRegion = this.shadowRoot?.querySelector(`#${this._id}-live-region`);\n if (liveRegion) {\n liveRegion.textContent = `${_value}`;\n }\n }\n }\n\n private _renderTogglePasswordButton() {\n // Solo se type=password\n if (this.type === 'password') {\n return html`\n <button\n type=\"button\"\n class=\"password-icon btn\"\n role=\"switch\"\n aria-checked=\"${this._passwordVisible}\"\n @click=\"${this._togglePasswordVisibility}\"\n part=\"focusable\"\n >\n <span class=\"visually-hidden\">${this.$t('showHidePassword')}</span>\n <it-icon\n name=\"${this._passwordVisible ? 'it-password-visible' : 'it-password-invisible'}\"\n size=\"sm\"\n ></it-icon>\n </button>\n `;\n }\n return nothing;\n }\n\n private _renderSuggestions() {\n return this.suggestions\n ? html`<div class=\"strength-meter-suggestions small form-text text-muted\">\n <label class=\"visually-hidden\" for=\"suggestions\">${this.$t('passwordSuggestionsLabel')}</label>\n <div class=\"password-suggestions\">\n ${suggestionsConfig.map((sugg: Suggestion) => {\n const isMet = sugg.test(this.value, this._getPasswordConfig());\n return html`\n <div class=\"suggestion\">\n ${isMet\n ? html` <svg\n class=\"icon icon-xs me-1\"\n aria-label=\"${this.$t('passwordSuggestionMetLabel')}\"\n viewBox=\"0 0 24 24\"\n style=\"width: 1em; height: 1em;\"\n >\n <path d=\"M9.6 16.9 4 11.4l.8-.7 4.8 4.8 8.5-8.4.7.7-9.2 9.1z\"></path>\n </svg>`\n : nothing}\n <span>${sugg.text(this._getPasswordConfig())}</span>\n </div>\n `;\n })}\n </div>\n </div>`\n : nothing;\n }\n\n private _renderpasswordStrengthMeter() {\n if (this.type === 'password' && this.passwordStrengthMeter) {\n const perc = this._score < 0 ? 0 : this._score;\n const color = this.value?.length === 0 ? 'muted' : scoreColor(this._score);\n return html`<div class=\"password-strength-meter\">\n ${this._renderSuggestions()}\n\n <p\n id=${`strengthMeterInfo_${this._id}`}\n class=\"${`strength-meter-info small form-text pt-0 text-${color}`}\"\n aria-live=\"polite\"\n >\n ${this._strengthInfos}\n </p>\n <div class=\"password-meter progress rounded-0 position-absolute\">\n <div\n class=\"${this.composeClass('progress-bar', `bg-${color}`)}\"\n style=\"width: ${perc}%\"\n role=\"progressbar\"\n aria-valuenow=\"${perc}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-label=\"${this.$t('ariaLabelPasswordMeter')}\"\n >\n <div class=\"row position-absolute w-100 m-0\">\n <div class=\"col-3 border-start border-end border-white\"></div>\n <div class=\"col-3 border-start border-end border-white\"></div>\n <div class=\"col-3 border-start border-end border-white\"></div>\n <div class=\"col-3 border-start border-end border-white\"></div>\n </div>\n </div>\n </div>\n </div>`;\n }\n return nothing;\n }\n\n private _renderInput(supportTextId: string, invalid: boolean, validityMessage: string, showValidation: boolean) {\n const ariaDescribedBy = this.composeClass(\n this.supportText?.length > 0 ? supportTextId : '',\n this.passwordStrengthMeter ? `strengthMeterInfo_${this._id}` : '',\n this._ariaAttributes['aria-describedby']?.length > 0 ? this._ariaAttributes['aria-describedby'] : '',\n showValidation && validityMessage?.length > 0 ? `invalid-feedback-${this._id}` : '',\n );\n\n const inputClasses = this.composeClass(\n 'it-form__control',\n this.plaintext ? 'form-control-plaintext' : 'form-control',\n this.size ? `form-control-${this.size}` : '',\n showValidation && invalid ? 'is-invalid' : '',\n showValidation && !invalid && !this.readonly ? 'just-validate-success-field' : '',\n );\n\n let inputRender;\n\n if (this.type === 'textarea') {\n inputRender = html`\n <textarea\n part=\"textarea focusable\"\n ${setAttributes(this._ariaAttributes)}\n aria-describedby=${ifDefined(ariaDescribedBy || undefined)}\n aria-invalid=${ifDefined(invalid ? 'true' : undefined)}\n @input=\"${this._handleInput}\"\n @blur=${this._handleBlur}\n @focus=${this._handleFocus}\n @click=${this._handleClick}\n @change=${this._handleChange}\n @invalid=${this._handleInvalid}\n id=\"${this._id}\"\n name=\"${this.name}\"\n ?disabled=${this.disabled}\n ?readonly=${this.readonly}\n ?required=${this.required}\n minlength=${ifDefined(this.minlength)}\n maxlength=${ifDefined(this.maxlength)}\n pattern=${ifDefined(this.pattern)}\n ?formNoValidate=${this.customValidation}\n .value=\"${live(this.value)}\"\n placeholder=${ifDefined(this.placeholder || undefined)}\n class=\"${inputClasses}\"\n ></textarea>\n `;\n } else {\n let style = null;\n if (this.type === 'number' && this.adaptive) {\n style = `width: calc(${this.value.toString().length}ch + 70px);`;\n }\n inputRender = html`\n <input\n part=\"input focusable\"\n ${setAttributes(this._ariaAttributes)}\n aria-describedby=${ifDefined(ariaDescribedBy || undefined)}\n aria-invalid=${ifDefined(invalid ? 'true' : undefined)}\n @input=\"${this._handleInput}\"\n @blur=${this._handleBlur}\n @focus=${this._handleFocus}\n @click=${this._handleClick}\n @change=${this._handleChange}\n @invalid=${this._handleInvalid}\n type=\"${this.type}\"\n id=\"${this._id}\"\n name=\"${this.name}\"\n ?disabled=${this.disabled}\n ?readonly=${this.readonly}\n ?required=${this.required}\n minlength=${ifDefined(this.minlength)}\n maxlength=${ifDefined(this.maxlength)}\n min=${ifDefined(this.min)}\n max=${ifDefined(this.max)}\n step=${ifDefined(this.step as number)}\n autocomplete=\"off\"\n pattern=${ifDefined(this.pattern)}\n ?formNoValidate=${this.customValidation}\n .value=\"${live(this.value)}\"\n placeholder=${ifDefined(this.placeholder || undefined)}\n class=\"${inputClasses}\"\n style=${ifDefined(style)}\n />${this._renderTogglePasswordButton()}\n `;\n }\n\n return inputRender;\n }\n\n // Render the UI as a function of component state\n override render() {\n const supportTextId = `${this._id}-support-text`;\n\n const supportTextRender = html` ${when(\n this.supportText,\n () => html` <small class=\"form-text\" id=\"${supportTextId}\">${this.supportText}</small> `,\n )}`;\n\n const showValidation = this.formControlController.submittedOnce || this.customValidation; // true; // this._touched || this.customValidation;\n const validityMessage = (showValidation ? this.validationMessage : '') ?? '';\n const invalid =\n validityMessage?.length > 0 || (!this.customValidation && this.inputElement?.checkValidity() === false);\n\n const validityMessageRender = html`<div\n role=\"alert\"\n id=\"invalid-feedback-${this._id}\"\n class=\"invalid-feedback form-feedback form-text form-feedback just-validate-error-label\"\n ?hidden=${!(validityMessage?.length > 0)}\n >\n <span class=\"visually-hidden\">${this.label}: </span>${validityMessage}\n </div>`;\n\n return html`\n <div class=\"form-group\" part=\"input-wrapper\">\n <label\n for=\"${ifDefined(this._id || undefined)}\"\n part=\"label\"\n class=\"${this.composeClass('active', this.labelHidden ? 'visually-hidden' : '')}\"\n ><slot name=\"label\"></slot\n ></label>\n\n ${when(\n this.slotted || this.type === 'number',\n () =>\n html`<div\n class=\"${this.composeClass(\n 'input-group ',\n this.type === 'number' ? 'input-number' : '',\n this.type === 'number' && this.adaptive ? 'input-number-adaptive' : '',\n this.disabled ? 'disabled' : '',\n this.readonly ? 'readonly' : '',\n )}\"\n >\n ${when(\n this._slotPrepend,\n () =>\n html` <span class=\"input-group-text\">\n <slot name=\"prepend\" @slotchange=${() => this.requestUpdate()}></slot\n ></span>`,\n )}\n ${this._renderInput(supportTextId, invalid, validityMessage, showValidation)}\n ${when(\n this.type === 'number',\n () =>\n html`<span class=\"input-group-text align-buttons flex-column\">\n <button\n class=\"input-number-add\"\n @click=${() => this._inputNumberIncDec(+1)}\n ?disabled=${this.disabled || this.readonly}\n >\n <span class=\"visually-hidden\">${this.$t('increaseValue')}</span>\n </button>\n <button\n class=\"input-number-sub\"\n @click=${() => this._inputNumberIncDec(-1)}\n ?disabled=${this.disabled || this.readonly}\n >\n <span class=\"visually-hidden\">${this.$t('decreaseValue')}</span>\n </button>\n <div aria-live=\"polite\" class=\"visually-hidden\" id=\"${this._id}-live-region\"></div>\n </span>`,\n )}\n ${when(\n this._slotAppend,\n () =>\n html` <div class=\"input-group-append\">\n <slot name=\"append\" @slotchange=${() => this.requestUpdate()}></slot>\n </div>`,\n )}\n </div>\n ${validityMessageRender} ${supportTextRender} ${this._renderpasswordStrengthMeter()}`,\n () =>\n html` ${this._renderInput(supportTextId, invalid, validityMessage, showValidation)} ${validityMessageRender}\n ${supportTextRender} ${this._renderpasswordStrengthMeter()}`,\n )}\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'it-input': ItInput;\n }\n}\n"],"names":["translation","it"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAsCA;AACO,SAAS,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;AAC1D,IAAI,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;AACjI,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAA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,CAAC;;AAC3B,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,uBAAA,EAAA,MAAA,CAAA;AAI9B,UAAA,CAAA;AADC,IAAA,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;AACR,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,aAAA,EAAA,MAAA,CAAA;AAGpB,UAAA,CAAA;AADC,IAAA,qBAAqB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;AACX,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AAUtB,UAAA,CAAA;AADP,IAAA,KAAK,EAAE;;AACyB,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,kBAAA,EAAA,MAAA,CAAA;AAGzB,UAAA,CAAA;AADP,IAAA,KAAK,EAAE;;AACoB,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,gBAAA,EAAA,MAAA,CAAA;AAGpB,UAAA,CAAA;AADP,IAAA,KAAK,EAAE;;AACW,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,QAAA,EAAA,MAAA,CAAA;AArER,OAAO,GAAA,SAAA,GAAA,UAAA,CAAA;IADnB,aAAa,CAAC,UAAU;AACZ,CAAA,EAAA,OAAO,CAmenB;;;;","x_google_ignoreList":[0,2]}
1
+ {"version":3,"file":"it-input.js","sources":["../../../../node_modules/.pnpm/@rollup+plugin-typescript@12.3.0_rollup@4.59.0_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.js","../../../globals/dist/src/directives/setAttributes.js","../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../i18n/dist/src/index.js","../../../globals/dist/src/utils/logger.js","../../../globals/dist/src/base-component/base-component.js","../../../globals/dist/src/form/form-controller.js","../../../globals/dist/src/form/locales/it.js","../../../globals/dist/src/form/form-control.js","../../../globals/dist/src/index.js","../../../src/helpers/password.ts","../../../src/locales/it.ts","../../../src/it-input.ts"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nvar ownKeys = function(o) {\r\n ownKeys = Object.getOwnPropertyNames || function (o) {\r\n var ar = [];\r\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\r\n return ar;\r\n };\r\n return ownKeys(o);\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n};\r\n","import { directive, Directive } from 'lit/directive.js';\nclass SetAttributesDirective extends Directive {\n update(part, [attributes]) {\n const el = part.element;\n for (const [name, value] of Object.entries(attributes)) {\n if (value != null)\n el.setAttribute(name, value);\n else\n el.removeAttribute(name);\n }\n return null;\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n render(_attributes) {\n return null;\n }\n}\n/* How to use:\n\n<textarea ${setAttributes(this._ariaAttributes)} ... />\n*/\nconst setAttributes = directive(SetAttributesDirective);\nexport default setAttributes;\n//# sourceMappingURL=setAttributes.js.map","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","const connectedElements = new Set();\nif (window && !window.translations) {\n window.translations = new Map();\n}\nconst { translations } = window;\nlet fallback;\n// TODO: We need some way for users to be able to set these on the server.\nlet documentDirection = 'ltr';\n// Fallback for server.\nlet documentLanguage = 'en';\nconst isClient = typeof MutationObserver !== 'undefined' &&\n typeof document !== 'undefined' &&\n typeof document.documentElement !== 'undefined';\n/** Updates all localized elements that are currently connected */\nfunction update() {\n if (isClient) {\n documentDirection = document.documentElement.dir || 'ltr';\n documentLanguage = document.documentElement.lang || navigator.language;\n }\n [...connectedElements.keys()].forEach((el) => {\n const litEl = el;\n if (typeof litEl.requestUpdate === 'function') {\n litEl.requestUpdate();\n }\n });\n}\nif (isClient) {\n const documentElementObserver = new MutationObserver(update);\n documentDirection = document.documentElement.dir || 'ltr';\n documentLanguage = document.documentElement.lang || navigator.language;\n // Watch for changes on <html lang>\n documentElementObserver.observe(document.documentElement, {\n attributes: true,\n attributeFilter: ['dir', 'lang'],\n });\n}\n/** Registers one or more translations */\nfunction registerTranslation(...translation) {\n translation.forEach((t) => {\n const code = t.$code.toLowerCase();\n if (translations.has(code)) {\n // Merge translations that share the same language code\n translations.set(code, { ...translations.get(code), ...t });\n }\n else {\n translations.set(code, t);\n }\n // The first translation that's registered is the fallback\n if (!fallback) {\n fallback = t;\n }\n });\n update();\n}\nwindow.registerTranslation = registerTranslation;\n/**\n * Localize Reactive Controller for components built with Lit\n *\n * To use this controller, import the class and instantiate it in a custom element constructor:\n *\n * private localize = new LocalizeController(this);\n *\n * This will add the element to the set and make it respond to changes to <html dir|lang> automatically. To make it\n * respond to changes to its own dir|lang properties, make it a property:\n *\n * @property() dir: string;\n * @property() lang: string;\n *\n * To use a translation method, call it like this:\n *\n * ${this.localize.term('term_key_here')}\n * ${this.localize.date('2021-12-03')}\n * ${this.localize.number(1000000)}\n */\nclass LocalizeController {\n constructor(host) {\n this.host = host;\n this.host.addController(this);\n }\n hostConnected() {\n connectedElements.add(this.host);\n }\n hostDisconnected() {\n connectedElements.delete(this.host);\n }\n /**\n * Gets the host element's directionality as determined by the `dir` attribute. The return value is transformed to\n * lowercase.\n */\n dir() {\n return `${this.host.dir || documentDirection}`.toLowerCase();\n }\n /**\n * Gets the host element's language as determined by the `lang` attribute. The return value is transformed to\n * lowercase.\n */\n lang() {\n return `${this.host.lang || documentLanguage}`.toLowerCase();\n }\n // eslint-disable-next-line class-methods-use-this\n getTranslationData(lang) {\n // Convert \"en_US\" to \"en-US\". Note that both underscores and dashes are allowed per spec, but underscores result in\n // a RangeError by the call to `new Intl.Locale()`. See: https://unicode.org/reports/tr35/#unicode-locale-identifier\n const locale = new Intl.Locale(lang.replace(/_/g, '-'));\n const language = locale?.language.toLowerCase();\n const region = locale?.region?.toLowerCase() ?? '';\n const primary = translations.get(`${language}-${region}`);\n const secondary = translations.get(language);\n return { locale, language, region, primary, secondary };\n }\n /** Determines if the specified term exists, optionally checking the fallback translation. */\n exists(key, options) {\n const { primary, secondary } = this.getTranslationData(options.lang ?? this.lang());\n const mergedOptions = {\n includeFallback: false,\n ...options,\n };\n if ((primary && primary[key]) ||\n (secondary && secondary[key]) ||\n (mergedOptions.includeFallback && fallback && fallback[key])) {\n return true;\n }\n return false;\n }\n /** Outputs a translated term. */\n term(key, ...args) {\n const { primary, secondary } = this.getTranslationData(this.lang());\n let term;\n // Look for a matching term using regionCode, code, then the fallback\n if (primary && primary[key]) {\n term = primary[key];\n }\n else if (secondary && secondary[key]) {\n term = secondary[key];\n }\n else if (fallback && fallback[key]) {\n term = fallback[key];\n }\n else {\n // eslint-disable-next-line no-console\n console.error(`No translation found for: ${String(key)}`);\n return String(key);\n }\n if (typeof term === 'function') {\n return term(...args);\n }\n return term;\n }\n /** Outputs a localized date in the specified format. */\n date(dateToFormat, options) {\n const date = new Date(dateToFormat);\n return new Intl.DateTimeFormat(this.lang(), options).format(date);\n }\n /** Outputs a localized number in the specified format. */\n number(numberToFormat, options) {\n const num = Number(numberToFormat);\n return Number.isNaN(num) ? '' : new Intl.NumberFormat(this.lang(), options).format(num);\n }\n /** Outputs a localized time in relative format. */\n relativeTime(value, unit, options) {\n return new Intl.RelativeTimeFormat(this.lang(), options).format(value, unit);\n }\n}\n\n/**\n * @param Base The base class.\n * @returns A mix-in implementing `localizations` method.\n *\n *@example\n * <!-- Terms -->\n ${this.$localize.term('hello')}\n or\n ${this.$t('hello')}\n\n <!-- Dates -->\n ${this.$localize.date('2021-09-15 14:00:00 ET', { month: 'long', day: 'numeric', year: 'numeric' })}\n or\n ${this.$d('2021-09-15 14:00:00 ET', { month: 'long', day: 'numeric', year: 'numeric' })}\n\n <!-- Numbers/currency -->\n ${this.$localize.number(1000, { style: 'currency', currency: 'USD'})}\n or\n ${this.$n(1000,{ style: 'currency', currency: 'USD'})}\n\n <!-- Determining language -->\n ${this.$localize.lang()}\n\n <!-- Determining directionality, e.g. 'ltr' or 'rtl' -->\n ${this.$localize.dir()}\n\n\n *** HOW TO DEFINE TRANSLATIONS: ***\n // Simple terms\n upload: 'Upload',\n\n // Terms with placeholders\n greetUser: (name: string) => `Hello, ${name}!`,\n\n // Plurals\n numFilesSelected: (count: number) => {\n if (count === 0) return 'No files selected';\n if (count === 1) return '1 file selected';\n return `${count} files selected`;\n }\n */\nconst LocalizeMixin = (Base) => class extends Base {\n constructor() {\n super(...arguments);\n this.localize = new LocalizeController(this);\n }\n // Provide default values to avoid definite assignment errors and avoid decorators\n // commentati perchè danno problemi su React.js. Sono attributi nativi, e assegnare un valore di default a react da fastidio\n // dir: string = '';\n // lang: string = '';\n /**\n * Restituisce tutta l'utility di traduzione\n *\n\n *\n * @returns tutta l'utility di traduzione\n *\n * @example\n * this.$localize.lang() -> ritorna la lingua corrente\n * this.$localize.dir() -> ritorna la direzione della lingua corrente\n */\n get $localize() {\n return this.localize;\n }\n /**\n * Restituisce una stringa localizzata a partire da una chiave di termine.\n *\n * Utilizza il `LocalizeController` per accedere al dizionario corrente e\n * tradurre la chiave fornita secondo la lingua attiva.\n *\n * @param t - La chiave del termine da localizzare (es. 'hello', 'submit', ecc.).\n * @returns La stringa tradotta in base alla lingua attiva. Se la chiave non è trovata, restituisce la chiave stessa.\n *\n * @example\n * this.$t('hello'); // → \"Ciao\" (in locale it-IT)\n */\n $t(t) {\n // format term\n return this.localize.term(t);\n }\n /**\n * Formatta una data in base alla localizzazione attiva.\n *\n * Utilizza il `LocalizeController` per restituire una stringa localizzata\n * secondo le opzioni fornite (es. mese esteso, anno, ecc.).\n *\n * @param n - La data da formattare come stringa compatibile (es. ISO o con timezone, es. '2021-09-15 14:00:00 ET').\n * @param p - Le opzioni di formattazione per `Intl.DateTimeFormat` (es. { year: 'numeric', month: 'long', day: 'numeric' }).\n * @returns Una stringa rappresentante la data formattata secondo la localizzazione attiva.\n *\n * @example\n * this.$d('2021-09-15 14:00:00 ET', { year: 'numeric', month: 'long', day: 'numeric' });\n * // → \"15 settembre 2021\" (in locale it-IT)\n */\n $d(d, p) {\n // format date\n return this.localize.date(d, p);\n }\n /**\n * Formatta un numero secondo le impostazioni locali dell'utente corrente.\n *\n * Utilizza il `LocalizeController` per applicare formattazione numerica,\n * incluse opzioni come separatori, decimali, valute, ecc.\n *\n * @param d - Il numero da formattare.\n * @param p - Le opzioni di formattazione (es. { style: 'currency', currency: 'EUR' }).\n * @returns Una stringa rappresentante il numero formattato secondo la localizzazione attiva.\n *\n * @example\n * this.$n(1234.56, { style: 'currency', currency: 'USD' }); // → \"$1,234.56\" (in locale en-US)\n */\n $n(d, p) {\n return this.localize.number(d, p);\n }\n};\n// export interface LocalizedComponent {\n// $t(t: string): string;\n// $d(d: Date | string, p?: Intl.DateTimeFormatOptions): string;\n// $n(n: number, p?: Intl.NumberFormatOptions): string;\n// $localize: LocalizeController;\n// }\n\nexport { LocalizeController, LocalizeMixin, registerTranslation };\n//# sourceMappingURL=index.js.map\n","/* eslint-disable no-console */\nexport class Logger {\n constructor(tag) {\n this.tag = tag;\n }\n format(level, msg) {\n return [`[${this.tag}] ${msg}`];\n }\n warn(msg) {\n console.warn(...this.format('warn', msg));\n }\n error(msg) {\n console.error(...this.format('error', msg));\n }\n info(msg) {\n console.info(...this.format('info', msg));\n }\n}\n//# sourceMappingURL=logger.js.map","import clsx from 'clsx';\nimport { LitElement } from 'lit';\nimport { LocalizeMixin } from '@italia/i18n';\nimport { Logger } from '../utils/logger.js';\n/**\n * Factory function per creare una base class estendibile\n * con stili personalizzati.\n */\nexport class BaseComponent extends LitElement {\n constructor() {\n super();\n this.composeClass = clsx;\n this.logger = new Logger(this.tagName.toLowerCase());\n }\n get _ariaAttributes() {\n const attributes = {};\n for (const attr of this.getAttributeNames()) {\n if (attr === 'it-role') {\n attributes.role = this.getAttribute(attr);\n }\n else if (attr.startsWith('it-aria-')) {\n attributes[attr.replace(/^it-/, '')] = this.getAttribute(attr);\n }\n }\n return attributes;\n }\n // eslint-disable-next-line class-methods-use-this\n generateId(prefix) {\n return `${prefix}-${Math.random().toString(36).slice(2)}`;\n }\n // eslint-disable-next-line class-methods-use-this, @typescript-eslint/no-unused-vars\n addFocus(element) {\n // new TrackFocus(element); // per il momento è stato disattivato perchè ci sono le pseudo classi ::focus-visible per fare quello che fa TrackFocus. Si possono aggiungere regole css in bsi-italia 3 dato che stiamo facendo una breaking release di bsi.\n }\n // eslint-disable-next-line class-methods-use-this\n getActiveElement() {\n let active = document.activeElement;\n while (active && active.shadowRoot && active.shadowRoot.activeElement) {\n active = active.shadowRoot.activeElement;\n }\n return active;\n }\n get focusElement() {\n return this;\n }\n // eslint-disable-next-line class-methods-use-this\n get prefersReducedMotion() {\n return window.matchMedia('(prefers-reduced-motion: reduce)').matches;\n }\n connectedCallback() {\n super.connectedCallback();\n // generate internal _id\n const prefix = this.id?.length > 0 ? this.id : this.tagName.toLowerCase();\n this._id = this.generateId(prefix);\n }\n}\nexport const BaseLocalizedComponent = LocalizeMixin(BaseComponent);\n//# sourceMappingURL=base-component.js.map","//\n// We store a WeakMap of forms + controls so we can keep references to all FormControl within a given form. As\n// elements connect and disconnect to/from the DOM, their containing form is used as the key and the form control is\n// added and removed from the form's set, respectively.\n//\nexport const formCollections = new WeakMap();\n//\n// We store a WeakMap of reportValidity() overloads so we can override it when form controls connect to the DOM and\n// restore the original behavior when they disconnect.\n//\nconst reportValidityOverloads = new WeakMap();\nconst checkValidityOverloads = new WeakMap();\n//\n// We store a Set of controls that users have interacted with. This allows us to determine the interaction state\n// without littering the DOM with additional data attributes.\n//\nconst userInteractedControls = new WeakSet();\n//\n// We store a WeakMap of interactions for each form control so we can track when all conditions are met for validation.\n//\nconst interactions = new WeakMap();\n/** A reactive controller to allow form controls to participate in form submission, validation, etc. */\nexport class FormControlController {\n constructor(host, options) {\n this.submittedOnce = false;\n this.handleFormData = (event) => {\n // console.log('handleFormData');\n const disabled = this.options.disabled(this.host);\n const name = this.options.name(this.host);\n const value = this.options.value(this.host);\n const tagName = this.host.tagName.toLowerCase();\n // For buttons, we only submit the value if they were the submitter. This is currently done in doAction() by\n // injecting the name/value on a temporary button, so we can just skip them here.\n const isButton = tagName === 'it-button';\n if (this.host.isConnected &&\n !disabled &&\n !isButton &&\n typeof name === 'string' &&\n name.length > 0 &&\n typeof value !== 'undefined') {\n switch (tagName) {\n case 'it-radio':\n if (this.host.checked) {\n event.formData.append(name, value);\n }\n break;\n case 'it-checkbox':\n if (this.host.checked) {\n if (event.formData.getAll(name).indexOf(value) < 0) {\n // handle group checkbox\n event.formData.append(name, value);\n }\n }\n break;\n case 'it-checkbox-group':\n // non settare valori in formData, perchè ogni singola checkbox setta il suo valore\n break;\n default:\n if (Array.isArray(value)) {\n value.forEach((val) => {\n event.formData.append(name, val.toString());\n });\n }\n else {\n event.formData.append(name, value.toString());\n }\n }\n }\n };\n this.handleFormSubmit = (event) => {\n const disabled = this.options.disabled(this.host);\n const reportValidity = this.options.reportValidity;\n // Update the interacted state for all controls when the form is submitted\n if (this.form && !this.form.noValidate) {\n formCollections.get(this.form)?.forEach((control) => {\n this.setUserInteracted(control, true);\n });\n }\n const resReportValidity = reportValidity(this.host);\n if (this.form && !this.form.noValidate && !disabled && !resReportValidity) {\n event.preventDefault();\n // event.stopImmediatePropagation(); // se lo attiviamo, valida un campo alla volta\n // Scroll al primo controllo non valido\n const formControls = formCollections.get(this.form);\n if (formControls) {\n for (const control of formControls) {\n if (!control.validity?.valid) {\n // Scroll smooth verso il controllo non valido\n control.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n });\n break;\n }\n }\n }\n }\n this.submittedOnce = true;\n };\n this.handleFormReset = () => {\n this.options.setValue(this.host, '');\n this.submittedOnce = false;\n this.setUserInteracted(this.host, false);\n interactions.set(this.host, []);\n };\n this.handleInteraction = (event) => {\n const emittedEvents = interactions.get(this.host);\n if (!emittedEvents.includes(event.type)) {\n emittedEvents.push(event.type);\n }\n // Mark it as user-interacted as soon as all associated events have been emitted\n if (emittedEvents.length === this.options.assumeInteractionOn.length) {\n this.setUserInteracted(this.host, true);\n }\n };\n this.checkFormValidity = () => {\n // console.log('checkFormValidity');\n //\n // This is very similar to the `reportFormValidity` function, but it does not trigger native constraint validation\n // Allow the user to simply check if the form is valid and handling validity in their own way.\n //\n // We preserve the original method in a WeakMap, but we don't call it from the overload because that would trigger\n // validations in an unexpected order. When the element disconnects, we revert to the original behavior. This won't\n // be necessary once we can use ElementInternals.\n //\n // Note that we're also honoring the form's novalidate attribute.\n //\n if (this.form && !this.form.noValidate) {\n // This seems sloppy, but checking all elements will cover native inputs, Shoelace inputs, and other custom\n // elements that support the constraint validation API.\n const elements = this.form.querySelectorAll('*');\n for (const element of elements) {\n if (typeof element.checkValidity === 'function') {\n if (!element.checkValidity()) {\n return false;\n }\n }\n }\n }\n return true;\n };\n this.reportFormValidity = () => {\n // console.log('reportFormValidity');\n //\n // FormControl work hard to act like regular form controls. They support the Constraint Validation API\n // and its associated methods such as setCustomValidity() and reportValidity(). However, the HTMLFormElement also\n // has a reportValidity() method that will trigger validation on all child controls. Since we're not yet using\n // ElementInternals, we need to overload this method so it looks for any element with the reportValidity() method.\n //\n // We preserve the original method in a WeakMap, but we don't call it from the overload because that would trigger\n // validations in an unexpected order. When the element disconnects, we revert to the original behavior. This won't\n // be necessary once we can use ElementInternals.\n //\n // Note that we're also honoring the form's novalidate attribute.\n //\n if (this.form && !this.form.noValidate) {\n // This seems sloppy, but checking all elements will cover native inputs, Shoelace inputs, and other custom\n // elements that support the constraint validation API.\n const elements = this.form.querySelectorAll('*');\n for (const element of elements) {\n if (typeof element.reportValidity === 'function') {\n if (!element.reportValidity()) {\n return false;\n }\n }\n }\n }\n return true;\n };\n (this.host = host).addController(this);\n this.options = {\n form: (input) => {\n // If there's a form attribute, use it to find the target form by id\n // Controls may not always reflect the 'form' property. For example, `<it-button>` doesn't reflect.\n const formId = input.form;\n if (formId) {\n const root = input.getRootNode();\n const form = root.querySelector(`#${formId}`);\n if (form) {\n return form;\n }\n }\n return input.closest('form');\n },\n name: (input) => input.name,\n value: (input) => input.value,\n disabled: (input) => input.disabled ?? false,\n reportValidity: (input) => typeof input.reportValidity === 'function' ? input.reportValidity() : true,\n checkValidity: (input) => (typeof input.checkValidity === 'function' ? input.checkValidity() : true),\n setValue: (input, value) => {\n // eslint-disable-next-line no-param-reassign\n input.value = value;\n },\n assumeInteractionOn: ['it-input'],\n ...options,\n };\n }\n hostConnected() {\n const form = this.options.form(this.host);\n if (form) {\n this.attachForm(form);\n }\n // Listen for interactions\n interactions.set(this.host, []);\n this.options.assumeInteractionOn.forEach((event) => {\n this.host.addEventListener(event, this.handleInteraction);\n });\n }\n hostDisconnected() {\n this.detachForm();\n // Clean up interactions\n interactions.delete(this.host);\n this.options.assumeInteractionOn.forEach((event) => {\n this.host.removeEventListener(event, this.handleInteraction);\n });\n }\n hostUpdated() {\n const form = this.options.form(this.host);\n // Detach if the form no longer exists\n if (!form) {\n this.detachForm();\n }\n // If the form has changed, reattach it\n if (form && this.form !== form) {\n this.detachForm();\n this.attachForm(form);\n }\n if (this.host.hasUpdated) {\n this.setValidity(this.host.validity.valid);\n }\n }\n attachForm(form) {\n if (form) {\n this.form = form;\n // Add this element to the form's collection\n if (formCollections.has(this.form)) {\n formCollections.get(this.form).add(this.host);\n }\n else {\n formCollections.set(this.form, new Set([this.host]));\n }\n this.form.addEventListener('formdata', this.handleFormData);\n this.form.addEventListener('submit', this.handleFormSubmit);\n this.form.addEventListener('reset', this.handleFormReset);\n // Overload the form's reportValidity() method so it looks at FormControl\n if (!reportValidityOverloads.has(this.form)) {\n reportValidityOverloads.set(this.form, this.form.reportValidity);\n this.form.reportValidity = () => this.reportFormValidity();\n }\n // Overload the form's checkValidity() method so it looks at FormControl\n if (!checkValidityOverloads.has(this.form)) {\n checkValidityOverloads.set(this.form, this.form.checkValidity);\n this.form.checkValidity = () => this.checkFormValidity();\n }\n }\n else {\n this.form = undefined;\n }\n }\n detachForm() {\n if (!this.form)\n return;\n const formCollection = formCollections.get(this.form);\n if (!formCollection) {\n return;\n }\n this.submittedOnce = false;\n // Remove this host from the form's collection\n formCollection.delete(this.host);\n // Check to make sure there's no other form controls in the collection. If we do this\n // without checking if any other controls are still in the collection, then we will wipe out the\n // validity checks for all other elements.\n // see: https://github.com/shoelace-style/shoelace/issues/1703\n if (formCollection.size <= 0) {\n this.form.removeEventListener('formdata', this.handleFormData);\n this.form.removeEventListener('submit', this.handleFormSubmit);\n this.form.removeEventListener('reset', this.handleFormReset);\n // Remove the overload and restore the original method\n if (reportValidityOverloads.has(this.form)) {\n this.form.reportValidity = reportValidityOverloads.get(this.form);\n reportValidityOverloads.delete(this.form);\n }\n if (checkValidityOverloads.has(this.form)) {\n this.form.checkValidity = checkValidityOverloads.get(this.form);\n checkValidityOverloads.delete(this.form);\n }\n // So it looks weird here to not always set the form to undefined. But I _think_ if we unattach this.form here,\n // we end up in this fun spot where future validity checks don't have a reference to the form validity handler.\n // First form element in sets the validity handler. So we can't clean up `this.form` until there are no other form elements in the form.\n this.form = undefined;\n }\n }\n // eslint-disable-next-line class-methods-use-this\n setUserInteracted(el, hasInteracted) {\n if (hasInteracted) {\n userInteractedControls.add(el);\n }\n else {\n userInteractedControls.delete(el);\n }\n el.requestUpdate();\n }\n doAction(type, submitter) {\n // console.log('doaction', type);\n if (this.form) {\n const button = document.createElement('button');\n button.type = type;\n button.style.position = 'absolute';\n button.style.width = '0';\n button.style.height = '0';\n button.style.clipPath = 'inset(50%)';\n button.style.overflow = 'hidden';\n button.style.whiteSpace = 'nowrap';\n // Pass name, value, and form attributes through to the temporary button\n if (submitter) {\n button.name = submitter.name;\n button.value = submitter.value;\n ['formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget'].forEach((attr) => {\n if (submitter.hasAttribute(attr)) {\n button.setAttribute(attr, submitter.getAttribute(attr));\n }\n });\n }\n this.form.append(button);\n button.click();\n button.remove();\n }\n }\n /** Returns the associated `<form>` element, if one exists. */\n getForm() {\n return this.form ?? null;\n }\n /** Resets the form, restoring all the control to their default value */\n reset(submitter) {\n this.doAction('reset', submitter);\n }\n /** Submits the form, triggering validation and form data injection. */\n submit(submitter) {\n // Calling form.submit() bypasses the submit event and constraint validation. To prevent this, we can inject a\n // native submit button into the form, \"click\" it, then remove it to simulate a standard form submission.\n this.doAction('submit', submitter);\n }\n /**\n * Synchronously sets the form control's validity. Call this when you know the future validity but need to update\n * the host element immediately, i.e. before Lit updates the component in the next update.\n */\n setValidity(isValid) {\n const host = this.host;\n const hasInteracted = Boolean(userInteractedControls.has(host));\n const required = Boolean(host.required);\n //\n // We're mapping the following \"states\" to data attributes. In the future, we can use ElementInternals.states to\n // create a similar mapping, but instead of [data-invalid] it will look like :--invalid.\n //\n // See this RFC for more details: https://github.com/shoelace-style/shoelace/issues/1011\n //\n host.toggleAttribute('data-required', required);\n host.toggleAttribute('data-optional', !required);\n host.toggleAttribute('data-invalid', !isValid);\n host.toggleAttribute('data-valid', isValid);\n host.toggleAttribute('data-user-invalid', !isValid && hasInteracted);\n host.toggleAttribute('data-user-valid', isValid && hasInteracted);\n }\n userInteracted() {\n const hasInteracted = Boolean(userInteractedControls.has(this.host));\n return hasInteracted;\n }\n /**\n * Updates the form control's validity based on the current value of `host.validity.valid`. Call this when anything\n * that affects constraint validation changes so the component receives the correct validity states.\n */\n updateValidity() {\n const host = this.host;\n this.setValidity(host.validity.valid);\n }\n /**\n * Dispatches a non-bubbling, cancelable custom event of type `it-invalid`.\n * If the `it-invalid` event will be cancelled then the original `invalid`\n * event (which may have been passed as argument) will also be cancelled.\n * If no original `invalid` event has been passed then the `it-invalid`\n * event will be cancelled before being dispatched.\n */\n emitInvalidEvent(originalInvalidEvent) {\n const itInvalidEvent = new CustomEvent('it-invalid', {\n bubbles: false,\n composed: false,\n cancelable: true,\n detail: {},\n });\n if (!originalInvalidEvent) {\n itInvalidEvent.preventDefault();\n }\n if (!this.host.dispatchEvent(itInvalidEvent)) {\n originalInvalidEvent?.preventDefault();\n }\n }\n}\n//# sourceMappingURL=form-controller.js.map","const translation = {\n $code: 'it',\n $name: 'Italiano',\n $dir: 'ltr',\n validityRequired: 'Questo campo è obbligatorio.',\n validityGroupRequired: \"Scegli almeno un'opzione\",\n validityPattern: 'Il valore non corrisponde al formato richiesto.',\n validityMinlength: 'Il valore deve essere lungo almeno {minlength} caratteri.',\n validityMaxlength: 'Il valore deve essere lungo al massimo {maxlength} caratteri.',\n};\nexport default translation;\n//# sourceMappingURL=it.js.map","import { __decorate, __metadata } from \"tslib\";\nimport { property, query, state } from 'lit/decorators.js';\nimport { registerTranslation } from '@italia/i18n';\nimport { BaseLocalizedComponent } from '../base-component/base-component.js';\nimport { FormControlController } from './form-controller.js';\nimport it from './locales/it.js';\nregisterTranslation(it);\nexport class FormControl extends BaseLocalizedComponent {\n constructor() {\n super(...arguments);\n this.formControlController = new FormControlController(this, {\n assumeInteractionOn: ['it-input', 'it-blur', 'it-change'],\n });\n // TODO: verificare se serve davvero con il fatto che usiamo form-controller\n // static formAssociated = true;\n // @property()\n // internals = this.attachInternals();\n this._touched = false;\n /** The name of the input, submitted as a name/value pair with form data. */\n this.name = '';\n /** The current value of the input, submitted as a name/value pair with form data. */\n this.value = '';\n /** If the input is disabled. */\n this.disabled = false;\n /**\n * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\n * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in\n * the same document or shadow root for this to work.\n */\n this.form = '';\n /** If you implement your custom validation and you won't to trigger default validation */\n this.customValidation = false;\n /** If your input is invalid from your custom validition, set this attribute with message validation */\n this.validationText = '';\n /**\n * Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\n * implied, allowing any numeric value. Only applies to date and number input types.\n */\n this.step = 'any';\n /** The input's minimum length. */\n this.minlength = -1;\n /** The input's maximum length. */\n this.maxlength = -1;\n /** If the input is required. */\n this.required = false;\n /* For grouped input, like checkbox-group */\n this.isInGroup = false;\n this.validationMessage = '';\n }\n /** Gets the validity state object */\n get validity() {\n return this.inputElement?.validity;\n }\n /** Gets the associated form, if one exists. */\n getForm() {\n return this.formControlController.getForm();\n }\n // Form validation methods\n checkValidity() {\n const inputValid = this.inputElement?.checkValidity() ?? true; // this.inputElement.checkValidity() è la validazione del browser\n return inputValid;\n }\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n // const ret = this.inputElement.checkValidity();\n const ret = this.checkValidity(); // chiama la checkValidity, che se è stata overridata chiama quella\n this.handleValidationMessages();\n return ret; // this.inputElement.reportValidity();\n }\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message) {\n this.inputElement.setCustomValidity(message);\n this.validationMessage = this.inputElement.validationMessage;\n this.formControlController.updateValidity();\n }\n // Handlers\n _handleReady() {\n requestAnimationFrame(() => {\n this.dispatchEvent(new CustomEvent('it-input-ready', { bubbles: true, detail: { el: this.inputElement } }));\n });\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _handleInput(e) {\n this.handleValidationMessages();\n this.dispatchEvent(new CustomEvent('it-input', {\n detail: { value: this.inputElement.value, el: this.inputElement },\n bubbles: true,\n composed: true,\n }));\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _handleBlur(e) {\n this._touched = true;\n this.handleValidationMessages();\n this.dispatchEvent(new FocusEvent('it-blur', { bubbles: true, composed: true }));\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _handleFocus(e) {\n this.dispatchEvent(new FocusEvent('it-focus', { bubbles: true, composed: true }));\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _handleClick(e) {\n this.dispatchEvent(new MouseEvent('it-click', { bubbles: true, composed: true }));\n }\n /*\n Override default browser validation messages\n */\n handleValidationMessages() {\n if (!this.customValidation) {\n const _v = this.inputElement.validity;\n const isRequiredHandledByGroup = this.isInGroup === true;\n if (_v.valueMissing && !isRequiredHandledByGroup) {\n this.setCustomValidity(this.$t('validityRequired'));\n }\n else if (_v.patternMismatch) {\n this.setCustomValidity(this.$t('validityPattern'));\n }\n else if (_v.tooShort) {\n this.setCustomValidity(this.$t('validityMinlength').replace('{minlength}', this.minlength.toString()));\n }\n else if (_v.tooLong) {\n this.setCustomValidity(this.$t('validityMaxlength').replace('{maxlength}', this.maxlength.toString()));\n }\n else {\n /* nothing. Usa il messaggio di errore della validazione\n di default del browser per altri errori di validità come:\n - typeMismatch\n - rangeUnderflow\n - rangeOverflow\n - stepMismatch\n - badInput */\n const otherConstraintErrors = _v.typeMismatch || _v.rangeUnderflow || _v.rangeOverflow || _v.stepMismatch || _v.badInput;\n if (!otherConstraintErrors) {\n this.setCustomValidity('');\n }\n }\n }\n this.validationMessage = this.inputElement.validationMessage;\n }\n _handleInvalid(event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n _handleChange(e) {\n const target = e.target;\n let value;\n if (target instanceof HTMLInputElement) {\n switch (target.type) {\n case 'checkbox':\n case 'radio':\n value = target.checked;\n break;\n case 'file':\n value = target.files; // FileList\n break;\n default:\n value = target.value;\n }\n }\n else if (target instanceof HTMLSelectElement) {\n if (target.multiple) {\n value = Array.from(target.selectedOptions).map((o) => o.value);\n }\n else {\n value = target.value;\n }\n }\n else {\n // textarea o altri input con value\n value = target.value;\n }\n this.dispatchEvent(new CustomEvent('it-change', {\n detail: { value, el: target },\n bubbles: true,\n composed: true,\n }));\n }\n updated(changedProperties) {\n super.updated?.(changedProperties);\n if (this.customValidation) {\n this.setCustomValidity(this.validationText ?? '');\n }\n else if (this.formControlController.userInteracted()) {\n this.formControlController.updateValidity();\n }\n }\n}\n__decorate([\n state(),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"_touched\", void 0);\n__decorate([\n query('.it-form__control'),\n __metadata(\"design:type\", HTMLInputElement)\n], FormControl.prototype, \"inputElement\", void 0);\n__decorate([\n property({ type: String, reflect: true }) // from FormControl\n ,\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"name\", void 0);\n__decorate([\n property({ reflect: true }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"value\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true }) // from FormControl\n ,\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"disabled\", void 0);\n__decorate([\n property({ reflect: true, type: String }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"form\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true, attribute: 'custom-validation' }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"customValidation\", void 0);\n__decorate([\n property({ attribute: 'validity-message', reflect: true }),\n __metadata(\"design:type\", String)\n], FormControl.prototype, \"validationText\", void 0);\n__decorate([\n property(),\n __metadata(\"design:type\", String)\n], FormControl.prototype, \"pattern\", void 0);\n__decorate([\n property(),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"min\", void 0);\n__decorate([\n property(),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"max\", void 0);\n__decorate([\n property(),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"step\", void 0);\n__decorate([\n property({ type: Number }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"minlength\", void 0);\n__decorate([\n property({ type: Number }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"maxlength\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true }) // from FormControl\n ,\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"required\", void 0);\n__decorate([\n property({ type: Boolean }),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"isInGroup\", void 0);\n__decorate([\n state(),\n __metadata(\"design:type\", Object)\n], FormControl.prototype, \"validationMessage\", void 0);\n//# sourceMappingURL=form-control.js.map","import TrackFocus from './utils/track-focus.js';\nimport setAttributes from './directives/setAttributes.js';\nimport AriaKeyboardListController from './controllers/aria-keyboard-list-controller.js';\nimport { StoryFormControlMethodAndProps } from './stories/formControlReusableStories.js';\nif (typeof window !== 'undefined') {\n window._itAnalytics = window._itAnalytics || {};\n window._itAnalytics = {\n ...window._itAnalytics,\n version: '1.0.0-alpha.6',\n };\n}\nexport { TrackFocus, setAttributes, AriaKeyboardListController };\nexport { RovingTabindexController } from './controllers/roving-tabindex-controller.js';\nexport { BaseComponent, BaseLocalizedComponent, } from './base-component/base-component.js';\nexport { AriaKeyboardAccordionController, } from './controllers/aria-keyboard-accordion-controller.js';\nexport { CollapseAnimationController } from './controllers/collapse-controller.js';\nexport { FocusTrapController } from './controllers/focus-trap-controller.js';\nexport { FormControl } from './form/form-control.js';\nexport { formCollections, FormControlController } from './form/form-controller.js';\nexport { cookies } from './utils/cookies.js';\nexport { WindowManager } from './window-manager.js';\nexport { StoryFormControlMethodAndProps };\n//# sourceMappingURL=index.js.map","import { type Suggestion } from '../types.js';\n/**\n * Checks for repetition of characters in\n * a string\n *\n * @param int rLen Repetition length.\n * @param string str The string to be checked.\n * @return string\n */\nconst checkRepetition = (rLen: number, str: string) => {\n let res = '';\n let repeated = false;\n for (let i: number = 0; i < str.length; i += 1) {\n repeated = true;\n for (let j: number = 0; j < rLen && j + i + rLen < str.length; j += 1) {\n repeated = repeated && str.charAt(j + i) === str.charAt(j + i + rLen);\n }\n if (repeated) {\n i += rLen - 1;\n repeated = false;\n } else {\n res += str.charAt(i);\n }\n }\n return res;\n};\n\n/**\n * Returns a value between -1 and 100 to score\n * the user's password.\n *\n * @param string password The password to be checked.\n * @return int\n */\nconst calculateScore = (password: string, lmin: number) => {\n let score = 0;\n\n // empty password\n if (password.trim().length === 0) {\n return -2;\n }\n\n if (password.length < lmin) {\n return -1;\n }\n\n // password length\n score += password.length * 4;\n score += checkRepetition(1, password).length - password.length;\n score += checkRepetition(2, password).length - password.length;\n score += checkRepetition(3, password).length - password.length;\n score += checkRepetition(4, password).length - password.length;\n\n // password has 3 numbers\n if (password.match(/(.*[0-9].*[0-9].*[0-9])/)) {\n score += 5;\n }\n\n // password has at least 2 symbols\n const symbols = /(.*[!,@,#,$,%,^,&,*,?,_,~].*[!,@,#,$,%,^,&,*,?,_,~])/;\n if (password.match(symbols)) {\n score += 5;\n }\n\n // password has Upper and Lower chars\n if (password.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)) {\n score += 10;\n }\n\n // password has number and chars\n if (password.match(/([a-zA-Z])/) && password.match(/([0-9])/)) {\n score += 15;\n }\n\n // password has number and symbol\n if (password.match(/([!,@,#,$,%,^,&,*,?,_,~])/) && password.match(/([0-9])/)) {\n score += 15;\n }\n\n // password has char and symbol\n if (password.match(/([!,@,#,$,%,^,&,*,?,_,~])/) && password.match(/([a-zA-Z])/)) {\n score += 15;\n }\n\n // password is just numbers or chars\n if (password.match(/^\\w+$/) || password.match(/^\\d+$/)) {\n score -= 10;\n }\n\n if (score > 100) {\n score = 100;\n }\n\n if (score < 0) {\n score = 0;\n }\n\n return score;\n};\n\nconst scoreColor = (score: number) => {\n if (score === -1 || score === -2 || score < 26) {\n return 'danger';\n }\n if (score < 51) {\n return 'warning';\n }\n if (score < 76) {\n return 'success';\n }\n return 'success';\n};\n\nconst scoreText = (score: number, messages: any) => {\n if (score === -1) {\n return messages.shortPass;\n }\n if (score === -2) {\n return '';\n }\n if (score < 26) {\n return messages.badPass;\n }\n if (score < 51) {\n return messages.badPass;\n }\n if (score < 76) {\n return messages.goodPass;\n }\n return messages.strongPass;\n};\n\nconst suggestionsConfig: Array<Suggestion> = [\n {\n key: 'length',\n text: (config) => config.suggestionLength.replace('{minLength}', config.minimumLength.toString()),\n test: (password, config) => password.length >= config.minimumLength,\n },\n {\n key: 'uppercase',\n text: (config) => config.suggestionUppercase,\n test: (password) => /[A-Z]/.test(password),\n },\n {\n key: 'lowercase',\n text: (config) => config.suggestionLowercase,\n test: (password) => /[a-z]/.test(password),\n },\n {\n key: 'number',\n text: (config) => config.suggestionNumber,\n test: (password) => /[0-9]/.test(password),\n },\n {\n key: 'special',\n text: (config) => config.suggestionSpecial,\n test: (password) => /[^A-Za-z0-9]/.test(password),\n },\n];\n\nconst calcCompletedSuggestions = (_suggestions: Array<Suggestion>, password: string, config: Record<string, any>) => {\n let completedCount = 0;\n const totalCount = _suggestions.length;\n _suggestions.forEach((sugg) => {\n if (sugg.test(password, config)) {\n completedCount += 1;\n }\n });\n return { completedCount, totalCount };\n};\nexport { calculateScore, scoreColor, scoreText, suggestionsConfig, calcCompletedSuggestions };\n","import type { DefaultTranslation } from '@italia/i18n';\n\nconst translation: DefaultTranslation = {\n $code: 'it',\n $name: 'Italiano',\n $dir: 'ltr',\n\n showHidePassword: 'Mostra/Nascondi Password.',\n shortPass: 'Password troppo breve.',\n badPass: 'Password debole.',\n goodPass: 'Password abbastanza sicura.',\n strongPass: 'Password sicura.',\n ariaLabelPasswordMeter: 'Robustezza della password',\n passwordSuggestionsLabel: 'Suggerimenti per una buona password:',\n passwordSuggestionLength: 'Almeno {minLength} caratteri.',\n passwordSuggestionUppercase: 'Una o più maiuscole.',\n passwordSuggestionLowercase: 'Una o più minuscole.',\n passwordSuggestionNumber: 'Uno o più numeri.',\n passwordSuggestionSpecial: 'Uno o più caratteri speciali.',\n passwordSuggestionFollowed: 'suggerimenti seguiti',\n passwordSuggestionFollowedPlural: 'suggerimenti seguiti',\n passwordSuggestionOf: 'di',\n passwordSuggestionMetLabel: 'Soddisfatto:',\n increaseValue: 'Aumenta il valore',\n decreaseValue: 'Diminuisci il valore',\n};\n\nexport default translation;\n","import { setAttributes, FormControl } from '@italia/globals';\nimport { registerTranslation } from '@italia/i18n';\nimport { html, nothing } from 'lit';\nimport { customElement, property, state, queryAssignedElements } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { when } from 'lit/directives/when.js';\nimport { live } from 'lit/directives/live.js';\nimport {\n calculateScore,\n scoreColor,\n scoreText,\n suggestionsConfig,\n calcCompletedSuggestions,\n} from './helpers/password.js';\n\nimport { type InputType, type Sizes, type Suggestion } from './types.js';\nimport it from './locales/it.js';\nimport styles from './input.scss';\n\nregisterTranslation(it);\n\n@customElement('it-input')\nexport class ItInput extends FormControl {\n static styles = styles;\n\n @state()\n private _slotPrepend: HTMLSlotElement | null = null;\n\n @state()\n private _slotAppend: HTMLSlotElement | null = null;\n\n /**\n * The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\n * to `text`.\n */\n @property({ type: String })\n type: InputType = 'text';\n\n /** The input's size. */\n @property()\n size?: Sizes;\n\n /** If you want number-input to be adaptive in width */\n @property({ type: Boolean })\n adaptive = false;\n\n /** If you want label to be hidden. */\n @property({ type: Boolean, attribute: 'label-hidden' })\n labelHidden = false;\n\n /** Placeholder text to show as a hint when the input is empty. */\n @property({ type: String })\n placeholder = '';\n\n /** The input's help text. */\n @property({ type: String, attribute: 'support-text' })\n supportText = '';\n\n /** If you want the input to be displayed as plaintext. */\n @property({ type: Boolean })\n plaintext = false;\n\n /** If the input is read-only. */\n @property({ type: Boolean })\n readonly = false;\n\n /** If your input is of type 'password' and you want to display a strength meter */\n @property({ type: Boolean, attribute: 'strength-meter' })\n passwordStrengthMeter = false;\n\n /** If your input is of type 'password' and you want to show password suggestions. */\n @property({ type: Boolean })\n suggestions = false;\n\n @queryAssignedElements({ slot: 'label' })\n labelElements!: HTMLElement[];\n\n get label(): string {\n if (this.labelElements.length > 0) {\n return this.labelElements[0].innerText.trim();\n }\n return '';\n }\n\n @state()\n private _passwordVisible = false;\n\n @state()\n private _strengthInfos = '';\n\n @state()\n private _score = 0;\n\n get slotted() {\n return this._slotPrepend || this._slotAppend;\n }\n\n firstUpdated() {\n // this.addFocus(this.inputElement); //NON serve per il momento perche sfruttiamo :focus-visible. Per gli input focus-visible si attiva anche al click perchè è il browser che lo gestisce\n this._slotPrepend = this.querySelector('[slot=\"prepend\"]');\n this._slotAppend = this.querySelector('[slot=\"append\"]');\n\n this._slotPrepend?.addEventListener('slotchange', () => {\n this.requestUpdate();\n });\n\n this._slotAppend?.addEventListener('slotchange', () => {\n this.requestUpdate();\n });\n }\n\n override connectedCallback() {\n super.connectedCallback?.();\n\n if (this.type === 'password' && this.minlength < 0) {\n this.minlength = 8; // set default minlength for password\n }\n this._handleReady();\n }\n\n override updated(changedProperties: Map<string | number | symbol, unknown>) {\n super.updated?.(changedProperties);\n\n // logger\n if (this.passwordStrengthMeter && this.type !== 'password') {\n this.logger.warn(\n \"The strength-meter property is enabled, but type isn't password. Please, remove strength-meter property.\",\n );\n }\n\n if (this.suggestions && this.type !== 'password') {\n this.logger.warn(\n \"The suggestions property is enabled, but type isn't password. Please, remove suggestions this property.\",\n );\n }\n\n if (!this.label || this.label?.length === 0) {\n this.logger.warn(\n `Label is required to ensure accessibility. Please, define a label for <it-input name=\"${this.name}\" id=\"${this.id}\" ... /> . Set attribute label-hidden=\"true\" if you don't want to show label.`,\n );\n }\n }\n\n override _handleInput(e: Event) {\n this.value = this.inputElement.value;\n if (this.value === '00') {\n this.value = '0';\n this.inputElement.value = '0';\n }\n\n if (this.passwordStrengthMeter) {\n this._checkPasswordStrength(this.inputElement.value);\n }\n\n super._handleInput(e);\n }\n\n private _togglePasswordVisibility() {\n this._passwordVisible = !this._passwordVisible;\n if (this.inputElement) {\n this.inputElement.type = this._passwordVisible ? 'text' : 'password';\n }\n }\n\n private _checkPasswordStrength(value: string) {\n this._score = calculateScore(value, this.minlength);\n this._updateStrengthInfos();\n }\n\n private _getPasswordConfig() {\n return {\n minimumLength: this.minlength,\n showHidePassword: this.$t('showHidePassword'),\n shortPass: this.$t('shortPass'),\n badPass: this.$t('badPass'),\n goodPass: this.$t('goodPass'),\n strongPass: this.$t('strongPass'),\n ariaLabelPasswordMeter: this.$t('ariaLabelPasswordMeter'),\n suggestionsLabel: this.$t('passwordSuggestionsLabel'),\n suggestionLength: this.$t('passwordSuggestionLength'),\n suggestionUppercase: this.$t('passwordSuggestionUppercase'),\n suggestionLowercase: this.$t('passwordSuggestionLowercase'),\n suggestionNumber: this.$t('passwordSuggestionNumber'),\n suggestionSpecial: this.$t('passwordSuggestionSpecial'),\n suggestionFollowed: this.$t('passwordSuggestionFollowed'),\n suggestionFollowedPlural: this.$t('passwordSuggestionFollowedPlural'),\n suggestionOf: this.$t('passwordSuggestionOf'),\n };\n }\n\n private _updateStrengthInfos() {\n let text = scoreText(this._score, {\n shortPass: this.$t('shortPass'),\n badPass: this.$t('badPass'),\n goodPass: this.$t('goodPass'),\n strongPass: this.$t('strongPass'),\n });\n\n if (suggestionsConfig) {\n const { completedCount, totalCount } = calcCompletedSuggestions(\n suggestionsConfig,\n this.value,\n this._getPasswordConfig(),\n );\n const suggestionOfText =\n completedCount === 1 ? this.$t('passwordSuggestionFollowed') : this.$t('passwordSuggestionFollowedPlural');\n\n text += ` ${completedCount} ${this.$t('passwordSuggestionOf')} ${totalCount} ${suggestionOfText}.`;\n }\n this._strengthInfos = text;\n }\n\n private static _cleanFloat(num: number) {\n return parseFloat(num.toPrecision(15));\n }\n\n private _inputNumberIncDec(v: number) {\n const step = typeof this.step === 'number' ? this.step : Number(this.step) || 1;\n\n const value = typeof this.value === 'number' ? this.value : Number(this.value) || 0;\n const min = typeof this.min === 'number' ? this.min : Number(this.min);\n const max = typeof this.max === 'number' ? this.max : Number(this.max);\n\n const _v = v * step;\n\n const newValue = ItInput._cleanFloat(value + _v);\n\n if (newValue > max || newValue < min) {\n // non fare nulla\n } else {\n const _value = newValue.toString();\n this.value = _value;\n this.inputElement.dispatchEvent(new Event('blur', { bubbles: true }));\n this.inputElement.dispatchEvent(new Event('change', { bubbles: true }));\n const liveRegion = this.shadowRoot?.querySelector(`#${this._id}-live-region`);\n if (liveRegion) {\n liveRegion.textContent = `${_value}`;\n }\n }\n }\n\n private _renderTogglePasswordButton() {\n // Solo se type=password\n if (this.type === 'password') {\n return html`\n <button\n type=\"button\"\n class=\"password-icon btn\"\n role=\"switch\"\n aria-checked=\"${this._passwordVisible}\"\n @click=\"${this._togglePasswordVisibility}\"\n part=\"focusable\"\n >\n <span class=\"visually-hidden\">${this.$t('showHidePassword')}</span>\n <it-icon\n name=\"${this._passwordVisible ? 'it-password-visible' : 'it-password-invisible'}\"\n size=\"sm\"\n ></it-icon>\n </button>\n `;\n }\n return nothing;\n }\n\n private _renderSuggestions() {\n return this.suggestions\n ? html`<div class=\"strength-meter-suggestions small form-text text-muted\">\n <label class=\"visually-hidden\" for=\"suggestions\">${this.$t('passwordSuggestionsLabel')}</label>\n <div class=\"password-suggestions\">\n ${suggestionsConfig.map((sugg: Suggestion) => {\n const isMet = sugg.test(this.value, this._getPasswordConfig());\n return html`\n <div class=\"suggestion\">\n ${isMet\n ? html` <svg\n class=\"icon icon-xs me-1\"\n aria-label=\"${this.$t('passwordSuggestionMetLabel')}\"\n viewBox=\"0 0 24 24\"\n style=\"width: 1em; height: 1em;\"\n >\n <path d=\"M9.6 16.9 4 11.4l.8-.7 4.8 4.8 8.5-8.4.7.7-9.2 9.1z\"></path>\n </svg>`\n : nothing}\n <span>${sugg.text(this._getPasswordConfig())}</span>\n </div>\n `;\n })}\n </div>\n </div>`\n : nothing;\n }\n\n private _renderpasswordStrengthMeter() {\n if (this.type === 'password' && this.passwordStrengthMeter) {\n const perc = this._score < 0 ? 0 : this._score;\n const color = this.value?.length === 0 ? 'muted' : scoreColor(this._score);\n return html`<div class=\"password-strength-meter\">\n ${this._renderSuggestions()}\n\n <p\n id=${`strengthMeterInfo_${this._id}`}\n class=\"${`strength-meter-info small form-text pt-0 text-${color}`}\"\n aria-live=\"polite\"\n >\n ${this._strengthInfos}\n </p>\n <div class=\"password-meter progress rounded-0 position-absolute\">\n <div\n class=\"${this.composeClass('progress-bar', `bg-${color}`)}\"\n style=\"width: ${perc}%\"\n role=\"progressbar\"\n aria-valuenow=\"${perc}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-label=\"${this.$t('ariaLabelPasswordMeter')}\"\n >\n <div class=\"row position-absolute w-100 m-0\">\n <div class=\"col-3 border-start border-end border-white\"></div>\n <div class=\"col-3 border-start border-end border-white\"></div>\n <div class=\"col-3 border-start border-end border-white\"></div>\n <div class=\"col-3 border-start border-end border-white\"></div>\n </div>\n </div>\n </div>\n </div>`;\n }\n return nothing;\n }\n\n private _renderInput(supportTextId: string, invalid: boolean, validityMessage: string, showValidation: boolean) {\n const ariaDescribedBy = this.composeClass(\n this.supportText?.length > 0 ? supportTextId : '',\n this.passwordStrengthMeter ? `strengthMeterInfo_${this._id}` : '',\n this._ariaAttributes['aria-describedby']?.length > 0 ? this._ariaAttributes['aria-describedby'] : '',\n showValidation && validityMessage?.length > 0 ? `invalid-feedback-${this._id}` : '',\n );\n\n const inputClasses = this.composeClass(\n 'it-form__control',\n this.plaintext ? 'form-control-plaintext' : 'form-control',\n this.size ? `form-control-${this.size}` : '',\n showValidation && invalid ? 'is-invalid' : '',\n showValidation && !invalid && !this.readonly ? 'just-validate-success-field' : '',\n );\n\n let inputRender;\n\n if (this.type === 'textarea') {\n inputRender = html`\n <textarea\n part=\"textarea focusable\"\n ${setAttributes(this._ariaAttributes)}\n aria-describedby=${ifDefined(ariaDescribedBy || undefined)}\n aria-invalid=${ifDefined(invalid ? 'true' : undefined)}\n @input=\"${this._handleInput}\"\n @blur=${this._handleBlur}\n @focus=${this._handleFocus}\n @click=${this._handleClick}\n @change=${this._handleChange}\n @invalid=${this._handleInvalid}\n id=\"${this._id}\"\n name=\"${this.name}\"\n ?disabled=${this.disabled}\n ?readonly=${this.readonly}\n ?required=${this.required}\n minlength=${ifDefined(this.minlength)}\n maxlength=${ifDefined(this.maxlength)}\n pattern=${ifDefined(this.pattern)}\n ?formNoValidate=${this.customValidation}\n .value=\"${live(this.value)}\"\n placeholder=${ifDefined(this.placeholder || undefined)}\n class=\"${inputClasses}\"\n ></textarea>\n `;\n } else {\n let style = null;\n if (this.type === 'number' && this.adaptive) {\n style = `width: calc(${this.value.toString().length}ch + 70px);`;\n }\n inputRender = html`\n <input\n part=\"input focusable\"\n ${setAttributes(this._ariaAttributes)}\n aria-describedby=${ifDefined(ariaDescribedBy || undefined)}\n aria-invalid=${ifDefined(invalid ? 'true' : undefined)}\n @input=\"${this._handleInput}\"\n @blur=${this._handleBlur}\n @focus=${this._handleFocus}\n @click=${this._handleClick}\n @change=${this._handleChange}\n @invalid=${this._handleInvalid}\n type=\"${this.type}\"\n id=\"${this._id}\"\n name=\"${this.name}\"\n ?disabled=${this.disabled}\n ?readonly=${this.readonly}\n ?required=${this.required}\n minlength=${ifDefined(this.minlength)}\n maxlength=${ifDefined(this.maxlength)}\n min=${ifDefined(this.min)}\n max=${ifDefined(this.max)}\n step=${ifDefined(this.step as number)}\n autocomplete=\"off\"\n pattern=${ifDefined(this.pattern)}\n ?formNoValidate=${this.customValidation}\n .value=\"${live(this.value)}\"\n placeholder=${ifDefined(this.placeholder || undefined)}\n class=\"${inputClasses}\"\n style=${ifDefined(style)}\n />${this._renderTogglePasswordButton()}\n `;\n }\n\n return inputRender;\n }\n\n // Render the UI as a function of component state\n override render() {\n const supportTextId = `${this._id}-support-text`;\n\n const supportTextRender = html` ${when(\n this.supportText,\n () => html` <small class=\"form-text\" id=\"${supportTextId}\">${this.supportText}</small> `,\n )}`;\n\n const showValidation = this.formControlController.submittedOnce || this.customValidation; // true; // this._touched || this.customValidation;\n const validityMessage = (showValidation ? this.validationMessage : '') ?? '';\n const invalid =\n validityMessage?.length > 0 || (!this.customValidation && this.inputElement?.checkValidity() === false);\n\n const validityMessageRender = html`<div\n role=\"alert\"\n id=\"invalid-feedback-${this._id}\"\n class=\"invalid-feedback form-feedback form-text form-feedback just-validate-error-label\"\n ?hidden=${!(validityMessage?.length > 0)}\n >\n <span class=\"visually-hidden\">${this.label}: </span>${validityMessage}\n </div>`;\n\n return html`\n <div class=\"form-group\" part=\"input-wrapper\">\n <label\n for=\"${ifDefined(this._id || undefined)}\"\n part=\"label\"\n class=\"${this.composeClass('active', this.labelHidden ? 'visually-hidden' : '')}\"\n ><slot name=\"label\"></slot\n ></label>\n\n ${when(\n this.slotted || this.type === 'number',\n () =>\n html`<div\n class=\"${this.composeClass(\n 'input-group ',\n this.type === 'number' ? 'input-number' : '',\n this.type === 'number' && this.adaptive ? 'input-number-adaptive' : '',\n this.disabled ? 'disabled' : '',\n this.readonly ? 'readonly' : '',\n )}\"\n >\n ${when(\n this._slotPrepend,\n () =>\n html` <span class=\"input-group-text\">\n <slot name=\"prepend\" @slotchange=${() => this.requestUpdate()}></slot\n ></span>`,\n )}\n ${this._renderInput(supportTextId, invalid, validityMessage, showValidation)}\n ${when(\n this.type === 'number',\n () =>\n html`<span class=\"input-group-text align-buttons flex-column\">\n <button\n class=\"input-number-add\"\n @click=${() => this._inputNumberIncDec(+1)}\n ?disabled=${this.disabled || this.readonly}\n >\n <span class=\"visually-hidden\">${this.$t('increaseValue')}</span>\n </button>\n <button\n class=\"input-number-sub\"\n @click=${() => this._inputNumberIncDec(-1)}\n ?disabled=${this.disabled || this.readonly}\n >\n <span class=\"visually-hidden\">${this.$t('decreaseValue')}</span>\n </button>\n <div aria-live=\"polite\" class=\"visually-hidden\" id=\"${this._id}-live-region\"></div>\n </span>`,\n )}\n ${when(\n this._slotAppend,\n () =>\n html` <div class=\"input-group-append\">\n <slot name=\"append\" @slotchange=${() => this.requestUpdate()}></slot>\n </div>`,\n )}\n </div>\n ${validityMessageRender} ${supportTextRender} ${this._renderpasswordStrengthMeter()}`,\n () =>\n html` ${this._renderInput(supportTextId, invalid, validityMessage, showValidation)} ${validityMessageRender}\n ${supportTextRender} ${this._renderpasswordStrengthMeter()}`,\n )}\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'it-input': ItInput;\n }\n}\n"],"names":["translation","it"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAsCA;AACO,SAAS,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE;AAC1D,IAAI,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;AACjI,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;AACnI,SAAS,KAA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E,IAAI,EAAE,OAAO,EAAE,CAAC;;AACR,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,aAAA,EAAA,MAAA,CAAA;AAGpB,UAAA,CAAA;AADC,IAAA,qBAAqB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;AACX,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AAUtB,UAAA,CAAA;AADP,IAAA,KAAK,EAAE;;AACyB,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,kBAAA,EAAA,MAAA,CAAA;AAGzB,UAAA,CAAA;AADP,IAAA,KAAK,EAAE;;AACoB,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,gBAAA,EAAA,MAAA,CAAA;AAGpB,UAAA,CAAA;AADP,IAAA,KAAK,EAAE;;AACW,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,QAAA,EAAA,MAAA,CAAA;AArER,OAAO,GAAA,SAAA,GAAA,UAAA,CAAA;IADnB,aAAa,CAAC,UAAU;AACZ,CAAA,EAAA,OAAO,CAmenB;;;;","x_google_ignoreList":[0,2]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@italia/input",
3
3
  "description": "Web component it-input del Design system .italia",
4
- "version": "1.0.0-alpha.5",
4
+ "version": "1.0.0-alpha.6",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -34,10 +34,10 @@
34
34
  "custom-elements.json"
35
35
  ],
36
36
  "dependencies": {
37
- "bootstrap-italia": "3.0.0-alpha.0",
37
+ "bootstrap-italia": "3.0.0-alpha.4",
38
38
  "lit": "^3.3.0",
39
- "@italia/globals": "^1.0.0-alpha.5",
40
- "@italia/i18n": "^1.0.0-alpha.5"
39
+ "@italia/globals": "^1.0.0-alpha.6",
40
+ "@italia/i18n": "^1.0.0-alpha.6"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@custom-elements-manifest/analyzer": "^0.10.3",
@@ -52,12 +52,12 @@
52
52
  "sass": "^1.89.0",
53
53
  "tslib": "^2.6.3",
54
54
  "typescript": "^5.5.3",
55
- "@italia/icon": "^1.0.0-alpha.5",
55
+ "@italia/icon": "^1.0.0-alpha.6",
56
56
  "@italia/test-config": "^0.0.0",
57
57
  "@italia/typescript-config": "^0.0.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@italia/icon": "^1.0.0-alpha.5"
60
+ "@italia/icon": "^1.0.0-alpha.6"
61
61
  },
62
62
  "customElements": "custom-elements.json",
63
63
  "scripts": {