box-ui-elements 23.4.0-beta.31 → 23.4.0-beta.33
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/explorer.js +1 -1
- package/dist/openwith.js +1 -1
- package/dist/picker.js +1 -1
- package/dist/preview.js +1 -1
- package/dist/sharing.js +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/uploader.js +1 -1
- package/es/common/types/metadata.js.flow +6 -0
- package/es/common/types/metadata.js.map +1 -1
- package/es/features/metadata-instance-editor/CascadePolicy.js +40 -20
- package/es/features/metadata-instance-editor/CascadePolicy.js.flow +52 -24
- package/es/features/metadata-instance-editor/CascadePolicy.js.map +1 -1
- package/es/features/metadata-instance-editor/Instance.js +24 -2
- package/es/features/metadata-instance-editor/Instance.js.flow +31 -1
- package/es/features/metadata-instance-editor/Instance.js.map +1 -1
- package/es/features/metadata-instance-editor/constants.js +4 -1
- package/es/features/metadata-instance-editor/constants.js.flow +10 -1
- package/es/features/metadata-instance-editor/constants.js.map +1 -1
- package/es/features/metadata-instance-editor/messages.js +8 -0
- package/es/features/metadata-instance-editor/messages.js.flow +10 -0
- package/es/features/metadata-instance-editor/messages.js.map +1 -1
- package/i18n/bn-IN.js +4 -2
- package/i18n/bn-IN.properties +8 -0
- package/i18n/da-DK.js +4 -2
- package/i18n/da-DK.properties +8 -0
- package/i18n/de-DE.js +4 -2
- package/i18n/de-DE.properties +8 -0
- package/i18n/en-AU.js +2 -0
- package/i18n/en-AU.properties +8 -0
- package/i18n/en-CA.js +2 -0
- package/i18n/en-CA.properties +8 -0
- package/i18n/en-GB.js +2 -0
- package/i18n/en-GB.properties +8 -0
- package/i18n/en-US.js +2 -0
- package/i18n/en-US.properties +4 -0
- package/i18n/en-x-pseudo.js +1020 -1018
- package/i18n/en-x-pseudo.properties +1024 -1016
- package/i18n/es-419.js +4 -2
- package/i18n/es-419.properties +8 -0
- package/i18n/es-ES.js +4 -2
- package/i18n/es-ES.properties +8 -0
- package/i18n/fi-FI.js +4 -2
- package/i18n/fi-FI.properties +8 -0
- package/i18n/fr-CA.js +4 -2
- package/i18n/fr-CA.properties +8 -0
- package/i18n/fr-FR.js +4 -2
- package/i18n/fr-FR.properties +8 -0
- package/i18n/hi-IN.js +4 -2
- package/i18n/hi-IN.properties +8 -0
- package/i18n/it-IT.js +4 -2
- package/i18n/it-IT.properties +8 -0
- package/i18n/ja-JP.js +2 -0
- package/i18n/ja-JP.properties +8 -0
- package/i18n/ko-KR.js +4 -2
- package/i18n/ko-KR.properties +8 -0
- package/i18n/nb-NO.js +4 -2
- package/i18n/nb-NO.properties +8 -0
- package/i18n/nl-NL.js +4 -2
- package/i18n/nl-NL.properties +8 -0
- package/i18n/pl-PL.js +4 -2
- package/i18n/pl-PL.properties +8 -0
- package/i18n/pt-BR.js +4 -2
- package/i18n/pt-BR.properties +8 -0
- package/i18n/ru-RU.js +4 -2
- package/i18n/ru-RU.properties +8 -0
- package/i18n/sv-SE.js +4 -2
- package/i18n/sv-SE.properties +8 -0
- package/i18n/tr-TR.js +4 -2
- package/i18n/tr-TR.properties +8 -0
- package/i18n/zh-CN.js +4 -2
- package/i18n/zh-CN.properties +8 -0
- package/i18n/zh-TW.js +4 -2
- package/i18n/zh-TW.properties +8 -0
- package/package.json +3 -3
- package/src/common/types/metadata.js +6 -0
- package/src/features/metadata-instance-editor/CascadePolicy.js +52 -24
- package/src/features/metadata-instance-editor/Instance.js +31 -1
- package/src/features/metadata-instance-editor/__tests__/CascadePolicy.test.js +50 -3
- package/src/features/metadata-instance-editor/__tests__/Instance.test.js +20 -2
- package/src/features/metadata-instance-editor/__tests__/Instances.test.js +15 -10
- package/src/features/metadata-instance-editor/__tests__/MetadataInstanceEditor.test.js +53 -10
- package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instance.test.js.snap +1 -0
- package/src/features/metadata-instance-editor/constants.js +10 -1
- package/src/features/metadata-instance-editor/messages.js +10 -0
package/i18n/en-AU.properties
CHANGED
|
@@ -1224,6 +1224,10 @@ boxui.metadataInstanceEditor.cannotApplyCascadePolicyText = Cascade policy canno
|
|
|
1224
1224
|
boxui.metadataInstanceEditor.cascadePolicyLearnMore = Learn more
|
|
1225
1225
|
# Tooltip text that asks the user what they want to do when applying cascading to their metadata policy
|
|
1226
1226
|
boxui.metadataInstanceEditor.cascadePolicyModeQuestion = In the event of conflicts when applying this template and its values to existing items, what would you prefer to do? This is a one-time action.
|
|
1227
|
+
# Notice that explains that the cascade policy cannot be edited
|
|
1228
|
+
boxui.metadataInstanceEditor.cascadePolicyOptionsDisabledNotice = This cascade policy cannot be edited. To modify it, deactivate the current policy and then re-enable it to set up a new one.
|
|
1229
|
+
# Aria label for the disabled cascade options information icon
|
|
1230
|
+
boxui.metadataInstanceEditor.cascadePolicyOptionsDisabledNoticeIconAriaLabel = Disabled cascade options information
|
|
1227
1231
|
# Label for radio button that selects overwrite mode for cascading policy
|
|
1228
1232
|
boxui.metadataInstanceEditor.cascadePolicyOverwriteMode = Overwrite all existing template values
|
|
1229
1233
|
# Label for radio button that selects skip mode for cascading policy
|
|
@@ -1258,6 +1262,8 @@ boxui.metadataInstanceEditor.editTooltip = Edit metadata
|
|
|
1258
1262
|
boxui.metadataInstanceEditor.enableAIAutofill = Box AI Autofill
|
|
1259
1263
|
# Label for enable cascade policy toggle switch
|
|
1260
1264
|
boxui.metadataInstanceEditor.enableCascadePolicy = Enable Cascade Policy
|
|
1265
|
+
# Name of the enhanced AI agent
|
|
1266
|
+
boxui.metadataInstanceEditor.enhancedAgentName = Enhanced
|
|
1261
1267
|
# Message for users who may attempt to remove a custom metadata instance for a file. Also non-recoverable
|
|
1262
1268
|
boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm = Are you sure you want to delete this custom metadata and all of its values from this file?
|
|
1263
1269
|
# Message for users who may attempt to remove a metadata instance for a file, which is non-recoverable
|
|
@@ -1284,6 +1290,8 @@ boxui.metadataInstanceEditor.noMetadataAddTemplate = Click 'Add' in the top righ
|
|
|
1284
1290
|
boxui.metadataInstanceEditor.operationNotImmediate = This operation is not immediate and may take some time.
|
|
1285
1291
|
# Label to remove a template
|
|
1286
1292
|
boxui.metadataInstanceEditor.removeTemplate = Remove
|
|
1293
|
+
# Name of the standard AI agent
|
|
1294
|
+
boxui.metadataInstanceEditor.standardAgentName = Standard
|
|
1287
1295
|
# Label to add a template
|
|
1288
1296
|
boxui.metadataInstanceEditor.templateAdd = Add
|
|
1289
1297
|
# Placeholder to search for all templates
|
package/i18n/en-CA.js
CHANGED
|
@@ -631,6 +631,7 @@ export default {
|
|
|
631
631
|
"boxui.metadataInstanceEditor.editTooltip": "Edit Metadata",
|
|
632
632
|
"boxui.metadataInstanceEditor.enableAIAutofill": "Box AI Autofill",
|
|
633
633
|
"boxui.metadataInstanceEditor.enableCascadePolicy": "Enable Cascade Policy",
|
|
634
|
+
"boxui.metadataInstanceEditor.enhancedAgentName": "Enhanced",
|
|
634
635
|
"boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm": "Are you sure you want to delete this custom metadata and all of its values from this file?",
|
|
635
636
|
"boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm": "Are you sure you want to delete \"{metadataName}\" and all of its values from this file?",
|
|
636
637
|
"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm": "Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.",
|
|
@@ -644,6 +645,7 @@ export default {
|
|
|
644
645
|
"boxui.metadataInstanceEditor.noMetadataAddTemplate": "Click 'Add' in the top right to add metadata to this item",
|
|
645
646
|
"boxui.metadataInstanceEditor.operationNotImmediate": "This operation is not immediate and may take some time.",
|
|
646
647
|
"boxui.metadataInstanceEditor.removeTemplate": "Remove",
|
|
648
|
+
"boxui.metadataInstanceEditor.standardAgentName": "Standard",
|
|
647
649
|
"boxui.metadataInstanceEditor.templateAdd": "Add",
|
|
648
650
|
"boxui.metadataInstanceEditor.templateSearchPlaceholder": "Search all templates",
|
|
649
651
|
"boxui.metadataInstanceEditor.templatesFetchFailed": "Sorry! We could not fetch templates. Please contact your administrator",
|
package/i18n/en-CA.properties
CHANGED
|
@@ -1224,6 +1224,10 @@ boxui.metadataInstanceEditor.cannotApplyCascadePolicyText = Cascade policy canno
|
|
|
1224
1224
|
boxui.metadataInstanceEditor.cascadePolicyLearnMore = Learn more
|
|
1225
1225
|
# Tooltip text that asks the user what they want to do when applying cascading to their metadata policy
|
|
1226
1226
|
boxui.metadataInstanceEditor.cascadePolicyModeQuestion = In the case of conflicts when applying this template and its values to existing items, what would you like to do? This is a one time action.
|
|
1227
|
+
# Notice that explains that the cascade policy cannot be edited
|
|
1228
|
+
boxui.metadataInstanceEditor.cascadePolicyOptionsDisabledNotice = This cascade policy cannot be edited. To modify it, deactivate the current policy and then re-enable it to set up a new one.
|
|
1229
|
+
# Aria label for the disabled cascade options information icon
|
|
1230
|
+
boxui.metadataInstanceEditor.cascadePolicyOptionsDisabledNoticeIconAriaLabel = Disabled cascade options information
|
|
1227
1231
|
# Label for radio button that selects overwrite mode for cascading policy
|
|
1228
1232
|
boxui.metadataInstanceEditor.cascadePolicyOverwriteMode = Overwrite all existing template values
|
|
1229
1233
|
# Label for radio button that selects skip mode for cascading policy
|
|
@@ -1258,6 +1262,8 @@ boxui.metadataInstanceEditor.editTooltip = Edit Metadata
|
|
|
1258
1262
|
boxui.metadataInstanceEditor.enableAIAutofill = Box AI Autofill
|
|
1259
1263
|
# Label for enable cascade policy toggle switch
|
|
1260
1264
|
boxui.metadataInstanceEditor.enableCascadePolicy = Enable Cascade Policy
|
|
1265
|
+
# Name of the enhanced AI agent
|
|
1266
|
+
boxui.metadataInstanceEditor.enhancedAgentName = Enhanced
|
|
1261
1267
|
# Message for users who may attempt to remove a custom metadata instance for a file. Also non-recoverable
|
|
1262
1268
|
boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm = Are you sure you want to delete this custom metadata and all of its values from this file?
|
|
1263
1269
|
# Message for users who may attempt to remove a metadata instance for a file, which is non-recoverable
|
|
@@ -1284,6 +1290,8 @@ boxui.metadataInstanceEditor.noMetadataAddTemplate = Click 'Add' in the top righ
|
|
|
1284
1290
|
boxui.metadataInstanceEditor.operationNotImmediate = This operation is not immediate and may take some time.
|
|
1285
1291
|
# Label to remove a template
|
|
1286
1292
|
boxui.metadataInstanceEditor.removeTemplate = Remove
|
|
1293
|
+
# Name of the standard AI agent
|
|
1294
|
+
boxui.metadataInstanceEditor.standardAgentName = Standard
|
|
1287
1295
|
# Label to add a template
|
|
1288
1296
|
boxui.metadataInstanceEditor.templateAdd = Add
|
|
1289
1297
|
# Placeholder to search for all templates
|
package/i18n/en-GB.js
CHANGED
|
@@ -631,6 +631,7 @@ export default {
|
|
|
631
631
|
"boxui.metadataInstanceEditor.editTooltip": "Edit metadata",
|
|
632
632
|
"boxui.metadataInstanceEditor.enableAIAutofill": "Box AI Autofill",
|
|
633
633
|
"boxui.metadataInstanceEditor.enableCascadePolicy": "Enable Cascade Policy",
|
|
634
|
+
"boxui.metadataInstanceEditor.enhancedAgentName": "Enhanced",
|
|
634
635
|
"boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm": "Are you sure you want to delete this custom metadata and all of its values from this file?",
|
|
635
636
|
"boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm": "Are you sure you want to delete \"{metadataName}\" and all of its values from this file?",
|
|
636
637
|
"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm": "Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.",
|
|
@@ -644,6 +645,7 @@ export default {
|
|
|
644
645
|
"boxui.metadataInstanceEditor.noMetadataAddTemplate": "Click 'Add' in the top right to add metadata to this item",
|
|
645
646
|
"boxui.metadataInstanceEditor.operationNotImmediate": "This operation is not immediate and may take some time.",
|
|
646
647
|
"boxui.metadataInstanceEditor.removeTemplate": "Remove",
|
|
648
|
+
"boxui.metadataInstanceEditor.standardAgentName": "Standard",
|
|
647
649
|
"boxui.metadataInstanceEditor.templateAdd": "Add",
|
|
648
650
|
"boxui.metadataInstanceEditor.templateSearchPlaceholder": "Search all templates",
|
|
649
651
|
"boxui.metadataInstanceEditor.templatesFetchFailed": "Sorry! We could not fetch templates. Please contact your administrator",
|
package/i18n/en-GB.properties
CHANGED
|
@@ -1224,6 +1224,10 @@ boxui.metadataInstanceEditor.cannotApplyCascadePolicyText = Cascade policy canno
|
|
|
1224
1224
|
boxui.metadataInstanceEditor.cascadePolicyLearnMore = Learn more
|
|
1225
1225
|
# Tooltip text that asks the user what they want to do when applying cascading to their metadata policy
|
|
1226
1226
|
boxui.metadataInstanceEditor.cascadePolicyModeQuestion = In the event of conflicts when applying this template and its values to existing items, what would you prefer to do? This is a one-time action.
|
|
1227
|
+
# Notice that explains that the cascade policy cannot be edited
|
|
1228
|
+
boxui.metadataInstanceEditor.cascadePolicyOptionsDisabledNotice = This cascade policy cannot be edited. To modify it, deactivate the current policy and then re-enable it to set up a new one.
|
|
1229
|
+
# Aria label for the disabled cascade options information icon
|
|
1230
|
+
boxui.metadataInstanceEditor.cascadePolicyOptionsDisabledNoticeIconAriaLabel = Disabled cascade options information
|
|
1227
1231
|
# Label for radio button that selects overwrite mode for cascading policy
|
|
1228
1232
|
boxui.metadataInstanceEditor.cascadePolicyOverwriteMode = Overwrite all existing template values
|
|
1229
1233
|
# Label for radio button that selects skip mode for cascading policy
|
|
@@ -1258,6 +1262,8 @@ boxui.metadataInstanceEditor.editTooltip = Edit metadata
|
|
|
1258
1262
|
boxui.metadataInstanceEditor.enableAIAutofill = Box AI Autofill
|
|
1259
1263
|
# Label for enable cascade policy toggle switch
|
|
1260
1264
|
boxui.metadataInstanceEditor.enableCascadePolicy = Enable Cascade Policy
|
|
1265
|
+
# Name of the enhanced AI agent
|
|
1266
|
+
boxui.metadataInstanceEditor.enhancedAgentName = Enhanced
|
|
1261
1267
|
# Message for users who may attempt to remove a custom metadata instance for a file. Also non-recoverable
|
|
1262
1268
|
boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm = Are you sure you want to delete this custom metadata and all of its values from this file?
|
|
1263
1269
|
# Message for users who may attempt to remove a metadata instance for a file, which is non-recoverable
|
|
@@ -1284,6 +1290,8 @@ boxui.metadataInstanceEditor.noMetadataAddTemplate = Click 'Add' in the top righ
|
|
|
1284
1290
|
boxui.metadataInstanceEditor.operationNotImmediate = This operation is not immediate and may take some time.
|
|
1285
1291
|
# Label to remove a template
|
|
1286
1292
|
boxui.metadataInstanceEditor.removeTemplate = Remove
|
|
1293
|
+
# Name of the standard AI agent
|
|
1294
|
+
boxui.metadataInstanceEditor.standardAgentName = Standard
|
|
1287
1295
|
# Label to add a template
|
|
1288
1296
|
boxui.metadataInstanceEditor.templateAdd = Add
|
|
1289
1297
|
# Placeholder to search for all templates
|
package/i18n/en-US.js
CHANGED
|
@@ -631,6 +631,7 @@ export default {
|
|
|
631
631
|
"boxui.metadataInstanceEditor.editTooltip": "Edit Metadata",
|
|
632
632
|
"boxui.metadataInstanceEditor.enableAIAutofill": "Box AI Autofill",
|
|
633
633
|
"boxui.metadataInstanceEditor.enableCascadePolicy": "Enable Cascade Policy",
|
|
634
|
+
"boxui.metadataInstanceEditor.enhancedAgentName": "Enhanced",
|
|
634
635
|
"boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm": "Are you sure you want to delete this custom metadata and all of its values from this file?",
|
|
635
636
|
"boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm": "Are you sure you want to delete \"{metadataName}\" and all of its values from this file?",
|
|
636
637
|
"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm": "Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.",
|
|
@@ -644,6 +645,7 @@ export default {
|
|
|
644
645
|
"boxui.metadataInstanceEditor.noMetadataAddTemplate": "Click 'Add' in the top right to add metadata to this item",
|
|
645
646
|
"boxui.metadataInstanceEditor.operationNotImmediate": "This operation is not immediate and may take some time.",
|
|
646
647
|
"boxui.metadataInstanceEditor.removeTemplate": "Remove",
|
|
648
|
+
"boxui.metadataInstanceEditor.standardAgentName": "Standard",
|
|
647
649
|
"boxui.metadataInstanceEditor.templateAdd": "Add",
|
|
648
650
|
"boxui.metadataInstanceEditor.templateSearchPlaceholder": "Search all templates",
|
|
649
651
|
"boxui.metadataInstanceEditor.templatesFetchFailed": "Sorry! We could not fetch templates. Please contact your administrator",
|
package/i18n/en-US.properties
CHANGED
|
@@ -1262,6 +1262,8 @@ boxui.metadataInstanceEditor.editTooltip = Edit Metadata
|
|
|
1262
1262
|
boxui.metadataInstanceEditor.enableAIAutofill = Box AI Autofill
|
|
1263
1263
|
# Label for enable cascade policy toggle switch
|
|
1264
1264
|
boxui.metadataInstanceEditor.enableCascadePolicy = Enable Cascade Policy
|
|
1265
|
+
# Name of the enhanced AI agent
|
|
1266
|
+
boxui.metadataInstanceEditor.enhancedAgentName = Enhanced
|
|
1265
1267
|
# Message for users who may attempt to remove a custom metadata instance for a file. Also non-recoverable
|
|
1266
1268
|
boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm = Are you sure you want to delete this custom metadata and all of its values from this file?
|
|
1267
1269
|
# Message for users who may attempt to remove a metadata instance for a file, which is non-recoverable
|
|
@@ -1288,6 +1290,8 @@ boxui.metadataInstanceEditor.noMetadataAddTemplate = Click 'Add' in the top righ
|
|
|
1288
1290
|
boxui.metadataInstanceEditor.operationNotImmediate = This operation is not immediate and may take some time.
|
|
1289
1291
|
# Label to remove a template
|
|
1290
1292
|
boxui.metadataInstanceEditor.removeTemplate = Remove
|
|
1293
|
+
# Name of the standard AI agent
|
|
1294
|
+
boxui.metadataInstanceEditor.standardAgentName = Standard
|
|
1291
1295
|
# Label to add a template
|
|
1292
1296
|
boxui.metadataInstanceEditor.templateAdd = Add
|
|
1293
1297
|
# Placeholder to search for all templates
|