@box/unified-share-modal 1.21.0 → 1.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/esm/lib/hooks/use-link-settings-form.js +17 -17
  2. package/dist/i18n/bn-IN.js +4 -4
  3. package/dist/i18n/bn-IN.properties +6 -4
  4. package/dist/i18n/da-DK.js +4 -4
  5. package/dist/i18n/da-DK.properties +6 -4
  6. package/dist/i18n/de-DE.js +4 -4
  7. package/dist/i18n/de-DE.properties +6 -4
  8. package/dist/i18n/en-AU.properties +2 -0
  9. package/dist/i18n/en-CA.properties +2 -0
  10. package/dist/i18n/en-GB.properties +2 -0
  11. package/dist/i18n/en-x-pseudo.js +127 -127
  12. package/dist/i18n/en-x-pseudo.properties +128 -126
  13. package/dist/i18n/es-419.js +4 -4
  14. package/dist/i18n/es-419.properties +6 -4
  15. package/dist/i18n/es-ES.js +4 -4
  16. package/dist/i18n/es-ES.properties +6 -4
  17. package/dist/i18n/fi-FI.js +4 -4
  18. package/dist/i18n/fi-FI.properties +6 -4
  19. package/dist/i18n/fr-CA.js +4 -4
  20. package/dist/i18n/fr-CA.properties +6 -4
  21. package/dist/i18n/fr-FR.js +4 -4
  22. package/dist/i18n/fr-FR.properties +6 -4
  23. package/dist/i18n/hi-IN.js +4 -4
  24. package/dist/i18n/hi-IN.properties +6 -4
  25. package/dist/i18n/it-IT.js +4 -4
  26. package/dist/i18n/it-IT.properties +6 -4
  27. package/dist/i18n/ja-JP.js +4 -4
  28. package/dist/i18n/ja-JP.properties +6 -4
  29. package/dist/i18n/ko-KR.properties +2 -0
  30. package/dist/i18n/nb-NO.properties +2 -0
  31. package/dist/i18n/nl-NL.js +4 -4
  32. package/dist/i18n/nl-NL.properties +6 -4
  33. package/dist/i18n/pl-PL.js +4 -4
  34. package/dist/i18n/pl-PL.properties +6 -4
  35. package/dist/i18n/pt-BR.js +4 -4
  36. package/dist/i18n/pt-BR.properties +6 -4
  37. package/dist/i18n/ru-RU.js +4 -4
  38. package/dist/i18n/ru-RU.properties +6 -4
  39. package/dist/i18n/sv-SE.js +4 -4
  40. package/dist/i18n/sv-SE.properties +6 -4
  41. package/dist/i18n/tr-TR.js +4 -4
  42. package/dist/i18n/tr-TR.properties +6 -4
  43. package/dist/i18n/zh-CN.js +4 -4
  44. package/dist/i18n/zh-CN.properties +6 -4
  45. package/dist/i18n/zh-TW.js +4 -4
  46. package/dist/i18n/zh-TW.properties +6 -4
  47. package/dist/types/lib/types.d.ts +2 -0
  48. package/package.json +9 -9
@@ -6,39 +6,39 @@ import { getUpdatedLinkSettingsFormData as O } from "../utils/form.js";
6
6
  import { useUnifiedShareModalContext as z } from "../contexts/unified-share-modal-context.js";
7
7
  const Q = (e) => {
8
8
  const [s, o] = C(e), u = j(e), {
9
- errors: h,
9
+ errors: E,
10
10
  setErrors: r,
11
11
  setFieldError: n,
12
12
  validateExpiration: p,
13
13
  validatePassword: a,
14
14
  validateVanityName: f
15
15
  } = I(), {
16
- sharingService: E
16
+ sharingService: h
17
17
  } = z(), {
18
- updateSharedLink: g
19
- } = E, {
20
- isLoading: l,
18
+ updateSharedLink: l
19
+ } = h, {
20
+ isLoading: S,
21
21
  onAction: m
22
- } = M(g, "update-shared-link");
22
+ } = M(l, "update-shared-link");
23
23
  q(() => {
24
- !A(u.current, e) && (o(e), r({}), u.current = e);
24
+ A(u.current, e) || (o(e), r({}), u.current = e);
25
25
  }, [e, r]);
