@keepkit/ui 0.28.12 → 0.28.14

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.
package/dist/index.js CHANGED
@@ -129,6 +129,7 @@ var DE_LABELS = {
129
129
  error: "Ein Fehler ist aufgetreten.",
130
130
  allTags: "Alle",
131
131
  tags: "Tags",
132
+ title: "Titel",
132
133
  filterTags: "Gespeicherte Elemente nach Tag filtern",
133
134
  activeFilters: "Aktive Filter",
134
135
  clearFilters: "Filter l\xF6schen",
@@ -160,6 +161,8 @@ var DE_LABELS = {
160
161
  deleteSelected: "Auswahl l\xF6schen",
161
162
  tagsToApply: "Anzuwendende Tags",
162
163
  applyTags: "Tags anwenden",
164
+ addTags: "Tags hinzuf\xFCgen",
165
+ removeTags: "Tags entfernen",
163
166
  savedMessage: "Element gespeichert.",
164
167
  removedMessage: "Element entfernt.",
165
168
  restoredMessage: "Element wiederhergestellt.",
@@ -177,6 +180,7 @@ var DE_LABELS = {
177
180
  statusAvailable: "Verf\xFCgbar",
178
181
  noteSavedMessage: "Notiz gespeichert.",
179
182
  exportData: "JSON exportieren",
183
+ exportMarkdown: "Markdown exportieren",
180
184
  importData: "JSON importieren",
181
185
  importMode: "Importmodus",
182
186
  merge: "Zusammenf\xFChren",
@@ -247,6 +251,8 @@ var DE_LABELS = {
247
251
  savedViewInvalidDates: "Datumsfilter m\xFCssen g\xFCltige Datumswerte verwenden.",
248
252
  confirmRemoval: "L\xF6schen best\xE4tigen",
249
253
  confirmRemovalDescription: "Diese Eintr\xE4ge l\xF6schen?",
254
+ confirmReplace: "Ersetzen best\xE4tigen",
255
+ confirmReplaceDescription: "Aktuelle gespeicherte Daten durch dieses Backup ersetzen?",
250
256
  fallbackRecovery: "Speicherwiederherstellung",
251
257
  inspectRecovery: "Gespeicherte Daten vergleichen",
252
258
  recoveryPrimary: "Prim\xE4rer Speicher",
@@ -301,6 +307,7 @@ var EN_LABELS = {
301
307
  error: "Something went wrong.",
302
308
  allTags: "All",
303
309
  tags: "Tags",
310
+ title: "Title",
304
311
  filterTags: "Filter saved items by tag",
305
312
  activeFilters: "Active filters",
306
313
  clearFilters: "Clear filters",
@@ -332,6 +339,8 @@ var EN_LABELS = {
332
339
  deleteSelected: "Delete selected",
333
340
  tagsToApply: "Tags to apply",
334
341
  applyTags: "Apply tags",
342
+ addTags: "Add tags",
343
+ removeTags: "Remove tags",
335
344
  savedMessage: "Item saved.",
336
345
  removedMessage: "Item removed.",
337
346
  restoredMessage: "Item restored.",
@@ -349,6 +358,7 @@ var EN_LABELS = {
349
358
  statusAvailable: "Available",
350
359
  noteSavedMessage: "Note saved.",
351
360
  exportData: "Export JSON",
361
+ exportMarkdown: "Export Markdown",
352
362
  importData: "Import JSON",
353
363
  importMode: "Import mode",
354
364
  merge: "Merge",
@@ -419,6 +429,8 @@ var EN_LABELS = {
419
429
  savedViewInvalidDates: "Saved View date filters must use valid timestamps.",
420
430
  confirmRemoval: "Confirm removal",
421
431
  confirmRemovalDescription: "Delete these items?",
432
+ confirmReplace: "Confirm replace",
433
+ confirmReplaceDescription: "Replace your current library with this backup?",
422
434
  fallbackRecovery: "Storage recovery",
423
435
  inspectRecovery: "Compare saved data",
424
436
  recoveryPrimary: "Primary storage",
@@ -473,6 +485,7 @@ var ES_LABELS = {
473
485
  error: "Se produjo un error.",
474
486
  allTags: "Todos",
475
487
  tags: "Etiquetas",
488
+ title: "T\xEDtulo",
476
489
  filterTags: "Filtrar elementos guardados por etiqueta",
477
490
  activeFilters: "Filtros activos",
478
491
  clearFilters: "Borrar filtros",
@@ -504,6 +517,8 @@ var ES_LABELS = {
504
517
  deleteSelected: "Eliminar seleccionados",
505
518
  tagsToApply: "Etiquetas que aplicar",
506
519
  applyTags: "Aplicar etiquetas",
520
+ addTags: "A\xF1adir etiquetas",
521
+ removeTags: "Quitar etiquetas",
507
522
  savedMessage: "Elemento guardado.",
508
523
  removedMessage: "Elemento eliminado.",
509
524
  restoredMessage: "Elemento restaurado.",
@@ -521,6 +536,7 @@ var ES_LABELS = {
521
536
  statusAvailable: "Disponible",
522
537
  noteSavedMessage: "Nota guardada.",
523
538
  exportData: "Exportar JSON",
539
+ exportMarkdown: "Exportar Markdown",
524
540
  importData: "Importar JSON",
525
541
  importMode: "Modo de importaci\xF3n",
526
542
  merge: "Combinar",
@@ -591,6 +607,8 @@ var ES_LABELS = {
591
607
  savedViewInvalidDates: "Los filtros de fecha deben usar fechas v\xE1lidas.",
592
608
  confirmRemoval: "Confirmar eliminaci\xF3n",
593
609
  confirmRemovalDescription: "\xBFEliminar estos elementos?",
610
+ confirmReplace: "Confirmar reemplazo",
611
+ confirmReplaceDescription: "\xBFReemplazar los datos guardados actuales con esta copia de seguridad?",
594
612
  fallbackRecovery: "Recuperaci\xF3n del almacenamiento",
595
613
  inspectRecovery: "Comparar datos guardados",
596
614
  recoveryPrimary: "Almacenamiento principal",
@@ -645,6 +663,7 @@ var FIL_LABELS = {
645
663
  error: "May naganap na error.",
646
664
  allTags: "Lahat",
647
665
  tags: "Mga tag",
666
+ title: "Pamagat",
648
667
  filterTags: "I-filter ang mga naka-save na item ayon sa tag",
649
668
  activeFilters: "Mga aktibong filter",
650
669
  clearFilters: "I-clear ang mga filter",
@@ -676,6 +695,8 @@ var FIL_LABELS = {
676
695
  deleteSelected: "Tanggalin ang napili",
677
696
  tagsToApply: "Mga tag na ilalapat",
678
697
  applyTags: "Ilapat ang mga tag",
698
+ addTags: "Magdagdag ng mga tag",
699
+ removeTags: "Alisin ang mga tag",
679
700
  savedMessage: "Na-save ang item.",
680
701
  removedMessage: "Inalis ang item.",
681
702
  restoredMessage: "Naibalik ang item.",
@@ -693,6 +714,7 @@ var FIL_LABELS = {
693
714
  statusAvailable: "Available",
694
715
  noteSavedMessage: "Na-save ang tala.",
695
716
  exportData: "I-export ang JSON",
717
+ exportMarkdown: "I-export ang Markdown",
696
718
  importData: "I-import ang JSON",
697
719
  importMode: "Mode ng pag-import",
698
720
  merge: "Pagsamahin",
@@ -763,6 +785,8 @@ var FIL_LABELS = {
763
785
  savedViewInvalidDates: "Dapat gumamit ng wastong petsa ang mga filter ng petsa.",
764
786
  confirmRemoval: "Kumpirmahin ang pagtanggal",
765
787
  confirmRemovalDescription: "Tanggalin ang mga item na ito?",
788
+ confirmReplace: "Kumpirmahin ang pagpapalit",
789
+ confirmReplaceDescription: "Palitan ang kasalukuyang data gamit ang backup na ito?",
766
790
  fallbackRecovery: "Pagbawi ng storage",
767
791
  inspectRecovery: "Ihambing ang naka-save na data",
768
792
  recoveryPrimary: "Pangunahing storage",
@@ -817,6 +841,7 @@ var FR_LABELS = {
817
841
  error: "Une erreur s\u2019est produite.",
818
842
  allTags: "Tous",
819
843
  tags: "\xC9tiquettes",
844
+ title: "Titre",
820
845
  filterTags: "Filtrer les \xE9l\xE9ments enregistr\xE9s par \xE9tiquette",
821
846
  activeFilters: "Filtres actifs",
822
847
  clearFilters: "Effacer les filtres",
@@ -848,6 +873,8 @@ var FR_LABELS = {
848
873
  deleteSelected: "Supprimer la s\xE9lection",
849
874
  tagsToApply: "\xC9tiquettes \xE0 appliquer",
850
875
  applyTags: "Appliquer les \xE9tiquettes",
876
+ addTags: "Ajouter des \xE9tiquettes",
877
+ removeTags: "Retirer des \xE9tiquettes",
851
878
  savedMessage: "\xC9l\xE9ment enregistr\xE9.",
852
879
  removedMessage: "\xC9l\xE9ment supprim\xE9.",
853
880
  restoredMessage: "\xC9l\xE9ment restaur\xE9.",
@@ -865,6 +892,7 @@ var FR_LABELS = {
865
892
  statusAvailable: "Disponible",
866
893
  noteSavedMessage: "Note enregistr\xE9e.",
867
894
  exportData: "Exporter JSON",
895
+ exportMarkdown: "Exporter Markdown",
868
896
  importData: "Importer JSON",
869
897
  importMode: "Mode d\u2019importation",
870
898
  merge: "Fusionner",
@@ -935,6 +963,8 @@ var FR_LABELS = {
935
963
  savedViewInvalidDates: "Les filtres de date doivent utiliser des dates valides.",
936
964
  confirmRemoval: "Confirmer la suppression",
937
965
  confirmRemovalDescription: "Supprimer ces \xE9l\xE9ments ?",
966
+ confirmReplace: "Confirmer le remplacement",
967
+ confirmReplaceDescription: "Remplacer les donn\xE9es actuelles par cette sauvegarde ?",
938
968
  fallbackRecovery: "R\xE9cup\xE9ration du stockage",
939
969
  inspectRecovery: "Comparer les donn\xE9es enregistr\xE9es",
940
970
  recoveryPrimary: "Stockage principal",
@@ -989,6 +1019,7 @@ var ID_LABELS = {
989
1019
  error: "Terjadi kesalahan.",
990
1020
  allTags: "Semua",
991
1021
  tags: "Tag",
1022
+ title: "Judul",
992
1023
  filterTags: "Filter item tersimpan berdasarkan tag",
993
1024
  activeFilters: "Filter aktif",
994
1025
  clearFilters: "Hapus filter",
@@ -1020,6 +1051,8 @@ var ID_LABELS = {
1020
1051
  deleteSelected: "Hapus yang dipilih",
1021
1052
  tagsToApply: "Tag yang akan diterapkan",
1022
1053
  applyTags: "Terapkan tag",
1054
+ addTags: "Tambah tag",
1055
+ removeTags: "Hapus tag",
1023
1056
  savedMessage: "Item tersimpan.",
1024
1057
  removedMessage: "Item dihapus.",
1025
1058
  restoredMessage: "Item dipulihkan.",
@@ -1037,6 +1070,7 @@ var ID_LABELS = {
1037
1070
  statusAvailable: "Tersedia",
1038
1071
  noteSavedMessage: "Catatan tersimpan.",
1039
1072
  exportData: "Ekspor JSON",
1073
+ exportMarkdown: "Ekspor Markdown",
1040
1074
  importData: "Impor JSON",
1041
1075
  importMode: "Mode impor",
1042
1076
  merge: "Gabungkan",
@@ -1107,6 +1141,8 @@ var ID_LABELS = {
1107
1141
  savedViewInvalidDates: "Filter tanggal harus menggunakan tanggal yang valid.",
1108
1142
  confirmRemoval: "Konfirmasi penghapusan",
1109
1143
  confirmRemovalDescription: "Hapus item ini?",
1144
+ confirmReplace: "Konfirmasi penggantian",
1145
+ confirmReplaceDescription: "Ganti data saat ini dengan cadangan ini?",
1110
1146
  fallbackRecovery: "Pemulihan penyimpanan",
1111
1147
  inspectRecovery: "Bandingkan data tersimpan",
1112
1148
  recoveryPrimary: "Penyimpanan utama",
@@ -1161,6 +1197,7 @@ var IT_LABELS = {
1161
1197
  error: "Si \xE8 verificato un errore.",
1162
1198
  allTags: "Tutti",
1163
1199
  tags: "Tag",
1200
+ title: "Titolo",
1164
1201
  filterTags: "Filtra gli elementi salvati per tag",
1165
1202
  activeFilters: "Filtri attivi",
1166
1203
  clearFilters: "Cancella filtri",
@@ -1192,6 +1229,8 @@ var IT_LABELS = {
1192
1229
  deleteSelected: "Elimina selezionati",
1193
1230
  tagsToApply: "Tag da applicare",
1194
1231
  applyTags: "Applica tag",
1232
+ addTags: "Aggiungi tag",
1233
+ removeTags: "Rimuovi tag",
1195
1234
  savedMessage: "Elemento salvato.",
1196
1235
  removedMessage: "Elemento rimosso.",
1197
1236
  restoredMessage: "Elemento ripristinato.",
@@ -1209,6 +1248,7 @@ var IT_LABELS = {
1209
1248
  statusAvailable: "Disponibile",
1210
1249
  noteSavedMessage: "Nota salvata.",
1211
1250
  exportData: "Esporta JSON",
1251
+ exportMarkdown: "Esporta Markdown",
1212
1252
  importData: "Importa JSON",
1213
1253
  importMode: "Modalit\xE0 di importazione",
1214
1254
  merge: "Unisci",
@@ -1279,6 +1319,8 @@ var IT_LABELS = {
1279
1319
  savedViewInvalidDates: "I filtri data devono usare date valide.",
1280
1320
  confirmRemoval: "Conferma eliminazione",
1281
1321
  confirmRemovalDescription: "Eliminare questi elementi?",
1322
+ confirmReplace: "Conferma sostituzione",
1323
+ confirmReplaceDescription: "Sostituire i dati attuali con questo backup?",
1282
1324
  fallbackRecovery: "Ripristino dello storage",
1283
1325
  inspectRecovery: "Confronta i dati salvati",
1284
1326
  recoveryPrimary: "Storage principale",
@@ -1333,6 +1375,7 @@ var JA_LABELS = {
1333
1375
  error: "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",
1334
1376
  allTags: "\u3059\u3079\u3066",
1335
1377
  tags: "\u30BF\u30B0",
1378
+ title: "\u30BF\u30A4\u30C8\u30EB",
1336
1379
  filterTags: "\u4FDD\u5B58\u30A2\u30A4\u30C6\u30E0\u3092\u30BF\u30B0\u3067\u7D5E\u308A\u8FBC\u3080",
1337
1380
  activeFilters: "\u9069\u7528\u4E2D\u306E\u6761\u4EF6",
1338
1381
  clearFilters: "\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u30AF\u30EA\u30A2",
@@ -1364,6 +1407,8 @@ var JA_LABELS = {
1364
1407
  deleteSelected: "\u9078\u629E\u9805\u76EE\u3092\u524A\u9664",
1365
1408
  tagsToApply: "\u9069\u7528\u3059\u308B\u30BF\u30B0",
1366
1409
  applyTags: "\u30BF\u30B0\u3092\u9069\u7528",
1410
+ addTags: "\u30BF\u30B0\u3092\u8FFD\u52A0",
1411
+ removeTags: "\u30BF\u30B0\u3092\u89E3\u9664",
1367
1412
  savedMessage: "\u30A2\u30A4\u30C6\u30E0\u3092\u4FDD\u5B58\u3057\u307E\u3057\u305F\u3002",
1368
1413
  removedMessage: "\u30A2\u30A4\u30C6\u30E0\u3092\u524A\u9664\u3057\u307E\u3057\u305F\u3002",
1369
1414
  restoredMessage: "\u30A2\u30A4\u30C6\u30E0\u3092\u5FA9\u5143\u3057\u307E\u3057\u305F\u3002",
@@ -1381,6 +1426,7 @@ var JA_LABELS = {
1381
1426
  statusAvailable: "\u5229\u7528\u53EF\u80FD",
1382
1427
  noteSavedMessage: "\u30E1\u30E2\u3092\u4FDD\u5B58\u3057\u307E\u3057\u305F\u3002",
1383
1428
  exportData: "JSON\u3092\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",
1429
+ exportMarkdown: "Markdown\u3092\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",
1384
1430
  importData: "JSON\u3092\u30A4\u30F3\u30DD\u30FC\u30C8",
1385
1431
  importMode: "\u30A4\u30F3\u30DD\u30FC\u30C8\u65B9\u6CD5",
1386
1432
  merge: "\u7D71\u5408",
@@ -1451,6 +1497,8 @@ var JA_LABELS = {
1451
1497
  savedViewInvalidDates: "\u691C\u7D22\u6761\u4EF6\u306E\u65E5\u4ED8\u306B\u306F\u6709\u52B9\u306A\u65E5\u6642\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
1452
1498
  confirmRemoval: "\u524A\u9664\u306E\u78BA\u8A8D",
1453
1499
  confirmRemovalDescription: "\u9078\u629E\u3057\u305F\u9805\u76EE\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",
1500
+ confirmReplace: "\u7F6E\u304D\u63DB\u3048\u306E\u78BA\u8A8D",
1501
+ confirmReplaceDescription: "\u73FE\u5728\u306E\u4FDD\u5B58\u30C7\u30FC\u30BF\u3092\u3053\u306E\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3067\u7F6E\u304D\u63DB\u3048\u307E\u3059\u304B\uFF1F",
1454
1502
  fallbackRecovery: "\u4FDD\u5B58\u30C7\u30FC\u30BF\u306E\u5FA9\u65E7",
1455
1503
  inspectRecovery: "\u4FDD\u5B58\u5143\u3092\u6BD4\u8F03",
1456
1504
  recoveryPrimary: "\u4E3B\u30B9\u30C8\u30EC\u30FC\u30B8",
@@ -1505,6 +1553,7 @@ var KO_LABELS = {
1505
1553
  error: "\uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.",
1506
1554
  allTags: "\uBAA8\uB450",
1507
1555
  tags: "\uD0DC\uADF8",
1556
+ title: "\uC81C\uBAA9",
1508
1557
  filterTags: "\uD0DC\uADF8\uB85C \uC800\uC7A5 \uD56D\uBAA9 \uD544\uD130\uB9C1",
1509
1558
  activeFilters: "\uD65C\uC131 \uD544\uD130",
1510
1559
  clearFilters: "\uD544\uD130 \uC9C0\uC6B0\uAE30",
@@ -1536,6 +1585,8 @@ var KO_LABELS = {
1536
1585
  deleteSelected: "\uC120\uD0DD \uD56D\uBAA9 \uC0AD\uC81C",
1537
1586
  tagsToApply: "\uC801\uC6A9\uD560 \uD0DC\uADF8",
1538
1587
  applyTags: "\uD0DC\uADF8 \uC801\uC6A9",
1588
+ addTags: "\uD0DC\uADF8 \uCD94\uAC00",
1589
+ removeTags: "\uD0DC\uADF8 \uC81C\uAC70",
1539
1590
  savedMessage: "\uD56D\uBAA9\uC744 \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4.",
1540
1591
  removedMessage: "\uD56D\uBAA9\uC744 \uC0AD\uC81C\uD588\uC2B5\uB2C8\uB2E4.",
1541
1592
  restoredMessage: "\uD56D\uBAA9\uC744 \uBCF5\uC6D0\uD588\uC2B5\uB2C8\uB2E4.",
@@ -1553,6 +1604,7 @@ var KO_LABELS = {
1553
1604
  statusAvailable: "\uC0AC\uC6A9 \uAC00\uB2A5",
1554
1605
  noteSavedMessage: "\uBA54\uBAA8\uB97C \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4.",
1555
1606
  exportData: "JSON \uB0B4\uBCF4\uB0B4\uAE30",
1607
+ exportMarkdown: "Markdown \uB0B4\uBCF4\uB0B4\uAE30",
1556
1608
  importData: "JSON \uAC00\uC838\uC624\uAE30",
1557
1609
  importMode: "\uAC00\uC838\uC624\uAE30 \uBC29\uC2DD",
1558
1610
  merge: "\uBCD1\uD569",
@@ -1623,6 +1675,8 @@ var KO_LABELS = {
1623
1675
  savedViewInvalidDates: "\uBCF4\uAE30\uC758 \uB0A0\uC9DC \uD544\uD130\uC5D0\uB294 \uC720\uD6A8\uD55C \uB0A0\uC9DC\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4.",
1624
1676
  confirmRemoval: "\uC0AD\uC81C \uD655\uC778",
1625
1677
  confirmRemovalDescription: "\uC120\uD0DD\uD55C \uD56D\uBAA9\uC744 \uC0AD\uC81C\uD560\uAE4C\uC694?",
1678
+ confirmReplace: "\uAD50\uCCB4 \uD655\uC778",
1679
+ confirmReplaceDescription: "\uD604\uC7AC \uC800\uC7A5\uB41C \uB370\uC774\uD130\uB97C \uC774 \uBC31\uC5C5\uC73C\uB85C \uAD50\uCCB4\uD560\uAE4C\uC694?",
1626
1680
  fallbackRecovery: "\uC800\uC7A5 \uB370\uC774\uD130 \uBCF5\uAD6C",
1627
1681
  inspectRecovery: "\uC800\uC7A5 \uB370\uC774\uD130 \uBE44\uAD50",
1628
1682
  recoveryPrimary: "\uC8FC \uC800\uC7A5\uC18C",
@@ -1677,6 +1731,7 @@ var MS_LABELS = {
1677
1731
  error: "Ralat telah berlaku.",
1678
1732
  allTags: "Semua",
1679
1733
  tags: "Tag",
1734
+ title: "Tajuk",
1680
1735
  filterTags: "Tapis item yang disimpan mengikut tag",
1681
1736
  activeFilters: "Penapis aktif",
1682
1737
  clearFilters: "Kosongkan penapis",
@@ -1708,6 +1763,8 @@ var MS_LABELS = {
1708
1763
  deleteSelected: "Padam pilihan",
1709
1764
  tagsToApply: "Tag untuk digunakan",
1710
1765
  applyTags: "Gunakan tag",
1766
+ addTags: "Tambah tag",
1767
+ removeTags: "Buang tag",
1711
1768
  savedMessage: "Item disimpan.",
1712
1769
  removedMessage: "Item dibuang.",
1713
1770
  restoredMessage: "Item dipulihkan.",
@@ -1725,6 +1782,7 @@ var MS_LABELS = {
1725
1782
  statusAvailable: "Tersedia",
1726
1783
  noteSavedMessage: "Nota disimpan.",
1727
1784
  exportData: "Eksport JSON",
1785
+ exportMarkdown: "Eksport Markdown",
1728
1786
  importData: "Import JSON",
1729
1787
  importMode: "Mod import",
1730
1788
  merge: "Gabung",
@@ -1795,6 +1853,8 @@ var MS_LABELS = {
1795
1853
  savedViewInvalidDates: "Penapis tarikh mesti menggunakan tarikh yang sah.",
1796
1854
  confirmRemoval: "Sahkan pemadaman",
1797
1855
  confirmRemovalDescription: "Padam item ini?",
1856
+ confirmReplace: "Sahkan penggantian",
1857
+ confirmReplaceDescription: "Gantikan data semasa dengan sandaran ini?",
1798
1858
  fallbackRecovery: "Pemulihan storan",
1799
1859
  inspectRecovery: "Bandingkan data tersimpan",
1800
1860
  recoveryPrimary: "Storan utama",
@@ -1849,6 +1909,7 @@ var PT_BR_LABELS = {
1849
1909
  error: "Ocorreu um erro.",
1850
1910
  allTags: "Todos",
1851
1911
  tags: "Tags",
1912
+ title: "T\xEDtulo",
1852
1913
  filterTags: "Filtrar itens salvos por tag",
1853
1914
  activeFilters: "Filtros ativos",
1854
1915
  clearFilters: "Limpar filtros",
@@ -1880,6 +1941,8 @@ var PT_BR_LABELS = {
1880
1941
  deleteSelected: "Excluir selecionados",
1881
1942
  tagsToApply: "Tags a aplicar",
1882
1943
  applyTags: "Aplicar tags",
1944
+ addTags: "Adicionar tags",
1945
+ removeTags: "Remover tags",
1883
1946
  savedMessage: "Item salvo.",
1884
1947
  removedMessage: "Item removido.",
1885
1948
  restoredMessage: "Item restaurado.",
@@ -1897,6 +1960,7 @@ var PT_BR_LABELS = {
1897
1960
  statusAvailable: "Dispon\xEDvel",
1898
1961
  noteSavedMessage: "Nota salva.",
1899
1962
  exportData: "Exportar JSON",
1963
+ exportMarkdown: "Exportar Markdown",
1900
1964
  importData: "Importar JSON",
1901
1965
  importMode: "Modo de importa\xE7\xE3o",
1902
1966
  merge: "Mesclar",
@@ -1967,6 +2031,8 @@ var PT_BR_LABELS = {
1967
2031
  savedViewInvalidDates: "Os filtros de data devem usar datas v\xE1lidas.",
1968
2032
  confirmRemoval: "Confirmar exclus\xE3o",
1969
2033
  confirmRemovalDescription: "Excluir estes itens?",
2034
+ confirmReplace: "Confirmar substitui\xE7\xE3o",
2035
+ confirmReplaceDescription: "Substituir os dados atuais por este backup?",
1970
2036
  fallbackRecovery: "Recupera\xE7\xE3o do armazenamento",
1971
2037
  inspectRecovery: "Comparar dados salvos",
1972
2038
  recoveryPrimary: "Armazenamento principal",
@@ -2021,6 +2087,7 @@ var RU_LABELS = {
2021
2087
  error: "\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430.",
2022
2088
  allTags: "\u0412\u0441\u0435",
2023
2089
  tags: "\u0422\u0435\u0433\u0438",
2090
+ title: "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",
2024
2091
  filterTags: "\u0424\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043F\u043E \u0442\u0435\u0433\u0443",
2025
2092
  activeFilters: "\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0435 \u0444\u0438\u043B\u044C\u0442\u0440\u044B",
2026
2093
  clearFilters: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440\u044B",
@@ -2052,6 +2119,8 @@ var RU_LABELS = {
2052
2119
  deleteSelected: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435",
2053
2120
  tagsToApply: "\u0422\u0435\u0433\u0438 \u0434\u043B\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F",
2054
2121
  applyTags: "\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u0433\u0438",
2122
+ addTags: "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438",
2123
+ removeTags: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438",
2055
2124
  savedMessage: "\u042D\u043B\u0435\u043C\u0435\u043D\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D.",
2056
2125
  removedMessage: "\u042D\u043B\u0435\u043C\u0435\u043D\u0442 \u0443\u0434\u0430\u043B\u0451\u043D.",
2057
2126
  restoredMessage: "\u042D\u043B\u0435\u043C\u0435\u043D\u0442 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D.",
@@ -2069,6 +2138,7 @@ var RU_LABELS = {
2069
2138
  statusAvailable: "\u0414\u043E\u0441\u0442\u0443\u043F\u0435\u043D",
2070
2139
  noteSavedMessage: "\u0417\u0430\u043C\u0435\u0442\u043A\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0430.",
2071
2140
  exportData: "\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C JSON",
2141
+ exportMarkdown: "\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C Markdown",
2072
2142
  importData: "\u0418\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C JSON",
2073
2143
  importMode: "\u0420\u0435\u0436\u0438\u043C \u0438\u043C\u043F\u043E\u0440\u0442\u0430",
2074
2144
  merge: "\u041E\u0431\u044A\u0435\u0434\u0438\u043D\u0438\u0442\u044C",
@@ -2139,6 +2209,8 @@ var RU_LABELS = {
2139
2209
  savedViewInvalidDates: "\u0424\u0438\u043B\u044C\u0442\u0440\u044B \u0434\u0430\u0442 \u0434\u043E\u043B\u0436\u043D\u044B \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435 \u0434\u0430\u0442\u044B.",
2140
2210
  confirmRemoval: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435",
2141
2211
  confirmRemovalDescription: "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B?",
2212
+ confirmReplace: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0437\u0430\u043C\u0435\u043D\u0443",
2213
+ confirmReplaceDescription: "\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0438\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u044D\u0442\u043E\u0439 \u0440\u0435\u0437\u0435\u0440\u0432\u043D\u043E\u0439 \u043A\u043E\u043F\u0438\u0435\u0439?",
2142
2214
  fallbackRecovery: "\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430",
2143
2215
  inspectRecovery: "\u0421\u0440\u0430\u0432\u043D\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435",
2144
2216
  recoveryPrimary: "\u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0435 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435",
@@ -2193,6 +2265,7 @@ var TH_LABELS = {
2193
2265
  error: "\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14",
2194
2266
  allTags: "\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
2195
2267
  tags: "\u0E41\u0E17\u0E47\u0E01",
2268
+ title: "\u0E0A\u0E37\u0E48\u0E2D\u0E40\u0E23\u0E37\u0E48\u0E2D\u0E07",
2196
2269
  filterTags: "\u0E01\u0E23\u0E2D\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E17\u0E35\u0E48\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E14\u0E49\u0E27\u0E22\u0E41\u0E17\u0E47\u0E01",
2197
2270
  activeFilters: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E2D\u0E22\u0E39\u0E48",
2198
2271
  clearFilters: "\u0E25\u0E49\u0E32\u0E07\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07",
@@ -2224,6 +2297,8 @@ var TH_LABELS = {
2224
2297
  deleteSelected: "\u0E25\u0E1A\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E17\u0E35\u0E48\u0E40\u0E25\u0E37\u0E2D\u0E01",
2225
2298
  tagsToApply: "\u0E41\u0E17\u0E47\u0E01\u0E17\u0E35\u0E48\u0E08\u0E30\u0E43\u0E0A\u0E49",
2226
2299
  applyTags: "\u0E43\u0E0A\u0E49\u0E41\u0E17\u0E47\u0E01",
2300
+ addTags: "\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E41\u0E17\u0E47\u0E01",
2301
+ removeTags: "\u0E19\u0E33\u0E41\u0E17\u0E47\u0E01\u0E2D\u0E2D\u0E01",
2227
2302
  savedMessage: "\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E25\u0E49\u0E27",
2228
2303
  removedMessage: "\u0E25\u0E1A\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E25\u0E49\u0E27",
2229
2304
  restoredMessage: "\u0E01\u0E39\u0E49\u0E04\u0E37\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E25\u0E49\u0E27",
@@ -2241,6 +2316,7 @@ var TH_LABELS = {
2241
2316
  statusAvailable: "\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",
2242
2317
  noteSavedMessage: "\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E22\u0E48\u0E2D\u0E41\u0E25\u0E49\u0E27",
2243
2318
  exportData: "\u0E2A\u0E48\u0E07\u0E2D\u0E2D\u0E01 JSON",
2319
+ exportMarkdown: "\u0E2A\u0E48\u0E07\u0E2D\u0E2D\u0E01 Markdown",
2244
2320
  importData: "\u0E19\u0E33\u0E40\u0E02\u0E49\u0E32 JSON",
2245
2321
  importMode: "\u0E42\u0E2B\u0E21\u0E14\u0E19\u0E33\u0E40\u0E02\u0E49\u0E32",
2246
2322
  merge: "\u0E23\u0E27\u0E21",
@@ -2311,6 +2387,8 @@ var TH_LABELS = {
2311
2387
  savedViewInvalidDates: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E0A\u0E49\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
2312
2388
  confirmRemoval: "\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E01\u0E32\u0E23\u0E25\u0E1A",
2313
2389
  confirmRemovalDescription: "\u0E25\u0E1A\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48?",
2390
+ confirmReplace: "\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E01\u0E32\u0E23\u0E41\u0E17\u0E19\u0E17\u0E35\u0E48",
2391
+ confirmReplaceDescription: "\u0E41\u0E17\u0E19\u0E17\u0E35\u0E48\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1B\u0E31\u0E08\u0E08\u0E38\u0E1A\u0E31\u0E19\u0E14\u0E49\u0E27\u0E22\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2A\u0E33\u0E23\u0E2D\u0E07\u0E19\u0E35\u0E49\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48?",
2314
2392
  fallbackRecovery: "\u0E01\u0E39\u0E49\u0E04\u0E37\u0E19\u0E1E\u0E37\u0E49\u0E19\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A",
2315
2393
  inspectRecovery: "\u0E40\u0E1B\u0E23\u0E35\u0E22\u0E1A\u0E40\u0E17\u0E35\u0E22\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01",
2316
2394
  recoveryPrimary: "\u0E1E\u0E37\u0E49\u0E19\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A\u0E2B\u0E25\u0E31\u0E01",
@@ -2365,6 +2443,7 @@ var VI_LABELS = {
2365
2443
  error: "\u0110\xE3 x\u1EA3y ra l\u1ED7i.",
2366
2444
  allTags: "T\u1EA5t c\u1EA3",
2367
2445
  tags: "Th\u1EBB",
2446
+ title: "Ti\xEAu \u0111\u1EC1",
2368
2447
  filterTags: "L\u1ECDc m\u1EE5c \u0111\xE3 l\u01B0u theo th\u1EBB",
2369
2448
  activeFilters: "B\u1ED9 l\u1ECDc \u0111ang d\xF9ng",
2370
2449
  clearFilters: "X\xF3a b\u1ED9 l\u1ECDc",
@@ -2396,6 +2475,8 @@ var VI_LABELS = {
2396
2475
  deleteSelected: "X\xF3a m\u1EE5c \u0111\xE3 ch\u1ECDn",
2397
2476
  tagsToApply: "Th\u1EBB c\u1EA7n \xE1p d\u1EE5ng",
2398
2477
  applyTags: "\xC1p d\u1EE5ng th\u1EBB",
2478
+ addTags: "Th\xEAm th\u1EBB",
2479
+ removeTags: "G\u1EE1 th\u1EBB",
2399
2480
  savedMessage: "\u0110\xE3 l\u01B0u m\u1EE5c.",
2400
2481
  removedMessage: "\u0110\xE3 x\xF3a m\u1EE5c.",
2401
2482
  restoredMessage: "\u0110\xE3 kh\xF4i ph\u1EE5c m\u1EE5c.",
@@ -2413,6 +2494,7 @@ var VI_LABELS = {
2413
2494
  statusAvailable: "Kh\u1EA3 d\u1EE5ng",
2414
2495
  noteSavedMessage: "\u0110\xE3 l\u01B0u ghi ch\xFA.",
2415
2496
  exportData: "Xu\u1EA5t JSON",
2497
+ exportMarkdown: "Xu\u1EA5t Markdown",
2416
2498
  importData: "Nh\u1EADp JSON",
2417
2499
  importMode: "Ch\u1EBF \u0111\u1ED9 nh\u1EADp",
2418
2500
  merge: "H\u1EE3p nh\u1EA5t",
@@ -2483,6 +2565,8 @@ var VI_LABELS = {
2483
2565
  savedViewInvalidDates: "B\u1ED9 l\u1ECDc ng\xE0y ph\u1EA3i d\xF9ng ng\xE0y h\u1EE3p l\u1EC7.",
2484
2566
  confirmRemoval: "X\xE1c nh\u1EADn x\xF3a",
2485
2567
  confirmRemovalDescription: "X\xF3a c\xE1c m\u1EE5c n\xE0y?",
2568
+ confirmReplace: "X\xE1c nh\u1EADn thay th\u1EBF",
2569
+ confirmReplaceDescription: "Thay th\u1EBF d\u1EEF li\u1EC7u hi\u1EC7n t\u1EA1i b\u1EB1ng b\u1EA3n sao l\u01B0u n\xE0y?",
2486
2570
  fallbackRecovery: "Kh\xF4i ph\u1EE5c b\u1ED9 nh\u1EDB",
2487
2571
  inspectRecovery: "So s\xE1nh d\u1EEF li\u1EC7u \u0111\xE3 l\u01B0u",
2488
2572
  recoveryPrimary: "B\u1ED9 nh\u1EDB ch\xEDnh",
@@ -2537,6 +2621,7 @@ var ZH_HANS_LABELS = {
2537
2621
  error: "\u53D1\u751F\u9519\u8BEF\u3002",
2538
2622
  allTags: "\u5168\u90E8",
2539
2623
  tags: "\u6807\u7B7E",
2624
+ title: "\u6807\u9898",
2540
2625
  filterTags: "\u6309\u6807\u7B7E\u7B5B\u9009\u5DF2\u4FDD\u5B58\u9879\u76EE",
2541
2626
  activeFilters: "\u5F53\u524D\u7B5B\u9009\u6761\u4EF6",
2542
2627
  clearFilters: "\u6E05\u9664\u7B5B\u9009",
@@ -2568,6 +2653,8 @@ var ZH_HANS_LABELS = {
2568
2653
  deleteSelected: "\u5220\u9664\u6240\u9009\u9879\u76EE",
2569
2654
  tagsToApply: "\u8981\u5E94\u7528\u7684\u6807\u7B7E",
2570
2655
  applyTags: "\u5E94\u7528\u6807\u7B7E",
2656
+ addTags: "\u6DFB\u52A0\u6807\u7B7E",
2657
+ removeTags: "\u79FB\u9664\u6807\u7B7E",
2571
2658
  savedMessage: "\u9879\u76EE\u5DF2\u4FDD\u5B58\u3002",
2572
2659
  removedMessage: "\u9879\u76EE\u5DF2\u5220\u9664\u3002",
2573
2660
  restoredMessage: "\u9879\u76EE\u5DF2\u6062\u590D\u3002",
@@ -2585,6 +2672,7 @@ var ZH_HANS_LABELS = {
2585
2672
  statusAvailable: "\u53EF\u7528",
2586
2673
  noteSavedMessage: "\u5907\u6CE8\u5DF2\u4FDD\u5B58\u3002",
2587
2674
  exportData: "\u5BFC\u51FAJSON",
2675
+ exportMarkdown: "\u5BFC\u51FAMarkdown",
2588
2676
  importData: "\u5BFC\u5165JSON",
2589
2677
  importMode: "\u5BFC\u5165\u65B9\u5F0F",
2590
2678
  merge: "\u5408\u5E76",
@@ -2655,6 +2743,8 @@ var ZH_HANS_LABELS = {
2655
2743
  savedViewInvalidDates: "\u89C6\u56FE\u65E5\u671F\u7B5B\u9009\u5668\u5FC5\u987B\u4F7F\u7528\u6709\u6548\u7684\u65F6\u95F4\u3002",
2656
2744
  confirmRemoval: "\u786E\u8BA4\u5220\u9664",
2657
2745
  confirmRemovalDescription: "\u5220\u9664\u8FD9\u4E9B\u5DF2\u9009\u9879\u76EE\uFF1F",
2746
+ confirmReplace: "\u786E\u8BA4\u66FF\u6362",
2747
+ confirmReplaceDescription: "\u7528\u6B64\u5907\u4EFD\u66FF\u6362\u5F53\u524D\u4FDD\u5B58\u7684\u6570\u636E\uFF1F",
2658
2748
  fallbackRecovery: "\u5B58\u50A8\u6062\u590D",
2659
2749
  inspectRecovery: "\u6BD4\u8F83\u4FDD\u5B58\u7684\u6570\u636E",
2660
2750
  recoveryPrimary: "\u4E3B\u5B58\u50A8",
@@ -2709,6 +2799,7 @@ var ZH_HANT_LABELS = {
2709
2799
  error: "\u767C\u751F\u932F\u8AA4\u3002",
2710
2800
  allTags: "\u5168\u90E8",
2711
2801
  tags: "\u6A19\u7C64",
2802
+ title: "\u6A19\u984C",
2712
2803
  filterTags: "\u4F9D\u6A19\u7C64\u7BE9\u9078\u5DF2\u5132\u5B58\u9805\u76EE",
2713
2804
  activeFilters: "\u76EE\u524D\u7BE9\u9078\u689D\u4EF6",
2714
2805
  clearFilters: "\u6E05\u9664\u7BE9\u9078",
@@ -2740,6 +2831,8 @@ var ZH_HANT_LABELS = {
2740
2831
  deleteSelected: "\u522A\u9664\u6240\u9078\u9805\u76EE",
2741
2832
  tagsToApply: "\u8981\u5957\u7528\u7684\u6A19\u7C64",
2742
2833
  applyTags: "\u5957\u7528\u6A19\u7C64",
2834
+ addTags: "\u65B0\u589E\u6A19\u7C64",
2835
+ removeTags: "\u79FB\u9664\u6A19\u7C64",
2743
2836
  savedMessage: "\u9805\u76EE\u5DF2\u5132\u5B58\u3002",
2744
2837
  removedMessage: "\u9805\u76EE\u5DF2\u522A\u9664\u3002",
2745
2838
  restoredMessage: "\u9805\u76EE\u5DF2\u9084\u539F\u3002",
@@ -2757,6 +2850,7 @@ var ZH_HANT_LABELS = {
2757
2850
  statusAvailable: "\u53EF\u7528",
2758
2851
  noteSavedMessage: "\u5099\u8A3B\u5DF2\u5132\u5B58\u3002",
2759
2852
  exportData: "\u532F\u51FAJSON",
2853
+ exportMarkdown: "\u532F\u51FAMarkdown",
2760
2854
  importData: "\u532F\u5165JSON",
2761
2855
  importMode: "\u532F\u5165\u65B9\u5F0F",
2762
2856
  merge: "\u5408\u4F75",
@@ -2827,6 +2921,8 @@ var ZH_HANT_LABELS = {
2827
2921
  savedViewInvalidDates: "\u6AA2\u8996\u65E5\u671F\u7BE9\u9078\u5668\u5FC5\u9808\u4F7F\u7528\u6709\u6548\u7684\u6642\u9593\u3002",
2828
2922
  confirmRemoval: "\u78BA\u8A8D\u522A\u9664",
2829
2923
  confirmRemovalDescription: "\u522A\u9664\u9019\u4E9B\u5DF2\u9078\u9805\u76EE\uFF1F",
2924
+ confirmReplace: "\u78BA\u8A8D\u53D6\u4EE3",
2925
+ confirmReplaceDescription: "\u7528\u6B64\u5099\u4EFD\u53D6\u4EE3\u76EE\u524D\u5132\u5B58\u7684\u8CC7\u6599\uFF1F",
2830
2926
  fallbackRecovery: "\u5132\u5B58\u5FA9\u539F",
2831
2927
  inspectRecovery: "\u6BD4\u8F03\u5132\u5B58\u7684\u8CC7\u6599",
2832
2928
  recoveryPrimary: "\u4E3B\u5132\u5B58",
@@ -3223,14 +3319,31 @@ function renderRoot(asChild, child, props, body, componentName) {
3223
3319
  }
3224
3320
 
3225
3321
  // src/features/actions/hooks/useKeepBackup.ts
3226
- import { useKeepContext } from "@keepkit/core/react";
3322
+ import {
3323
+ formatItemsAsMarkdown,
3324
+ inspectKeepBackup
3325
+ } from "@keepkit/core/core";
3326
+ import { useKeepCollections, useKeepContext } from "@keepkit/core/react";
3227
3327
  import { useRef as useRef2, useState } from "react";
3228
- function useKeepBackup({ filename, onExport, onImported }) {
3328
+ function useKeepBackup({
3329
+ filename,
3330
+ markdownFilename = "keepkit-links.md",
3331
+ confirmReplace = false,
3332
+ onExport,
3333
+ onExportMarkdown,
3334
+ onImported
3335
+ }) {
3229
3336
  const context = useKeepContext();
3337
+ const collections = useKeepCollections();
3230
3338
  const inputRef = useRef2(null);
3231
- const [mode, setMode] = useState("merge");
3339
+ const [mode, setModeState] = useState("merge");
3232
3340
  const [result, setResult] = useState();
3233
3341
  const [error, setError] = useState();
3342
+ const [replaceConfirmation, setReplaceConfirmation] = useState(null);
3343
+ function setMode(nextMode) {
3344
+ setModeState(nextMode);
3345
+ if (nextMode !== "replace") setReplaceConfirmation(null);
3346
+ }
3234
3347
  async function exportBackup() {
3235
3348
  setError(void 0);
3236
3349
  try {
@@ -3247,39 +3360,94 @@ function useKeepBackup({ filename, onExport, onImported }) {
3247
3360
  setError(cause);
3248
3361
  }
3249
3362
  }
3363
+ function exportMarkdown() {
3364
+ setError(void 0);
3365
+ try {
3366
+ const collectionLabels = Object.fromEntries(collections.map((entry) => [entry.id, entry.name]));
3367
+ const markdown = formatItemsAsMarkdown(context.items, { collectionLabels });
3368
+ onExportMarkdown?.(markdown);
3369
+ if (typeof document === "undefined") return;
3370
+ const url = URL.createObjectURL(new Blob([markdown], { type: "text/markdown" }));
3371
+ const anchor = document.createElement("a");
3372
+ anchor.href = url;
3373
+ anchor.download = markdownFilename;
3374
+ anchor.click();
3375
+ URL.revokeObjectURL(url);
3376
+ } catch (cause) {
3377
+ setError(cause);
3378
+ }
3379
+ }
3380
+ async function performImport(text, importMode) {
3381
+ setError(void 0);
3382
+ setResult(void 0);
3383
+ try {
3384
+ const imported = await context.importBackup(text, { mode: importMode });
3385
+ setReplaceConfirmation(null);
3386
+ setResult(imported);
3387
+ onImported?.(imported);
3388
+ } catch (cause) {
3389
+ setError(cause);
3390
+ }
3391
+ }
3250
3392
  async function importBackup(event) {
3251
3393
  const file = event.currentTarget.files?.[0];
3252
3394
  event.currentTarget.value = "";
3253
3395
  if (!file) return;
3254
3396
  setError(void 0);
3255
3397
  setResult(void 0);
3398
+ setReplaceConfirmation(null);
3256
3399
  try {
3257
- const imported = await context.importBackup(await file.text(), { mode });
3258
- setResult(imported);
3259
- onImported?.(imported);
3400
+ const text = await file.text();
3401
+ if (confirmReplace && mode === "replace") {
3402
+ const summary = inspectKeepBackup(text);
3403
+ setReplaceConfirmation({
3404
+ data: text,
3405
+ summary,
3406
+ existingItemCount: context.items.length
3407
+ });
3408
+ return;
3409
+ }
3410
+ await performImport(text, mode);
3260
3411
  } catch (cause) {
3261
3412
  setError(cause);
3262
3413
  }
3263
3414
  }
3415
+ async function confirmPendingReplace() {
3416
+ if (!replaceConfirmation) return;
3417
+ await performImport(replaceConfirmation.data, "replace");
3418
+ }
3419
+ function cancelPendingReplace() {
3420
+ if (!context.isMutating) setReplaceConfirmation(null);
3421
+ }
3264
3422
  return {
3265
3423
  inputRef,
3266
3424
  mode,
3267
3425
  setMode,
3268
3426
  result,
3269
3427
  error,
3428
+ replaceConfirmation,
3429
+ confirmReplace: confirmPendingReplace,
3430
+ cancelReplace: cancelPendingReplace,
3270
3431
  isMutating: context.isMutating,
3271
3432
  exportBackup,
3433
+ exportMarkdown,
3272
3434
  importBackup,
3273
3435
  openFilePicker: () => inputRef.current?.click(),
3274
3436
  labels: {
3275
3437
  export: useUiLabel("exportData"),
3438
+ exportMarkdown: useUiLabel("exportMarkdown"),
3276
3439
  import: useUiLabel("importData"),
3277
3440
  importMode: useUiLabel("importMode"),
3278
3441
  merge: useUiLabel("merge"),
3279
3442
  replace: useUiLabel("replace"),
3280
3443
  importedCount: useUiLabel("importedCount"),
3281
3444
  failedCount: useUiLabel("failedCount"),
3282
- quotaError: useUiLabel("storageQuotaError")
3445
+ quotaError: useUiLabel("storageQuotaError"),
3446
+ confirmReplaceTitle: useUiLabel("confirmReplace"),
3447
+ confirmReplaceDescription: useUiLabel("confirmReplaceDescription"),
3448
+ cancel: useUiLabel("cancel"),
3449
+ item: useUiLabel("collectionItem"),
3450
+ items: useUiLabel("collectionItems")
3283
3451
  }
3284
3452
  };
3285
3453
  }
@@ -3288,12 +3456,24 @@ function useKeepBackup({ filename, onExport, onImported }) {
3288
3456
  import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
3289
3457
  function KeepBackup({
3290
3458
  filename = "keepkit-backup.json",
3459
+ markdownFilename = "keepkit-links.md",
3460
+ allowMarkdownExport = false,
3461
+ confirmReplace = false,
3291
3462
  onExport,
3463
+ onExportMarkdown,
3292
3464
  onImported,
3293
3465
  ...props
3294
3466
  }) {
3295
- const view = useKeepBackup({ filename, onExport, onImported });
3467
+ const view = useKeepBackup({
3468
+ filename,
3469
+ markdownFilename,
3470
+ confirmReplace,
3471
+ onExport,
3472
+ onExportMarkdown,
3473
+ onImported
3474
+ });
3296
3475
  const showExportLabel = useUiLabelVisibility("exportData");
3476
+ const showExportMarkdownLabel = useUiLabelVisibility("exportMarkdown");
3297
3477
  const showImportModeLabel = useUiLabelVisibility("importMode");
3298
3478
  const showImportLabel = useUiLabelVisibility("importData");
3299
3479
  return /* @__PURE__ */ jsxs2(
@@ -3301,7 +3481,7 @@ function KeepBackup({
3301
3481
  {
3302
3482
  ...props,
3303
3483
  "data-keepkit": "backup",
3304
- "data-state": view.error ? "error" : view.result ? "complete" : "idle",
3484
+ "data-state": view.error ? "error" : view.replaceConfirmation ? "confirming" : view.result ? "complete" : "idle",
3305
3485
  "data-loading": view.isMutating ? "true" : void 0,
3306
3486
  children: [
3307
3487
  /* @__PURE__ */ jsx3(
@@ -3315,6 +3495,17 @@ function KeepBackup({
3315
3495
  children: showExportLabel ? view.labels.export : null
3316
3496
  }
3317
3497
  ),
3498
+ allowMarkdownExport ? /* @__PURE__ */ jsx3(
3499
+ "button",
3500
+ {
3501
+ type: "button",
3502
+ "data-keep-action": "export-markdown",
3503
+ onClick: view.exportMarkdown,
3504
+ disabled: view.isMutating,
3505
+ "aria-label": showExportMarkdownLabel ? void 0 : view.labels.exportMarkdown,
3506
+ children: showExportMarkdownLabel ? view.labels.exportMarkdown : null
3507
+ }
3508
+ ) : null,
3318
3509
  /* @__PURE__ */ jsxs2("label", { children: [
3319
3510
  showImportModeLabel ? view.labels.importMode : null,
3320
3511
  /* @__PURE__ */ jsxs2(
@@ -3353,6 +3544,51 @@ function KeepBackup({
3353
3544
  onChange: (event) => void view.importBackup(event)
3354
3545
  }
3355
3546
  ),
3547
+ view.replaceConfirmation ? /* @__PURE__ */ jsxs2(
3548
+ "div",
3549
+ {
3550
+ role: "dialog",
3551
+ "aria-label": view.labels.confirmReplaceTitle,
3552
+ "aria-busy": view.isMutating,
3553
+ "data-keepkit": "replace-confirmation",
3554
+ onKeyDown: (event) => {
3555
+ if (event.key !== "Escape" || view.isMutating) return;
3556
+ event.preventDefault();
3557
+ event.stopPropagation();
3558
+ view.cancelReplace();
3559
+ },
3560
+ children: [
3561
+ /* @__PURE__ */ jsxs2("p", { children: [
3562
+ view.replaceConfirmation.summary.itemCount,
3563
+ " ",
3564
+ view.replaceConfirmation.summary.itemCount === 1 ? view.labels.item : view.labels.items,
3565
+ " \u2014",
3566
+ " ",
3567
+ view.labels.confirmReplaceDescription
3568
+ ] }),
3569
+ /* @__PURE__ */ jsx3(
3570
+ "button",
3571
+ {
3572
+ type: "button",
3573
+ "data-keep-action": "confirm-replace-backup",
3574
+ disabled: view.isMutating,
3575
+ onClick: () => void view.confirmReplace(),
3576
+ children: view.labels.replace
3577
+ }
3578
+ ),
3579
+ /* @__PURE__ */ jsx3(
3580
+ "button",
3581
+ {
3582
+ type: "button",
3583
+ "data-keep-action": "cancel-replace-backup",
3584
+ disabled: view.isMutating,
3585
+ onClick: view.cancelReplace,
3586
+ children: view.labels.cancel
3587
+ }
3588
+ )
3589
+ ]
3590
+ }
3591
+ ) : null,
3356
3592
  view.result ? /* @__PURE__ */ jsxs2("p", { role: "status", children: [
3357
3593
  view.result.imported,
3358
3594
  " ",
@@ -3377,7 +3613,7 @@ function isQuotaError(error) {
3377
3613
  import { useRef as useRef5 } from "react";
3378
3614
 
3379
3615
  // src/features/actions/hooks/useKeepBulkActions.ts
3380
- import { useKeepCollections, useKeepList, useKeepStore } from "@keepkit/core/react";
3616
+ import { useKeepCollections as useKeepCollections2, useKeepList, useKeepStore } from "@keepkit/core/react";
3381
3617
  import { useEffect as useEffect2, useRef as useRef3, useState as useState2 } from "react";
3382
3618
  function isAllSelected(items, selectedIds) {
3383
3619
  if (items.length === 0) return false;
@@ -3408,7 +3644,7 @@ function useKeepBulkActions(options) {
3408
3644
  const list = useKeepList(query);
3409
3645
  const queryList = useKeepList(query ? { ...query, pagination: void 0 } : { pagination: void 0 });
3410
3646
  const allList = useKeepList({ pagination: void 0 });
3411
- const collections = useKeepCollections();
3647
+ const collections = useKeepCollections2();
3412
3648
  const [uncontrolledScope, setUncontrolledScope] = useState2(controlledScope ?? "page");
3413
3649
  const selectionScope = controlledScope ?? uncontrolledScope;
3414
3650
  const targetItems = selectionScope === "page" ? list.items : selectionScope === "query" ? queryList.items : allList.items;
@@ -3493,6 +3729,14 @@ function useKeepBulkActions(options) {
3493
3729
  await list.updateTagsBatch(ids, normalizeUiTags(tagsInput.split(",")));
3494
3730
  onCompleted?.("tags", ids);
3495
3731
  });
3732
+ const addTags = () => run(async (ids) => {
3733
+ await list.addTagsBatch(ids, normalizeUiTags(tagsInput.split(",")));
3734
+ onCompleted?.("tags", ids);
3735
+ });
3736
+ const removeTags = () => run(async (ids) => {
3737
+ await list.removeTagsBatch(ids, normalizeUiTags(tagsInput.split(",")));
3738
+ onCompleted?.("tags", ids);
3739
+ });
3496
3740
  const moveToCollection = () => run((ids) => list.moveToCollectionBatch(ids, collectionId || void 0));
3497
3741
  const archive = () => run((ids) => list.archiveBatch(ids));
3498
3742
  const unarchive = () => run((ids) => list.unarchiveBatch(ids));
@@ -3520,6 +3764,8 @@ function useKeepBulkActions(options) {
3520
3764
  },
3521
3765
  removalConfirmation: confirmationValid && confirmation ? { ids: [...confirmation.ids], count: confirmation.ids.length } : null,
3522
3766
  updateTags,
3767
+ addTags,
3768
+ removeTags,
3523
3769
  collectionId,
3524
3770
  setCollectionId,
3525
3771
  collections,
@@ -3543,6 +3789,8 @@ function useKeepBulkActions(options) {
3543
3789
  deleteSelected: useUiLabel("deleteSelected"),
3544
3790
  tags: useUiLabel("tagsToApply"),
3545
3791
  applyTags: useUiLabel("applyTags"),
3792
+ addTags: useUiLabel("addTags"),
3793
+ removeTags: useUiLabel("removeTags"),
3546
3794
  selectionScope: useUiLabel("selectionScope"),
3547
3795
  currentPage: useUiLabel("currentPage"),
3548
3796
  searchResults: useUiLabel("searchResults"),
@@ -3697,6 +3945,8 @@ function KeepBulkActions({
3697
3945
  const showTagsLabel = useUiLabelVisibility("tagsToApply");
3698
3946
  const showDeleteLabel = useUiLabelVisibility("deleteSelected");
3699
3947
  const showApplyTagsLabel = useUiLabelVisibility("applyTags");
3948
+ const showAddTagsLabel = useUiLabelVisibility("addTags");
3949
+ const showRemoveTagsLabel = useUiLabelVisibility("removeTags");
3700
3950
  const errorLabel = useUiLabel("error");
3701
3951
  const collectionLabel = useUiLabel("moveSelectedCollection");
3702
3952
  const uncategorizedLabel = useUiLabel("uncategorized");
@@ -3788,6 +4038,28 @@ function KeepBulkActions({
3788
4038
  children: showApplyTagsLabel ? labels.applyTags : null
3789
4039
  }
3790
4040
  ),
4041
+ /* @__PURE__ */ jsx6(
4042
+ "button",
4043
+ {
4044
+ type: "button",
4045
+ "data-keep-action": "add-tags",
4046
+ "aria-label": showAddTagsLabel ? void 0 : labels.addTags,
4047
+ onClick: () => void state.addTags().catch(() => void 0),
4048
+ disabled: state.selectedIds.length === 0 || state.isMutating,
4049
+ children: showAddTagsLabel ? labels.addTags : null
4050
+ }
4051
+ ),
4052
+ /* @__PURE__ */ jsx6(
4053
+ "button",
4054
+ {
4055
+ type: "button",
4056
+ "data-keep-action": "remove-tags",
4057
+ "aria-label": showRemoveTagsLabel ? void 0 : labels.removeTags,
4058
+ onClick: () => void state.removeTags().catch(() => void 0),
4059
+ disabled: state.selectedIds.length === 0 || state.isMutating,
4060
+ children: showRemoveTagsLabel ? labels.removeTags : null
4061
+ }
4062
+ ),
3791
4063
  /* @__PURE__ */ jsxs4("label", { children: [
3792
4064
  collectionLabel,
3793
4065
  /* @__PURE__ */ jsxs4("select", { value: state.collectionId, onChange: (event) => state.setCollectionId(event.currentTarget.value), children: [
@@ -3981,7 +4253,7 @@ import {
3981
4253
  } from "react";
3982
4254
 
3983
4255
  // src/features/editor/KeepQuickEditor.tsx
3984
- import { useKeepCollections as useKeepCollections2, useKeepItem as useKeepItem3 } from "@keepkit/core/react";
4256
+ import { useKeepCollections as useKeepCollections3, useKeepItem as useKeepItem3 } from "@keepkit/core/react";
3985
4257
  import {
3986
4258
  useCallback as useCallback2,
3987
4259
  useEffect as useEffect5,
@@ -3992,35 +4264,41 @@ import { Fragment as Fragment5, jsx as jsx8, jsxs as jsxs6 } from "react/jsx-run
3992
4264
  function useKeepQuickEditor(item, options = {}) {
3993
4265
  const { debounceMs = 300, onSaved, onSaveError } = options;
3994
4266
  const itemState = useKeepItem3(item);
3995
- const { error, isMutating, moveToCollection, updateNote, updateTags } = itemState;
4267
+ const { error, isMutating, moveToCollection, refreshMetadata, updateNote, updateTags } = itemState;
3996
4268
  const baseline = itemState.item ?? item;
4269
+ const initialTitle = getMetaTitle(baseline.meta) ?? "";
4270
+ const [title, setTitle] = useState3(initialTitle);
3997
4271
  const [note, setNote] = useState3(baseline.note ?? "");
3998
4272
  const [tags, setTags] = useState3(baseline.tags ?? []);
3999
4273
  const [collectionId, setCollectionId] = useState3(baseline.collectionId);
4000
4274
  const [saveStatus, setSaveStatus] = useState3("idle");
4001
4275
  const [saveError, setSaveError] = useState3(null);
4002
4276
  const baselineRef = useRef7({
4277
+ title: initialTitle,
4003
4278
  note: baseline.note ?? "",
4004
4279
  tags: baseline.tags ?? [],
4005
4280
  collectionId: baseline.collectionId
4006
4281
  });
4007
- const draftRef = useRef7({ note, tags, collectionId });
4282
+ const draftRef = useRef7({ title, note, tags, collectionId });
4008
4283
  const flushRequestedRef = useRef7(false);
4009
4284
  const flushPromiseRef = useRef7(null);
4010
- draftRef.current = { note, tags, collectionId };
4285
+ draftRef.current = { title, note, tags, collectionId };
4011
4286
  useEffect5(() => {
4012
- if (draftRef.current.note === baselineRef.current.note && sameTags(draftRef.current.tags, baselineRef.current.tags) && draftRef.current.collectionId === baselineRef.current.collectionId) {
4287
+ const nextTitle = getMetaTitle(baseline.meta) ?? "";
4288
+ if (draftRef.current.title === baselineRef.current.title && draftRef.current.note === baselineRef.current.note && sameTags(draftRef.current.tags, baselineRef.current.tags) && draftRef.current.collectionId === baselineRef.current.collectionId) {
4289
+ setTitle(nextTitle);
4013
4290
  setNote(baseline.note ?? "");
4014
4291
  setTags(baseline.tags ?? []);
4015
4292
  setCollectionId(baseline.collectionId);
4016
4293
  baselineRef.current = {
4294
+ title: nextTitle,
4017
4295
  note: baseline.note ?? "",
4018
4296
  tags: baseline.tags ?? [],
4019
4297
  collectionId: baseline.collectionId
4020
4298
  };
4021
4299
  }
4022
4300
  }, [baseline]);
4023
- const isDirty = note !== baselineRef.current.note || !sameTags(tags, baselineRef.current.tags) || collectionId !== baselineRef.current.collectionId;
4301
+ const isDirty = title !== baselineRef.current.title || note !== baselineRef.current.note || !sameTags(tags, baselineRef.current.tags) || collectionId !== baselineRef.current.collectionId;
4024
4302
  useEffect5(() => {
4025
4303
  if (!isDirty && saveStatus === "dirty" && !flushPromiseRef.current) setSaveStatus("idle");
4026
4304
  }, [isDirty, saveStatus]);
@@ -4036,7 +4314,11 @@ function useKeepQuickEditor(item, options = {}) {
4036
4314
  if (sameDraft(draft, previous)) continue;
4037
4315
  setSaveError(null);
4038
4316
  setSaveStatus("saving");
4317
+ const nextTitle = draft.title.trim() || previous.title;
4039
4318
  try {
4319
+ if (nextTitle !== previous.title && baseline.meta && typeof baseline.meta === "object") {
4320
+ await refreshMetadata((current) => ({ ...current.meta, title: nextTitle }));
4321
+ }
4040
4322
  if (draft.note !== previous.note) await updateNote(draft.note.trim() || void 0);
4041
4323
  if (!sameTags(draft.tags, previous.tags)) await updateTags(draft.tags);
4042
4324
  if (draft.collectionId !== previous.collectionId) await moveToCollection(draft.collectionId);
@@ -4046,11 +4328,13 @@ function useKeepQuickEditor(item, options = {}) {
4046
4328
  onSaveError?.(error2);
4047
4329
  throw error2;
4048
4330
  }
4049
- baselineRef.current = draft;
4331
+ baselineRef.current = { ...draft, title: nextTitle };
4050
4332
  saved = true;
4051
4333
  const { collectionId: _oldCollectionId, ...withoutCollection } = baseline;
4334
+ const nextMeta = nextTitle !== previous.title && baseline.meta && typeof baseline.meta === "object" ? { ...baseline.meta, title: nextTitle } : baseline.meta;
4052
4335
  onSaved?.({
4053
4336
  ...withoutCollection,
4337
+ meta: nextMeta,
4054
4338
  note: draft.note.trim() || void 0,
4055
4339
  tags: draft.tags,
4056
4340
  ...draft.collectionId ? { collectionId: draft.collectionId } : {}
@@ -4064,7 +4348,7 @@ function useKeepQuickEditor(item, options = {}) {
4064
4348
  });
4065
4349
  flushPromiseRef.current = promise;
4066
4350
  return promise;
4067
- }, [baseline, moveToCollection, onSaveError, onSaved, updateNote, updateTags]);
4351
+ }, [baseline, moveToCollection, onSaveError, onSaved, refreshMetadata, updateNote, updateTags]);
4068
4352
  useEffect5(() => {
4069
4353
  if (!isDirty || debounceMs <= 0 || saveStatus === "error") return;
4070
4354
  const timer = window.setTimeout(() => void flush().catch(() => void 0), debounceMs);
@@ -4073,9 +4357,15 @@ function useKeepQuickEditor(item, options = {}) {
4073
4357
  return {
4074
4358
  state: {
4075
4359
  item,
4360
+ title,
4076
4361
  note,
4077
4362
  tags,
4078
4363
  collectionId,
4364
+ setTitle: (value) => {
4365
+ setSaveError(null);
4366
+ setSaveStatus("dirty");
4367
+ setTitle(value);
4368
+ },
4079
4369
  setNote: (value) => {
4080
4370
  setSaveError(null);
4081
4371
  setSaveStatus("dirty");
@@ -4111,6 +4401,7 @@ function KeepQuickEditor({
4111
4401
  return /* @__PURE__ */ jsx8(KeepQuickEditorView, { ...props, features, state: view.state });
4112
4402
  }
4113
4403
  var DEFAULT_FEATURES = {
4404
+ title: false,
4114
4405
  note: true,
4115
4406
  tags: true,
4116
4407
  collection: true
@@ -4128,8 +4419,10 @@ function KeepQuickEditorView({
4128
4419
  ...props
4129
4420
  }) {
4130
4421
  const enabled = { ...DEFAULT_FEATURES, ...features };
4131
- const collections = useKeepCollections2({ targetType: state.item.targetType, orderBy: "name" });
4422
+ const collections = useKeepCollections3({ targetType: state.item.targetType, orderBy: "name" });
4132
4423
  const rootRef = useRef7(null);
4424
+ const titleLabel = useUiLabel("title");
4425
+ const showTitleLabel = useUiLabelVisibility("title");
4133
4426
  const noteLabel = useUiLabel("note");
4134
4427
  const showNoteLabel = useUiLabelVisibility("note");
4135
4428
  const tagsLabel = useUiLabel("tags");
@@ -4186,6 +4479,17 @@ function KeepQuickEditorView({
4186
4479
  }
4187
4480
  )
4188
4481
  ] }) : null,
4482
+ enabled.title ? /* @__PURE__ */ jsxs6("label", { "data-keep-field": "title", children: [
4483
+ showTitleLabel ? /* @__PURE__ */ jsx8("span", { "data-keep-field-icon": true, children: titleLabel }) : null,
4484
+ /* @__PURE__ */ jsx8(
4485
+ "input",
4486
+ {
4487
+ value: state.title,
4488
+ "aria-label": showTitleLabel ? void 0 : titleLabel,
4489
+ onChange: (event) => state.setTitle(event.currentTarget.value)
4490
+ }
4491
+ )
4492
+ ] }) : null,
4189
4493
  enabled.tags ? /* @__PURE__ */ jsxs6("label", { "data-keep-field": "tags", children: [
4190
4494
  showTagsLabel ? /* @__PURE__ */ jsx8("span", { "data-keep-field-icon": true, children: tagsLabel }) : null,
4191
4495
  /* @__PURE__ */ jsx8(
@@ -4265,7 +4569,7 @@ function KeepQuickEditorView({
4265
4569
  );
4266
4570
  }
4267
4571
  function sameDraft(left, right) {
4268
- return left.note === right.note && sameTags(left.tags, right.tags) && left.collectionId === right.collectionId;
4572
+ return left.title === right.title && left.note === right.note && sameTags(left.tags, right.tags) && left.collectionId === right.collectionId;
4269
4573
  }
4270
4574
  function sameTags(left, right) {
4271
4575
  return left.length === right.length && left.every((tag, index) => tag === right[index]);
@@ -4938,7 +5242,7 @@ function KeepArchiveScopeSelect({
4938
5242
  }
4939
5243
 
4940
5244
  // src/features/query/KeepCollectionFilter.tsx
4941
- import { useKeepCollections as useKeepCollections3, useKeepContext as useKeepContext3 } from "@keepkit/core/react";
5245
+ import { useKeepCollections as useKeepCollections4, useKeepContext as useKeepContext3 } from "@keepkit/core/react";
4942
5246
  import { useState as useState7 } from "react";
4943
5247
  import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
4944
5248
  function useCollectionOptions(collectionLabels, collections) {
@@ -4960,7 +5264,7 @@ function KeepCollectionSelect({
4960
5264
  const context = useKeepContext3();
4961
5265
  const state = useState7(value ?? defaultValue ?? item.collectionId ?? "");
4962
5266
  const selected = value ?? state[0];
4963
- const collections = useKeepCollections3({ targetType: item.targetType, orderBy: "name" });
5267
+ const collections = useKeepCollections4({ targetType: item.targetType, orderBy: "name" });
4964
5268
  const options = useCollectionOptions(collectionLabels, collections);
4965
5269
  const defaultUncategorizedLabel = useUiLabel("uncategorized");
4966
5270
  const uncategorized = uncategorizedLabel ?? defaultUncategorizedLabel;
@@ -4997,7 +5301,7 @@ function KeepCollectionFilter({
4997
5301
  }) {
4998
5302
  const [internalValue, setInternalValue] = useState7(value ?? defaultValue ?? "");
4999
5303
  const selected = value ?? internalValue;
5000
- const collections = useKeepCollections3({ orderBy: "name" });
5304
+ const collections = useKeepCollections4({ orderBy: "name" });
5001
5305
  const options = useCollectionOptions(collectionLabels, collections);
5002
5306
  const collectionLabel = useUiLabel("collection");
5003
5307
  const showCollectionLabel = useUiLabelVisibility("collection");
@@ -5038,24 +5342,63 @@ import { isValidElement as isValidElement3 } from "react";
5038
5342
  import { useKeepList as useKeepList2 } from "@keepkit/core/react";
5039
5343
  import { useCallback as useCallback4, useMemo as useMemo3, useState as useState8 } from "react";
5040
5344
  function useKeepTagFilter(options) {
5041
- const { query, controlledValue, defaultValue, onChange, onValueChange } = options;
5042
- const [uncontrolledValue, setUncontrolledValue] = useState8(defaultValue);
5043
- const resolvedValue = controlledValue ?? uncontrolledValue;
5345
+ const {
5346
+ query,
5347
+ controlledValue,
5348
+ defaultValue,
5349
+ controlledValues,
5350
+ defaultValues,
5351
+ onChange,
5352
+ onValueChange,
5353
+ onValuesChange
5354
+ } = options;
5355
+ const [uncontrolledValues, setUncontrolledValues] = useState8(
5356
+ () => defaultValues ? normalizeUiTags(defaultValues) : defaultValue ? [defaultValue] : []
5357
+ );
5358
+ const resolvedValues = useMemo3(
5359
+ () => controlledValues !== void 0 ? normalizeUiTags(controlledValues) : controlledValue !== void 0 ? [controlledValue] : uncontrolledValues,
5360
+ [controlledValue, controlledValues, uncontrolledValues]
5361
+ );
5362
+ const resolvedValue = resolvedValues[0];
5044
5363
  const list = useKeepList2({
5045
5364
  ...query,
5046
- tags: resolvedValue ? [...query?.tags ?? [], resolvedValue] : query?.tags
5365
+ tags: resolvedValues.length > 0 ? normalizeUiTags([...query?.tags ?? [], ...resolvedValues]) : query?.tags
5047
5366
  });
5367
+ const applyValues = useCallback4(
5368
+ (next) => {
5369
+ const normalized = normalizeUiTags(next);
5370
+ if (controlledValues === void 0 && controlledValue === void 0) setUncontrolledValues(normalized);
5371
+ const first = normalized[0];
5372
+ onChange?.(first);
5373
+ onValueChange?.(first);
5374
+ onValuesChange?.(normalized);
5375
+ },
5376
+ [controlledValue, controlledValues, onChange, onValueChange, onValuesChange]
5377
+ );
5048
5378
  const select = useCallback4(
5049
5379
  (tag) => {
5050
- if (controlledValue === void 0) setUncontrolledValue(tag);
5051
- onChange?.(tag);
5052
- onValueChange?.(tag);
5380
+ applyValues(tag ? [tag] : []);
5381
+ },
5382
+ [applyValues]
5383
+ );
5384
+ const toggle = useCallback4(
5385
+ (tag) => {
5386
+ applyValues(
5387
+ resolvedValues.includes(tag) ? resolvedValues.filter((current) => current !== tag) : [...resolvedValues, tag]
5388
+ );
5053
5389
  },
5054
- [controlledValue, onChange, onValueChange]
5390
+ [applyValues, resolvedValues]
5055
5391
  );
5056
5392
  const state = useMemo3(
5057
- () => ({ tags: list.tags, tagCounts: list.tagCounts, value: resolvedValue, select }),
5058
- [list.tagCounts, list.tags, resolvedValue, select]
5393
+ () => ({
5394
+ tags: list.tags,
5395
+ tagCounts: list.tagCounts,
5396
+ value: resolvedValue,
5397
+ values: resolvedValues,
5398
+ select,
5399
+ toggle
5400
+ }),
5401
+ [list.tagCounts, list.tags, resolvedValue, resolvedValues, select, toggle]
5059
5402
  );
5060
5403
  return {
5061
5404
  state,
@@ -5070,8 +5413,11 @@ function KeepTagFilter({
5070
5413
  query,
5071
5414
  value: controlledValue,
5072
5415
  defaultValue,
5416
+ values: controlledValues,
5417
+ defaultValues,
5073
5418
  onChange,
5074
5419
  onValueChange,
5420
+ onValuesChange,
5075
5421
  allLabel,
5076
5422
  ariaLabel,
5077
5423
  renderTag,
@@ -5081,9 +5427,19 @@ function KeepTagFilter({
5081
5427
  className,
5082
5428
  ...rootProps
5083
5429
  }) {
5084
- const view = useKeepTagFilter({ query, controlledValue, defaultValue, onChange, onValueChange });
5430
+ const view = useKeepTagFilter({
5431
+ query,
5432
+ controlledValue,
5433
+ defaultValue,
5434
+ controlledValues,
5435
+ defaultValues,
5436
+ onChange,
5437
+ onValueChange,
5438
+ onValuesChange
5439
+ });
5085
5440
  const showFilterLabel = useUiLabelVisibility("filterTags");
5086
5441
  const showAllTagsLabel = useUiLabelVisibility("allTags");
5442
+ const isMulti = controlledValues !== void 0 || defaultValues !== void 0 || onValuesChange !== void 0;
5087
5443
  const contentChildren = asChild && isValidElement3(children) ? void 0 : children;
5088
5444
  const body = render ? render(view.state) : typeof contentChildren === "function" ? contentChildren(view.state) : contentChildren ?? /* @__PURE__ */ jsxs12("fieldset", { "aria-label": showFilterLabel ? void 0 : ariaLabel ?? view.labels.aria, children: [
5089
5445
  showFilterLabel ? /* @__PURE__ */ jsx14("legend", { children: ariaLabel ?? view.labels.aria }) : null,
@@ -5092,30 +5448,33 @@ function KeepTagFilter({
5092
5448
  {
5093
5449
  type: "button",
5094
5450
  "data-keep-action": "filter-all-tags",
5095
- "aria-pressed": view.state.value === void 0,
5451
+ "aria-pressed": view.state.values.length === 0,
5096
5452
  "aria-label": showAllTagsLabel ? void 0 : view.labels.all,
5097
5453
  onClick: () => view.state.select(),
5098
5454
  children: showAllTagsLabel ? allLabel ?? view.labels.all : null
5099
5455
  }
5100
5456
  ),
5101
- view.state.tags.map((tag) => /* @__PURE__ */ jsxs12(
5102
- "button",
5103
- {
5104
- type: "button",
5105
- "data-keep-action": "filter-tag",
5106
- "aria-pressed": view.state.value === tag,
5107
- onClick: () => view.state.select(tag),
5108
- children: [
5109
- renderTag ? renderTag(tag, view.state.tagCounts[tag] ?? 0, view.state.value === tag) : tag,
5110
- /* @__PURE__ */ jsxs12("span", { children: [
5111
- " (",
5112
- view.state.tagCounts[tag] ?? 0,
5113
- ")"
5114
- ] })
5115
- ]
5116
- },
5117
- tag
5118
- ))
5457
+ view.state.tags.map((tag) => {
5458
+ const selected = view.state.values.includes(tag);
5459
+ return /* @__PURE__ */ jsxs12(
5460
+ "button",
5461
+ {
5462
+ type: "button",
5463
+ "data-keep-action": "filter-tag",
5464
+ "aria-pressed": selected,
5465
+ onClick: () => isMulti ? view.state.toggle(tag) : view.state.select(tag),
5466
+ children: [
5467
+ renderTag ? renderTag(tag, view.state.tagCounts[tag] ?? 0, selected) : tag,
5468
+ /* @__PURE__ */ jsxs12("span", { children: [
5469
+ " (",
5470
+ view.state.tagCounts[tag] ?? 0,
5471
+ ")"
5472
+ ] })
5473
+ ]
5474
+ },
5475
+ tag
5476
+ );
5477
+ })
5119
5478
  ] });
5120
5479
  return renderRoot(
5121
5480
  asChild,
@@ -5124,7 +5483,7 @@ function KeepTagFilter({
5124
5483
  ...rootProps,
5125
5484
  className,
5126
5485
  "data-keepkit": "tag-filter",
5127
- "data-state": view.state.value === void 0 ? "all" : "filtered",
5486
+ "data-state": view.state.values.length === 0 ? "all" : "filtered",
5128
5487
  "data-loading": view.isLoading ? "true" : void 0
5129
5488
  },
5130
5489
  body,
@@ -5739,6 +6098,16 @@ function useKeepCollection({
5739
6098
  setActiveTags(value ? [value] : []);
5740
6099
  setPage(1);
5741
6100
  },
6101
+ setTags: (values) => {
6102
+ setActiveTags(values);
6103
+ setPage(1);
6104
+ },
6105
+ toggleTag: (tag) => {
6106
+ setActiveTags(
6107
+ (current) => current.includes(tag) ? current.filter((entry) => entry !== tag) : [...current, tag]
6108
+ );
6109
+ setPage(1);
6110
+ },
5742
6111
  setCollection: (value) => {
5743
6112
  setActiveCollection(value);
5744
6113
  setActiveOrganization((current) => {
@@ -5804,7 +6173,7 @@ function scopeFromArchived(archived) {
5804
6173
  }
5805
6174
 
5806
6175
  // src/features/collection/KeepCollectionCreate.tsx
5807
- import { useKeepCollections as useKeepCollections4, useKeepContext as useKeepContext4 } from "@keepkit/core/react";
6176
+ import { useKeepCollections as useKeepCollections5, useKeepContext as useKeepContext4 } from "@keepkit/core/react";
5808
6177
  import { useId as useId2, useState as useState13 } from "react";
5809
6178
  import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
5810
6179
  function KeepCollectionCreate({
@@ -5817,7 +6186,7 @@ function KeepCollectionCreate({
5817
6186
  ...inputProps
5818
6187
  }) {
5819
6188
  const { createCollection } = useKeepContext4();
5820
- const collections = useKeepCollections4();
6189
+ const collections = useKeepCollections5();
5821
6190
  const [name, setName] = useState13("");
5822
6191
  const [error, setError] = useState13(null);
5823
6192
  const [isSubmitting, setIsSubmitting] = useState13(false);
@@ -5939,6 +6308,8 @@ function KeepInlineSelection({
5939
6308
  const unpinLabel = useUiLabel("unpin");
5940
6309
  const tagsLabel = useUiLabel("tagsToApply");
5941
6310
  const applyTagsLabel = useUiLabel("applyTags");
6311
+ const addTagsLabel = useUiLabel("addTags");
6312
+ const removeTagsLabel = useUiLabel("removeTags");
5942
6313
  const removeLabel = useUiLabel("deleteSelected");
5943
6314
  const moreLabel = useUiLabel("moreActions");
5944
6315
  const errorLabel = useUiLabel("error");
@@ -6000,6 +6371,8 @@ function KeepInlineSelection({
6000
6371
  tagsLabel,
6001
6372
  /* @__PURE__ */ jsx18("input", { value: state.tagsInput, onChange: (event) => state.setTagsInput(event.currentTarget.value) })
6002
6373
  ] }),
6374
+ /* @__PURE__ */ jsx18("button", { type: "button", onClick: () => run(state.addTags), children: addTagsLabel }),
6375
+ /* @__PURE__ */ jsx18("button", { type: "button", onClick: () => run(state.removeTags), children: removeTagsLabel }),
6003
6376
  /* @__PURE__ */ jsx18("button", { type: "button", onClick: () => run(state.updateTags), children: applyTagsLabel }),
6004
6377
  /* @__PURE__ */ jsx18("button", { type: "button", onClick: () => run(state.pin), children: pinLabel }),
6005
6378
  /* @__PURE__ */ jsx18("button", { type: "button", onClick: () => run(state.unpin), children: unpinLabel }),
@@ -6021,7 +6394,7 @@ import { KeepErrorBoundary } from "@keepkit/core/react";
6021
6394
  import { isValidElement as isValidElement6 } from "react";
6022
6395
 
6023
6396
  // src/features/item/KeepItemCard.tsx
6024
- import { useKeepCollections as useKeepCollections5 } from "@keepkit/core/react";
6397
+ import { useKeepCollections as useKeepCollections6 } from "@keepkit/core/react";
6025
6398
  import {
6026
6399
  createContext as createContext3,
6027
6400
  createElement as createElement2,
@@ -6400,6 +6773,7 @@ function KeepItemCardRoot({
6400
6773
  imageComponent: ImageComponent,
6401
6774
  renderImage,
6402
6775
  renderTags,
6776
+ onTagClick,
6403
6777
  presentation = "default",
6404
6778
  showTags = true,
6405
6779
  showNote = presentation === "reading",
@@ -6446,7 +6820,8 @@ function KeepItemCardRoot({
6446
6820
  onRemoveError,
6447
6821
  onRemoved
6448
6822
  });
6449
- const collections = useKeepCollections5();
6823
+ const filterTagsLabel = useUiLabel("filterTags");
6824
+ const collections = useKeepCollections6();
6450
6825
  const doneLabel = useUiLabel("done");
6451
6826
  const moreLabel = useUiLabel("moreActions");
6452
6827
  const contextQuery = useKeepSearchQuery();
@@ -6586,7 +6961,9 @@ function KeepItemCardRoot({
6586
6961
  activity: showActivity ? /* @__PURE__ */ jsx21(KeepLastActivity, { item, kind: activityKind }) : null,
6587
6962
  tags,
6588
6963
  tagsLabel: view.labels.tags,
6964
+ filterTagsLabel,
6589
6965
  renderedTags,
6966
+ onTagClick: onTagClick ? (tag, currentItem) => onTagClick(tag, currentItem) : void 0,
6590
6967
  meta,
6591
6968
  source: getSource(view.href),
6592
6969
  reading: presentation === "reading",
@@ -6623,6 +7000,7 @@ function KeepItemCardRoot({
6623
7000
  isValidElement4(children) ? children : void 0,
6624
7001
  {
6625
7002
  ...rootProps,
7003
+ id: rootProps.id ?? `saved-item-${encodeURIComponent(item.id)}`,
6626
7004
  className,
6627
7005
  "data-keepkit": "card",
6628
7006
  "aria-busy": view.itemState.isMutating || rootProps["aria-busy"],
@@ -6693,7 +7071,16 @@ function KeepItemCardTags({ children, ...props }) {
6693
7071
  const context = useKeepItemCardCompound("Tags");
6694
7072
  if (children === void 0 && context.renderedTags) return context.renderedTags;
6695
7073
  if (children === void 0 && context.tags.length === 0) return null;
6696
- return /* @__PURE__ */ jsx21("ul", { ...props, "aria-label": props["aria-label"] ?? context.tagsLabel, "data-keep-card-part": "tags", children: children ?? context.tags.map((tag) => /* @__PURE__ */ jsx21("li", { children: tag }, tag)) });
7074
+ return /* @__PURE__ */ jsx21("ul", { ...props, "aria-label": props["aria-label"] ?? context.tagsLabel, "data-keep-card-part": "tags", children: children ?? context.tags.map((tag) => /* @__PURE__ */ jsx21("li", { children: context.onTagClick ? /* @__PURE__ */ jsx21(
7075
+ "button",
7076
+ {
7077
+ type: "button",
7078
+ "data-keep-action": "card-filter-tag",
7079
+ "aria-label": `${context.filterTagsLabel}: ${tag}`,
7080
+ onClick: () => context.onTagClick?.(tag, context.item),
7081
+ children: tag
7082
+ }
7083
+ ) : tag }, tag)) });
6697
7084
  }
6698
7085
  function KeepItemCardActions({ children, ...props }) {
6699
7086
  const context = useKeepItemCardCompound("Actions");
@@ -7311,6 +7698,7 @@ function KeepCollectionContent({
7311
7698
  ...itemCardProps,
7312
7699
  collectionLabels: itemCardProps?.collectionLabels ?? collectionLabels,
7313
7700
  showTags: itemCardProps?.showTags ?? view.enabled.tags,
7701
+ onTagClick: itemCardProps?.onTagClick ?? (view.enabled.tagFilter ? (tag) => view.toggleTag(tag) : void 0),
7314
7702
  showPinButton: itemCardProps?.showPinButton ?? view.enabled.pin,
7315
7703
  showArchiveButton: itemCardProps?.showArchiveButton ?? view.enabled.archive,
7316
7704
  showEditButton: itemCardProps?.showEditButton ?? features?.note ?? (itemCardProps?.presentation === "reading" || view.enabled.note),
@@ -7332,7 +7720,7 @@ function KeepCollectionContent({
7332
7720
  ) : null
7333
7721
  ] }) : null;
7334
7722
  const filterControls = hasFilterControls ? /* @__PURE__ */ jsxs23(Fragment14, { children: [
7335
- view.enabled.tagFilter ? /* @__PURE__ */ jsx25(KeepTagFilter, { query, value: view.activeTags[0], onValueChange: view.setTag }) : null,
7723
+ view.enabled.tagFilter ? /* @__PURE__ */ jsx25(KeepTagFilter, { query, values: view.activeTags, onValuesChange: view.setTags }) : null,
7336
7724
  view.enabled.collectionFilter ? /* @__PURE__ */ jsx25(
7337
7725
  KeepCollectionFilter,
7338
7726
  {
@@ -7488,7 +7876,7 @@ function getCollectionState(list) {
7488
7876
  import { useId as useId5 } from "react";
7489
7877
 
7490
7878
  // src/features/collection/hooks/useKeepCollectionManager.ts
7491
- import { useKeepCollections as useKeepCollections6, useKeepContext as useKeepContext6 } from "@keepkit/core/react";
7879
+ import { useKeepCollections as useKeepCollections7, useKeepContext as useKeepContext6 } from "@keepkit/core/react";
7492
7880
  import { useCallback as useCallback8, useState as useState19 } from "react";
7493
7881
  function useKeepCollectionManager({
7494
7882
  onError,
@@ -7503,7 +7891,7 @@ function useKeepCollectionManager({
7503
7891
  removeCollection,
7504
7892
  moveToCollection
7505
7893
  } = useKeepContext6();
7506
- const collections = useKeepCollections6({ orderBy: "name" });
7894
+ const collections = useKeepCollections7({ orderBy: "name" });
7507
7895
  const [editingId, setEditingId] = useState19(null);
7508
7896
  const [editingName, setEditingName] = useState19("");
7509
7897
  const [pendingDeleteId, setPendingDeleteId] = useState19(null);
@@ -9618,7 +10006,7 @@ import { createAuthenticatedSyncKit } from "@keepkit/core/core";
9618
10006
  import {
9619
10007
  KeepErrorBoundary as KeepErrorBoundary3,
9620
10008
  KeepProvider,
9621
- useKeepCollections as useKeepCollections7,
10009
+ useKeepCollections as useKeepCollections8,
9622
10010
  useKeepContext as useKeepContext11,
9623
10011
  useKeepItem as useKeepItem8,
9624
10012
  useKeepList as useKeepList7,
@@ -9857,7 +10245,7 @@ export {
9857
10245
  keepThemeNames,
9858
10246
  mergeProps,
9859
10247
  toggleSelectAll,
9860
- useKeepCollections7 as useKeepCollections,
10248
+ useKeepCollections8 as useKeepCollections,
9861
10249
  useKeepContext11 as useKeepContext,
9862
10250
  useKeepItem8 as useKeepItem,
9863
10251
  useKeepList7 as useKeepList,