@box/unified-share-modal 1.20.1 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/esm/lib/hooks/use-collaboration-form.js +57 -53
  2. package/dist/esm/lib/hooks/use-form-validation.js +20 -17
  3. package/dist/esm/lib/hooks/use-link-settings-form.js +17 -17
  4. package/dist/esm/lib/messages.js +6 -2
  5. package/dist/i18n/bn-IN.js +5 -4
  6. package/dist/i18n/bn-IN.properties +6 -4
  7. package/dist/i18n/da-DK.js +5 -4
  8. package/dist/i18n/da-DK.properties +6 -4
  9. package/dist/i18n/de-DE.js +5 -4
  10. package/dist/i18n/de-DE.properties +6 -4
  11. package/dist/i18n/en-AU.js +1 -0
  12. package/dist/i18n/en-AU.properties +2 -0
  13. package/dist/i18n/en-CA.js +1 -0
  14. package/dist/i18n/en-CA.properties +2 -0
  15. package/dist/i18n/en-GB.js +1 -0
  16. package/dist/i18n/en-GB.properties +2 -0
  17. package/dist/i18n/en-US.js +1 -0
  18. package/dist/i18n/en-US.properties +2 -0
  19. package/dist/i18n/en-x-pseudo.js +127 -126
  20. package/dist/i18n/en-x-pseudo.properties +128 -126
  21. package/dist/i18n/es-419.js +5 -4
  22. package/dist/i18n/es-419.properties +6 -4
  23. package/dist/i18n/es-ES.js +5 -4
  24. package/dist/i18n/es-ES.properties +6 -4
  25. package/dist/i18n/fi-FI.js +5 -4
  26. package/dist/i18n/fi-FI.properties +6 -4
  27. package/dist/i18n/fr-CA.js +5 -4
  28. package/dist/i18n/fr-CA.properties +6 -4
  29. package/dist/i18n/fr-FR.js +5 -4
  30. package/dist/i18n/fr-FR.properties +6 -4
  31. package/dist/i18n/hi-IN.js +5 -4
  32. package/dist/i18n/hi-IN.properties +6 -4
  33. package/dist/i18n/it-IT.js +5 -4
  34. package/dist/i18n/it-IT.properties +6 -4
  35. package/dist/i18n/ja-JP.js +5 -4
  36. package/dist/i18n/ja-JP.properties +6 -4
  37. package/dist/i18n/json/src/lib/messages.json +1 -1
  38. package/dist/i18n/ko-KR.js +1 -0
  39. package/dist/i18n/ko-KR.properties +2 -0
  40. package/dist/i18n/nb-NO.js +1 -0
  41. package/dist/i18n/nb-NO.properties +2 -0
  42. package/dist/i18n/nl-NL.js +5 -4
  43. package/dist/i18n/nl-NL.properties +6 -4
  44. package/dist/i18n/pl-PL.js +5 -4
  45. package/dist/i18n/pl-PL.properties +6 -4
  46. package/dist/i18n/pt-BR.js +5 -4
  47. package/dist/i18n/pt-BR.properties +6 -4
  48. package/dist/i18n/ru-RU.js +5 -4
  49. package/dist/i18n/ru-RU.properties +6 -4
  50. package/dist/i18n/sv-SE.js +5 -4
  51. package/dist/i18n/sv-SE.properties +6 -4
  52. package/dist/i18n/tr-TR.js +5 -4
  53. package/dist/i18n/tr-TR.properties +6 -4
  54. package/dist/i18n/zh-CN.js +5 -4
  55. package/dist/i18n/zh-CN.properties +6 -4
  56. package/dist/i18n/zh-TW.js +5 -4
  57. package/dist/i18n/zh-TW.properties +6 -4
  58. package/dist/types/lib/hooks/use-form-validation.d.ts +1 -0
  59. package/dist/types/lib/messages.d.ts +5 -0
  60. package/dist/types/lib/types.d.ts +2 -0
  61. package/package.json +9 -9
@@ -1,5 +1,7 @@
1
1
  # Notification text when the shared link is failed to be created
2
2
  groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText = Не удается создать общую ссылку. Повторите попытку позже.
3
+ # Error message when more than the maximum number of contacts is entered
4
+ groupSharedFeatures.usm.contactsExceedLimitError = Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.
3
5
  # Notification text when the shared link failed to be created
