@omnia/fx 8.0.29-dev → 8.0.30-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.
@@ -5,7 +5,7 @@ export interface ActivityFeed extends ActivityFeedBase {
5
5
  renderers: {
6
6
  [key: ActivityRendererId]: ActivityRenderer;
7
7
  };
8
- identityActivities: Array<IdentityActivity>;
8
+ identityActivities: Array<IdentityActivity<object, object>>;
9
9
  activities: Array<Activity>;
10
10
  }
11
11
  export interface ActivityFeedResult extends ActivityFeedBase {
@@ -1,6 +1,9 @@
1
1
  import { StronglyTypedId } from "../../StronglyTypedId";
2
2
  export type ActivitySenderId = StronglyTypedId<number, "ActivitySenderId">;
3
3
  export declare function ActivitySenderId(id: number): ActivitySenderId;
4
+ export interface ActivitySenderWithBag<TBag> extends ActivitySender {
5
+ bag: TBag;
6
+ }
4
7
  export interface ActivitySender extends ActivitySenderBase {
5
8
  id: ActivitySenderId;
6
9
  imageUrl: string;
@@ -1,15 +1,21 @@
1
1
  import { ActivitySenderId, DynamicState } from "../..";
2
2
  import { Activity, ActivityId } from "./Activity";
3
3
  export declare enum IdentityActivityStatus {
4
- unRead = 0,
4
+ new = 0,
5
+ read = 1,
6
+ completed = 2
7
+ }
8
+ export declare enum IdentityActivityCategory {
9
+ new = 0,
5
10
  read = 1,
6
11
  completed = 2
7
12
  }
8
13
  export interface IdentityActivityBase {
9
14
  activityId: ActivityId;
10
15
  status: IdentityActivityStatus;
16
+ category: IdentityActivityCategory;
11
17
  }
12
- export interface IdentityActivity<TRenderState extends DynamicState | undefined = undefined, TState extends DynamicState | undefined = undefined> extends IdentityActivityBase {
18
+ export interface IdentityActivity<TRenderState extends DynamicState, TState extends DynamicState> extends IdentityActivityBase {
13
19
  activity: Activity<TRenderState>;
14
20
  state?: TState;
15
21
  }
@@ -1,12 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IdentityActivityStatus = void 0;
3
+ exports.IdentityActivityCategory = exports.IdentityActivityStatus = void 0;
4
4
  var IdentityActivityStatus;
5
5
  (function (IdentityActivityStatus) {
6
- IdentityActivityStatus[IdentityActivityStatus["unRead"] = 0] = "unRead";
6
+ IdentityActivityStatus[IdentityActivityStatus["new"] = 0] = "new";
7
7
  IdentityActivityStatus[IdentityActivityStatus["read"] = 1] = "read";
8
8
  IdentityActivityStatus[IdentityActivityStatus["completed"] = 2] = "completed";
9
9
  })(IdentityActivityStatus = exports.IdentityActivityStatus || (exports.IdentityActivityStatus = {}));
10
+ var IdentityActivityCategory;
11
+ (function (IdentityActivityCategory) {
12
+ IdentityActivityCategory[IdentityActivityCategory["new"] = 0] = "new";
13
+ IdentityActivityCategory[IdentityActivityCategory["read"] = 1] = "read";
14
+ IdentityActivityCategory[IdentityActivityCategory["completed"] = 2] = "completed";
15
+ })(IdentityActivityCategory = exports.IdentityActivityCategory || (exports.IdentityActivityCategory = {}));
10
16
  // Usage
11
17
  // const activity1: IdentityActivity<SomeRenderState> = {
12
18
  // activity: {
@@ -1,103 +1,9 @@
1
+ type feedVariants = "default" | "filtered";
1
2
  declare const _default: {
2
3
  new (...args: any[]): {
3
4
  $: import("vue").ComponentInternalInstance;
4
5
  $data: {};
5
6
  $props: {
6
- [x: number]: unknown;
7
- toString: (() => string) | ((() => string) & (() => string));
8
- readonly concat: unknown;
9
- readonly indexOf: unknown;
10
- readonly lastIndexOf: unknown;
11
- readonly slice: unknown;
12
- readonly length: unknown;
13
- readonly includes: unknown;
14
- readonly at: unknown;
15
- toLocaleString: (() => string) | ((() => string) & (() => string));
16
- readonly join: unknown;
17
- readonly every: unknown;
18
- readonly some: unknown;
19
- readonly forEach: unknown;
20
- readonly map: unknown;
21
- readonly filter: unknown;
22
- readonly reduce: unknown;
23
- readonly reduceRight: unknown;
24
- readonly find: unknown;
25
- readonly findIndex: unknown;
26
- readonly entries: unknown;
27
- readonly keys: unknown;
28
- readonly values: unknown;
29
- readonly flatMap: unknown;
30
- readonly flat: unknown;
31
- style?: unknown;
32
- class?: unknown;
33
- key?: string | number | symbol;
34
- ref?: import("vue").VNodeRef;
35
- ref_for?: boolean;
36
- ref_key?: string;
37
- onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
- [key: string]: any;
39
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
- [key: string]: any;
41
- }>) => void)[];
42
- onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
- [key: string]: any;
44
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
- [key: string]: any;
46
- }>) => void)[];
47
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
- [key: string]: any;
49
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
- [key: string]: any;
51
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
- [key: string]: any;
53
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
- [key: string]: any;
55
- }>) => void)[];
56
- onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
57
- [key: string]: any;
58
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
- [key: string]: any;
60
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
- [key: string]: any;
62
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
- [key: string]: any;
64
- }>) => void)[];
65
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
66
- [key: string]: any;
67
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
68
- [key: string]: any;
69
- }>) => void)[];
70
- onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
71
- [key: string]: any;
72
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
73
- [key: string]: any;
74
- }>) => void)[];
75
- } | {
76
- [x: number]: unknown;
77
- toString: (() => string) | ((() => string) & (() => string));
78
- readonly concat: unknown;
79
- readonly indexOf: unknown;
80
- readonly lastIndexOf: unknown;
81
- readonly slice: unknown;
82
- readonly length: unknown;
83
- readonly includes: unknown;
84
- readonly at: unknown;
85
- toLocaleString: (() => string) | ((() => string) & (() => string));
86
- readonly join: unknown;
87
- readonly every: unknown;
88
- readonly some: unknown;
89
- readonly forEach: unknown;
90
- readonly map: unknown;
91
- readonly filter: unknown;
92
- readonly reduce: unknown;
93
- readonly reduceRight: unknown;
94
- readonly find: unknown;
95
- readonly findIndex: unknown;
96
- readonly entries: unknown;
97
- readonly keys: unknown;
98
- readonly values: unknown;
99
- readonly flatMap: unknown;
100
- readonly flat: unknown;
101
7
  style?: unknown;
102
8
  class?: unknown;
103
9
  key?: string | number | symbol;
@@ -142,6 +48,7 @@ declare const _default: {
142
48
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
143
49
  [key: string]: any;
144
50
  }>) => void)[];
