@omnia/fx 8.0.353-dev → 8.0.355-dev
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/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/post/Post.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/securitytrimmer/SecurityTrimmer.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/social/Comment.d.ts +12 -278
- package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +10 -155
- package/internal-do-not-import-from-here/ux/social/templates/LikeListingTemplate.d.ts +8 -73
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/richtexteditorrenderer/IRichTextEditorRenderer.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/richtexteditorrenderer/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/social/templates/ILikeListingTemplate.d.ts +0 -0
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts
CHANGED
@@ -98,9 +98,9 @@ declare const _default: {
|
|
98
98
|
container?: boolean;
|
99
99
|
colorSchemaType?: "background" | "primary" | "secondary" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6" | "accent7" | "accent8" | "accent9" | "neutral" | "warning" | "notification" | "error" | "info" | "success" | "dynamic" | import("@omnia/fx-models").ColorSchemaTypes;
|
100
100
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
101
|
+
alternativeContent?: JSX.Element;
|
101
102
|
settingsKey?: any;
|
102
103
|
multilingualtitle?: string | MultilingualString;
|
103
|
-
alternativeContent?: JSX.Element;
|
104
104
|
}>, never>;
|
105
105
|
};
|
106
106
|
export default _default;
|
@@ -52,5 +52,5 @@ declare const _default: <TItem extends readonly any[], TModel extends unknown>(p
|
|
52
52
|
"v-slots"?: {} & Omit<{
|
53
53
|
default?: import("vue").Slot;
|
54
54
|
}, never>;
|
55
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "omniaServiceId" | "provider" | "styles" | "richTextSettings" | "
|
55
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "omniaServiceId" | "provider" | "styles" | "richTextSettings" | "enableMention" | "editContentOnTop" | "postTypeId" | "showMoreSize" | "cardStyle" | "allowLikes" | "customSlots" | "hideEditOption" | "getTopPostIds" | "getUserHash" | "topicPermissionDictionary"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
56
56
|
export default _default;
|
@@ -47,8 +47,8 @@ declare const _default: <TItem extends readonly any[], TModel extends unknown>(p
|
|
47
47
|
[topicId: string]: PostPermission;
|
48
48
|
};
|
49
49
|
} & DefineEmit<"openReply", (postToReplyOn: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => void> & DefineEmit<"cancelReply", (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => void> & DefineEmit<"openEdit", (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => void> & DefineEmit<"closeEdit", (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => void> & DefineEmit<"refresh", (addedPost: boolean) => void>> & {
|
50
|
-
onOpenReply?: (postToReplyOn: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => any;
|
51
50
|
onCancelReply?: (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => any;
|
51
|
+
onOpenReply?: (postToReplyOn: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => any;
|
52
52
|
onRefresh?: (addedPost: boolean) => any;
|
53
53
|
onOpenEdit?: (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => any;
|
54
54
|
onCloseEdit?: (post: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => any;
|
@@ -56,5 +56,5 @@ declare const _default: <TItem extends readonly any[], TModel extends unknown>(p
|
|
56
56
|
"v-slots"?: {} & Omit<{
|
57
57
|
default?: import("vue").Slot;
|
58
58
|
}, never>;
|
59
|
-
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "currentUser" | "richTextSettings" | "canShowEditDialogOnLoad" | "canLike" | "
|
59
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "currentUser" | "richTextSettings" | "canShowEditDialogOnLoad" | "canLike" | "hideEdit" | "emit:openReply" | "emit:cancelReply" | "emit:refresh" | "enableMention" | "cardStyle" | "customSlots" | "hideEditOption" | "getTopPostIds" | "getUserHash" | "topicPermissionDictionary" | "persistedPost" | "persistedPosts" | "handleAddingPost" | "handleUpdatingPost" | "handleDeletingPost" | "handleTogglingLike" | "handleSocialReacts" | "emit:openEdit" | "emit:closeEdit"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
60
60
|
export default _default;
|
@@ -134,11 +134,11 @@ declare const _default: {
|
|
134
134
|
default?: import("../DefineVueTypings").Slot;
|
135
135
|
} & SecurityTrimmerSlots;
|
136
136
|
colors?: import("@omnia/fx/ux").ColorSchemaStoreType;
|
137
|
+
excludedRoles?: guid[];
|
138
|
+
clearCacheAndRetryIfUnauthorized?: boolean;
|
137
139
|
contextParams?: {
|
138
140
|
[key: string]: string | number;
|
139
141
|
};
|
140
|
-
excludedRoles?: guid[];
|
141
|
-
clearCacheAndRetryIfUnauthorized?: boolean;
|
142
142
|
}>, never>;
|
143
143
|
};
|
144
144
|
export default _default;
|
@@ -1,281 +1,15 @@
|
|
1
|
-
import { CommentLikeTemplateDynamicInput } from "@omnia/fx/ux";
|
2
|
-
import { Comment, OmitProperties,
|
1
|
+
import { CommentLikeTemplateDynamicInput, DefineProp } from "@omnia/fx/ux";
|
2
|
+
import { Comment, OmitProperties, guid, ColorValue } from "../../models";
|
3
|
+
import { CommentStyles } from "..";
|
3
4
|
import { IRichTextEditor } from "../richtexteditor";
|
4
5
|
import { CommentSorting } from "../../models/Social";
|
5
|
-
declare const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
};
|
15
|
-
readOnly: {
|
16
|
-
type: import("vue").PropType<boolean>;
|
17
|
-
};
|
18
|
-
hideEdit: {
|
19
|
-
type: import("vue").PropType<boolean>;
|
20
|
-
required: false;
|
21
|
-
};
|
22
|
-
cardStyle: {
|
23
|
-
type: import("vue").PropType<LegacyThemeDefinition>;
|
24
|
-
};
|
25
|
-
allowLikes: {
|
26
|
-
type: import("vue").PropType<boolean>;
|
27
|
-
};
|
28
|
-
sortOrder: {
|
29
|
-
type: import("vue").PropType<CommentSorting>;
|
30
|
-
};
|
31
|
-
additionalRoles: {
|
32
|
-
type: import("vue").PropType<string[]>;
|
33
|
-
};
|
34
|
-
styles: {
|
35
|
-
type: import("vue").PropType<{
|
36
|
-
commentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
37
|
-
commentWrapperDialog?: import("typestyle/lib/types").NestedCSSProperties;
|
38
|
-
commentCountWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
39
|
-
replyCommentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
40
|
-
showMoreExtraSpacingReply?: import("typestyle/lib/types").NestedCSSProperties;
|
41
|
-
showMoreExtraSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
42
|
-
topCommentAvatarWrapper?: (isRightToLeft: boolean) => import("typestyle/lib/types").NestedCSSProperties;
|
43
|
-
replyCommentAvatarWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
44
|
-
connectLine?: import("typestyle/lib/types").NestedCSSProperties;
|
45
|
-
topCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
46
|
-
repliedCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
47
|
-
slimSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
48
|
-
smallBadge?: import("typestyle/lib/types").NestedCSSProperties;
|
49
|
-
commentEditor?: import("typestyle/lib/types").NestedCSSProperties;
|
50
|
-
}>;
|
51
|
-
};
|
52
|
-
dynamicInput: {
|
53
|
-
type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
|
54
|
-
};
|
55
|
-
canMarkBestReply: {
|
56
|
-
type: import("vue").PropType<boolean>;
|
57
|
-
};
|
58
|
-
enableMention: {
|
59
|
-
type: import("vue").PropType<boolean>;
|
60
|
-
};
|
61
|
-
enableBestReply: {
|
62
|
-
type: import("vue").PropType<boolean>;
|
63
|
-
};
|
64
|
-
richTextSettings: {
|
65
|
-
type: import("vue").PropType<OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">>;
|
66
|
-
};
|
67
|
-
topicId: {
|
68
|
-
type: import("vue").PropType<string>;
|
69
|
-
};
|
70
|
-
comments: {
|
71
|
-
type: import("vue").PropType<Comment[]>;
|
72
|
-
};
|
73
|
-
template: {
|
74
|
-
type: import("vue").PropType<string>;
|
75
|
-
required: false;
|
76
|
-
};
|
77
|
-
showMoreSize: {
|
78
|
-
type: import("vue").PropType<number>;
|
79
|
-
required: false;
|
80
|
-
};
|
81
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
82
|
-
P: {};
|
83
|
-
B: {};
|
84
|
-
D: {};
|
85
|
-
C: {};
|
86
|
-
M: {};
|
87
|
-
Defaults: {};
|
88
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
89
|
-
contextParams: {
|
90
|
-
type: import("vue").PropType<{
|
91
|
-
[key: string]: string | number;
|
92
|
-
}>;
|
93
|
-
};
|
94
|
-
hideTotalNumber: {
|
95
|
-
type: import("vue").PropType<boolean>;
|
96
|
-
};
|
97
|
-
readOnly: {
|
98
|
-
type: import("vue").PropType<boolean>;
|
99
|
-
};
|
100
|
-
hideEdit: {
|
101
|
-
type: import("vue").PropType<boolean>;
|
102
|
-
required: false;
|
103
|
-
};
|
104
|
-
cardStyle: {
|
105
|
-
type: import("vue").PropType<LegacyThemeDefinition>;
|
106
|
-
};
|
107
|
-
allowLikes: {
|
108
|
-
type: import("vue").PropType<boolean>;
|
109
|
-
};
|
110
|
-
sortOrder: {
|
111
|
-
type: import("vue").PropType<CommentSorting>;
|
112
|
-
};
|
113
|
-
additionalRoles: {
|
114
|
-
type: import("vue").PropType<string[]>;
|
115
|
-
};
|
116
|
-
styles: {
|
117
|
-
type: import("vue").PropType<{
|
118
|
-
commentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
119
|
-
commentWrapperDialog?: import("typestyle/lib/types").NestedCSSProperties;
|
120
|
-
commentCountWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
121
|
-
replyCommentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
122
|
-
showMoreExtraSpacingReply?: import("typestyle/lib/types").NestedCSSProperties;
|
123
|
-
showMoreExtraSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
124
|
-
topCommentAvatarWrapper?: (isRightToLeft: boolean) => import("typestyle/lib/types").NestedCSSProperties;
|
125
|
-
replyCommentAvatarWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
126
|
-
connectLine?: import("typestyle/lib/types").NestedCSSProperties;
|
127
|
-
topCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
128
|
-
repliedCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
129
|
-
slimSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
130
|
-
smallBadge?: import("typestyle/lib/types").NestedCSSProperties;
|
131
|
-
commentEditor?: import("typestyle/lib/types").NestedCSSProperties;
|
132
|
-
}>;
|
133
|
-
};
|
134
|
-
dynamicInput: {
|
135
|
-
type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
|
136
|
-
};
|
137
|
-
canMarkBestReply: {
|
138
|
-
type: import("vue").PropType<boolean>;
|
139
|
-
};
|
140
|
-
enableMention: {
|
141
|
-
type: import("vue").PropType<boolean>;
|
142
|
-
};
|
143
|
-
enableBestReply: {
|
144
|
-
type: import("vue").PropType<boolean>;
|
145
|
-
};
|
146
|
-
richTextSettings: {
|
147
|
-
type: import("vue").PropType<OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">>;
|
148
|
-
};
|
149
|
-
topicId: {
|
150
|
-
type: import("vue").PropType<string>;
|
151
|
-
};
|
152
|
-
comments: {
|
153
|
-
type: import("vue").PropType<Comment[]>;
|
154
|
-
};
|
155
|
-
template: {
|
156
|
-
type: import("vue").PropType<string>;
|
157
|
-
required: false;
|
158
|
-
};
|
159
|
-
showMoreSize: {
|
160
|
-
type: import("vue").PropType<number>;
|
161
|
-
required: false;
|
162
|
-
};
|
163
|
-
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
164
|
-
__isFragment?: never;
|
165
|
-
__isTeleport?: never;
|
166
|
-
__isSuspense?: never;
|
167
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
168
|
-
contextParams: {
|
169
|
-
type: import("vue").PropType<{
|
170
|
-
[key: string]: string | number;
|
171
|
-
}>;
|
172
|
-
};
|
173
|
-
hideTotalNumber: {
|
174
|
-
type: import("vue").PropType<boolean>;
|
175
|
-
};
|
176
|
-
readOnly: {
|
177
|
-
type: import("vue").PropType<boolean>;
|
178
|
-
};
|
179
|
-
hideEdit: {
|
180
|
-
type: import("vue").PropType<boolean>;
|
181
|
-
required: false;
|
182
|
-
};
|
183
|
-
cardStyle: {
|
184
|
-
type: import("vue").PropType<LegacyThemeDefinition>;
|
185
|
-
};
|
186
|
-
allowLikes: {
|
187
|
-
type: import("vue").PropType<boolean>;
|
188
|
-
};
|
189
|
-
sortOrder: {
|
190
|
-
type: import("vue").PropType<CommentSorting>;
|
191
|
-
};
|
192
|
-
additionalRoles: {
|
193
|
-
type: import("vue").PropType<string[]>;
|
194
|
-
};
|
195
|
-
styles: {
|
196
|
-
type: import("vue").PropType<{
|
197
|
-
commentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
198
|
-
commentWrapperDialog?: import("typestyle/lib/types").NestedCSSProperties;
|
199
|
-
commentCountWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
200
|
-
replyCommentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
201
|
-
showMoreExtraSpacingReply?: import("typestyle/lib/types").NestedCSSProperties;
|
202
|
-
showMoreExtraSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
203
|
-
topCommentAvatarWrapper?: (isRightToLeft: boolean) => import("typestyle/lib/types").NestedCSSProperties;
|
204
|
-
replyCommentAvatarWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
205
|
-
connectLine?: import("typestyle/lib/types").NestedCSSProperties;
|
206
|
-
topCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
207
|
-
repliedCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
208
|
-
slimSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
209
|
-
smallBadge?: import("typestyle/lib/types").NestedCSSProperties;
|
210
|
-
commentEditor?: import("typestyle/lib/types").NestedCSSProperties;
|
211
|
-
}>;
|
212
|
-
};
|
213
|
-
dynamicInput: {
|
214
|
-
type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
|
215
|
-
};
|
216
|
-
canMarkBestReply: {
|
217
|
-
type: import("vue").PropType<boolean>;
|
218
|
-
};
|
219
|
-
enableMention: {
|
220
|
-
type: import("vue").PropType<boolean>;
|
221
|
-
};
|
222
|
-
enableBestReply: {
|
223
|
-
type: import("vue").PropType<boolean>;
|
224
|
-
};
|
225
|
-
richTextSettings: {
|
226
|
-
type: import("vue").PropType<OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">>;
|
227
|
-
};
|
228
|
-
topicId: {
|
229
|
-
type: import("vue").PropType<string>;
|
230
|
-
};
|
231
|
-
comments: {
|
232
|
-
type: import("vue").PropType<Comment[]>;
|
233
|
-
};
|
234
|
-
template: {
|
235
|
-
type: import("vue").PropType<string>;
|
236
|
-
required: false;
|
237
|
-
};
|
238
|
-
showMoreSize: {
|
239
|
-
type: import("vue").PropType<number>;
|
240
|
-
required: false;
|
241
|
-
};
|
242
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
243
|
-
propsDefinition: Omit<Readonly<{} & {
|
244
|
-
template?: string;
|
245
|
-
styles?: {
|
246
|
-
commentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
247
|
-
commentWrapperDialog?: import("typestyle/lib/types").NestedCSSProperties;
|
248
|
-
commentCountWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
249
|
-
replyCommentWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
250
|
-
showMoreExtraSpacingReply?: import("typestyle/lib/types").NestedCSSProperties;
|
251
|
-
showMoreExtraSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
252
|
-
topCommentAvatarWrapper?: (isRightToLeft: boolean) => import("typestyle/lib/types").NestedCSSProperties;
|
253
|
-
replyCommentAvatarWrapper?: import("typestyle/lib/types").NestedCSSProperties;
|
254
|
-
connectLine?: import("typestyle/lib/types").NestedCSSProperties;
|
255
|
-
topCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
256
|
-
repliedCommentShowMoreAction?: import("typestyle/lib/types").NestedCSSProperties;
|
257
|
-
slimSpacing?: import("typestyle/lib/types").NestedCSSProperties;
|
258
|
-
smallBadge?: import("typestyle/lib/types").NestedCSSProperties;
|
259
|
-
commentEditor?: import("typestyle/lib/types").NestedCSSProperties;
|
260
|
-
};
|
261
|
-
richTextSettings?: OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">;
|
262
|
-
dynamicInput?: CommentLikeTemplateDynamicInput;
|
263
|
-
additionalRoles?: string[];
|
264
|
-
cardStyle?: LegacyThemeDefinition;
|
265
|
-
hideEdit?: boolean;
|
266
|
-
readOnly?: boolean;
|
267
|
-
topicId?: string;
|
268
|
-
enableMention?: boolean;
|
269
|
-
comments?: Comment[];
|
270
|
-
contextParams?: {
|
271
|
-
[key: string]: string | number;
|
272
|
-
};
|
273
|
-
showMoreSize?: number;
|
274
|
-
allowLikes?: boolean;
|
275
|
-
enableBestReply?: boolean;
|
276
|
-
canMarkBestReply?: boolean;
|
277
|
-
sortOrder?: CommentSorting;
|
278
|
-
hideTotalNumber?: boolean;
|
279
|
-
}>, never>;
|
280
|
-
};
|
6
|
+
declare const defaultTemplate: guid;
|
7
|
+
type CommentProps = DefineProp<"showMoreSize", number, false, 10> & DefineProp<"template", guid, false, typeof defaultTemplate> & DefineProp<"comments", Array<Comment>> & DefineProp<"topicId", string> & DefineProp<"richTextSettings", OmitProperties<IRichTextEditor, "initialContent" | "onContentChange">> & DefineProp<"enableBestReply", boolean> & DefineProp<"enableMention", boolean> & DefineProp<"canMarkBestReply", boolean> & DefineProp<"dynamicInput", CommentLikeTemplateDynamicInput> & DefineProp<"styles", typeof CommentStyles> & DefineProp<"additionalRoles", Array<string>> & DefineProp<"sortOrder", CommentSorting> & DefineProp<"allowLikes", boolean> & DefineProp<"backgroundColor", ColorValue> & DefineProp<"foregroundColor", ColorValue> & DefineProp<"textColor", ColorValue> & DefineProp<"hideEdit", boolean> & DefineProp<"readOnly", boolean> & DefineProp<"hideReply", boolean> & DefineProp<"hideTotalNumber", boolean> & DefineProp<"hideLike", boolean> & DefineProp<"contextParams", {
|
8
|
+
[key: string]: string | number;
|
9
|
+
}>;
|
10
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<CommentProps> & {} & {
|
11
|
+
"v-slots"?: {} & Omit<{
|
12
|
+
default?: import("vue").Slot;
|
13
|
+
}, never>;
|
14
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "backgroundColor" | "textColor" | "template" | "styles" | "richTextSettings" | "dynamicInput" | "additionalRoles" | "foregroundColor" | "hideEdit" | "readOnly" | "topicId" | "contextParams" | "enableMention" | "comments" | "showMoreSize" | "allowLikes" | "enableBestReply" | "canMarkBestReply" | "sortOrder" | "hideReply" | "hideTotalNumber" | "hideLike"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
281
15
|
export default _default;
|
@@ -1,164 +1,19 @@
|
|
1
|
+
import { DefineEmit, DefineProp } from "@omnia/fx/ux";
|
1
2
|
import { ICommentLikeService } from "../../../stores";
|
2
|
-
import { type Comment, type CommentLikeTemplateSettings, ResolvedUserIdentity,
|
3
|
+
import { type Comment, type CommentLikeTemplateSettings, ResolvedUserIdentity, guid, ColorValue } from "../../../models";
|
3
4
|
export interface CommentLikeTemplateDynamicInput {
|
4
5
|
service: ICommentLikeService;
|
5
6
|
likeListingTemplate?: string;
|
6
7
|
dateFormat?: string | "social";
|
7
8
|
}
|
8
|
-
|
9
|
-
|
10
|
-
readOnly: {
|
11
|
-
type: import("vue").PropType<boolean>;
|
12
|
-
};
|
13
|
-
hideEdit: {
|
14
|
-
type: import("vue").PropType<boolean>;
|
15
|
-
required: false;
|
16
|
-
};
|
17
|
-
cardStyle: {
|
18
|
-
type: import("vue").PropType<LegacyThemeDefinition>;
|
19
|
-
};
|
20
|
-
additionalRoles: {
|
21
|
-
type: import("vue").PropType<guid[]>;
|
22
|
-
};
|
23
|
-
canLike: {
|
24
|
-
type: import("vue").PropType<boolean>;
|
25
|
-
};
|
26
|
-
canShowEditDialogOnLoad: {
|
27
|
-
type: import("vue").PropType<boolean>;
|
28
|
-
};
|
29
|
-
currentUser: {
|
30
|
-
type: import("vue").PropType<ResolvedUserIdentity>;
|
31
|
-
};
|
32
|
-
templateSettings: {
|
33
|
-
type: import("vue").PropType<CommentLikeTemplateSettings>;
|
34
|
-
};
|
35
|
-
dynamicInput: {
|
36
|
-
type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
|
37
|
-
};
|
38
|
-
comment: {
|
39
|
-
type: import("vue").PropType<Comment>;
|
40
|
-
};
|
41
|
-
}>> & {
|
42
|
-
onDoc$?: (description?: string) => any;
|
43
|
-
onOpenReply?: (commentToReplyOn: Comment) => any;
|
44
|
-
onCancelReply?: (comment: Comment) => any;
|
45
|
-
onRefresh?: (addedComment: boolean) => any;
|
46
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
47
|
-
refresh: (addedComment: boolean) => void;
|
48
|
-
doc$(description?: string): {
|
49
|
-
refresh: (addedComment: boolean) => void;
|
50
|
-
};
|
51
|
-
cancelReply: (comment: Comment) => void;
|
52
|
-
openReply: (commentToReplyOn: Comment) => Comment;
|
53
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
54
|
-
P: {};
|
55
|
-
B: {};
|
56
|
-
D: {};
|
57
|
-
C: {};
|
58
|
-
M: {};
|
59
|
-
Defaults: {};
|
60
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
61
|
-
readOnly: {
|
62
|
-
type: import("vue").PropType<boolean>;
|
63
|
-
};
|
64
|
-
hideEdit: {
|
65
|
-
type: import("vue").PropType<boolean>;
|
66
|
-
required: false;
|
67
|
-
};
|
68
|
-
cardStyle: {
|
69
|
-
type: import("vue").PropType<LegacyThemeDefinition>;
|
70
|
-
};
|
71
|
-
additionalRoles: {
|
72
|
-
type: import("vue").PropType<guid[]>;
|
73
|
-
};
|
74
|
-
canLike: {
|
75
|
-
type: import("vue").PropType<boolean>;
|
76
|
-
};
|
77
|
-
canShowEditDialogOnLoad: {
|
78
|
-
type: import("vue").PropType<boolean>;
|
79
|
-
};
|
80
|
-
currentUser: {
|
81
|
-
type: import("vue").PropType<ResolvedUserIdentity>;
|
82
|
-
};
|
83
|
-
templateSettings: {
|
84
|
-
type: import("vue").PropType<CommentLikeTemplateSettings>;
|
85
|
-
};
|
86
|
-
dynamicInput: {
|
87
|
-
type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
|
88
|
-
};
|
89
|
-
comment: {
|
90
|
-
type: import("vue").PropType<Comment>;
|
91
|
-
};
|
92
|
-
}>> & {
|
93
|
-
onDoc$?: (description?: string) => any;
|
94
|
-
onOpenReply?: (commentToReplyOn: Comment) => any;
|
95
|
-
onCancelReply?: (comment: Comment) => any;
|
96
|
-
onRefresh?: (addedComment: boolean) => any;
|
97
|
-
}, () => JSX.Element, {}, {}, {}, {}>;
|
98
|
-
__isFragment?: never;
|
99
|
-
__isTeleport?: never;
|
100
|
-
__isSuspense?: never;
|
101
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
102
|
-
readOnly: {
|
103
|
-
type: import("vue").PropType<boolean>;
|
104
|
-
};
|
105
|
-
hideEdit: {
|
106
|
-
type: import("vue").PropType<boolean>;
|
107
|
-
required: false;
|
108
|
-
};
|
109
|
-
cardStyle: {
|
110
|
-
type: import("vue").PropType<LegacyThemeDefinition>;
|
111
|
-
};
|
112
|
-
additionalRoles: {
|
113
|
-
type: import("vue").PropType<guid[]>;
|
114
|
-
};
|
115
|
-
canLike: {
|
116
|
-
type: import("vue").PropType<boolean>;
|
117
|
-
};
|
118
|
-
canShowEditDialogOnLoad: {
|
119
|
-
type: import("vue").PropType<boolean>;
|
120
|
-
};
|
121
|
-
currentUser: {
|
122
|
-
type: import("vue").PropType<ResolvedUserIdentity>;
|
123
|
-
};
|
124
|
-
templateSettings: {
|
125
|
-
type: import("vue").PropType<CommentLikeTemplateSettings>;
|
126
|
-
};
|
127
|
-
dynamicInput: {
|
128
|
-
type: import("vue").PropType<CommentLikeTemplateDynamicInput>;
|
129
|
-
};
|
130
|
-
comment: {
|
131
|
-
type: import("vue").PropType<Comment>;
|
132
|
-
};
|
133
|
-
}>> & {
|
134
|
-
onDoc$?: (description?: string) => any;
|
135
|
-
onOpenReply?: (commentToReplyOn: Comment) => any;
|
9
|
+
type CommentLikeTemplateProps = DefineProp<"comment", Comment> & DefineProp<"dynamicInput", CommentLikeTemplateDynamicInput> & DefineProp<"templateSettings", CommentLikeTemplateSettings> & DefineProp<"currentUser", ResolvedUserIdentity> & DefineProp<"canShowEditDialogOnLoad", boolean> & DefineProp<"canLike", boolean> & DefineProp<"additionalRoles", Array<guid>> & DefineProp<"backgroundColor", ColorValue> & DefineProp<"foregroundColor", ColorValue> & DefineProp<"textColor", ColorValue> & DefineProp<"hideEdit", boolean> & DefineProp<"readOnly", boolean> & DefineEmit<"openReply", (commentToReplyOn: Comment) => Comment> & DefineEmit<"cancelReply", (comment: Comment) => void> & DefineEmit<"refresh", (addedComment: boolean) => void>;
|
10
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<CommentLikeTemplateProps> & {
|
136
11
|
onCancelReply?: (comment: Comment) => any;
|
12
|
+
onOpenReply?: (commentToReplyOn: Comment) => any;
|
137
13
|
onRefresh?: (addedComment: boolean) => any;
|
138
|
-
}
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
cancelReply: (comment: Comment) => void;
|
144
|
-
openReply: (commentToReplyOn: Comment) => Comment;
|
145
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
146
|
-
propsDefinition: Omit<Readonly<{} & {
|
147
|
-
currentUser?: ResolvedUserIdentity;
|
148
|
-
comment?: Comment;
|
149
|
-
dynamicInput?: CommentLikeTemplateDynamicInput;
|
150
|
-
templateSettings?: CommentLikeTemplateSettings;
|
151
|
-
canShowEditDialogOnLoad?: boolean;
|
152
|
-
canLike?: boolean;
|
153
|
-
additionalRoles?: guid[];
|
154
|
-
cardStyle?: LegacyThemeDefinition;
|
155
|
-
hideEdit?: boolean;
|
156
|
-
readOnly?: boolean;
|
157
|
-
}>, "onDoc$" | "onOpenReply" | "onCancelReply" | "onRefresh"> & {
|
158
|
-
onDoc$?: (description?: string) => any;
|
159
|
-
onOpenReply?: (commentToReplyOn: Comment) => any;
|
160
|
-
onCancelReply?: (comment: Comment) => any;
|
161
|
-
onRefresh?: (addedComment: boolean) => any;
|
162
|
-
};
|
163
|
-
};
|
14
|
+
} & {
|
15
|
+
"v-slots"?: {} & Omit<{
|
16
|
+
default?: import("vue").Slot;
|
17
|
+
}, never>;
|
18
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "backgroundColor" | "textColor" | "currentUser" | "comment" | "dynamicInput" | "templateSettings" | "canShowEditDialogOnLoad" | "canLike" | "additionalRoles" | "foregroundColor" | "hideEdit" | "readOnly" | "emit:openReply" | "emit:cancelReply" | "emit:refresh"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
164
19
|
export default _default;
|
@@ -1,77 +1,12 @@
|
|
1
|
+
import { DefineEmit, DefineProp } from "@omnia/fx/ux";
|
1
2
|
import { ISocialReaction, type ISocialReactionStyling } from "../../../models";
|
2
3
|
import "../Like.css";
|
3
|
-
|
4
|
-
|
5
|
-
currentSocialReaction: {
|
6
|
-
type: import("vue").PropType<ISocialReactionStyling>;
|
7
|
-
};
|
8
|
-
socialReactionStylings: {
|
9
|
-
type: import("vue").PropType<ISocialReactionStyling[]>;
|
10
|
-
required: false;
|
11
|
-
};
|
12
|
-
likes: {
|
13
|
-
type: import("vue").PropType<ISocialReaction[]>;
|
14
|
-
};
|
15
|
-
}>> & {
|
16
|
-
onClose?: () => any;
|
17
|
-
onDoc$?: (description?: string) => any;
|
18
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
19
|
-
close: () => void;
|
20
|
-
doc$(description?: string): {
|
21
|
-
close: () => void;
|
22
|
-
};
|
23
|
-
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
24
|
-
P: {};
|
25
|
-
B: {};
|
26
|
-
D: {};
|
27
|
-
C: {};
|
28
|
-
M: {};
|
29
|
-
Defaults: {};
|
30
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
31
|
-
currentSocialReaction: {
|
32
|
-
type: import("vue").PropType<ISocialReactionStyling>;
|
33
|
-
};
|
34
|
-
socialReactionStylings: {
|
35
|
-
type: import("vue").PropType<ISocialReactionStyling[]>;
|
36
|
-
required: false;
|
37
|
-
};
|
38
|
-
likes: {
|
39
|
-
type: import("vue").PropType<ISocialReaction[]>;
|
40
|
-
};
|
41
|
-
}>> & {
|
42
|
-
onClose?: () => any;
|
43
|
-
onDoc$?: (description?: string) => any;
|
44
|
-
}, () => JSX.Element, {}, {}, {}, {}>;
|
45
|
-
__isFragment?: never;
|
46
|
-
__isTeleport?: never;
|
47
|
-
__isSuspense?: never;
|
48
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
49
|
-
currentSocialReaction: {
|
50
|
-
type: import("vue").PropType<ISocialReactionStyling>;
|
51
|
-
};
|
52
|
-
socialReactionStylings: {
|
53
|
-
type: import("vue").PropType<ISocialReactionStyling[]>;
|
54
|
-
required: false;
|
55
|
-
};
|
56
|
-
likes: {
|
57
|
-
type: import("vue").PropType<ISocialReaction[]>;
|
58
|
-
};
|
59
|
-
}>> & {
|
4
|
+
type LikeListingTemplateProps = DefineProp<"likes", Array<ISocialReaction>> & DefineProp<"socialReactionStylings", Array<ISocialReactionStyling>> & DefineProp<"currentSocialReaction", ISocialReactionStyling> & DefineEmit<"close", () => void>;
|
5
|
+
declare const _default: (props: import("@omnia/fx/ux").ExtractProps<LikeListingTemplateProps> & {
|
60
6
|
onClose?: () => any;
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
};
|
67
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
68
|
-
propsDefinition: Omit<Readonly<{} & {
|
69
|
-
likes?: ISocialReaction[];
|
70
|
-
socialReactionStylings?: ISocialReactionStyling[];
|
71
|
-
currentSocialReaction?: ISocialReactionStyling;
|
72
|
-
}>, "onClose" | "onDoc$"> & {
|
73
|
-
onClose?: () => any;
|
74
|
-
onDoc$?: (description?: string) => any;
|
75
|
-
};
|
76
|
-
};
|
7
|
+
} & {
|
8
|
+
"v-slots"?: {} & Omit<{
|
9
|
+
default?: import("vue").Slot;
|
10
|
+
}, never>;
|
11
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "likes" | "emit:close" | "socialReactionStylings" | "currentSocialReaction"> & import("@omnia/fx/ux").VNodeEvents) => any;
|
77
12
|
export default _default;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.355-dev",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,13 +20,13 @@
|
|
20
20
|
],
|
21
21
|
"author": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.355-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
27
27
|
"splitpanes": "3.1.5",
|
28
28
|
"vue": "3.5.13",
|
29
|
-
"vuetify": "3.7.
|
29
|
+
"vuetify": "3.7.6",
|
30
30
|
"tslib": "2.6.2",
|
31
31
|
"typescript": "5.6.2",
|
32
32
|
"@tiptap/vue-3": "2.1.13",
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from "./IRichTextEditorRenderer";
|
File without changes
|