@box/metadata-editor 0.92.0 → 0.92.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/chunks/metadata-instance-form-card-wrapper.js +43 -40
  2. package/esm/lib/components/metadata-instance-editor/subcomponents/autofill-overlay/autofill-overlay.js +30 -27
  3. package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/metadata-instance-form.js +93 -85
  4. package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-footer/metadata-instance-form-footer.js +11 -11
  5. package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/messages.js +3 -11
  6. package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/metadata-instance-form-header.js +33 -42
  7. package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-inline-notice/messages.js +22 -0
  8. package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-inline-notice/metadata-instance-form-inline-notice.js +46 -0
  9. package/i18n/bn-IN.js +7 -3
  10. package/i18n/da-DK.js +7 -3
  11. package/i18n/de-DE.js +7 -3
  12. package/i18n/en-AU.js +7 -3
  13. package/i18n/en-CA.js +7 -3
  14. package/i18n/en-GB.js +7 -3
  15. package/i18n/en-US.js +4 -2
  16. package/i18n/en-US.properties +8 -4
  17. package/i18n/en-x-pseudo.js +7 -3
  18. package/i18n/es-419.js +7 -3
  19. package/i18n/es-ES.js +7 -3
  20. package/i18n/fi-FI.js +7 -3
  21. package/i18n/fr-CA.js +7 -3
  22. package/i18n/fr-FR.js +7 -3
  23. package/i18n/hi-IN.js +7 -3
  24. package/i18n/it-IT.js +7 -3
  25. package/i18n/ja-JP.js +7 -3
  26. package/i18n/json/src/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/messages.json +1 -1
  27. package/i18n/json/src/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-inline-notice/messages.json +1 -0
  28. package/i18n/ko-KR.js +7 -3
  29. package/i18n/nb-NO.js +7 -3
  30. package/i18n/nl-NL.js +7 -3
  31. package/i18n/pl-PL.js +7 -3
  32. package/i18n/pt-BR.js +7 -3
  33. package/i18n/ru-RU.js +7 -3
  34. package/i18n/sv-SE.js +7 -3
  35. package/i18n/tr-TR.js +7 -3
  36. package/i18n/zh-CN.js +7 -3
  37. package/i18n/zh-TW.js +7 -3
  38. package/package.json +2 -2
  39. package/styles/autofill-overlay.css +1 -1
  40. package/styles/metadata-instance-form-card-wrapper.css +1 -1
  41. package/styles/metadata-instance-form-footer.css +1 -1
  42. package/styles/metadata-instance-form-inline-notice.css +1 -0
  43. package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/types.d.ts +2 -0
  44. package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/messages.d.ts +0 -10
  45. package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/metadata-instance-form-header.d.ts +1 -1
  46. package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/types.d.ts +1 -0
  47. package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-inline-notice/messages.d.ts +23 -0
  48. package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-inline-notice/metadata-instance-form-inline-notice.d.ts +5 -0
