@eifi1/ui-kit 0.8.0 → 0.9.0

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.
Files changed (107) hide show
  1. package/README.md +4 -0
  2. package/dist/components/amount-input.d.ts +2 -0
  3. package/dist/components/calculator.d.ts +2 -0
  4. package/dist/components/chip.d.ts +27 -5
  5. package/dist/components/chip.js +6 -2
  6. package/dist/components/chip.js.map +1 -1
  7. package/dist/components/data-table-filter-popover.d.ts +1 -1
  8. package/dist/components/data-table-filters.d.ts +1 -1
  9. package/dist/components/data-table.d.ts +1 -1
  10. package/dist/components/data-table.js +122 -91
  11. package/dist/components/data-table.js.map +1 -1
  12. package/dist/components/date-picker.d.ts +69 -3
  13. package/dist/components/date-picker.js +152 -65
  14. package/dist/components/date-picker.js.map +1 -1
  15. package/dist/components/disclosure.d.ts +11 -2
  16. package/dist/components/disclosure.js +10 -4
  17. package/dist/components/disclosure.js.map +1 -1
  18. package/dist/components/floating-panel.d.ts +29 -2
  19. package/dist/components/floating-panel.js +16 -2
  20. package/dist/components/floating-panel.js.map +1 -1
  21. package/dist/components/full-bleed-dialog.js +3 -1
  22. package/dist/components/full-bleed-dialog.js.map +1 -1
  23. package/dist/components/number-field.d.ts +2 -0
  24. package/dist/components/number-input.d.ts +2 -0
  25. package/dist/components/numpad-sheet.d.ts +2 -0
  26. package/dist/components/progress-bar.d.ts +16 -2
  27. package/dist/components/progress-bar.js +4 -2
  28. package/dist/components/progress-bar.js.map +1 -1
  29. package/dist/components/treemap.js +4 -1
  30. package/dist/components/treemap.js.map +1 -1
  31. package/dist/components/ui.d.ts +44 -14
  32. package/dist/components/ui.js +28 -22
  33. package/dist/components/ui.js.map +1 -1
  34. package/dist/components/use-table-state.d.ts +1 -1
  35. package/dist/{data-table-filters-CF1PXqjQ.d.ts → data-table-filters-Dh9uF_S-.d.ts} +33 -2
  36. package/dist/data-table.d.ts +1 -1
  37. package/dist/hooks/use-overlay-history.js +84 -4
  38. package/dist/hooks/use-overlay-history.js.map +1 -1
  39. package/dist/i18n/defaults.d.ts +2 -0
  40. package/dist/i18n/defaults.js +2 -0
  41. package/dist/i18n/defaults.js.map +1 -1
  42. package/dist/i18n/kit-labels.d.ts +3 -0
  43. package/dist/i18n/kit-labels.js.map +1 -1
  44. package/dist/i18n/locales/de-CH-informal.d.ts +2 -0
  45. package/dist/i18n/locales/de-CH.d.ts +2 -0
  46. package/dist/i18n/locales/de-informal.d.ts +2 -0
  47. package/dist/i18n/locales/de.d.ts +2 -0
  48. package/dist/i18n/locales/de.js +10 -0
  49. package/dist/i18n/locales/de.js.map +1 -1
  50. package/dist/i18n/locales/es.d.ts +2 -0
  51. package/dist/i18n/locales/es.js +10 -0
  52. package/dist/i18n/locales/es.js.map +1 -1
  53. package/dist/i18n/locales/fr.d.ts +2 -0
  54. package/dist/i18n/locales/fr.js +10 -0
  55. package/dist/i18n/locales/fr.js.map +1 -1
  56. package/dist/i18n/locales/hu.d.ts +2 -0
  57. package/dist/i18n/locales/hu.js +10 -0
  58. package/dist/i18n/locales/hu.js.map +1 -1
  59. package/dist/i18n/locales/it.d.ts +2 -0
  60. package/dist/i18n/locales/it.js +10 -0
  61. package/dist/i18n/locales/it.js.map +1 -1
  62. package/dist/i18n/locales/zh.d.ts +2 -0
  63. package/dist/i18n/locales/zh.js +10 -0
  64. package/dist/i18n/locales/zh.js.map +1 -1
  65. package/dist/index.d.ts +5 -3
  66. package/dist/index.js +2 -0
  67. package/dist/index.js.map +1 -1
  68. package/dist/search/command-palette.d.ts +49 -1
  69. package/dist/search/command-palette.js +132 -29
  70. package/dist/search/command-palette.js.map +1 -1
  71. package/dist/search/global-search.d.ts +141 -0
  72. package/dist/search/global-search.js +277 -0
  73. package/dist/search/global-search.js.map +1 -0
  74. package/dist/search/search-index.d.ts +105 -0
  75. package/dist/search/search-index.js +142 -0
  76. package/dist/search/search-index.js.map +1 -0
  77. package/dist/search.d.ts +2 -0
  78. package/dist/search.js +2 -0
  79. package/dist/search.js.map +1 -1
  80. package/dist/wizard/stepper-nav.d.ts +10 -1
  81. package/dist/wizard/stepper-nav.js +2 -1
  82. package/dist/wizard/stepper-nav.js.map +1 -1
  83. package/package.json +12 -3
  84. package/src/components/chip.tsx +36 -6
  85. package/src/components/data-table.tsx +81 -5
  86. package/src/components/date-picker.tsx +328 -117
  87. package/src/components/disclosure.tsx +24 -8
  88. package/src/components/floating-panel.tsx +46 -2
  89. package/src/components/full-bleed-dialog.tsx +7 -2
  90. package/src/components/progress-bar.tsx +27 -3
  91. package/src/components/treemap.tsx +3 -0
  92. package/src/components/ui.tsx +95 -37
  93. package/src/hooks/use-overlay-history.ts +181 -4
  94. package/src/i18n/defaults.ts +2 -0
  95. package/src/i18n/kit-labels.tsx +2 -0
  96. package/src/i18n/locales/de.ts +10 -0
  97. package/src/i18n/locales/es.ts +10 -0
  98. package/src/i18n/locales/fr.ts +10 -0
  99. package/src/i18n/locales/hu.ts +10 -0
  100. package/src/i18n/locales/it.ts +10 -0
  101. package/src/i18n/locales/zh.ts +10 -0
  102. package/src/index.ts +4 -0
  103. package/src/search/command-palette.tsx +200 -27
  104. package/src/search/global-search.tsx +484 -0
  105. package/src/search/search-index.ts +295 -0
  106. package/src/search.ts +2 -0
  107. package/src/wizard/stepper-nav.tsx +11 -1
@@ -278,12 +278,22 @@ function uiKitLabelsIt(numberLocale = "it-IT") {
278
278
  step: (current, total) => `${n(current)} / ${n(total)}`
279
279
  },
280
280
  commandPalette: {
281
+ clear: "Cancella ricerca",
282
+ submit: "Cerca",
283
+ close: "Chiudi",
281
284
  placeholder: "Cerca\u2026",
282
285
  empty: "Nessun risultato",
283
286
  loading: "Ricerca in corso\u2026",
284
287
  dialog: "Ricerca",
285
288
  error: "Ricerca non riuscita. Riprova."
286
289
  },
