@box/unified-share-modal 3.3.1 → 3.3.2
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/chunks/collaboration-section.js +1 -1
- package/dist/i18n/bn-IN.js +1 -0
- package/dist/i18n/da-DK.js +1 -0
- package/dist/i18n/de-DE.js +1 -0
- package/dist/i18n/es-419.js +1 -0
- package/dist/i18n/es-ES.js +1 -0
- package/dist/i18n/fi-FI.js +1 -0
- package/dist/i18n/fr-CA.js +1 -0
- package/dist/i18n/fr-FR.js +1 -0
- package/dist/i18n/hi-IN.js +1 -0
- package/dist/i18n/ja-JP.js +3 -3
- package/dist/i18n/ko-KR.js +1 -0
- package/dist/i18n/nb-NO.js +1 -0
- package/dist/i18n/pl-PL.js +1 -0
- package/dist/i18n/pt-BR.js +1 -0
- package/dist/i18n/ru-RU.js +1 -0
- package/dist/i18n/tr-TR.js +1 -0
- package/dist/i18n/zh-CN.js +1 -0
- package/dist/i18n/zh-TW.js +1 -0
- package/dist/styles/collaboration-section.css +1 -1
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useUnifiedShareModalContext}from"../esm/lib/contexts/unified-share-modal-context.js";import{parseEmails}from"../esm/lib/utils/email.js";import{getNotificationArgs}from"../esm/lib/utils/notification.js";import{useUnifiedShareFormContext}from"../esm/lib/contexts/unified-share-form-context.js";import{useFormValidation}from"../esm/lib/hooks/use-form-validation.js";import{useCollaborationForm}from"../esm/lib/hooks/use-collaboration-form.js";import messages from"../esm/lib/components/unified-share-form-modal/collaboration-section/messages.js";import{t as CollaborationRole}from"./collaboration-role.js";import{t as SharedWithAvatars}from"./shared-with-avatars.js";import{t as ShieldRestrictionNotice}from"./shield-restriction-notice.js";import{t as TextAreaContainer}from"./text-area-container.js";import{useCallback,useEffect,useRef,useState}from"react";import{useIntl}from"react-intl";import{Focusable,Modal,Text,Tooltip,useLabelable,useNotification,useUniqueId}from"@box/blueprint-web";import{Fragment,jsx,jsxs}from"react/jsx-runtime";import{createPortal}from"react-dom";import{Globe}from"@box/blueprint-web-assets/icons/Medium";import{bpSize040}from"@box/blueprint-web-assets/tokens/tokens";import{UserSelectorContainer}from"@box/user-selector";import '../styles/collaboration-section.css';var collaboration_section_module_default={container:`
|
|
1
|
+
import{useUnifiedShareModalContext}from"../esm/lib/contexts/unified-share-modal-context.js";import{parseEmails}from"../esm/lib/utils/email.js";import{getNotificationArgs}from"../esm/lib/utils/notification.js";import{useUnifiedShareFormContext}from"../esm/lib/contexts/unified-share-form-context.js";import{useFormValidation}from"../esm/lib/hooks/use-form-validation.js";import{useCollaborationForm}from"../esm/lib/hooks/use-collaboration-form.js";import messages from"../esm/lib/components/unified-share-form-modal/collaboration-section/messages.js";import{t as CollaborationRole}from"./collaboration-role.js";import{t as SharedWithAvatars}from"./shared-with-avatars.js";import{t as ShieldRestrictionNotice}from"./shield-restriction-notice.js";import{t as TextAreaContainer}from"./text-area-container.js";import{useCallback,useEffect,useRef,useState}from"react";import{useIntl}from"react-intl";import{Focusable,Modal,Text,Tooltip,useLabelable,useNotification,useUniqueId}from"@box/blueprint-web";import{Fragment,jsx,jsxs}from"react/jsx-runtime";import{createPortal}from"react-dom";import{Globe}from"@box/blueprint-web-assets/icons/Medium";import{bpSize040}from"@box/blueprint-web-assets/tokens/tokens";import{UserSelectorContainer}from"@box/user-selector";import '../styles/collaboration-section.css';var collaboration_section_module_default={container:`_container_w04ru_27`,label:`_label_w04ru_33`,security:`_security_w04ru_60`,disclosures:`_disclosures_w04ru_64`,icon:`_icon_w04ru_70`,access:`_access_w04ru_76`};function CollaborationSection(){let{formatMessage}=useIntl(),[restrictionError,setRestrictionError]=useState(),{addNotification}=useNotification(),{validateShieldRestriction}=useFormValidation(),{contactValue,containerRef,form,setForm,setUserContacts,shieldRestriction,userContacts}=useUnifiedShareFormContext(),{collaborationAccess,collaborationNotices,config,contactService,invitationFormNotices,isFetching,isSubmitting,item,onOpenChange,sharingService,variant}=useUnifiedShareModalContext(),{permissions={},type:itemType}=item,{getContacts,getContactsAvatarUrls}=contactService,{sendInvitations,sendSharedLink}=sharingService,isDesktop=variant===`desktop`,isInvitationForm=form==="default"||form===`invite`,isFormExpanded=form===`invite`||form===`email`,hasInviteMessage=form===`invite`&&config.collaborationMessage,hasEmailMessage=form===`email`&&config.sharedLinkEmailMessage,hasExternalUser=userContacts.some(contact=>contact.isExternalUser),formAction,formNotification;form===`invite`&&(formAction=sendInvitations,formNotification=`invite-collaborators`),form===`email`&&(formAction=sendSharedLink,formNotification=`email-shared-link`);let{errors,handleFormReset,handleFormSubmit,handleSelectedUsersChange,handleUserSelectorBlur,updateContactValue}=useCollaborationForm(formAction,formNotification),contactsForm=useRef(form===`email`?`email`:`invite`);useEffect(()=>{contactsForm.current=form===`email`?`email`:`invite`},[form]),useEffect(()=>{(!userContacts.length||!userContacts.some(contact=>contact.chipVariant===`error`))&&setRestrictionError(null)},[userContacts]);let stopEscapeKeyPropagation=useCallback(event=>(event.stopPropagation(),!0),[]),handleFetchUsers=useCallback(query=>getContacts?getContacts(query,contactsForm.current):Promise.resolve([]),[getContacts]),handleFetchAvatarUrls=useCallback(contacts=>getContactsAvatarUrls?getContactsAvatarUrls(contacts):Promise.resolve({}),[getContactsAvatarUrls]),handleContactValueChange=input=>{isFormExpanded||setForm(`invite`),updateContactValue(input)},handlePaste=useCallback(event=>{let value=event.clipboardData.getData(`text`);parseEmails(value).length!==0&&(event.preventDefault(),isFormExpanded||setForm(`invite`),handleSelectedUsersChange([...userContacts,{value}]))},[handleSelectedUsersChange,isFormExpanded,setForm,userContacts]),handleCancel=()=>{handleFormReset(),setForm(`default`)},handleSubmit=async()=>{try{if(restrictionError){let errorMessage=validateShieldRestriction(userContacts,shieldRestriction);if(errorMessage){addNotification({...getNotificationArgs(formatMessage,`error`),styledText:errorMessage});return}}if(await handleFormSubmit())return;handleFormReset(),onOpenChange(!1),setForm(`default`)}catch(error){if(!error.shieldRestriction)return;let{shieldRestriction:shieldRestrictionError}=error,restrictedContacts=[...shieldRestrictionError.restrictedEmails??[],...shieldRestrictionError.restrictedGroups??[]],updatedUserContacts=userContacts.map(contact=>restrictedContacts.includes(contact.email)||restrictedContacts.includes(`${contact.id}`)?{...contact,chipVariant:`error`}:contact);setRestrictionError(shieldRestrictionError),setUserContacts(updatedUserContacts)}},userContactsTooltip,isUserContactsDisabled=!1;isInvitationForm&&!permissions.canInviteCollaborator&&(userContactsTooltip=formatMessage(messages.inviteDisabledTooltip),isUserContactsDisabled=!0),isInvitationForm&&itemType===`web_link`&&(userContactsTooltip=formatMessage(messages.inviteWebLinkDisabledTooltip),isUserContactsDisabled=!0);let userContactsId=useUniqueId(`usm-UserContacts-`),UserContactsLabel=useLabelable(formatMessage(isInvitationForm?messages.invitePeopleLabel:messages.emailSharedLinkLabel),userContactsId);return jsxs(`form`,{className:collaboration_section_module_default.container,onSubmit:event=>event.preventDefault(),children:[restrictionError&&jsx(ShieldRestrictionNotice,{error:restrictionError,isLoading:isSubmitting,onSelectedUsersChange:handleSelectedUsersChange}),collaborationNotices,jsxs(`div`,{children:[isInvitationForm&&config.collaborators&&jsx(SharedWithAvatars,{}),jsx(UserContactsLabel,{className:collaboration_section_module_default.label}),jsx(Tooltip,{content:userContactsTooltip,"data-testid":`usm-UserContacts-tooltip`,open:userContactsTooltip?void 0:!1,side:`bottom`,children:jsx(Focusable,{focusable:isUserContactsDisabled,children:jsx(UserSelectorContainer,{autoFocus:permissions.canInviteCollaborator,className:`usm-UserContacts-input`,clearButtonAriaLabel:formatMessage(messages.clearButton),clearOnBlur:!1,"data-target-id":`PillSelectorDropdown-AddNamesOrEmailAddresses`,disabled:isUserContactsDisabled||isSubmitting,displayChipVariant:contact=>contact.chipVariant,error:errors.userContacts,fetchAvatarUrls:handleFetchAvatarUrls,fetchUsers:handleFetchUsers,hideOnEscape:stopEscapeKeyPropagation,idForLabel:userContactsId,inputValue:contactValue,label:null,onBlur:handleUserSelectorBlur,onInputValueChange:handleContactValueChange,onPaste:handlePaste,onSelectedUsersChange:handleSelectedUsersChange,placeholder:userContacts.length?``:formatMessage(messages.invitePeoplePlaceholder),portalElement:containerRef,selectedUsers:userContacts,selectOnEnterOrTab:!0,variant:isFormExpanded?`textarea`:`input`})})}),isInvitationForm&&jsxs(`div`,{className:collaboration_section_module_default.access,children:[config.collaborationRole&&jsx(CollaborationRole,{}),collaborationAccess]})]}),(hasInviteMessage||hasEmailMessage)&&jsx(TextAreaContainer,{maxCount:config.collaborationMessageLimit}),isFormExpanded&&(hasExternalUser||invitationFormNotices)&&jsxs(`div`,{className:collaboration_section_module_default.disclosures,children:[hasExternalUser&&jsxs(`div`,{className:collaboration_section_module_default.security,children:[jsx(Globe,{className:collaboration_section_module_default.icon,height:bpSize040,width:bpSize040}),jsx(Text,{as:`span`,color:`textOnLightSecondary`,children:formatMessage(messages.contentSharedWithExternalCollaborators)})]}),invitationFormNotices]}),isFormExpanded&&containerRef&&createPortal(jsxs(Fragment,{children:[!isFetching&&jsxs(Modal.Footer,{children:[jsx(Modal.Footer.SecondaryButton,{disabled:isSubmitting,onClick:handleCancel,children:formatMessage(messages.cancelButton)}),jsx(Modal.Footer.PrimaryButton,{"data-target-id":`Modal.Footer.PrimaryButton-USMSendInvite`,loading:isSubmitting,loadingAriaLabel:formatMessage(messages.loadingLabel),onClick:handleSubmit,children:formatMessage(messages.sendButton)})]}),!isDesktop&&jsx(Modal.Close,{"aria-label":formatMessage(messages.closeButton),disabled:isSubmitting})]}),containerRef)]})}export{CollaborationSection as t};
|
package/dist/i18n/bn-IN.js
CHANGED
|
@@ -150,6 +150,7 @@ export default {
|
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "হাব",
|
|
151
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "যেকোনও কেউ অ্যাক্সেস করতে পারবে; কোনও সাইন-ইন আবশ্যক নয়",
|
|
152
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "লিঙ্ক সহ লোকজনেরা",
|
|
153
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "প্রম্প্ট",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "লিঙ্কটি অপসারণ করতে আপনার অনুমতি নেই",
|
|
154
155
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "লিঙ্ক শেয়ার করুন",
|
|
155
156
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "যে কেউ দেখতে এবং ডাউনলোড করার জন্য সর্বজনীনভাবে উপলব্ধ। লিঙ্ক সহ যে কোনো লগইন করা ব্যবহারকারী সম্পাদনা করতে পারবে।",
|
package/dist/i18n/da-DK.js
CHANGED
|
@@ -146,6 +146,7 @@ export default {
|
|
|
146
146
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "Hub",
|
|
147
147
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Offentligt tilgængeligt, det er ikke nødvendigt at logge ind",
|
|
148
148
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Personer med linket",
|
|
149
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "omgående",
|
|
149
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Du har ikke det rette adgangsniveau til at fjerne linket",
|
|
150
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Del link",
|
|
151
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Offentligt tilgængelig, så alle kan se og downloade. Enhver bruger, der er logget ind med linket, kan redigere.",
|
package/dist/i18n/de-DE.js
CHANGED
|
@@ -148,6 +148,7 @@ export default {
|
|
|
148
148
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "Hub",
|
|
149
149
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Öffentlich zugänglich und keine Anmeldung erforderlich",
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Personen mit diesem Link",
|
|
151
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "Prompt",
|
|
151
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Sie sind nicht berechtigt, den Link zu entfernen",
|
|
152
153
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Link freigeben",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Für alle Personen öffentlich zum Anzeigen und Herunterladen verfügbar. Alle angemeldeten Benutzer mit dem Link können den Inhalt bearbeiten.",
|
package/dist/i18n/es-419.js
CHANGED
|
@@ -147,6 +147,7 @@ export default {
|
|
|
147
147
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.folderAccessLevelItem": "carpeta",
|
|
148
148
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Accesible públicamente y sin necesidad de iniciar sesión",
|
|
149
149
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Personas con el enlace",
|
|
150
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "indicación",
|
|
150
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "No tiene permiso para eliminar el enlace",
|
|
151
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Compartir enlace",
|
|
152
153
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Disponible públicamente para que cualquier persona pueda verlo y descargarlo. Cualquier usuario que haya iniciado sesión con el enlace puede editarlo.",
|
package/dist/i18n/es-ES.js
CHANGED
|
@@ -147,6 +147,7 @@ export default {
|
|
|
147
147
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.folderAccessLevelItem": "carpeta",
|
|
148
148
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Accesible públicamente y sin necesidad de iniciar sesión",
|
|
149
149
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Personas con el enlace",
|
|
150
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "indicación",
|
|
150
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "No tiene permiso para eliminar el enlace",
|
|
151
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Compartir enlace",
|
|
152
153
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Disponible públicamente para que cualquier persona pueda verlo y descargarlo. Cualquier usuario que haya iniciado sesión con el enlace puede editarlo.",
|
package/dist/i18n/fi-FI.js
CHANGED
|
@@ -150,6 +150,7 @@ export default {
|
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "keskus",
|
|
151
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Julkisesti käytettävissä, ei edellytä kirjautumista",
|
|
152
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Käyttäjät, joilla on linkki",
|
|
153
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "kehote",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Sinulla ei ole oikeutta poistaa linkkiä",
|
|
154
155
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Jakolinkki",
|
|
155
156
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Julkisesti kaikkien tarkasteltavissa ja ladattavissa. Kaikki kirjautuneet käyttäjät, joilla on linkki, voivat muokata.",
|
package/dist/i18n/fr-CA.js
CHANGED
|
@@ -148,6 +148,7 @@ export default {
|
|
|
148
148
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.folderAccessLevelItem": "dossier",
|
|
149
149
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Accessible publiquement, aucune connexion n'est requise",
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Utilisateurs disposant du lien",
|
|
151
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "invite",
|
|
151
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Vous ne disposez pas de l'autorisation nécessaire pour supprimer le lien",
|
|
152
153
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Lien de partage",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Accessible au public pour consultation et téléchargement. Tout utilisateur connecté disposant du lien peut apporter des modifications.",
|
package/dist/i18n/fr-FR.js
CHANGED
|
@@ -148,6 +148,7 @@ export default {
|
|
|
148
148
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.folderAccessLevelItem": "dossier",
|
|
149
149
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Accessible publiquement, aucune connexion n'est requise",
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Utilisateurs disposant du lien",
|
|
151
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "invite",
|
|
151
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Vous ne disposez pas de l'autorisation nécessaire pour supprimer le lien",
|
|
152
153
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Lien de partage",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Accessible au public pour consultation et téléchargement. Tout utilisateur connecté disposant du lien peut apporter des modifications.",
|
package/dist/i18n/hi-IN.js
CHANGED
|
@@ -150,6 +150,7 @@ export default {
|
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "हब",
|
|
151
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "सार्वजनिक रूप से एक्सेस करने योग्य और साइन-इन करना आवश्यक नहीं है",
|
|
152
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "लिंक वाले लोग",
|
|
153
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "प्रॉम्प्ट",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "आपके पास लिंक हटाने की अनुमति नहीं है",
|
|
154
155
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "लिंक शेयर करें",
|
|
155
156
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "किसी भी व्यक्ति के द्वारा देखने और डाउनलोड करने के लिए सार्वजनिक रूप से उपलब्ध। लिंक से लैस लॉग्ड इन उपयोगकर्ता, संपादित कर सकते हैं।",
|
package/dist/i18n/ja-JP.js
CHANGED
|
@@ -53,12 +53,12 @@ export default {
|
|
|
53
53
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationPreviousMonthAriaLabel": "前月に切り替え",
|
|
54
54
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationToggleText": "リンクの有効期限",
|
|
55
55
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.loadingLabel": "読み込み中",
|
|
56
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpAllowlistCountBadge": "
|
|
56
|
+
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpAllowlistCountBadge": "他{count,plural,one{#項目} other{#項目}}",
|
|
57
57
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpAllowlistedLabel": "許可リストに登録済み",
|
|
58
58
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpConfigureButton": "構成",
|
|
59
59
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpModeAllowlistLabel": "リンクの許可リストに追加されたユーザーのみ",
|
|
60
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpModeOpenLabel": "
|
|
61
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpModeSelectorLegend": "
|
|
60
|
+
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpModeOpenLabel": "メールアドレスを使用しているすべてのユーザー",
|
|
61
|
+
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpModeSelectorLegend": "認証後に以下へのアクセスを許可:",
|
|
62
62
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpRecommendedBadge": "推奨",
|
|
63
63
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.otpToggleText": "ワンタイムパスコードによる保護",
|
|
64
64
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.passwordInputPlaceholder": "パスワードを入力",
|
package/dist/i18n/ko-KR.js
CHANGED
|
@@ -150,6 +150,7 @@ export default {
|
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "허브",
|
|
151
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "일반적으로 접근 가능한 정보로, 로그인이 필요하지 않습니다",
|
|
152
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "링크를 알려 줄 대상",
|
|
153
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "프롬프트",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "링크를 제거할 수 있는 권한이 없습니다",
|
|
154
155
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "링크 공유",
|
|
155
156
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "누구나 보고 다운로드할 수 있도록 공개됩니다. 링크가 있는 모든 로그인 사용자가 편집할 수 있습니다.",
|
package/dist/i18n/nb-NO.js
CHANGED
|
@@ -149,6 +149,7 @@ export default {
|
|
|
149
149
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "portal",
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Tilgangen er offentlig. Ingen pålogging kreves",
|
|
151
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Personer med koblingen",
|
|
152
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "ledetekst",
|
|
152
153
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Du har ikke tillatelse til å fjerne koblingen",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Delingskobling",
|
|
154
155
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Offentlig tilgjengelig for alle å vise og laste ned. Alle påloggede brukere med koblingen kan Rediger.",
|
package/dist/i18n/pl-PL.js
CHANGED
|
@@ -150,6 +150,7 @@ export default {
|
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "hubu",
|
|
151
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Zawartość dostępna publicznie, nie wymaga zalogowania",
|
|
152
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Osoby dysponujące łączem",
|
|
153
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "powiadomienie",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Nie masz uprawnień do usunięcia łącza",
|
|
154
155
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Łącze udostępnione",
|
|
155
156
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Publicznie dostępna do wyświetlenia i pobrania przez wszystkich. Wszyscy zalogowani użytkownicy z łączem mogą edytować.",
|
package/dist/i18n/pt-BR.js
CHANGED
|
@@ -148,6 +148,7 @@ export default {
|
|
|
148
148
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.folderAccessLevelItem": "pasta",
|
|
149
149
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Publicamente acessível, e não é obrigatório fazer login",
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Pessoas com o link",
|
|
151
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "solicitação",
|
|
151
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Você não tem permissão para remover o link",
|
|
152
153
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Compartilhar Link",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Publicamente disponível para que qualquer pessoa visualize e baixe. Quaisquer usuários logados com o link podem editar.",
|
package/dist/i18n/ru-RU.js
CHANGED
|
@@ -150,6 +150,7 @@ export default {
|
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "хаб",
|
|
151
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Доступно всем пользователям, вход в систему не требуется",
|
|
152
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Пользователи со ссылкой",
|
|
153
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "запрос",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "У вас нет прав на удаление ссылки",
|
|
154
155
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Общая ссылка",
|
|
155
156
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Доступно для просмотра и скачивания всем пользователям. Любой вошедший в систему пользователь со ссылкой может вносить изменения.",
|
package/dist/i18n/tr-TR.js
CHANGED
|
@@ -149,6 +149,7 @@ export default {
|
|
|
149
149
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.folderAccessLevelItem": "klasör",
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "Herkes erişebilir ve oturum açmak gerekmez",
|
|
151
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "Bağlantıya sahip herkes",
|
|
152
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "komut istemi",
|
|
152
153
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "Bağlantıyı kaldırma izniniz yok",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "Paylaşım Bağlantısı",
|
|
154
155
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "Herkes tarafından görüntülenmeye açık ve indirilebilir bir dosya. Bağlantıya sahip olan, oturum açmış tüm kullanıcılar dosyayı düzenleyebilir.",
|
package/dist/i18n/zh-CN.js
CHANGED
|
@@ -150,6 +150,7 @@ export default {
|
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "Hub",
|
|
151
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "可公开访问;无需登录",
|
|
152
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "拥有链接的人员",
|
|
153
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "提示",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "您无权删除链接",
|
|
154
155
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "分享链接",
|
|
155
156
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "已公开,可供任何人查看和下载。拥有该链接的任何已登录用户均可进行编辑。",
|
package/dist/i18n/zh-TW.js
CHANGED
|
@@ -150,6 +150,7 @@ export default {
|
|
|
150
150
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "中樞",
|
|
151
151
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "公開供人員存取,不需要登入",
|
|
152
152
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "擁有連結的人員",
|
|
153
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.promptAccessLevelItem": "提示",
|
|
153
154
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "您沒有移除連結的權限",
|
|
154
155
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "共用連結",
|
|
155
156
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEditablePubliclyAvailable": "公開提供,任何人都可以檢視和下載。任何擁有連結的登入使用者都可以編輯。",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_w04ru_27{gap:var(--bp-space-040);flex-direction:column;display:flex}._label_w04ru_33{font-weight:var(--bp-font-weight-bold);font-size:var(--bp-font-size-05);font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;font-style:normal;line-height:var(--bp-font-line-height-04);letter-spacing:var(--bp-font-letter-spacing-01)}:where(body.is-inter-font) ._label_w04ru_33{letter-spacing:.00625rem;text-transform:none;font-family:Inter Variable,-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:.875rem;font-style:normal;font-weight:600;line-height:1.375rem;text-decoration:none}._label_w04ru_33{padding:var(--bp-space-010) 0;color:var(--text-text-on-light);overflow-wrap:break-word;margin-block-end:var(--space-2);display:block}._security_w04ru_60{margin-top:calc(var(--bp-space-010) * -1)}._disclosures_w04ru_64{gap:var(--bp-space-010);flex-direction:column;display:flex}._icon_w04ru_70{height:var(--bp-size-050);margin-right:var(--bp-space-010);vertical-align:text-bottom}._access_w04ru_76{gap:var(--bp-space-010);margin-top:var(--bp-space-030);flex-wrap:wrap;display:flex}
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/unified-share-modal",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@box/blueprint-web": "^16.19.
|
|
7
|
-
"@box/blueprint-web-assets": "^5.7.
|
|
8
|
-
"@box/copy-input": "^2.2.
|
|
9
|
-
"@box/user-selector": "^2.2.
|
|
6
|
+
"@box/blueprint-web": "^16.19.2",
|
|
7
|
+
"@box/blueprint-web-assets": "^5.7.6",
|
|
8
|
+
"@box/copy-input": "^2.2.15",
|
|
9
|
+
"@box/user-selector": "^2.2.15",
|
|
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": "^16.19.
|
|
17
|
-
"@box/blueprint-web-assets": "^5.7.
|
|
18
|
-
"@box/copy-input": "^2.2.
|
|
16
|
+
"@box/blueprint-web": "^16.19.2",
|
|
17
|
+
"@box/blueprint-web-assets": "^5.7.6",
|
|
18
|
+
"@box/copy-input": "^2.2.15",
|
|
19
19
|
"@box/eslint-plugin-blueprint": "2.2.3",
|
|
20
|
-
"@box/storybook-utils": "1.2.
|
|
20
|
+
"@box/storybook-utils": "1.2.15",
|
|
21
21
|
"react-intl": "^6.4.2"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|