feat: grids, radar and document lines (#28)
Lists need one component for the whole app (SPEC §10.6-§10.7): a list query model that turns search, filters, sort and paging into SQL or runs over rows in memory, a KhGrid that pages 100,000 rows while scrolling (or in pages) with sort, selection, keyboard, inline edit, totals, row menu, saved column layout and CSV/XLSX export, the KhRadar around it with search, quick filters, a filter builder and saved filters, a radar window for F4 lookups, and KhLinesGrid for document lines typed from the keyboard. Checked in the browser on the component catalog and the sample document. Fixed on the way: the grid height lost to the flex basis, a new search kept the old scroll position, Save of a filter needed a second click, page shortcuts (Ctrl+Canc) reached the record behind a modal window, Escape did nothing once focus left a dialog, totals did not follow an inline edit, and amounts exported as 0 instead of 0,00. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d0f9d0e651
commit
75d60ee4c4
18 files changed
+3776
-28
No files matched your search
@@ -202,7 +202,8 @@
|
||||
"Panels": "Pannelli",
|
||||
"Navigation": "Navigazione",
|
||||
"Windows": "Finestre",
|
||||
"Toolbar": "Toolbar e intestazione"
|
||||
"Toolbar": "Toolbar e intestazione",
|
||||
"Grids": "Griglie e radar"
|
||||
},
|
||||
"Fields": {
|
||||
"Document": "Documento",
|
||||
@@ -316,6 +317,48 @@
|
||||
"Quantity": "Quantità",
|
||||
"Price": "Prezzo",
|
||||
"Amount": "Importo"
|
||||
},
|
||||
"Grids": {
|
||||
"Radar": "Radar di 100.000 clienti finti",
|
||||
"RadarIntro": "Righe lette a pagine mentre scorri. Prova la ricerca, i filtri, l'ordinamento con Maiusc, il menu della riga, le colonne e l'esportazione.",
|
||||
"Pager": "Griglia a pagine con modifica in linea",
|
||||
"PagerIntro": "Doppio clic o F2 sul fido per modificarlo; Invio salva, Esc annulla.",
|
||||
"Code": "Codice",
|
||||
"Name": "Ragione sociale",
|
||||
"City": "Città",
|
||||
"Province": "Prov.",
|
||||
"Agent": "Agente",
|
||||
"Kind": "Tipo",
|
||||
"Revenue": "Fatturato",
|
||||
"Overdue": "Scaduto",
|
||||
"Credit": "Fido",
|
||||
"Since": "Cliente dal",
|
||||
"State": "Stato",
|
||||
"Vip": "Preferito",
|
||||
"KindCompany": "Azienda",
|
||||
"KindPerson": "Privato",
|
||||
"KindPublic": "Pubblica amministrazione",
|
||||
"StateActive": "Attivo",
|
||||
"StateBlocked": "Bloccato",
|
||||
"StateDisabled": "Disabilitato",
|
||||
"All": "Tutti",
|
||||
"NoAgent": "Senza agente",
|
||||
"Opened": "Qui si apre la scheda di {0}",
|
||||
"CreditInvalid": "Il fido non può essere negativo.",
|
||||
"Visible": "fatturato filtrato {0}",
|
||||
"Lines": "Righe del documento",
|
||||
"Item": "Articolo",
|
||||
"Description": "Descrizione",
|
||||
"Unit": "UM",
|
||||
"Quantity": "Quantità",
|
||||
"Price": "Prezzo",
|
||||
"Discount": "Sconto %",
|
||||
"Amount": "Importo",
|
||||
"ItemRadar": "Ricerca articolo",
|
||||
"ItemCreated": "Qui si crea l'articolo {0}",
|
||||
"Duplicate": "Duplica",
|
||||
"OpenCard": "Apri la scheda",
|
||||
"Block": "Blocca"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,6 +62,88 @@
|
||||
"Links": "Collegamenti",
|
||||
"History": "Storico"
|
||||
}
|
||||
},
|
||||
"Grid": {
|
||||
"Yes": "Sì",
|
||||
"No": "No",
|
||||
"Count": "{0} righe",
|
||||
"Selected": "{0} selezionate",
|
||||
"Total": "Totale",
|
||||
"Empty": "Nessuna riga.",
|
||||
"SelectAll": "Seleziona tutte le righe caricate",
|
||||
"SelectRow": "Seleziona la riga",
|
||||
"RowMenu": "Azioni della riga",
|
||||
"SortHint": "Ordina (Maiusc per aggiungere un secondo ordinamento)",
|
||||
"Columns": "Colonne",
|
||||
"ColumnsHint": "Scegli le colonne da mostrare e il loro ordine: la scelta resta per te su questa lista.",
|
||||
"Up": "Sposta su",
|
||||
"Down": "Sposta giù",
|
||||
"Reset": "Ripristina",
|
||||
"Close": "Chiudi",
|
||||
"Export": "Esporta",
|
||||
"ExportCsv": "CSV per Excel (punto e virgola)",
|
||||
"ExportXlsx": "Excel (XLSX)",
|
||||
"Exported": "Esportate {0} righe.",
|
||||
"ExportLimit": "Esportate le prime {0} righe: restringi i filtri per avere le altre.",
|
||||
"Pages": "Pagine",
|
||||
"PreviousPage": "Pagina precedente",
|
||||
"NextPage": "Pagina successiva"
|
||||
},
|
||||
"Radar": {
|
||||
"Search": "Cerca",
|
||||
"SearchPlaceholder": "Cerca per codice, nome...",
|
||||
"HintRadar": "radar",
|
||||
"HintOpen": "apri",
|
||||
"HintPick": "scegli",
|
||||
"HintSelect": "seleziona",
|
||||
"HintClose": "chiudi",
|
||||
"KeyEnter": "Invio",
|
||||
"KeySpace": "Spazio",
|
||||
"KeyEscape": "Esc",
|
||||
"AddFilter": "Filtro",
|
||||
"Field": "Campo",
|
||||
"Operator": "Condizione",
|
||||
"Value": "Valore",
|
||||
"ValueTo": "Fino a",
|
||||
"Values": "Valori",
|
||||
"Add": "Aggiungi",
|
||||
"Empty": "Nessun risultato con questa ricerca e questi filtri.",
|
||||
"Saved": "Filtri salvati",
|
||||
"NoSaved": "Nessun filtro salvato: imposta ricerca e filtri, poi dai un nome qui sotto.",
|
||||
"SaveAs": "Salva i filtri attuali come",
|
||||
"SaveAsPlaceholder": "Es. Clienti con scaduto",
|
||||
"Save": "Salva",
|
||||
"DeleteSaved": "Elimina il filtro {0}",
|
||||
"ChipBetween": "{0} da {1} a {2}",
|
||||
"Pick": "Scegli",
|
||||
"CreateNew": "Nuovo",
|
||||
"Op": {
|
||||
"Equals": "uguale a",
|
||||
"NotEquals": "diverso da",
|
||||
"Contains": "contiene",
|
||||
"StartsWith": "inizia con",
|
||||
"GreaterThan": "maggiore di",
|
||||
"GreaterOrEqual": "da",
|
||||
"LessThan": "minore di",
|
||||
"LessOrEqual": "fino a",
|
||||
"Between": "tra",
|
||||
"In": "è uno di",
|
||||
"IsEmpty": "vuoto",
|
||||
"IsNotEmpty": "non vuoto"
|
||||
}
|
||||
},
|
||||
"Lines": {
|
||||
"Actions": "Azioni",
|
||||
"Remove": "Togli la riga (Ctrl+Canc)",
|
||||
"RemoveLine": "Togli la riga {0}",
|
||||
"Cell": "{0}, riga {1}",
|
||||
"Add": "Nuova riga",
|
||||
"AddDescriptive": "Riga descrittiva",
|
||||
"KeyAdd": "Ctrl+↓",
|
||||
"KeyRemove": "Ctrl+Canc",
|
||||
"HintNext": "cella successiva",
|
||||
"HintLookup": "cerca",
|
||||
"HintRemove": "togli la riga"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user