@umodeapporg/ui 0.14.0 → 0.16.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/dist/components/Form/ControlledImage/index.d.ts +3 -0
- package/dist/components/Form/ControlledImage/index.js +2 -1
- package/dist/components/Form/ControlledImage/index.js.map +1 -1
- package/dist/components/UI/DataTable/DataTable.js +15 -4
- package/dist/components/UI/DataTable/DataTable.js.map +1 -1
- package/dist/components/UI/DataTable/DataTableBody.d.ts +5 -1
- package/dist/components/UI/DataTable/DataTableBody.js +15 -2
- package/dist/components/UI/DataTable/DataTableBody.js.map +1 -1
- package/dist/components/UI/DataTable/DataTableBodyCell.js +11 -0
- package/dist/components/UI/DataTable/DataTableBodyCell.js.map +1 -1
- package/dist/components/UI/DataTable/cells/DataTableEditableCell.js +7 -10
- package/dist/components/UI/DataTable/cells/DataTableEditableCell.js.map +1 -1
- package/dist/components/UI/DataTable/grid/GridProvider.d.ts +3 -0
- package/dist/components/UI/DataTable/grid/GridProvider.js +25 -3
- package/dist/components/UI/DataTable/grid/GridProvider.js.map +1 -1
- package/dist/components/UI/DataTable/grid/gridStore.d.ts +10 -2
- package/dist/components/UI/DataTable/grid/gridStore.js +30 -3
- package/dist/components/UI/DataTable/grid/gridStore.js.map +1 -1
- package/dist/components/UI/DataTable/grid/gridTypes.d.ts +17 -5
- package/dist/components/UI/DataTable/grid/gridTypes.js.map +1 -1
- package/dist/components/UI/DataTable/grid/useGridKeyboard.d.ts +4 -2
- package/dist/components/UI/DataTable/grid/useGridKeyboard.js +25 -11
- package/dist/components/UI/DataTable/grid/useGridKeyboard.js.map +1 -1
- package/dist/components/UI/ImageAiAdjust/ImageAiAdjustDialog.d.ts +6 -0
- package/dist/components/UI/ImageAiAdjust/ImageAiAdjustDialog.js +164 -74
- package/dist/components/UI/ImageAiAdjust/ImageAiAdjustDialog.js.map +1 -1
- package/dist/components/UI/ImageAiAdjust/ImageAiDiscardReasonDialog.d.ts +8 -0
- package/dist/components/UI/ImageAiAdjust/ImageAiDiscardReasonDialog.js +67 -0
- package/dist/components/UI/ImageAiAdjust/ImageAiDiscardReasonDialog.js.map +1 -0
- package/dist/components/UI/ImageAiAdjust/ImageAiVerificationNotice.d.ts +8 -0
- package/dist/components/UI/ImageAiAdjust/ImageAiVerificationNotice.js +39 -0
- package/dist/components/UI/ImageAiAdjust/ImageAiVerificationNotice.js.map +1 -0
- package/dist/components/UI/ImageAiAdjust/imageAiReview.d.ts +22 -0
- package/dist/components/UI/ImageAiAdjust/imageAiReview.js +37 -0
- package/dist/components/UI/ImageAiAdjust/imageAiReview.js.map +1 -0
- package/dist/components/UI/ImageAiAdjust/imageAiVerification.d.ts +19 -0
- package/dist/components/UI/ImageAiAdjust/imageAiVerification.js +25 -0
- package/dist/components/UI/ImageAiAdjust/imageAiVerification.js.map +1 -0
- package/dist/components/UI/ImageAiAdjust/useImageAiAdjust.d.ts +25 -2
- package/dist/components/UI/ImageAiAdjust/useImageAiAdjust.js +44 -19
- package/dist/components/UI/ImageAiAdjust/useImageAiAdjust.js.map +1 -1
- package/dist/components/UI/ImageMaskPainter/index.d.ts +19 -0
- package/dist/components/UI/ImageMaskPainter/index.js +267 -0
- package/dist/components/UI/ImageMaskPainter/index.js.map +1 -0
- package/dist/components/UI/ImageMaskPainter/maskStrokes.d.ts +19 -0
- package/dist/components/UI/ImageMaskPainter/maskStrokes.js +71 -0
- package/dist/components/UI/ImageMaskPainter/maskStrokes.js.map +1 -0
- package/dist/helpers/imageFile.d.ts +16 -0
- package/dist/helpers/imageFile.js +59 -10
- package/dist/helpers/imageFile.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +12 -10
- package/dist/index.js.map +1 -1
- package/dist/locales/en/ui.json.d.ts +36 -1
- package/dist/locales/en/ui.json.js +7 -1
- package/dist/locales/en/ui.json.js.map +1 -1
- package/dist/locales/index.d.ts +70 -0
- package/dist/locales/pt/ui.json.d.ts +36 -1
- package/dist/locales/pt/ui.json.js +7 -1
- package/dist/locales/pt/ui.json.js.map +1 -1
- package/package.json +5 -1
|
@@ -311,7 +311,42 @@ declare const _default: {
|
|
|
311
311
|
"tryAgain": "Generate another",
|
|
312
312
|
"useResult": "Use this image",
|
|
313
313
|
"errorGenerate": "Could not adjust the image with AI",
|
|
314
|
-
"errorSave": "Could not save the adjusted image"
|
|
314
|
+
"errorSave": "Could not save the adjusted image",
|
|
315
|
+
"errorRefused": "The AI could not make this adjustment: {{reason}}",
|
|
316
|
+
"mask": {
|
|
317
|
+
"start": "Mark the area",
|
|
318
|
+
"stop": "Use the whole image",
|
|
319
|
+
"hint": "Paint the area the AI may change. The rest of the image is kept."
|
|
320
|
+
},
|
|
321
|
+
"verification": {
|
|
322
|
+
"changedMoreThanRequested": "The AI changed more than requested. Check the areas outside the adjustment before using it.",
|
|
323
|
+
"colorMismatch": "The garment color ({{dominant}}) differs from the requested color ({{target}})."
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"imageMaskPainter": {
|
|
327
|
+
"paint": "Paint",
|
|
328
|
+
"erase": "Erase",
|
|
329
|
+
"brushSize": "Brush size",
|
|
330
|
+
"undo": "Undo",
|
|
331
|
+
"clear": "Clear",
|
|
332
|
+
"surfaceLabel": "Mask painting area over the image"
|
|
333
|
+
},
|
|
334
|
+
"imageAiReview": {
|
|
335
|
+
"discardTitle": "Why are you discarding this result?",
|
|
336
|
+
"discardSubtitle": "Your answer helps us improve the AI. The image is discarded either way.",
|
|
337
|
+
"discardConfirm": "Discard",
|
|
338
|
+
"reasonLabel": "Reason",
|
|
339
|
+
"detailsLabel": "Details",
|
|
340
|
+
"detailsPlaceholder": "Optional: tell us what went wrong",
|
|
341
|
+
"reasons": {
|
|
342
|
+
"changed_the_product": "Changed the product",
|
|
343
|
+
"wrong_color": "Wrong color",
|
|
344
|
+
"bad_quality": "Bad quality",
|
|
345
|
+
"person_changed": "The person changed",
|
|
346
|
+
"text_or_logo": "Text or logo problem",
|
|
347
|
+
"not_what_i_asked": "Not what I asked for",
|
|
348
|
+
"other": "Other"
|
|
349
|
+
}
|
|
315
350
|
},
|
|
316
351
|
"imageAnnotator": {
|
|
317
352
|
"title": "Annotate image",
|
|
@@ -14,7 +14,9 @@ const filters = { "activeFilters": "Applied filters", "appliedCount_one": "{{cou
|
|
|
14
14
|
const filtersDrawer = { "selectedFilters": "Selected filters:", "pendingChanges": "Pending changes", "discardChangesTitle": "Discard changes?", "discardChangesMessage": "You have unapplied filter changes. Discard them?", "keepEditing": "Keep editing", "discard": "Discard" };
|
|
15
15
|
const followUp = { "messages": "Messages", "chat": { "loadingMessages": "Loading messages", "placeholder": "Write a message...", "invalidMessage": "Please enter a valid message", "noMessagesYet": "No messages yet", "startConversation": "Start a conversation by adding the first message", "loadError": "Messages could not be loaded", "sendFailed": "The message could not be sent. Try again.", "sendFailedInline": "Failed to send", "resend": "Resend", "discard": "Discard", "today": "Today", "yesterday": "Yesterday", "typingOne": "{{name}} is typing...", "typingMany": "{{count}} people are typing...", "someone": "Someone", "you": "You", "newMessages": "New messages", "backToLatest": "Back to latest", "deletedMessage": "Message deleted", "edited": "edited", "readBy": "Read by {{names}}", "copied": "Message copied", "replyingTo": "Replying to {{name}}", "attachmentFallback": "Attachment", "editTitle": "Edit message", "deleteTitle": "Delete message?", "deleteSubtitle": "The message will be shown as deleted for every participant", "sendHint": "Enter sends, Shift+Enter adds a line break", "formatting": "Formatting" }, "actions": { "reply": "Reply", "copy": "Copy text", "edit": "Edit", "delete": "Delete" }, "attachments": { "attach": "Attach", "pickFile": "File", "pickImage": "Image", "takePhoto": "Take photo", "dropHere": "Drop files to attach", "tooMany": "Limit of {{max}} attachments per message", "tooLarge": "The file {{name}} exceeds the 50 MB limit", "uploadFailed": "Upload failed", "uploading": "Uploading attachments...", "imagePreview": "Preview image", "showTranscript": "Show transcript", "hideTranscript": "Hide transcript" }, "voice": { "record": "Record audio", "recording": "Recording", "stop": "Finish recording", "cancel": "Cancel recording", "rerecord": "Record again", "attach": "Add to message", "discard": "Discard", "transcriptLabel": "Transcript", "transcriptPlaceholder": "The speech transcript appears here and can be edited" }, "camera": { "title": "Take photo", "unavailable": "Camera unavailable", "unavailableHint": "Check the browser camera permission", "switch": "Switch camera", "capture": "Capture photo" }, "search": { "open": "Search in conversation", "placeholder": "Search messages", "noResults": "No messages found", "error": "Messages could not be searched" } };
|
|
16
16
|
const generatedByAI = { "tooltip": "Generated by AI" };
|
|
17
|
-
const imageAiAdjust = { "action": "Adjust with AI", "title": "Adjust image with AI", "subtitle": "Describe the adjustment. The AI changes only what you ask and preserves the rest of the image.", "original": "Original", "result": "Result", "resultHint": "Describe the adjustment and click Generate to see the result here.", "promptLabel": "Desired adjustment", "promptPlaceholder": "E.g. remove the background and make it white, smooth the sleeve creases, brighten the lighting", "generate": "Generate", "generating": "Generating the image...", "tryAgain": "Generate another", "useResult": "Use this image", "errorGenerate": "Could not adjust the image with AI", "errorSave": "Could not save the adjusted image" };
|
|
17
|
+
const imageAiAdjust = { "action": "Adjust with AI", "title": "Adjust image with AI", "subtitle": "Describe the adjustment. The AI changes only what you ask and preserves the rest of the image.", "original": "Original", "result": "Result", "resultHint": "Describe the adjustment and click Generate to see the result here.", "promptLabel": "Desired adjustment", "promptPlaceholder": "E.g. remove the background and make it white, smooth the sleeve creases, brighten the lighting", "generate": "Generate", "generating": "Generating the image...", "tryAgain": "Generate another", "useResult": "Use this image", "errorGenerate": "Could not adjust the image with AI", "errorSave": "Could not save the adjusted image", "errorRefused": "The AI could not make this adjustment: {{reason}}", "mask": { "start": "Mark the area", "stop": "Use the whole image", "hint": "Paint the area the AI may change. The rest of the image is kept." }, "verification": { "changedMoreThanRequested": "The AI changed more than requested. Check the areas outside the adjustment before using it.", "colorMismatch": "The garment color ({{dominant}}) differs from the requested color ({{target}})." } };
|
|
18
|
+
const imageMaskPainter = { "paint": "Paint", "erase": "Erase", "brushSize": "Brush size", "undo": "Undo", "clear": "Clear", "surfaceLabel": "Mask painting area over the image" };
|
|
19
|
+
const imageAiReview = { "discardTitle": "Why are you discarding this result?", "discardSubtitle": "Your answer helps us improve the AI. The image is discarded either way.", "discardConfirm": "Discard", "reasonLabel": "Reason", "detailsLabel": "Details", "detailsPlaceholder": "Optional: tell us what went wrong", "reasons": { "changed_the_product": "Changed the product", "wrong_color": "Wrong color", "bad_quality": "Bad quality", "person_changed": "The person changed", "text_or_logo": "Text or logo problem", "not_what_i_asked": "Not what I asked for", "other": "Other" } };
|
|
18
20
|
const imageAnnotator = { "title": "Annotate image", "annotate": "Annotate image", "tools": { "select": "Select", "pen": "Freehand pen", "eraser": "Eraser", "arrow": "Arrow", "line": "Line", "rectangle": "Rectangle", "ellipse": "Ellipse", "text": "Text", "image": "Insert image" }, "stroke": { "thin": "Thin stroke", "medium": "Medium stroke", "thick": "Thick stroke" }, "style": { "none": "No colour", "fill": "Fill", "textBackground": "Text background", "bold": "Bold", "italic": "Italic", "alignLeft": "Align left", "alignCenter": "Align centre", "alignRight": "Align right", "border": "Image border", "shadow": "Image shadow", "font": { "small": "Small text", "medium": "Medium text", "large": "Large text" } }, "layers": { "forward": "Bring forward", "backward": "Send backward" }, "actions": { "duplicate": "Duplicate", "delete": "Delete" }, "undo": "Undo", "redo": "Redo", "clear": "Clear annotations", "textPlaceholder": "Type the text", "loadError": "Could not load the image for editing", "imageInsertFailed": "Could not insert the selected image", "sendFailed": "Could not upload the annotated image", "save": "Save annotations", "saving": "Saving..." };
|
|
19
21
|
const imageZoom = { "title": "Enlarged image", "close": "Close" };
|
|
20
22
|
const informationCard = { "defaultTitle": "Indicators Summary" };
|
|
@@ -51,6 +53,8 @@ const en = {
|
|
|
51
53
|
followUp,
|
|
52
54
|
generatedByAI,
|
|
53
55
|
imageAiAdjust,
|
|
56
|
+
imageMaskPainter,
|
|
57
|
+
imageAiReview,
|
|
54
58
|
imageAnnotator,
|
|
55
59
|
imageZoom,
|
|
56
60
|
informationCard,
|
|
@@ -89,7 +93,9 @@ export {
|
|
|
89
93
|
followUp,
|
|
90
94
|
generatedByAI,
|
|
91
95
|
imageAiAdjust,
|
|
96
|
+
imageAiReview,
|
|
92
97
|
imageAnnotator,
|
|
98
|
+
imageMaskPainter,
|
|
93
99
|
imageZoom,
|
|
94
100
|
informationCard,
|
|
95
101
|
inputField,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/locales/index.d.ts
CHANGED
|
@@ -314,6 +314,41 @@ export declare const uiLocales: {
|
|
|
314
314
|
useResult: string;
|
|
315
315
|
errorGenerate: string;
|
|
316
316
|
errorSave: string;
|
|
317
|
+
errorRefused: string;
|
|
318
|
+
mask: {
|
|
319
|
+
start: string;
|
|
320
|
+
stop: string;
|
|
321
|
+
hint: string;
|
|
322
|
+
};
|
|
323
|
+
verification: {
|
|
324
|
+
changedMoreThanRequested: string;
|
|
325
|
+
colorMismatch: string;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
imageMaskPainter: {
|
|
329
|
+
paint: string;
|
|
330
|
+
erase: string;
|
|
331
|
+
brushSize: string;
|
|
332
|
+
undo: string;
|
|
333
|
+
clear: string;
|
|
334
|
+
surfaceLabel: string;
|
|
335
|
+
};
|
|
336
|
+
imageAiReview: {
|
|
337
|
+
discardTitle: string;
|
|
338
|
+
discardSubtitle: string;
|
|
339
|
+
discardConfirm: string;
|
|
340
|
+
reasonLabel: string;
|
|
341
|
+
detailsLabel: string;
|
|
342
|
+
detailsPlaceholder: string;
|
|
343
|
+
reasons: {
|
|
344
|
+
changed_the_product: string;
|
|
345
|
+
wrong_color: string;
|
|
346
|
+
bad_quality: string;
|
|
347
|
+
person_changed: string;
|
|
348
|
+
text_or_logo: string;
|
|
349
|
+
not_what_i_asked: string;
|
|
350
|
+
other: string;
|
|
351
|
+
};
|
|
317
352
|
};
|
|
318
353
|
imageAnnotator: {
|
|
319
354
|
title: string;
|
|
@@ -832,6 +867,41 @@ export declare const uiLocales: {
|
|
|
832
867
|
useResult: string;
|
|
833
868
|
errorGenerate: string;
|
|
834
869
|
errorSave: string;
|
|
870
|
+
errorRefused: string;
|
|
871
|
+
mask: {
|
|
872
|
+
start: string;
|
|
873
|
+
stop: string;
|
|
874
|
+
hint: string;
|
|
875
|
+
};
|
|
876
|
+
verification: {
|
|
877
|
+
changedMoreThanRequested: string;
|
|
878
|
+
colorMismatch: string;
|
|
879
|
+
};
|
|
880
|
+
};
|
|
881
|
+
imageMaskPainter: {
|
|
882
|
+
paint: string;
|
|
883
|
+
erase: string;
|
|
884
|
+
brushSize: string;
|
|
885
|
+
undo: string;
|
|
886
|
+
clear: string;
|
|
887
|
+
surfaceLabel: string;
|
|
888
|
+
};
|
|
889
|
+
imageAiReview: {
|
|
890
|
+
discardTitle: string;
|
|
891
|
+
discardSubtitle: string;
|
|
892
|
+
discardConfirm: string;
|
|
893
|
+
reasonLabel: string;
|
|
894
|
+
detailsLabel: string;
|
|
895
|
+
detailsPlaceholder: string;
|
|
896
|
+
reasons: {
|
|
897
|
+
changed_the_product: string;
|
|
898
|
+
wrong_color: string;
|
|
899
|
+
bad_quality: string;
|
|
900
|
+
person_changed: string;
|
|
901
|
+
text_or_logo: string;
|
|
902
|
+
not_what_i_asked: string;
|
|
903
|
+
other: string;
|
|
904
|
+
};
|
|
835
905
|
};
|
|
836
906
|
imageAnnotator: {
|
|
837
907
|
title: string;
|
|
@@ -311,7 +311,42 @@ declare const _default: {
|
|
|
311
311
|
"tryAgain": "Gerar outra",
|
|
312
312
|
"useResult": "Usar esta imagem",
|
|
313
313
|
"errorGenerate": "Não foi possível ajustar a imagem com IA",
|
|
314
|
-
"errorSave": "Não foi possível salvar a imagem ajustada"
|
|
314
|
+
"errorSave": "Não foi possível salvar a imagem ajustada",
|
|
315
|
+
"errorRefused": "A IA não conseguiu fazer este ajuste: {{reason}}",
|
|
316
|
+
"mask": {
|
|
317
|
+
"start": "Marcar a área",
|
|
318
|
+
"stop": "Usar a imagem toda",
|
|
319
|
+
"hint": "Pinte a área que a IA pode alterar. O resto da imagem é mantido."
|
|
320
|
+
},
|
|
321
|
+
"verification": {
|
|
322
|
+
"changedMoreThanRequested": "A IA mudou mais do que o pedido. Confira as áreas fora do ajuste antes de usar.",
|
|
323
|
+
"colorMismatch": "A cor da peça ({{dominant}}) ficou diferente da cor pedida ({{target}})."
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"imageMaskPainter": {
|
|
327
|
+
"paint": "Pintar",
|
|
328
|
+
"erase": "Apagar",
|
|
329
|
+
"brushSize": "Tamanho do pincel",
|
|
330
|
+
"undo": "Desfazer",
|
|
331
|
+
"clear": "Limpar",
|
|
332
|
+
"surfaceLabel": "Área de pintura da máscara sobre a imagem"
|
|
333
|
+
},
|
|
334
|
+
"imageAiReview": {
|
|
335
|
+
"discardTitle": "Por que descartar este resultado?",
|
|
336
|
+
"discardSubtitle": "Sua resposta ajuda a melhorar a IA. A imagem é descartada de qualquer forma.",
|
|
337
|
+
"discardConfirm": "Descartar",
|
|
338
|
+
"reasonLabel": "Motivo",
|
|
339
|
+
"detailsLabel": "Detalhes",
|
|
340
|
+
"detailsPlaceholder": "Opcional: conte o que deu errado",
|
|
341
|
+
"reasons": {
|
|
342
|
+
"changed_the_product": "Alterou o produto",
|
|
343
|
+
"wrong_color": "Cor errada",
|
|
344
|
+
"bad_quality": "Baixa qualidade",
|
|
345
|
+
"person_changed": "A pessoa mudou",
|
|
346
|
+
"text_or_logo": "Problema com texto ou logo",
|
|
347
|
+
"not_what_i_asked": "Não é o que pedi",
|
|
348
|
+
"other": "Outro"
|
|
349
|
+
}
|
|
315
350
|
},
|
|
316
351
|
"imageAnnotator": {
|
|
317
352
|
"title": "Anotar imagem",
|
|
@@ -14,7 +14,9 @@ const filters = { "activeFilters": "Filtros aplicados", "appliedCount_one": "{{c
|
|
|
14
14
|
const filtersDrawer = { "selectedFilters": "Filtros Selecionados:", "pendingChanges": "Alterações pendentes", "discardChangesTitle": "Descartar alterações?", "discardChangesMessage": "Você tem alterações de filtro não aplicadas. Deseja descartá-las?", "keepEditing": "Continuar editando", "discard": "Descartar" };
|
|
15
15
|
const followUp = { "messages": "Mensagens", "chat": { "loadingMessages": "Carregando mensagens", "placeholder": "Escrever mensagem...", "invalidMessage": "Por favor, insira uma mensagem válida", "noMessagesYet": "Nenhuma mensagem por enquanto", "startConversation": "Inicie uma conversa adicionando a primeira mensagem", "loadError": "Não foi possível carregar as mensagens", "sendFailed": "Não foi possível enviar a mensagem. Tente novamente.", "sendFailedInline": "Falha no envio", "resend": "Reenviar", "discard": "Descartar", "today": "Hoje", "yesterday": "Ontem", "typingOne": "{{name}} está digitando...", "typingMany": "{{count}} pessoas estão digitando...", "someone": "Alguém", "you": "Você", "newMessages": "Novas mensagens", "backToLatest": "Voltar para as recentes", "deletedMessage": "Mensagem apagada", "edited": "editada", "readBy": "Lida por {{names}}", "copied": "Mensagem copiada", "replyingTo": "Respondendo a {{name}}", "attachmentFallback": "Anexo", "editTitle": "Editar mensagem", "deleteTitle": "Apagar mensagem?", "deleteSubtitle": "A mensagem será marcada como apagada para todos os participantes", "sendHint": "Enter envia, Shift+Enter quebra a linha", "formatting": "Formatação" }, "actions": { "reply": "Responder", "copy": "Copiar texto", "edit": "Editar", "delete": "Apagar" }, "attachments": { "attach": "Anexar", "pickFile": "Arquivo", "pickImage": "Imagem", "takePhoto": "Tirar foto", "dropHere": "Solte os arquivos para anexar", "tooMany": "Limite de {{max}} anexos por mensagem", "tooLarge": "O arquivo {{name}} passa do limite de 50 MB", "uploadFailed": "Falha no upload", "uploading": "Enviando anexos...", "imagePreview": "Visualizar imagem", "showTranscript": "Ver transcrição", "hideTranscript": "Ocultar transcrição" }, "voice": { "record": "Gravar áudio", "recording": "Gravando", "stop": "Concluir gravação", "cancel": "Cancelar gravação", "rerecord": "Regravar", "attach": "Adicionar ao envio", "discard": "Descartar", "transcriptLabel": "Transcrição", "transcriptPlaceholder": "A transcrição da fala aparece aqui e pode ser editada" }, "camera": { "title": "Tirar foto", "unavailable": "Câmera indisponível", "unavailableHint": "Verifique a permissão de câmera do navegador", "switch": "Alternar câmera", "capture": "Capturar foto" }, "search": { "open": "Buscar na conversa", "placeholder": "Buscar mensagens", "noResults": "Nenhuma mensagem encontrada", "error": "Não foi possível buscar as mensagens" } };
|
|
16
16
|
const generatedByAI = { "tooltip": "Gerado por IA" };
|
|
17
|
-
const imageAiAdjust = { "action": "Ajustar com IA", "title": "Ajustar imagem com IA", "subtitle": "Descreva o ajuste. A IA altera só o que você pedir e preserva o resto da imagem.", "original": "Original", "result": "Resultado", "resultHint": "Descreva o ajuste e clique em Gerar para ver o resultado aqui.", "promptLabel": "Ajuste desejado", "promptPlaceholder": "Ex.: remover o fundo e deixar branco, tirar os vincos da manga, clarear a iluminação", "generate": "Gerar", "generating": "Gerando a imagem...", "tryAgain": "Gerar outra", "useResult": "Usar esta imagem", "errorGenerate": "Não foi possível ajustar a imagem com IA", "errorSave": "Não foi possível salvar a imagem ajustada" };
|
|
17
|
+
const imageAiAdjust = { "action": "Ajustar com IA", "title": "Ajustar imagem com IA", "subtitle": "Descreva o ajuste. A IA altera só o que você pedir e preserva o resto da imagem.", "original": "Original", "result": "Resultado", "resultHint": "Descreva o ajuste e clique em Gerar para ver o resultado aqui.", "promptLabel": "Ajuste desejado", "promptPlaceholder": "Ex.: remover o fundo e deixar branco, tirar os vincos da manga, clarear a iluminação", "generate": "Gerar", "generating": "Gerando a imagem...", "tryAgain": "Gerar outra", "useResult": "Usar esta imagem", "errorGenerate": "Não foi possível ajustar a imagem com IA", "errorSave": "Não foi possível salvar a imagem ajustada", "errorRefused": "A IA não conseguiu fazer este ajuste: {{reason}}", "mask": { "start": "Marcar a área", "stop": "Usar a imagem toda", "hint": "Pinte a área que a IA pode alterar. O resto da imagem é mantido." }, "verification": { "changedMoreThanRequested": "A IA mudou mais do que o pedido. Confira as áreas fora do ajuste antes de usar.", "colorMismatch": "A cor da peça ({{dominant}}) ficou diferente da cor pedida ({{target}})." } };
|
|
18
|
+
const imageMaskPainter = { "paint": "Pintar", "erase": "Apagar", "brushSize": "Tamanho do pincel", "undo": "Desfazer", "clear": "Limpar", "surfaceLabel": "Área de pintura da máscara sobre a imagem" };
|
|
19
|
+
const imageAiReview = { "discardTitle": "Por que descartar este resultado?", "discardSubtitle": "Sua resposta ajuda a melhorar a IA. A imagem é descartada de qualquer forma.", "discardConfirm": "Descartar", "reasonLabel": "Motivo", "detailsLabel": "Detalhes", "detailsPlaceholder": "Opcional: conte o que deu errado", "reasons": { "changed_the_product": "Alterou o produto", "wrong_color": "Cor errada", "bad_quality": "Baixa qualidade", "person_changed": "A pessoa mudou", "text_or_logo": "Problema com texto ou logo", "not_what_i_asked": "Não é o que pedi", "other": "Outro" } };
|
|
18
20
|
const imageAnnotator = { "title": "Anotar imagem", "annotate": "Anotar imagem", "tools": { "select": "Selecionar", "pen": "Caneta livre", "eraser": "Borracha", "arrow": "Seta", "line": "Linha", "rectangle": "Retângulo", "ellipse": "Elipse", "text": "Texto", "image": "Inserir imagem" }, "stroke": { "thin": "Traço fino", "medium": "Traço médio", "thick": "Traço grosso" }, "style": { "none": "Sem cor", "fill": "Preenchimento", "textBackground": "Fundo do texto", "bold": "Negrito", "italic": "Itálico", "alignLeft": "Alinhar à esquerda", "alignCenter": "Centralizar", "alignRight": "Alinhar à direita", "border": "Borda da imagem", "shadow": "Sombra da imagem", "font": { "small": "Texto pequeno", "medium": "Texto médio", "large": "Texto grande" } }, "layers": { "forward": "Trazer para frente", "backward": "Enviar para trás" }, "actions": { "duplicate": "Duplicar", "delete": "Excluir" }, "undo": "Desfazer", "redo": "Refazer", "clear": "Limpar anotações", "textPlaceholder": "Digite o texto", "loadError": "Não foi possível carregar a imagem para edição", "imageInsertFailed": "Não foi possível inserir a imagem selecionada", "sendFailed": "Não foi possível enviar a imagem anotada", "save": "Salvar anotações", "saving": "Salvando..." };
|
|
19
21
|
const imageZoom = { "title": "Imagem ampliada", "close": "Fechar" };
|
|
20
22
|
const informationCard = { "defaultTitle": "Resumo dos Indicadores" };
|
|
@@ -51,6 +53,8 @@ const pt = {
|
|
|
51
53
|
followUp,
|
|
52
54
|
generatedByAI,
|
|
53
55
|
imageAiAdjust,
|
|
56
|
+
imageMaskPainter,
|
|
57
|
+
imageAiReview,
|
|
54
58
|
imageAnnotator,
|
|
55
59
|
imageZoom,
|
|
56
60
|
informationCard,
|
|
@@ -89,7 +93,9 @@ export {
|
|
|
89
93
|
followUp,
|
|
90
94
|
generatedByAI,
|
|
91
95
|
imageAiAdjust,
|
|
96
|
+
imageAiReview,
|
|
92
97
|
imageAnnotator,
|
|
98
|
+
imageMaskPainter,
|
|
93
99
|
imageZoom,
|
|
94
100
|
informationCard,
|
|
95
101
|
inputField,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umodeapporg/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
"types": "./dist/components/UI/DataTable/index.d.ts",
|
|
51
51
|
"import": "./dist/components/UI/DataTable/index.js"
|
|
52
52
|
},
|
|
53
|
+
"./components/UI/ImageMaskPainter": {
|
|
54
|
+
"types": "./dist/components/UI/ImageMaskPainter/index.d.ts",
|
|
55
|
+
"import": "./dist/components/UI/ImageMaskPainter/index.js"
|
|
56
|
+
},
|
|
53
57
|
"./components/UI/Kanban": {
|
|
54
58
|
"types": "./dist/components/UI/Kanban/index.d.ts",
|
|
55
59
|
"import": "./dist/components/UI/Kanban/index.js"
|