4
6
  groupSharedFeatures.usm.createSharedLinkErrorNoticeText = Не удается создать общую ссылку. Повторите попытку позже.
5
7
  # Notification text when the shared link is successfully created
@@ -49,13 +51,13 @@ groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton = Отмена
49
51
  # Aria label for the button to close the Shared Link Settings modal
50
52
  groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton = Закрыть
51
53
  # Tooltip message when the direct link is blocked due to access policy with classification
52
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification = Download has been disabled for content due to the classification.
54
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification = Скачивание контента отключено в соответствии с классификацией.
53
55
  # Tooltip message when the direct link is blocked due to access policy without classification
54
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = Download has been disabled for content without classification.
56
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = Скачивание контента без классификации отключено.
55
57
  # Tooltip message when the direct link is blocked due to malicious content
56
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = Download for this content has been disabled due to a security policy.
58
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = Скачивание этого контента отключено в соответствии с политикой безопасности.
57
59
  # Label for the direct link to download the shared item
58
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Direct link
60
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Прямая ссылка
59
61
  # Label for the download settings toggle
60
62
  groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText = Разрешить пользователям с общей ссылкой скачивать этот элемент
61
63
  # Link to learn more about shared link settings
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText": "Kunde inte skapa en delad länk. Försök igen senare.",
3
+ "groupSharedFeatures.usm.contactsExceedLimitError": "Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.",
3
4
  "groupSharedFeatures.usm.createSharedLinkErrorNoticeText": "Kunde inte skapa en delad länk. Försök igen senare.",
4
5
  "groupSharedFeatures.usm.createSharedLinkSuccessNoticeText": "Delad länk skapad.",
5
6
  "groupSharedFeatures.usm.defaultErrorNoticeText": "Något gick fel. Försök igen senare.",