290
+ globalSearch: {
291
+ trigger: "Cerca",
292
+ placeholder: "Cerca o vai a\u2026",
293
+ shortcut: (keys) => `Cerca (${keys})`,
294
+ suggestions: "Prova",
295
+ results: "Risultati"
296
+ },
287
297
  sparkline: {
288
298
  rising: (first, last) => `In aumento da ${first} a ${last}`,
289
299
  falling: (first, last) => `In calo da ${first} a ${last}`,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/i18n/locales/it.ts"],"sourcesContent":["import { formatFileSize } from \"../kit-labels\";\nimport type { UiKitLabels } from \"../kit-labels\";\n\n/**\n * The kit's words in Italian: every namespace of {@link UiKitLabels}, for\n * `<UiKitProvider labels={UI_KIT_LABELS_IT}>`.\n *\n * Self-contained on purpose — nothing but the kit's own `formatFileSize` — so it works\n * as a starting point to copy and adjust. Counts and sizes are formatted with\n * `it-IT` digits; {@link uiKitLabelsIt} takes another number locale\n * (e.g. `\"de-CH\"` for 1’234) without touching the words.\n */\nexport function uiKitLabelsIt(numberLocale = \"it-IT\"): UiKitLabels {\n const num = new Intl.NumberFormat(numberLocale);\n const n = (value: number) => num.format(value);\n const plural = (count: number, one: string, many: string) => (count === 1 ? one : many);\n\n return {\n feedbackAttachment: {\n attachmentAdd: \"Allega immagine\",\n attachmentCapture: \"Cattura schermata\",\n attachmentPaste: \"…oppure incolla uno screenshot dagli appunti.\",\n attachmentRemove: \"Rimuovi allegato\",\n },\n measuredGrid: {\n view: \"Vista tabella\",\n cellsView: \"Celle\",\n textView: \"Testo\",\n addRow: \"Aggiungi riga\",\n removeRow: (row) => `Rimuovi riga ${row}`,\n clear: \"Svuota tabella\",\n pasteHint: \"Incolla un blocco da un foglio di calcolo in qualsiasi cella\",\n cell: (column, row) => `${column}, riga ${row}`,\n rowNumber: \"Riga\",\n rowActions: \"Azioni riga\",\n keyboardHint:\n \"I tasti freccia spostano tra le celle. Digita per sostituire una cella, F2 per modificarla, Esc per annullare la modifica. Invio scende e aggiunge una riga alla fine.\",\n lineError: (line) => `Impossibile leggere la riga ${line}`,\n points: (count) => (count === 1 ? \"1 punto\" : `${count} punti`),\n problems: (count) =>\n count === 1 ? \"1 cella non è un numero\" : `${count} celle non sono numeri`,\n },\n pageContents: { title: \"In questa pagina\" },\n common: {\n dismiss: \"Chiudi\",\n close: \"Chiudi\",\n clear: \"Cancella\",\n search: \"Cerca\",\n done: \"Fine\",\n cancel: \"Annulla\",\n save: \"Salva\",\n back: \"Indietro\",\n next: \"Avanti\",\n remove: \"Rimuovi\",\n loading: \"Caricamento…\",\n noResults: \"Nessun risultato\",\n fieldValue: (field, value) => `${field}: ${value}`,\n },\n dataTable: {\n columns: \"Colonne\",\n selectAllRows: \"Seleziona tutte le righe\",\n sortHint: \"Fai clic per ordinare · Maiusc+clic per aggiungere un ordinamento\",\n filter: \"Filtra\",\n close: \"Chiudi\",\n selectRow: \"Seleziona riga\",\n autoSize: \"Adatta larghezza colonne\",\n loading: \"Caricamento…\",\n filters: \"Filtri\",\n clearAll: \"Cancella tutto\",\n done: \"Fine\",\n pageSize: \"Righe per pagina\",\n pageSizeAll: \"Tutte\",\n prevPage: \"Pagina precedente\",\n nextPage: \"Pagina successiva\",\n clearFilter: \"Cancella filtro\",\n filterPlaceholder: \"Filtra…\",\n selectFilter: \"Seleziona\",\n selectAll: \"Tutti\",\n selectNone: \"Nessuno\",\n dateFrom: \"Dal\",\n dateTo: \"Al\",\n numberMin: \"Min\",\n numberMax: \"Max\",\n numberAbs: \"Valore assoluto\",\n presets: {\n today: \"Oggi\",\n yesterday: \"Ieri\",\n this_week: \"Questa settimana\",\n last_week: \"Settimana scorsa\",\n last_7_days: \"Ultimi 7 giorni\",\n last_30_days: \"Ultimi 30 giorni\",\n this_month: \"Questo mese\",\n last_month: \"Mese scorso\",\n last_3_months: \"Ultimi 3 mesi\",\n ytd: \"Da inizio anno\",\n last_year: \"Anno scorso\",\n },\n table: \"Tabella dati\",\n filterResults: (shown, total) =>\n `${n(shown)} di ${n(total)} ${plural(total, \"riga\", \"righe\")}`,\n sortedAscending: (column) => `Ordinato per ${column}, crescente`,\n sortedDescending: (column) => `Ordinato per ${column}, decrescente`,\n sortCleared: (column) => `Ordinamento per ${column} rimosso`,\n pageChanged: (page, totalPages) => `Pagina ${n(page)} di ${n(totalPages)}`,\n pageRange: (from, to, total) => `${n(from)}–${n(to)} / ${n(total)}`,\n rowCount: (total) => n(total),\n columnsCount: (visible, total) => `Colonne (${n(visible)}/${n(total)})`,\n },\n miniCalendar: {\n previousMonth: \"Mese precedente\",\n nextMonth: \"Mese successivo\",\n // Already formatted in the provider's locale (\"lunedì 14 settembre 2026\").\n day: (date) => date,\n chooseStart: \"Scegli una data di inizio\",\n chooseEnd: \"Scegli una data di fine\",\n // \"Data\" is feminine and the formatted day cannot agree with a participle, so the\n // date follows a label instead of being the subject.\n startSelected: (date) => `Data di inizio: ${date}. Scegli una data di fine.`,\n rangeSelected: (from, to) =>\n `Periodo selezionato: da ${from} a ${to}. Scegli una data di inizio per ricominciare.`,\n },\n monthPicker: {\n previousYear: \"Anno precedente\",\n nextYear: \"Anno successivo\",\n panel: \"Scegli un mese\",\n month: (monthYear) => monthYear,\n },\n datePicker: {\n apply: \"Applica\",\n cancel: \"Annulla\",\n presets: \"Intervalli rapidi\",\n panel: \"Scegli una data\",\n rangePanel: \"Scegli un intervallo di date\",\n clear: \"Cancella\",\n previousDay: \"Giorno precedente\",\n nextDay: \"Giorno successivo\",\n today: \"Oggi\",\n },\n popover: {\n panel: \"Finestra a comparsa\",\n },\n combobox: {\n search: \"Cerca\",\n noResults: \"Nessun risultato\",\n clear: \"Cancella\",\n loading: \"Caricamento…\",\n create: (query) => `Crea «${query}»`,\n selectedCount: (count) => `${n(count)} ${plural(count, \"selezionato\", \"selezionati\")}`,\n loadError: \"Impossibile caricare i risultati\",\n resultCount: (count) => `${n(count)} ${plural(count, \"risultato\", \"risultati\")}`,\n minChars: (count) => `Digita almeno ${n(count)} ${plural(count, \"carattere\", \"caratteri\")}`,\n },\n multiSelect: {\n search: \"Cerca\",\n selectAll: \"Seleziona tutto\",\n clear: \"Cancella\",\n all: \"Tutti\",\n // The bare count, as in English: the trigger has always shown just the number.\n selectedCount: (count) => n(count),\n },\n calculator: {\n open: \"Apri calcolatrice\",\n panel: \"Calcolatrice\",\n calculation: \"Calcolo\",\n backspace: \"Cancella ultimo carattere\",\n clear: \"Azzera\",\n equals: \"Uguale\",\n done: \"Fine\",\n plus: \"Più\",\n minus: \"Meno\",\n times: \"Per\",\n divide: \"Diviso\",\n decimal: \"Separatore decimale\",\n },\n currency: {\n currency: \"Valuta\",\n search: \"Cerca valuta\",\n },\n chipInput: {\n // The quoted value is a citation; the participle agrees with the implied\n // \"elemento\" whatever the chip says.\n added: (value) => `«${value}» aggiunto`,\n removed: (value) => `«${value}» rimosso`,\n remove: \"Rimuovi\",\n atLimit: (max) => `Limite di ${n(max)} ${plural(max, \"elemento\", \"elementi\")} raggiunto`,\n duplicate: (value) => `«${value}» è già nell’elenco`,\n },\n swatchPicker: {\n none: \"Nessun colore\",\n mixed: \"Misto: gli elementi selezionati hanno colori diversi\",\n },\n iconPicker: {\n none: \"Nessuna icona\",\n mixed: \"Misto: gli elementi selezionati hanno icone diverse\",\n search: \"Cerca icone\",\n noResults: \"Nessuna icona corrispondente\",\n resultCount: (count) => `${n(count)} ${plural(count, \"icona\", \"icone\")}`,\n },\n fieldSync: {\n synced: \"Salvato\",\n edited: \"Modifiche non salvate\",\n pending: \"Salvataggio…\",\n error: \"Impossibile salvare\",\n retry: \"Riprova\",\n },\n passwordReveal: {\n show: \"Mostra password\",\n hide: \"Nascondi password\",\n },\n dangerConfirm: {\n arm: \"Elimina…\",\n confirm: \"Elimina\",\n cancel: \"Annulla\",\n prompt: \"Questa operazione non può essere annullata.\",\n password: \"Password\",\n phrase: (phrase) => `Digita «${phrase}» per confermare`,\n },\n tabs: {\n add: \"Aggiungi scheda\",\n remove: (tab) => `Rimuovi ${tab}`,\n },\n appShell: {\n collapse: \"Comprimi barra laterale\",\n expand: \"Espandi barra laterale\",\n toggleGroup: (groupLabel) => `${groupLabel}: pagine`,\n },\n topBar: {\n theme: \"Cambia tema\",\n palette: \"Preset di aspetto\",\n language: \"Lingua\",\n switchRole: \"Cambia ruolo\",\n role: (value) => `Ruolo: ${value}`,\n },\n pickerSheet: {\n close: \"Chiudi\",\n },\n dialogFrame: {\n close: \"Chiudi\",\n },\n swipeableRow: {\n actions: \"Azioni della riga\",\n },\n file: {\n // The kit's own `Intl` unit formatting, pinned to this locale (\"3,4 MB\").\n size: (bytes) => formatFileSize(bytes, numberLocale),\n },\n filePicker: {\n dropzone: \"Caricamento file\",\n browse: \"Sfoglia\",\n empty: \"Trascina qui un file\",\n emptyMultiple: \"Trascina qui i file\",\n hint: (accept) => (accept ? `Accettati: ${accept}` : \"Qualsiasi tipo di file\"),\n busy: \"Caricamento…\",\n rejectedPick: (count) =>\n count === 1 ? \"Il file non è stato aggiunto\" : `Nessuno dei ${count} file è stato aggiunto`,\n // \"file\" is invariable in Italian (\"1 file\", \"3 file\"); only the verb agrees.\n rejectedType: (name) => `Il tipo di file di «${name}» non è supportato`,\n rejectedTypeOnly: (accept) => `Solo file ${accept}`,\n rejectedSize: (name, maxSize) => `«${name}» supera ${maxSize}`,\n rejectedCount: (name, maxFiles) =>\n `«${name}» non è stato aggiunto: al massimo ${n(maxFiles)} file`,\n rejectedInvalid: (name) => `«${name}» non può essere usato qui`,\n rejectedMany: (count) =>\n count === 1 ? \"1 file non è stato aggiunto\" : `${n(count)} file non sono stati aggiunti`,\n selected: (count, firstName) =>\n count === 1 ? `«${firstName}» selezionato` : `${n(count)} file selezionati`,\n remove: (name) => `Rimuovi «${name}»`,\n clearAll: \"Rimuovi tutti i file\",\n removed: (name) => `«${name}» rimosso`,\n cleared: \"Tutti i file rimossi\",\n },\n wizard: {\n done: \"Fine\",\n cancel: \"Annulla\",\n back: \"Indietro\",\n next: \"Avanti\",\n skip: \"Salta\",\n finish: \"Fine\",\n submitting: \"Creazione in corso…\",\n steps: \"Passaggi\",\n step: (current, total) => `Passaggio ${n(current)} di ${n(total)}`,\n cancelTitle: \"Scartare questo modulo?\",\n confirmCancel: \"I dati inseriti andranno persi.\",\n cancelConfirmLabel: \"Scarta\",\n cancelDismissLabel: \"Continua a modificare\",\n reviewTitle: \"Riepilogo\",\n edit: \"Modifica\",\n missingRequired: \"Compila tutti i campi obbligatori.\",\n genericError: \"Si è verificato un errore\",\n },\n tour: {\n next: \"Avanti\",\n back: \"Indietro\",\n skip: \"Salta\",\n done: \"Fine\",\n awaitClickHint: \"Fai clic sull’elemento evidenziato per continuare\",\n step: (current, total) => `${n(current)} / ${n(total)}`,\n },\n commandPalette: {\n placeholder: \"Cerca…\",\n empty: \"Nessun risultato\",\n loading: \"Ricerca in corso…\",\n dialog: \"Ricerca\",\n error: \"Ricerca non riuscita. Riprova.\",\n },\n sparkline: {\n rising: (first, last) => `In aumento da ${first} a ${last}`,\n falling: (first, last) => `In calo da ${first} a ${last}`,\n flat: (value) => `Stabile a ${value}`,\n single: (value) => `Un solo valore: ${value}`,\n noData: \"Nessun dato\",\n named: (name, summary) => `${name}: ${summary}`,\n },\n statTile: {\n increase: (amount) => `In aumento di ${amount}`,\n decrease: (amount) => `In calo di ${amount}`,\n unchanged: \"Nessuna variazione\",\n better: (change) => `${change} (favorevole)`,\n worse: (change) => `${change} (sfavorevole)`,\n noValue: \"Nessun dato\",\n loading: \"Caricamento…\",\n },\n signaturePad: {\n label: \"Firma\",\n instructions: \"Firma nel riquadro con il mouse, il dito o una penna.\",\n typedFallbackHint: \"Se non puoi disegnare, scrivi invece il tuo nome.\",\n empty: \"Ancora nessun tratto\",\n signed: \"Firma tracciata\",\n undo: \"Annulla l’ultimo tratto\",\n clear: \"Cancella\",\n save: \"Salva firma\",\n useTyped: \"Scrivi il nome\",\n useDrawn: \"Disegna la firma\",\n typedName: \"Nome e cognome\",\n cleared: \"Firma cancellata\",\n undone: \"Ultimo tratto rimosso\",\n viewEmpty: \"Non firmato\",\n viewDrawn: \"Firma autografa\",\n viewTyped: (name) => `Firmato con il nome digitato ${name}`,\n },\n passwordStrength: {\n // Agrees with \"password\" (feminine in Italian).\n tooShort: \"Troppo corta\",\n weak: \"Debole\",\n fair: \"Discreta\",\n good: \"Buona\",\n strong: \"Forte\",\n announcement: (level) => `Sicurezza della password: ${level}`,\n // Unformatted, as in the English default.\n ruleLength: (minLength) =>\n `Almeno ${minLength} ${plural(minLength, \"carattere\", \"caratteri\")}`,\n ruleCase: \"Maiuscole e minuscole\",\n ruleDigit: \"Un numero\",\n ruleSymbol: \"Un simbolo\",\n optional: (rule) => `${rule} (facoltativo)`,\n met: \"Soddisfatto:\",\n notMet: \"Non soddisfatto:\",\n tooLong: (maxBytes) =>\n `Al massimo ${maxBytes} ${plural(maxBytes, \"carattere\", \"caratteri\")} (le lettere accentate e le emoji contano più di uno).`,\n },\n seriesChart: {\n resetZoom: \"Reimposta zoom\",\n zoomHint:\n \"Trascina per ingrandire: una selezione più o meno quadrata ingrandisce entrambi gli assi, una lunga e sottile solo il proprio. Fai doppio clic per ripristinare.\",\n empty: \"Nessun dato\",\n legend: \"Serie\",\n },\n confirmDialog: {\n confirm: \"Conferma\",\n cancel: \"Annulla\",\n },\n floatingPanel: {\n close: \"Chiudi\",\n },\n copyButton: {\n copy: \"Copia\",\n copied: \"Copiato\",\n failed: \"Copia non riuscita\",\n copiedAnnouncement: \"Copiato negli appunti\",\n failedAnnouncement: \"Impossibile copiare negli appunti\",\n },\n };\n}\n\nexport const UI_KIT_LABELS_IT: UiKitLabels = uiKitLabelsIt();\n"],"mappings":";AAAA,SAAS,sBAAsB;AAYxB,SAAS,cAAc,eAAe,SAAsB;AACjE,QAAM,MAAM,IAAI,KAAK,aAAa,YAAY;AAC9C,QAAM,IAAI,CAAC,UAAkB,IAAI,OAAO,KAAK;AAC7C,QAAM,SAAS,CAAC,OAAe,KAAa,SAAkB,UAAU,IAAI,MAAM;AAElF,SAAO;AAAA,IACL,oBAAoB;AAAA,MAClB,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,iBAAiB;AAAA,MACjB,kBAAkB;AAAA,IACpB;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,WAAW;AAAA,MACX,U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MAAM;AAAA,MACN,QAAQ;AAAA,MACR,cAAc,CAAC,UAAU,6BAA6B,KAAK;AAAA;AAAA,MAE3D,YAAY,CAAC,cACX,UAAU,SAAS,IAAI,OAAO,WAAW,aAAa,WAAW,CAAC;AAAA,MACpE,UAAU;AAAA,MACV,WAAW;AAAA,MACX,YAAY;AAAA,MACZ,UAAU,CAAC,SAAS,GAAG,IAAI;AAAA,MAC3B,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,SAAS,CAAC,aACR,cAAc,QAAQ,IAAI,OAAO,UAAU,aAAa,WAAW,CAAC;AAAA,IACxE;AAAA,IACA,aAAa;AAAA,MACX,WAAW;AAAA,MACX,UACE;AAAA,MACF,OAAO;AAAA,MACP,QAAQ;AAAA,IACV;AAAA,IACA,eAAe;AAAA,MACb,SAAS;AAAA,MACT,QAAQ;AAAA,IACV;AAAA,IACA,eAAe;AAAA,MACb,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,oBAAoB;AAAA,MACpB,oBAAoB;AAAA,IACtB;AAAA,EACF;AACF;AAEO,MAAM,mBAAgC,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../src/i18n/locales/it.ts"],"sourcesContent":["import { formatFileSize } from \"../kit-labels\";\nimport type { UiKitLabels } from \"../kit-labels\";\n\n/**\n * The kit's words in Italian: every namespace of {@link UiKitLabels}, for\n * `<UiKitProvider labels={UI_KIT_LABELS_IT}>`.\n *\n * Self-contained on purpose — nothing but the kit's own `formatFileSize` — so it works\n * as a starting point to copy and adjust. Counts and sizes are formatted with\n * `it-IT` digits; {@link uiKitLabelsIt} takes another number locale\n * (e.g. `\"de-CH\"` for 1’234) without touching the words.\n */\nexport function uiKitLabelsIt(numberLocale = \"it-IT\"): UiKitLabels {\n const num = new Intl.NumberFormat(numberLocale);\n const n = (value: number) => num.format(value);\n const plural = (count: number, one: string, many: string) => (count === 1 ? one : many);\n\n return {\n feedbackAttachment: {\n attachmentAdd: \"Allega immagine\",\n attachmentCapture: \"Cattura schermata\",\n attachmentPaste: \"…oppure incolla uno screenshot dagli appunti.\",\n attachmentRemove: \"Rimuovi allegato\",\n },\n measuredGrid: {\n view: \"Vista tabella\",\n cellsView: \"Celle\",\n textView: \"Testo\",\n addRow: \"Aggiungi riga\",\n removeRow: (row) => `Rimuovi riga ${row}`,\n clear: \"Svuota tabella\",\n pasteHint: \"Incolla un blocco da un foglio di calcolo in qualsiasi cella\",\n cell: (column, row) => `${column}, riga ${row}`,\n rowNumber: \"Riga\",\n rowActions: \"Azioni riga\",\n keyboardHint:\n \"I tasti freccia spostano tra le celle. Digita per sostituire una cella, F2 per modificarla, Esc per annullare la modifica. Invio scende e aggiunge una riga alla fine.\",\n lineError: (line) => `Impossibile leggere la riga ${line}`,\n points: (count) => (count === 1 ? \"1 punto\" : `${count} punti`),\n problems: (count) =>\n count === 1 ? \"1 cella non è un numero\" : `${count} celle non sono numeri`,\n },\n pageContents: { title: \"In questa pagina\" },\n common: {\n dismiss: \"Chiudi\",\n close: \"Chiudi\",\n clear: \"Cancella\",\n search: \"Cerca\",\n done: \"Fine\",\n cancel: \"Annulla\",\n save: \"Salva\",\n back: \"Indietro\",\n next: \"Avanti\",\n remove: \"Rimuovi\",\n loading: \"Caricamento…\",\n noResults: \"Nessun risultato\",\n fieldValue: (field, value) => `${field}: ${value}`,\n },\n dataTable: {\n columns: \"Colonne\",\n selectAllRows: \"Seleziona tutte le righe\",\n sortHint: \"Fai clic per ordinare · Maiusc+clic per aggiungere un ordinamento\",\n filter: \"Filtra\",\n close: \"Chiudi\",\n selectRow: \"Seleziona riga\",\n autoSize: \"Adatta larghezza colonne\",\n loading: \"Caricamento…\",\n filters: \"Filtri\",\n clearAll: \"Cancella tutto\",\n done: \"Fine\",\n pageSize: \"Righe per pagina\",\n pageSizeAll: \"Tutte\",\n prevPage: \"Pagina precedente\",\n nextPage: \"Pagina successiva\",\n clearFilter: \"Cancella filtro\",\n filterPlaceholder: \"Filtra…\",\n selectFilter: \"Seleziona\",\n selectAll: \"Tutti\",\n selectNone: \"Nessuno\",\n dateFrom: \"Dal\",\n dateTo: \"Al\",\n numberMin: \"Min\",\n numberMax: \"Max\",\n numberAbs: \"Valore assoluto\",\n presets: {\n today: \"Oggi\",\n yesterday: \"Ieri\",\n this_week: \"Questa settimana\",\n last_week: \"Settimana scorsa\",\n last_7_days: \"Ultimi 7 giorni\",\n last_30_days: \"Ultimi 30 giorni\",\n this_month: \"Questo mese\",\n last_month: \"Mese scorso\",\n last_3_months: \"Ultimi 3 mesi\",\n ytd: \"Da inizio anno\",\n last_year: \"Anno scorso\",\n },\n table: \"Tabella dati\",\n filterResults: (shown, total) =>\n `${n(shown)} di ${n(total)} ${plural(total, \"riga\", \"righe\")}`,\n sortedAscending: (column) => `Ordinato per ${column}, crescente`,\n sortedDescending: (column) => `Ordinato per ${column}, decrescente`,\n sortCleared: (column) => `Ordinamento per ${column} rimosso`,\n pageChanged: (page, totalPages) => `Pagina ${n(page)} di ${n(totalPages)}`,\n pageRange: (from, to, total) => `${n(from)}–${n(to)} / ${n(total)}`,\n rowCount: (total) => n(total),\n columnsCount: (visible, total) => `Colonne (${n(visible)}/${n(total)})`,\n },\n miniCalendar: {\n previousMonth: \"Mese precedente\",\n nextMonth: \"Mese successivo\",\n // Already formatted in the provider's locale (\"lunedì 14 settembre 2026\").\n day: (date) => date,\n chooseStart: \"Scegli una data di inizio\",\n chooseEnd: \"Scegli una data di fine\",\n // \"Data\" is feminine and the formatted day cannot agree with a participle, so the\n // date follows a label instead of being the subject.\n startSelected: (date) => `Data di inizio: ${date}. Scegli una data di fine.`,\n rangeSelected: (from, to) =>\n `Periodo selezionato: da ${from} a ${to}. Scegli una data di inizio per ricominciare.`,\n },\n monthPicker: {\n previousYear: \"Anno precedente\",\n nextYear: \"Anno successivo\",\n panel: \"Scegli un mese\",\n month: (monthYear) => monthYear,\n },\n datePicker: {\n apply: \"Applica\",\n cancel: \"Annulla\",\n presets: \"Intervalli rapidi\",\n panel: \"Scegli una data\",\n rangePanel: \"Scegli un intervallo di date\",\n clear: \"Cancella\",\n previousDay: \"Giorno precedente\",\n nextDay: \"Giorno successivo\",\n today: \"Oggi\",\n },\n popover: {\n panel: \"Finestra a comparsa\",\n },\n combobox: {\n search: \"Cerca\",\n noResults: \"Nessun risultato\",\n clear: \"Cancella\",\n loading: \"Caricamento…\",\n create: (query) => `Crea «${query}»`,\n selectedCount: (count) => `${n(count)} ${plural(count, \"selezionato\", \"selezionati\")}`,\n loadError: \"Impossibile caricare i risultati\",\n resultCount: (count) => `${n(count)} ${plural(count, \"risultato\", \"risultati\")}`,\n minChars: (count) => `Digita almeno ${n(count)} ${plural(count, \"carattere\", \"caratteri\")}`,\n },\n multiSelect: {\n search: \"Cerca\",\n selectAll: \"Seleziona tutto\",\n clear: \"Cancella\",\n all: \"Tutti\",\n // The bare count, as in English: the trigger has always shown just the number.\n selectedCount: (count) => n(count),\n },\n calculator: {\n open: \"Apri calcolatrice\",\n panel: \"Calcolatrice\",\n calculation: \"Calcolo\",\n backspace: \"Cancella ultimo carattere\",\n clear: \"Azzera\",\n equals: \"Uguale\",\n done: \"Fine\",\n plus: \"Più\",\n minus: \"Meno\",\n times: \"Per\",\n divide: \"Diviso\",\n decimal: \"Separatore decimale\",\n },\n currency: {\n currency: \"Valuta\",\n search: \"Cerca valuta\",\n },\n chipInput: {\n // The quoted value is a citation; the participle agrees with the implied\n // \"elemento\" whatever the chip says.\n added: (value) => `«${value}» aggiunto`,\n removed: (value) => `«${value}» rimosso`,\n remove: \"Rimuovi\",\n atLimit: (max) => `Limite di ${n(max)} ${plural(max, \"elemento\", \"elementi\")} raggiunto`,\n duplicate: (value) => `«${value}» è già nell’elenco`,\n },\n swatchPicker: {\n none: \"Nessun colore\",\n mixed: \"Misto: gli elementi selezionati hanno colori diversi\",\n },\n iconPicker: {\n none: \"Nessuna icona\",\n mixed: \"Misto: gli elementi selezionati hanno icone diverse\",\n search: \"Cerca icone\",\n noResults: \"Nessuna icona corrispondente\",\n resultCount: (count) => `${n(count)} ${plural(count, \"icona\", \"icone\")}`,\n },\n fieldSync: {\n synced: \"Salvato\",\n edited: \"Modifiche non salvate\",\n pending: \"Salvataggio…\",\n error: \"Impossibile salvare\",\n retry: \"Riprova\",\n },\n passwordReveal: {\n show: \"Mostra password\",\n hide: \"Nascondi password\",\n },\n dangerConfirm: {\n arm: \"Elimina…\",\n confirm: \"Elimina\",\n cancel: \"Annulla\",\n prompt: \"Questa operazione non può essere annullata.\",\n password: \"Password\",\n phrase: (phrase) => `Digita «${phrase}» per confermare`,\n },\n tabs: {\n add: \"Aggiungi scheda\",\n remove: (tab) => `Rimuovi ${tab}`,\n },\n appShell: {\n collapse: \"Comprimi barra laterale\",\n expand: \"Espandi barra laterale\",\n toggleGroup: (groupLabel) => `${groupLabel}: pagine`,\n },\n topBar: {\n theme: \"Cambia tema\",\n palette: \"Preset di aspetto\",\n language: \"Lingua\",\n switchRole: \"Cambia ruolo\",\n role: (value) => `Ruolo: ${value}`,\n },\n pickerSheet: {\n close: \"Chiudi\",\n },\n dialogFrame: {\n close: \"Chiudi\",\n },\n swipeableRow: {\n actions: \"Azioni della riga\",\n },\n file: {\n // The kit's own `Intl` unit formatting, pinned to this locale (\"3,4 MB\").\n size: (bytes) => formatFileSize(bytes, numberLocale),\n },\n filePicker: {\n dropzone: \"Caricamento file\",\n browse: \"Sfoglia\",\n empty: \"Trascina qui un file\",\n emptyMultiple: \"Trascina qui i file\",\n hint: (accept) => (accept ? `Accettati: ${accept}` : \"Qualsiasi tipo di file\"),\n busy: \"Caricamento…\",\n rejectedPick: (count) =>\n count === 1 ? \"Il file non è stato aggiunto\" : `Nessuno dei ${count} file è stato aggiunto`,\n // \"file\" is invariable in Italian (\"1 file\", \"3 file\"); only the verb agrees.\n rejectedType: (name) => `Il tipo di file di «${name}» non è supportato`,\n rejectedTypeOnly: (accept) => `Solo file ${accept}`,\n rejectedSize: (name, maxSize) => `«${name}» supera ${maxSize}`,\n rejectedCount: (name, maxFiles) =>\n `«${name}» non è stato aggiunto: al massimo ${n(maxFiles)} file`,\n rejectedInvalid: (name) => `«${name}» non può essere usato qui`,\n rejectedMany: (count) =>\n count === 1 ? \"1 file non è stato aggiunto\" : `${n(count)} file non sono stati aggiunti`,\n selected: (count, firstName) =>\n count === 1 ? `«${firstName}» selezionato` : `${n(count)} file selezionati`,\n remove: (name) => `Rimuovi «${name}»`,\n clearAll: \"Rimuovi tutti i file\",\n removed: (name) => `«${name}» rimosso`,\n cleared: \"Tutti i file rimossi\",\n },\n wizard: {\n done: \"Fine\",\n cancel: \"Annulla\",\n back: \"Indietro\",\n next: \"Avanti\",\n skip: \"Salta\",\n finish: \"Fine\",\n submitting: \"Creazione in corso…\",\n steps: \"Passaggi\",\n step: (current, total) => `Passaggio ${n(current)} di ${n(total)}`,\n cancelTitle: \"Scartare questo modulo?\",\n confirmCancel: \"I dati inseriti andranno persi.\",\n cancelConfirmLabel: \"Scarta\",\n cancelDismissLabel: \"Continua a modificare\",\n reviewTitle: \"Riepilogo\",\n edit: \"Modifica\",\n missingRequired: \"Compila tutti i campi obbligatori.\",\n genericError: \"Si è verificato un errore\",\n },\n tour: {\n next: \"Avanti\",\n back: \"Indietro\",\n skip: \"Salta\",\n done: \"Fine\",\n awaitClickHint: \"Fai clic sull’elemento evidenziato per continuare\",\n step: (current, total) => `${n(current)} / ${n(total)}`,\n },\n commandPalette: {\n clear: \"Cancella ricerca\",\n submit: \"Cerca\",\n close: \"Chiudi\",\n placeholder: \"Cerca…\",\n empty: \"Nessun risultato\",\n loading: \"Ricerca in corso…\",\n dialog: \"Ricerca\",\n error: \"Ricerca non riuscita. Riprova.\",\n },\n globalSearch: {\n trigger: \"Cerca\",\n placeholder: \"Cerca o vai a…\",\n shortcut: (keys) => `Cerca (${keys})`,\n suggestions: \"Prova\",\n results: \"Risultati\",\n },\n sparkline: {\n rising: (first, last) => `In aumento da ${first} a ${last}`,\n falling: (first, last) => `In calo da ${first} a ${last}`,\n flat: (value) => `Stabile a ${value}`,\n single: (value) => `Un solo valore: ${value}`,\n noData: \"Nessun dato\",\n named: (name, summary) => `${name}: ${summary}`,\n },\n statTile: {\n increase: (amount) => `In aumento di ${amount}`,\n decrease: (amount) => `In calo di ${amount}`,\n unchanged: \"Nessuna variazione\",\n better: (change) => `${change} (favorevole)`,\n worse: (change) => `${change} (sfavorevole)`,\n noValue: \"Nessun dato\",\n loading: \"Caricamento…\",\n },\n signaturePad: {\n label: \"Firma\",\n instructions: \"Firma nel riquadro con il mouse, il dito o una penna.\",\n typedFallbackHint: \"Se non puoi disegnare, scrivi invece il tuo nome.\",\n empty: \"Ancora nessun tratto\",\n signed: \"Firma tracciata\",\n undo: \"Annulla l’ultimo tratto\",\n clear: \"Cancella\",\n save: \"Salva firma\",\n useTyped: \"Scrivi il nome\",\n useDrawn: \"Disegna la firma\",\n typedName: \"Nome e cognome\",\n cleared: \"Firma cancellata\",\n undone: \"Ultimo tratto rimosso\",\n viewEmpty: \"Non firmato\",\n viewDrawn: \"Firma autografa\",\n viewTyped: (name) => `Firmato con il nome digitato ${name}`,\n },\n passwordStrength: {\n // Agrees with \"password\" (feminine in Italian).\n tooShort: \"Troppo corta\",\n weak: \"Debole\",\n fair: \"Discreta\",\n good: \"Buona\",\n strong: \"Forte\",\n announcement: (level) => `Sicurezza della password: ${level}`,\n // Unformatted, as in the English default.\n ruleLength: (minLength) =>\n `Almeno ${minLength} ${plural(minLength, \"carattere\", \"caratteri\")}`,\n ruleCase: \"Maiuscole e minuscole\",\n ruleDigit: \"Un numero\",\n ruleSymbol: \"Un simbolo\",\n optional: (rule) => `${rule} (facoltativo)`,\n met: \"Soddisfatto:\",\n notMet: \"Non soddisfatto:\",\n tooLong: (maxBytes) =>\n `Al massimo ${maxBytes} ${plural(maxBytes, \"carattere\", \"caratteri\")} (le lettere accentate e le emoji contano più di uno).`,\n },\n seriesChart: {\n resetZoom: \"Reimposta zoom\",\n zoomHint:\n \"Trascina per ingrandire: una selezione più o meno quadrata ingrandisce entrambi gli assi, una lunga e sottile solo il proprio. Fai doppio clic per ripristinare.\",\n empty: \"Nessun dato\",\n legend: \"Serie\",\n },\n confirmDialog: {\n confirm: \"Conferma\",\n cancel: \"Annulla\",\n },\n floatingPanel: {\n close: \"Chiudi\",\n },\n copyButton: {\n copy: \"Copia\",\n copied: \"Copiato\",\n failed: \"Copia non riuscita\",\n copiedAnnouncement: \"Copiato negli appunti\",\n failedAnnouncement: \"Impossibile copiare negli appunti\",\n },\n };\n}\n\nexport const UI_KIT_LABELS_IT: UiKitLabels = uiKitLabelsIt();\n"],"mappings":";AAAA,SAAS,sBAAsB;AAYxB,SAAS,cAAc,eAAe,SAAsB;AACjE,QAAM,MAAM,IAAI,KAAK,aAAa,YAAY;AAC9C,QAAM,IAAI,CAAC,UAAkB,IAAI,OAAO,KAAK;AAC7C,QAAM,SAAS,CAAC,OAAe,KAAa,SAAkB,UAAU,IAAI,MAAM;AAElF,SAAO;AAAA,IACL,oBAAoB;AAAA,MAClB,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,iBAAiB;AAAA,MACjB,kBAAkB;AAAA,IACpB;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,WAAW;AAAA,MACX,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,WAAW,CAAC,QAAQ,gBAAgB,GAAG;AAAA,MACvC,OAAO;AAAA,MACP,WAAW;AAAA,MACX,MAAM,CAAC,QAAQ,QAAQ,GAAG,MAAM,UAAU,GAAG;AAAA,MAC7C,WAAW;AAAA,MACX,YAAY;AAAA,MACZ,cACE;AAAA,MACF,WAAW,CAAC,SAAS,+BAA+B,IAAI;AAAA,MACxD,QAAQ,CAAC,UAAW,UAAU,IAAI,YAAY,GAAG,KAAK;AAAA,MACtD,UAAU,CAAC,UACT,UAAU,IAAI,+BAA4B,GAAG,KAAK;AAAA,IACtD;AAAA,IACA,cAAc,EAAE,OAAO,mBAAmB;A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I;AAAA,MAC3B,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,SAAS,CAAC,aACR,cAAc,QAAQ,IAAI,OAAO,UAAU,aAAa,WAAW,CAAC;AAAA,IACxE;AAAA,IACA,aAAa;AAAA,MACX,WAAW;AAAA,MACX,UACE;AAAA,MACF,OAAO;AAAA,MACP,QAAQ;AAAA,IACV;AAAA,IACA,eAAe;AAAA,MACb,SAAS;AAAA,MACT,QAAQ;AAAA,IACV;AAAA,IACA,eAAe;AAAA,MACb,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,oBAAoB;AAAA,MACpB,oBAAoB;AAAA,IACtB;AAAA,EACF;AACF;AAEO,MAAM,mBAAgC,cAAc;","names":[]}
