@box/unified-share-modal 0.48.9 → 0.49.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 (76) hide show
  1. package/dist/esm/lib/components/shared-link-settings-modal/messages.js +2 -6
  2. package/dist/esm/lib/components/shared-link-settings-modal/shared-link-settings-modal.js +79 -79
  3. package/dist/esm/lib/components/unified-share-form-modal/collaboration-section/collaboration-role.js +89 -68
  4. package/dist/esm/lib/components/unified-share-form-modal/collaboration-section/collaboration-section.js +119 -102
  5. package/dist/esm/lib/components/unified-share-form-modal/collaboration-section/messages.js +8 -0
  6. package/dist/esm/lib/components/unified-share-form-modal/shared-link-section/messages.js +12 -0
  7. package/dist/esm/lib/components/unified-share-form-modal/shared-link-section/shared-link-access.js +42 -39
  8. package/dist/esm/lib/components/unified-share-form-modal/shared-link-section/shared-link-permission.js +46 -43
  9. package/dist/esm/lib/components/unified-share-form-modal/shared-link-section/shared-link-section.js +109 -100
  10. package/dist/esm/lib/hooks/use-access-levels.js +18 -17
  11. package/dist/esm/lib/hooks/use-collaboration-form.js +13 -13
  12. package/dist/esm/lib/messages.js +11 -7
  13. package/dist/i18n/bn-IN.js +15 -9
  14. package/dist/i18n/bn-IN.properties +14 -0
  15. package/dist/i18n/da-DK.js +15 -9
  16. package/dist/i18n/da-DK.properties +14 -0
  17. package/dist/i18n/de-DE.js +15 -9
  18. package/dist/i18n/de-DE.properties +14 -0
  19. package/dist/i18n/en-AU.js +8 -2
  20. package/dist/i18n/en-AU.properties +14 -0
  21. package/dist/i18n/en-CA.js +8 -2
  22. package/dist/i18n/en-CA.properties +14 -0
  23. package/dist/i18n/en-GB.js +8 -2
  24. package/dist/i18n/en-GB.properties +14 -0
  25. package/dist/i18n/en-US.js +15 -10
  26. package/dist/i18n/en-US.properties +21 -11
  27. package/dist/i18n/en-x-pseudo.js +122 -116
  28. package/dist/i18n/en-x-pseudo.properties +123 -109
  29. package/dist/i18n/es-419.js +15 -9
  30. package/dist/i18n/es-419.properties +14 -0
  31. package/dist/i18n/es-ES.js +15 -9
  32. package/dist/i18n/es-ES.properties +14 -0
  33. package/dist/i18n/fi-FI.js +15 -9
  34. package/dist/i18n/fi-FI.properties +14 -0
  35. package/dist/i18n/fr-CA.js +15 -9
  36. package/dist/i18n/fr-CA.properties +14 -0
  37. package/dist/i18n/fr-FR.js +15 -9
  38. package/dist/i18n/fr-FR.properties +14 -0
  39. package/dist/i18n/hi-IN.js +15 -9
  40. package/dist/i18n/hi-IN.properties +14 -0
  41. package/dist/i18n/it-IT.js +15 -9
  42. package/dist/i18n/it-IT.properties +14 -0
  43. package/dist/i18n/ja-JP.js +15 -9
  44. package/dist/i18n/ja-JP.properties +14 -0
  45. package/dist/i18n/json/src/lib/components/shared-link-settings-modal/messages.json +1 -1
  46. package/dist/i18n/json/src/lib/components/unified-share-form-modal/collaboration-section/messages.json +1 -1
  47. package/dist/i18n/json/src/lib/components/unified-share-form-modal/shared-link-section/messages.json +1 -1
  48. package/dist/i18n/json/src/lib/messages.json +1 -1
  49. package/dist/i18n/ko-KR.js +15 -9
  50. package/dist/i18n/ko-KR.properties +14 -0
  51. package/dist/i18n/nb-NO.js +15 -9
  52. package/dist/i18n/nb-NO.properties +14 -0
  53. package/dist/i18n/nl-NL.js +15 -9
  54. package/dist/i18n/nl-NL.properties +14 -0
  55. package/dist/i18n/pl-PL.js +15 -9
  56. package/dist/i18n/pl-PL.properties +14 -0
  57. package/dist/i18n/pt-BR.js +15 -9
  58. package/dist/i18n/pt-BR.properties +14 -0
  59. package/dist/i18n/ru-RU.js +15 -9
  60. package/dist/i18n/ru-RU.properties +14 -0
  61. package/dist/i18n/sv-SE.js +15 -9
  62. package/dist/i18n/sv-SE.properties +14 -0
  63. package/dist/i18n/tr-TR.js +15 -9
  64. package/dist/i18n/tr-TR.properties +14 -0
  65. package/dist/i18n/zh-CN.js +15 -9
  66. package/dist/i18n/zh-CN.properties +14 -0
  67. package/dist/i18n/zh-TW.js +15 -9
  68. package/dist/i18n/zh-TW.properties +14 -0
  69. package/dist/styles/collaboration-role.css +1 -1
  70. package/dist/styles/shared-link-section.css +1 -1
  71. package/dist/types/lib/components/shared-link-settings-modal/messages.d.ts +0 -5
  72. package/dist/types/lib/components/unified-share-form-modal/collaboration-section/messages.d.ts +10 -0
  73. package/dist/types/lib/components/unified-share-form-modal/shared-link-section/messages.d.ts +15 -0
  74. package/dist/types/lib/messages.d.ts +5 -0
  75. package/dist/types/lib/stories/shared.d.ts +5 -0
  76. package/package.json +2 -2