26
- const S = i((t, c) => {
27
- o((d) => ({
28
- ...d,
29
- [t]: c
26
+ const g = i((t, d) => {
27
+ o((c) => ({
28
+ ...c,
29
+ [t]: d
30
30
  }));
31
31
  }, []), b = i(() => {
32
32
  o(e), r({});
33
33
  }, [e, r]), v = i(async () => {
34
34
  const t = O(s, e), {
35
- expiration: c,
36
- isExpirationEnabled: d,
35
+ expiration: d,
36
+ isExpirationEnabled: c,
37
37
  isPasswordEnabled: x,
38
38
  isVanityNameEnabled: y,
39
39
  password: k,
40
40
  vanityName: w
41
- } = t, V = d && p(c), L = x && a(k), N = y && f(w);
41
+ } = t, V = c && p(d), L = x && a(k), N = y && f(w);
42
42
  if (V || L || N)
43
43
  return !0;
44
44
  try {
@@ -52,14 +52,14 @@ const Q = (e) => {
52
52
  return !1;
53
53
  }, [s, e, m, n, p, a, f]);
54
54
  return {
55
- errors: h,
55
+ errors: E,
56
56
  formData: s,
57
57
  handleFormReset: b,
58
58
  handleFormSubmit: v,
59
- isUpdating: l,
59
+ isUpdating: S,
60
60
  setErrors: r,
61
61
  setFieldError: n,
62
- setFieldValue: S,
62
+ setFieldValue: g,
63
63
  validatePassword: a
64
64
  };
65
65
  };
@@ -25,10 +25,10 @@ export default {
25
25
  "groupSharedFeatures.usm.removeSharedLinkModal.title": "শেয়ারকৃত লিঙ্ক অপসারণ করুন",
26
26
  "groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton": "বাতিল করুন",
27
27
  "groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton": "বন্ধ করুন",
28
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Download has been disabled for content due to the classification.",
29
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Download has been disabled for content without classification.",
30
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Download for this content has been disabled due to a security policy.",
31
- "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": "সরাসরি লিঙ্ক",
32
32
  "groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText": "শেয়ার করা লিঙ্ক সহ ব্যবহারকারীদের এই আইটেমটি ডাউনলোড করার অনুমতি দিন",
33
33
  "groupSharedFeatures.usm.sharedLinkSettingsModal.learnSharedLinkSettingsLink": "শেয়ার করা লিঙ্ক সেটিংস সম্পর্কে আরও জানুন।",
34
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
@@ -25,10 +25,10 @@ export default {
25
25
  "groupSharedFeatures.usm.removeSharedLinkModal.title": "Fjern delt link",
26
26
  "groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton": "Annuller",
27
27
  "groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton": "Luk",
28
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Download has been disabled for content due to the classification.",
29
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Download has been disabled for content without classification.",
30
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Download for this content has been disabled due to a security policy.",
31
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "Direct link",
28
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Download er blevet deaktiveret for indhold grund af klassificeringen.",
29
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Download er blevet deaktiveret for indhold uden klassificering.",
30
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Download af dette indhold er blevet deaktiveret baggrund af en sikkerhedspolitik.",
31
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "Direkte link",
32
32
  "groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText": "Tillad brugere med det delt link at downloade dette element",
33
33
  "groupSharedFeatures.usm.sharedLinkSettingsModal.learnSharedLinkSettingsLink": "Få mere at vide om delt link-indstillinger.",
34
34
  "groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationCalendarAriaLabel": "Vælge en udløbsdato",
@@ -1,5 +1,7 @@
1
1
  # Notification text when the shared link is failed to be created
2
2
  groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText = Kunne ikke oprette et delt link. Prøv venligst igen senere.
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 = Kunne ikke oprette et delt link. Prøv venligst igen senere.
5
7
  # Notification text when the shared link is successfully created
@@ -49,13 +51,13 @@ groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton = Annuller
49
51
  # Aria label for the button to close the Shared Link Settings modal
50
52
  groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton = Luk
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 = Download er blevet deaktiveret for indhold grund af 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 = Download er blevet deaktiveret for indhold uden 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 = Download af dette indhold er blevet deaktiveret baggrund af en sikkerhedspolitik.
57
59
  # Label for the direct link to download the shared item
58
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Direct link
60
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Direkte link
59
61
  # Label for the download settings toggle
60
62
  groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText = Tillad brugere med det delt link at downloade dette element
61
63
  # Link to learn more about shared link settings
@@ -25,10 +25,10 @@ export default {
25
25
  "groupSharedFeatures.usm.removeSharedLinkModal.title": "Freigabe-Link entfernen",
26
26
  "groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton": "Abbrechen",
27
27
  "groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton": "Schließen",
28
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Download has been disabled for content due to the classification.",
29
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Download has been disabled for content without classification.",
30
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Download for this content has been disabled due to a security policy.",
31
- "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "Direct link",
28
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithClassification": "Der Download der Inhalte wurde aufgrund der Klassifizierung deaktiviert.",
29
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "Der Download nicht klassifizierter Inhalte wurde deaktiviert.",
30
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "Das Herunterladen dieses Inhalts wurde aufgrund einer Sicherheitsrichtlinie deaktiviert.",
31
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "Direktverknüpfung",
32
32
  "groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText": "Benutzern mit dem Freigabe-Link das Herunterladen dieses Elements gestatten",
33
33
  "groupSharedFeatures.usm.sharedLinkSettingsModal.learnSharedLinkSettingsLink": "Erfahren Sie mehr über die Einstellungen für Freigabe-Links.",
34
34
  "groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationCalendarAriaLabel": "Wählen Sie ein Ablaufdatum aus",
@@ -1,5 +1,7 @@
1
1
  # Notification text when the shared link is failed to be created
2
2
  groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText = Ein Freigabe-Link kann nicht erzeugt werden. Versuchen Sie es bitte später noch einmal.
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 = Ein Freigabe-Link kann nicht erstellt werden. Versuchen Sie es bitte später noch einmal.
5
7
  # Notification text when the shared link is successfully created
@@ -49,13 +51,13 @@ groupSharedFeatures.usm.sharedLinkSettingsModal.cancelButton = Abbrechen
49
51
  # Aria label for the button to close the Shared Link Settings modal
50
52
  groupSharedFeatures.usm.sharedLinkSettingsModal.closeButton = Schließen
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 = Der Download der Inhalte wurde aufgrund der Klassifizierung deaktiviert.
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 = Der Download nicht klassifizierter Inhalte wurde deaktiviert.
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 = Das Herunterladen dieses Inhalts wurde aufgrund einer Sicherheitsrichtlinie deaktiviert.
57
59
  # Label for the direct link to download the shared item
58
- groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Direct link
60
+ groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel = Direktverknüpfung
59
61
  # Label for the download settings toggle
60
62
  groupSharedFeatures.usm.sharedLinkSettingsModal.downloadSettingsToggleText = Benutzern mit dem Freigabe-Link das Herunterladen dieses Elements gestatten
61
63
  # Link to learn more about shared link settings
@@ -1,5 +1,7 @@
1
1
  # Notification text when the shared link is failed to be created
2
2
  groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText = Unable to create a shared link. Please try again later.
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 = Unable to create a shared link. Please try again later.
5
7
  # Notification text when the shared link is successfully created
@@ -1,5 +1,7 @@
1
1
  # Notification text when the shared link is failed to be created
2
2
  groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText = Unable to create a shared link. Please try again later.
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 = Unable to create a shared link. Please try again later.
5
7
  # Notification text when the shared link is successfully created
@@ -1,5 +1,7 @@
1
1
  # Notification text when the shared link is failed to be created
2
2
  groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText = Unable to create a shared link. Please try again later.
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 = Unable to create a shared link. Please try again later.
5
7
  # Notification text when the shared link is successfully created