51
+ readonly variant?: feedVariants;
145
52
  };
146
53
  $attrs: {
147
54
  [x: string]: unknown;
@@ -156,85 +63,13 @@ declare const _default: {
156
63
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
157
64
  $emit: (event: string, ...args: any[]) => void;
158
65
  $el: any;
159
- $options: import("vue").ComponentOptionsBase<Readonly<{
160
- [x: number]: string;
161
- readonly length: number;
162
- toString: () => string;
163
- toLocaleString: () => string;
164
- concat: {
165
- (...items: ConcatArray<string>[]): string[];
166
- (...items: (string | ConcatArray<string>)[]): string[];
167
- };
168
- join: (separator?: string) => string;
169
- slice: (start?: number, end?: number) => string[];
170
- indexOf: (searchElement: string, fromIndex?: number) => number;
171
- lastIndexOf: (searchElement: string, fromIndex?: number) => number;
172
- every: {
173
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): this is readonly S[];
174
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
175
- };
176
- some: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
177
- forEach: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
178
- map: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
179
- filter: {
180
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): S_1[];
181
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
182
- };
183
- reduce: {
184
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
185
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
186
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
187
- };
188
- reduceRight: {
189
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
190
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
191
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
66
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
67
+ variant: {
68
+ type: import("vue").PropType<feedVariants>;
69
+ } & {
70
+ type: import("vue").PropType<feedVariants>;
192
71
  };
193
- find: {
194
- <S_2 extends string>(predicate: (value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
195
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
196
- };
197
- findIndex: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
198
- entries: () => IterableIterator<[number, string]>;
199
- keys: () => IterableIterator<number>;
200
- values: () => IterableIterator<string>;
201
- includes: (searchElement: string, fromIndex?: number) => boolean;
202
- flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
203
- flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
204
- [Symbol.iterator]: () => IterableIterator<string>;
205
- readonly [Symbol.unscopables]: {
206
- [x: number]: boolean;
207
- readonly length?: boolean;
208
- toString?: boolean;
209
- toLocaleString?: boolean;
210
- concat?: boolean;
211
- join?: boolean;
212
- slice?: boolean;
213
- indexOf?: boolean;
214
- lastIndexOf?: boolean;
215
- every?: boolean;
216
- some?: boolean;
217
- forEach?: boolean;
218
- map?: boolean;
219
- filter?: boolean;
220
- reduce?: boolean;
221
- reduceRight?: boolean;
222
- find?: boolean;
223
- findIndex?: boolean;
224
- entries?: boolean;
225
- keys?: boolean;
226
- values?: boolean;
227
- includes?: boolean;
228
- flatMap?: boolean;
229
- flat?: boolean;
230
- [Symbol.iterator]?: boolean;
231
- readonly [Symbol.unscopables]?: boolean;
232
- at?: boolean;
233
- };
234
- at: (index: number) => string;
235
- }> | Readonly<import("vue").ExtractPropTypes<{
236
- [x: string]: import("vue").Prop<unknown, unknown>;
237
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {} | {}, {}, string, {}> & {
72
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
238
73
  beforeCreate?: (() => void) | (() => void)[];
239
74
  created?: (() => void) | (() => void)[];
240
75
  beforeMount?: (() => void) | (() => void)[];
@@ -254,324 +89,25 @@ declare const _default: {
254
89
  $forceUpdate: () => void;
255
90
  $nextTick: typeof import("vue").nextTick;
256
91
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
257
- } & (Readonly<{
258
- [x: number]: string;
259
- readonly length: number;
260
- toString: () => string;
261
- toLocaleString: () => string;
262
- concat: {
263
- (...items: ConcatArray<string>[]): string[];
264
- (...items: (string | ConcatArray<string>)[]): string[];
265
- };
266
- join: (separator?: string) => string;
267
- slice: (start?: number, end?: number) => string[];
268
- indexOf: (searchElement: string, fromIndex?: number) => number;
269
- lastIndexOf: (searchElement: string, fromIndex?: number) => number;
270
- every: {
271
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): this is readonly S[];
272
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
273
- };
274
- some: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
275
- forEach: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
276
- map: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
277
- filter: {
278
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): S_1[];
279
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
280
- };
281
- reduce: {
282
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
283
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
284
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
285
- };
286
- reduceRight: {
287
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
288
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
289
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
290
- };
291
- find: {
292
- <S_2 extends string>(predicate: (value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
293
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
294
- };
295
- findIndex: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
296
- entries: () => IterableIterator<[number, string]>;
297
- keys: () => IterableIterator<number>;
298
- values: () => IterableIterator<string>;
299
- includes: (searchElement: string, fromIndex?: number) => boolean;
300
- flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
301
- flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
302
- [Symbol.iterator]: () => IterableIterator<string>;
303
- readonly [Symbol.unscopables]: {
304
- [x: number]: boolean;
305
- readonly length?: boolean;
306
- toString?: boolean;
307
- toLocaleString?: boolean;
308
- concat?: boolean;
309
- join?: boolean;
310
- slice?: boolean;
311
- indexOf?: boolean;
312
- lastIndexOf?: boolean;
313
- every?: boolean;
314
- some?: boolean;
315
- forEach?: boolean;
316
- map?: boolean;
317
- filter?: boolean;
318
- reduce?: boolean;
319
- reduceRight?: boolean;
320
- find?: boolean;
321
- findIndex?: boolean;
322
- entries?: boolean;
323
- keys?: boolean;
324
- values?: boolean;
325
- includes?: boolean;
326
- flatMap?: boolean;
327
- flat?: boolean;
328
- [Symbol.iterator]?: boolean;
329
- readonly [Symbol.unscopables]?: boolean;
330
- at?: boolean;
331
- };
332
- at: (index: number) => string;
333
- }> | Readonly<import("vue").ExtractPropTypes<{
334
- [x: string]: import("vue").Prop<unknown, unknown>;
335
- }>>) & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {} & Readonly<{
336
- [x: number]: string;
337
- readonly length: number;
338
- toString: () => string;
339
- toLocaleString: () => string;
340
- concat: {
341
- (...items: ConcatArray<string>[]): string[];
342
- (...items: (string | ConcatArray<string>)[]): string[];
92
+ } & Readonly<import("vue").ExtractPropTypes<{
93
+ variant: {
94
+ type: import("vue").PropType<feedVariants>;
95
+ } & {
96
+ type: import("vue").PropType<feedVariants>;
343
97
  };
344
- join: (separator?: string) => string;
345
- slice: (start?: number, end?: number) => string[];
346
- indexOf: (searchElement: string, fromIndex?: number) => number;
347
- lastIndexOf: (searchElement: string, fromIndex?: number) => number;
348
- every: {
349
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): this is readonly S[];
350
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
351
- };
352
- some: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
353
- forEach: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
354
- map: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
355
- filter: {
356
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): S_1[];
357
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
358
- };
359
- reduce: {
360
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
361
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
362
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
363
- };
364
- reduceRight: {
365
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
366
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
367
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
368
- };
369
- find: {
370
- <S_2 extends string>(predicate: (value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
371
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
372
- };
373
- findIndex: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
374
- entries: () => IterableIterator<[number, string]>;
375
- keys: () => IterableIterator<number>;
376
- values: () => IterableIterator<string>;
377
- includes: (searchElement: string, fromIndex?: number) => boolean;
378
- flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
379
- flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
380
- [Symbol.iterator]: () => IterableIterator<string>;
381
- readonly [Symbol.unscopables]: {
382
- [x: number]: boolean;
383
- readonly length?: boolean;
384
- toString?: boolean;
385
- toLocaleString?: boolean;
386
- concat?: boolean;
387
- join?: boolean;
388
- slice?: boolean;
389
- indexOf?: boolean;
390
- lastIndexOf?: boolean;
391
- every?: boolean;
392
- some?: boolean;
393
- forEach?: boolean;
394
- map?: boolean;
395
- filter?: boolean;
396
- reduce?: boolean;
397
- reduceRight?: boolean;
398
- find?: boolean;
399
- findIndex?: boolean;
400
- entries?: boolean;
401
- keys?: boolean;
402
- values?: boolean;
403
- includes?: boolean;
404
- flatMap?: boolean;
405
- flat?: boolean;
406
- [Symbol.iterator]?: boolean;
407
- readonly [Symbol.unscopables]?: boolean;
408
- at?: boolean;
409
- };
410
- at: (index: number) => string;
411
- } | import("vue").ExtractPropTypes<{
412
- [x: string]: import("vue").Prop<unknown, unknown>;
413
- }>>;
98
+ }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
414
99
  __isFragment?: never;
415
100
  __isTeleport?: never;
416
101
  __isSuspense?: never;
417
- } & import("vue").ComponentOptionsBase<Readonly<{
418
- [x: number]: string;
419
- readonly length: number;
420
- toString: () => string;
421
- toLocaleString: () => string;
422
- concat: {
423
- (...items: ConcatArray<string>[]): string[];
424
- (...items: (string | ConcatArray<string>)[]): string[];
425
- };
426
- join: (separator?: string) => string;
427
- slice: (start?: number, end?: number) => string[];
428
- indexOf: (searchElement: string, fromIndex?: number) => number;
429
- lastIndexOf: (searchElement: string, fromIndex?: number) => number;
430
- every: {
431
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): this is readonly S[];
432
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
433
- };
434
- some: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
435
- forEach: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
436
- map: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
437
- filter: {
438
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): S_1[];
439
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
440
- };
441
- reduce: {
442
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
443
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
444
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
445
- };
446
- reduceRight: {
447
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
448
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
449
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
102
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
103
+ variant: {
104
+ type: import("vue").PropType<feedVariants>;
105
+ } & {
106
+ type: import("vue").PropType<feedVariants>;
450
107
  };
451
- find: {
452
- <S_2 extends string>(predicate: (value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
453
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
454
- };
455
- findIndex: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
456
- entries: () => IterableIterator<[number, string]>;
457
- keys: () => IterableIterator<number>;
458
- values: () => IterableIterator<string>;
459
- includes: (searchElement: string, fromIndex?: number) => boolean;
460
- flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
461
- flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
462
- [Symbol.iterator]: () => IterableIterator<string>;
463
- readonly [Symbol.unscopables]: {
464
- [x: number]: boolean;
465
- readonly length?: boolean;
466
- toString?: boolean;
467
- toLocaleString?: boolean;
468
- concat?: boolean;
469
- join?: boolean;
470
- slice?: boolean;
471
- indexOf?: boolean;
472
- lastIndexOf?: boolean;
473
- every?: boolean;
474
- some?: boolean;
475
- forEach?: boolean;
476
- map?: boolean;
477
- filter?: boolean;
478
- reduce?: boolean;
479
- reduceRight?: boolean;
480
- find?: boolean;
481
- findIndex?: boolean;
482
- entries?: boolean;
483
- keys?: boolean;
484
- values?: boolean;
485
- includes?: boolean;
486
- flatMap?: boolean;
487
- flat?: boolean;
488
- [Symbol.iterator]?: boolean;
489
- readonly [Symbol.unscopables]?: boolean;
490
- at?: boolean;
491
- };
492
- at: (index: number) => string;
493
- }> | Readonly<import("vue").ExtractPropTypes<{
494
- [x: string]: import("vue").Prop<unknown, unknown>;
495
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {} | {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
496
- propsDefinition: Omit<Readonly<{
497
- [x: number]: string;
498
- readonly length: number;
499
- toString: () => string;
500
- toLocaleString: () => string;
501
- concat: {
502
- (...items: ConcatArray<string>[]): string[];
503
- (...items: (string | ConcatArray<string>)[]): string[];
504
- };
505
- join: (separator?: string) => string;
506
- slice: (start?: number, end?: number) => string[];
507
- indexOf: (searchElement: string, fromIndex?: number) => number;
508
- lastIndexOf: (searchElement: string, fromIndex?: number) => number;
509
- every: {
510
- <S extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S, thisArg?: any): this is readonly S[];
511
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): boolean;
512
- };
513
- some: (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any) => boolean;
514
- forEach: (callbackfn: (value: string, index: number, array: readonly string[]) => void, thisArg?: any) => void;
515
- map: <U>(callbackfn: (value: string, index: number, array: readonly string[]) => U, thisArg?: any) => U[];
516
- filter: {
517
- <S_1 extends string>(predicate: (value: string, index: number, array: readonly string[]) => value is S_1, thisArg?: any): S_1[];
518
- (predicate: (value: string, index: number, array: readonly string[]) => unknown, thisArg?: any): string[];
519
- };
520
- reduce: {
521
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
522
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
523
- <U_1>(callbackfn: (previousValue: U_1, currentValue: string, currentIndex: number, array: readonly string[]) => U_1, initialValue: U_1): U_1;
524
- };
525
- reduceRight: {
526
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string): string;
527
- (callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: readonly string[]) => string, initialValue: string): string;
528
- <U_2>(callbackfn: (previousValue: U_2, currentValue: string, currentIndex: number, array: readonly string[]) => U_2, initialValue: U_2): U_2;
529
- };
530
- find: {
531
- <S_2 extends string>(predicate: (value: string, index: number, obj: readonly string[]) => value is S_2, thisArg?: any): S_2;
532
- (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any): string;
533
- };
534
- findIndex: (predicate: (value: string, index: number, obj: readonly string[]) => unknown, thisArg?: any) => number;
535
- entries: () => IterableIterator<[number, string]>;
536
- keys: () => IterableIterator<number>;
537
- values: () => IterableIterator<string>;
538
- includes: (searchElement: string, fromIndex?: number) => boolean;
539
- flatMap: <U_3, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U_3 | readonly U_3[], thisArg?: This) => U_3[];
540
- flat: <A, D extends number = 1>(this: A, depth?: D) => FlatArray<A, D>[];
541
- [Symbol.iterator]: () => IterableIterator<string>;
542
- readonly [Symbol.unscopables]: {
543
- [x: number]: boolean;
544
- readonly length?: boolean;
545
- toString?: boolean;
546
- toLocaleString?: boolean;
547
- concat?: boolean;
548
- join?: boolean;
549
- slice?: boolean;
550
- indexOf?: boolean;
551
- lastIndexOf?: boolean;
552
- every?: boolean;
553
- some?: boolean;
554
- forEach?: boolean;
555
- map?: boolean;
556
- filter?: boolean;
557
- reduce?: boolean;
558
- reduceRight?: boolean;
559
- find?: boolean;
560
- findIndex?: boolean;
561
- entries?: boolean;
562
- keys?: boolean;
563
- values?: boolean;
564
- includes?: boolean;
565
- flatMap?: boolean;
566
- flat?: boolean;
567
- [Symbol.iterator]?: boolean;
568
- readonly [Symbol.unscopables]?: boolean;
569
- at?: boolean;
570
- };
571
- at: (index: number) => string;
572
- }>, never> | Omit<Readonly<{} & {
573
- [x: string]: unknown;
574
- [x: number]: unknown;
108
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
109
+ propsDefinition: Omit<Readonly<{} & {
110
+ variant?: feedVariants;
575
111
  }>, never>;
576
112
  };
577
113
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Activity } from "@omnia/fx-models";
1
+ import { IdentityActivity } from "@omnia/fx-models";
2
2
  declare const _default: {
3
3
  new (...args: any[]): {
4
4
  $: import("vue").ComponentInternalInstance;
@@ -48,7 +48,7 @@ declare const _default: {
48
48
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
49
  [key: string]: any;
50
50
  }>) => void)[];
51
- readonly activity: Activity<object>;
51
+ readonly identityActivity: IdentityActivity<object, object>;
52
52
  };