@@ -1,144 +1,153 @@
1
- import { useRef as y, useState as R, useCallback as b, useEffect as _ } from "react";
2
- import { useIntl as F } from "react-intl";
3
- import { Text as B, Tooltip as S, Switch as M, Status as U, Link as j, Button as K } from "@box/blueprint-web";
4
- import { ClockBadge as V, Envelope as z } from "@box/blueprint-web-assets/icons/Line";
5
- import { SurfaceStatusSurfaceRed as O } from "@box/blueprint-web-assets/tokens/tokens";
6
- import { CopyInput as G } from "@box/copy-input";
7
- import { SharedLinkAccess as H } from "./shared-link-access.js";
8
- import { SharedLinkPermission as J } from "./shared-link-permission.js";
1
+ import { useRef as b, useState as U, useCallback as x, useEffect as D } from "react";
2
+ import { useIntl as j } from "react-intl";
3
+ import { Text as K, Tooltip as T, Focusable as V, Switch as O, Status as G, Link as H, Button as J } from "@box/blueprint-web";
4
+ import { ClockBadge as Q, Envelope as W } from "@box/blueprint-web-assets/icons/Line";
5
+ import { SurfaceStatusSurfaceRed as X } from "@box/blueprint-web-assets/tokens/tokens";
6
+ import { CopyInput as Y } from "@box/copy-input";
7
+ import { SharedLinkAccess as Z } from "./shared-link-access.js";
8
+ import { SharedLinkPermission as $ } from "./shared-link-permission.js";
9
9
  import t from "./messages.js";