@@ -24,10 +25,10 @@ export default {
24
25
  "groupSharedFeatures.usm.removeSharedLinkModal.title": "Ta bort delad länk",
25
26
  "groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton": "Avbryt",
26
27
  "groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton": "Stäng",
27
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Download has been disabled for content due to the classification.",
28
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Download has been disabled for content without classification.",
29
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Download for this content has been disabled due to a security policy.",
30
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "Direct link",
28
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Hämtning har avaktiverats för innehåll grund av klassificeringen.",
29
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Hämtning har inaktiverats för innehåll utan klassificering.",
30
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Hämtning av det här innehållet har avaktiverats grund av en säkerhetspolicy.",
31
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "Direktlänk",
31
32
  "groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText": "Tillåt användare med den delade länken att hämta det här objektet",
32
33
  "groupSharedFeatures.usm.sharedLinkSettingsModal.learnSharedLinkSettingsLink": "Läs mer om inställningar för delade länkar.",
33
34
  "groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationCalendarAriaLabel": "Välj ett utgångsdatum",
@@ -1,5 +1,7 @@
1
1
  # Notification text when the shared link is failed to be created
2
2
  groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText = Kunde inte skapa en delad länk. Försök igen senare.
3
+ # Error message when more than the maximum number of contacts is entered
4
+ groupSharedFeatures.usm.contactsExceedLimitError = Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.
3
5
  # Notification text when the shared link failed to be created
4
6
  groupSharedFeatures.usm.createSharedLinkErrorNoticeText = Kunde inte skapa en delad länk. Försök igen senare.
5
7
  # Notification text when the shared link is successfully created
@@ -49,13 +51,13 @@ groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton = Avbryt
49
51
  # Aria label for the button to close the Shared Link Settings modal
50
52
  groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton = Stäng
51
53
  # Tooltip message when the direct link is blocked due to access policy with classification
52
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification = Download has been disabled for content due to the classification.
54
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification = Hämtning har avaktiverats för innehåll grund av klassificeringen.
53
55
  # Tooltip message when the direct link is blocked due to access policy without classification
54
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = Download has been disabled for content without classification.
56
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = Hämtning har inaktiverats för innehåll utan klassificering.
55
57
  # Tooltip message when the direct link is blocked due to malicious content
56
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = Download for this content has been disabled due to a security policy.
58
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = Hämtning av det här innehållet har avaktiverats grund av en säkerhetspolicy.
57
59
  # Label for the direct link to download the shared item
58
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Direct link
60
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Direktlänk
59
61
  # Label for the download settings toggle
60
62
  groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText = Tillåt användare med den delade länken att hämta det här objektet
61
63
  # Link to learn more about shared link settings
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText": "Paylaşılan bir bağlantı oluşturulamadı. Lütfen daha sonra tekrar deneyin.",
3
+ "groupSharedFeatures.usm.contactsExceedLimitError": "Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.",
3
4
  "groupSharedFeatures.usm.createSharedLinkErrorNoticeText": "Paylaşılan bir bağlantı oluşturulamadı. Lütfen daha sonra tekrar deneyin.",
4
5
  "groupSharedFeatures.usm.createSharedLinkSuccessNoticeText": "Paylaşılan bağlantı oluşturuldu.",
5
6
  "groupSharedFeatures.usm.defaultErrorNoticeText": "Bir hata oluştu. Lütfen daha sonra tekrar deneyin.",
@@ -24,10 +25,10 @@ export default {
24
25
  "groupSharedFeatures.usm.removeSharedLinkModal.title": "Paylaşılmış Bağlantıyı Kaldır",
25
26
  "groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton": "İptal Et",
26
27
  "groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton": "Kapat",
27
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Download has been disabled for content due to the classification.",
28
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Download has been disabled for content without classification.",
29
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Download for this content has been disabled due to a security policy.",
30
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "Direct link",
28
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Gizlilik sınıflandırması nedeniyle içerik için indirme devre dışı bırakıldı.",
29
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Gizlilik sınıflandırması uygulanmamış içerik için indirme devre dışı bırakıldı.",
30
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Bu içerik için indirme işlevi, bir güvenlik ilkesi nedeniyle devre dışı bırakıldı.",
31
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "Doğrudan Bağlantı",
31
32
  "groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText": "Paylaşılmış bağlantıya sahip kullanıcıların bu öğeyi indirmesine izin ver",
32
33
  "groupSharedFeatures.usm.sharedLinkSettingsModal.learnSharedLinkSettingsLink": "Paylaşılmış bağlantı ayarları hakkında daha fazla bilgi alın.",
33
34
  "groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationCalendarAriaLabel": "Bir sona erme tarihi seçin",
@@ -1,5 +1,7 @@
1
1
  # Notification text when the shared link is failed to be created
2
2
  groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText = Paylaşılan bir bağlantı oluşturulamadı. Lütfen daha sonra tekrar deneyin.
3
+ # Error message when more than the maximum number of contacts is entered
4
+ groupSharedFeatures.usm.contactsExceedLimitError = Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.
3
5
  # Notification text when the shared link failed to be created
4
6
  groupSharedFeatures.usm.createSharedLinkErrorNoticeText = Paylaşılan bir bağlantı oluşturulamadı. Lütfen daha sonra tekrar deneyin.
5
7
  # Notification text when the shared link is successfully created
@@ -49,13 +51,13 @@ groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton = İptal Et
49
51
  # Aria label for the button to close the Shared Link Settings modal
50
52
  groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton = Kapat
51
53
  # Tooltip message when the direct link is blocked due to access policy with classification
52
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification = Download has been disabled for content due to the classification.
54
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification = Gizlilik sınıflandırması nedeniyle içerik için indirme devre dışı bırakıldı.
53
55
  # Tooltip message when the direct link is blocked due to access policy without classification
54
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = Download has been disabled for content without classification.
56
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = Gizlilik sınıflandırması uygulanmamış içerik için indirme devre dışı bırakıldı.
55
57
  # Tooltip message when the direct link is blocked due to malicious content
56
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = Download for this content has been disabled due to a security policy.
58
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = Bu içerik için indirme işlevi, bir güvenlik ilkesi nedeniyle devre dışı bırakıldı.
57
59
  # Label for the direct link to download the shared item
58
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Direct link
60
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Doğrudan Bağlantı
59
61
  # Label for the download settings toggle
60
62
  groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText = Paylaşılmış bağlantıya sahip kullanıcıların bu öğeyi indirmesine izin ver
61
63
  # Link to learn more about shared link settings
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText": "无法创建共享链接。请稍后重试。",
3
+ "groupSharedFeatures.usm.contactsExceedLimitError": "Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.",
3
4
  "groupSharedFeatures.usm.createSharedLinkErrorNoticeText": "无法创建共享链接。请稍后重试。",
4
5
  "groupSharedFeatures.usm.createSharedLinkSuccessNoticeText": "已创建共享链接。",
5
6
  "groupSharedFeatures.usm.defaultErrorNoticeText": "发生错误。请稍后重试。",
@@ -24,10 +25,10 @@ export default {
24
25
  "groupSharedFeatures.usm.removeSharedLinkModal.title": "移除共享链接",
25
26
  "groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton": "取消",
26
27
  "groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton": "关闭",
27
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Download has been disabled for content due to the classification.",
28
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Download has been disabled for content without classification.",
29
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Download for this content has been disabled due to a security policy.",
30
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "Direct link",
28
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "由于应用了屏蔽访问策略,已禁用对此分类的内容的下载。",
29
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "禁止下载未分类的内容。",
30
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "由于应用了安全策略,已禁用对此内容的下载。",
31
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "直接链接",
31
32
  "groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText": "允许拥有共享链接的用户下载该项目",
32
33
  "groupSharedFeatures.usm.sharedLinkSettingsModal.learnSharedLinkSettingsLink": "了解有关共享链接设置的更多信息。",
33
34
  "groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationCalendarAriaLabel": "选择过期日期",
@@ -1,5 +1,7 @@
1
1
  # Notification text when the shared link is failed to be created
2
2
  groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText = 无法创建共享链接。请稍后重试。
3
+ # Error message when more than the maximum number of contacts is entered
4
+ groupSharedFeatures.usm.contactsExceedLimitError = Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.
3
5
  # Notification text when the shared link failed to be created
4
6
  groupSharedFeatures.usm.createSharedLinkErrorNoticeText = 无法创建共享链接。请稍后重试。
5
7
  # Notification text when the shared link is successfully created
@@ -49,13 +51,13 @@ groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton = 取消
49
51
  # Aria label for the button to close the Shared Link Settings modal
50
52
  groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton = 关闭
51
53
  # Tooltip message when the direct link is blocked due to access policy with classification
52
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification = Download has been disabled for content due to the classification.
54
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification = 由于应用了屏蔽访问策略,已禁用对此分类的内容的下载。
53
55
  # Tooltip message when the direct link is blocked due to access policy without classification
54
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = Download has been disabled for content without classification.
56
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = 禁止下载未分类的内容。
55
57
  # Tooltip message when the direct link is blocked due to malicious content
56
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = Download for this content has been disabled due to a security policy.
58
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = 由于应用了安全策略,已禁用对此内容的下载。
57
59
  # Label for the direct link to download the shared item
58
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Direct link
60
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = 直接链接
59
61
  # Label for the download settings toggle
60
62
  groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText = 允许拥有共享链接的用户下载该项目
61
63
  # Link to learn more about shared link settings
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  "groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText": "無法建立共用連結。 請稍後再試一次。",
3
+ "groupSharedFeatures.usm.contactsExceedLimitError": "Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.",
3
4
  "groupSharedFeatures.usm.createSharedLinkErrorNoticeText": "無法建立共用連結。 請稍後再試一次。",
4
5
  "groupSharedFeatures.usm.createSharedLinkSuccessNoticeText": "已建立共用的連結。",
5
6
  "groupSharedFeatures.usm.defaultErrorNoticeText": "發生問題。 請稍後再試一次。",
@@ -24,10 +25,10 @@ export default {
24
25
  "groupSharedFeatures.usm.removeSharedLinkModal.title": "移除共用的連結",
25
26
  "groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton": "取消",
26
27
  "groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton": "關閉",
27
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Download has been disabled for content due to the classification.",
28
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Download has been disabled for content without classification.",
29
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Download for this content has been disabled due to a security policy.",
30
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "Direct link",
28
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "下載內容的功能已因分類停用。",
29
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "已針對沒有分類的內容停用下載功能。",
30
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "由於安全性原則,此內容的下載功能已遭停用。",
31
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "直接連結",
31
32
  "groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText": "允許擁有共用連結的使用者下載此項目",
32
33
  "groupSharedFeatures.usm.sharedLinkSettingsModal.learnSharedLinkSettingsLink": "深入瞭解共用的連結設定。",
33
34
  "groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationCalendarAriaLabel": "選取到期日期",
@@ -1,5 +1,7 @@
1
1
  # Notification text when the shared link is failed to be created
2
2
  groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText = 無法建立共用連結。 請稍後再試一次。
3
+ # Error message when more than the maximum number of contacts is entered
4
+ groupSharedFeatures.usm.contactsExceedLimitError = Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.
3
5
  # Notification text when the shared link failed to be created
4
6
  groupSharedFeatures.usm.createSharedLinkErrorNoticeText = 無法建立共用連結。 請稍後再試一次。
5
7
  # Notification text when the shared link is successfully created
@@ -49,13 +51,13 @@ groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton = 取消
49
51
  # Aria label for the button to close the Shared Link Settings modal
50
52
  groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton = 關閉
51
53
  # Tooltip message when the direct link is blocked due to access policy with classification
52
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification = Download has been disabled for content due to the classification.
54
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification = 下載內容的功能已因分類停用。
53
55
  # Tooltip message when the direct link is blocked due to access policy without classification
54
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = Download has been disabled for content without classification.
56
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = 已針對沒有分類的內容停用下載功能。
55
57
  # Tooltip message when the direct link is blocked due to malicious content
56
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = Download for this content has been disabled due to a security policy.
58
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = 由於安全性原則,此內容的下載功能已遭停用。
57
59
  # Label for the direct link to download the shared item
58
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Direct link
60
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = 直接連結
59
61
  # Label for the download settings toggle
60
62
  groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText = 允許擁有共用連結的使用者下載此項目
61
63
  # Link to learn more about shared link settings
@@ -10,6 +10,7 @@ export type FormErrors = {
10
10
  };
11
11
  export declare const useFormValidation: () => {
12
12
  errors: FormErrors;
13
+ validateCollaborationLimit: (users: UserContactType[], maxContacts: number) => boolean;
13
14
  validateExpiration: (expiration: DateValue) => boolean;
14
15
  validatePassword: (password: string) => boolean;
15
16
  validateVanityName: (vanityName: string) => boolean;
@@ -1,4 +1,9 @@
1
1
  declare const messages: {
2
+ contactsExceedLimitError: {
3
+ defaultMessage: string;
4
+ description: string;
5
+ id: string;
6
+ };
2
7
  noticeCloseLabel: {
3
8
  defaultMessage: string;
4
9
  description: string;
@@ -479,6 +479,8 @@ export interface LinkSettingsFormData {
479
479
  * Configuration options for configuring features in the Unified Share Modal.
480
480
  *
481
481
  * Generally used for hiding specific sections of the sharing form.
482
+ *
483
+ * IMPORTANT: It is recommended to memoize this object to prevent unnecessary re-renders.
482
484
  */
483
485
  export interface Configuration {
484
486
  /**
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@box/unified-share-modal",
3
- "version": "1.20.1",
3
+ "version": "1.22.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
- "@box/blueprint-web": "^12.104.1",
7
- "@box/blueprint-web-assets": "^4.87.0",
8
- "@box/copy-input": "^1.17.0",
9
- "@box/user-selector": "^1.49.1",
6
+ "@box/blueprint-web": "^12.105.0",
7
+ "@box/blueprint-web-assets": "^4.88.0",
8
+ "@box/copy-input": "^1.18.0",
9
+ "@box/user-selector": "^1.50.0",
10
10
  "lodash": "^4.17.15",
11
11
  "react": "^18.0.0",
12
12
  "react-dom": "^18.0.0",
13
13
  "react-intl": "^6.4.2"
14
14
  },
15
15
  "devDependencies": {
16
- "@box/blueprint-web": "^12.104.1",
17
- "@box/blueprint-web-assets": "^4.87.0",
18
- "@box/copy-input": "^1.17.0",
19
- "@box/storybook-utils": "0.14.27",
16
+ "@box/blueprint-web": "^12.105.0",
17
+ "@box/blueprint-web-assets": "^4.88.0",
18
+ "@box/copy-input": "^1.18.0",
19
+ "@box/storybook-utils": "0.14.28",
20
20
  "@box/eslint-plugin-blueprint": "1.0.5",
21
21
  "react-intl": "^6.4.2"
22
22
  },