@box/threaded-annotations 1.83.12 → 1.84.0
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/annotation-badge.js +47 -33
- package/dist/chunks/messages-view.js +27 -26
- package/dist/chunks/threaded-annotations2.js +21 -20
- package/dist/esm/lib/components/v2/annotation-badge/messages.js +10 -4
- package/dist/esm/lib/components/v2/text-message/text-message.js +10 -9
- 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/en-AU.js +1 -0
- package/dist/i18n/en-CA.js +1 -0
- package/dist/i18n/en-GB.js +1 -0
- package/dist/i18n/en-US.js +1 -0
- package/dist/i18n/en-US.properties +2 -0
- package/dist/i18n/en-x-pseudo.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/it-IT.js +1 -0
- package/dist/i18n/ja-JP.js +1 -0
- package/dist/i18n/json/src/lib/components/v2/annotation-badge/messages.json +1 -1
- package/dist/i18n/ko-KR.js +1 -0
- package/dist/i18n/nb-NO.js +1 -0
- package/dist/i18n/nl-NL.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/sv-SE.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/annotation-badge.css +1 -1
- package/dist/types/lib/components/v2/annotation-badge/annotation-badge.d.ts +2 -1
- package/dist/types/lib/components/v2/annotation-badge/messages.d.ts +5 -0
- package/dist/types/lib/components/v2/messages-view/messages-view.d.ts +2 -1
- package/dist/types/lib/components/v2/text-message/text-message.d.ts +2 -1
- package/dist/types/lib/v2/stories/shared.d.ts +1 -0
- package/dist/types/lib/v2/threaded-annotations.d.ts +3 -0
- package/package.json +11 -11
|
@@ -1,49 +1,63 @@
|
|
|
1
1
|
import { AnnotationBadgeType as e } from "../esm/lib/v2/types/annotation-badge-types.js";
|
|
2
2
|
import t from "../esm/lib/components/v2/annotation-badge/messages.js";
|
|
3
|
-
import { ButtonWrapper as n,
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
import { ButtonWrapper as n, Focusable as r, Text as i, Tooltip as a } from "@box/blueprint-web";
|
|
4
|
+
import o from "clsx";
|
|
5
|
+
import { useIntl as s } from "react-intl";
|
|
6
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
7
|
+
import { DashedSquareBubble as u, PencilScribble as d, TextHighlight as f } from "@box/blueprint-web-assets/icons/Medium";
|
|
8
|
+
import '../styles/annotation-badge.css';var p = {
|
|
9
|
+
annotationBadge: "_annotationBadge_1610p_1",
|
|
10
|
+
annotationIcon: "_annotationIcon_1610p_16",
|
|
11
|
+
highlightText: "_highlightText_1610p_22",
|
|
12
|
+
annotationLabel: "_annotationLabel_1610p_34",
|
|
13
|
+
disabled: "_disabled_1610p_42",
|
|
14
|
+
focusableWrapper: "_focusableWrapper_1610p_47",
|
|
15
|
+
tooltipContent: "_tooltipContent_1610p_53"
|
|
16
|
+
}, m = {
|
|
17
|
+
[e.Drawing]: d,
|
|
14
18
|
[e.Frame]: null,
|
|
15
|
-
[e.Highlight]:
|
|
16
|
-
[e.Point]:
|
|
17
|
-
[e.Region]:
|
|
18
|
-
},
|
|
19
|
-
let { formatMessage:
|
|
20
|
-
|
|
21
|
-
className: u.annotationBadge,
|
|
19
|
+
[e.Highlight]: f,
|
|
20
|
+
[e.Point]: d,
|
|
21
|
+
[e.Region]: u
|
|
22
|
+
}, h = ({ annotationTarget: u, onClick: d, originalContentDeleted: f }) => {
|
|
23
|
+
let { formatMessage: h } = s(), g = m[u.type], _ = u.type === e.Highlight, v = f ? "textOnLightSecondary" : "textOnLightLink", y = /* @__PURE__ */ l(n, {
|
|
24
|
+
className: o(p.annotationBadge, f && p.disabled),
|
|
22
25
|
"data-testid": "annotation-badge",
|
|
23
26
|
"data-no-expand": !0,
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
disabled: f,
|
|
28
|
+
onClick: f ? void 0 : d,
|
|
29
|
+
children: [g && /* @__PURE__ */ c(i, {
|
|
26
30
|
as: "span",
|
|
27
|
-
className:
|
|
28
|
-
color:
|
|
29
|
-
children: /* @__PURE__ */
|
|
31
|
+
className: p.annotationIcon,
|
|
32
|
+
color: v,
|
|
33
|
+
children: /* @__PURE__ */ c(g, {
|
|
30
34
|
color: "currentColor",
|
|
31
35
|
height: 16,
|
|
32
36
|
width: 16
|
|
33
37
|
})
|
|
34
|
-
}),
|
|
38
|
+
}), _ ? /* @__PURE__ */ c(i, {
|
|
35
39
|
as: "span",
|
|
36
|
-
className:
|
|
37
|
-
color:
|
|
38
|
-
variant: "
|
|
39
|
-
children:
|
|
40
|
-
}) : /* @__PURE__ */
|
|
40
|
+
className: p.highlightText,
|
|
41
|
+
color: v,
|
|
42
|
+
variant: "bodySmallSemibold",
|
|
43
|
+
children: u.highlightedText
|
|
44
|
+
}) : /* @__PURE__ */ c(i, {
|
|
41
45
|
as: "span",
|
|
42
|
-
className:
|
|
43
|
-
color:
|
|
46
|
+
className: p.annotationLabel,
|
|
47
|
+
color: v,
|
|
44
48
|
variant: "bodyDefaultSemibold",
|
|
45
|
-
children:
|
|
49
|
+
children: u.type === e.Frame ? u.timestamp : h(t.annotationPage, { number: u.page })
|
|
46
50
|
})]
|
|
47
51
|
});
|
|
52
|
+
return f ? /* @__PURE__ */ c(a, {
|
|
53
|
+
className: p.tooltipContent,
|
|
54
|
+
content: h(t.originalContentDeleted),
|
|
55
|
+
side: "top",
|
|
56
|
+
children: /* @__PURE__ */ c(r, {
|
|
57
|
+
className: p.focusableWrapper,
|
|
58
|
+
"data-no-expand": !0,
|
|
59
|
+
children: y
|
|
60
|
+
})
|
|
61
|
+
}) : y;
|
|
48
62
|
};
|
|
49
|
-
export {
|
|
63
|
+
export { h as t };
|
|
@@ -14,26 +14,26 @@ import '../styles/messages-view.css';var u = {
|
|
|
14
14
|
messagesView: "_messagesView_1yvpu_4",
|
|
15
15
|
repliesContainer: "_repliesContainer_1yvpu_52",
|
|
16
16
|
messagesFade: "_messagesFade_1yvpu_58"
|
|
17
|
-
}, d = ({ messages: d, isResolved: f = !1, resolvedBy: p, resolvedAt: m, onDelete: h, onThreadDelete: g, onAvatarClick: _, onEdit: v, onResolve: y, onUnresolve: b, annotationTarget: x, onAnnotationBadgeClick: S }) => {
|
|
18
|
-
let { viewState:
|
|
17
|
+
}, d = ({ messages: d, isResolved: f = !1, resolvedBy: p, resolvedAt: m, onDelete: h, onThreadDelete: g, onAvatarClick: _, onEdit: v, onResolve: y, onUnresolve: b, annotationTarget: x, onAnnotationBadgeClick: S, originalContentDeleted: C }) => {
|
|
18
|
+
let { viewState: w, dispatch: T, isAnnotations: E } = t(), D = s(null), O = w !== e.Collapsed, k = w === e.Composing, A = d.length > 2, j = A && !O, { handleScroll: M, isOverflowing: N } = a({
|
|
19
19
|
messageCount: d.length,
|
|
20
|
-
containerRef:
|
|
21
|
-
enabled:
|
|
22
|
-
isExpanded:
|
|
23
|
-
suppressAutoScroll:
|
|
24
|
-
}),
|
|
25
|
-
if (!
|
|
26
|
-
let
|
|
20
|
+
containerRef: D,
|
|
21
|
+
enabled: E,
|
|
22
|
+
isExpanded: O,
|
|
23
|
+
suppressAutoScroll: j
|
|
24
|
+
}), P = d[0], F = d.slice(1), I = F.length >= 1, L = F[F.length - 1], R = F.slice(0, -1), z = A && !O;
|
|
25
|
+
if (!P) return null;
|
|
26
|
+
let B = R[R.length - 1]?.author, V = R.length >= 2 ? R[R.length - 2].author : void 0, H = () => T({ type: "EXPAND" });
|
|
27
27
|
return /* @__PURE__ */ l("div", {
|
|
28
|
-
className: o(u.messagesViewWrapper,
|
|
28
|
+
className: o(u.messagesViewWrapper, N && u.overflowing, N && k && u.withEditorBelow),
|
|
29
29
|
children: [/* @__PURE__ */ l("div", {
|
|
30
|
-
ref:
|
|
31
|
-
className: o(u.messagesView,
|
|
32
|
-
onScroll:
|
|
30
|
+
ref: D,
|
|
31
|
+
className: o(u.messagesView, E && u.scrollable),
|
|
32
|
+
onScroll: M,
|
|
33
33
|
children: [
|
|
34
34
|
/* @__PURE__ */ c(i, {
|
|
35
|
-
...
|
|
36
|
-
showThreadedIndicator:
|
|
35
|
+
...P,
|
|
36
|
+
showThreadedIndicator: I || f,
|
|
37
37
|
isResolved: f,
|
|
38
38
|
onDelete: h,
|
|
39
39
|
onThreadDelete: g,
|
|
@@ -43,17 +43,18 @@ import '../styles/messages-view.css';var u = {
|
|
|
43
43
|
onUnresolve: b,
|
|
44
44
|
isFirstMessage: !0,
|
|
45
45
|
annotationTarget: x,
|
|
46
|
-
onAnnotationBadgeClick: S
|
|
46
|
+
onAnnotationBadgeClick: S,
|
|
47
|
+
originalContentDeleted: C
|
|
47
48
|
}),
|
|
48
|
-
|
|
49
|
-
lastUser:
|
|
50
|
-
repliesCount:
|
|
51
|
-
secondLastUser:
|
|
52
|
-
onShowReplies:
|
|
49
|
+
z && B && /* @__PURE__ */ c(r, {
|
|
50
|
+
lastUser: B,
|
|
51
|
+
repliesCount: R.length,
|
|
52
|
+
secondLastUser: V,
|
|
53
|
+
onShowReplies: H
|
|
53
54
|
}),
|
|
54
|
-
|
|
55
|
+
O && R.length > 0 && /* @__PURE__ */ c("div", {
|
|
55
56
|
className: u.repliesContainer,
|
|
56
|
-
children:
|
|
57
|
+
children: R.map((e) => /* @__PURE__ */ c(i, {
|
|
57
58
|
...e,
|
|
58
59
|
showThreadedIndicator: !0,
|
|
59
60
|
isResolved: f,
|
|
@@ -64,8 +65,8 @@ import '../styles/messages-view.css';var u = {
|
|
|
64
65
|
onUnresolve: b
|
|
65
66
|
}, e.id))
|
|
66
67
|
}),
|
|
67
|
-
|
|
68
|
-
...
|
|
68
|
+
L && /* @__PURE__ */ c(i, {
|
|
69
|
+
...L,
|
|
69
70
|
showThreadedIndicator: f,
|
|
70
71
|
isResolved: f,
|
|
71
72
|
onDelete: h,
|
|
@@ -79,7 +80,7 @@ import '../styles/messages-view.css';var u = {
|
|
|
79
80
|
createdAt: m
|
|
80
81
|
})
|
|
81
82
|
]
|
|
82
|
-
}),
|
|
83
|
+
}), N && /* @__PURE__ */ c("div", { className: u.messagesFade })]
|
|
83
84
|
});
|
|
84
85
|
};
|
|
85
86
|
export { d as t };
|
|
@@ -10,33 +10,33 @@ import '../styles/threaded-annotations2.css';var p = {
|
|
|
10
10
|
threadedAnnotations: "_threadedAnnotations_1dfb0_1",
|
|
11
11
|
expandable: "_expandable_1dfb0_10",
|
|
12
12
|
annotations: "_annotations_1dfb0_13"
|
|
13
|
-
}, m = ({ messages: r, isResolved: m = !1, resolvedBy: h, resolvedAt: g, onDelete: _, onThreadDelete: v, onAvatarClick: y, onEdit: b, onResolve: x, onUnresolve: S, onPost: C, onPostError: w, userSelectorProps: T, onEditorOpenChange: E, annotationTarget: D, onAnnotationBadgeClick: O }) => {
|
|
14
|
-
let { viewState:
|
|
13
|
+
}, m = ({ messages: r, isResolved: m = !1, resolvedBy: h, resolvedAt: g, onDelete: _, onThreadDelete: v, onAvatarClick: y, onEdit: b, onResolve: x, onUnresolve: S, onPost: C, onPostError: w, userSelectorProps: T, onEditorOpenChange: E, annotationTarget: D, onAnnotationBadgeClick: O, originalContentDeleted: k }) => {
|
|
14
|
+
let { viewState: A, dispatch: j, replyMention: M, isReplyDisabled: N, isAnnotations: P } = i(), F = u(null), I = A !== n.Collapsed, L = r.length > 2, R = A === n.Collapsed && (L || !N && !m);
|
|
15
15
|
l(() => {
|
|
16
|
-
E?.(
|
|
17
|
-
}, [
|
|
18
|
-
if (!
|
|
16
|
+
E?.(I);
|
|
17
|
+
}, [I, E]), l(() => {
|
|
18
|
+
if (!I) return;
|
|
19
19
|
let t = `[${Object.keys(e)[0]}]`, n = (e) => {
|
|
20
20
|
let n = e.target;
|
|
21
|
-
|
|
21
|
+
F.current?.contains(n) || document.querySelector(t)?.contains(n) || j({ type: "COLLAPSE" });
|
|
22
22
|
};
|
|
23
23
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
24
|
-
}, [
|
|
25
|
-
let
|
|
26
|
-
if (!
|
|
24
|
+
}, [I, j]);
|
|
25
|
+
let z = r.length === 0, B = c(() => j({ type: "CLEAR_MENTION" }), [j]), V = c((e) => {
|
|
26
|
+
if (!R) return;
|
|
27
27
|
let t = e.target;
|
|
28
|
-
!e.currentTarget.contains(t) || t.closest("[data-no-expand]") ||
|
|
29
|
-
}, [
|
|
30
|
-
return
|
|
28
|
+
!e.currentTarget.contains(t) || t.closest("[data-no-expand]") || j({ type: "EXPAND" });
|
|
29
|
+
}, [R, j]);
|
|
30
|
+
return P && z ? /* @__PURE__ */ d(t, {
|
|
31
31
|
onPost: C,
|
|
32
32
|
onPostError: w,
|
|
33
|
-
onPostSuccess:
|
|
33
|
+
onPostSuccess: B,
|
|
34
34
|
userSelectorProps: T,
|
|
35
35
|
isFirstAnnotation: !0
|
|
36
36
|
}) : /* @__PURE__ */ f("div", {
|
|
37
|
-
ref:
|
|
38
|
-
className: s(p.threadedAnnotations,
|
|
39
|
-
onClick:
|
|
37
|
+
ref: F,
|
|
38
|
+
className: s(p.threadedAnnotations, R && p.expandable, P && p.annotations),
|
|
39
|
+
onClick: R ? V : void 0,
|
|
40
40
|
children: [/* @__PURE__ */ d(a, {
|
|
41
41
|
messages: r,
|
|
42
42
|
isResolved: m,
|
|
@@ -49,12 +49,13 @@ import '../styles/threaded-annotations2.css';var p = {
|
|
|
49
49
|
onResolve: x,
|
|
50
50
|
onUnresolve: S,
|
|
51
51
|
annotationTarget: D,
|
|
52
|
-
onAnnotationBadgeClick: O
|
|
53
|
-
|
|
52
|
+
onAnnotationBadgeClick: O,
|
|
53
|
+
originalContentDeleted: k
|
|
54
|
+
}), A === n.Composing && /* @__PURE__ */ d(t, {
|
|
54
55
|
onPost: C,
|
|
55
56
|
onPostError: w,
|
|
56
|
-
onPostSuccess:
|
|
57
|
-
initialContent:
|
|
57
|
+
onPostSuccess: B,
|
|
58
|
+
initialContent: M ? o(M) : null,
|
|
58
59
|
userSelectorProps: T
|
|
59
60
|
})]
|
|
60
61
|
});
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { defineMessages as e } from "react-intl";
|
|
2
|
-
var t = e({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
var t = e({
|
|
3
|
+
annotationPage: {
|
|
4
|
+
id: "groupSharedFeatures.threadedAnnotations.annotationPage",
|
|
5
|
+
defaultMessage: "Page {number}"
|
|
6
|
+
},
|
|
7
|
+
originalContentDeleted: {
|
|
8
|
+
id: "groupSharedFeatures.threadedAnnotations.originalContentDeleted",
|
|
9
|
+
defaultMessage: "Original content was deleted"
|
|
10
|
+
}
|
|
11
|
+
});
|
|
6
12
|
export { t as default };
|
|
@@ -7,18 +7,18 @@ import { MessageRenderer as o } from "./subcomponents/message-renderer.js";
|
|
|
7
7
|
import s from "clsx";
|
|
8
8
|
import { useIntl as c } from "react-intl";
|
|
9
9
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
10
|
-
var d = ({ id: d, author: f, message: p, createdAt: m, permissions: h, showThreadedIndicator: g = !0, isResolved: _ = !1, isFirstMessage: v = !1, onAvatarClick: y, onDelete: b, onThreadDelete: x, onEdit: S, onResolve: C, onUnresolve: w, annotationTarget: T, onAnnotationBadgeClick: E }) => {
|
|
11
|
-
let { canResolve:
|
|
10
|
+
var d = ({ id: d, author: f, message: p, createdAt: m, permissions: h, showThreadedIndicator: g = !0, isResolved: _ = !1, isFirstMessage: v = !1, onAvatarClick: y, onDelete: b, onThreadDelete: x, onEdit: S, onResolve: C, onUnresolve: w, annotationTarget: T, onAnnotationBadgeClick: E, originalContentDeleted: D }) => {
|
|
11
|
+
let { canResolve: O, canEdit: k, canDelete: A } = h, j = c(), { dispatch: M, isReplyDisabled: N, isAnnotations: P } = e();
|
|
12
12
|
return /* @__PURE__ */ u("div", {
|
|
13
|
-
"aria-label":
|
|
13
|
+
"aria-label": j.formatMessage(r.annotationMessageAriaLabel),
|
|
14
14
|
className: i.textMessage,
|
|
15
15
|
"data-message-wrapper": !0,
|
|
16
16
|
children: [/* @__PURE__ */ l(n, {
|
|
17
17
|
author: f,
|
|
18
|
-
canResolve:
|
|
18
|
+
canResolve: O,
|
|
19
19
|
isResolved: _,
|
|
20
|
-
canDelete:
|
|
21
|
-
canEdit:
|
|
20
|
+
canDelete: A,
|
|
21
|
+
canEdit: k,
|
|
22
22
|
isFirstMessage: v,
|
|
23
23
|
onAvatarClick: y,
|
|
24
24
|
onDelete: () => b(d),
|
|
@@ -31,11 +31,12 @@ var d = ({ id: d, author: f, message: p, createdAt: m, permissions: h, showThrea
|
|
|
31
31
|
children: [/* @__PURE__ */ l("div", { className: s(i.threadedIndicator, !g && i.threadedIndicatorHidden) }), /* @__PURE__ */ u("div", {
|
|
32
32
|
className: i.messageContent,
|
|
33
33
|
children: [
|
|
34
|
-
T && !
|
|
34
|
+
T && !P && /* @__PURE__ */ l("div", {
|
|
35
35
|
className: i.annotationBadgeWrapper,
|
|
36
36
|
children: /* @__PURE__ */ l(t, {
|
|
37
37
|
annotationTarget: T,
|
|
38
|
-
onClick: () => E?.(d)
|
|
38
|
+
onClick: () => E?.(d),
|
|
39
|
+
originalContentDeleted: D
|
|
39
40
|
})
|
|
40
41
|
}),
|
|
41
42
|
/* @__PURE__ */ l("div", {
|
|
@@ -44,7 +45,7 @@ var d = ({ id: d, author: f, message: p, createdAt: m, permissions: h, showThrea
|
|
|
44
45
|
}),
|
|
45
46
|
/* @__PURE__ */ l(a, {
|
|
46
47
|
createdAt: m,
|
|
47
|
-
onReply:
|
|
48
|
+
onReply: N ? void 0 : () => M({
|
|
48
49
|
type: "REPLY",
|
|
49
50
|
author: f
|
|
50
51
|
})
|
package/dist/i18n/bn-IN.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "সংরক্ষণ হচ্ছে...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "মেসেজ এডিটর স্ক্রল কন্টেইনার",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "আরও বিকল্প বোতাম",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "উত্তর দিন",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "উত্তর বোতাম",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "সমাধান করুন",
|
package/dist/i18n/da-DK.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Gemmer...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Rulleområde i meddelelseseditor",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "'Flere valgmuligheder'-knap",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Svar",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Svar-knap",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Løs",
|
package/dist/i18n/de-DE.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Wird gespeichert …",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Scrollcontainer für den Nachrichten-Bearbeiter",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Schaltfläche „Weitere Optionen“",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Antworten",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Schaltfläche „Antworten“",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Gelöst",
|
package/dist/i18n/en-AU.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Saving...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Message editor scroll container",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "More options button",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Reply",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Reply button",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Resolve",
|
package/dist/i18n/en-CA.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Saving...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Message editor scroll container",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "More options button",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Reply",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Reply button",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Resolve",
|
package/dist/i18n/en-GB.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Saving...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Message editor scroll container",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "More options button",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Reply",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Reply button",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Resolve",
|
package/dist/i18n/en-US.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Saving...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Message editor scroll container",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "More options button",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Reply",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Reply button",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Resolve",
|
|
@@ -58,6 +58,8 @@ groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading = Saving...
|
|
|
58
58
|
groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel = Message editor scroll container
|
|
59
59
|
# Aria label for more options button in annotation message
|
|
60
60
|
groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel = More options button
|
|
61
|
+
# Tooltip shown when the annotation badge refers to deleted content
|
|
62
|
+
groupSharedFeatures.threadedAnnotations.originalContentDeleted = Original content was deleted
|
|
61
63
|
# Reply button text to start composing a reply
|
|
62
64
|
groupSharedFeatures.threadedAnnotations.reply = Reply
|
|
63
65
|
# Aria label for the reply button that opens the message editor
|
package/dist/i18n/en-x-pseudo.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "⟦萬萬 Ŝäνίиĝ... 國國⟧",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "⟦萬萬萬萬萬萬萬萬萬 Мεśşǻġė ęďïţôг śсѓôľļ ĉőйŧäįňéŕ 國國國國國國國國國⟧",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "⟦萬萬萬萬萬 Мόгė оΡţίōиŝ ьüŧţőʼn 國國國國國⟧",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "⟦萬 ŘεΡľÿ 國⟧",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "⟦萬萬萬 ΓёΡļŷ ьūŧτőη 國國國⟧",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "⟦萬萬 Řεŝŏĺνε 國國⟧",
|
package/dist/i18n/es-419.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Guardando…",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Contenedor de desplazamiento del editor de mensajes",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Botón Más opciones",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Responder",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Botón Responder",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Resolver",
|
package/dist/i18n/es-ES.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Guardando…",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Contenedor de desplazamiento del editor de mensajes",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Botón Más opciones",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Responder",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Botón Responder",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Resolver",
|
package/dist/i18n/fi-FI.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Tallennetaan...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Viestieditorin vierityssäiliö",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Lisää asetuksia -painike",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Vastaus",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Vastaa-painike",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Ratkaise",
|
package/dist/i18n/fr-CA.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Enregistrement en cours",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Conteneur de défilement de l’éditeur de message",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Bouton Plus d'options",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Répondre",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Bouton Répondre",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Résolu",
|
package/dist/i18n/fr-FR.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Enregistrement en cours",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Conteneur de défilement de l’éditeur de message",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Bouton Plus d'options",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Répondre",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Bouton Répondre",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Résolu",
|
package/dist/i18n/hi-IN.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "सहेजा जा रहा है...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "संदेश संपादक स्क्रॉल कंटेनर",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "अधिक विकल्प बटन",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "जवाब दें",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "उत्तर दें बटन",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "हल करें",
|
package/dist/i18n/it-IT.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Salvataggio in corso...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Contenitore di scorrimento dell’editor dei messaggi",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Pulsante Altre opzioni",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Rispondi",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Pulsante Rispondi",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Risolvi",
|
package/dist/i18n/ja-JP.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "保存しています...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "メッセージエディタのスクロールコンテナ",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "[その他のオプション] ボタン",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "返信",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "[返信] ボタン",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "対応済み",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"id":"groupSharedFeatures.threadedAnnotations.annotationPage","description":"Label showing the page number of an annotation target","defaultMessage":"Page {number}"}]
|
|
1
|
+
[{"id":"groupSharedFeatures.threadedAnnotations.annotationPage","description":"Label showing the page number of an annotation target","defaultMessage":"Page {number}"},{"id":"groupSharedFeatures.threadedAnnotations.originalContentDeleted","description":"Tooltip shown when the annotation badge refers to deleted content","defaultMessage":"Original content was deleted"}]
|
package/dist/i18n/ko-KR.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "저장 중...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "메시지 편집기 스크롤 컨테이너",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "추가 옵션 버튼",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "답글",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "답글 버튼",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "해결",
|
package/dist/i18n/nb-NO.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Lagrer ...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Rullebeholder for meldingsredaktør",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Knapp for flere alternativer",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Svar",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Svar-knapp",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Avklar",
|
package/dist/i18n/nl-NL.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Wordt opgeslagen …",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Scrolcontainer berichteneditor",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Knop Meer opties",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Beantwoorden",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Knop Beantwoorden",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Oplossen",
|
package/dist/i18n/pl-PL.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Trwa zapisywanie...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Kontener przewijania edytora wiadomości",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Przycisk większej liczby opcji",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Odpowiedz",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Przycisk odpowiedzi",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Rozstrzygnij",
|
package/dist/i18n/pt-BR.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Salvando...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Contêiner de rolagem do editor de mensagens",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Botão Mais opções",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Responder",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Botão Responder",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Resolver",
|
package/dist/i18n/ru-RU.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Сохранение...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Контейнер прокрутки редактора сообщений",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Кнопка дополнительных параметров",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Ответить",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Кнопка ответа",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Разрешить",
|
package/dist/i18n/sv-SE.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Sparar ...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Skrollbar behållare för meddelanderedaktör",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Knappen fler alternativ",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Svara",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Knappen Svara",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Löst",
|
package/dist/i18n/tr-TR.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "Kaydediliyor...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "Mesaj düzenleyici kaydırma konteyneri",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "Diğer seçenekler düğmesi",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "Yanıtla",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "Yanıtla düğmesi",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "Çöz",
|
package/dist/i18n/zh-CN.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "正在保存...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "消息编辑器滚动容器",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "更多选项按钮",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "回复",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "回复按钮",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "解决",
|
package/dist/i18n/zh-TW.js
CHANGED
|
@@ -29,6 +29,7 @@ export default {
|
|
|
29
29
|
"groupSharedFeatures.threadedAnnotations.messageEditor.saveLoading": "儲存中...",
|
|
30
30
|
"groupSharedFeatures.threadedAnnotations.messageEditor.scrollContainerAriaLabel": "訊息編輯者捲動容器",
|
|
31
31
|
"groupSharedFeatures.threadedAnnotations.moreOptionsAriaLabel": "更多選項按鈕",
|
|
32
|
+
"groupSharedFeatures.threadedAnnotations.originalContentDeleted": "Original content was deleted",
|
|
32
33
|
"groupSharedFeatures.threadedAnnotations.reply": "回覆",
|
|
33
34
|
"groupSharedFeatures.threadedAnnotations.replyButtonAriaLabel": "回覆按鈕",
|
|
34
35
|
"groupSharedFeatures.threadedAnnotations.resolveButtonAriaLabel": "已回覆",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._annotationBadge_1610p_1{background-color:var(--bp-box-blue-opacity-08);border-radius:var(--radius-1);box-sizing:border-box;cursor:pointer;align-items:center;gap:var(--space-1);min-width:0;max-width:100%;padding-left:var(--space-05);padding-right:var(--space-1);display:flex;overflow:hidden}._annotationIcon_1610p_16{flex-shrink:0;align-items:center;display:inline-flex}._highlightText_1610p_22{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}._highlightText_1610p_22._highlightText_1610p_22{font-style:italic}._annotationLabel_1610p_34{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}._disabled_1610p_42{background-color:var(--gray-10);cursor:default}._focusableWrapper_1610p_47{min-width:0;max-width:100%;overflow:hidden}._tooltipContent_1610p_53{white-space:nowrap;max-width:none}
|
|
@@ -2,6 +2,7 @@ import { AnnotationBadgeTargetType } from '../../../v2/types';
|
|
|
2
2
|
interface AnnotationBadgeProps {
|
|
3
3
|
annotationTarget: AnnotationBadgeTargetType;
|
|
4
4
|
onClick?: () => void;
|
|
5
|
+
originalContentDeleted?: boolean;
|
|
5
6
|
}
|
|
6
|
-
export declare const AnnotationBadge: ({ annotationTarget, onClick }: AnnotationBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const AnnotationBadge: ({ annotationTarget, onClick, originalContentDeleted }: AnnotationBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -13,5 +13,6 @@ export interface MessagesViewProps {
|
|
|
13
13
|
onUnresolve?: (id: string) => void;
|
|
14
14
|
annotationTarget?: AnnotationBadgeTargetType;
|
|
15
15
|
onAnnotationBadgeClick?: (id: string) => void;
|
|
16
|
+
originalContentDeleted?: boolean;
|
|
16
17
|
}
|
|
17
|
-
export declare const MessagesView: ({ messages, isResolved, resolvedBy, resolvedAt, onDelete, onThreadDelete, onAvatarClick, onEdit, onResolve, onUnresolve, annotationTarget, onAnnotationBadgeClick, }: MessagesViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const MessagesView: ({ messages, isResolved, resolvedBy, resolvedAt, onDelete, onThreadDelete, onAvatarClick, onEdit, onResolve, onUnresolve, annotationTarget, onAnnotationBadgeClick, originalContentDeleted, }: MessagesViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,6 +15,7 @@ export interface TextMessageProps extends TextMessageType {
|
|
|
15
15
|
onUnresolve?: (id: string) => void;
|
|
16
16
|
annotationTarget?: AnnotationBadgeTargetType;
|
|
17
17
|
onAnnotationBadgeClick?: (id: string) => void;
|
|
18
|
+
originalContentDeleted?: boolean;
|
|
18
19
|
}
|
|
19
20
|
/**
|
|
20
21
|
* Renders a single message within a text thread.
|
|
@@ -23,4 +24,4 @@ export interface TextMessageProps extends TextMessageType {
|
|
|
23
24
|
* the message content itself, a relative timestamp, and providing a mechanism
|
|
24
25
|
* for deleting the message.
|
|
25
26
|
*/
|
|
26
|
-
export declare const TextMessage: ({ id, author, message, createdAt, permissions, showThreadedIndicator, isResolved, isFirstMessage, onAvatarClick, onDelete, onThreadDelete, onEdit, onResolve, onUnresolve, annotationTarget, onAnnotationBadgeClick, }: TextMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const TextMessage: ({ id, author, message, createdAt, permissions, showThreadedIndicator, isResolved, isFirstMessage, onAvatarClick, onDelete, onThreadDelete, onEdit, onResolve, onUnresolve, annotationTarget, onAnnotationBadgeClick, originalContentDeleted, }: TextMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,6 +15,7 @@ type InteractiveModuleProps = (InteractiveModuleBaseProps & {
|
|
|
15
15
|
isAnnotations?: false;
|
|
16
16
|
annotationTarget?: AnnotationBadgeTargetType;
|
|
17
17
|
onAnnotationBadgeClick?: (id: string) => void;
|
|
18
|
+
originalContentDeleted?: boolean;
|
|
18
19
|
});
|
|
19
20
|
export declare const InteractiveModule: (props: InteractiveModuleProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
21
|
export interface StaticMentionModuleProps {
|
|
@@ -30,12 +30,15 @@ interface AnnotationModeProps extends ThreadedAnnotationsBaseProps {
|
|
|
30
30
|
isAnnotations: true;
|
|
31
31
|
annotationTarget?: never;
|
|
32
32
|
onAnnotationBadgeClick?: never;
|
|
33
|
+
originalContentDeleted?: never;
|
|
33
34
|
}
|
|
34
35
|
interface CommentModeProps extends ThreadedAnnotationsBaseProps {
|
|
35
36
|
isAnnotations?: false;
|
|
36
37
|
annotationTarget?: AnnotationBadgeTargetType;
|
|
37
38
|
/** Called when the annotation badge is clicked. Receives the root message id. */
|
|
38
39
|
onAnnotationBadgeClick?: (id: string) => void;
|
|
40
|
+
/** When true, renders the badge in a disabled (grayed) state with a tooltip. */
|
|
41
|
+
originalContentDeleted?: boolean;
|
|
39
42
|
}
|
|
40
43
|
export type ThreadedAnnotationsProps = AnnotationModeProps | CommentModeProps;
|
|
41
44
|
export declare const ThreadedAnnotations: (props: ThreadedAnnotationsProps) => import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/threaded-annotations",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.84.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@tanstack/react-virtual": "^3.10.8",
|
|
@@ -16,23 +16,23 @@
|
|
|
16
16
|
"uuid": "^9.0.1"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@box/blueprint-web": "^14.21.
|
|
20
|
-
"@box/blueprint-web-assets": "^4.115.
|
|
21
|
-
"@box/collaboration-popover": "^1.61.
|
|
22
|
-
"@box/readable-time": "^1.40.
|
|
23
|
-
"@box/user-selector": "^1.75.
|
|
19
|
+
"@box/blueprint-web": "^14.21.1",
|
|
20
|
+
"@box/blueprint-web-assets": "^4.115.8",
|
|
21
|
+
"@box/collaboration-popover": "^1.61.12",
|
|
22
|
+
"@box/readable-time": "^1.40.12",
|
|
23
|
+
"@box/user-selector": "^1.75.12",
|
|
24
24
|
"clsx": "^1.2.1",
|
|
25
25
|
"react": "^18.0.0",
|
|
26
26
|
"react-dom": "^18.0.0",
|
|
27
27
|
"react-intl": "^6.4.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@box/blueprint-web": "^14.21.
|
|
31
|
-
"@box/blueprint-web-assets": "^4.115.
|
|
30
|
+
"@box/blueprint-web": "^14.21.1",
|
|
31
|
+
"@box/blueprint-web-assets": "^4.115.8",
|
|
32
32
|
"@box/eslint-plugin-blueprint": "1.1.18",
|
|
33
|
-
"@box/readable-time": "^1.40.
|
|
34
|
-
"@box/storybook-utils": "^0.18.
|
|
35
|
-
"@box/user-selector": "^1.75.
|
|
33
|
+
"@box/readable-time": "^1.40.12",
|
|
34
|
+
"@box/storybook-utils": "^0.18.8",
|
|
35
|
+
"@box/user-selector": "^1.75.12",
|
|
36
36
|
"react": "^18.0.0",
|
|
37
37
|
"react-dom": "^18.0.0"
|
|
38
38
|
},
|