10
- import { jsxs as h, jsx as o } from "react/jsx-runtime";
11
- import { useUnifiedShareFormContext as Q } from "../../../contexts/unified-share-form-context.js";
12
- import { useUnifiedShareModalContext as W } from "../../../contexts/unified-share-modal-context.js";
13
- import { useSharingAction as T } from "../../../hooks/use-sharing-action.js";
14
- import { formatDateFromTimestampToDateString as X } from "../../../utils/date.js";
15
- import { callOnKeyboardEvent as Y } from "../../../utils/event.js";
16
- import '../../../../../styles/shared-link-section.css';const Z = "_container_cabqc_1", $ = "_toggle_cabqc_7", ee = "_settings_cabqc_13", te = "_copy_cabqc_18", ne = "_access_cabqc_26", c = {
17
- container: Z,
18
- toggle: $,
19
- settings: ee,
20
- copy: te,
21
- access: ne
10
+ import { jsxs as g, jsx as n } from "react/jsx-runtime";
11
+ import { useUnifiedShareFormContext as ee } from "../../../contexts/unified-share-form-context.js";
12
+ import { useUnifiedShareModalContext as te } from "../../../contexts/unified-share-modal-context.js";
13
+ import { useSharingAction as E } from "../../../hooks/use-sharing-action.js";
14
+ import { formatDateFromTimestampToDateString as ie } from "../../../utils/date.js";
15
+ import { callOnKeyboardEvent as ne } from "../../../utils/event.js";
16
+ import '../../../../../styles/shared-link-section.css';const oe = "_container_q90iz_1", ae = "_toggle_q90iz_7", se = "_settings_q90iz_13", re = "_copy_q90iz_22", ce = "_access_q90iz_30", d = {
17
+ container: oe,
18
+ toggle: ae,
19
+ settings: se,
20
+ copy: re,
21
+ access: ce
22
22
  };
23
- function Le() {
23
+ function Te() {
24
24
  const {
25
25
  formatMessage: e
26
- } = F(), p = y(!0), f = y(null), l = y(null), {
27
- onModalViewChange: d,
28
- onShareViewChange: E
29
- } = Q(), {
30
- config: a,
31
- isSubmitting: g,
32
- sharedLink: u,
33
- sharingService: I
34
- } = W(), {
35
- createSharedLink: N
36
- } = I, {
26
+ } = j(), k = b(!0), L = b(null), u = b(null), {
27
+ onModalViewChange: h,
28
+ onShareViewChange: I
29
+ } = ee(), {
30
+ config: o,
31
+ isSubmitting: N,
32
+ item: P,
33
+ sharedLink: m,
34
+ sharingService: w
35
+ } = te(), {
36
+ permissions: v = {}
37
+ } = P, {
38
+ createSharedLink: z
39
+ } = w, {
37
40
  sharedLinkAutoCopy: r,
38
- sharedLinkAutoCreate: k
39
- } = a, n = !!u.url, [L, P] = R(!1);
40
- let x = "create-shared-link";
41
- r && (x = "auto-copy-shared-link");
41
+ sharedLinkAutoCreate: C
42
+ } = o;
43
+ let A = "create-shared-link";
44
+ r && (A = "auto-copy-shared-link");
42
45
  const {
43
- isLoading: v,
44
- onAction: C
45
- } = T(N, x), m = b(async () => {
46
- n || (await C(), P(!0));
47
- }, [n, C]), w = b(async () => (m(), new Promise((i) => {
48
- l.current = {
49
- resolve: i
46
+ isLoading: F,
47
+ onAction: y
48
+ } = E(z, A), i = !!m.url, a = N ?? F, [S, q] = U(!1), p = x(async () => {
49
+ i || (await y(), q(!0));
50
+ }, [i, y]), R = x(async () => (p(), new Promise((s) => {
51
+ u.current = {
52
+ resolve: s
50
53
  };
51
- })), [m]), {
52
- onAction: A
53
- } = T(w, "auto-copy-shared-link");
54
- _(() => {
55
- p.current && (r ? A() : k && m(), p.current = !1);
56
- }, [p, r, k, m, A]), _(() => {
57
- n && r && f.current && f.current.click();
58
- }, [n, r]);
59
- const D = b((s) => {
60
- if (!l.current)
54
+ })), [p]), {
55
+ onAction: _
56
+ } = E(R, "auto-copy-shared-link");
57
+ D(() => {
58
+ k.current && (r ? _() : C && p(), k.current = !1);
59
+ }, [k, r, C, p, _]), D(() => {
60
+ i && r && L.current && L.current.click();
61
+ }, [i, r]);
62
+ const B = x((l) => {
63
+ if (!u.current)
61
64
  return;
62
- let i;
63
- s instanceof Error ? i = L ? e(t.autoCreateCopyErrorNoticeText) : null : i = e(L ? t.autoCreateCopySuccessNoticeText : t.autoCopySuccessNoticeText), i && l.current.resolve({
65
+ let s;
66
+ l instanceof Error ? s = S ? e(t.autoCreateCopyErrorNoticeText) : null : s = e(S ? t.autoCreateCopySuccessNoticeText : t.autoCopySuccessNoticeText), s && u.current.resolve({
64
67
  messages: [{
65
- text: i,
68
+ text: s,
66
69
  type: "success"
67
70
  }]
68
- }), l.current = null;
69
- }, [e, L]), q = async (s) => {
70
- !s && d && d("remove-shared-link"), s && await C();
71
+ }), u.current = null;
72
+ }, [e, S]), M = async (l) => {
73
+ !l && h && h("remove-shared-link"), l && await y();
71
74
  };
72
- return /* @__PURE__ */ h("div", {
73
- className: c.container,
74
- children: [/* @__PURE__ */ o(B, {
75
+ let c, f = !1;
76
+ return !i && !a && (c = e(t.sharedLinkToggleTooltip)), !i && !v.canShare && (c = e(t.createLinkDisabledTooltip), f = !0), i && !v.canSetShareAccess && (c = e(t.removeLinkDisabledTooltip), f = !0), /* @__PURE__ */ g("div", {
77
+ className: d.container,
78
+ children: [/* @__PURE__ */ n(K, {
75
79
  as: "label",
76
80
  variant: "bodyDefaultBold",
77
81
  children: e(t.shareLinkLabel)
78
- }), /* @__PURE__ */ h("div", {
79
- className: c.toggle,
80
- children: [/* @__PURE__ */ o(S, {
82
+ }), /* @__PURE__ */ g("div", {
83
+ className: d.toggle,
84
+ children: [/* @__PURE__ */ n(T, {
81
85
  align: "start",
82
- content: e(t.sharedLinkToggleTooltip),
86
+ content: c,
83
87
  "data-testid": "shared-link-tooltip",
84
- open: n ? !1 : void 0,
85
- children: /* @__PURE__ */ o(M.Item, {
86
- checked: n,
87
- disabled: g ?? v,
88
- label: e(t.sharedLinkToggleLabel),
89
- onCheckedChange: q,
90
- value: "shared-link"
88
+ open: c ? void 0 : !1,
89
+ children: /* @__PURE__ */ n(V, {
90
+ focusable: f,
91
+ children: /* @__PURE__ */ n(O.Item, {
92
+ checked: i,
93
+ disabled: f || a,
94
+ label: e(t.sharedLinkToggleLabel),
95
+ onCheckedChange: M,
96
+ value: "shared-link"
97
+ })
91
98
  })
92
- }), n && !!u.expiresAt && /* @__PURE__ */ o(S, {
99
+ }), i && !!m.expiresAt && /* @__PURE__ */ n(T, {
93
100
  content: e(t.expirationIconTooltip, {
94
- expirationDate: X(u.expiresAt)
101
+ expirationDate: ie(m.expiresAt)
95
102
  }),
96
103
  "data-testid": "expiration-date-tooltip",
97
- children: /* @__PURE__ */ o(U, {
98
- color: O,
104
+ children: /* @__PURE__ */ n(G, {
105
+ color: X,
99
106
  hideText: !0,
100
- icon: V,
107
+ icon: Q,
101
108
  text: e(t.expirationIconLabel)
102
109
  })
103
- }), n && a.sharedLinkSettings && /* @__PURE__ */ o(j, {
104
- className: c.settings,
105
- onClick: () => d("shared-link-settings"),
106
- onKeyDown: Y(() => d("shared-link-settings"), {
110
+ }), i && o.sharedLinkSettings && /* @__PURE__ */ n(H, {
111
+ "aria-disabled": a,
112
+ "aria-haspopup": "dialog",
113
+ className: d.settings,
114
+ onClick: () => h("shared-link-settings"),
115
+ onKeyDown: ne(() => h("shared-link-settings"), {
107
116
  canPreventDefault: !0
108
117
  }),
109
118
  role: "button",
110
- tabIndex: 0,
119
+ tabIndex: a ? -1 : 0,
111
120
  variant: "standalone",
112
121
  children: e(t.sharedLinkSettingsLabel)
113
122
  })]
114
- }), n && /* @__PURE__ */ h("div", {
115
- className: c.copy,
116
- children: [/* @__PURE__ */ o(G, {
117
- ref: f,
118
- autoFocus: k && n,
119
- disabled: g ?? v,
123
+ }), i && /* @__PURE__ */ g("div", {
124
+ className: d.copy,
125
+ children: [/* @__PURE__ */ n(Y, {
126
+ ref: L,
127
+ autoFocus: C && i,
128
+ disabled: a,
120
129
  hideLabel: !0,
121
130
  label: e(t.sharedLinkUrlLabel),
122
- onCopy: D,
123
- value: u.url
124
- }), a.sharedLinkEmail && /* @__PURE__ */ o(S, {
131
+ onCopy: B,
132
+ value: m.url
133
+ }), o.sharedLinkEmail && /* @__PURE__ */ n(T, {
125
134
  align: "end",
126
135
  content: e(t.sharedLinkEmailLabel),
127
- children: /* @__PURE__ */ o(K, {
136
+ children: /* @__PURE__ */ n(J, {
128
137
  "aria-label": e(t.sharedLinkEmailLabel),
129
- disabled: g,
130
- icon: z,
131
- onClick: () => E("email"),
138
+ disabled: a,
139
+ icon: W,
140
+ onClick: () => I("email"),
132
141
  size: "large",
133
142
  variant: "secondary"
134
143
  })
135
144
  })]
136
- }), n && (a.sharedLinkAccess || a.sharedLinkPermission) && /* @__PURE__ */ h("div", {
137
- className: c.access,
138
- children: [a.sharedLinkAccess && /* @__PURE__ */ o(H, {}), a.sharedLinkPermission && /* @__PURE__ */ o(J, {})]
145
+ }), i && (o.sharedLinkAccess || o.sharedLinkPermission) && /* @__PURE__ */ g("div", {
146
+ className: d.access,
147
+ children: [o.sharedLinkAccess && /* @__PURE__ */ n(Z, {}), o.sharedLinkPermission && /* @__PURE__ */ n($, {})]
139
148
  })]
140
149
  });
141
150
  }
142
151
  export {
143
- Le as SharedLinkSection
152
+ Te as SharedLinkSection
144
153
  };
@@ -1,44 +1,45 @@
1
- import { useMemo as a } from "react";
2
- import { useIntl as x } from "react-intl";
1
+ import x from "lodash/camelCase";
2
+ import { useMemo as l } from "react";
3
+ import { useIntl as y } from "react-intl";
3
4
  import o from "../components/unified-share-form-modal/shared-link-section/messages.js";
4
- import { useUnifiedShareModalContext as y } from "../contexts/unified-share-modal-context.js";
5
- import { getAllowedAccessLevels as M } from "../utils/permission.js";
6
- const U = () => {
5
+ import { useUnifiedShareModalContext as M } from "../contexts/unified-share-modal-context.js";
6
+ import { getAllowedAccessLevels as $ } from "../utils/permission.js";
7
+ const k = () => {
7
8
  const {
8
9
  formatMessage: e
9
- } = x(), {
10
- currentUser: p,
11
- item: d,
12
- sharedLink: f
13
10
  } = y(), {
11
+ currentUser: p,
12
+ item: f,
13
+ sharedLink: d
14
+ } = M(), {
14
15
  enterprise: u = {}
15
16
  } = p, {
16
17
  name: s
17
18
  } = u, {
18
19
  type: n
19
- } = d, {
20
+ } = f, {
20
21
  access: i,
21
22
  accessLevels: m
22
- } = f, r = a(() => M(m).map((t) => {
23
+ } = d, r = l(() => $(m).map((t) => {
23
24
  const {
24
25
  description: A,
25
- id: l,
26
+ id: a,
26
27
  label: v
27
28
  } = t;
28
- let c = l;
29
- l === "company" && s && (c = "enterprise");
29
+ let c = a;
30
+ a === "company" && s && (c = "enterprise");
30
31
  const b = e(o[`${c}AccessLevelLabel`], {
31
32
  enterprise: s
32
33
  }), g = e(o[`${c}AccessLevelDescription`], {
33
34
  enterprise: s,
34
- item: e(o[`${n}AccessLevelItem`])
35
+ item: e(o[`${x(n)}AccessLevelItem`])
35
36
  });
36
37
  return {
37
38
  ...t,
38
39
  description: A ?? g,
39
40
  label: v ?? b
40
41
  };
41
- }), [m, s, e, n]), L = a(() => r.find(({
42
+ }), [m, s, e, n]), L = l(() => r.find(({
42
43
  id: t
43
44
  }) => i === t), [i, r]);
44
45
  return {
@@ -47,5 +48,5 @@ const U = () => {
47
48
  };
48
49
  };
49
50
  export {
50
- U as useAccessLevels
51
+ k as useAccessLevels
51
52
  };
@@ -3,14 +3,14 @@ import { useFormValidation as E } from "./use-form-validation.js";
3
3
  import { useSharingAction as A } from "./use-sharing-action.js";
4
4
  import { useUnifiedShareFormContext as M } from "../contexts/unified-share-form-context.js";
5
5
  import { useUnifiedShareModalContext as O } from "../contexts/unified-share-modal-context.js";
6
- const I = (p, v) => {
6
+ const I = (h, p) => {
7
7
  const {
8
- errors: f,
8
+ errors: d,
9
9
  setFieldError: a,
10
- validateUserContact: C,
10
+ validateUserContact: f,
11
11
  validateUserSelector: i
12
12
  } = E(), {
13
- contactService: h
13
+ contactService: v
14
14
  } = O(), {
15
15
  collaborationRole: F,
16
16
  messageValue: b,
@@ -22,9 +22,9 @@ const I = (p, v) => {
22
22
  } = M(), {
23
23
  isLoading: y,
24
24
  onAction: V
25
- } = A(p, v), {
25
+ } = A(h, p), {
26
26
  getContactByEmail: u
27
- } = h, S = () => {
27
+ } = v, C = () => {
28
28
  r([]), l(""), U(""), a("user-contact", "");
29
29
  }, w = s((t) => {
30
30
  a("user-contact", ""), l(t);
@@ -36,19 +36,19 @@ const I = (p, v) => {
36
36
  if (e && e.id)
37
37
  return e;
38
38
  }
39
- return C(t.value) ? null : {
39
+ return f(t.value) ? null : {
40
40
  email: t.value,
41
41
  id: 0,
42
42
  isExternalUser: !0,
43
43
  name: t.value,
44
44
  value: t.value
45
45
  };
46
- }, [u, C]), m = s(async (t) => {
46
+ }, [u, f]), m = s(async (t) => {
47
47
  if (a("user-contact", ""), i(t), o.length >= t.length) {
48
48
  r(t);
49
49
  return;
50
50
  }
51
- const [e, ...d] = [...t].reverse(), n = await g(e), c = n ? [...d, n] : d;
51
+ const [e, S] = [t.slice(0, -1), t[t.length - 1]], n = await g(S), c = n ? [...e, n] : e;
52
52
  r(c.filter(Boolean));
53
53
  }, [g, a, r, i, o]), B = s((t) => {
54
54
  var n, c;
@@ -58,16 +58,16 @@ const I = (p, v) => {
58
58
  }]);
59
59
  }, [m, o]);
60
60
  return {
61
- errors: f,
62
- handleFormReset: S,
61
+ errors: d,
62
+ handleFormReset: C,
63
63
  handleFormSubmit: async () => {
64
- if (f["user-contact"] || i(o))
64
+ if (d["user-contact"] || i(o))
65
65
  return !0;
66
66
  const t = {
67
67
  contacts: o,
68
68
  message: b
69
69
  };
70
- return x === "invite" && (t.role = F.id), await V(t), S(), !1;
70
+ return x === "invite" && (t.role = F.id), await V(t), C(), !1;
71
71
  },
72
72
  handleSelectedUsersChange: m,
73
73
  handleUserSelectorBlur: B,
@@ -26,7 +26,7 @@ const a = e({
26
26
  },
27
27
  updateSharedLinkSuccessNoticeText: {
28
28
  id: "groupSharedFeatures.usm.updateSharedLinkSuccessNoticeText",
29
- defaultMessage: "Your settings were saved successfully."
29
+ defaultMessage: "The shared link settings were saved successfully."
30
30
  },
31
31
  createSharedLinkSuccessNoticeText: {
32
32
  id: "groupSharedFeatures.usm.createSharedLinkSuccessNoticeText",
@@ -36,13 +36,17 @@ const a = e({
36
36
  id: "groupSharedFeatures.usm.createSharedLinkErrorNoticeText",
37
37
  defaultMessage: "Unable to create a shared link. Please try again later."
38
38
  },
39
+ emailSharedLinkSuccessNoticeText: {
40
+ id: "groupSharedFeatures.usm.emailSharedLinkSuccessNoticeText",
41
+ defaultMessage: "The shared link for “{itemName}” was sent successfully."
42
+ },
39
43
  autoCopySharedLinkErrorNoticeText: {
40
44
  id: "groupSharedFeatures.usm.autoCopySharedLinkErrorNoticeText",
41
45
  defaultMessage: "Unable to create a shared link. Please try again later."
42
46
  },
43
47
  vanityNameInvalidErrorMessage: {
44
48
  id: "groupSharedFeatures.usm.vanityNameInvalidErrorMessage",
45
- defaultMessage: "Custom URLs should be between 12-30 characters, and can include letters, numbers, and hyphens."
49
+ defaultMessage: "Custom URLs must be between 12-30 characters, and can include letters, numbers, and hyphens"
46
50
  },
47
51
  vanityNameRequiredErrorMessage: {
48
52
  id: "groupSharedFeatures.usm.vanityNameRequiredErrorMessage",
@@ -50,11 +54,11 @@ const a = e({
50
54
  },
51
55
  expirationRequiredErrorMessage: {
52
56
  id: "groupSharedFeatures.usm.expirationRequiredErrorMessage",
53
- defaultMessage: "Please select a date"
57
+ defaultMessage: "Please select an expiration date"
54
58
  },
55
59
  expirationFutureDateRequiredErrorMessage: {
56
60
  id: "groupSharedFeatures.usm.expirationFutureDateRequiredErrorMessage",
57
- defaultMessage: "The expiration date must be in the future"
61
+ defaultMessage: "Expiration date must be in the future"
58
62
  },
59
63
  invalidEmailErrorMessage: {
60
64
  id: "groupSharedFeatures.usm.invalidEmailErrorMessage",
@@ -70,15 +74,15 @@ const a = e({
70
74
  },
71
75
  passwordContainMinCharactersErrorMessage: {
72
76
  id: "groupSharedFeatures.usm.passwordContainMinCharactersErrorMessage",
73
- defaultMessage: "Password should contain at least 8 characters"
77
+ defaultMessage: "Password must contain at least 8 characters"
74
78
  },
75
79
  passwordContainInvalidCharacterErrorMessage: {
76
80
  id: "groupSharedFeatures.usm.passwordContainInvalidCharacterErrorMessage",
77
- defaultMessage: 'Your password cannot contain a space, "<" or ">"'
81
+ defaultMessage: 'Password cannot contain a space, "<" or ">"'
78
82
  },
79
83
  passwordContainLetterNumberOrSymbolErrorMessage: {
80
84
  id: "groupSharedFeatures.usm.passwordContainLetterNumberOrSymbolErrorMessage",
81
- defaultMessage: "Your password should contain at least one upper case letter, number, or special character."
85
+ defaultMessage: "Password must contain at least one upper case letter, number, or special character"
82
86
  }
83
87
  });
84
88
  export {
@@ -6,15 +6,16 @@ export default {
6
6
  "groupSharedFeatures.usm.deleteSharedLinkErrorNoticeText": "শেয়ার করা লিঙ্ক অপসারণ করা যায়নি। অনুগ্রহ করে পরে আবার চেষ্টা করুন.",
7
7
  "groupSharedFeatures.usm.deleteSharedLinkSuccessNoticeText": "“{itemName}” এর শেয়ার করা লিঙ্কটি সফলভাবে অপসারণ করা হয়েছে।",
8
8
  "groupSharedFeatures.usm.emailRequiredErrorMessage": "কমপক্ষে একটি বৈধ ইমেইল লিখুন",
9
+ "groupSharedFeatures.usm.emailSharedLinkSuccessNoticeText": "The shared link for “{itemName}” was sent successfully.",
9
10
  "groupSharedFeatures.usm.errorNoticeIcon": "ত্রুটি",
10
11
  "groupSharedFeatures.usm.expirationFutureDateRequiredErrorMessage": "মেয়াদউত্তীর্ণ হওয়ার তারিখ অবশ্যই ভবিষ্যতে হতে হবে",
11
12
  "groupSharedFeatures.usm.expirationRequiredErrorMessage": "অনুগ্রহ করে একটি তারিখ নির্বাচন করুন",
12
13
  "groupSharedFeatures.usm.invalidEmailErrorMessage": "ভুল ইমেইল অ্যাড্রেস",
13
14
  "groupSharedFeatures.usm.noticeCloseLabel": "বন্ধ করুন",
14
- "groupSharedFeatures.usm.passwordContainInvalidCharacterErrorMessage": "Your password cannot contain a space, \"<\" or \">\"",
15
- "groupSharedFeatures.usm.passwordContainLetterNumberOrSymbolErrorMessage": "Your password should contain at least one upper case letter, number, or special character.",
16
- "groupSharedFeatures.usm.passwordContainMinCharactersErrorMessage": "Password should contain at least 8 characters",
17
- "groupSharedFeatures.usm.passwordRequiredErrorMessage": "Please enter a password",
15
+ "groupSharedFeatures.usm.passwordContainInvalidCharacterErrorMessage": "আপনার পাসওয়ার্ডটিতে স্পেস, \"<\" বা \">\" থাকা যাবে না",
16
+ "groupSharedFeatures.usm.passwordContainLetterNumberOrSymbolErrorMessage": "আপনার পাসওয়ার্ডে কমপক্ষে একটি বড় হাতের অক্ষর, সংখ্যা বা বিশেষ অক্ষর থাকতে হবে।",
17
+ "groupSharedFeatures.usm.passwordContainMinCharactersErrorMessage": "পাসওয়ার্ডে কমপক্ষে 8টি অক্ষর থাকতে হবে",
18
+ "groupSharedFeatures.usm.passwordRequiredErrorMessage": "অনুগ্রহ করে একটি পাসওয়ার্ড লিখুন",
18
19
  "groupSharedFeatures.usm.removeSharedLinkModal.bodyText": "এটি শেয়ার করা লিঙ্কটি স্থায়ীভাবে সরিয়ে ফেলবে। এই আইটেমটি অন্যান্য সাইটে এম্বেড করা হলে এটি অ্যাক্সেসযোগ্য হবে না। যেকোনো কাস্টম প্রোপার্টি, সেটিংস এবং মেয়াদউত্তীর্ণও সরানো হবে। আপনি কি চালিয়ে যেতে চান?",
19
20
  "groupSharedFeatures.usm.removeSharedLinkModal.cancelButton": "বাতিল করুন",
20
21
  "groupSharedFeatures.usm.removeSharedLinkModal.closeButton": "বন্ধ করুন",
@@ -42,7 +43,6 @@ export default {
42
43
  "groupSharedFeatures.usm.sharedLinkSettingsModal.vanityDomainSettingsWarningText": "সংবেদনশীল বিষয়বস্তু শেয়ার করার সময় কাস্টম URL ব্যবহার করা উচিত নয়।",
43
44
  "groupSharedFeatures.usm.sharedLinkSettingsModal.vanityNameInputLabel": "কাস্টম পাথ",
44
45
  "groupSharedFeatures.usm.sharedLinkSettingsModal.vanityNameInputPlaceholder": "একটি কাস্টম পথ লিখুন (12 বা আরও অক্ষর)",
45
- "groupSharedFeatures.usm.sharedLinkSettingsModal.vanityNameInvalidError": "কাস্টম URL 12-30 অক্ষরের মধ্যে হওয়া উচিত এবং অক্ষর, সংখ্যা এবং হাইফেন অন্তর্ভুক্ত করতে পারে।",
46
46
  "groupSharedFeatures.usm.sharedLinkSettingsModal.vanityNameToggleText": "একটি কাস্টম, অ-ব্যক্তিগত URL দিয়ে বিস্তৃত বিষয়বস্তু প্রকাশ করুন",
47
47
  "groupSharedFeatures.usm.sharedLinkSettingsModal.warningNoticeIconAriaLabel": "সতর্কবাণী",
48
48
  "groupSharedFeatures.usm.successNoticeIcon": "সফল!",
@@ -56,8 +56,10 @@ export default {
56
56
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.editorFolderDescription": "আপলোড, ডাউনলোড করুন, প্রিভিউ দেখুন, শেয়ার, সম্পাদনা করুন এবং মুছুন",
57
57
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.emailSharedLinkLabel": "শেয়ারকৃত লিঙ্ক ইমেইল করুন",
58
58
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.inviteAsRoleLabel": "{role} হিসাবে আমন্ত্রণ করুন",
59
+ "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.inviteDisabledTooltip": "You do not have permission to invite collaborators",
59
60
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.invitePeopleLabel": "ব্যক্তিদের আমন্ত্রণ করুন",
60
61
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.invitePeoplePlaceholder": "নাম ও ইমেইল অ্যাড্রেসগুলি যোগ করুন",
62
+ "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.inviteWebLinkDisabledTooltip": "Collaborators cannot be added to bookmarks",
61
63
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.loadingLabel": "লোড হচ্ছে",
62
64
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.previewerDescription": "Preview-only",
63
65
  "groupSharedFeatures.usm.unifiedShareFormModal.collaborationSection.previewerUploaderDescription": "আপলোড করুন ও প্রিভিউ দেখুন",
@@ -85,13 +87,14 @@ export default {
85
87
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCopySuccessNoticeText": "শেয়ারকৃত লিঙ্ক ক্লিপবোর্ডে কপি করা হয়েছে।",
86
88
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCreateCopyErrorNoticeText": "শেয়ারকৃত লিঙ্ক তৈরি করা হয়েছে। শেয়ার করতে কপি ক্লিক করুন।",
87
89
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCreateCopySuccessNoticeText": "শেয়ারকৃত লিঙ্ক তৈরি করা হয়েছে এবং ক্লিপবোর্ডে কপি করা হয়েছে।",
88
- "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.canDownloadPermissionLevelLabel": "Can view and download",
89
- "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.canEditPermissionLevelLabel": "Can edit",
90
- "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.canPreviewPermissionLevelLabel": "Can view only",
90
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.canDownloadPermissionLevelLabel": "দেখতে ডাউনলোড করতে পারবে",
91
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.canEditPermissionLevelLabel": "সম্পাদনা করা যাবে",
92
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.canPreviewPermissionLevelLabel": "কেবলমাত্র দেখতে পারবে",
91
93
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.collaboratorsAccessLevelDescription": "শুধুমাত্র আমন্ত্রিত লোকজন এই {item} অ্যাক্সেস করতে পারবে",
92
94
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.collaboratorsAccessLevelLabel": "শুধুমাত্র আমন্ত্রিত লোকজন",
93
95
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.companyAccessLevelDescription": "লিঙ্ক সহ আপনার কোম্পানির যে কেউ বা এই {item} আমন্ত্রিত লোকেরা অ্যাক্সেস করতে পারবে",
94
96
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.companyAccessLevelLabel": "আপনার কোম্পানির লোকজন",
97
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.createLinkDisabledTooltip": "You do not have permission to create the link",
95
98
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.disabledAccessLevelTooltip": "নিরাপত্তা নীতির কারণে এই বিকল্পটি উপলভ্য নয়",
96
99
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.enterpriseAccessLevelDescription": "লিঙ্ক সহ {enterprise} এ যে কেউ বা এই {item} এ আমন্ত্রিত লোকজন অ্যাক্সেস করতে পারবে",
97
100
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.enterpriseAccessLevelLabel": "{enterprise} এর লোকজন",
@@ -102,17 +105,20 @@ export default {
102
105
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.hubsAccessLevelItem": "হাব",
103
106
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelDescription": "যেকোনও কেউ অ্যাক্সেস করতে পারবে; কোনও সাইন-ইন আবশ্যক নয়",
104
107
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.openAccessLevelLabel": "লিঙ্ক সহ লোকজনেরা",
108
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.removeLinkDisabledTooltip": "You do not have permission to remove the link",
105
109
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.shareLinkLabel": "লিঙ্ক শেয়ার করুন",
106
110
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkEmailLabel": "শেয়ার করা লিঙ্ক পাঠান",
107
111
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkSettingsLabel": "লিঙ্ক সেটিংস",
108
112
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkToggleLabel": "শেয়ার করা লিঙ্ক",
109
113
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkToggleTooltip": "লিঙ্ক তৈরি করুন এবং কপি করুন",
110
114
  "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.sharedLinkUrlLabel": "শেয়ার করা লিঙ্ক URL",
115
+ "groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.webLinkAccessLevelItem": "bookmark",
111
116
  "groupSharedFeatures.usm.unifiedShareFormModal.title": "‘{itemName}’শেয়ার করুন",
112
117
  "groupSharedFeatures.usm.unifiedShareFormModal.uploaderRole": "আপলোডার",
113
118
  "groupSharedFeatures.usm.unifiedShareFormModal.viewerRole": "ভিউয়ার",
114
119
  "groupSharedFeatures.usm.unifiedShareFormModal.viewerUploaderRole": "ভিউয়ার আপলোডার",
115
120
  "groupSharedFeatures.usm.updateSharedLinkSuccessNoticeText": "আপনার সেটিংস সফলভাবে সংরক্ষিত হয়েছে।",
116
121
  "groupSharedFeatures.usm.vanityNameInvalidErrorMessage": "কাস্টম URL 12-30 অক্ষরের মধ্যে হওয়া উচিত এবং অক্ষর, সংখ্যা এবং হাইফেন অন্তর্ভুক্ত করতে পারে।",
117
- "groupSharedFeatures.usm.vanityNameRequiredErrorMessage": "অনুগ্রহ করে একটি কাস্টম URL লিখুন"
122
+ "groupSharedFeatures.usm.vanityNameRequiredErrorMessage": "অনুগ্রহ করে একটি কাস্টম URL লিখুন",
123
+ "groupSharedFeatures.usm.sharedLinkSettingsModal.vanityNameInvalidError": "কাস্টম URL 12-30 অক্ষরের মধ্যে হওয়া উচিত এবং অক্ষর, সংখ্যা এবং হাইফেন অন্তর্ভুক্ত করতে পারে।"
118
124
  }
@@ -22,6 +22,14 @@ groupSharedFeatures.usm.expirationRequiredErrorMessage = অনুগ্রহ
22
22
  groupSharedFeatures.usm.invalidEmailErrorMessage = ভুল ইমেইল অ্যাড্রেস
23
23
  # Close button aria label for the notifications
24
24
  groupSharedFeatures.usm.noticeCloseLabel = বন্ধ করুন
25
+ # Error message for the password field when password contains forbidden characters.
26
+ groupSharedFeatures.usm.passwordContainInvalidCharacterErrorMessage = আপনার পাসওয়ার্ডটিতে স্পেস, "<" বা ">" থাকা যাবে না
27
+ # Error message for the password field when password does not contain at least one letter, number, or symbol
28
+ groupSharedFeatures.usm.passwordContainLetterNumberOrSymbolErrorMessage = আপনার পাসওয়ার্ডে কমপক্ষে একটি বড় হাতের অক্ষর, সংখ্যা বা বিশেষ অক্ষর থাকতে হবে।
29
+ # Error message for the password field when password does not contain at least 8 characters.
30
+ groupSharedFeatures.usm.passwordContainMinCharactersErrorMessage = পাসওয়ার্ডে কমপক্ষে 8টি অক্ষর থাকতে হবে
31
+ # Error message for the password field when password is not provided
32
+ groupSharedFeatures.usm.passwordRequiredErrorMessage = অনুগ্রহ করে একটি পাসওয়ার্ড লিখুন
25
33
  # Body text of the Remove Shared Link modal
26
34
  groupSharedFeatures.usm.removeSharedLinkModal.bodyText = এটি শেয়ার করা লিঙ্কটি স্থায়ীভাবে সরিয়ে ফেলবে। এই আইটেমটি অন্যান্য সাইটে এম্বেড করা হলে এটি অ্যাক্সেসযোগ্য হবে না। যেকোনো কাস্টম প্রোপার্টি, সেটিংস এবং মেয়াদউত্তীর্ণও সরানো হবে। আপনি কি চালিয়ে যেতে চান?
27
35
  # Button text to cancel removing a shared link
@@ -162,6 +170,12 @@ groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCopySuccessN
162
170
  groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCreateCopyErrorNoticeText = শেয়ারকৃত লিঙ্ক তৈরি করা হয়েছে। শেয়ার করতে কপি ক্লিক করুন।
163
171
  # Notification text when the shared link is successfully copied to clipboard after link is created
164
172
  groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.autoCreateCopySuccessNoticeText = শেয়ারকৃত লিঙ্ক তৈরি করা হয়েছে এবং ক্লিপবোর্ডে কপি করা হয়েছে।
173
+ # Label for the permission level where shared link users can download the item
174
+ groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.canDownloadPermissionLevelLabel = দেখতে ও ডাউনলোড করতে পারবে
175
+ # Label for the permission level where shared link users can edit the item
176
+ groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.canEditPermissionLevelLabel = সম্পাদনা করা যাবে
177
+ # Label for the permission level where shared link users can preview the item
178
+ groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.canPreviewPermissionLevelLabel = কেবলমাত্র দেখতে পারবে
165
179
  # Description for the access level where only invited users can access the item
166
180
  groupSharedFeatures.usm.unifiedShareFormModal.sharedLinkSection.collaboratorsAccessLevelDescription = শুধুমাত্র আমন্ত্রিত লোকজন এই {item} অ্যাক্সেস করতে পারবে
167
181
  # Label for the access level where only invited users can access the item