@box/metadata-editor 1.70.11 → 1.70.13
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/chunks/add-metadata-template-dropdown.js +84 -0
- package/dist/chunks/metadata-instance-form-autofill-button.js +3 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/lib/components/add-metadata-template-dropdown/add-metadata-template-dropdown.js +2 -33
- package/dist/esm/lib/components/add-metadata-template-dropdown/index.js +1 -1
- package/dist/esm/lib/components/add-metadata-template-dropdown/messages.js +7 -3
- package/dist/i18n/bn-IN.js +4 -3
- package/dist/i18n/bn-IN.properties +8 -6
- package/dist/i18n/da-DK.js +4 -3
- package/dist/i18n/da-DK.properties +8 -6
- package/dist/i18n/de-DE.js +4 -3
- package/dist/i18n/de-DE.properties +8 -6
- package/dist/i18n/en-AU.js +4 -3
- package/dist/i18n/en-AU.properties +8 -6
- package/dist/i18n/en-CA.js +4 -3
- package/dist/i18n/en-CA.properties +8 -6
- package/dist/i18n/en-GB.js +4 -3
- package/dist/i18n/en-GB.properties +8 -6
- package/dist/i18n/en-US.js +4 -3
- package/dist/i18n/en-US.properties +8 -6
- package/dist/i18n/en-x-pseudo.js +158 -157
- package/dist/i18n/en-x-pseudo.properties +162 -160
- package/dist/i18n/es-419.js +4 -3
- package/dist/i18n/es-419.properties +8 -6
- package/dist/i18n/es-ES.js +4 -3
- package/dist/i18n/es-ES.properties +8 -6
- package/dist/i18n/fi-FI.js +4 -3
- package/dist/i18n/fi-FI.properties +8 -6
- package/dist/i18n/fr-CA.js +4 -3
- package/dist/i18n/fr-CA.properties +8 -6
- package/dist/i18n/fr-FR.js +4 -3
- package/dist/i18n/fr-FR.properties +8 -6
- package/dist/i18n/hi-IN.js +4 -3
- package/dist/i18n/hi-IN.properties +8 -6
- package/dist/i18n/it-IT.js +4 -3
- package/dist/i18n/it-IT.properties +8 -6
- package/dist/i18n/ja-JP.js +4 -3
- package/dist/i18n/ja-JP.properties +8 -6
- package/dist/i18n/json/src/lib/components/add-metadata-template-dropdown/messages.json +1 -1
- package/dist/i18n/ko-KR.js +4 -3
- package/dist/i18n/ko-KR.properties +8 -6
- package/dist/i18n/nb-NO.js +4 -3
- package/dist/i18n/nb-NO.properties +8 -6
- package/dist/i18n/nl-NL.js +4 -3
- package/dist/i18n/nl-NL.properties +8 -6
- package/dist/i18n/pl-PL.js +4 -3
- package/dist/i18n/pl-PL.properties +8 -6
- package/dist/i18n/pt-BR.js +4 -3
- package/dist/i18n/pt-BR.properties +8 -6
- package/dist/i18n/ru-RU.js +4 -3
- package/dist/i18n/ru-RU.properties +8 -6
- package/dist/i18n/sv-SE.js +4 -3
- package/dist/i18n/sv-SE.properties +8 -6
- package/dist/i18n/tr-TR.js +4 -3
- package/dist/i18n/tr-TR.properties +8 -6
- package/dist/i18n/zh-CN.js +4 -3
- package/dist/i18n/zh-CN.properties +8 -6
- package/dist/i18n/zh-TW.js +4 -3
- package/dist/i18n/zh-TW.properties +8 -6
- package/dist/styles/add-metadata-template-dropdown.css +1 -0
- package/dist/styles/metadata-instance-form-autofill-button.css +1 -1
- package/dist/types/lib/components/add-metadata-template-dropdown/add-metadata-template-dropdown.d.ts +1 -1
- package/dist/types/lib/components/add-metadata-template-dropdown/messages.d.ts +5 -0
- package/dist/types/lib/components/add-metadata-template-dropdown/types.d.ts +27 -0
- package/dist/types/lib/types.d.ts +1 -0
- package/package.json +11 -10
|
@@ -12,6 +12,14 @@ comboboxWithApiPagination.loadingAriaLabel = Carregando...
|
|
|
12
12
|
comboboxWithApiPagination.loadingMoreAriaLabel = Carregando mais...
|
|
13
13
|
# Message displayed when no results are found in the combobox
|
|
14
14
|
comboboxWithApiPagination.noResults = Nenhum resultado encontrado
|
|
15
|
+
# Label for the button that opens the template editor to create a new template
|
|
16
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label = New Template
|
|
17
|
+
# Display name for custom metadata templates
|
|
18
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName = Metadados personalizados
|
|
19
|
+
# Description for the search input field in the metadata editor
|
|
20
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder = Modelos de pesquisa
|
|
21
|
+
# Call to encourage user to add metadata templates
|
|
22
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label = Adicionar modelo
|
|
15
23
|
# Disclaimer shown when at least one metadata field has been autofilled by AI
|
|
16
24
|
groupSharedFeatures.metadataEditor.aiDisclaimer = As saídas do Box AI devem ser revisadas e verificadas antes do uso.
|
|
17
25
|
# Aria label indicating that content is loading or in progress
|
|
@@ -92,12 +100,6 @@ groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate = Sel
|
|
|
92
100
|
groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError = Não foi possível carregar modelos. Tente novamente mais tarde
|
|
93
101
|
# Tooltip shown when hovering over a clickable metadata field with bounding boxes
|
|
94
102
|
groupSharedFeatures.metadataEditor.viewOnDocument = Visualizar no documento
|
|
95
|
-
# Display name for custom metadata templates
|
|
96
|
-
metadataEditor.addMetadataTemplate.customMetadataName = Metadados personalizados
|
|
97
|
-
# Description for the search input field in the metadata editor
|
|
98
|
-
metadataEditor.addMetadataTemplate.search.placeholder = Modelos de pesquisa
|
|
99
|
-
# Call to encourage user to add metadata templates
|
|
100
|
-
metadataEditor.addMetadataTemplate.trigger.label = Adicionar modelo
|
|
101
103
|
# Label for accepting the AI suggestion when it matches the existing field value
|
|
102
104
|
metadataEditor.aiSuggestionField.acceptLabel = Aceitar sugestão
|
|
103
105
|
# Label for value suggested by Box AI
|
package/dist/i18n/ru-RU.js
CHANGED
|
@@ -6,6 +6,10 @@ export default {
|
|
|
6
6
|
"comboboxWithApiPagination.loadingAriaLabel": "Загрузка...",
|
|
7
7
|
"comboboxWithApiPagination.loadingMoreAriaLabel": "Загрузка больше...",
|
|
8
8
|
"comboboxWithApiPagination.noResults": "Результаты не найдены",
|
|
9
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label": "New Template",
|
|
10
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName": "Настраиваемые метаданные",
|
|
11
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder": "Шаблоны для поиска",
|
|
12
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label": "Добавить шаблон",
|
|
9
13
|
"groupSharedFeatures.metadataEditor.aiDisclaimer": "Перед использованием выводы Box AI следует просмотреть и проверить.",
|
|
10
14
|
"groupSharedFeatures.metadataEditor.loading": "загрузка",
|
|
11
15
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.afterDateValidationError": "Введите дату после {date}",
|
|
@@ -46,9 +50,6 @@ export default {
|
|
|
46
50
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate": "Выбрать шаблон",
|
|
47
51
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError": "Не удалось загрузить шаблоны. Повторите попытку позже",
|
|
48
52
|
"groupSharedFeatures.metadataEditor.viewOnDocument": "Просмотреть в документе",
|
|
49
|
-
"metadataEditor.addMetadataTemplate.customMetadataName": "Настраиваемые метаданные",
|
|
50
|
-
"metadataEditor.addMetadataTemplate.search.placeholder": "Шаблоны для поиска",
|
|
51
|
-
"metadataEditor.addMetadataTemplate.trigger.label": "Добавить шаблон",
|
|
52
53
|
"metadataEditor.aiSuggestionField.acceptLabel": "Принять предложение",
|
|
53
54
|
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Предложение ИИ Box:",
|
|
54
55
|
"metadataEditor.aiSuggestionField.aiSuggestionCaptionWithLevel": "Предложение Box AI (уровень уверенности: {level})",
|
|
@@ -12,6 +12,14 @@ comboboxWithApiPagination.loadingAriaLabel = Загрузка...
|
|
|
12
12
|
comboboxWithApiPagination.loadingMoreAriaLabel = Загрузка больше...
|
|
13
13
|
# Message displayed when no results are found in the combobox
|
|
14
14
|
comboboxWithApiPagination.noResults = Результаты не найдены
|
|
15
|
+
# Label for the button that opens the template editor to create a new template
|
|
16
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label = New Template
|
|
17
|
+
# Display name for custom metadata templates
|
|
18
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName = Настраиваемые метаданные
|
|
19
|
+
# Description for the search input field in the metadata editor
|
|
20
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder = Шаблоны для поиска
|
|
21
|
+
# Call to encourage user to add metadata templates
|
|
22
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label = Добавить шаблон
|
|
15
23
|
# Disclaimer shown when at least one metadata field has been autofilled by AI
|
|
16
24
|
groupSharedFeatures.metadataEditor.aiDisclaimer = Перед использованием выводы Box AI следует просмотреть и проверить.
|
|
17
25
|
# Aria label indicating that content is loading or in progress
|
|
@@ -92,12 +100,6 @@ groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate = В
|
|
|
92
100
|
groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError = Не удалось загрузить шаблоны. Повторите попытку позже
|
|
93
101
|
# Tooltip shown when hovering over a clickable metadata field with bounding boxes
|
|
94
102
|
groupSharedFeatures.metadataEditor.viewOnDocument = Просмотреть в документе
|
|
95
|
-
# Display name for custom metadata templates
|
|
96
|
-
metadataEditor.addMetadataTemplate.customMetadataName = Настраиваемые метаданные
|
|
97
|
-
# Description for the search input field in the metadata editor
|
|
98
|
-
metadataEditor.addMetadataTemplate.search.placeholder = Шаблоны для поиска
|
|
99
|
-
# Call to encourage user to add metadata templates
|
|
100
|
-
metadataEditor.addMetadataTemplate.trigger.label = Добавить шаблон
|
|
101
103
|
# Label for accepting the AI suggestion when it matches the existing field value
|
|
102
104
|
metadataEditor.aiSuggestionField.acceptLabel = Принять предложение
|
|
103
105
|
# Label for value suggested by Box AI
|
package/dist/i18n/sv-SE.js
CHANGED
|
@@ -6,6 +6,10 @@ export default {
|
|
|
6
6
|
"comboboxWithApiPagination.loadingAriaLabel": "Läser in...",
|
|
7
7
|
"comboboxWithApiPagination.loadingMoreAriaLabel": "Läser in mer...",
|
|
8
8
|
"comboboxWithApiPagination.noResults": "Inga träffar hittades",
|
|
9
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label": "New Template",
|
|
10
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName": "Anpassade metadata",
|
|
11
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder": "Sökmallar",
|
|
12
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label": "Lägg till mall",
|
|
9
13
|
"groupSharedFeatures.metadataEditor.aiDisclaimer": "Box AI-utdata bör granskas och verifieras före användning.",
|
|
10
14
|
"groupSharedFeatures.metadataEditor.loading": "läser in",
|
|
11
15
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.afterDateValidationError": "Ange ett datum efter {date}",
|
|
@@ -46,9 +50,6 @@ export default {
|
|
|
46
50
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate": "Välj en mall",
|
|
47
51
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError": "Det gick inte att läsa in mallar. Försök igen senare",
|
|
48
52
|
"groupSharedFeatures.metadataEditor.viewOnDocument": "Visa på dokument",
|
|
49
|
-
"metadataEditor.addMetadataTemplate.customMetadataName": "Anpassade metadata",
|
|
50
|
-
"metadataEditor.addMetadataTemplate.search.placeholder": "Sökmallar",
|
|
51
|
-
"metadataEditor.addMetadataTemplate.trigger.label": "Lägg till mall",
|
|
52
53
|
"metadataEditor.aiSuggestionField.acceptLabel": "Acceptera förslag",
|
|
53
54
|
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI-förslag:",
|
|
54
55
|
"metadataEditor.aiSuggestionField.aiSuggestionCaptionWithLevel": "Box AI-förslag ({level} konfidens)",
|
|
@@ -12,6 +12,14 @@ comboboxWithApiPagination.loadingAriaLabel = Läser in...
|
|
|
12
12
|
comboboxWithApiPagination.loadingMoreAriaLabel = Läser in mer...
|
|
13
13
|
# Message displayed when no results are found in the combobox
|
|
14
14
|
comboboxWithApiPagination.noResults = Inga träffar hittades
|
|
15
|
+
# Label for the button that opens the template editor to create a new template
|
|
16
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label = New Template
|
|
17
|
+
# Display name for custom metadata templates
|
|
18
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName = Anpassade metadata
|
|
19
|
+
# Description for the search input field in the metadata editor
|
|
20
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder = Sökmallar
|
|
21
|
+
# Call to encourage user to add metadata templates
|
|
22
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label = Lägg till mall
|
|
15
23
|
# Disclaimer shown when at least one metadata field has been autofilled by AI
|
|
16
24
|
groupSharedFeatures.metadataEditor.aiDisclaimer = Box AI-utdata bör granskas och verifieras före användning.
|
|
17
25
|
# Aria label indicating that content is loading or in progress
|
|
@@ -92,12 +100,6 @@ groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate = Vä
|
|
|
92
100
|
groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError = Det gick inte att läsa in mallar. Försök igen senare
|
|
93
101
|
# Tooltip shown when hovering over a clickable metadata field with bounding boxes
|
|
94
102
|
groupSharedFeatures.metadataEditor.viewOnDocument = Visa på dokument
|
|
95
|
-
# Display name for custom metadata templates
|
|
96
|
-
metadataEditor.addMetadataTemplate.customMetadataName = Anpassade metadata
|
|
97
|
-
# Description for the search input field in the metadata editor
|
|
98
|
-
metadataEditor.addMetadataTemplate.search.placeholder = Sökmallar
|
|
99
|
-
# Call to encourage user to add metadata templates
|
|
100
|
-
metadataEditor.addMetadataTemplate.trigger.label = Lägg till mall
|
|
101
103
|
# Label for accepting the AI suggestion when it matches the existing field value
|
|
102
104
|
metadataEditor.aiSuggestionField.acceptLabel = Acceptera förslag
|
|
103
105
|
# Label for value suggested by Box AI
|
package/dist/i18n/tr-TR.js
CHANGED
|
@@ -6,6 +6,10 @@ export default {
|
|
|
6
6
|
"comboboxWithApiPagination.loadingAriaLabel": "Yükleniyor...",
|
|
7
7
|
"comboboxWithApiPagination.loadingMoreAriaLabel": "Daha fazla yükleniyor...",
|
|
8
8
|
"comboboxWithApiPagination.noResults": "Sonuç bulunamadı",
|
|
9
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label": "New Template",
|
|
10
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName": "Özel Meta Veri",
|
|
11
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder": "Şablonları ara",
|
|
12
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label": "Şablon ekle",
|
|
9
13
|
"groupSharedFeatures.metadataEditor.aiDisclaimer": "Box AI tarafından üretilen çıktılar, kullanılmadan önce incelenmeli ve doğrulanmalıdır.",
|
|
10
14
|
"groupSharedFeatures.metadataEditor.loading": "yükleniyor",
|
|
11
15
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.afterDateValidationError": "{date} tarihinden sonraki bir tarihi girin",
|
|
@@ -46,9 +50,6 @@ export default {
|
|
|
46
50
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate": "Bir Şablon seçin",
|
|
47
51
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError": "Şablonlar yüklenemedi. Daha sonra tekrar deneyin",
|
|
48
52
|
"groupSharedFeatures.metadataEditor.viewOnDocument": "Belgede görüntüleyin",
|
|
49
|
-
"metadataEditor.addMetadataTemplate.customMetadataName": "Özel Meta Veri",
|
|
50
|
-
"metadataEditor.addMetadataTemplate.search.placeholder": "Şablonları ara",
|
|
51
|
-
"metadataEditor.addMetadataTemplate.trigger.label": "Şablon ekle",
|
|
52
53
|
"metadataEditor.aiSuggestionField.acceptLabel": "Öneriyi kabul edin",
|
|
53
54
|
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI önerisi:",
|
|
54
55
|
"metadataEditor.aiSuggestionField.aiSuggestionCaptionWithLevel": "Box AI önerisi ({level} güven)",
|
|
@@ -12,6 +12,14 @@ comboboxWithApiPagination.loadingAriaLabel = Yükleniyor...
|
|
|
12
12
|
comboboxWithApiPagination.loadingMoreAriaLabel = Daha fazla yükleniyor...
|
|
13
13
|
# Message displayed when no results are found in the combobox
|
|
14
14
|
comboboxWithApiPagination.noResults = Sonuç bulunamadı
|
|
15
|
+
# Label for the button that opens the template editor to create a new template
|
|
16
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label = New Template
|
|
17
|
+
# Display name for custom metadata templates
|
|
18
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName = Özel Meta Veri
|
|
19
|
+
# Description for the search input field in the metadata editor
|
|
20
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder = Şablonları ara
|
|
21
|
+
# Call to encourage user to add metadata templates
|
|
22
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label = Şablon ekle
|
|
15
23
|
# Disclaimer shown when at least one metadata field has been autofilled by AI
|
|
16
24
|
groupSharedFeatures.metadataEditor.aiDisclaimer = Box AI tarafından üretilen çıktılar, kullanılmadan önce incelenmeli ve doğrulanmalıdır.
|
|
17
25
|
# Aria label indicating that content is loading or in progress
|
|
@@ -92,12 +100,6 @@ groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate = Bir
|
|
|
92
100
|
groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError = Şablonlar yüklenemedi. Daha sonra tekrar deneyin
|
|
93
101
|
# Tooltip shown when hovering over a clickable metadata field with bounding boxes
|
|
94
102
|
groupSharedFeatures.metadataEditor.viewOnDocument = Belgede görüntüleyin
|
|
95
|
-
# Display name for custom metadata templates
|
|
96
|
-
metadataEditor.addMetadataTemplate.customMetadataName = Özel Meta Veri
|
|
97
|
-
# Description for the search input field in the metadata editor
|
|
98
|
-
metadataEditor.addMetadataTemplate.search.placeholder = Şablonları ara
|
|
99
|
-
# Call to encourage user to add metadata templates
|
|
100
|
-
metadataEditor.addMetadataTemplate.trigger.label = Şablon ekle
|
|
101
103
|
# Label for accepting the AI suggestion when it matches the existing field value
|
|
102
104
|
metadataEditor.aiSuggestionField.acceptLabel = Öneriyi kabul edin
|
|
103
105
|
# Label for value suggested by Box AI
|
package/dist/i18n/zh-CN.js
CHANGED
|
@@ -6,6 +6,10 @@ export default {
|
|
|
6
6
|
"comboboxWithApiPagination.loadingAriaLabel": "正在加载......",
|
|
7
7
|
"comboboxWithApiPagination.loadingMoreAriaLabel": "正在加载更多……",
|
|
8
8
|
"comboboxWithApiPagination.noResults": "未找到结果",
|
|
9
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label": "New Template",
|
|
10
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName": "自定义元数据",
|
|
11
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder": "搜索模板",
|
|
12
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label": "添加模板",
|
|
9
13
|
"groupSharedFeatures.metadataEditor.aiDisclaimer": "应在使用前审查和验证 Box AI 输出。",
|
|
10
14
|
"groupSharedFeatures.metadataEditor.loading": "正在加载",
|
|
11
15
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.afterDateValidationError": "输入在 {date} 之后的日期",
|
|
@@ -46,9 +50,6 @@ export default {
|
|
|
46
50
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate": "选择模板",
|
|
47
51
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError": "无法加载模板。 请稍后重试",
|
|
48
52
|
"groupSharedFeatures.metadataEditor.viewOnDocument": "在文档上查看",
|
|
49
|
-
"metadataEditor.addMetadataTemplate.customMetadataName": "自定义元数据",
|
|
50
|
-
"metadataEditor.addMetadataTemplate.search.placeholder": "搜索模板",
|
|
51
|
-
"metadataEditor.addMetadataTemplate.trigger.label": "添加模板",
|
|
52
53
|
"metadataEditor.aiSuggestionField.acceptLabel": "接受建议",
|
|
53
54
|
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI 建议:",
|
|
54
55
|
"metadataEditor.aiSuggestionField.aiSuggestionCaptionWithLevel": "Box AI 建议({level} 置信度)",
|
|
@@ -12,6 +12,14 @@ comboboxWithApiPagination.loadingAriaLabel = 正在加载......
|
|
|
12
12
|
comboboxWithApiPagination.loadingMoreAriaLabel = 正在加载更多……
|
|
13
13
|
# Message displayed when no results are found in the combobox
|
|
14
14
|
comboboxWithApiPagination.noResults = 未找到结果
|
|
15
|
+
# Label for the button that opens the template editor to create a new template
|
|
16
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label = New Template
|
|
17
|
+
# Display name for custom metadata templates
|
|
18
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName = 自定义元数据
|
|
19
|
+
# Description for the search input field in the metadata editor
|
|
20
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder = 搜索模板
|
|
21
|
+
# Call to encourage user to add metadata templates
|
|
22
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label = 添加模板
|
|
15
23
|
# Disclaimer shown when at least one metadata field has been autofilled by AI
|
|
16
24
|
groupSharedFeatures.metadataEditor.aiDisclaimer = 应在使用前审查和验证 Box AI 输出。
|
|
17
25
|
# Aria label indicating that content is loading or in progress
|
|
@@ -92,12 +100,6 @@ groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate = 选
|
|
|
92
100
|
groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError = 无法加载模板。 请稍后重试
|
|
93
101
|
# Tooltip shown when hovering over a clickable metadata field with bounding boxes
|
|
94
102
|
groupSharedFeatures.metadataEditor.viewOnDocument = 在文档上查看
|
|
95
|
-
# Display name for custom metadata templates
|
|
96
|
-
metadataEditor.addMetadataTemplate.customMetadataName = 自定义元数据
|
|
97
|
-
# Description for the search input field in the metadata editor
|
|
98
|
-
metadataEditor.addMetadataTemplate.search.placeholder = 搜索模板
|
|
99
|
-
# Call to encourage user to add metadata templates
|
|
100
|
-
metadataEditor.addMetadataTemplate.trigger.label = 添加模板
|
|
101
103
|
# Label for accepting the AI suggestion when it matches the existing field value
|
|
102
104
|
metadataEditor.aiSuggestionField.acceptLabel = 接受建议
|
|
103
105
|
# Label for value suggested by Box AI
|
package/dist/i18n/zh-TW.js
CHANGED
|
@@ -6,6 +6,10 @@ export default {
|
|
|
6
6
|
"comboboxWithApiPagination.loadingAriaLabel": "正在載入...",
|
|
7
7
|
"comboboxWithApiPagination.loadingMoreAriaLabel": "正在載入更多...",
|
|
8
8
|
"comboboxWithApiPagination.noResults": "未找到結果",
|
|
9
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label": "New Template",
|
|
10
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName": "自訂中繼資料",
|
|
11
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder": "搜尋範本",
|
|
12
|
+
"groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label": "新增範本",
|
|
9
13
|
"groupSharedFeatures.metadataEditor.aiDisclaimer": "使用 Box AI 輸出之前,應先檢閱與驗證內容。",
|
|
10
14
|
"groupSharedFeatures.metadataEditor.loading": "載入中",
|
|
11
15
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.afterDateValidationError": "輸入 {date} 之後的日期",
|
|
@@ -46,9 +50,6 @@ export default {
|
|
|
46
50
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate": "選擇範本",
|
|
47
51
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError": "無法載入範本。 稍後再試一次",
|
|
48
52
|
"groupSharedFeatures.metadataEditor.viewOnDocument": "在文件中檢視",
|
|
49
|
-
"metadataEditor.addMetadataTemplate.customMetadataName": "自訂中繼資料",
|
|
50
|
-
"metadataEditor.addMetadataTemplate.search.placeholder": "搜尋範本",
|
|
51
|
-
"metadataEditor.addMetadataTemplate.trigger.label": "新增範本",
|
|
52
53
|
"metadataEditor.aiSuggestionField.acceptLabel": "接受建議",
|
|
53
54
|
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI 建議:",
|
|
54
55
|
"metadataEditor.aiSuggestionField.aiSuggestionCaptionWithLevel": "Box AI 建議 ({level} 信心指數)",
|
|
@@ -12,6 +12,14 @@ comboboxWithApiPagination.loadingAriaLabel = 正在載入...
|
|
|
12
12
|
comboboxWithApiPagination.loadingMoreAriaLabel = 正在載入更多...
|
|
13
13
|
# Message displayed when no results are found in the combobox
|
|
14
14
|
comboboxWithApiPagination.noResults = 未找到結果
|
|
15
|
+
# Label for the button that opens the template editor to create a new template
|
|
16
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.createTemplate.button.label = New Template
|
|
17
|
+
# Display name for custom metadata templates
|
|
18
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.customMetadataName = 自訂中繼資料
|
|
19
|
+
# Description for the search input field in the metadata editor
|
|
20
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.search.placeholder = 搜尋範本
|
|
21
|
+
# Call to encourage user to add metadata templates
|
|
22
|
+
groupSharedFeatures.metadataEditor.addMetadataTemplate.trigger.label = 新增範本
|
|
15
23
|
# Disclaimer shown when at least one metadata field has been autofilled by AI
|
|
16
24
|
groupSharedFeatures.metadataEditor.aiDisclaimer = 使用 Box AI 輸出之前,應先檢閱與驗證內容。
|
|
17
25
|
# Aria label indicating that content is loading or in progress
|
|
@@ -92,12 +100,6 @@ groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate = 選
|
|
|
92
100
|
groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError = 無法載入範本。 稍後再試一次
|
|
93
101
|
# Tooltip shown when hovering over a clickable metadata field with bounding boxes
|
|
94
102
|
groupSharedFeatures.metadataEditor.viewOnDocument = 在文件中檢視
|
|
95
|
-
# Display name for custom metadata templates
|
|
96
|
-
metadataEditor.addMetadataTemplate.customMetadataName = 自訂中繼資料
|
|
97
|
-
# Description for the search input field in the metadata editor
|
|
98
|
-
metadataEditor.addMetadataTemplate.search.placeholder = 搜尋範本
|
|
99
|
-
# Call to encourage user to add metadata templates
|
|
100
|
-
metadataEditor.addMetadataTemplate.trigger.label = 新增範本
|
|
101
103
|
# Label for accepting the AI suggestion when it matches the existing field value
|
|
102
104
|
metadataEditor.aiSuggestionField.acceptLabel = 接受建議
|
|
103
105
|
# Label for value suggested by Box AI
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._templateBrowserContainer_z6m4k_1{padding:var(--bp-space-020,.5rem)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._loadingIndicator_zhzu0_1{width:var(--bp-size-080,2rem);height:var(--bp-size-080,2rem);margin:unset;justify-content:center;align-items:center;display:flex;position:relative}._actionMenuItem_zhzu0_11{gap:var(--bp-space-030,.75rem);align-items:center;display:flex}._splitButtonIcon_zhzu0_17{width:var(--bp-size-040,1rem);height:var(--bp-size-040,1rem)}
|
package/dist/types/lib/components/add-metadata-template-dropdown/add-metadata-template-dropdown.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AddMetadataTemplateDropdownProps } from './types';
|
|
2
|
-
export declare function AddMetadataTemplateDropdown({ availableTemplates, onSelect, selectedTemplates, }: AddMetadataTemplateDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function AddMetadataTemplateDropdown({ availableTemplates, onSelect, selectedTemplates, isTemplateManagementEnabled, isLoading, onCreateTemplate, onEditTemplate, }: AddMetadataTemplateDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,4 +3,31 @@ export type AddMetadataTemplateDropdownProps = {
|
|
|
3
3
|
availableTemplates: MetadataTemplate[];
|
|
4
4
|
selectedTemplates: MetadataTemplate[];
|
|
5
5
|
onSelect: (template: MetadataTemplate) => void;
|
|
6
|
+
/**
|
|
7
|
+
* Enables create/edit template affordances. When false (default), the dropdown renders
|
|
8
|
+
* the existing search-and-list UI. When true, `MetadataTemplateBrowser` is rendered
|
|
9
|
+
* inside the dropdown content area.
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
isTemplateManagementEnabled?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Indicates that an external loading state is in progress. When true, the create
|
|
15
|
+
* template button is disabled.
|
|
16
|
+
*/
|
|
17
|
+
isLoading?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Callback to open the template editor for creating a new template.
|
|
20
|
+
* Called with the namespace FQN the browser is currently navigated to.
|
|
21
|
+
* Only active when `isTemplateManagementEnabled` is true.
|
|
22
|
+
*/
|
|
23
|
+
onCreateTemplate?: (namespaceFqn: string) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Callback to open the template editor for editing an existing template.
|
|
26
|
+
* Wired to the template browser's edit affordance via `EventService.onTemplateEdit`.
|
|
27
|
+
* Only active when `isTemplateManagementEnabled` is true.
|
|
28
|
+
*/
|
|
29
|
+
onEditTemplate?: (identifier: {
|
|
30
|
+
namespaceFqn: string;
|
|
31
|
+
templateKey: string;
|
|
32
|
+
}) => void;
|
|
6
33
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/metadata-editor",
|
|
3
|
-
"version": "1.70.
|
|
3
|
+
"version": "1.70.13",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@ariakit/react": "0.4.21",
|
|
6
|
-
"@box/blueprint-web": "^14.26.
|
|
7
|
-
"@box/blueprint-web-assets": "^4.116.
|
|
8
|
-
"@box/box-ai-agent-selector": "^1.40.
|
|
9
|
-
"@box/combobox-with-api": "^1.43.
|
|
6
|
+
"@box/blueprint-web": "^14.26.1",
|
|
7
|
+
"@box/blueprint-web-assets": "^4.116.5",
|
|
8
|
+
"@box/box-ai-agent-selector": "^1.40.27",
|
|
9
|
+
"@box/combobox-with-api": "^1.43.27",
|
|
10
|
+
"@box/metadata-template-browser": "^1.21.21",
|
|
10
11
|
"formik": "^2.0.3",
|
|
11
12
|
"lodash": "^4.17.15",
|
|
12
13
|
"react": "^17.0.0 || ^18.0.0",
|
|
@@ -15,11 +16,11 @@
|
|
|
15
16
|
},
|
|
16
17
|
"devDependencies": {
|
|
17
18
|
"@ariakit/react": "0.4.21",
|
|
18
|
-
"@box/babel-plugin-target-attributes": "1.5.
|
|
19
|
-
"@box/blueprint-web": "^14.26.
|
|
20
|
-
"@box/blueprint-web-assets": "^4.116.
|
|
21
|
-
"@box/box-ai-agent-selector": "^1.40.
|
|
22
|
-
"@box/storybook-utils": "^0.18.
|
|
19
|
+
"@box/babel-plugin-target-attributes": "1.5.22",
|
|
20
|
+
"@box/blueprint-web": "^14.26.1",
|
|
21
|
+
"@box/blueprint-web-assets": "^4.116.5",
|
|
22
|
+
"@box/box-ai-agent-selector": "^1.40.27",
|
|
23
|
+
"@box/storybook-utils": "^0.18.19",
|
|
23
24
|
"@testing-library/react": "^15.0.6",
|
|
24
25
|
"react": "^18.3.0",
|
|
25
26
|
"react-dom": "^18.3.0",
|