53
53
  $attrs: {
54
54
  [x: string]: unknown;
@@ -64,8 +64,8 @@ declare const _default: {
64
64
  $emit: (event: string, ...args: any[]) => void;
65
65
  $el: any;
66
66
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
67
- activity: {
68
- type: import("vue").PropType<Activity<object>>;
67
+ identityActivity: {
68
+ type: import("vue").PropType<IdentityActivity<object, object>>;
69
69
  required: true;
70
70
  };
71
71
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
@@ -89,8 +89,8 @@ declare const _default: {
89
89
  $nextTick: typeof import("vue").nextTick;
90
90
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
91
91
  } & Readonly<import("vue").ExtractPropTypes<{
92
- activity: {
93
- type: import("vue").PropType<Activity<object>>;
92
+ identityActivity: {
93
+ type: import("vue").PropType<IdentityActivity<object, object>>;
94
94
  required: true;
95
95
  };
96
96
  }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
@@ -98,13 +98,13 @@ declare const _default: {
98
98
  __isTeleport?: never;
99
99
  __isSuspense?: never;
100
100
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
101
- activity: {
102
- type: import("vue").PropType<Activity<object>>;
101
+ identityActivity: {
102
+ type: import("vue").PropType<IdentityActivity<object, object>>;
103
103
  required: true;
104
104
  };
105
105
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
106
106
  propsDefinition: Omit<Readonly<{
107
- activity: Activity<object>;
107
+ identityActivity: IdentityActivity<object, object>;
108
108
  } & {}>, never>;
109
109
  };
110
110
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Activity } from "@omnia/fx-models";
1
+ import { IdentityActivity } from "@omnia/fx-models";
2
2
  declare const _default: {
3
3
  new (...args: any[]): {
4
4
  $: import("vue").ComponentInternalInstance;
@@ -48,7 +48,7 @@ declare const _default: {
48
48
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
49
  [key: string]: any;
50
50
  }>) => void)[];
51
- readonly activity: Activity<object>;
51
+ readonly identityActivity: IdentityActivity<object, object>;
52
52
  };
53
53
  $attrs: {
54
54
  [x: string]: unknown;
@@ -64,8 +64,8 @@ declare const _default: {
64
64
  $emit: (event: string, ...args: any[]) => void;
65
65
  $el: any;
66
66
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
67
- activity: {
68
- type: import("vue").PropType<Activity<object>>;
67
+ identityActivity: {
68
+ type: import("vue").PropType<IdentityActivity<object, object>>;
69
69
  required: true;
70
70
  };
71
71
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
@@ -89,8 +89,8 @@ declare const _default: {
89
89
  $nextTick: typeof import("vue").nextTick;
90
90
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
91
91
  } & Readonly<import("vue").ExtractPropTypes<{
92
- activity: {
93
- type: import("vue").PropType<Activity<object>>;
92
+ identityActivity: {
93
+ type: import("vue").PropType<IdentityActivity<object, object>>;
94
94
  required: true;
95
95
  };
96
96
  }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
@@ -98,13 +98,13 @@ declare const _default: {
98
98
  __isTeleport?: never;
99
99
  __isSuspense?: never;
100
100
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
101
- activity: {
102
- type: import("vue").PropType<Activity<object>>;
101
+ identityActivity: {
102
+ type: import("vue").PropType<IdentityActivity<object, object>>;
103
103
  required: true;
104
104
  };
105
105
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
106
106
  propsDefinition: Omit<Readonly<{
107
- activity: Activity<object>;
107
+ identityActivity: IdentityActivity<object, object>;
108
108
  } & {}>, never>;
109
109
  };
110
110
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { useColorSchemaStore } from "internal/fx/ux/theming-v2";
2
2
  export declare const SendersListStyles: {
3
3
  wrapper: string;
4
- tagWrapper: (color: ReturnType<typeof useColorSchemaStore>) => string;
4
+ tagWrapper: (colors: ReturnType<typeof useColorSchemaStore>) => string;
5
5
  filterField: string;
6
6
  notificationWrapper: string;
7
7
  };
@@ -1,8 +1,10 @@
1
+ import { ChannelId } from "@omnia/fx-models";
1
2
  declare const _default: {
2
3
  new (...args: any[]): {
3
4
  $: import("vue").ComponentInternalInstance;
4
5
  $data: {};
5
6
  $props: {
7
+ readonly channelId: ChannelId;
6
8
  style?: unknown;
7
9
  class?: unknown;
8
10
  key?: string | number | symbol;
@@ -61,7 +63,12 @@ declare const _default: {
61
63
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
62
64
  $emit: (event: string, ...args: any[]) => void;
63
65
  $el: any;
64
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
66
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
67
+ channelId: {
68
+ type: import("vue").PropType<ChannelId>;
69
+ required: true;
70
+ };
71
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
65
72
  beforeCreate?: (() => void) | (() => void)[];
66
73
  created?: (() => void) | (() => void)[];
67
74
  beforeMount?: (() => void) | (() => void)[];
@@ -81,11 +88,23 @@ declare const _default: {
81
88
  $forceUpdate: () => void;
82
89
  $nextTick: typeof import("vue").nextTick;
83
90
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
84
- } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
91
+ } & Readonly<import("vue").ExtractPropTypes<{
92
+ channelId: {
93
+ type: import("vue").PropType<ChannelId>;
94
+ required: true;
95
+ };
96
+ }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
85
97
  __isFragment?: never;
86
98
  __isTeleport?: never;
87
99
  __isSuspense?: never;
88
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
89
- propsDefinition: Omit<Readonly<{} & {}>, never>;
100
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
101
+ channelId: {
102
+ type: import("vue").PropType<ChannelId>;
103
+ required: true;
104
+ };
105
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
106
+ propsDefinition: Omit<Readonly<{
107
+ channelId: ChannelId;
108
+ } & {}>, never>;
90
109
  };
91
110
  export default _default;
@@ -1,10 +1,12 @@
1
1
  import { FeedQuery } from "@omnia/fx/services";
2
- import { Activity, ActivityId, ActivityRenderer, ActivityRendererId, ActivitySender, ActivitySenderId, ChannelId, FeedActivityDefinition, Guid, NotificationTeaser, RealtimeChannel, RealtimeData, SourceRelatedHubProperty } from "@omnia/fx-models";
2
+ import { Activity, ActivityId, ActivityRenderer, ActivityRendererId, ActivitySender, ActivitySenderId, ChannelId, FeedActivityDefinition, Guid, IdentityActivity, NotificationTeaser, RealtimeChannel, RealtimeData, SourceRelatedHubProperty } from "@omnia/fx-models";
3
3
  export declare const useActivityFeedStore: () => {
4
4
  state: {
5
+ selectedActivity: Activity<object>;
5
6
  activities: {
6
- [key: ChannelId]: Activity<object>[];
7
+ [key: ChannelId]: IdentityActivity<object, object>[];
7
8
  };
9
+ senderFilters: string[];
8
10
  renderers: {
9
11
  [key: ActivityRendererId]: ActivityRenderer;
10
12
  };
@@ -14,50 +16,77 @@ export declare const useActivityFeedStore: () => {
14
16
  senders: {
15
17
  [key: ActivitySenderId]: ActivitySender;
16
18
  };
19
+ newBySender: {
20
+ [key: ChannelId]: {
21
+ sender: ActivitySender;
22
+ count: number;
23
+ }[];
24
+ };
17
25
  };
18
26
  events: {
19
- onMutatedActivities: import("../../../..").MessageBusExposeOnlySubscription<{
20
- [key: ChannelId]: Activity<object>[];
27
+ onMutatedSelectedActivity: import("@omnia/fx").MessageBusExposeOnlySubscription<Activity<object>>;
28
+ onMutatedActivities: import("@omnia/fx").MessageBusExposeOnlySubscription<{
29
+ [key: ChannelId]: IdentityActivity<object, object>[];
21
30
  }>;
22
- onMutatedRenderers: import("../../../..").MessageBusExposeOnlySubscription<{
31
+ onMutatedSenderFilters: import("@omnia/fx").MessageBusExposeOnlySubscription<string[]>;
32
+ onMutatedRenderers: import("@omnia/fx").MessageBusExposeOnlySubscription<{
23
33
  [key: ActivityRendererId]: ActivityRenderer;
24
34
  }>;
25
- onMutatedNewlyPushed: import("../../../..").MessageBusExposeOnlySubscription<{
35
+ onMutatedNewlyPushed: import("@omnia/fx").MessageBusExposeOnlySubscription<{
26
36
  [key: ChannelId]: Activity<object>[];
27
37
  }>;
28
- onMutatedSenders: import("../../../..").MessageBusExposeOnlySubscription<{
38
+ onMutatedSenders: import("@omnia/fx").MessageBusExposeOnlySubscription<{
29
39
  [key: ActivitySenderId]: ActivitySender;
30
40
  }>;
41
+ onMutatedNewBySender: import("@omnia/fx").MessageBusExposeOnlySubscription<{
42
+ [key: ChannelId]: {
43
+ sender: ActivitySender;
44
+ count: number;
45
+ }[];
46
+ }>;
31
47
  } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
32
48
  actions: {
33
49
  onDispatching<T extends (...args: any) => any>(action: (actions: {
50
+ clearSenderFilters: () => void;
51
+ toggleSenderFilter: (filter: string) => void;
52
+ toggleSelectedActivity: (activity: Activity) => void;
34
53
  enableChannel: (channelId: ChannelId) => Promise<void>;
35
54
  loadActivities: (channelId: ChannelId, options?: FeedQuery) => Promise<boolean>;
36
55
  createActivity: <TRenderState>(channelId: ChannelId, senderId: ActivitySenderId, activityDefinition: FeedActivityDefinition<TRenderState>, targeting: Array<Array<SourceRelatedHubProperty>>, notification: NotificationTeaser, expires?: Date) => Promise<void>;
37
56
  }) => T, fn: T extends (...args: infer U) => any ? (...args: U) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
38
57
  onDispatched<T_1 extends (...args: any) => any>(action: (actions: {
58
+ clearSenderFilters: () => void;
59
+ toggleSenderFilter: (filter: string) => void;
60
+ toggleSelectedActivity: (activity: Activity) => void;
39
61
  enableChannel: (channelId: ChannelId) => Promise<void>;
40
62
  loadActivities: (channelId: ChannelId, options?: FeedQuery) => Promise<boolean>;
41
63
  createActivity: <TRenderState>(channelId: ChannelId, senderId: ActivitySenderId, activityDefinition: FeedActivityDefinition<TRenderState>, targeting: Array<Array<SourceRelatedHubProperty>>, notification: NotificationTeaser, expires?: Date) => Promise<void>;
42
64
  }) => T_1, fn: T_1 extends (...args: infer U_1) => infer Y | Promise<infer Y> ? (result: Y, ...args: U_1) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
43
65
  onFailure<T_2 extends (...args: any) => any>(action: (actions: {
66
+ clearSenderFilters: () => void;
67
+ toggleSenderFilter: (filter: string) => void;
68
+ toggleSelectedActivity: (activity: Activity) => void;
44
69
  enableChannel: (channelId: ChannelId) => Promise<void>;
45
70
  loadActivities: (channelId: ChannelId, options?: FeedQuery) => Promise<boolean>;
46
71
  createActivity: <TRenderState>(channelId: ChannelId, senderId: ActivitySenderId, activityDefinition: FeedActivityDefinition<TRenderState>, targeting: Array<Array<SourceRelatedHubProperty>>, notification: NotificationTeaser, expires?: Date) => Promise<void>;
47
72
  }) => T_2, fn: T_2 extends (...args: infer U_2) => any ? (failureReason: any, ...args: U_2) => void : never): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
48
73
  } & {
74
+ clearSenderFilters: () => void;
75
+ toggleSenderFilter: (filter: string) => void;
76
+ toggleSelectedActivity: (activity: Activity) => void;
49
77
  enableChannel: (channelId: ChannelId) => Promise<void>;
50
78
  loadActivities: (channelId: ChannelId, options?: FeedQuery) => Promise<boolean>;
51
79
  createActivity: <TRenderState>(channelId: ChannelId, senderId: ActivitySenderId, activityDefinition: FeedActivityDefinition<TRenderState>, targeting: Array<Array<SourceRelatedHubProperty>>, notification: NotificationTeaser, expires?: Date) => Promise<void>;
52
80
  };
53
81
  get: {
82
+ hasFilter(filter: string): boolean;
54
83
  /**
55
84
  * Retrieves activities from the state based on the provided channelId.
56
85
  *
57
86
  * @param {ChannelId} channelId - The unique identifier for the channel.
58
87
  * @returns {Activity[]} An array of activities associated with the channelId.
59
88
  */
60
- activities(channelId: ChannelId): Activity<object>[];
89
+ activities(channelId: ChannelId): IdentityActivity<object, object>[];
61
90
  /**
62
91
  * Retrieves an ActivityRenderer object for the given activity.
63
92
  *
@@ -79,7 +108,7 @@ export declare const useActivityFeedStore: () => {
79
108
  * @param {ActivityId} activityId
80
109
  * @return {*}
81
110
  */
82
- activityById(channelId: ChannelId, activityId: ActivityId): Activity<object>;
111
+ activityById(channelId: ChannelId, activityId: ActivityId): IdentityActivity<object, object>;
83
112
  /**
84
113
  * Get sender by its id
85
114
  *
@@ -87,6 +116,16 @@ export declare const useActivityFeedStore: () => {
87
116
  * @return {*}
88
117
  */
89
118
  senderById(senderId: ActivitySenderId): ActivitySender;
119
+ /**
120
+ * Get sender by its id
121
+ *
122
+ * @param {ActivitySenderId} senderId
123
+ * @return {*}
124
+ */
125
+ newActivitiesBySender(channelId: ChannelId): {
126
+ sender: ActivitySender;
127
+ count: number;
128
+ }[];
90
129
  };
91
130
  };
92
131
  declare class ActivityRealtimeChannel extends RealtimeChannel {
@@ -0,0 +1,2 @@
1
+ import { ChannelId } from "@omnia/fx-models";
2
+ export declare const hubFeedChannelId: ChannelId;
@@ -1 +1,2 @@
1
1
  export * from "./ActivityFeedStore";
2
+ export * from "./HubFeedChannel";
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  class?: String | String[];
17
17
  key?: string | number | symbol;
18
18
  readonly size?: "small" | "default" | "large" | "x-large" | "x-small";
19
+ readonly animation?: "flip" | "spin" | "beat" | "bounce";
19
20
  readonly icon?: ButtonIconOptions;
20
21
  readonly tooltip?: ButtonTooltipOptions;
21
22
  readonly active?: boolean;
@@ -84,6 +85,9 @@ declare const _default: {
84
85
  $emit: (event: string, ...args: any[]) => void;
85
86
  $el: any;
86
87
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
88
+ animation: {
89
+ type: import("vue").PropType<"flip" | "spin" | "beat" | "bounce">;
90
+ };
87
91
  stacked: {
88
92
  type: import("vue").PropType<boolean>;
89
93
  required: false;
@@ -170,6 +174,9 @@ declare const _default: {
170
174
  $nextTick: typeof import("vue").nextTick;
171
175
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
172
176
  } & Readonly<import("vue").ExtractPropTypes<{
177
+ animation: {
178
+ type: import("vue").PropType<"flip" | "spin" | "beat" | "bounce">;
179
+ };
173
180
  stacked: {
174
181
  type: import("vue").PropType<boolean>;
175
182
  required: false;
@@ -234,6 +241,9 @@ declare const _default: {
234
241
  __isTeleport?: never;
235
242
  __isSuspense?: never;
236
243
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
244
+ animation: {
245
+ type: import("vue").PropType<"flip" | "spin" | "beat" | "bounce">;
246
+ };
237
247
  stacked: {
238
248
  type: import("vue").PropType<boolean>;
239
249
  required: false;
@@ -311,6 +321,7 @@ declare const _default: {
311
321
  text?: string;
312
322
  class?: String | String[];
313
323
  size?: "small" | "default" | "large" | "x-large" | "x-small";
324
+ animation?: "flip" | "spin" | "beat" | "bounce";
314
325
  icon?: ButtonIconOptions;
315
326
  tooltip?: ButtonTooltipOptions;
316
327
  active?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.29-dev",
4
+ "version": "8.0.30-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,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.29-dev",
23
+ "@omnia/fx-models": "8.0.30-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",