@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.
- package/dist/esm/lib/hooks/use-link-settings-form.js +17 -17
- package/dist/i18n/bn-IN.js +4 -4
- package/dist/i18n/bn-IN.properties +6 -4
- package/dist/i18n/da-DK.js +4 -4
- package/dist/i18n/da-DK.properties +6 -4
- package/dist/i18n/de-DE.js +4 -4
- package/dist/i18n/de-DE.properties +6 -4
- package/dist/i18n/en-AU.properties +2 -0
- package/dist/i18n/en-CA.properties +2 -0
- package/dist/i18n/en-GB.properties +2 -0
- package/dist/i18n/en-x-pseudo.js +127 -127
- package/dist/i18n/en-x-pseudo.properties +128 -126
- package/dist/i18n/es-419.js +4 -4
- package/dist/i18n/es-419.properties +6 -4
- package/dist/i18n/es-ES.js +4 -4
- package/dist/i18n/es-ES.properties +6 -4
- package/dist/i18n/fi-FI.js +4 -4
- package/dist/i18n/fi-FI.properties +6 -4
- package/dist/i18n/fr-CA.js +4 -4
- package/dist/i18n/fr-CA.properties +6 -4
- package/dist/i18n/fr-FR.js +4 -4
- package/dist/i18n/fr-FR.properties +6 -4
- package/dist/i18n/hi-IN.js +4 -4
- package/dist/i18n/hi-IN.properties +6 -4
- package/dist/i18n/it-IT.js +4 -4
- package/dist/i18n/it-IT.properties +6 -4
- package/dist/i18n/ja-JP.js +4 -4
- package/dist/i18n/ja-JP.properties +6 -4
- package/dist/i18n/ko-KR.properties +2 -0
- package/dist/i18n/nb-NO.properties +2 -0
- package/dist/i18n/nl-NL.js +4 -4
- package/dist/i18n/nl-NL.properties +6 -4
- package/dist/i18n/pl-PL.js +4 -4
- package/dist/i18n/pl-PL.properties +6 -4
- package/dist/i18n/pt-BR.js +4 -4
- package/dist/i18n/pt-BR.properties +6 -4
- package/dist/i18n/ru-RU.js +4 -4
- package/dist/i18n/ru-RU.properties +6 -4
- package/dist/i18n/sv-SE.js +4 -4
- package/dist/i18n/sv-SE.properties +6 -4
- package/dist/i18n/tr-TR.js +4 -4
- package/dist/i18n/tr-TR.properties +6 -4
- package/dist/i18n/zh-CN.js +4 -4
- package/dist/i18n/zh-CN.properties +6 -4
- package/dist/i18n/zh-TW.js +4 -4
- package/dist/i18n/zh-TW.properties +6 -4
- package/dist/types/lib/types.d.ts +2 -0
- package/package.json +9 -9
package/dist/i18n/zh-CN.js
CHANGED
|
@@ -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": "
|
|
29
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "
|
|
30
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "
|
|
31
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "
|
|
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 =
|
|
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 =
|
|
56
|
+
groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = 禁止下载未分类的内容。
|
|
55
57
|
# Tooltip message when the direct link is blocked due to malicious content
|
|
56
|
-
groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent =
|
|
58
|
+
groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = 由于应用了安全策略,已禁用对此内容的下载。
|
|
57
59
|
# Label for the direct link to download the shared item
|
|
58
|
-
groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel =
|
|
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
|
package/dist/i18n/zh-TW.js
CHANGED
|
@@ -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": "
|
|
29
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification": "
|
|
30
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent": "
|
|
31
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel": "
|
|
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 =
|
|
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 =
|
|
56
|
+
groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByAccessPolicyWithoutClassification = 已針對沒有分類的內容停用下載功能。
|
|
55
57
|
# Tooltip message when the direct link is blocked due to malicious content
|
|
56
|
-
groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent =
|
|
58
|
+
groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkBlockedByMaliciousContent = 由於安全性原則,此內容的下載功能已遭停用。
|
|
57
59
|
# Label for the direct link to download the shared item
|
|
58
|
-
groupSharedFeatures.usm.sharedLinkSettingsModal.directLinkLabel =
|
|
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
|
|
@@ -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.
|
|
3
|
+
"version": "1.22.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@box/blueprint-web": "^12.
|
|
7
|
-
"@box/blueprint-web-assets": "^4.
|
|
8
|
-
"@box/copy-input": "^1.
|
|
9
|
-
"@box/user-selector": "^1.
|
|
6
|
+
"@box/blueprint-web": "^12.106.0",
|
|
7
|
+
"@box/blueprint-web-assets": "^4.88.1",
|
|
8
|
+
"@box/copy-input": "^1.18.1",
|
|
9
|
+
"@box/user-selector": "^1.50.1",
|
|
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.
|
|
17
|
-
"@box/blueprint-web-assets": "^4.
|
|
18
|
-
"@box/copy-input": "^1.
|
|
19
|
-
"@box/storybook-utils": "0.14.
|
|
16
|
+
"@box/blueprint-web": "^12.106.0",
|
|
17
|
+
"@box/blueprint-web-assets": "^4.88.1",
|
|
18
|
+
"@box/copy-input": "^1.18.1",
|
|
19
|
+
"@box/storybook-utils": "0.14.29",
|
|
20
20
|
"@box/eslint-plugin-blueprint": "1.0.5",
|
|
21
21
|
"react-intl": "^6.4.2"
|
|
22
22
|
},
|