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.
Files changed (84) hide show
  1. package/dist/explorer.js +1 -1
  2. package/dist/openwith.js +1 -1
  3. package/dist/picker.js +1 -1
  4. package/dist/preview.js +1 -1
  5. package/dist/sharing.js +1 -1
  6. package/dist/sidebar.js +1 -1
  7. package/dist/uploader.js +1 -1
  8. package/es/common/types/metadata.js.flow +6 -0
  9. package/es/common/types/metadata.js.map +1 -1
  10. package/es/features/metadata-instance-editor/CascadePolicy.js +40 -20
  11. package/es/features/metadata-instance-editor/CascadePolicy.js.flow +52 -24
  12. package/es/features/metadata-instance-editor/CascadePolicy.js.map +1 -1
  13. package/es/features/metadata-instance-editor/Instance.js +24 -2
  14. package/es/features/metadata-instance-editor/Instance.js.flow +31 -1
  15. package/es/features/metadata-instance-editor/Instance.js.map +1 -1
  16. package/es/features/metadata-instance-editor/constants.js +4 -1
  17. package/es/features/metadata-instance-editor/constants.js.flow +10 -1
  18. package/es/features/metadata-instance-editor/constants.js.map +1 -1
  19. package/es/features/metadata-instance-editor/messages.js +8 -0
  20. package/es/features/metadata-instance-editor/messages.js.flow +10 -0
  21. package/es/features/metadata-instance-editor/messages.js.map +1 -1
  22. package/i18n/bn-IN.js +4 -2
  23. package/i18n/bn-IN.properties +8 -0
  24. package/i18n/da-DK.js +4 -2
  25. package/i18n/da-DK.properties +8 -0
  26. package/i18n/de-DE.js +4 -2
  27. package/i18n/de-DE.properties +8 -0
  28. package/i18n/en-AU.js +2 -0
  29. package/i18n/en-AU.properties +8 -0
  30. package/i18n/en-CA.js +2 -0
  31. package/i18n/en-CA.properties +8 -0
  32. package/i18n/en-GB.js +2 -0
  33. package/i18n/en-GB.properties +8 -0
  34. package/i18n/en-US.js +2 -0
  35. package/i18n/en-US.properties +4 -0
  36. package/i18n/en-x-pseudo.js +1020 -1018
  37. package/i18n/en-x-pseudo.properties +1024 -1016
  38. package/i18n/es-419.js +4 -2
  39. package/i18n/es-419.properties +8 -0
  40. package/i18n/es-ES.js +4 -2
  41. package/i18n/es-ES.properties +8 -0
  42. package/i18n/fi-FI.js +4 -2
  43. package/i18n/fi-FI.properties +8 -0
  44. package/i18n/fr-CA.js +4 -2
  45. package/i18n/fr-CA.properties +8 -0
  46. package/i18n/fr-FR.js +4 -2
  47. package/i18n/fr-FR.properties +8 -0
  48. package/i18n/hi-IN.js +4 -2
  49. package/i18n/hi-IN.properties +8 -0
  50. package/i18n/it-IT.js +4 -2
  51. package/i18n/it-IT.properties +8 -0
  52. package/i18n/ja-JP.js +2 -0
  53. package/i18n/ja-JP.properties +8 -0
  54. package/i18n/ko-KR.js +4 -2
  55. package/i18n/ko-KR.properties +8 -0
  56. package/i18n/nb-NO.js +4 -2
  57. package/i18n/nb-NO.properties +8 -0
  58. package/i18n/nl-NL.js +4 -2
  59. package/i18n/nl-NL.properties +8 -0
  60. package/i18n/pl-PL.js +4 -2
  61. package/i18n/pl-PL.properties +8 -0
  62. package/i18n/pt-BR.js +4 -2
  63. package/i18n/pt-BR.properties +8 -0
  64. package/i18n/ru-RU.js +4 -2
  65. package/i18n/ru-RU.properties +8 -0
  66. package/i18n/sv-SE.js +4 -2
  67. package/i18n/sv-SE.properties +8 -0
  68. package/i18n/tr-TR.js +4 -2
  69. package/i18n/tr-TR.properties +8 -0
  70. package/i18n/zh-CN.js +4 -2
  71. package/i18n/zh-CN.properties +8 -0
  72. package/i18n/zh-TW.js +4 -2
  73. package/i18n/zh-TW.properties +8 -0
  74. package/package.json +3 -3
  75. package/src/common/types/metadata.js +6 -0
  76. package/src/features/metadata-instance-editor/CascadePolicy.js +52 -24
  77. package/src/features/metadata-instance-editor/Instance.js +31 -1
  78. package/src/features/metadata-instance-editor/__tests__/CascadePolicy.test.js +50 -3
  79. package/src/features/metadata-instance-editor/__tests__/Instance.test.js +20 -2
  80. package/src/features/metadata-instance-editor/__tests__/Instances.test.js +15 -10
  81. package/src/features/metadata-instance-editor/__tests__/MetadataInstanceEditor.test.js +53 -10
  82. package/src/features/metadata-instance-editor/__tests__/__snapshots__/Instance.test.js.snap +1 -0
  83. package/src/features/metadata-instance-editor/constants.js +10 -1
  84. package/src/features/metadata-instance-editor/messages.js +10 -0
@@ -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",
@@ -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",
@@ -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",
@@ -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