package/i18n/pl-PL.js CHANGED
@@ -94,13 +94,15 @@ export default {
94
94
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Usuń",
95
95
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Trwa wczytywanie...",
96
96
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Zapisz",
97
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Sprawdź odpowiedzi przed zapisaniem.",
98
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Autouzupełnianie AI jest w wersji beta",
99
97
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autouzupełnianie",
100
98
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Automatyczne wypełnianie za pomocą Box AI",
101
99
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Autouzupełnianie za pomocą Box AI (beta)",
102
100
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltipGA": "Autofill with Box AI",
101
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeBody": "Please check responses before saving.",
102
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeHeader": "AI Autofill is in Beta",
103
103
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle": "Niestandardowe metadane",
104
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeBody": "Box AI won’t be able to access the full text, which may impact metadata values",
105
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeHeader": "Text content is too large",
104
106
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel": "Trwa wczytywanie...",
105
107
  "metadataEditor.unsavedChangesModal.body": "Szablony metadanych mają niezapisane zmiany. Jak chcesz kontynuować?",
106
108
  "metadataEditor.unsavedChangesModal.closeLabel": "Zamknij",
@@ -119,5 +121,7 @@ export default {
119
121
  "taxonomyAncestorStatusPill.errorAction": "Wczytaj ponownie",
120
122
  "taxonomyAncestorStatusPill.errorIconLabel": "Błąd",
121
123
  "taxonomyAncestorStatusPill.errorMessage": "Nie udało się wczytać szczegółów",
122
- "taxonomyAncestorStatusPill.loadingAriaLabel": "Trwa wczytywanie..."
124
+ "taxonomyAncestorStatusPill.loadingAriaLabel": "Trwa wczytywanie...",
125
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Sprawdź odpowiedzi przed zapisaniem.",
126
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Autouzupełnianie AI jest w wersji beta"
123
127
  }
package/i18n/pt-BR.js CHANGED
@@ -94,13 +94,15 @@ export default {
94
94
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Excluir",
95
95
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Carregando...",
96
96
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Salvar",
97
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Verifique as respostas antes de salvar.",
98
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "O preenchimento automático de IA está em versão beta",
99
97
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Preenchimento automático",
100
98
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Preencher automaticamente com o Box AI",
101
99
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Preenchimento automático com o Box AI (beta)",
102
100
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltipGA": "Autofill with Box AI",
101
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeBody": "Please check responses before saving.",
102
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeHeader": "AI Autofill is in Beta",
103
103
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle": "Metadados personalizados",
104
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeBody": "Box AI won’t be able to access the full text, which may impact metadata values",
105
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeHeader": "Text content is too large",
104
106
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel": "Carregando...",
105
107
  "metadataEditor.unsavedChangesModal.body": "Os modelos de metadados têm alterações não salvas. Como você gostaria de prosseguir?",
106
108
  "metadataEditor.unsavedChangesModal.closeLabel": "Fechar",
@@ -119,5 +121,7 @@ export default {
119
121
  "taxonomyAncestorStatusPill.errorAction": "Recarregar",
120
122
  "taxonomyAncestorStatusPill.errorIconLabel": "Erro",
121
123
  "taxonomyAncestorStatusPill.errorMessage": "Falha ao carregar detalhes",
122
- "taxonomyAncestorStatusPill.loadingAriaLabel": "Carregando..."
124
+ "taxonomyAncestorStatusPill.loadingAriaLabel": "Carregando...",
125
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Verifique as respostas antes de salvar.",
126
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "O preenchimento automático de IA está em versão beta"
123
127
  }
package/i18n/ru-RU.js CHANGED
@@ -94,13 +94,15 @@ export default {
94
94
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Удалить",
95
95
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Загрузка...",
96
96
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Сохранить",
97
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Проверьте ответы перед сохранением.",
98
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Автозаполнение AI находится на стадии бета-тестирования",
99
97
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Автозаполнение",
100
98
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Автозаполнение с помощью ИИ Box",
101
99
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Автозаполнение Box AI (бета-версия)",
102
100
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltipGA": "Autofill with Box AI",
101
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeBody": "Please check responses before saving.",
102
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeHeader": "AI Autofill is in Beta",
103
103
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle": "Настраиваемые метаданные",
104
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeBody": "Box AI won’t be able to access the full text, which may impact metadata values",
105
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeHeader": "Text content is too large",
104
106
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel": "Загрузка...",
105
107
  "metadataEditor.unsavedChangesModal.body": "Шаблон(ы) метаданных имеет(-ют) несохраненные изменения. Как бы вы хотели продолжить?",
106
108
  "metadataEditor.unsavedChangesModal.closeLabel": "Закрыть",
@@ -119,5 +121,7 @@ export default {
119
121
  "taxonomyAncestorStatusPill.errorAction": "Перезагрузить",
120
122
  "taxonomyAncestorStatusPill.errorIconLabel": "Ошибка",
121
123
  "taxonomyAncestorStatusPill.errorMessage": "Не удалось загрузить сведения",
122
- "taxonomyAncestorStatusPill.loadingAriaLabel": "Загрузка..."
124
+ "taxonomyAncestorStatusPill.loadingAriaLabel": "Загрузка...",
125
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Проверьте ответы перед сохранением.",
126
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Автозаполнение AI находится на стадии бета-тестирования"
123
127
  }
package/i18n/sv-SE.js CHANGED
@@ -94,13 +94,15 @@ export default {
94
94
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Radera",
95
95
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Läser in...",
96
96
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Spara",
97
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Kontrollera svar innan du sparar.",
98
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "AI Autofill är i Beta",
99
97
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autofyll",
100
98
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Autofyll med Box AI",
101
99
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Autofill med Box AI (Beta)",
102
100
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltipGA": "Autofill with Box AI",
101
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeBody": "Please check responses before saving.",
102
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeHeader": "AI Autofill is in Beta",
103
103
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle": "Anpassade metadata",
104
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeBody": "Box AI won’t be able to access the full text, which may impact metadata values",
105
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeHeader": "Text content is too large",
104
106
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel": "Läser in...",
105
107
  "metadataEditor.unsavedChangesModal.body": "Metadatamall(ar) har osparade ändringar. Hur vill du fortsätta?",
106
108
  "metadataEditor.unsavedChangesModal.closeLabel": "Stäng",
@@ -119,5 +121,7 @@ export default {
119
121
  "taxonomyAncestorStatusPill.errorAction": "Ladda om",
120
122
  "taxonomyAncestorStatusPill.errorIconLabel": "Fel",
121
123
  "taxonomyAncestorStatusPill.errorMessage": "Det gick inte att ladda information",
122
- "taxonomyAncestorStatusPill.loadingAriaLabel": "Läser in..."
124
+ "taxonomyAncestorStatusPill.loadingAriaLabel": "Läser in...",
125
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Kontrollera svar innan du sparar.",
126
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "AI Autofill är i Beta"
123
127
  }
package/i18n/tr-TR.js CHANGED
@@ -94,13 +94,15 @@ export default {
94
94
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Sil",
95
95
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Yükleniyor...",
96
96
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Kaydet",
97
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Lütfen kaydetmeden önce yanıtları kontrol edin.",
98
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "AI Otomatik Doldurma Beta durumdadır",
99
97
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Otomatik doldurma",
100
98
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Box AI ile otomatik olarak doldurun",
101
99
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Box AI ile Otomatik Doldur (Beta)",
102
100
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltipGA": "Autofill with Box AI",
101
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeBody": "Please check responses before saving.",
102
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeHeader": "AI Autofill is in Beta",
103
103
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle": "Özel Meta Veri",
104
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeBody": "Box AI won’t be able to access the full text, which may impact metadata values",
105
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeHeader": "Text content is too large",
104
106
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel": "Yükleniyor...",
105
107
  "metadataEditor.unsavedChangesModal.body": "Meta veri şablonlarında kaydedilmemiş değişiklikler var. Nasıl ilerlemek istersiniz?",
106
108
  "metadataEditor.unsavedChangesModal.closeLabel": "Kapat",
@@ -119,5 +121,7 @@ export default {
119
121
  "taxonomyAncestorStatusPill.errorAction": "Yeniden yükle",
120
122
  "taxonomyAncestorStatusPill.errorIconLabel": "Hata",
121
123
  "taxonomyAncestorStatusPill.errorMessage": "Ayrıntılar yüklenemedi",
122
- "taxonomyAncestorStatusPill.loadingAriaLabel": "Yükleniyor..."
124
+ "taxonomyAncestorStatusPill.loadingAriaLabel": "Yükleniyor...",
125
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Lütfen kaydetmeden önce yanıtları kontrol edin.",
126
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "AI Otomatik Doldurma Beta durumdadır"
123
127
  }
package/i18n/zh-CN.js CHANGED
@@ -94,13 +94,15 @@ export default {
94
94
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "删除",
95
95
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "正在加载......",
96
96
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "保存",
97
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "请在保存前检查响应。",
98
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "AI 自动填充处于测试阶段",
99
97
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "自动填充",
100
98
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "使用 Box AI 自动填充",
101
99
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "使用 Box AI(测试版)自动填充",
102
100
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltipGA": "Autofill with Box AI",
101
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeBody": "Please check responses before saving.",
102
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeHeader": "AI Autofill is in Beta",
103
103
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle": "自定义元数据",
104
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeBody": "Box AI won’t be able to access the full text, which may impact metadata values",
105
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeHeader": "Text content is too large",
104
106
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel": "正在加载......",
105
107
  "metadataEditor.unsavedChangesModal.body": "元数据模板有未保存的更改。 您希望如何继续?",
106
108
  "metadataEditor.unsavedChangesModal.closeLabel": "关闭",
@@ -119,5 +121,7 @@ export default {
119
121
  "taxonomyAncestorStatusPill.errorAction": "重新加载",
120
122
  "taxonomyAncestorStatusPill.errorIconLabel": "错误",
121
123
  "taxonomyAncestorStatusPill.errorMessage": "无法加载详细信息",
122
- "taxonomyAncestorStatusPill.loadingAriaLabel": "正在加载..."
124
+ "taxonomyAncestorStatusPill.loadingAriaLabel": "正在加载...",
125
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "请在保存前检查响应。",
126
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "AI 自动填充处于测试阶段"
123
127
  }
package/i18n/zh-TW.js CHANGED
@@ -94,13 +94,15 @@ export default {
94
94
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "刪除",
95
95
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "載入中......",
96
96
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "儲存",
97
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "請在儲存之前檢查回應。",
98
- "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "AI 自動填充為測試版",
99
97
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "自動填充",
100
98
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "使用 Box AI 自動填充",
101
99
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "使用 Box AI (測試版) 自動填充",
102
100
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltipGA": "Autofill with Box AI",
101
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeBody": "Please check responses before saving.",
102
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillInBetaNoticeHeader": "AI Autofill is in Beta",
103
103
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle": "自訂中繼資料",
104
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeBody": "Box AI won’t be able to access the full text, which may impact metadata values",
105
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.largeFileNoticeHeader": "Text content is too large",
104
106
  "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel": "載入中......",
105
107
  "metadataEditor.unsavedChangesModal.body": "中繼資料範本有未儲存的變更。 您想要如何繼續?",
106
108
  "metadataEditor.unsavedChangesModal.closeLabel": "關閉",
@@ -119,5 +121,7 @@ export default {
119
121
  "taxonomyAncestorStatusPill.errorAction": "重新載入",
120
122
  "taxonomyAncestorStatusPill.errorIconLabel": "錯誤",
121
123
  "taxonomyAncestorStatusPill.errorMessage": "載入詳細資料失敗",
122
- "taxonomyAncestorStatusPill.loadingAriaLabel": "正在載入..."
124
+ "taxonomyAncestorStatusPill.loadingAriaLabel": "正在載入...",
125
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "請在儲存之前檢查回應。",
126
+ "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "AI 自動填充為測試版"
123
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/metadata-editor",
3
- "version": "0.92.0",
3
+ "version": "0.92.2",
4
4
  "peerDependencies": {
5
5
  "@ariakit/react": "0.4.15",
6
6
  "@box/blueprint-web": "^7.30.3",
@@ -53,5 +53,5 @@
53
53
  "**/*.css"
54
54
  ],
55
55
  "license": "SEE LICENSE IN LICENSE",
56
- "gitHead": "f58975e6ef79aaa7ede93cd503cc8412f68fac44"
56
+ "gitHead": "7de956c67ea07a5b143cd1aea2425f31322ba1e5"
57
57
  }
@@ -1 +1 @@
1
- ._autofillOverlay_vvkb0_1{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#ffffffe6;z-index:2;display:flex;align-items:center;flex-direction:column;padding:var(--space-15) var(--space-4) 0 var(--space-4)}._autofillOverlayTitle_vvkb0_15{margin-top:var(--space-4);text-align:center}._dismissButton_vvkb0_20{margin-top:var(--space-4)}._loadingIcon_vvkb0_24{display:block;position:relative}._testContainerStyle_vvkb0_29{padding:var(--space-4);position:relative;width:380px;height:600px;border:1px solid #000}
1
+ ._autofillOverlay_15bqk_1{position:absolute;top:0;left:0;right:0;bottom:0;background:#fafcfee6;z-index:2;display:flex;align-items:center;flex-direction:column;padding:var(--space-4) var(--space-4) 0 var(--space-4)}._withError_15bqk_15{background-color:#ffffffe6}._autofillOverlayTitle_15bqk_19{margin-top:var(--space-4);text-align:center}._dismissButton_15bqk_24{margin-top:var(--space-4)}._overlayIcon_15bqk_28{margin-top:var(--space-4);display:block;position:relative}._testContainerStyle_15bqk_34{padding:var(--space-4);position:relative;width:380px;height:600px;border:1px solid #000}
@@ -1 +1 @@
1
- ._metadataInstanceForm_6uz9p_1{display:flex;flex-direction:column;gap:var(--space-3)}._wrapperGradient_6uz9p_7{background:linear-gradient(135deg,#fe03dc,#2784fa);border-radius:var(--radius-4)}._suggestionsFetching_6uz9p_12{background:var(--box-blue-02);background-clip:padding-box;border:var(--border-1) solid transparent}._metadataInstanceFormContent_6uz9p_18{display:flex;flex-direction:column;position:relative;gap:var(--space-3)}
1
+ ._metadataInstanceForm_1ae95_1{display:flex;flex-direction:column;gap:var(--space-3)}._wrapperGradient_1ae95_7{background:linear-gradient(135deg,#fe03dc,#2784fa);border-radius:var(--radius-4)}._suggestionsFetching_1ae95_12{background:var(--box-blue-02);background-clip:padding-box;border:var(--border-1) solid transparent}._metadataInstanceFormContent_1ae95_18{display:flex;flex-direction:column;position:relative;gap:var(--space-3)}._showOverlay_1ae95_25{min-height:172px}
@@ -1 +1 @@
1
- ._metadataInstanceFormFooter_17478_1{padding-top:var(--space-4);border-top:solid var(--gray-10) var(--border-1);background-color:var(--background-background);margin:0 calc(-1 * var(--space-4));width:calc(100% + 2 * var(--space-4))}._metadataInstanceFormFooter_17478_1 ._buttonsContainer_17478_8{display:flex;justify-content:space-between;padding:0 var(--space-4)}._metadataInstanceFormFooter_17478_1 ._buttons_17478_8{display:flex;gap:var(--space-2)}
1
+ ._metadataInstanceFormFooter_15nrg_1{padding-top:var(--space-4);border-top:solid var(--gray-10) var(--border-1);margin:0 calc(-1 * var(--space-4));width:calc(100% + 2 * var(--space-4))}._metadataInstanceFormFooter_15nrg_1 ._buttonsContainer_15nrg_7{display:flex;justify-content:space-between;padding:0 var(--space-4)}._metadataInstanceFormFooter_15nrg_1 ._buttons_15nrg_7{display:flex;gap:var(--space-2)}
@@ -0,0 +1 @@
1
+ ._inlineNotice_j1wao_1{padding-top:var(--space-4)}
@@ -9,6 +9,7 @@ export type MetadataInstanceFormProps = {
9
9
  isAiSuggestionsFeatureEnabled: boolean;
10
10
  isBetaLanguageEnabled: boolean;
11
11
  isDeleteButtonDisabled: boolean;
12
+ isLargeFile: boolean;
12
13
  isUnsavedChangesModalOpen: boolean;
13
14
  selectedTemplateInstance: MetadataTemplateInstance | null;
14
15
  onCancel: () => void;
@@ -27,6 +28,7 @@ export type MetadataInstanceFormWrapperProps<T> = {
27
28
  formValues: FormValues;
28
29
  isAiSuggestionsFeatureEnabled: boolean;
29
30
  isBetaLanguageEnabled: boolean;
31
+ isLargeFile: boolean;
30
32
  isDeleteButtonDisabled: boolean;
31
33
  isFetchingSuggestions: boolean;
32
34
  isFormDirty: boolean;
@@ -4,15 +4,5 @@ declare const messages: {
4
4
  description: string;
5
5
  id: string;
6
6
  };
7
- aiSuggestionNoticeHeader: {
8
- defaultMessage: string;
9
- description: string;
10
- id: string;
11
- };
12
- aiSuggestionNoticeBody: {
13
- defaultMessage: string;
14
- description: string;
15
- id: string;
16
- };
17
7
  };
18
8
  export default messages;
@@ -1,2 +1,2 @@
1
1
  import { MetadataInstanceFormHeaderProps } from './types';
2
- export declare const MetadataInstanceFormHeader: ({ areAiSuggestionsAvailable, hasSuggestions, isAiSuggestionsFeatureEnabled, isBetaLanguageEnabled, isLoading, templateName, onAutofill, }: MetadataInstanceFormHeaderProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const MetadataInstanceFormHeader: ({ areAiSuggestionsAvailable, hasSuggestions, isAiSuggestionsFeatureEnabled, isBetaLanguageEnabled, isLargeFile, isLoading, templateName, onAutofill, }: MetadataInstanceFormHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -4,6 +4,7 @@ export type MetadataInstanceFormHeaderProps = {
4
4
  hasSuggestions: boolean;
5
5
  isAiSuggestionsFeatureEnabled: boolean;
6
6
  isBetaLanguageEnabled: boolean;
7
+ isLargeFile: boolean;
7
8
  isLoading: boolean;
8
9
  onAutofill?: (templateKey: MetadataTemplateInstance['templateKey'], scope: MetadataTemplateInstance['scope']) => Promise<MetadataTemplateField[]>;
9
10
  templateName?: string;
@@ -0,0 +1,23 @@
1
+ declare const messages: {
2
+ autofillInBetaNoticeHeader: {
3
+ defaultMessage: string;
4
+ description: string;
5
+ id: string;
6
+ };
7
+ autofillInBetaNoticeBody: {
8
+ defaultMessage: string;
9
+ description: string;
10
+ id: string;
11
+ };
12
+ largeFileNoticeHeader: {
13
+ defaultMessage: string;
14
+ description: string;
15
+ id: string;
16
+ };
17
+ largeFileNoticeBody: {
18
+ defaultMessage: string;
19
+ description: string;
20
+ id: string;
21
+ };
22
+ };
23
+ export default messages;
@@ -0,0 +1,5 @@
1
+ export type MetadataInstanceFormInlineNoticeProps = {
2
+ isBetaLanguageEnabled: boolean;
3
+ isLargeFile: boolean;
4
+ };
5
+ export declare const MetadataInstanceFormInlineNotice: ({ isLargeFile, isBetaLanguageEnabled, }: MetadataInstanceFormInlineNoticeProps) => import("react/jsx-runtime").JSX.Element;