@box/unified-share-modal 0.46.1 → 0.47.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/components/shared-link-settings-modal/shared-link-settings-modal.js +7 -7
- package/dist/esm/lib/hooks/use-collaboration-form.js +43 -44
- package/dist/esm/lib/hooks/use-form-validation.js +5 -5
- package/dist/esm/lib/hooks/use-link-settings-form.js +27 -27
- package/dist/esm/lib/utils/index.js +8 -8
- package/dist/esm/lib/utils/validation.js +7 -7
- package/dist/i18n/bn-IN.js +15 -61
- package/dist/i18n/bn-IN.properties +24 -96
- package/dist/i18n/da-DK.js +15 -61
- package/dist/i18n/da-DK.properties +24 -96
- package/dist/i18n/de-DE.js +15 -61
- package/dist/i18n/de-DE.properties +24 -96
- package/dist/i18n/en-AU.js +3 -49
- package/dist/i18n/en-AU.properties +22 -94
- package/dist/i18n/en-CA.js +2 -48
- package/dist/i18n/en-CA.properties +21 -93
- package/dist/i18n/en-GB.js +3 -49
- package/dist/i18n/en-GB.properties +22 -94
- package/dist/i18n/en-x-pseudo.js +109 -155
- package/dist/i18n/en-x-pseudo.properties +119 -191
- package/dist/i18n/es-419.js +14 -60
- package/dist/i18n/es-419.properties +24 -96
- package/dist/i18n/es-ES.js +14 -60
- package/dist/i18n/es-ES.properties +24 -96
- package/dist/i18n/fi-FI.js +15 -61
- package/dist/i18n/fi-FI.properties +24 -96
- package/dist/i18n/fr-CA.js +14 -60
- package/dist/i18n/fr-CA.properties +24 -96
- package/dist/i18n/fr-FR.js +14 -60
- package/dist/i18n/fr-FR.properties +24 -96
- package/dist/i18n/hi-IN.js +15 -61
- package/dist/i18n/hi-IN.properties +24 -96
- package/dist/i18n/it-IT.js +13 -59
- package/dist/i18n/it-IT.properties +24 -96
- package/dist/i18n/ja-JP.js +17 -63
- package/dist/i18n/ja-JP.properties +26 -98
- package/dist/i18n/ko-KR.js +15 -61
- package/dist/i18n/ko-KR.properties +24 -96
- package/dist/i18n/nb-NO.js +15 -61
- package/dist/i18n/nb-NO.properties +24 -96
- package/dist/i18n/nl-NL.js +14 -60
- package/dist/i18n/nl-NL.properties +24 -96
- package/dist/i18n/pl-PL.js +15 -61
- package/dist/i18n/pl-PL.properties +24 -96
- package/dist/i18n/pt-BR.js +14 -60
- package/dist/i18n/pt-BR.properties +24 -96
- package/dist/i18n/ru-RU.js +15 -61
- package/dist/i18n/ru-RU.properties +24 -96
- package/dist/i18n/sv-SE.js +15 -61
- package/dist/i18n/sv-SE.properties +24 -96
- package/dist/i18n/tr-TR.js +14 -60
- package/dist/i18n/tr-TR.properties +24 -96
- package/dist/i18n/zh-CN.js +15 -61
- package/dist/i18n/zh-CN.properties +24 -96
- package/dist/i18n/zh-TW.js +15 -61
- package/dist/i18n/zh-TW.properties +24 -96
- package/dist/types/lib/stories/shared.d.ts +2 -2
- package/dist/types/lib/types.d.ts +2 -2
- package/dist/types/lib/utils/validation.d.ts +2 -2
- package/package.json +3 -3
|
@@ -23,22 +23,22 @@ function ua({
|
|
|
23
23
|
sharedLink: f
|
|
24
24
|
} = ia(), {
|
|
25
25
|
expiresAt: v,
|
|
26
|
-
|
|
26
|
+
settings: i = {},
|
|
27
27
|
vanityDomain: A,
|
|
28
|
-
vanityName:
|
|
28
|
+
vanityName: g
|
|
29
29
|
} = f, {
|
|
30
30
|
onSharedLinkSettingsClose: w
|
|
31
31
|
} = N, {
|
|
32
|
-
selectedAccess:
|
|
32
|
+
selectedAccess: m
|
|
33
33
|
} = Z(), b = v ? aa(v) : void 0, p = G(() => ({
|
|
34
34
|
expiration: b,
|
|
35
35
|
isDownloadEnabled: !!i.isDownloadEnabled,
|
|
36
36
|
isExpirationEnabled: !!b,
|
|
37
37
|
isPasswordEnabled: !!i.isPasswordEnabled,
|
|
38
|
-
isVanityEnabled: !!
|
|
38
|
+
isVanityEnabled: !!g,
|
|
39
39
|
password: "",
|
|
40
|
-
vanityName:
|
|
41
|
-
}), [b, i,
|
|
40
|
+
vanityName: g || ""
|
|
41
|
+
}), [b, i, g]), {
|
|
42
42
|
errors: u,
|
|
43
43
|
formData: t,
|
|
44
44
|
handleFormReset: y,
|
|
@@ -114,7 +114,7 @@ function ua({
|
|
|
114
114
|
previousMonthAriaLabel: a(e.linkExpirationPreviousMonthAriaLabel),
|
|
115
115
|
value: t.expiration
|
|
116
116
|
})
|
|
117
|
-
}), i.isPasswordAvailable && (
|
|
117
|
+
}), i.isPasswordAvailable && (m == null ? void 0 : m.id) === "open" && /* @__PURE__ */ n(c.Item, {
|
|
118
118
|
checked: t.isPasswordEnabled,
|
|
119
119
|
disabled: !i.canChangePassword,
|
|
120
120
|
label: a(e.passwordToggleText),
|
|
@@ -1,70 +1,69 @@
|
|
|
1
|
-
import { useCallback as
|
|
2
|
-
import { useFormValidation as
|
|
3
|
-
import { useSharingAction as
|
|
4
|
-
import { useUnifiedShareFormContext as
|
|
5
|
-
import { useUnifiedShareModalContext as
|
|
6
|
-
const
|
|
1
|
+
import { useCallback as s } from "react";
|
|
2
|
+
import { useFormValidation as V } from "./use-form-validation.js";
|
|
3
|
+
import { useSharingAction as w } from "./use-sharing-action.js";
|
|
4
|
+
import { useUnifiedShareFormContext as B } from "../contexts/unified-share-form-context.js";
|
|
5
|
+
import { useUnifiedShareModalContext as E } from "../contexts/unified-share-modal-context.js";
|
|
6
|
+
const q = (v, F) => {
|
|
7
7
|
const {
|
|
8
|
-
errors:
|
|
8
|
+
errors: f,
|
|
9
9
|
setFieldError: o,
|
|
10
|
-
validateUserContact:
|
|
11
|
-
validateUserSelector:
|
|
12
|
-
} =
|
|
13
|
-
contactService:
|
|
14
|
-
} = A(), {
|
|
15
|
-
setContactValue: m,
|
|
16
|
-
setMessageValue: F,
|
|
17
|
-
setUserContacts: r,
|
|
18
|
-
userContacts: a
|
|
10
|
+
validateUserContact: C,
|
|
11
|
+
validateUserSelector: i
|
|
12
|
+
} = V(), {
|
|
13
|
+
contactService: g
|
|
19
14
|
} = E(), {
|
|
15
|
+
setContactValue: l,
|
|
16
|
+
setMessageValue: h,
|
|
17
|
+
setUserContacts: a,
|
|
18
|
+
userContacts: n
|
|
19
|
+
} = B(), {
|
|
20
20
|
isLoading: b,
|
|
21
21
|
onAction: U
|
|
22
|
-
} =
|
|
23
|
-
getContactByEmail:
|
|
24
|
-
} =
|
|
25
|
-
|
|
26
|
-
}, x =
|
|
27
|
-
o("user-contact", ""),
|
|
28
|
-
}, [
|
|
29
|
-
var l, S;
|
|
30
|
-
const e = (l = document.querySelector('div[role="listbox"][aria-labelledby^="user-contacts"]')) == null ? void 0 : l.contains(t.relatedTarget), c = (S = t.relatedTarget) == null ? void 0 : S.closest(".collaboration-user-selector");
|
|
31
|
-
if (e || c)
|
|
32
|
-
return;
|
|
33
|
-
const s = t.target.value;
|
|
34
|
-
n(s);
|
|
35
|
-
}, [n]), C = i(async (t) => {
|
|
22
|
+
} = w(v, F), {
|
|
23
|
+
getContactByEmail: u
|
|
24
|
+
} = g, S = () => {
|
|
25
|
+
a([]), l(""), h(""), o("user-contact", "");
|
|
26
|
+
}, x = s((t) => {
|
|
27
|
+
o("user-contact", ""), l(t);
|
|
28
|
+
}, [l, o]), p = s(async (t) => {
|
|
36
29
|
if (t.id)
|
|
37
30
|
return t;
|
|
38
|
-
if (
|
|
39
|
-
const e = await
|
|
31
|
+
if (u) {
|
|
32
|
+
const e = await u(t.value);
|
|
40
33
|
if (e && e.id)
|
|
41
34
|
return e;
|
|
42
35
|
}
|
|
43
|
-
return
|
|
36
|
+
return C(t.value) ? null : {
|
|
44
37
|
email: t.value,
|
|
45
38
|
id: 0,
|
|
46
39
|
isExternalUser: !0,
|
|
47
40
|
name: t.value,
|
|
48
41
|
value: t.value
|
|
49
42
|
};
|
|
50
|
-
}, [
|
|
51
|
-
if (o("user-contact", ""),
|
|
52
|
-
|
|
43
|
+
}, [u, C]), m = s(async (t) => {
|
|
44
|
+
if (o("user-contact", ""), i(t), n.length >= t.length) {
|
|
45
|
+
a(t);
|
|
53
46
|
return;
|
|
54
47
|
}
|
|
55
|
-
const [e, ...
|
|
56
|
-
|
|
57
|
-
}, [
|
|
48
|
+
const [e, ...d] = [...t].reverse(), r = await p(e), c = r ? [...d, r] : d;
|
|
49
|
+
a(c.filter(Boolean));
|
|
50
|
+
}, [p, o, a, i, n]), y = s((t) => {
|
|
51
|
+
var r, c;
|
|
52
|
+
const e = (r = t.relatedTarget) == null ? void 0 : r.closest(".collaboration-user-selector");
|
|
53
|
+
(c = document.querySelector('div[role="listbox"][aria-labelledby^="user-contacts"]')) != null && c.contains(t.relatedTarget) || e || m([...n, {
|
|
54
|
+
value: t.target.value
|
|
55
|
+
}]);
|
|
56
|
+
}, [m, n]);
|
|
58
57
|
return {
|
|
59
|
-
errors:
|
|
60
|
-
handleFormReset:
|
|
61
|
-
handleFormSubmit: async () =>
|
|
62
|
-
handleSelectedUsersChange:
|
|
58
|
+
errors: f,
|
|
59
|
+
handleFormReset: S,
|
|
60
|
+
handleFormSubmit: async () => f["user-contact"] || i(n) ? !0 : (await U({}), S(), !1),
|
|
61
|
+
handleSelectedUsersChange: m,
|
|
63
62
|
handleUserSelectorBlur: y,
|
|
64
63
|
isFormSubmitting: b,
|
|
65
64
|
updateContactValue: x
|
|
66
65
|
};
|
|
67
66
|
};
|
|
68
67
|
export {
|
|
69
|
-
|
|
68
|
+
q as useCollaborationForm
|
|
70
69
|
};
|
|
@@ -2,12 +2,12 @@ import { useState as g, useCallback as o } from "react";
|
|
|
2
2
|
import { useIntl as v } from "react-intl";
|
|
3
3
|
import a from "../messages.js";
|
|
4
4
|
import { formatTomorrowDateToCalendarDate as p } from "../utils/date.js";
|
|
5
|
-
import { isVanityNameValid as w, isEmailValid as y, doesPasswordContainMinCharacters as N, doesPasswordContainInvalidCharacter as P,
|
|
5
|
+
import { isVanityNameValid as w, isEmailValid as y, doesPasswordContainMinCharacters as N, doesPasswordContainInvalidCharacter as P, doesPasswordContainMixedCase as x, doesPasswordContainLetter as i, doesPasswordContainNumber as u, doesPasswordContainSymbol as d } from "../utils/validation.js";
|
|
6
6
|
const R = () => {
|
|
7
7
|
const {
|
|
8
8
|
formatMessage: t
|
|
9
|
-
} = v(), [l,
|
|
10
|
-
|
|
9
|
+
} = v(), [l, n] = g({}), e = o((r, s) => {
|
|
10
|
+
n((M) => ({
|
|
11
11
|
...M,
|
|
12
12
|
[r]: s
|
|
13
13
|
}));
|
|
@@ -16,7 +16,7 @@ const R = () => {
|
|
|
16
16
|
return e("expiration", t(a.expirationRequiredErrorMessage)), !0;
|
|
17
17
|
const s = p();
|
|
18
18
|
return r.compare(s) < 0 ? (e("expiration", t(a.expirationFutureDateRequiredErrorMessage)), !0) : !1;
|
|
19
|
-
}, [t, e]), c = o((r) => r ? w(r) ? !1 : (e("vanityName", t(a.vanityNameInvalidErrorMessage)), !0) : (e("vanityName", t(a.vanityNameRequiredErrorMessage)), !0), [t, e]), f = o((r) => r.length ? !1 : (e("user-contact", t(a.emailRequiredErrorMessage)), !0), [t, e]), C = o((r) => y(r) ? !1 : (e("user-contact", t(a.invalidEmailErrorMessage)), !0), [t, e]), E = o((r) => N(r) ? P(r) ? (e("password", t(a.passwordContainInvalidCharacterErrorMessage)), !0) : !x(r) && !(
|
|
19
|
+
}, [t, e]), c = o((r) => r ? w(r) ? !1 : (e("vanityName", t(a.vanityNameInvalidErrorMessage)), !0) : (e("vanityName", t(a.vanityNameRequiredErrorMessage)), !0), [t, e]), f = o((r) => r.length ? !1 : (e("user-contact", t(a.emailRequiredErrorMessage)), !0), [t, e]), C = o((r) => y(r) ? !1 : (e("user-contact", t(a.invalidEmailErrorMessage)), !0), [t, e]), E = o((r) => N(r) ? P(r) ? (e("password", t(a.passwordContainInvalidCharacterErrorMessage)), !0) : !x(r) && !(i(r) && u(r)) && !(i(r) && d(r)) && !(u(r) && d(r)) ? (e("password", t(a.passwordContainLetterNumberOrSymbolErrorMessage)), !0) : !1 : (e("password", t(a.passwordContainMinCharactersErrorMessage)), !0), [t, e]);
|
|
20
20
|
return {
|
|
21
21
|
errors: l,
|
|
22
22
|
validateExpiration: m,
|
|
@@ -24,7 +24,7 @@ const R = () => {
|
|
|
24
24
|
validateVanityName: c,
|
|
25
25
|
validateUserContact: C,
|
|
26
26
|
validateUserSelector: f,
|
|
27
|
-
setErrors:
|
|
27
|
+
setErrors: n,
|
|
28
28
|
setFieldError: e
|
|
29
29
|
};
|
|
30
30
|
};
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { useState as
|
|
2
|
-
import { useFormValidation as
|
|
3
|
-
import { useSharingAction as
|
|
4
|
-
import { getSharedLinkFormValidation as
|
|
5
|
-
import { useUnifiedShareModalContext as
|
|
6
|
-
const
|
|
7
|
-
const [o, a] =
|
|
1
|
+
import { useState as N, useCallback as d } from "react";
|
|
2
|
+
import { useFormValidation as b } from "./use-form-validation.js";
|
|
3
|
+
import { useSharingAction as P } from "./use-sharing-action.js";
|
|
4
|
+
import { getSharedLinkFormValidation as U } from "../utils/validation.js";
|
|
5
|
+
import { useUnifiedShareModalContext as A } from "../contexts/unified-share-modal-context.js";
|
|
6
|
+
const q = (t) => {
|
|
7
|
+
const [o, a] = N(t), {
|
|
8
8
|
errors: l,
|
|
9
9
|
setErrors: c,
|
|
10
10
|
setFieldError: s,
|
|
11
11
|
validateExpiration: u,
|
|
12
12
|
validatePassword: n,
|
|
13
13
|
validateVanityName: m
|
|
14
|
-
} =
|
|
15
|
-
sharedLink:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} = U(), {
|
|
20
|
-
updateSharedLink: E
|
|
14
|
+
} = b(), {
|
|
15
|
+
sharedLink: f,
|
|
16
|
+
sharingService: E
|
|
17
|
+
} = A(), {
|
|
18
|
+
settings: p
|
|
21
19
|
} = f, {
|
|
22
|
-
|
|
20
|
+
updateSharedLink: S
|
|
21
|
+
} = E, {
|
|
22
|
+
isLoading: g,
|
|
23
23
|
onAction: h
|
|
24
|
-
} =
|
|
24
|
+
} = P(S, "update-shared-link"), V = d((r, e) => {
|
|
25
25
|
a((i) => ({
|
|
26
26
|
...i,
|
|
27
27
|
[r]: e
|
|
28
28
|
}));
|
|
29
|
-
}, []),
|
|
29
|
+
}, []), k = d(() => {
|
|
30
30
|
a(t), c({});
|
|
31
|
-
}, [t, c, a]),
|
|
31
|
+
}, [t, c, a]), x = d(async () => {
|
|
32
32
|
const {
|
|
33
33
|
updatedFormData: r,
|
|
34
34
|
shouldValidate: e
|
|
35
|
-
} =
|
|
36
|
-
if (i ||
|
|
35
|
+
} = U(p, o, t), i = e.expiration && u(r.updatedExpiration), y = e.password && n(r.updatedPassword), v = e.vanityName && m(r.updatedVanityName);
|
|
36
|
+
if (i || y || v)
|
|
37
37
|
return !0;
|
|
38
38
|
try {
|
|
39
39
|
await h(r);
|
|
40
|
-
} catch (
|
|
41
|
-
return Object.entries(
|
|
40
|
+
} catch (w) {
|
|
41
|
+
return Object.entries(w).forEach(([F, L]) => s(F, L)), !0;
|
|
42
42
|
}
|
|
43
43
|
return !1;
|
|
44
|
-
}, [o, t,
|
|
44
|
+
}, [o, t, h, s, p, u, n, m]);
|
|
45
45
|
return {
|
|
46
46
|
errors: l,
|
|
47
47
|
formData: o,
|
|
48
|
-
handleFormReset:
|
|
49
|
-
handleFormSubmit:
|
|
50
|
-
isUpdating:
|
|
48
|
+
handleFormReset: k,
|
|
49
|
+
handleFormSubmit: x,
|
|
50
|
+
isUpdating: g,
|
|
51
51
|
setFieldError: s,
|
|
52
52
|
setFieldValue: V,
|
|
53
53
|
validatePassword: n
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
export {
|
|
57
|
-
|
|
57
|
+
q as useLinkSettingsForm
|
|
58
58
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { getAvatarBadgeSize as e, getDefaultCollaborationRole as t, getFirstInitial as r, isCollaboratorRoleSupported as i, isInvitationRoleSupported as s } from "./collaborator.js";
|
|
2
|
-
import { formatDateFromTimestampToCalendarDate as
|
|
2
|
+
import { formatDateFromTimestampToCalendarDate as d, formatDateFromTimestampToDateString as l, formatTomorrowDateToCalendarDate as m } from "./date.js";
|
|
3
3
|
import { callOnKeyboardEvent as p } from "./event.js";
|
|
4
4
|
import { getAllowedAccessLevels as w } from "./permission.js";
|
|
5
|
-
import { doesPasswordContainInvalidCharacter as D, doesPasswordContainLetter as x, doesPasswordContainMinCharacters as P,
|
|
5
|
+
import { doesPasswordContainInvalidCharacter as D, doesPasswordContainLetter as x, doesPasswordContainMinCharacters as P, doesPasswordContainMixedCase as S, doesPasswordContainNumber as T, doesPasswordContainSymbol as b, getSharedLinkFormValidation as c, isEmailValid as v, isVanityNameValid as u } from "./validation.js";
|
|
6
6
|
export {
|
|
7
7
|
p as callOnKeyboardEvent,
|
|
8
8
|
D as doesPasswordContainInvalidCharacter,
|
|
9
9
|
x as doesPasswordContainLetter,
|
|
10
10
|
P as doesPasswordContainMinCharacters,
|
|
11
|
-
S as
|
|
12
|
-
T as
|
|
13
|
-
|
|
11
|
+
S as doesPasswordContainMixedCase,
|
|
12
|
+
T as doesPasswordContainNumber,
|
|
13
|
+
b as doesPasswordContainSymbol,
|
|
14
|
+
d as formatDateFromTimestampToCalendarDate,
|
|
14
15
|
l as formatDateFromTimestampToDateString,
|
|
15
16
|
m as formatTomorrowDateToCalendarDate,
|
|
16
17
|
w as getAllowedAccessLevels,
|
|
17
18
|
e as getAvatarBadgeSize,
|
|
18
19
|
t as getDefaultCollaborationRole,
|
|
19
20
|
r as getFirstInitial,
|
|
20
|
-
|
|
21
|
+
c as getSharedLinkFormValidation,
|
|
21
22
|
i as isCollaboratorRoleSupported,
|
|
22
|
-
|
|
23
|
+
v as isEmailValid,
|
|
23
24
|
s as isInvitationRoleSupported,
|
|
24
|
-
v as isPasswordMixedCase,
|
|
25
25
|
u as isVanityNameValid
|
|
26
26
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const m = /^[a-zA-Z0-9-]{12,30}$/, A = /^[A-Z0-9._'%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i, P = (a) => m.test(a), f = (a) => a.length === 0 ? !0 : A.test(a), v = (a) => a.length >= 8, N = (a) => a.replace(/\D/g, "").length >= 1, V = (a) => a.replace(/\s/g, "").replace(/\w/g, "").length >= 1, y = (a) => /[a-zA-Z]/.test(a), x = (a) => /[a-z]/.test(a) && /[A-Z]/.test(a), D = (a) => /[\s<>]/.test(a), Z = (a, d, r) => {
|
|
2
2
|
const {
|
|
3
3
|
expiration: l,
|
|
4
4
|
isDownloadEnabled: u,
|
|
@@ -11,10 +11,10 @@ const A = /^[a-zA-Z0-9-]{12,30}$/, C = /^[A-Z0-9._'%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$
|
|
|
11
11
|
canChangeDownload: p,
|
|
12
12
|
canChangeExpiration: w,
|
|
13
13
|
canChangeVanityName: E,
|
|
14
|
-
canChangePassword:
|
|
15
|
-
isDownloadAvailable:
|
|
16
|
-
isPasswordAvailable:
|
|
17
|
-
isVanityNameAvailable:
|
|
14
|
+
canChangePassword: C,
|
|
15
|
+
isDownloadAvailable: b,
|
|
16
|
+
isPasswordAvailable: g,
|
|
17
|
+
isVanityNameAvailable: h
|
|
18
18
|
} = a, e = {
|
|
19
19
|
updatedExpiration: n ? l : 0,
|
|
20
20
|
updatedPassword: s ? i : "",
|
|
@@ -25,7 +25,7 @@ const A = /^[a-zA-Z0-9-]{12,30}$/, C = /^[A-Z0-9._'%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$
|
|
|
25
25
|
password: !1,
|
|
26
26
|
vanityName: !1
|
|
27
27
|
};
|
|
28
|
-
return w ? n && (t.expiration = !0) : e.updatedExpiration = void 0, !
|
|
28
|
+
return w ? n && (t.expiration = !0) : e.updatedExpiration = void 0, !g || !C || r.isPasswordEnabled && !i ? e.updatedPassword = void 0 : s && (t.password = !0), !h || !E ? e.updatedVanityName = void 0 : o && (t.vanityName = !0), (!b || !p) && (e.updatedIsDownloadEnabled = void 0), {
|
|
29
29
|
updatedFormData: e,
|
|
30
30
|
shouldValidate: t
|
|
31
31
|
};
|
|
@@ -34,10 +34,10 @@ export {
|
|
|
34
34
|
D as doesPasswordContainInvalidCharacter,
|
|
35
35
|
y as doesPasswordContainLetter,
|
|
36
36
|
v as doesPasswordContainMinCharacters,
|
|
37
|
+
x as doesPasswordContainMixedCase,
|
|
37
38
|
N as doesPasswordContainNumber,
|
|
38
39
|
V as doesPasswordContainSymbol,
|
|
39
40
|
Z as getSharedLinkFormValidation,
|
|
40
41
|
f as isEmailValid,
|
|
41
|
-
x as isPasswordMixedCase,
|
|
42
42
|
P as isVanityNameValid
|
|
43
43
|
};
|
package/dist/i18n/bn-IN.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText": "
|
|
2
|
+
"groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText": "একটি শেয়ার করা লিঙ্ক তৈরি করা যায়নি। পরে আবার চেষ্টা করুন।",
|
|
3
3
|
"groupSharedFeatures.usm.createSharedLinkErrorNoticeText": "একটি শেয়ার করা লিঙ্ক তৈরি করা যায়নি। অনুগ্রহ করে পরে আবার চেষ্টা করুন.",
|
|
4
|
-
"groupSharedFeatures.usm.createSharedLinkSuccessNoticeText": "
|
|
5
|
-
"groupSharedFeatures.usm.defaultErrorNoticeText": "
|
|
4
|
+
"groupSharedFeatures.usm.createSharedLinkSuccessNoticeText": "শেয়ারকৃত লিঙ্ক তৈরি হয়েছে।",
|
|
5
|
+
"groupSharedFeatures.usm.defaultErrorNoticeText": "কিছু সমস্যা হয়েছে। পরে আবার চেষ্টা করুন।",
|
|
6
6
|
"groupSharedFeatures.usm.deleteSharedLinkErrorNoticeText": "শেয়ার করা লিঙ্ক অপসারণ করা যায়নি। অনুগ্রহ করে পরে আবার চেষ্টা করুন.",
|
|
7
7
|
"groupSharedFeatures.usm.deleteSharedLinkSuccessNoticeText": "“{itemName}” এর শেয়ার করা লিঙ্কটি সফলভাবে অপসারণ করা হয়েছে।",
|
|
8
8
|
"groupSharedFeatures.usm.emailRequiredErrorMessage": "কমপক্ষে একটি বৈধ ইমেইল লিখুন",
|
|
9
9
|
"groupSharedFeatures.usm.errorNoticeIcon": "ত্রুটি",
|
|
10
|
-
"groupSharedFeatures.usm.expirationFutureDateRequiredErrorMessage": "
|
|
10
|
+
"groupSharedFeatures.usm.expirationFutureDateRequiredErrorMessage": "মেয়াদউত্তীর্ণ হওয়ার তারিখ অবশ্যই ভবিষ্যতে হতে হবে",
|
|
11
11
|
"groupSharedFeatures.usm.expirationRequiredErrorMessage": "অনুগ্রহ করে একটি তারিখ নির্বাচন করুন",
|
|
12
12
|
"groupSharedFeatures.usm.invalidEmailErrorMessage": "ভুল ইমেইল অ্যাড্রেস",
|
|
13
13
|
"groupSharedFeatures.usm.noticeCloseLabel": "বন্ধ করুন",
|
|
@@ -27,15 +27,15 @@ export default {
|
|
|
27
27
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.learnSharedLinkSettingsLink": "শেয়ার করা লিঙ্ক সেটিংস সম্পর্কে আরও জানুন।",
|
|
28
28
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationCalendarAriaLabel": "আপনার শেয়ার করা লিঙ্কের মেয়াদউত্তীর্ণের তারিখ নির্বাচন করুন",
|
|
29
29
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationClearDatePickerAriaLabel": "তারিখ বেছে নেওয়া পরিষ্কার করুন",
|
|
30
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationDatePickerLabel": "
|
|
30
|
+
"groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationDatePickerLabel": "মেয়াদউত্তীর্ণের তারিখ",
|
|
31
31
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationNextMonthAriaLabel": "পরবর্তী মাসে যান",
|
|
32
32
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationOpenCalendarDropdownAriaLabel": "ক্যালেন্ডার খুলুন",
|
|
33
33
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationPreviousMonthAriaLabel": "পূর্ববর্তী মাসে যান",
|
|
34
34
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.linkExpirationToggleText": "লিঙ্কের মেয়াদউত্তীর্ণ",
|
|
35
35
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.loadingLabel": "লোড হচ্ছে",
|
|
36
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.passwordInputPlaceholder": "
|
|
37
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.passwordToggleText": "
|
|
38
|
-
"groupSharedFeatures.usm.sharedLinkSettingsModal.passwordWarningText": "
|
|
36
|
+
"groupSharedFeatures.usm.sharedLinkSettingsModal.passwordInputPlaceholder": "একটি পাসওয়ার্ড লিখুন",
|
|
37
|
+
"groupSharedFeatures.usm.sharedLinkSettingsModal.passwordToggleText": "পাসওয়ার্ড সুরক্ষা",
|
|
38
|
+
"groupSharedFeatures.usm.sharedLinkSettingsModal.passwordWarningText": "আপনার পাসওয়ার্ডে কমপক্ষে 8টি অক্ষর থাকতে হবে এবং কমপক্ষে একটি বড় হাতের অক্ষর, সংখ্যা বা বিশেষ অক্ষর থাকতে হবে।",
|
|
39
39
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.saveButton": "সেভ করুন",
|
|
40
40
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.subtitle": "এই বিষয়বস্তুটি লিঙ্ক সহ আপনার সংস্থার যে কারোর কাছে উপলভ্য এবং দেখা বা ডাউনলোড করা যেতে পারে। {learnSharedLinkSettingsLink}",
|
|
41
41
|
"groupSharedFeatures.usm.sharedLinkSettingsModal.title": "শেয়ার করা লিঙ্ক সেটিংস",
|
|
@@ -82,9 +82,9 @@ export default {
|
|
|
82
82
|
"groupSharedFeatures.usm.unifiedShareFormModal.ownerRole": "অধিকারী",
|
|
83
83
|
"groupSharedFeatures.usm.unifiedShareFormModal.previewerRole": "প্রিভিউয়ার",
|
|
84
84
|
"groupSharedFeatures.usm.unifiedShareFormModal.previewerUploaderRole": "প্রিভিউয়ার আপলোডার",
|
|
85
|
-
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCopySuccessNoticeText": "
|
|
86
|
-
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCreateCopyErrorNoticeText": "
|
|
87
|
-
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCreateCopySuccessNoticeText": "
|
|
85
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCopySuccessNoticeText": "শেয়ারকৃত লিঙ্ক ক্লিপবোর্ডে কপি করা হয়েছে।",
|
|
86
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCreateCopyErrorNoticeText": "শেয়ারকৃত লিঙ্ক তৈরি করা হয়েছে। শেয়ার করতে কপি ক্লিক করুন।",
|
|
87
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCreateCopySuccessNoticeText": "শেয়ারকৃত লিঙ্ক তৈরি করা হয়েছে এবং ক্লিপবোর্ডে কপি করা হয়েছে।",
|
|
88
88
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.collaboratorsAccessLevelDescription": "শুধুমাত্র আমন্ত্রিত লোকজন এই {item} অ্যাক্সেস করতে পারবে",
|
|
89
89
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.collaboratorsAccessLevelLabel": "শুধুমাত্র আমন্ত্রিত লোকজন",
|
|
90
90
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.companyAccessLevelDescription": "লিঙ্ক সহ আপনার কোম্পানির যে কেউ বা এই {item} আমন্ত্রিত লোকেরা অ্যাক্সেস করতে পারবে",
|
|
@@ -94,9 +94,9 @@ export default {
|
|
|
94
94
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.enterpriseAccessLevelLabel": "{enterprise} এর লোকজন",
|
|
95
95
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.expirationIconLabel": "মেয়াদ শেষ হবে",
|
|
96
96
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.expirationIconTooltip": "{expirationDate} তারিখে এই লিঙ্ক মেয়াদউত্তীর্ণ হবে এবং অ্যাক্সেস করা যাবে না",
|
|
97
|
-
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.fileAccessLevelItem": "
|
|
98
|
-
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.folderAccessLevelItem": "
|
|
99
|
-
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "
|
|
97
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.fileAccessLevelItem": "ফাইল",
|
|
98
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.folderAccessLevelItem": "ফোল্ডার",
|
|
99
|
+
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "হাব",
|
|
100
100
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "যেকোনও কেউ অ্যাক্সেস করতে পারবে; কোনও সাইন-ইন আবশ্যক নয়",
|
|
101
101
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "লিঙ্ক সহ লোকজনেরা",
|
|
102
102
|
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "লিঙ্ক শেয়ার করুন",
|
|
@@ -111,51 +111,5 @@ export default {
|
|
|
111
111
|
"groupSharedFeatures.usm.unifiedShareFormModal.viewerUploaderRole": "ভিউয়ার আপলোডার",
|
|
112
112
|
"groupSharedFeatures.usm.updateSharedLinkSuccessNoticeText": "আপনার সেটিংস সফলভাবে সংরক্ষিত হয়েছে।",
|
|
113
113
|
"groupSharedFeatures.usm.vanityNameInvalidErrorMessage": "কাস্টম URL 12-30 অক্ষরের মধ্যে হওয়া উচিত এবং অক্ষর, সংখ্যা এবং হাইফেন অন্তর্ভুক্ত করতে পারে।",
|
|
114
|
-
"groupSharedFeatures.usm.vanityNameRequiredErrorMessage": "অনুগ্রহ করে একটি কাস্টম URL লিখুন"
|
|
115
|
-
"groupSharedFeatures.usm.autoCopyErrorNoticeText": "Shared link created. Click Copy to share.",
|
|
116
|
-
"groupSharedFeatures.usm.autoCopySuccessNoticeText": "শেয়ারকৃত লিঙ্ক তৈরী করা হয়েছে ক্লিপবোর্ডে কপি করা হয়েছে।",
|
|
117
|
-
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.accessLevelFileItem": "ফাইল",
|
|
118
|
-
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.accessLevelFolderItem": "ফোল্ডার",
|
|
119
|
-
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.accessLevelHubsItem": "হাব",
|
|
120
|
-
"groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkCopiedSuccessNoticeText": "শেয়ারকৃত লিঙ্ক তৈরী করা হয়েছে ক্লিপবোর্ডে কপি করা হয়েছে।",
|
|
121
|
-
"groupSharedFeatures.usmV1.atLeastOneEmailRequired": "কমপক্ষে একটি বৈধ ইমেইল লিখুন",
|
|
122
|
-
"groupSharedFeatures.usmV1.cancel": "বাতিল করুন",
|
|
123
|
-
"groupSharedFeatures.usmV1.close": "বন্ধ করুন",
|
|
124
|
-
"groupSharedFeatures.usmV1.downloadSettingsToggleText": "শেয়ার করা লিঙ্ক সহ ব্যবহারকারীদের এই আইটেমটি ডাউনলোড করার অনুমতি দিন",
|
|
125
|
-
"groupSharedFeatures.usmV1.emailSharedLinkButtonAriaLabel": "ইমেইল শেয়ার করা লিঙ্ক",
|
|
126
|
-
"groupSharedFeatures.usmV1.errorNoticeAriaLabel": "ত্রুটি",
|
|
127
|
-
"groupSharedFeatures.usmV1.invalidEmail": "ভুল ইমেইল অ্যাড্রেস",
|
|
128
|
-
"groupSharedFeatures.usmV1.inviteFieldLabel": "ব্যক্তিদের আমন্ত্রণ করুন",
|
|
129
|
-
"groupSharedFeatures.usmV1.invitePeoplePlaceholder": "নাম ও ইমেইল অ্যাড্রেসগুলি যোগ করুন",
|
|
130
|
-
"groupSharedFeatures.usmV1.learnSharedLinkSettingsLink": "শেয়ার করা লিঙ্ক সেটিংস সম্পর্কে আরও জানুন।",
|
|
131
|
-
"groupSharedFeatures.usmV1.linkExpirationToggleText": "লিঙ্কের মেয়াদউত্তীর্ণ",
|
|
132
|
-
"groupSharedFeatures.usmV1.linkSettingsButtonText": "লিঙ্ক সেটিংস",
|
|
133
|
-
"groupSharedFeatures.usmV1.loadingAriaLabel": "লোড হচ্ছে",
|
|
134
|
-
"groupSharedFeatures.usmV1.message": "বার্তা (ঐচ্ছিক)",
|
|
135
|
-
"groupSharedFeatures.usmV1.messageSelectorPlaceholder": "একটি বার্তা যোগ করুন",
|
|
136
|
-
"groupSharedFeatures.usmV1.modalTitle": "‘{itemName}’শেয়ার করুন",
|
|
137
|
-
"groupSharedFeatures.usmV1.noticeCloseAriaLabel": "বন্ধ করুন",
|
|
138
|
-
"groupSharedFeatures.usmV1.okay": "ঠিক আছে",
|
|
139
|
-
"groupSharedFeatures.usmV1.removeSharedLinkFailedNoticeText": "শেয়ার করা লিঙ্ক অপসারণ করা যায়নি। অনুগ্রহ করে পরে আবার চেষ্টা করুন।",
|
|
140
|
-
"groupSharedFeatures.usmV1.removeSharedLinkModalBodyText": "এটি শেয়ার করা লিঙ্কটি স্থায়ীভাবে সরিয়ে ফেলবে। এই আইটেমটি অন্যান্য সাইটে এম্বেড করা হলে এটি অ্যাক্সেসযোগ্য হবে না। যেকোনো কাস্টম প্রোপার্টি, সেটিংস এবং মেয়াদউত্তীর্ণও সরানো হবে। আপনি কি চালিয়ে যেতে চান?",
|
|
141
|
-
"groupSharedFeatures.usmV1.removeSharedLinkModalTitle": "শেয়ারকৃত লিঙ্ক অপসারণ করুন",
|
|
142
|
-
"groupSharedFeatures.usmV1.removeSharedLinkSuccessNoticeText": "“{itemName}”-এর শেয়ার করা লিঙ্কটি সফলভাবে অপসারণ করা হয়েছে।",
|
|
143
|
-
"groupSharedFeatures.usmV1.send": "পাঠান",
|
|
144
|
-
"groupSharedFeatures.usmV1.sendingInvites": "আমন্ত্রণ পাঠানো হচ্ছে",
|
|
145
|
-
"groupSharedFeatures.usmV1.shareLinkSettingsModalSubTitleText": "এই বিষয়বস্তুটি লিঙ্ক সহ আপনার সংস্থার যে কারোর কাছে উপলভ্য এবং দেখা বা ডাউনলোড করা যেতে পারে। {learnSharedLinkSettingsLink}",
|
|
146
|
-
"groupSharedFeatures.usmV1.shareLinkSettingsModalTitle": "শেয়ার করা লিঙ্ক সেটিংস",
|
|
147
|
-
"groupSharedFeatures.usmV1.sharedLinkCopiedSuccessNoticeText": "শেয়ারকৃত লিঙ্ক তৈরী করা হয়েছে ক্লিপবোর্ডে কপি করা হয়েছে।",
|
|
148
|
-
"groupSharedFeatures.usmV1.sharedLinkCopyInputLabel": "শেয়ার লিঙ্ক ক্লিপবোর্ডে কপি করুন",
|
|
149
|
-
"groupSharedFeatures.usmV1.sharedLinkCreatedSuccessNoticeText": "শেয়ার করা লিঙ্ক তৈরি করা হয়েছে",
|
|
150
|
-
"groupSharedFeatures.usmV1.sharedLinkCreationFailedNoticeText": "একটি শেয়ার করা লিঙ্ক তৈরি করা যায়নি। অনুগ্রহ করে পরে আবার চেষ্টা করুন।",
|
|
151
|
-
"groupSharedFeatures.usmV1.sharedLinkDisabledTooltip": "লিঙ্ক তৈরি করুন এবং কপি করুন",
|
|
152
|
-
"groupSharedFeatures.usmV1.sharedLinkToggleLabel": "লিঙ্ক শেয়ার করুন",
|
|
153
|
-
"groupSharedFeatures.usmV1.sharedLinkToggleText": "শেয়ার করা লিঙ্ক",
|
|
154
|
-
"groupSharedFeatures.usmV1.successNoticeAriaLabel": "সাফল্য",
|
|
155
|
-
"groupSharedFeatures.usmV1.vanityDomainSettingsWarningText": "সংবেদনশীল বিষয়বস্তু শেয়ার করার সময় কাস্টম URL ব্যবহার করা উচিত নয়।",
|
|
156
|
-
"groupSharedFeatures.usmV1.vanityNameInputLabel": "ভ্যানিটি ইনপুট",
|
|
157
|
-
"groupSharedFeatures.usmV1.vanityNameInputPlaceholder": "একটি কাস্টম পথ লিখুন (12 বা আরও অক্ষর)",
|
|
158
|
-
"groupSharedFeatures.usmV1.vanityNameInvalidError": "কাস্টম URL 12-30 অক্ষরের মধ্যে হওয়া উচিত এবং অক্ষর, সংখ্যা এবং হাইফেন অন্তর্ভুক্ত করতে পারে।",
|
|
159
|
-
"groupSharedFeatures.usmV1.vanityNameToggleText": "একটি কাস্টম, অ-ব্যক্তিগত URL দিয়ে বিস্তৃত বিষয়বস্তু প্রকাশ করুন",
|
|
160
|
-
"groupSharedFeatures.usmV1.warningNoticeIconAriaLabel": "সতর্কতা আইকনের লেবেল"
|
|
114
|
+
"groupSharedFeatures.usm.vanityNameRequiredErrorMessage": "অনুগ্রহ করে একটি কাস্টম URL লিখুন"
|
|
161
115
|
}
|