@@ -12,6 +12,8 @@ import '../../hooks/use-anchored-rect.js';
12
12
  import '../../wizard/types.js';
13
13
  import '../../tour/tour.js';
14
14
  import '../../search/command-palette.js';
15
+ import '../../search/global-search.js';
16
+ import '../../search/search-index.js';
15
17
  import '../../components/month-picker.js';
16
18
  import '../../components/page-contents.js';
17
19
  import '../../components/series-chart-labels.js';
@@ -274,12 +274,22 @@ function uiKitLabelsZh(numberLocale = "zh-CN") {
274
274
  step: (current, total) => `${n(current)} / ${n(total)}`
275
275
  },
276
276
  commandPalette: {
277
+ clear: "\u6E05\u9664\u641C\u7D22",
278
+ submit: "\u641C\u7D22",
279
+ close: "\u5173\u95ED",
277
280
  placeholder: "\u641C\u7D22\u2026",
278
281
  empty: "\u65E0\u7ED3\u679C",
279
282
  loading: "\u641C\u7D22\u4E2D\u2026",
280
283
  dialog: "\u641C\u7D22",
281
284
  error: "\u641C\u7D22\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u3002"
282
285
  },
286
+ globalSearch: {
287
+ trigger: "\u641C\u7D22",
288
+ placeholder: "\u641C\u7D22\u6216\u8DF3\u8F6C\u5230\u2026",
289
+ shortcut: (keys) => `\u641C\u7D22\uFF08${keys}\uFF09`,
290
+ suggestions: "\u8BD5\u8BD5",
291
+ results: "\u7ED3\u679C"
292
+ },
283
293
  sparkline: {
284
294
  rising: (first, last) => `\u4ECE ${first} \u4E0A\u5347\u5230 ${last}`,
285
295
  falling: (first, last) => `\u4ECE ${first} \u4E0B\u964D\u5230 ${last}`,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/i18n/locales/zh.ts"],"sourcesContent":["import { formatFileSize } from \"../kit-labels\";\nimport type { UiKitLabels } from \"../kit-labels\";\n\n/**\n * The kit's words in Chinese (Simplified): every namespace of {@link UiKitLabels}, for\n * `<UiKitProvider labels={UI_KIT_LABELS_ZH}>`.\n *\n * Self-contained on purpose — nothing but the kit's own `formatFileSize` — so it works\n * as a starting point to copy and adjust. Counts and sizes are formatted with\n * `zh-CN` digits; {@link uiKitLabelsZh} takes another number locale\n * (e.g. `\"de-CH\"` for 1’234) without touching the words.\n */\nexport function uiKitLabelsZh(numberLocale = \"zh-CN\"): UiKitLabels {\n const num = new Intl.NumberFormat(numberLocale);\n const n = (value: number) => num.format(value);\n\n return {\n feedbackAttachment: {\n attachmentAdd: \"附加图片\",\n attachmentCapture: \"截取屏幕\",\n attachmentPaste: \"……或从剪贴板粘贴截图。\",\n attachmentRemove: \"移除附件\",\n },\n measuredGrid: {\n view: \"表格视图\",\n cellsView: \"单元格\",\n textView: \"文本\",\n addRow: \"添加行\",\n removeRow: (row) => `删除第 ${row} 行`,\n clear: \"清空表格\",\n pasteHint: \"可将电子表格中的一块数据粘贴到任意单元格\",\n cell: (column, row) => `${column},第 ${row} 行`,\n rowNumber: \"行\",\n rowActions: \"行操作\",\n keyboardHint:\n \"方向键在单元格之间移动。直接输入替换单元格内容,F2 编辑,Esc 撤销编辑。回车向下移动,并在末尾添加一行。\",\n lineError: (line) => `无法读取第 ${line} 行`,\n points: (count) => `${count} 个点`,\n problems: (count) => `${count} 个单元格不是数字`,\n },\n pageContents: { title: \"本页目录\" },\n common: {\n dismiss: \"关闭\",\n close: \"关闭\",\n clear: \"清除\",\n search: \"搜索\",\n done: \"完成\",\n cancel: \"取消\",\n save: \"保存\",\n back: \"上一步\",\n next: \"下一步\",\n remove: \"移除\",\n loading: \"加载中…\",\n noResults: \"无结果\",\n // Full-width colon, no space after it.\n fieldValue: (field, value) => `${field}:${value}`,\n },\n dataTable: {\n columns: \"列\",\n selectAllRows: \"全选所有行\",\n sortHint: \"点击排序 · 按住 Shift 点击可添加排序\",\n filter: \"筛选\",\n close: \"关闭\",\n selectRow: \"选择行\",\n autoSize: \"自动调整列宽\",\n loading: \"加载中…\",\n filters: \"筛选条件\",\n clearAll: \"全部清除\",\n done: \"完成\",\n pageSize: \"每页行数\",\n pageSizeAll: \"全部\",\n prevPage: \"上一页\",\n nextPage: \"下一页\",\n clearFilter: \"清除筛选\",\n filterPlaceholder: \"筛选…\",\n selectFilter: \"选择\",\n selectAll: \"全部\",\n selectNone: \"无\",\n dateFrom: \"从\",\n dateTo: \"至\",\n numberMin: \"最小值\",\n numberMax: \"最大值\",\n numberAbs: \"绝对值\",\n presets: {\n today: \"今天\",\n yesterday: \"昨天\",\n this_week: \"本周\",\n last_week: \"上周\",\n last_7_days: \"最近 7 天\",\n last_30_days: \"最近 30 天\",\n this_month: \"本月\",\n last_month: \"上月\",\n last_3_months: \"最近 3 个月\",\n ytd: \"今年至今\",\n last_year: \"去年\",\n },\n table: \"数据表格\",\n filterResults: (shown, total) => `显示 ${n(shown)} 行,共 ${n(total)} 行`,\n sortedAscending: (column) => `已按“${column}”升序排序`,\n sortedDescending: (column) => `已按“${column}”降序排序`,\n sortCleared: (column) => `已取消“${column}”的排序`,\n pageChanged: (page, totalPages) => `第 ${n(page)} 页,共 ${n(totalPages)} 页`,\n pageRange: (from, to, total) => `${n(from)}–${n(to)} / ${n(total)}`,\n rowCount: (total) => n(total),\n columnsCount: (visible, total) => `列(${n(visible)}/${n(total)})`,\n },\n miniCalendar: {\n previousMonth: \"上个月\",\n nextMonth: \"下个月\",\n // Already formatted in the provider's locale (\"2026年9月14日星期一\").\n day: (date) => date,\n chooseStart: \"请选择开始日期\",\n chooseEnd: \"请选择结束日期\",\n startSelected: (date) => `已选择 ${date} 为开始日期。请选择结束日期。`,\n rangeSelected: (from, to) => `已选择 ${from} 至 ${to}。如需重新选择,请先选择开始日期。`,\n },\n monthPicker: {\n previousYear: \"上一年\",\n nextYear: \"下一年\",\n panel: \"选择月份\",\n month: (monthYear) => monthYear,\n },\n datePicker: {\n apply: \"应用\",\n cancel: \"取消\",\n presets: \"快捷范围\",\n panel: \"选择日期\",\n rangePanel: \"选择日期范围\",\n clear: \"清除\",\n previousDay: \"前一天\",\n nextDay: \"后一天\",\n today: \"今天\",\n },\n popover: {\n panel: \"弹出框\",\n },\n combobox: {\n search: \"搜索\",\n noResults: \"无结果\",\n clear: \"清除\",\n loading: \"加载中…\",\n create: (query) => `创建“${query}”`,\n selectedCount: (count) => `已选 ${n(count)} 项`,\n loadError: \"无法加载结果\",\n resultCount: (count) => `${n(count)} 个结果`,\n minChars: (count) => `请至少输入 ${n(count)} 个字符`,\n },\n multiSelect: {\n search: \"搜索\",\n selectAll: \"全选\",\n clear: \"清除\",\n all: \"全部\",\n // The bare count, as in English: the trigger has always shown just the number.\n selectedCount: (count) => n(count),\n },\n calculator: {\n open: \"打开计算器\",\n panel: \"计算器\",\n calculation: \"算式\",\n backspace: \"退格\",\n clear: \"清除\",\n equals: \"等于\",\n done: \"完成\",\n plus: \"加\",\n minus: \"减\",\n times: \"乘\",\n divide: \"除以\",\n decimal: \"小数点\",\n },\n currency: {\n currency: \"货币\",\n search: \"搜索货币\",\n },\n chipInput: {\n added: (value) => `已添加“${value}”`,\n removed: (value) => `已移除“${value}”`,\n remove: \"移除\",\n atLimit: (max) => `已达上限(${n(max)} 项)`,\n duplicate: (value) => `“${value}”已在列表中`,\n },\n swatchPicker: {\n none: \"无颜色\",\n mixed: \"混合:所选项目的颜色各不相同\",\n },\n iconPicker: {\n none: \"无图标\",\n mixed: \"混合:所选项目的图标各不相同\",\n search: \"搜索图标\",\n noResults: \"没有匹配的图标\",\n resultCount: (count) => `${n(count)} 个图标`,\n },\n fieldSync: {\n synced: \"已保存\",\n edited: \"有未保存的更改\",\n pending: \"正在保存…\",\n error: \"保存失败\",\n retry: \"重试\",\n },\n passwordReveal: {\n show: \"显示密码\",\n hide: \"隐藏密码\",\n },\n dangerConfirm: {\n arm: \"删除…\",\n confirm: \"删除\",\n cancel: \"取消\",\n prompt: \"此操作无法撤销。\",\n password: \"密码\",\n phrase: (phrase) => `输入“${phrase}”以确认`,\n },\n tabs: {\n add: \"添加标签页\",\n // Quoted, so the spacing rule holds whether the tab's name is Han or Latin.\n remove: (tab) => `移除“${tab}”`,\n },\n appShell: {\n collapse: \"收起侧边栏\",\n expand: \"展开侧边栏\",\n toggleGroup: (groupLabel) => `${groupLabel}:页面`,\n },\n topBar: {\n theme: \"切换主题\",\n palette: \"外观预设\",\n language: \"语言\",\n switchRole: \"切换角色\",\n role: (value) => `角色:${value}`,\n },\n pickerSheet: {\n close: \"关闭\",\n },\n dialogFrame: {\n close: \"关闭\",\n },\n swipeableRow: {\n actions: \"行操作\",\n },\n file: {\n // The kit's own `Intl` unit formatting, pinned to this locale.\n size: (bytes) => formatFileSize(bytes, numberLocale),\n },\n filePicker: {\n dropzone: \"文件上传\",\n browse: \"浏览\",\n empty: \"将文件拖放到此处\",\n emptyMultiple: \"将文件拖放到此处\",\n hint: (accept) => (accept ? `支持:${accept}` : \"任意文件类型\"),\n busy: \"正在上传…\",\n rejectedPick: (count) => (count === 1 ? \"未添加该文件\" : `${count} 个文件均未添加`),\n rejectedType: (name) => `“${name}”的文件类型不受支持`,\n rejectedTypeOnly: (accept) => `仅限 ${accept} 文件`,\n rejectedSize: (name, maxSize) => `“${name}”超过 ${maxSize}`,\n rejectedCount: (name, maxFiles) => `未添加“${name}”:最多 ${n(maxFiles)} 个文件`,\n rejectedInvalid: (name) => `“${name}”无法在此使用`,\n rejectedMany: (count) => `${n(count)} 个文件未添加`,\n selected: (count, firstName) =>\n count === 1 ? `已选择“${firstName}”` : `已选择 ${n(count)} 个文件`,\n remove: (name) => `移除“${name}”`,\n clearAll: \"移除所有文件\",\n removed: (name) => `已移除“${name}”`,\n cleared: \"已移除所有文件\",\n },\n wizard: {\n done: \"完成\",\n cancel: \"取消\",\n back: \"上一步\",\n next: \"下一步\",\n skip: \"跳过\",\n finish: \"完成\",\n submitting: \"正在创建…\",\n steps: \"步骤\",\n step: (current, total) => `第 ${n(current)} 步,共 ${n(total)} 步`,\n cancelTitle: \"放弃此表单?\",\n confirmCancel: \"已填写的内容将会丢失。\",\n cancelConfirmLabel: \"放弃\",\n cancelDismissLabel: \"继续编辑\",\n reviewTitle: \"确认信息\",\n edit: \"编辑\",\n missingRequired: \"请填写所有必填字段。\",\n genericError: \"发生错误\",\n },\n tour: {\n next: \"下一步\",\n back: \"上一步\",\n skip: \"跳过\",\n done: \"完成\",\n awaitClickHint: \"点击高亮的元素以继续\",\n step: (current, total) => `${n(current)} / ${n(total)}`,\n },\n commandPalette: {\n placeholder: \"搜索…\",\n empty: \"无结果\",\n loading: \"搜索中…\",\n dialog: \"搜索\",\n error: \"搜索失败,请重试。\",\n },\n sparkline: {\n rising: (first, last) => `从 ${first} 上升到 ${last}`,\n falling: (first, last) => `从 ${first} 下降到 ${last}`,\n flat: (value) => `保持在 ${value} 不变`,\n single: (value) => `仅一个值:${value}`,\n noData: \"无数据\",\n named: (name, summary) => `${name}:${summary}`,\n },\n statTile: {\n increase: (amount) => `上升 ${amount}`,\n decrease: (amount) => `下降 ${amount}`,\n unchanged: \"无变化\",\n better: (change) => `${change}(向好)`,\n worse: (change) => `${change}(变差)`,\n noValue: \"无数据\",\n loading: \"加载中…\",\n },\n signaturePad: {\n label: \"签名\",\n instructions: \"请使用鼠标、手指或触控笔在框内签名。\",\n typedFallbackHint: \"如果无法手写,可以改为输入姓名。\",\n empty: \"尚未签名\",\n signed: \"已签名\",\n undo: \"撤销上一笔\",\n clear: \"清除\",\n save: \"保存签名\",\n useTyped: \"改为输入姓名\",\n useDrawn: \"改为手写\",\n typedName: \"姓名\",\n cleared: \"签名已清除\",\n undone: \"已撤销上一笔\",\n viewEmpty: \"未签名\",\n viewDrawn: \"手写签名\",\n // Quoted, so the spacing rule holds whether the name is Han or Latin.\n viewTyped: (name) => `以输入的姓名“${name}”签名`,\n },\n passwordStrength: {\n tooShort: \"太短\",\n weak: \"弱\",\n fair: \"一般\",\n good: \"良好\",\n strong: \"强\",\n announcement: (level) => `密码强度:${level}`,\n // Unformatted, as in the English default.\n ruleLength: (minLength) => `至少 ${minLength} 个字符`,\n ruleCase: \"包含大写和小写字母\",\n ruleDigit: \"包含数字\",\n ruleSymbol: \"包含符号\",\n optional: (rule) => `${rule}(可选)`,\n met: \"已满足:\",\n notMet: \"未满足:\",\n tooLong: (maxBytes) => `最多 ${maxBytes} 个字符(带重音的字母和表情符号按多个字符计算)。`,\n },\n seriesChart: {\n resetZoom: \"重置缩放\",\n zoomHint:\n \"拖动以缩放:近似正方形的选区同时缩放两条坐标轴,细长的选区只缩放其所沿的那条轴。双击可重置。\",\n empty: \"无数据\",\n legend: \"数据系列\",\n },\n confirmDialog: {\n confirm: \"确认\",\n cancel: \"取消\",\n },\n floatingPanel: {\n close: \"关闭\",\n },\n copyButton: {\n copy: \"复制\",\n copied: \"已复制\",\n failed: \"复制失败\",\n copiedAnnouncement: \"已复制到剪贴板\",\n failedAnnouncement: \"无法复制到剪贴板\",\n },\n };\n}\n\nexport const UI_KIT_LABELS_ZH: UiKitLabels = uiKitLabelsZh();\n"],"mappings":";AAAA,SAAS,sBAAsB;AAYxB,SAAS,cAAc,eAAe,SAAsB;AACjE,QAAM,MAAM,IAAI,KAAK,aAAa,YAAY;AAC9C,QAAM,IAAI,CAAC,UAAkB,IAAI,OAAO,KAAK;AAE7C,SAAO;AAAA,IACL,oBAAoB;AAAA,MAClB,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,iBAAiB;A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,UAAU,CAAC,SAAS,GAAG,IAAI;AAAA,MAC3B,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,SAAS,CAAC,aAAa,gBAAM,QAAQ;AAAA,IACvC;AAAA,IACA,aAAa;AAAA,MACX,WAAW;AAAA,MACX,UACE;AAAA,MACF,OAAO;AAAA,MACP,QAAQ;AAAA,IACV;AAAA,IACA,eAAe;AAAA,MACb,SAAS;AAAA,MACT,QAAQ;AAAA,IACV;AAAA,IACA,eAAe;AAAA,MACb,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,oBAAoB;AAAA,MACpB,oBAAoB;AAAA,IACtB;AAAA,EACF;AACF;AAEO,MAAM,mBAAgC,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../../src/i18n/locales/zh.ts"],"sourcesContent":["import { formatFileSize } from \"../kit-labels\";\nimport type { UiKitLabels } from \"../kit-labels\";\n\n/**\n * The kit's words in Chinese (Simplified): every namespace of {@link UiKitLabels}, for\n * `<UiKitProvider labels={UI_KIT_LABELS_ZH}>`.\n *\n * Self-contained on purpose — nothing but the kit's own `formatFileSize` — so it works\n * as a starting point to copy and adjust. Counts and sizes are formatted with\n * `zh-CN` digits; {@link uiKitLabelsZh} takes another number locale\n * (e.g. `\"de-CH\"` for 1’234) without touching the words.\n */\nexport function uiKitLabelsZh(numberLocale = \"zh-CN\"): UiKitLabels {\n const num = new Intl.NumberFormat(numberLocale);\n const n = (value: number) => num.format(value);\n\n return {\n feedbackAttachment: {\n attachmentAdd: \"附加图片\",\n attachmentCapture: \"截取屏幕\",\n attachmentPaste: \"……或从剪贴板粘贴截图。\",\n attachmentRemove: \"移除附件\",\n },\n measuredGrid: {\n view: \"表格视图\",\n cellsView: \"单元格\",\n textView: \"文本\",\n addRow: \"添加行\",\n removeRow: (row) => `删除第 ${row} 行`,\n clear: \"清空表格\",\n pasteHint: \"可将电子表格中的一块数据粘贴到任意单元格\",\n cell: (column, row) => `${column},第 ${row} 行`,\n rowNumber: \"行\",\n rowActions: \"行操作\",\n keyboardHint:\n \"方向键在单元格之间移动。直接输入替换单元格内容,F2 编辑,Esc 撤销编辑。回车向下移动,并在末尾添加一行。\",\n lineError: (line) => `无法读取第 ${line} 行`,\n points: (count) => `${count} 个点`,\n problems: (count) => `${count} 个单元格不是数字`,\n },\n pageContents: { title: \"本页目录\" },\n common: {\n dismiss: \"关闭\",\n close: \"关闭\",\n clear: \"清除\",\n search: \"搜索\",\n done: \"完成\",\n cancel: \"取消\",\n save: \"保存\",\n back: \"上一步\",\n next: \"下一步\",\n remove: \"移除\",\n loading: \"加载中…\",\n noResults: \"无结果\",\n // Full-width colon, no space after it.\n fieldValue: (field, value) => `${field}:${value}`,\n },\n dataTable: {\n columns: \"列\",\n selectAllRows: \"全选所有行\",\n sortHint: \"点击排序 · 按住 Shift 点击可添加排序\",\n filter: \"筛选\",\n close: \"关闭\",\n selectRow: \"选择行\",\n autoSize: \"自动调整列宽\",\n loading: \"加载中…\",\n filters: \"筛选条件\",\n clearAll: \"全部清除\",\n done: \"完成\",\n pageSize: \"每页行数\",\n pageSizeAll: \"全部\",\n prevPage: \"上一页\",\n nextPage: \"下一页\",\n clearFilter: \"清除筛选\",\n filterPlaceholder: \"筛选…\",\n selectFilter: \"选择\",\n selectAll: \"全部\",\n selectNone: \"无\",\n dateFrom: \"从\",\n dateTo: \"至\",\n numberMin: \"最小值\",\n numberMax: \"最大值\",\n numberAbs: \"绝对值\",\n presets: {\n today: \"今天\",\n yesterday: \"昨天\",\n this_week: \"本周\",\n last_week: \"上周\",\n last_7_days: \"最近 7 天\",\n last_30_days: \"最近 30 天\",\n this_month: \"本月\",\n last_month: \"上月\",\n last_3_months: \"最近 3 个月\",\n ytd: \"今年至今\",\n last_year: \"去年\",\n },\n table: \"数据表格\",\n filterResults: (shown, total) => `显示 ${n(shown)} 行,共 ${n(total)} 行`,\n sortedAscending: (column) => `已按“${column}”升序排序`,\n sortedDescending: (column) => `已按“${column}”降序排序`,\n sortCleared: (column) => `已取消“${column}”的排序`,\n pageChanged: (page, totalPages) => `第 ${n(page)} 页,共 ${n(totalPages)} 页`,\n pageRange: (from, to, total) => `${n(from)}–${n(to)} / ${n(total)}`,\n rowCount: (total) => n(total),\n columnsCount: (visible, total) => `列(${n(visible)}/${n(total)})`,\n },\n miniCalendar: {\n previousMonth: \"上个月\",\n nextMonth: \"下个月\",\n // Already formatted in the provider's locale (\"2026年9月14日星期一\").\n day: (date) => date,\n chooseStart: \"请选择开始日期\",\n chooseEnd: \"请选择结束日期\",\n startSelected: (date) => `已选择 ${date} 为开始日期。请选择结束日期。`,\n rangeSelected: (from, to) => `已选择 ${from} 至 ${to}。如需重新选择,请先选择开始日期。`,\n },\n monthPicker: {\n previousYear: \"上一年\",\n nextYear: \"下一年\",\n panel: \"选择月份\",\n month: (monthYear) => monthYear,\n },\n datePicker: {\n apply: \"应用\",\n cancel: \"取消\",\n presets: \"快捷范围\",\n panel: \"选择日期\",\n rangePanel: \"选择日期范围\",\n clear: \"清除\",\n previousDay: \"前一天\",\n nextDay: \"后一天\",\n today: \"今天\",\n },\n popover: {\n panel: \"弹出框\",\n },\n combobox: {\n search: \"搜索\",\n noResults: \"无结果\",\n clear: \"清除\",\n loading: \"加载中…\",\n create: (query) => `创建“${query}”`,\n selectedCount: (count) => `已选 ${n(count)} 项`,\n loadError: \"无法加载结果\",\n resultCount: (count) => `${n(count)} 个结果`,\n minChars: (count) => `请至少输入 ${n(count)} 个字符`,\n },\n multiSelect: {\n search: \"搜索\",\n selectAll: \"全选\",\n clear: \"清除\",\n all: \"全部\",\n // The bare count, as in English: the trigger has always shown just the number.\n selectedCount: (count) => n(count),\n },\n calculator: {\n open: \"打开计算器\",\n panel: \"计算器\",\n calculation: \"算式\",\n backspace: \"退格\",\n clear: \"清除\",\n equals: \"等于\",\n done: \"完成\",\n plus: \"加\",\n minus: \"减\",\n times: \"乘\",\n divide: \"除以\",\n decimal: \"小数点\",\n },\n currency: {\n currency: \"货币\",\n search: \"搜索货币\",\n },\n chipInput: {\n added: (value) => `已添加“${value}”`,\n removed: (value) => `已移除“${value}”`,\n remove: \"移除\",\n atLimit: (max) => `已达上限(${n(max)} 项)`,\n duplicate: (value) => `“${value}”已在列表中`,\n },\n swatchPicker: {\n none: \"无颜色\",\n mixed: \"混合:所选项目的颜色各不相同\",\n },\n iconPicker: {\n none: \"无图标\",\n mixed: \"混合:所选项目的图标各不相同\",\n search: \"搜索图标\",\n noResults: \"没有匹配的图标\",\n resultCount: (count) => `${n(count)} 个图标`,\n },\n fieldSync: {\n synced: \"已保存\",\n edited: \"有未保存的更改\",\n pending: \"正在保存…\",\n error: \"保存失败\",\n retry: \"重试\",\n },\n passwordReveal: {\n show: \"显示密码\",\n hide: \"隐藏密码\",\n },\n dangerConfirm: {\n arm: \"删除…\",\n confirm: \"删除\",\n cancel: \"取消\",\n prompt: \"此操作无法撤销。\",\n password: \"密码\",\n phrase: (phrase) => `输入“${phrase}”以确认`,\n },\n tabs: {\n add: \"添加标签页\",\n // Quoted, so the spacing rule holds whether the tab's name is Han or Latin.\n remove: (tab) => `移除“${tab}”`,\n },\n appShell: {\n collapse: \"收起侧边栏\",\n expand: \"展开侧边栏\",\n toggleGroup: (groupLabel) => `${groupLabel}:页面`,\n },\n topBar: {\n theme: \"切换主题\",\n palette: \"外观预设\",\n language: \"语言\",\n switchRole: \"切换角色\",\n role: (value) => `角色:${value}`,\n },\n pickerSheet: {\n close: \"关闭\",\n },\n dialogFrame: {\n close: \"关闭\",\n },\n swipeableRow: {\n actions: \"行操作\",\n },\n file: {\n // The kit's own `Intl` unit formatting, pinned to this locale.\n size: (bytes) => formatFileSize(bytes, numberLocale),\n },\n filePicker: {\n dropzone: \"文件上传\",\n browse: \"浏览\",\n empty: \"将文件拖放到此处\",\n emptyMultiple: \"将文件拖放到此处\",\n hint: (accept) => (accept ? `支持:${accept}` : \"任意文件类型\"),\n busy: \"正在上传…\",\n rejectedPick: (count) => (count === 1 ? \"未添加该文件\" : `${count} 个文件均未添加`),\n rejectedType: (name) => `“${name}”的文件类型不受支持`,\n rejectedTypeOnly: (accept) => `仅限 ${accept} 文件`,\n rejectedSize: (name, maxSize) => `“${name}”超过 ${maxSize}`,\n rejectedCount: (name, maxFiles) => `未添加“${name}”:最多 ${n(maxFiles)} 个文件`,\n rejectedInvalid: (name) => `“${name}”无法在此使用`,\n rejectedMany: (count) => `${n(count)} 个文件未添加`,\n selected: (count, firstName) =>\n count === 1 ? `已选择“${firstName}”` : `已选择 ${n(count)} 个文件`,\n remove: (name) => `移除“${name}”`,\n clearAll: \"移除所有文件\",\n removed: (name) => `已移除“${name}”`,\n cleared: \"已移除所有文件\",\n },\n wizard: {\n done: \"完成\",\n cancel: \"取消\",\n back: \"上一步\",\n next: \"下一步\",\n skip: \"跳过\",\n finish: \"完成\",\n submitting: \"正在创建…\",\n steps: \"步骤\",\n step: (current, total) => `第 ${n(current)} 步,共 ${n(total)} 步`,\n cancelTitle: \"放弃此表单?\",\n confirmCancel: \"已填写的内容将会丢失。\",\n cancelConfirmLabel: \"放弃\",\n cancelDismissLabel: \"继续编辑\",\n reviewTitle: \"确认信息\",\n edit: \"编辑\",\n missingRequired: \"请填写所有必填字段。\",\n genericError: \"发生错误\",\n },\n tour: {\n next: \"下一步\",\n back: \"上一步\",\n skip: \"跳过\",\n done: \"完成\",\n awaitClickHint: \"点击高亮的元素以继续\",\n step: (current, total) => `${n(current)} / ${n(total)}`,\n },\n commandPalette: {\n clear: \"清除搜索\",\n submit: \"搜索\",\n close: \"关闭\",\n placeholder: \"搜索…\",\n empty: \"无结果\",\n loading: \"搜索中…\",\n dialog: \"搜索\",\n error: \"搜索失败,请重试。\",\n },\n globalSearch: {\n trigger: \"搜索\",\n placeholder: \"搜索或跳转到…\",\n shortcut: (keys) => `搜索(${keys})`,\n suggestions: \"试试\",\n results: \"结果\",\n },\n sparkline: {\n rising: (first, last) => `从 ${first} 上升到 ${last}`,\n falling: (first, last) => `从 ${first} 下降到 ${last}`,\n flat: (value) => `保持在 ${value} 不变`,\n single: (value) => `仅一个值:${value}`,\n noData: \"无数据\",\n named: (name, summary) => `${name}:${summary}`,\n },\n statTile: {\n increase: (amount) => `上升 ${amount}`,\n decrease: (amount) => `下降 ${amount}`,\n unchanged: \"无变化\",\n better: (change) => `${change}(向好)`,\n worse: (change) => `${change}(变差)`,\n noValue: \"无数据\",\n loading: \"加载中…\",\n },\n signaturePad: {\n label: \"签名\",\n instructions: \"请使用鼠标、手指或触控笔在框内签名。\",\n typedFallbackHint: \"如果无法手写,可以改为输入姓名。\",\n empty: \"尚未签名\",\n signed: \"已签名\",\n undo: \"撤销上一笔\",\n clear: \"清除\",\n save: \"保存签名\",\n useTyped: \"改为输入姓名\",\n useDrawn: \"改为手写\",\n typedName: \"姓名\",\n cleared: \"签名已清除\",\n undone: \"已撤销上一笔\",\n viewEmpty: \"未签名\",\n viewDrawn: \"手写签名\",\n // Quoted, so the spacing rule holds whether the name is Han or Latin.\n viewTyped: (name) => `以输入的姓名“${name}”签名`,\n },\n passwordStrength: {\n tooShort: \"太短\",\n weak: \"弱\",\n fair: \"一般\",\n good: \"良好\",\n strong: \"强\",\n announcement: (level) => `密码强度:${level}`,\n // Unformatted, as in the English default.\n ruleLength: (minLength) => `至少 ${minLength} 个字符`,\n ruleCase: \"包含大写和小写字母\",\n ruleDigit: \"包含数字\",\n ruleSymbol: \"包含符号\",\n optional: (rule) => `${rule}(可选)`,\n met: \"已满足:\",\n notMet: \"未满足:\",\n tooLong: (maxBytes) => `最多 ${maxBytes} 个字符(带重音的字母和表情符号按多个字符计算)。`,\n },\n seriesChart: {\n resetZoom: \"重置缩放\",\n zoomHint:\n \"拖动以缩放:近似正方形的选区同时缩放两条坐标轴,细长的选区只缩放其所沿的那条轴。双击可重置。\",\n empty: \"无数据\",\n legend: \"数据系列\",\n },\n confirmDialog: {\n confirm: \"确认\",\n cancel: \"取消\",\n },\n floatingPanel: {\n close: \"关闭\",\n },\n copyButton: {\n copy: \"复制\",\n copied: \"已复制\",\n failed: \"复制失败\",\n copiedAnnouncement: \"已复制到剪贴板\",\n failedAnnouncement: \"无法复制到剪贴板\",\n },\n };\n}\n\nexport const UI_KIT_LABELS_ZH: UiKitLabels = uiKitLabelsZh();\n"],"mappings":";AAAA,SAAS,sBAAsB;AAYxB,SAAS,cAAc,eAAe,SAAsB;AACjE,QAAM,MAAM,IAAI,KAAK,aAAa,YAAY;AAC9C,QAAM,IAAI,CAAC,UAAkB,IAAI,OAAO,KAAK;AAE7C,SAAO;AAAA,IACL,oBAAoB;AAAA,MAClB,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,iBAAiB;AAAA,MACjB,kBAAkB;AAAA,IACpB;AAAA,IACA,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,WAAW;AAAA,MACX,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,WAAW,CAAC,QAAQ,sBAAO,GAAG;AAAA,MAC9B,OAAO;AAAA,MACP,WAAW;AAAA,MACX,MAAM,CAAC,QAAQ,QAAQ,GAAG,MAAM,gBAAM,GAAG;AAAA,MACzC,WAAW;AAAA,MACX,YAAY;AAAA,MACZ,cACE;AAAA,MACF,WAAW,CAAC,SAAS,kCAAS,IAAI;AAAA,MAClC,QAAQ,CAAC,UAAU,GAAG,KAAK;AAAA,MAC3B,UAAU,CAAC,UAAU,GAAG,KAAK;AAAA,IAC/B;AAAA,IACA,cAAc,EAAE,OAAO,2BAAO;AAAA,IAC9B,QAAQ;AAAA,MACN,SAAS;AAAA,MACT,OAAO;AAAA,MACP,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,SAAS;AAAA,MACT,WAAW;AAAA;AAAA,MAEX,YAAY,CAAC,OAAO,UAAU,GAAG,KAAK,SAAI,KAAK;AAAA,IACjD;AAAA,IAC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MACT,SAAS;AAAA,IACX;AAAA,IACA,cAAc;AAAA,MACZ,OAAO;AAAA,MACP,cAAc;AAAA,MACd,mBAAmB;AAAA,MACnB,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,OAAO;AAAA,MACP,MAAM;AAAA,MACN,UAAU;AAAA,MACV,UAAU;AAAA,MACV,WAAW;AAAA,MACX,SAAS;AAAA,MACT,QAAQ;AAAA,MACR,WAAW;AAAA,MACX,WAAW;AAAA;AAAA,MAEX,WAAW,CAAC,SAAS,6CAAU,IAAI;AAAA,IACrC;AAAA,IACA,kBAAkB;AAAA,MAChB,UAAU;AAAA,MACV,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,cAAc,CAAC,UAAU,iCAAQ,KAAK;AAAA;AAAA,MAEtC,YAAY,CAAC,cAAc,gBAAM,SAAS;AAAA,MAC1C,UAAU;AAAA,MACV,WAAW;AAAA,MACX,YAAY;AAAA,MACZ,UAAU,CAAC,SAAS,GAAG,IAAI;AAAA,MAC3B,KAAK;AAAA,MACL,QAAQ;AAAA,MACR,SAAS,CAAC,aAAa,gBAAM,QAAQ;AAAA,IACvC;AAAA,IACA,aAAa;AAAA,MACX,WAAW;AAAA,MACX,UACE;AAAA,MACF,OAAO;AAAA,MACP,QAAQ;AAAA,IACV;AAAA,IACA,eAAe;AAAA,MACb,SAAS;AAAA,MACT,QAAQ;AAAA,IACV;AAAA,IACA,eAAe;AAAA,MACb,OAAO;AAAA,IACT;AAAA,IACA,YAAY;AAAA,MACV,MAAM;AAAA,MACN,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,oBAAoB;AAAA,MACpB,oBAAoB;AAAA,IACtB;AAAA,EACF;AACF;AAEO,MAAM,mBAAgC,cAAc;","names":[]}
