@vicacha-devs/strapi-plugin-notes 0.0.0-stage → 1.1.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.
- package/LICENSE +22 -0
- package/README.md +20 -2
- package/dist/admin/NotesHomePage-CIWSOu3n.js +457 -0
- package/dist/admin/NotesHomePage-Da5Eu2o9.cjs +475 -0
- package/dist/admin/ar-NJ-XJhAU.cjs +64 -0
- package/dist/admin/ar-uSBvoP4-.js +64 -0
- package/dist/admin/de-DlFY4yCr.js +64 -0
- package/dist/admin/de-d-M42GQs.cjs +64 -0
- package/dist/admin/en-C8MGI5Fp.cjs +64 -0
- package/dist/admin/en-DQUtJt3K.js +64 -0
- package/dist/admin/es-BZY_kUPd.cjs +64 -0
- package/dist/admin/es-DcTVGahO.js +64 -0
- package/dist/admin/fr-D6Ism7Y3.cjs +64 -0
- package/dist/admin/fr-QW7vMjBs.js +64 -0
- package/dist/admin/index-BD0jLH1y.cjs +1458 -0
- package/dist/admin/index-ClQtejgN.js +1442 -0
- package/dist/admin/index.cjs +4 -0
- package/dist/admin/index.js +4 -0
- package/dist/admin/index.mjs +4 -0
- package/dist/admin/it-DyBVYzjD.cjs +64 -0
- package/dist/admin/it-F24NTVne.js +64 -0
- package/dist/admin/pt-B4OG4ZiY.js +64 -0
- package/dist/admin/pt-BOHJueLP.cjs +64 -0
- package/dist/admin/ru-DGiT4YZI.js +64 -0
- package/dist/admin/ru-DhigZM8k.cjs +64 -0
- package/dist/admin/src/components/DeleteNoteDialog.d.ts +10 -0
- package/dist/admin/src/components/Initializer.d.ts +5 -0
- package/dist/admin/src/components/NoteListItem.d.ts +10 -0
- package/dist/admin/src/components/NoteModal.d.ts +18 -0
- package/dist/admin/src/components/NotesHubFilterBar.d.ts +14 -0
- package/dist/admin/src/components/NotesSidePanel.d.ts +13 -0
- package/dist/admin/src/components/PluginIcon.d.ts +2 -0
- package/dist/admin/src/hooks/useNotes.d.ts +12 -0
- package/dist/admin/src/index.d.ts +21 -0
- package/dist/admin/src/pages/NotesHomePage.d.ts +3 -0
- package/dist/admin/src/pluginId.d.ts +4 -0
- package/dist/admin/src/utils/getTrad.d.ts +2 -0
- package/dist/admin/src/utils/index.d.ts +1 -0
- package/dist/admin/tr-CNFZeutu.cjs +64 -0
- package/dist/admin/tr-CwzORNP2.js +64 -0
- package/dist/admin/zh-BriU4KiK.cjs +64 -0
- package/dist/admin/zh-C1EjzGrj.js +64 -0
- package/dist/package.json +3 -0
- package/dist/server/index.cjs +1212 -0
- package/dist/server/index.js +1212 -0
- package/dist/server/index.mjs +1212 -0
- package/dist/server/src/bootstrap.d.ts +5 -0
- package/dist/server/src/config/index.d.ts +8 -0
- package/dist/server/src/content-types/index.d.ts +70 -0
- package/dist/server/src/content-types/note/schema.json.d.ts +68 -0
- package/dist/server/src/controllers/index.d.ts +2 -0
- package/dist/server/src/controllers/notesController.d.ts +27 -0
- package/dist/server/src/destroy.d.ts +5 -0
- package/dist/server/src/index.d.ts +2 -0
- package/dist/server/src/register.d.ts +5 -0
- package/dist/server/src/routes/admin.d.ts +17 -0
- package/dist/server/src/routes/content-api.d.ts +12 -0
- package/dist/server/src/routes/index.d.ts +30 -0
- package/dist/server/src/services/index.d.ts +2 -0
- package/dist/server/src/services/notesQueryHelpers.d.ts +11 -0
- package/dist/server/src/services/notesService.d.ts +25 -0
- package/dist/shared/index.cjs +525 -0
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.js +525 -0
- package/dist/shared/index.mjs +525 -0
- package/package.json +102 -3
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const it = {
|
|
4
|
+
"plugin.name": "Note",
|
|
5
|
+
"notes.loading": "Caricamento contenuto ...",
|
|
6
|
+
"notes.notification.loadError": "Impossibile caricare le note.",
|
|
7
|
+
"notes.notification.created": "La nota è stata creata con successo.",
|
|
8
|
+
"notes.notification.createError": "Impossibile creare la nota.",
|
|
9
|
+
"notes.notification.updated": "La nota è stata aggiornata con successo.",
|
|
10
|
+
"notes.notification.updateError": "Impossibile aggiornare la nota.",
|
|
11
|
+
"notes.notification.deleted": "La nota è stata eliminata con successo.",
|
|
12
|
+
"notes.notification.deleteError": "Impossibile eliminare la nota.",
|
|
13
|
+
"notes.sidePanel.count": "{count} nota/e",
|
|
14
|
+
"notes.sidePanel.search.placeholder": "Filtra note...",
|
|
15
|
+
"notes.sidePanel.empty": "Nessuna nota editoriale associata a questa voce.",
|
|
16
|
+
"notes.sidePanel.noMatches": "Nessuna nota corrisponde al filtro corrente.",
|
|
17
|
+
"note.modal.new.title": "Aggiungi una nota",
|
|
18
|
+
"note.modal.existing.title": "Modifica una nota",
|
|
19
|
+
"note.modal.meta.createdAt": "Creato il",
|
|
20
|
+
"note.modal.meta.createdBy": "Creato da",
|
|
21
|
+
"note.modal.meta.updatedAt": "Aggiornato il",
|
|
22
|
+
"note.modal.meta.updatedBy": "Aggiornato da",
|
|
23
|
+
"note.modal.fields.title": "Titolo",
|
|
24
|
+
"note.modal.fields.title.placeholder": "Breve riepilogo di questa nota...",
|
|
25
|
+
"note.modal.fields.category": "Categoria",
|
|
26
|
+
"note.modal.fields.content": "Contenuto",
|
|
27
|
+
"note.modal.fields.content.placeholder": "Scrivi il contesto editoriale dettagliato, i commenti di revisione o i passaggi successivi...",
|
|
28
|
+
"note.modal.fields.isPinned": "Fissa la nota in alto",
|
|
29
|
+
"note.modal.fields.scopeToLocale": "Limita solo alla lingua ({locale})",
|
|
30
|
+
"note.modal.validation.titleRequired": "Il titolo è obbligatorio.",
|
|
31
|
+
"note.modal.actions.cancel": "Annulla",
|
|
32
|
+
"note.modal.actions.save": "Salva",
|
|
33
|
+
"note.modal.actions.close": "Chiudi finestra",
|
|
34
|
+
"note.actions.edit": "Modifica",
|
|
35
|
+
"note.actions.delete": "Elimina",
|
|
36
|
+
"note.actions.pin": "Fissa nota",
|
|
37
|
+
"note.actions.unpin": "Rimuovi fissaggio",
|
|
38
|
+
"note.delete.dialog.title": "Conferma",
|
|
39
|
+
"note.delete.dialog.description": 'Sei sicuro di voler eliminare la nota "{title}"?',
|
|
40
|
+
"note.delete.dialog.confirm": "Conferma",
|
|
41
|
+
"category.all": "Tutte le categorie",
|
|
42
|
+
"category.general": "Generale",
|
|
43
|
+
"category.todo": "Da fare",
|
|
44
|
+
"category.blocker": "Bloccante",
|
|
45
|
+
"category.idea": "Idea",
|
|
46
|
+
"hub.title": "Centro Note Editoriali",
|
|
47
|
+
"hub.subtitle": "Cerca, filtra e gestisci le note editoriali in tutte le voci del Content Manager di Strapi v5.",
|
|
48
|
+
"hub.actions.refresh": "Aggiorna",
|
|
49
|
+
"hub.actions.openEntry": "Apri voce nel Content Manager",
|
|
50
|
+
"hub.stats.total": "Totale Note",
|
|
51
|
+
"hub.stats.pinned": "Note Fissate",
|
|
52
|
+
"hub.stats.blockers": "Bloccanti",
|
|
53
|
+
"hub.stats.todos": "Attività Aperte",
|
|
54
|
+
"hub.filters.search": "Cerca note",
|
|
55
|
+
"hub.filters.search.placeholder": "Cerca per titolo, contenuto, tipo di contenuto o autore...",
|
|
56
|
+
"hub.filters.contentType": "Tipo di Contenuto",
|
|
57
|
+
"hub.filters.contentType.all": "Tutti i tipi di contenuto",
|
|
58
|
+
"hub.filters.pinnedOnly": "Solo fissate",
|
|
59
|
+
"hub.table.targetEntity": "Voce di Destinazione",
|
|
60
|
+
"hub.table.actions": "Azioni",
|
|
61
|
+
"hub.badge.pinned": "FISSATA",
|
|
62
|
+
"hub.empty": "Nessuna nota editoriale trovata con i filtri correnti."
|
|
63
|
+
};
|
|
64
|
+
exports.default = it;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const it = {
|
|
2
|
+
"plugin.name": "Note",
|
|
3
|
+
"notes.loading": "Caricamento contenuto ...",
|
|
4
|
+
"notes.notification.loadError": "Impossibile caricare le note.",
|
|
5
|
+
"notes.notification.created": "La nota è stata creata con successo.",
|
|
6
|
+
"notes.notification.createError": "Impossibile creare la nota.",
|
|
7
|
+
"notes.notification.updated": "La nota è stata aggiornata con successo.",
|
|
8
|
+
"notes.notification.updateError": "Impossibile aggiornare la nota.",
|
|
9
|
+
"notes.notification.deleted": "La nota è stata eliminata con successo.",
|
|
10
|
+
"notes.notification.deleteError": "Impossibile eliminare la nota.",
|
|
11
|
+
"notes.sidePanel.count": "{count} nota/e",
|
|
12
|
+
"notes.sidePanel.search.placeholder": "Filtra note...",
|
|
13
|
+
"notes.sidePanel.empty": "Nessuna nota editoriale associata a questa voce.",
|
|
14
|
+
"notes.sidePanel.noMatches": "Nessuna nota corrisponde al filtro corrente.",
|
|
15
|
+
"note.modal.new.title": "Aggiungi una nota",
|
|
16
|
+
"note.modal.existing.title": "Modifica una nota",
|
|
17
|
+
"note.modal.meta.createdAt": "Creato il",
|
|
18
|
+
"note.modal.meta.createdBy": "Creato da",
|
|
19
|
+
"note.modal.meta.updatedAt": "Aggiornato il",
|
|
20
|
+
"note.modal.meta.updatedBy": "Aggiornato da",
|
|
21
|
+
"note.modal.fields.title": "Titolo",
|
|
22
|
+
"note.modal.fields.title.placeholder": "Breve riepilogo di questa nota...",
|
|
23
|
+
"note.modal.fields.category": "Categoria",
|
|
24
|
+
"note.modal.fields.content": "Contenuto",
|
|
25
|
+
"note.modal.fields.content.placeholder": "Scrivi il contesto editoriale dettagliato, i commenti di revisione o i passaggi successivi...",
|
|
26
|
+
"note.modal.fields.isPinned": "Fissa la nota in alto",
|
|
27
|
+
"note.modal.fields.scopeToLocale": "Limita solo alla lingua ({locale})",
|
|
28
|
+
"note.modal.validation.titleRequired": "Il titolo è obbligatorio.",
|
|
29
|
+
"note.modal.actions.cancel": "Annulla",
|
|
30
|
+
"note.modal.actions.save": "Salva",
|
|
31
|
+
"note.modal.actions.close": "Chiudi finestra",
|
|
32
|
+
"note.actions.edit": "Modifica",
|
|
33
|
+
"note.actions.delete": "Elimina",
|
|
34
|
+
"note.actions.pin": "Fissa nota",
|
|
35
|
+
"note.actions.unpin": "Rimuovi fissaggio",
|
|
36
|
+
"note.delete.dialog.title": "Conferma",
|
|
37
|
+
"note.delete.dialog.description": 'Sei sicuro di voler eliminare la nota "{title}"?',
|
|
38
|
+
"note.delete.dialog.confirm": "Conferma",
|
|
39
|
+
"category.all": "Tutte le categorie",
|
|
40
|
+
"category.general": "Generale",
|
|
41
|
+
"category.todo": "Da fare",
|
|
42
|
+
"category.blocker": "Bloccante",
|
|
43
|
+
"category.idea": "Idea",
|
|
44
|
+
"hub.title": "Centro Note Editoriali",
|
|
45
|
+
"hub.subtitle": "Cerca, filtra e gestisci le note editoriali in tutte le voci del Content Manager di Strapi v5.",
|
|
46
|
+
"hub.actions.refresh": "Aggiorna",
|
|
47
|
+
"hub.actions.openEntry": "Apri voce nel Content Manager",
|
|
48
|
+
"hub.stats.total": "Totale Note",
|
|
49
|
+
"hub.stats.pinned": "Note Fissate",
|
|
50
|
+
"hub.stats.blockers": "Bloccanti",
|
|
51
|
+
"hub.stats.todos": "Attività Aperte",
|
|
52
|
+
"hub.filters.search": "Cerca note",
|
|
53
|
+
"hub.filters.search.placeholder": "Cerca per titolo, contenuto, tipo di contenuto o autore...",
|
|
54
|
+
"hub.filters.contentType": "Tipo di Contenuto",
|
|
55
|
+
"hub.filters.contentType.all": "Tutti i tipi di contenuto",
|
|
56
|
+
"hub.filters.pinnedOnly": "Solo fissate",
|
|
57
|
+
"hub.table.targetEntity": "Voce di Destinazione",
|
|
58
|
+
"hub.table.actions": "Azioni",
|
|
59
|
+
"hub.badge.pinned": "FISSATA",
|
|
60
|
+
"hub.empty": "Nessuna nota editoriale trovata con i filtri correnti."
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
it as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const pt = {
|
|
2
|
+
"plugin.name": "Notas",
|
|
3
|
+
"notes.loading": "Carregando conteúdo ...",
|
|
4
|
+
"notes.notification.loadError": "Não foi possível carregar as notas.",
|
|
5
|
+
"notes.notification.created": "A nota foi criada com sucesso.",
|
|
6
|
+
"notes.notification.createError": "Falha ao criar a nota.",
|
|
7
|
+
"notes.notification.updated": "A nota foi atualizada com sucesso.",
|
|
8
|
+
"notes.notification.updateError": "Falha ao atualizar a nota.",
|
|
9
|
+
"notes.notification.deleted": "A nota foi excluída com sucesso.",
|
|
10
|
+
"notes.notification.deleteError": "Falha ao excluir a nota.",
|
|
11
|
+
"notes.sidePanel.count": "{count} nota(s)",
|
|
12
|
+
"notes.sidePanel.search.placeholder": "Filtrar notas...",
|
|
13
|
+
"notes.sidePanel.empty": "Nenhuma nota editorial anexada a este registro ainda.",
|
|
14
|
+
"notes.sidePanel.noMatches": "Nenhuma nota corresponde ao filtro atual.",
|
|
15
|
+
"note.modal.new.title": "Adicionar uma nota",
|
|
16
|
+
"note.modal.existing.title": "Editar uma nota",
|
|
17
|
+
"note.modal.meta.createdAt": "Criado em",
|
|
18
|
+
"note.modal.meta.createdBy": "Criado por",
|
|
19
|
+
"note.modal.meta.updatedAt": "Atualizado em",
|
|
20
|
+
"note.modal.meta.updatedBy": "Atualizado por",
|
|
21
|
+
"note.modal.fields.title": "Título",
|
|
22
|
+
"note.modal.fields.title.placeholder": "Resumo curto desta nota...",
|
|
23
|
+
"note.modal.fields.category": "Categoria",
|
|
24
|
+
"note.modal.fields.content": "Conteúdo",
|
|
25
|
+
"note.modal.fields.content.placeholder": "Escreva o contexto editorial detalhado, comentários de revisão ou próximos passos...",
|
|
26
|
+
"note.modal.fields.isPinned": "Fixar nota no topo",
|
|
27
|
+
"note.modal.fields.scopeToLocale": "Limitar apenas ao idioma ({locale})",
|
|
28
|
+
"note.modal.validation.titleRequired": "O título é obrigatório.",
|
|
29
|
+
"note.modal.actions.cancel": "Cancelar",
|
|
30
|
+
"note.modal.actions.save": "Salvar",
|
|
31
|
+
"note.modal.actions.close": "Fechar janela",
|
|
32
|
+
"note.actions.edit": "Editar",
|
|
33
|
+
"note.actions.delete": "Excluir",
|
|
34
|
+
"note.actions.pin": "Fixar nota",
|
|
35
|
+
"note.actions.unpin": "Desafixar nota",
|
|
36
|
+
"note.delete.dialog.title": "Confirmação",
|
|
37
|
+
"note.delete.dialog.description": 'Tem certeza de que deseja excluir a nota "{title}"?',
|
|
38
|
+
"note.delete.dialog.confirm": "Confirmar",
|
|
39
|
+
"category.all": "Todas as categorias",
|
|
40
|
+
"category.general": "Geral",
|
|
41
|
+
"category.todo": "Tarefa",
|
|
42
|
+
"category.blocker": "Bloqueio",
|
|
43
|
+
"category.idea": "Ideia",
|
|
44
|
+
"hub.title": "Central de Notas Editoriais",
|
|
45
|
+
"hub.subtitle": "Pesquise, filtre e gerencie notas editoriais em todos os registros do Content Manager do Strapi v5.",
|
|
46
|
+
"hub.actions.refresh": "Atualizar",
|
|
47
|
+
"hub.actions.openEntry": "Abrir registro no Content Manager",
|
|
48
|
+
"hub.stats.total": "Total de Notas",
|
|
49
|
+
"hub.stats.pinned": "Notas Fixadas",
|
|
50
|
+
"hub.stats.blockers": "Bloqueios",
|
|
51
|
+
"hub.stats.todos": "Tarefas Abertas",
|
|
52
|
+
"hub.filters.search": "Pesquisar notas",
|
|
53
|
+
"hub.filters.search.placeholder": "Pesquisar por título, conteúdo, tipo de conteúdo ou autor...",
|
|
54
|
+
"hub.filters.contentType": "Tipo de Conteúdo",
|
|
55
|
+
"hub.filters.contentType.all": "Todos os tipos de conteúdo",
|
|
56
|
+
"hub.filters.pinnedOnly": "Apenas fixadas",
|
|
57
|
+
"hub.table.targetEntity": "Registro de Destino",
|
|
58
|
+
"hub.table.actions": "Ações",
|
|
59
|
+
"hub.badge.pinned": "FIXADA",
|
|
60
|
+
"hub.empty": "Nenhuma nota editorial encontrada com os filtros atuais."
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
pt as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const pt = {
|
|
4
|
+
"plugin.name": "Notas",
|
|
5
|
+
"notes.loading": "Carregando conteúdo ...",
|
|
6
|
+
"notes.notification.loadError": "Não foi possível carregar as notas.",
|
|
7
|
+
"notes.notification.created": "A nota foi criada com sucesso.",
|
|
8
|
+
"notes.notification.createError": "Falha ao criar a nota.",
|
|
9
|
+
"notes.notification.updated": "A nota foi atualizada com sucesso.",
|
|
10
|
+
"notes.notification.updateError": "Falha ao atualizar a nota.",
|
|
11
|
+
"notes.notification.deleted": "A nota foi excluída com sucesso.",
|
|
12
|
+
"notes.notification.deleteError": "Falha ao excluir a nota.",
|
|
13
|
+
"notes.sidePanel.count": "{count} nota(s)",
|
|
14
|
+
"notes.sidePanel.search.placeholder": "Filtrar notas...",
|
|
15
|
+
"notes.sidePanel.empty": "Nenhuma nota editorial anexada a este registro ainda.",
|
|
16
|
+
"notes.sidePanel.noMatches": "Nenhuma nota corresponde ao filtro atual.",
|
|
17
|
+
"note.modal.new.title": "Adicionar uma nota",
|
|
18
|
+
"note.modal.existing.title": "Editar uma nota",
|
|
19
|
+
"note.modal.meta.createdAt": "Criado em",
|
|
20
|
+
"note.modal.meta.createdBy": "Criado por",
|
|
21
|
+
"note.modal.meta.updatedAt": "Atualizado em",
|
|
22
|
+
"note.modal.meta.updatedBy": "Atualizado por",
|
|
23
|
+
"note.modal.fields.title": "Título",
|
|
24
|
+
"note.modal.fields.title.placeholder": "Resumo curto desta nota...",
|
|
25
|
+
"note.modal.fields.category": "Categoria",
|
|
26
|
+
"note.modal.fields.content": "Conteúdo",
|
|
27
|
+
"note.modal.fields.content.placeholder": "Escreva o contexto editorial detalhado, comentários de revisão ou próximos passos...",
|
|
28
|
+
"note.modal.fields.isPinned": "Fixar nota no topo",
|
|
29
|
+
"note.modal.fields.scopeToLocale": "Limitar apenas ao idioma ({locale})",
|
|
30
|
+
"note.modal.validation.titleRequired": "O título é obrigatório.",
|
|
31
|
+
"note.modal.actions.cancel": "Cancelar",
|
|
32
|
+
"note.modal.actions.save": "Salvar",
|
|
33
|
+
"note.modal.actions.close": "Fechar janela",
|
|
34
|
+
"note.actions.edit": "Editar",
|
|
35
|
+
"note.actions.delete": "Excluir",
|
|
36
|
+
"note.actions.pin": "Fixar nota",
|
|
37
|
+
"note.actions.unpin": "Desafixar nota",
|
|
38
|
+
"note.delete.dialog.title": "Confirmação",
|
|
39
|
+
"note.delete.dialog.description": 'Tem certeza de que deseja excluir a nota "{title}"?',
|
|
40
|
+
"note.delete.dialog.confirm": "Confirmar",
|
|
41
|
+
"category.all": "Todas as categorias",
|
|
42
|
+
"category.general": "Geral",
|
|
43
|
+
"category.todo": "Tarefa",
|
|
44
|
+
"category.blocker": "Bloqueio",
|
|
45
|
+
"category.idea": "Ideia",
|
|
46
|
+
"hub.title": "Central de Notas Editoriais",
|
|
47
|
+
"hub.subtitle": "Pesquise, filtre e gerencie notas editoriais em todos os registros do Content Manager do Strapi v5.",
|
|
48
|
+
"hub.actions.refresh": "Atualizar",
|
|
49
|
+
"hub.actions.openEntry": "Abrir registro no Content Manager",
|
|
50
|
+
"hub.stats.total": "Total de Notas",
|
|
51
|
+
"hub.stats.pinned": "Notas Fixadas",
|
|
52
|
+
"hub.stats.blockers": "Bloqueios",
|
|
53
|
+
"hub.stats.todos": "Tarefas Abertas",
|
|
54
|
+
"hub.filters.search": "Pesquisar notas",
|
|
55
|
+
"hub.filters.search.placeholder": "Pesquisar por título, conteúdo, tipo de conteúdo ou autor...",
|
|
56
|
+
"hub.filters.contentType": "Tipo de Conteúdo",
|
|
57
|
+
"hub.filters.contentType.all": "Todos os tipos de conteúdo",
|
|
58
|
+
"hub.filters.pinnedOnly": "Apenas fixadas",
|
|
59
|
+
"hub.table.targetEntity": "Registro de Destino",
|
|
60
|
+
"hub.table.actions": "Ações",
|
|
61
|
+
"hub.badge.pinned": "FIXADA",
|
|
62
|
+
"hub.empty": "Nenhuma nota editorial encontrada com os filtros atuais."
|
|
63
|
+
};
|
|
64
|
+
exports.default = pt;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const ru = {
|
|
2
|
+
"plugin.name": "Заметки",
|
|
3
|
+
"notes.loading": "Загрузка содержимого ...",
|
|
4
|
+
"notes.notification.loadError": "Не удалось загрузить заметки.",
|
|
5
|
+
"notes.notification.created": "Заметка успешно создана.",
|
|
6
|
+
"notes.notification.createError": "Не удалось создать заметку.",
|
|
7
|
+
"notes.notification.updated": "Заметка успешно обновлена.",
|
|
8
|
+
"notes.notification.updateError": "Не удалось обновить заметку.",
|
|
9
|
+
"notes.notification.deleted": "Заметка успешно удалена.",
|
|
10
|
+
"notes.notification.deleteError": "Не удалось удалить заметку.",
|
|
11
|
+
"notes.sidePanel.count": "Заметок: {count}",
|
|
12
|
+
"notes.sidePanel.search.placeholder": "Фильтр заметок...",
|
|
13
|
+
"notes.sidePanel.empty": "К этой записи пока не прикреплено ни одной редакционной заметки.",
|
|
14
|
+
"notes.sidePanel.noMatches": "Нет заметок, соответствующих текущему фильтру.",
|
|
15
|
+
"note.modal.new.title": "Добавить заметку",
|
|
16
|
+
"note.modal.existing.title": "Редактировать заметку",
|
|
17
|
+
"note.modal.meta.createdAt": "Создано",
|
|
18
|
+
"note.modal.meta.createdBy": "Автор создания",
|
|
19
|
+
"note.modal.meta.updatedAt": "Обновлено",
|
|
20
|
+
"note.modal.meta.updatedBy": "Автор обновления",
|
|
21
|
+
"note.modal.fields.title": "Заголовок",
|
|
22
|
+
"note.modal.fields.title.placeholder": "Краткое описание заметки...",
|
|
23
|
+
"note.modal.fields.category": "Категория",
|
|
24
|
+
"note.modal.fields.content": "Содержимое",
|
|
25
|
+
"note.modal.fields.content.placeholder": "Укажите подробный редакционный контекст, комментарии к проверке или следующие шаги...",
|
|
26
|
+
"note.modal.fields.isPinned": "Закрепить заметку наверху",
|
|
27
|
+
"note.modal.fields.scopeToLocale": "Ограничить только локалью ({locale})",
|
|
28
|
+
"note.modal.validation.titleRequired": "Заголовок обязателен.",
|
|
29
|
+
"note.modal.actions.cancel": "Отмена",
|
|
30
|
+
"note.modal.actions.save": "Сохранить",
|
|
31
|
+
"note.modal.actions.close": "Закрыть окно",
|
|
32
|
+
"note.actions.edit": "Редактировать",
|
|
33
|
+
"note.actions.delete": "Удалить",
|
|
34
|
+
"note.actions.pin": "Закрепить заметку",
|
|
35
|
+
"note.actions.unpin": "Открепить заметку",
|
|
36
|
+
"note.delete.dialog.title": "Подтверждение",
|
|
37
|
+
"note.delete.dialog.description": "Вы уверены, что хотите удалить заметку «{title}»?",
|
|
38
|
+
"note.delete.dialog.confirm": "Подтвердить",
|
|
39
|
+
"category.all": "Все категории",
|
|
40
|
+
"category.general": "Общее",
|
|
41
|
+
"category.todo": "Задача",
|
|
42
|
+
"category.blocker": "Блокер",
|
|
43
|
+
"category.idea": "Идея",
|
|
44
|
+
"hub.title": "Центр редакционных заметок",
|
|
45
|
+
"hub.subtitle": "Поиск, фильтрация и управление редакционными заметками по всем записям Content Manager Strapi v5.",
|
|
46
|
+
"hub.actions.refresh": "Обновить",
|
|
47
|
+
"hub.actions.openEntry": "Открыть запись в Content Manager",
|
|
48
|
+
"hub.stats.total": "Всего заметок",
|
|
49
|
+
"hub.stats.pinned": "Закрепленные",
|
|
50
|
+
"hub.stats.blockers": "Блокеры",
|
|
51
|
+
"hub.stats.todos": "Открытые задачи",
|
|
52
|
+
"hub.filters.search": "Поиск заметок",
|
|
53
|
+
"hub.filters.search.placeholder": "Поиск по заголовку, содержимому, типу контента или автору...",
|
|
54
|
+
"hub.filters.contentType": "Тип контента",
|
|
55
|
+
"hub.filters.contentType.all": "Все типы контента",
|
|
56
|
+
"hub.filters.pinnedOnly": "Только закрепленные",
|
|
57
|
+
"hub.table.targetEntity": "Целевая запись",
|
|
58
|
+
"hub.table.actions": "Действия",
|
|
59
|
+
"hub.badge.pinned": "ЗАКРЕПЛЕНО",
|
|
60
|
+
"hub.empty": "Редакционные заметки по текущим фильтрам не найдены."
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
ru as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const ru = {
|
|
4
|
+
"plugin.name": "Заметки",
|
|
5
|
+
"notes.loading": "Загрузка содержимого ...",
|
|
6
|
+
"notes.notification.loadError": "Не удалось загрузить заметки.",
|
|
7
|
+
"notes.notification.created": "Заметка успешно создана.",
|
|
8
|
+
"notes.notification.createError": "Не удалось создать заметку.",
|
|
9
|
+
"notes.notification.updated": "Заметка успешно обновлена.",
|
|
10
|
+
"notes.notification.updateError": "Не удалось обновить заметку.",
|
|
11
|
+
"notes.notification.deleted": "Заметка успешно удалена.",
|
|
12
|
+
"notes.notification.deleteError": "Не удалось удалить заметку.",
|
|
13
|
+
"notes.sidePanel.count": "Заметок: {count}",
|
|
14
|
+
"notes.sidePanel.search.placeholder": "Фильтр заметок...",
|
|
15
|
+
"notes.sidePanel.empty": "К этой записи пока не прикреплено ни одной редакционной заметки.",
|
|
16
|
+
"notes.sidePanel.noMatches": "Нет заметок, соответствующих текущему фильтру.",
|
|
17
|
+
"note.modal.new.title": "Добавить заметку",
|
|
18
|
+
"note.modal.existing.title": "Редактировать заметку",
|
|
19
|
+
"note.modal.meta.createdAt": "Создано",
|
|
20
|
+
"note.modal.meta.createdBy": "Автор создания",
|
|
21
|
+
"note.modal.meta.updatedAt": "Обновлено",
|
|
22
|
+
"note.modal.meta.updatedBy": "Автор обновления",
|
|
23
|
+
"note.modal.fields.title": "Заголовок",
|
|
24
|
+
"note.modal.fields.title.placeholder": "Краткое описание заметки...",
|
|
25
|
+
"note.modal.fields.category": "Категория",
|
|
26
|
+
"note.modal.fields.content": "Содержимое",
|
|
27
|
+
"note.modal.fields.content.placeholder": "Укажите подробный редакционный контекст, комментарии к проверке или следующие шаги...",
|
|
28
|
+
"note.modal.fields.isPinned": "Закрепить заметку наверху",
|
|
29
|
+
"note.modal.fields.scopeToLocale": "Ограничить только локалью ({locale})",
|
|
30
|
+
"note.modal.validation.titleRequired": "Заголовок обязателен.",
|
|
31
|
+
"note.modal.actions.cancel": "Отмена",
|
|
32
|
+
"note.modal.actions.save": "Сохранить",
|
|
33
|
+
"note.modal.actions.close": "Закрыть окно",
|
|
34
|
+
"note.actions.edit": "Редактировать",
|
|
35
|
+
"note.actions.delete": "Удалить",
|
|
36
|
+
"note.actions.pin": "Закрепить заметку",
|
|
37
|
+
"note.actions.unpin": "Открепить заметку",
|
|
38
|
+
"note.delete.dialog.title": "Подтверждение",
|
|
39
|
+
"note.delete.dialog.description": "Вы уверены, что хотите удалить заметку «{title}»?",
|
|
40
|
+
"note.delete.dialog.confirm": "Подтвердить",
|
|
41
|
+
"category.all": "Все категории",
|
|
42
|
+
"category.general": "Общее",
|
|
43
|
+
"category.todo": "Задача",
|
|
44
|
+
"category.blocker": "Блокер",
|
|
45
|
+
"category.idea": "Идея",
|
|
46
|
+
"hub.title": "Центр редакционных заметок",
|
|
47
|
+
"hub.subtitle": "Поиск, фильтрация и управление редакционными заметками по всем записям Content Manager Strapi v5.",
|
|
48
|
+
"hub.actions.refresh": "Обновить",
|
|
49
|
+
"hub.actions.openEntry": "Открыть запись в Content Manager",
|
|
50
|
+
"hub.stats.total": "Всего заметок",
|
|
51
|
+
"hub.stats.pinned": "Закрепленные",
|
|
52
|
+
"hub.stats.blockers": "Блокеры",
|
|
53
|
+
"hub.stats.todos": "Открытые задачи",
|
|
54
|
+
"hub.filters.search": "Поиск заметок",
|
|
55
|
+
"hub.filters.search.placeholder": "Поиск по заголовку, содержимому, типу контента или автору...",
|
|
56
|
+
"hub.filters.contentType": "Тип контента",
|
|
57
|
+
"hub.filters.contentType.all": "Все типы контента",
|
|
58
|
+
"hub.filters.pinnedOnly": "Только закрепленные",
|
|
59
|
+
"hub.table.targetEntity": "Целевая запись",
|
|
60
|
+
"hub.table.actions": "Действия",
|
|
61
|
+
"hub.badge.pinned": "ЗАКРЕПЛЕНО",
|
|
62
|
+
"hub.empty": "Редакционные заметки по текущим фильтрам не найдены."
|
|
63
|
+
};
|
|
64
|
+
exports.default = ru;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NoteRecord } from '../../../shared';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface DeleteNoteDialogProps {
|
|
4
|
+
note: NoteRecord | null;
|
|
5
|
+
isSubmitting?: boolean;
|
|
6
|
+
onCancel: () => void;
|
|
7
|
+
onConfirm: (note: NoteRecord) => Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
export declare const DeleteNoteDialog: React.FC<DeleteNoteDialogProps>;
|
|
10
|
+
export default DeleteNoteDialog;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NoteRecord } from '../../../shared';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface NoteListItemProps {
|
|
4
|
+
note: NoteRecord;
|
|
5
|
+
onEdit: (note: NoteRecord) => void;
|
|
6
|
+
onRequestDelete: (note: NoteRecord) => void;
|
|
7
|
+
onTogglePin: (note: NoteRecord) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const NoteListItem: React.FC<NoteListItemProps>;
|
|
10
|
+
export default NoteListItem;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NoteRecord, NoteUpsertInput } from '../../../shared';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface NoteEntityContext {
|
|
4
|
+
id?: number | string | null;
|
|
5
|
+
documentId?: string;
|
|
6
|
+
slug: string;
|
|
7
|
+
locale?: string | null;
|
|
8
|
+
}
|
|
9
|
+
export interface NoteModalProps {
|
|
10
|
+
entity: NoteEntityContext;
|
|
11
|
+
note?: Partial<NoteRecord> | null;
|
|
12
|
+
isOpen: boolean;
|
|
13
|
+
isSubmitting?: boolean;
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
onSubmit: (payload: NoteUpsertInput, existingId?: string | number) => Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
export declare const NoteModal: React.FC<NoteModalProps>;
|
|
18
|
+
export default NoteModal;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NoteCategory, NotesSummaryStats } from '../../../shared';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface NotesHubFilterBarProps {
|
|
4
|
+
summary: NotesSummaryStats;
|
|
5
|
+
search: string;
|
|
6
|
+
selectedCategory: NoteCategory | "all";
|
|
7
|
+
selectedSlug: string;
|
|
8
|
+
pinnedOnly: boolean;
|
|
9
|
+
onSearchChange: (value: string) => void;
|
|
10
|
+
onCategoryChange: (value: NoteCategory | "all") => void;
|
|
11
|
+
onSlugChange: (value: string) => void;
|
|
12
|
+
onPinnedOnlyChange: (value: boolean) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const NotesHubFilterBar: React.FC<NotesHubFilterBarProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface SidePanelProps {
|
|
2
|
+
activeTab?: string;
|
|
3
|
+
collectionType?: string;
|
|
4
|
+
document?: Record<string, unknown>;
|
|
5
|
+
documentId?: string;
|
|
6
|
+
meta?: Record<string, unknown>;
|
|
7
|
+
model?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const NotesSidePanel: (props: SidePanelProps) => {
|
|
10
|
+
title: string;
|
|
11
|
+
content: import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
} | null;
|
|
13
|
+
export default NotesSidePanel;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NoteFilterParams, NoteRecord, NotesSummaryStats, NoteUpsertInput } from '../../../shared';
|
|
2
|
+
export declare function useNotes(initialParams?: NoteFilterParams): {
|
|
3
|
+
notes: NoteRecord[];
|
|
4
|
+
summary: NotesSummaryStats;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
isMutating: boolean;
|
|
7
|
+
refetch: (overrideParams?: NoteFilterParams) => Promise<NoteRecord[]>;
|
|
8
|
+
createNote: (payload: NoteUpsertInput) => Promise<NoteRecord | null>;
|
|
9
|
+
updateNote: (id: string | number, body: Partial<NoteUpsertInput>) => Promise<NoteRecord | null>;
|
|
10
|
+
deleteNote: (id: string | number) => Promise<boolean>;
|
|
11
|
+
};
|
|
12
|
+
export declare const useNote: typeof useNotes;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { NotesSidePanel } from './components/NotesSidePanel';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
register(app: {
|
|
4
|
+
addMenuLink: (link: Record<string, unknown>) => void;
|
|
5
|
+
registerPlugin: (plugin: Record<string, unknown>) => void;
|
|
6
|
+
}): void;
|
|
7
|
+
bootstrap(app: {
|
|
8
|
+
getPlugin: (name: string) => {
|
|
9
|
+
apis?: {
|
|
10
|
+
addEditViewSidePanel?: (panels: Array<typeof NotesSidePanel>) => void;
|
|
11
|
+
};
|
|
12
|
+
} | undefined;
|
|
13
|
+
}): void;
|
|
14
|
+
registerTrads: ({ locales, }?: {
|
|
15
|
+
locales?: string[];
|
|
16
|
+
}) => Promise<Array<{
|
|
17
|
+
data: Record<string, string>;
|
|
18
|
+
locale: string;
|
|
19
|
+
}>>;
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getTrad } from './getTrad';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const tr = {
|
|
4
|
+
"plugin.name": "Notlar",
|
|
5
|
+
"notes.loading": "İçerik yükleniyor ...",
|
|
6
|
+
"notes.notification.loadError": "Notlar yüklenemedi.",
|
|
7
|
+
"notes.notification.created": "Not başarıyla oluşturuldu.",
|
|
8
|
+
"notes.notification.createError": "Not oluşturulamadı.",
|
|
9
|
+
"notes.notification.updated": "Not başarıyla güncellendi.",
|
|
10
|
+
"notes.notification.updateError": "Not güncellenemedi.",
|
|
11
|
+
"notes.notification.deleted": "Not başarıyla silindi.",
|
|
12
|
+
"notes.notification.deleteError": "Not silinemedi.",
|
|
13
|
+
"notes.sidePanel.count": "{count} not",
|
|
14
|
+
"notes.sidePanel.search.placeholder": "Notları filtrele...",
|
|
15
|
+
"notes.sidePanel.empty": "Bu kayda henüz editoryal not eklenmemiş.",
|
|
16
|
+
"notes.sidePanel.noMatches": "Mevcut filtreyle eşleşen not yok.",
|
|
17
|
+
"note.modal.new.title": "Not ekle",
|
|
18
|
+
"note.modal.existing.title": "Notu düzenle",
|
|
19
|
+
"note.modal.meta.createdAt": "Oluşturulma Tarihi",
|
|
20
|
+
"note.modal.meta.createdBy": "Oluşturan",
|
|
21
|
+
"note.modal.meta.updatedAt": "Güncellenme Tarihi",
|
|
22
|
+
"note.modal.meta.updatedBy": "Güncelleyen",
|
|
23
|
+
"note.modal.fields.title": "Başlık",
|
|
24
|
+
"note.modal.fields.title.placeholder": "Bu notun kısa özeti...",
|
|
25
|
+
"note.modal.fields.category": "Kategori",
|
|
26
|
+
"note.modal.fields.content": "İçerik",
|
|
27
|
+
"note.modal.fields.content.placeholder": "Ayrıntılı editoryal bağlamı, inceleme geri bildirimini veya sonraki adımları yazın...",
|
|
28
|
+
"note.modal.fields.isPinned": "Notu en üste sabitle",
|
|
29
|
+
"note.modal.fields.scopeToLocale": "Yalnızca ({locale}) diliyle sınırla",
|
|
30
|
+
"note.modal.validation.titleRequired": "Başlık zorunludur.",
|
|
31
|
+
"note.modal.actions.cancel": "İptal",
|
|
32
|
+
"note.modal.actions.save": "Kaydet",
|
|
33
|
+
"note.modal.actions.close": "Pencereyi kapat",
|
|
34
|
+
"note.actions.edit": "Düzenle",
|
|
35
|
+
"note.actions.delete": "Sil",
|
|
36
|
+
"note.actions.pin": "Notu sabitle",
|
|
37
|
+
"note.actions.unpin": "Sabitlemeyi kaldır",
|
|
38
|
+
"note.delete.dialog.title": "Onay",
|
|
39
|
+
"note.delete.dialog.description": '"{title}" başlıklı notu silmek istediğinizden emin misiniz?',
|
|
40
|
+
"note.delete.dialog.confirm": "Onayla",
|
|
41
|
+
"category.all": "Tüm kategoriler",
|
|
42
|
+
"category.general": "Genel",
|
|
43
|
+
"category.todo": "Yapılacak",
|
|
44
|
+
"category.blocker": "Engelleyici",
|
|
45
|
+
"category.idea": "Fikir",
|
|
46
|
+
"hub.title": "Editoryal Notlar Merkezi",
|
|
47
|
+
"hub.subtitle": "Tüm Strapi v5 Content Manager kayıtlarındaki editoryal notları arayın, filtreleyin ve yönetin.",
|
|
48
|
+
"hub.actions.refresh": "Yenile",
|
|
49
|
+
"hub.actions.openEntry": "Kaydı Content Manager'da aç",
|
|
50
|
+
"hub.stats.total": "Toplam Not",
|
|
51
|
+
"hub.stats.pinned": "Sabitlenen Notlar",
|
|
52
|
+
"hub.stats.blockers": "Engelleyiciler",
|
|
53
|
+
"hub.stats.todos": "Açık Yapılacaklar",
|
|
54
|
+
"hub.filters.search": "Notlarda ara",
|
|
55
|
+
"hub.filters.search.placeholder": "Başlık, içerik, içerik türü veya yazara göre ara...",
|
|
56
|
+
"hub.filters.contentType": "İçerik Türü",
|
|
57
|
+
"hub.filters.contentType.all": "Tüm içerik türleri",
|
|
58
|
+
"hub.filters.pinnedOnly": "Yalnızca sabitlenenler",
|
|
59
|
+
"hub.table.targetEntity": "Hedef Kayıt",
|
|
60
|
+
"hub.table.actions": "İşlemler",
|
|
61
|
+
"hub.badge.pinned": "SABİTLENDİ",
|
|
62
|
+
"hub.empty": "Mevcut filtrelerle eşleşen editoryal not bulunamadı."
|
|
63
|
+
};
|
|
64
|
+
exports.default = tr;
|