package/dist/index.d.ts CHANGED
@@ -20,7 +20,7 @@ export { AnchorRole, ChartRampReport, ContrastCheck, ContrastReport, DeriveOptio
20
20
  export { ALTERNATIVE_PRESETS, DEFAULT_PRESET, DERIVED_PRESETS, IMPRINT_PRESET, PALETTES, PalettePreset, TokenSet, applyTokenSet, presetById } from './theme/palette-presets.js';
21
21
  export { ThemeMode, ThemePreference, ThemeState, ThemeStore, applyPersistedTheme, createThemeStore } from './theme/theme-store.js';
22
22
  export { PaletteStore, applyPersistedPalette, createPaletteStore } from './theme/palette-store.js';
23
- export { Button, ButtonClassesOptions, ButtonProps, ButtonSize, ButtonVariant, Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, DEFAULT_PASSWORD_REVEAL_LABELS, DEFAULT_TABS_LABELS, EmptyState, EmptyStateProps, FIELD_BASE, FIELD_DISPLAY, FIELD_FLOATING_PAD, FIELD_INVALID, FIELD_TRIGGER, FIELD_WRITABLE_LOOK, FLOATING_INPUT_CLASS, FLOATING_LABEL_CLASS, FLOATING_LABEL_STATIC, FieldChevron, FieldChevronProps, FieldHint, FieldHintProps, FieldLabel, FieldLabelProps, FloatingField, FloatingFieldProps, IconButton, IconButtonProps, IconButtonSize, Input, InputProps, Label, LabelProps, PHONE_QUERY, PasswordRevealLabels, Select, SelectProps, Spinner, SpinnerProps, TabItem, Tabs, TabsLabels, TabsProps, Textarea, TextareaProps, buttonClasses, resolvePasswordRevealLabels } from './components/ui.js';
23
+ export { Button, ButtonClassesOptions, ButtonProps, ButtonSize, ButtonVariant, Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, DEFAULT_PASSWORD_REVEAL_LABELS, DEFAULT_TABS_LABELS, EmptyState, EmptyStateProps, FIELD_BASE, FIELD_DISPLAY, FIELD_FLOATING_PAD, FIELD_INVALID, FIELD_TRIGGER, FIELD_WRITABLE_LOOK, FLOATING_INPUT_CLASS, FLOATING_LABEL_CLASS, FLOATING_LABEL_STATIC, FieldChevron, FieldChevronProps, FieldHint, FieldHintProps, FieldLabel, FieldLabelProps, FloatingField, FloatingFieldProps, IconButton, IconButtonProps, IconButtonSize, IconButtonTone, Input, InputProps, Label, LabelProps, PHONE_QUERY, PasswordRevealLabels, Select, SelectProps, Spinner, SpinnerProps, TabItem, Tabs, TabsLabels, TabsProps, Textarea, TextareaProps, buttonClasses, resolvePasswordRevealLabels } from './components/ui.js';
24
24
  export { SearchField, SearchFieldProps } from './components/search-field.js';
25
25
  export { DropdownPanel, DropdownPanelProps, DropdownSearchHeader, DropdownSearchHeaderProps, useDropdown, useDropdownSearch } from './components/dropdown.js';
26
26
  export { DEFAULT_POPOVER_LABELS, Popover, PopoverLabels, PopoverProps } from './components/popover.js';
@@ -79,7 +79,7 @@ export { FullBleedDialog, FullBleedDialogProps } from './components/full-bleed-d
79
79
  export { GroupedPicker, GroupedPickerProps, PickerGroup } from './components/grouped-picker.js';
80
80
  export { FileDropzone, FileDropzoneProps, FileDropzoneRejectionFeedback, FileDropzoneState } from './components/file-dropzone.js';
81
81
  export { DEFAULT_MINI_CALENDAR_LABELS, MiniCalendar, MiniCalendarLabels, MiniCalendarProps, WeekDay } from './components/mini-calendar.js';
82
- export { DatePicker, DatePickerProps, DateRangeCommit, DateRangePicker, DateRangePickerPreset, DateRangePickerProps } from './components/date-picker.js';
82
+ export { DatePicker, DatePickerProps, DateRangeCommit, DateRangePicker, DateRangePickerPreset, DateRangePickerProps, DateRangeTriggerRenderProps, DateTriggerAttributes } from './components/date-picker.js';
83
83
  export { TreeItemState, TreeNode, TreeRow, TreeRowProps, TreeView, TreeViewProps } from './components/tree-view.js';
84
84
  export { ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartSeriesConfig, ChartTooltip, ChartTooltipContent, useChart } from './components/chart.js';
85
85
  export { DescriptionItem, DescriptionItemProps, DescriptionList, DescriptionListDensity, DescriptionListLayout, DescriptionListProps } from './components/description-list.js';
@@ -92,7 +92,7 @@ export { Separator, SeparatorProps } from './components/separator.js';
92
92
  export { ScrollArea, ScrollAreaProps } from './components/scroll-area.js';
93
93
  export { DEFAULT_DATA_TABLE_LABELS, DataTableLabels, missingDataTableLabels, resolveDataTableLabels } from './components/data-table-labels.js';
94
94
  export { SortCycle, SortDir, SortState, SortStepOptions, decodeSorts, encodeSorts, nextSorts, normalizeSorts } from './components/data-table-sort.js';
95
- export { C as ColumnFilter, D as DataTable, a as DataTableChrome, b as DataTableColumn, c as DataTableDensity, d as DataTableProps, F as FilterState, e as FilterValue, M as MobileSwipeActions, S as ServerPagination, f as decodeFilterValue, g as decodeFilterValueOfType, h as defaultFilterState, i as encodeFilterValue, j as isFilterActive, r as resolveFilter, k as rowMatches } from './data-table-filters-CF1PXqjQ.js';
95
+ export { C as ColumnFilter, D as DataTable, l as DataTableCellProps, a as DataTableChrome, b as DataTableColumn, c as DataTableDensity, m as DataTableHeadProps, d as DataTableProps, F as FilterState, e as FilterValue, M as MobileSwipeActions, S as ServerPagination, f as decodeFilterValue, g as decodeFilterValueOfType, h as defaultFilterState, i as encodeFilterValue, j as isFilterActive, r as resolveFilter, k as rowMatches } from './data-table-filters-Dh9uF_S-.js';
96
96
  export { PAGE_SIZE_OPTIONS, Pagination } from './components/data-table-pagination.js';
97
97
  export { FilterPopover } from './components/data-table-filter-popover.js';
98
98
  export { LanguageMenu, LanguageOption, PaletteMenu, TOPBAR_MENU_ITEM_CLASS, TOPBAR_TRIGGER_CLASS, ThemeToggle } from './shell/topbar-controls.js';
@@ -113,6 +113,8 @@ export { WizardSummary } from './wizard/wizard-summary.js';
113
113
  export { StepperNav } from './wizard/stepper-nav.js';
114
114
  export { DEFAULT_TOUR_LABELS, TourLabels, TourPlacement, TourProvider, TourStep, useTour, useTourOptional } from './tour/tour.js';
115
115
  export { CommandItem, CommandPalette, CommandPaletteLabels, DEFAULT_COMMAND_PALETTE_LABELS, useCommandKey } from './search/command-palette.js';
116
+ export { SEARCH_TIER_POINTS, SearchEntry, SearchHit, SearchIndex, SearchIndexOptions, SearchMatchField, createSearchIndex, matchEntries, normalizeSearchText } from './search/search-index.js';
117
+ export { DEFAULT_GLOBAL_SEARCH_LABELS, GlobalSearch, GlobalSearchLabels, GlobalSearchProps, GlobalSearchSource, GlobalSearchSuggestion, GlobalSearchTriggerProps } from './search/global-search.js';
116
118
  export { AppShellLabels, CalculatorLabels, ComboboxLabels, CommonLabels, CurrencyLabels, DEFAULT_APP_SHELL_LABELS, DEFAULT_CALCULATOR_LABELS, DEFAULT_COMBOBOX_LABELS, DEFAULT_COMMON_LABELS, DEFAULT_CURRENCY_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_FILE_LABELS, DEFAULT_MULTI_SELECT_LABELS, DEFAULT_PICKER_SHEET_LABELS, DEFAULT_SWIPEABLE_ROW_LABELS, DEFAULT_TOP_BAR_LABELS, DatePickerLabels, FileLabels, MultiSelectLabels, PickerSheetLabels, SwipeableRowLabels, TopBarLabels, UiKitLabelOverrides, UiKitLabels, UiKitProvider, UiKitProviderProps, formatFileSize, missingKitLabels, useKitFileLabels, useKitLabelOverrides, useKitLabels, useKitLocale, useKitWeekStart } from './i18n/kit-labels.js';
117
119
  export { DEFAULT_UI_KIT_LABELS } from './i18n/defaults.js';
118
120
  export { ComboClearValue, ComboOption } from './components/combobox-core.js';
package/dist/index.js CHANGED
@@ -115,6 +115,8 @@ export * from "./wizard/wizard-summary.js";
115
115
  export * from "./wizard/stepper-nav.js";
116
116
  export * from "./tour/tour.js";
117
117
  export * from "./search/command-palette.js";
118
+ export * from "./search/search-index.js";
119
+ export * from "./search/global-search.js";
118
120
  export * from "./i18n/kit-labels.js";
119
121
  export * from "./i18n/defaults.js";
120
122
  export {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// @eifi1/ui-kit — shared design-system barrel.\n//\n// Domain-free UI + theme surface shared across apps (lead app: Keksdose). Consumers import\n// components/theme from \"@eifi1/ui-kit\" and the token stylesheet from \"@eifi1/ui-kit/tokens.css\".\n\n// ── lib ────────────────────────────────────────────────────────────────────\nexport * from \"./lib/calc\";\nexport { cn } from \"./lib/cn\";\nexport { logger, setStoreLog } from \"./lib/logger\";\n// Date helpers are also available via the \"@eifi1/ui-kit/dates\" subpath.\n\n// ── hooks ────────────────────────────────────────────────────────────────────\nexport { useMediaQuery } from \"./hooks/use-media-query\";\nexport { useBodyScrollLock } from \"./hooks/use-body-scroll-lock\";\nexport { useAnchoredRect } from \"./hooks/use-anchored-rect\";\nexport type { AnchorRect } from \"./hooks/use-anchored-rect\";\nexport { useAnchoredPanel, anchoredPanelPlacement, useVisualViewport } from \"./hooks/use-anchored-panel\";\nexport type {\n AnchoredPanel,\n AnchoredPanelOptions,\n ViewportBox,\n} from \"./hooks/use-anchored-panel\";\nexport { useEscapeKey, useOutsideClick } from \"./hooks/use-dismiss\";\n// Focus containment for an overlay, and a live region for a change that moves no focus.\n// Both were extracted from the two components that already did them correctly (Modal and\n// CommandPalette) so the rest of the kit stops being the exception.\nexport { useFocusTrap } from \"./hooks/use-focus-trap\";\nexport type { FocusTrapOptions } from \"./hooks/use-focus-trap\";\nexport { useAnnounce } from \"./hooks/use-announce\";\nexport type { UseAnnounceReturn, UseAnnounceOptions, AnnounceRegionProps } from \"./hooks/use-announce\";\nexport { useOverlayHistory } from \"./hooks/use-overlay-history\";\nexport { useCloseTransition, OVERLAY_EXIT_MS } from \"./hooks/use-close-transition\";\nexport { useRowSwipe } from \"./hooks/use-row-swipe\";\nexport type { SwipeStage, RowSwipeOptions, RowSwipeReturn } from \"./hooks/use-row-swipe\";\n// Any element as a file drop target, screened like FileButton (kastlan).\nexport { useFileDrop, dragHasFiles } from \"./hooks/use-file-drop\";\nexport type { UseFileDropOptions, UseFileDropReturn, FileDropProps } from \"./hooks/use-file-drop\";\n// kastlan's search boxes each carried a hand-rolled copy, two without the cleanup.\nexport { useDebounce, useDebouncedCallback } from \"./hooks/use-debounce\";\nexport type { DebouncedCallbackOptions, DebouncedFunction } from \"./hooks/use-debounce\";\n// Copy that reports whether it worked — keksdose's copy buttons said \"Copied\" when it had not.\nexport { useCopyToClipboard, copyToClipboard } from \"./hooks/use-copy-to-clipboard\";\nexport type { CopyState, UseCopyToClipboardOptions, UseCopyToClipboardReturn } from \"./hooks/use-copy-to-clipboard\";\n\n// ── theme / palettes ─────────────────────────────────────────────────────────\nexport * from \"./theme/chart-palette\";\n// Colour maths (sRGB ↔ OKLCH, WCAG contrast, CVD simulation) and the palette deriver\n// that builds a whole, contrast-solved palette from one brand colour plus any colours\n// pinned by hand. `auditPalette` / `auditChartRamp` measure a palette rather than\n// trusting a comment about it.\nexport * from \"./theme/color\";\nexport * from \"./theme/palette-derive\";\nexport * from \"./theme/palette-presets\";\nexport * from \"./theme/theme-store\";\nexport * from \"./theme/palette-store\";\n\n// ── components ───────────────────────────────────────────────────────────────\nexport * from \"./components/ui\";\nexport * from \"./components/search-field\";\nexport * from \"./components/dropdown\";\nexport * from \"./components/popover\";\nexport { SwipeableRow } from \"./components/swipeable-row\";\nexport type { SwipeAction, SwipeableRowProps } from \"./components/swipeable-row\";\nexport * from \"./components/calculator\";\nexport * from \"./components/numpad-sheet\";\nexport * from \"./components/number-input\";\nexport * from \"./components/currency-select\";\nexport * from \"./components/amount-input\";\nexport * from \"./components/combobox\";\nexport * from \"./components/picker-sheet\";\nexport * from \"./components/entity-combobox\";\nexport * from \"./components/multi-entity-combobox\";\nexport * from \"./components/multi-select\";\nexport * from \"./components/tooltip\";\nexport * from \"./components/user-avatar\";\nexport * from \"./components/settings-fields\";\n// Sync state for a database-backed field: the engine (`useFieldSync`) and the\n// affordance (`FieldSyncIndicator`), kept separate because the state is useful\n// without the dot — a form can gate its submit on any field being `pending`.\nexport * from \"./components/field-sync\";\nexport * from \"./components/month-picker\";\nexport * from \"./components/checkbox\";\nexport * from \"./components/switch\";\nexport * from \"./components/slider\";\nexport * from \"./components/time-input\";\nexport * from \"./components/number-field\";\nexport * from \"./components/sparkline\";\nexport * from \"./components/stat-tile\";\nexport * from \"./components/signature-pad\";\nexport * from \"./components/password-strength\";\nexport * from \"./components/page-contents\";\nexport * from \"./components/disclosure\";\nexport * from \"./components/dialog-frame\";\nexport * from \"./components/danger-confirm\";\n// `useConfirm()` — the promise-based replacement for `window.confirm`, one host per app.\nexport * from \"./components/confirm-dialog\";\n// A non-modal corner panel and its round trigger (keksdose's assistant launcher).\nexport * from \"./components/floating-panel\";\nexport * from \"./components/swatch-picker\";\nexport * from \"./components/icon-picker\";\nexport * from \"./components/choice-card\";\nexport * from \"./components/autocomplete\";\nexport * from \"./components/measured-grid\";\nexport { useWindowedRows } from \"./hooks/use-windowed-rows\";\nexport type { WindowedRows } from \"./hooks/use-windowed-rows\";\n// Named, not `export *`: file-button.tsx also holds the screening helpers the\n// dropzone shares, which are internal.\nexport { FileButton, useFilePicker, matchesAccept, DEFAULT_FILE_PICKER_LABELS } from \"./components/file-button\";\nexport type {\n FileButtonProps,\n UseFilePickerOptions,\n UseFilePickerReturn,\n FilePickerLabels,\n FileRejection,\n FileRejectionReason,\n FileScreenOptions,\n} from \"./components/file-button\";\nexport * from \"./components/treemap\";\nexport * from \"./components/series-chart\";\nexport * from \"./components/chart-zoom\";\nexport * from \"./components/toggle-legend\";\nexport * from \"./components/facing-pair\";\nexport * from \"./components/series-chart-labels\";\nexport * from \"./components/account-settings\";\nexport * from \"./components/alert-banner\";\nexport * from \"./components/toggle-group\";\n// A pill carrying one VALUE — inert, a link, or a toggle, depending on which prop it is\n// given — and the list field built from it. Distinct from Button on purpose: a row of\n// buttons reads as \"choose an action\", a row of chips as \"here are the things\".\nexport * from \"./components/chip\";\nexport * from \"./components/wizard-stepper\";\nexport * from \"./components/hover-menu\";\nexport * from \"./components/modal\";\nexport * from \"./components/full-bleed-dialog\";\nexport * from \"./components/grouped-picker\";\nexport * from \"./components/file-dropzone\";\nexport * from \"./components/mini-calendar\";\nexport * from \"./components/date-picker\";\nexport * from \"./components/tree-view\";\nexport * from \"./components/chart\";\n// 0.8.0 layout and feedback primitives the apps hand-rolled or took from shadcn/Radix.\nexport * from \"./components/description-list\";\nexport * from \"./components/progress-bar\";\n// Named: skeleton.tsx also holds SKELETON_CLASS, the look StatTile shares — internal.\nexport { Skeleton } from \"./components/skeleton\";\nexport type { SkeletonProps, SkeletonShape } from \"./components/skeleton\";\nexport * from \"./components/copy-button\";\nexport * from \"./components/button-group\";\nexport * from \"./components/table\";\nexport * from \"./components/separator\";\n// Named: scroll-area.tsx also holds the overflow hook and scrollbar class Table shares.\nexport { ScrollArea } from \"./components/scroll-area\";\nexport type { ScrollAreaProps } from \"./components/scroll-area\";\n\n// ── data-table suite ─────────────────────────────────────────────────────────\nexport * from \"./components/data-table-labels\";\nexport * from \"./components/data-table-sort\";\nexport * from \"./components/data-table-filters\";\nexport * from \"./components/data-table-pagination\";\nexport { FilterPopover } from \"./components/data-table-filter-popover\";\n// data-table re-exports SortState internally; export the rest explicitly to\n// avoid a duplicate SortState star-export (it comes from data-table-sort).\nexport { DataTable } from \"./components/data-table\";\nexport type {\n DataTableColumn,\n DataTableProps,\n ServerPagination,\n FilterState,\n MobileSwipeActions,\n DataTableDensity,\n DataTableChrome,\n} from \"./components/data-table\";\n\n// ── shell (composable app chrome) ────────────────────────────────────────────\nexport * from \"./shell/topbar-controls\";\nexport * from \"./shell/top-bar\";\nexport * from \"./shell/app-shell\";\nexport * from \"./shell/option-switcher-menu\";\nexport * from \"./shell/role-switcher\";\nexport * from \"./shell/topbar-action-menu\";\n\n// ── feedback ─────────────────────────────────────────────────────────────────\n// The form somebody files a report with, and the parts an inbox is built from:\n// the status vocabulary both apps share value for value, the policy about what a\n// row may move to from where it stands, and the look of a status control, a\n// category badge and an opened report. The app still wires its own API, columns\n// and strings — see the note at the top of `feedback-inbox.tsx` for what is\n// deliberately left to it.\nexport * from \"./feedback/feedback-attachment\";\nexport * from \"./feedback/feedback-dialog\";\nexport * from \"./feedback/feedback-inbox\";\n\n// ── multi-step wizard ────────────────────────────────────────────────────────\n// The engine (step machine, validators, collected data), the chrome around it\n// (indicator + nav bar + cancel confirm) and the review step it ends on.\n// `components/wizard-stepper` next door is a different, much smaller thing: a bare\n// step indicator for a two-step import flow, with no engine.\n//\n// Two modules were removed here rather than kept as stock. `wizard-field` held a\n// `WizardField`/`WizardSelectField` pair that had never been rendered in any app —\n// a field group nothing was built from, which this comment used to advertise. And\n// `use-rhf-wizard-step` was the only thing in the package that touched\n// react-hook-form, for a hook neither consumer called: keeping it meant an optional\n// peer, a dev dependency and a type import in every consumer's typecheck, bought\n// for nobody. A design system may carry stock; untested stock nothing has ever\n// rendered is not stock, it is a liability with an export.\nexport * from \"./wizard/types\";\nexport * from \"./wizard/use-wizard\";\nexport * from \"./wizard/wizard-context\";\nexport * from \"./wizard/validation\";\nexport * from \"./wizard/wizard-step\";\nexport * from \"./wizard/wizard-summary\";\nexport * from \"./wizard/stepper-nav\";\n\n// ── guided tours ─────────────────────────────────────────────────────────────\nexport * from \"./tour/tour\";\n\n// ── command palette / global search ──────────────────────────────────────────\nexport * from \"./search/command-palette\";\n\n// ── i18n: one label tree, one optional provider ──────────────────────────────\n// `UiKitLabels` names every string the kit renders; `<UiKitProvider labels locale>`\n// hands a translation to every component below it. Precedence: a component's own\n// prop > the provider > the English default. See src/i18n/kit-labels.tsx.\nexport * from \"./i18n/kit-labels\";\nexport * from \"./i18n/defaults\";\n"],"mappings":";AAMA,cAAc;AACd,SAAS,UAAU;AACnB,SAAS,QAAQ,mBAAmB;AAIpC,SAAS,qBAAqB;AAC9B,SAAS,yBAAyB;AAClC,SAAS,uBAAuB;AAEhC,SAAS,kBAAkB,wBAAwB,yBAAyB;AAM5E,SAAS,cAAc,uBAAuB;AAI9C,SAAS,oBAAoB;AAE7B,SAAS,mBAAmB;AAE5B,SAAS,yBAAyB;AAClC,SAAS,oBAAoB,uBAAuB;AACpD,SAAS,mBAAmB;AAG5B,SAAS,aAAa,oBAAoB;AAG1C,SAAS,aAAa,4BAA4B;AAGlD,SAAS,oBAA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]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// @eifi1/ui-kit — shared design-system barrel.\n//\n// Domain-free UI + theme surface shared across apps (lead app: Keksdose). Consumers import\n// components/theme from \"@eifi1/ui-kit\" and the token stylesheet from \"@eifi1/ui-kit/tokens.css\".\n\n// ── lib ────────────────────────────────────────────────────────────────────\nexport * from \"./lib/calc\";\nexport { cn } from \"./lib/cn\";\nexport { logger, setStoreLog } from \"./lib/logger\";\n// Date helpers are also available via the \"@eifi1/ui-kit/dates\" subpath.\n\n// ── hooks ────────────────────────────────────────────────────────────────────\nexport { useMediaQuery } from \"./hooks/use-media-query\";\nexport { useBodyScrollLock } from \"./hooks/use-body-scroll-lock\";\nexport { useAnchoredRect } from \"./hooks/use-anchored-rect\";\nexport type { AnchorRect } from \"./hooks/use-anchored-rect\";\nexport { useAnchoredPanel, anchoredPanelPlacement, useVisualViewport } from \"./hooks/use-anchored-panel\";\nexport type {\n AnchoredPanel,\n AnchoredPanelOptions,\n ViewportBox,\n} from \"./hooks/use-anchored-panel\";\nexport { useEscapeKey, useOutsideClick } from \"./hooks/use-dismiss\";\n// Focus containment for an overlay, and a live region for a change that moves no focus.\n// Both were extracted from the two components that already did them correctly (Modal and\n// CommandPalette) so the rest of the kit stops being the exception.\nexport { useFocusTrap } from \"./hooks/use-focus-trap\";\nexport type { FocusTrapOptions } from \"./hooks/use-focus-trap\";\nexport { useAnnounce } from \"./hooks/use-announce\";\nexport type { UseAnnounceReturn, UseAnnounceOptions, AnnounceRegionProps } from \"./hooks/use-announce\";\nexport { useOverlayHistory } from \"./hooks/use-overlay-history\";\nexport { useCloseTransition, OVERLAY_EXIT_MS } from \"./hooks/use-close-transition\";\nexport { useRowSwipe } from \"./hooks/use-row-swipe\";\nexport type { SwipeStage, RowSwipeOptions, RowSwipeReturn } from \"./hooks/use-row-swipe\";\n// Any element as a file drop target, screened like FileButton (kastlan).\nexport { useFileDrop, dragHasFiles } from \"./hooks/use-file-drop\";\nexport type { UseFileDropOptions, UseFileDropReturn, FileDropProps } from \"./hooks/use-file-drop\";\n// kastlan's search boxes each carried a hand-rolled copy, two without the cleanup.\nexport { useDebounce, useDebouncedCallback } from \"./hooks/use-debounce\";\nexport type { DebouncedCallbackOptions, DebouncedFunction } from \"./hooks/use-debounce\";\n// Copy that reports whether it worked — keksdose's copy buttons said \"Copied\" when it had not.\nexport { useCopyToClipboard, copyToClipboard } from \"./hooks/use-copy-to-clipboard\";\nexport type { CopyState, UseCopyToClipboardOptions, UseCopyToClipboardReturn } from \"./hooks/use-copy-to-clipboard\";\n\n// ── theme / palettes ─────────────────────────────────────────────────────────\nexport * from \"./theme/chart-palette\";\n// Colour maths (sRGB ↔ OKLCH, WCAG contrast, CVD simulation) and the palette deriver\n// that builds a whole, contrast-solved palette from one brand colour plus any colours\n// pinned by hand. `auditPalette` / `auditChartRamp` measure a palette rather than\n// trusting a comment about it.\nexport * from \"./theme/color\";\nexport * from \"./theme/palette-derive\";\nexport * from \"./theme/palette-presets\";\nexport * from \"./theme/theme-store\";\nexport * from \"./theme/palette-store\";\n\n// ── components ───────────────────────────────────────────────────────────────\nexport * from \"./components/ui\";\nexport * from \"./components/search-field\";\nexport * from \"./components/dropdown\";\nexport * from \"./components/popover\";\nexport { SwipeableRow } from \"./components/swipeable-row\";\nexport type { SwipeAction, SwipeableRowProps } from \"./components/swipeable-row\";\nexport * from \"./components/calculator\";\nexport * from \"./components/numpad-sheet\";\nexport * from \"./components/number-input\";\nexport * from \"./components/currency-select\";\nexport * from \"./components/amount-input\";\nexport * from \"./components/combobox\";\nexport * from \"./components/picker-sheet\";\nexport * from \"./components/entity-combobox\";\nexport * from \"./components/multi-entity-combobox\";\nexport * from \"./components/multi-select\";\nexport * from \"./components/tooltip\";\nexport * from \"./components/user-avatar\";\nexport * from \"./components/settings-fields\";\n// Sync state for a database-backed field: the engine (`useFieldSync`) and the\n// affordance (`FieldSyncIndicator`), kept separate because the state is useful\n// without the dot — a form can gate its submit on any field being `pending`.\nexport * from \"./components/field-sync\";\nexport * from \"./components/month-picker\";\nexport * from \"./components/checkbox\";\nexport * from \"./components/switch\";\nexport * from \"./components/slider\";\nexport * from \"./components/time-input\";\nexport * from \"./components/number-field\";\nexport * from \"./components/sparkline\";\nexport * from \"./components/stat-tile\";\nexport * from \"./components/signature-pad\";\nexport * from \"./components/password-strength\";\nexport * from \"./components/page-contents\";\nexport * from \"./components/disclosure\";\nexport * from \"./components/dialog-frame\";\nexport * from \"./components/danger-confirm\";\n// `useConfirm()` — the promise-based replacement for `window.confirm`, one host per app.\nexport * from \"./components/confirm-dialog\";\n// A non-modal corner panel and its round trigger (keksdose's assistant launcher).\nexport * from \"./components/floating-panel\";\nexport * from \"./components/swatch-picker\";\nexport * from \"./components/icon-picker\";\nexport * from \"./components/choice-card\";\nexport * from \"./components/autocomplete\";\nexport * from \"./components/measured-grid\";\nexport { useWindowedRows } from \"./hooks/use-windowed-rows\";\nexport type { WindowedRows } from \"./hooks/use-windowed-rows\";\n// Named, not `export *`: file-button.tsx also holds the screening helpers the\n// dropzone shares, which are internal.\nexport { FileButton, useFilePicker, matchesAccept, DEFAULT_FILE_PICKER_LABELS } from \"./components/file-button\";\nexport type {\n FileButtonProps,\n UseFilePickerOptions,\n UseFilePickerReturn,\n FilePickerLabels,\n FileRejection,\n FileRejectionReason,\n FileScreenOptions,\n} from \"./components/file-button\";\nexport * from \"./components/treemap\";\nexport * from \"./components/series-chart\";\nexport * from \"./components/chart-zoom\";\nexport * from \"./components/toggle-legend\";\nexport * from \"./components/facing-pair\";\nexport * from \"./components/series-chart-labels\";\nexport * from \"./components/account-settings\";\nexport * from \"./components/alert-banner\";\nexport * from \"./components/toggle-group\";\n// A pill carrying one VALUE — inert, a link, or a toggle, depending on which prop it is\n// given — and the list field built from it. Distinct from Button on purpose: a row of\n// buttons reads as \"choose an action\", a row of chips as \"here are the things\".\nexport * from \"./components/chip\";\nexport * from \"./components/wizard-stepper\";\nexport * from \"./components/hover-menu\";\nexport * from \"./components/modal\";\nexport * from \"./components/full-bleed-dialog\";\nexport * from \"./components/grouped-picker\";\nexport * from \"./components/file-dropzone\";\nexport * from \"./components/mini-calendar\";\nexport * from \"./components/date-picker\";\nexport * from \"./components/tree-view\";\nexport * from \"./components/chart\";\n// 0.8.0 layout and feedback primitives the apps hand-rolled or took from shadcn/Radix.\nexport * from \"./components/description-list\";\nexport * from \"./components/progress-bar\";\n// Named: skeleton.tsx also holds SKELETON_CLASS, the look StatTile shares — internal.\nexport { Skeleton } from \"./components/skeleton\";\nexport type { SkeletonProps, SkeletonShape } from \"./components/skeleton\";\nexport * from \"./components/copy-button\";\nexport * from \"./components/button-group\";\nexport * from \"./components/table\";\nexport * from \"./components/separator\";\n// Named: scroll-area.tsx also holds the overflow hook and scrollbar class Table shares.\nexport { ScrollArea } from \"./components/scroll-area\";\nexport type { ScrollAreaProps } from \"./components/scroll-area\";\n\n// ── data-table suite ─────────────────────────────────────────────────────────\nexport * from \"./components/data-table-labels\";\nexport * from \"./components/data-table-sort\";\nexport * from \"./components/data-table-filters\";\nexport * from \"./components/data-table-pagination\";\nexport { FilterPopover } from \"./components/data-table-filter-popover\";\n// data-table re-exports SortState internally; export the rest explicitly to\n// avoid a duplicate SortState star-export (it comes from data-table-sort).\nexport { DataTable } from \"./components/data-table\";\nexport type {\n DataTableColumn,\n DataTableCellProps,\n DataTableHeadProps,\n DataTableProps,\n ServerPagination,\n FilterState,\n MobileSwipeActions,\n DataTableDensity,\n DataTableChrome,\n} from \"./components/data-table\";\n\n// ── shell (composable app chrome) ────────────────────────────────────────────\nexport * from \"./shell/topbar-controls\";\nexport * from \"./shell/top-bar\";\nexport * from \"./shell/app-shell\";\nexport * from \"./shell/option-switcher-menu\";\nexport * from \"./shell/role-switcher\";\nexport * from \"./shell/topbar-action-menu\";\n\n// ── feedback ─────────────────────────────────────────────────────────────────\n// The form somebody files a report with, and the parts an inbox is built from:\n// the status vocabulary both apps share value for value, the policy about what a\n// row may move to from where it stands, and the look of a status control, a\n// category badge and an opened report. The app still wires its own API, columns\n// and strings — see the note at the top of `feedback-inbox.tsx` for what is\n// deliberately left to it.\nexport * from \"./feedback/feedback-attachment\";\nexport * from \"./feedback/feedback-dialog\";\nexport * from \"./feedback/feedback-inbox\";\n\n// ── multi-step wizard ────────────────────────────────────────────────────────\n// The engine (step machine, validators, collected data), the chrome around it\n// (indicator + nav bar + cancel confirm) and the review step it ends on.\n// `components/wizard-stepper` next door is a different, much smaller thing: a bare\n// step indicator for a two-step import flow, with no engine.\n//\n// Two modules were removed here rather than kept as stock. `wizard-field` held a\n// `WizardField`/`WizardSelectField` pair that had never been rendered in any app —\n// a field group nothing was built from, which this comment used to advertise. And\n// `use-rhf-wizard-step` was the only thing in the package that touched\n// react-hook-form, for a hook neither consumer called: keeping it meant an optional\n// peer, a dev dependency and a type import in every consumer's typecheck, bought\n// for nobody. A design system may carry stock; untested stock nothing has ever\n// rendered is not stock, it is a liability with an export.\nexport * from \"./wizard/types\";\nexport * from \"./wizard/use-wizard\";\nexport * from \"./wizard/wizard-context\";\nexport * from \"./wizard/validation\";\nexport * from \"./wizard/wizard-step\";\nexport * from \"./wizard/wizard-summary\";\nexport * from \"./wizard/stepper-nav\";\n\n// ── guided tours ─────────────────────────────────────────────────────────────\nexport * from \"./tour/tour\";\n\n// ── command palette / global search ──────────────────────────────────────────\nexport * from \"./search/command-palette\";\nexport * from \"./search/search-index\";\nexport * from \"./search/global-search\";\n\n// ── i18n: one label tree, one optional provider ──────────────────────────────\n// `UiKitLabels` names every string the kit renders; `<UiKitProvider labels locale>`\n// hands a translation to every component below it. Precedence: a component's own\n// prop > the provider > the English default. See src/i18n/kit-labels.tsx.\nexport * from \"./i18n/kit-labels\";\nexport * from \"./i18n/defaults\";\n"],"mappings":";AAMA,cAAc;AACd,SAAS,UAAU;AACnB,SAAS,QAAQ,mBAAmB;AAIpC,SAAS,qBAAqB;AAC9B,SAAS,yBAAyB;AAClC,SAAS,uBAAuB;AAEhC,SAAS,kBAAkB,wBAA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c1B,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AASd,cAAc;AACd,cAAc;AACd,cAAc;AAgBd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;AAMd,cAAc;AACd,cAAc;","names":[]}
@@ -20,6 +20,18 @@ interface CommandItem {
20
20
  * with a link and JavaScript cannot fake — the rejected alternative, an
21
21
  * `onAuxClick` calling `window.open`, gets the middle click and nothing else. */
22
22
  href?: string;
23
+ /** Marks this row's label and hint `data-private`, so session replay and screenshot
24
+ * tooling masks them — a payee, an account name, an amount. Overrides the palette's
25
+ * {@link CommandPaletteProps.redactLabels} either way, so `false` un-masks one
26
+ * harmless row ("Settings") in a palette that masks by default. */
27
+ redact?: boolean;
28
+ /**
29
+ * `"status"` makes the row a line of text rather than a choice — a group's
30
+ * "Searching…" while its source is still out, or its error. It is skipped by the
31
+ * arrow keys and ↵, has no hover highlight, and its `onSelect` is never called.
32
+ * Default `"option"`.
33
+ */
34
+ kind?: "option" | "status";
23
35
  }
24
36
  interface CommandPaletteLabels {
25
37
  placeholder: string;
@@ -41,6 +53,13 @@ interface CommandPaletteLabels {
41
53
  * rejects. Optional for the same reason as `dialog`; the default always carries it.
42
54
  */
43
55
  error?: string;
56
+ /** Names the "×" that empties the field. Optional like `dialog`. */
57
+ clear?: string;
58
+ /** Names the button that commits the typed text when `searchOn="submit"`. */
59
+ submit?: string;
60
+ /** Names the close button of the full-screen phone presentation, which has no
61
+ * backdrop to tap and, on a phone, no Escape key. */
62
+ close?: string;
44
63
  }
45
64
  declare const DEFAULT_COMMAND_PALETTE_LABELS: CommandPaletteLabels;
46
65
  interface CommandPaletteProps {
@@ -85,6 +104,35 @@ interface CommandPaletteProps {
85
104
  /** Every edit of the field's text. Fires in both modes — uncontrolled, it only
86
105
  * observes. */
87
106
  onQueryChange?: (query: string) => void;
107
+ /**
108
+ * When the typed text becomes THE query — the one `search` runs on and
109
+ * `onQueryChange` reports.
110
+ *
111
+ * - `"input"` (default): every keystroke, debounced for the search, as before.
112
+ * - `"submit"`: typing edits a draft; the query is committed by ↵ or the submit
113
+ * button beside the field. Until then the results stay on the last committed query
114
+ * and `onQueryChange` stays quiet — which is what an owner binding `query` to the
115
+ * URL's `q` needs, or every keystroke re-filters the page behind and pushes history.
116
+ * ↵ with a draft that differs from the committed query COMMITS; ↵ with nothing new
117
+ * typed chooses the highlighted row, as in `"input"` mode. The draft follows any
118
+ * outside change of the committed query (Back through the URL), and an uncommitted
119
+ * draft is dropped when the palette is closed.
120
+ *
121
+ * The clear "×" commits the empty query in both modes: an emptied box over results
122
+ * (or a page) still filtered by the old text is the stuck state Keksdose #423 was.
123
+ */
124
+ searchOn?: "input" | "submit";
125
+ /** Mark every row's label and hint `data-private` (see {@link CommandItem.redact},
126
+ * which overrides it per row). Off by default. */
127
+ redactLabels?: boolean;
128
+ /**
129
+ * Below the phone breakpoint ({@link PHONE_QUERY}) the palette fills the screen:
130
+ * no inset, no rounded panel, the field pinned at the top inside the safe areas and
131
+ * the list scrolling under it, with a close button since there is no backdrop to tap.
132
+ * On by default — a top-centred card at 70vh leaves little room once the keyboard is
133
+ * up. `false` keeps the card on every viewport.
134
+ */
135
+ fullScreenOnPhone?: boolean;
88
136
  labels?: Partial<CommandPaletteLabels>;
89
137
  }
90
138
  /** Registers a global ⌘K / Ctrl-K shortcut that calls `onOpen`. */
@@ -95,6 +143,6 @@ declare function useCommandKey(onOpen: () => void): void;
95
143
  * results via the `search` provider (pages, actions, records, …); each result
96
144
  * carries its own `onSelect`.
97
145
  */
98
- declare function CommandPalette({ open, onClose, search, revision, query: queryProp, onQueryChange, labels, }: CommandPaletteProps): react.ReactPortal | null;
146
+ declare function CommandPalette({ open, onClose, search, revision, query: queryProp, onQueryChange, searchOn, redactLabels, fullScreenOnPhone, labels, }: CommandPaletteProps): react.ReactPortal | null;
99
147
 
100
148
  export { type CommandItem, CommandPalette, type CommandPaletteLabels, DEFAULT_COMMAND_PALETTE_LABELS, useCommandKey };