@veltdev/sdk 1.0.62 → 1.0.63

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.
@@ -0,0 +1,29 @@
1
+ import { Location } from "./location.model";
2
+ declare class FilterTypeConfig {
3
+ name?: string;
4
+ enable?: boolean;
5
+ multiSelection?: boolean;
6
+ enableGrouping?: boolean;
7
+ }
8
+ export declare class CommentSidebarFilterConfig {
9
+ location?: FilterTypeConfig;
10
+ people?: FilterTypeConfig;
11
+ priority?: FilterTypeConfig;
12
+ category?: FilterTypeConfig;
13
+ commentType?: FilterTypeConfig;
14
+ }
15
+ export declare class CommentSidebarGroupConfig {
16
+ enable?: boolean;
17
+ name?: string;
18
+ }
19
+ export declare class CommentSidebarFilters {
20
+ location?: Location[];
21
+ people?: {
22
+ userId?: string;
23
+ email?: string;
24
+ }[];
25
+ priority?: string[];
26
+ status?: string[];
27
+ category?: string[];
28
+ }
29
+ export {};
@@ -1,4 +1,8 @@
1
1
  export declare class Location {
2
+ /**
3
+ * Unique identifier for the location.
4
+ */
5
+ id?: string;
2
6
  /**
3
7
  * Name of the location.
4
8
  */
@@ -31,18 +31,6 @@ export declare class CommentElement {
31
31
  */
32
32
  allowedElementIds: (elementIds: string[]) => any;
33
33
 
34
- /**
35
- * To enable floating comments
36
- * @deprecated Use enableFloatingCommentDialog instead
37
- */
38
- enableFloatingComments: () => any;
39
-
40
- /**
41
- * To disable floating comments
42
- * @deprecated Use disableFloatingCommentDialog instead
43
- */
44
- disableFloatingComments: () => any;
45
-
46
34
  /**
47
35
  * To enable floating comment dialog
48
36
  */
@@ -115,15 +103,6 @@ export declare class CommentElement {
115
103
  */
116
104
  disableUpgradeButton: () => any;
117
105
 
118
- /**
119
- * @deprecated Use onCommentModeChange instead
120
- *
121
- * Subscribe to add comment mode change.
122
- *
123
- * Returns Observable<boolean>.
124
- */
125
- addCommentModeChange: () => Observable<boolean>;
126
-
127
106
  /**
128
107
  * Subscribe to comment mode change.
129
108
  *
@@ -131,20 +110,6 @@ export declare class CommentElement {
131
110
  */
132
111
  onCommentModeChange: () => Observable<boolean>;
133
112
 
134
- /**
135
- * Enable attachments feature in comments
136
- *
137
- * @deprecated Use enableAttachments instead
138
- */
139
- enableAttachment: () => any;
140
-
141
- /**
142
- * Disable attachments feature in comments
143
- *
144
- * @deprecated Use disableAttachments instead
145
- */
146
- disableAttachment: () => any;
147
-
148
113
  /**
149
114
  * Enable attachments feature in comments
150
115
  */
@@ -160,15 +125,6 @@ export declare class CommentElement {
160
125
  */
161
126
  isUserGlobalContact: () => Observable<boolean>;
162
127
 
163
- /**
164
- * Enable this feature to show device info in comments
165
- *
166
- * @param showInfo pass `true` to show info, `false` to hide it.
167
- *
168
- * @deprecated Use enableDeviceInfo and disableDeviceInfo instead
169
- */
170
- showDeviceInfo: (showInfo: boolean) => any;
171
-
172
128
  /**
173
129
  * Enable device info in comments
174
130
  */
@@ -199,14 +155,6 @@ export declare class CommentElement {
199
155
  */
200
156
  public disablePersistentCommentMode: () => any;
201
157
 
202
- /**
203
- * To show/hide comment number
204
- * @param show pass `true` to show it, `false` to hide it.
205
- *
206
- * @deprecated Use enableCommentIndex and disableCommentIndex instead
207
- */
208
- public showCommentIndex: (show: boolean) => any;
209
-
210
158
  /**
211
159
  * To show comment number
212
160
  */
@@ -277,20 +225,6 @@ export declare class CommentElement {
277
225
  */
278
226
  public disableStatus: () => any;
279
227
 
280
- /**
281
- * To enable feature to resolve comments
282
- *
283
- * @deprecated Use enableResolveButton instead
284
- */
285
- public enableResolve: () => any;
286
-
287
- /**
288
- * To disable feature to resolve comments
289
- *
290
- * @deprecated Use disableResolveButton instead
291
- */
292
- public disableResolve: () => any;
293
-
294
228
  /**
295
229
  * To enable feature to show resolve button
296
230
  */
@@ -301,20 +235,6 @@ export declare class CommentElement {
301
235
  */
302
236
  public disableResolveButton: () => any;
303
237
 
304
- /**
305
- * To enable feature to show ghost comments
306
- *
307
- * @deprecated Use enableGhostComments instead
308
- */
309
- public enableGhostCommentsInDOM: () => any;
310
-
311
- /**
312
- * To disable feature to show ghost comments
313
- *
314
- * @deprecated Use disableGhostComments instead
315
- */
316
- public disableGhostCommentsInDOM: () => any;
317
-
318
238
  /**
319
239
  * To enable feature to show ghost comments
320
240
  */
@@ -325,20 +245,6 @@ export declare class CommentElement {
325
245
  */
326
246
  public disableGhostComments: () => any;
327
247
 
328
- /**
329
- * To enable feature to show ghost comments message in comment dialog and comment sidebar
330
- *
331
- * @deprecated Use enableGhostCommentsIndicator instead
332
- */
333
- public enableGhostCommentsMessage: () => any;
334
-
335
- /**
336
- * To disable feature to show ghost comments message in comment dialog and comment sidebar
337
- *
338
- * @deprecated Use disableGhostCommentsIndicator instead
339
- */
340
- public disableGhostCommentsMessage: () => any;
341
-
342
248
  /**
343
249
  * To enable feature to show ghost comments message in comment dialog and comment sidebar
344
250
  */
@@ -349,42 +255,18 @@ export declare class CommentElement {
349
255
  */
350
256
  public disableGhostCommentsIndicator: () => any;
351
257
 
352
- /**
353
- * @description Sets custom status filters
354
- * @param statuses
355
- *
356
- * @deprecated Use setCustomStatus instead
357
- */
358
- setCustomStatuses: (statuses: CustomStatus[]) => void;
359
-
360
258
  /**
361
259
  * @description Sets custom status filters
362
260
  * @param statuses
363
261
  */
364
262
  setCustomStatus: (statuses: CustomStatus[]) => void;
365
263
 
366
- /**
367
- * @description Sets custom priority filters
368
- * @param priorities
369
- *
370
- * @deprecated Use setCustomPriority instead
371
- */
372
- setCustomPriorities: (priorities: CustomPriority[]) => void;
373
-
374
264
  /**
375
265
  * @description Sets custom priority filters
376
266
  * @param priorities
377
267
  */
378
268
  setCustomPriority: (priorities: CustomPriority[]) => void;
379
269
 
380
- /**
381
- * @description Sets custom categories filters
382
- * @param categories
383
- *
384
- * @deprecated Use setCustomCategory instead
385
- */
386
- setCustomCategories: (categories: CustomCategory[]) => void;
387
-
388
270
  /**
389
271
  * @description Sets custom categories filters
390
272
  * @param categories
@@ -574,6 +456,16 @@ export declare class CommentElement {
574
456
  * To disable scroll to comment component.
575
457
  */
576
458
  public disableScrollToComponent: () => void;
459
+
460
+ /**
461
+ * To enable user mentions in comments
462
+ */
463
+ public enableUserMentions: () => void;
464
+
465
+ /**
466
+ * To disable user mentions in comments
467
+ */
468
+ public disableUserMentions: () => void;
577
469
  constructor();
578
470
  /**
579
471
  * Subscribe to comments on the current document.
@@ -603,18 +495,6 @@ export declare class CommentElement {
603
495
  */
604
496
  private _allowedElementIds;
605
497
 
606
- /**
607
- * To enable floating comments
608
- * @deprecated Use enableFloatingCommentDialog instead
609
- */
610
- private _enableFloatingComments;
611
-
612
- /**
613
- * To disable floating comments
614
- * @deprecated Use disableFloatingCommentDialog instead
615
- */
616
- private _disableFloatingComments;
617
-
618
498
  /**
619
499
  * To enable floating comment dialog
620
500
  */
@@ -687,15 +567,6 @@ export declare class CommentElement {
687
567
  */
688
568
  private _disableUpgradeButton;
689
569
 
690
- /**
691
- * @deprecated Use onCommentModeChange instead
692
- *
693
- * Subscribe to add comment mode change.
694
- *
695
- * Returns Observable<boolean>.
696
- */
697
- private _addCommentModeChange;
698
-
699
570
  /**
700
571
  * Subscribe to comment mode change.
701
572
  *
@@ -703,20 +574,6 @@ export declare class CommentElement {
703
574
  */
704
575
  private _onCommentModeChange;
705
576
 
706
- /**
707
- * Enable attachments feature in comments
708
- *
709
- * @deprecated Use enableAttachments instead
710
- */
711
- private _enableAttachment;
712
-
713
- /**
714
- * Disable attachments feature in comments
715
- *
716
- * @deprecated Use disableAttachments instead
717
- */
718
- private _disableAttachment;
719
-
720
577
  /**
721
578
  * To enable attachments feature in comments
722
579
  */
@@ -727,15 +584,6 @@ export declare class CommentElement {
727
584
  */
728
585
  private _disableAttachments;
729
586
 
730
- /**
731
- * Enable this feature to show device info in comments
732
- *
733
- * @param showInfo pass `true` to show info, `false` to hide it.
734
- *
735
- * @deprecated Use enableDeviceInfo and disableDeviceInfo instead
736
- */
737
- private _showDeviceInfo;
738
-
739
587
  /**
740
588
  * Enable device info in comments
741
589
  */
@@ -766,14 +614,6 @@ export declare class CommentElement {
766
614
  */
767
615
  private _disablePersistentCommentMode;
768
616
 
769
- /**
770
- * To show/hide comment number
771
- * @param show pass `true` to show it, `false` to hide it.
772
- *
773
- * @deprecated Use enableCommentIndex and disableCommentIndex instead
774
- */
775
- private _showCommentIndex;
776
-
777
617
  /**
778
618
  * To enable comment number
779
619
  */
@@ -844,20 +684,6 @@ export declare class CommentElement {
844
684
  */
845
685
  private _disableStatus;
846
686
 
847
- /**
848
- * To enable feature to resolve comments
849
- *
850
- * @deprecated Use enableResolveButton instead
851
- */
852
- private _enableResolve;
853
-
854
- /**
855
- * To disable feature to resolve comments
856
- *
857
- * @deprecated Use disableResolveButton instead
858
- */
859
- private _disableResolve;
860
-
861
687
  /**
862
688
  * To enable feature to show resolve button
863
689
  */
@@ -868,20 +694,6 @@ export declare class CommentElement {
868
694
  */
869
695
  private _disableResolveButton;
870
696
 
871
- /**
872
- * To enable feature to show ghost comments
873
- *
874
- * @deprecated Use enableGhostComments instead
875
- */
876
- private _enableGhostCommentsInDOM;
877
-
878
- /**
879
- * To disable feature to show ghost comments
880
- *
881
- * @deprecated Use disableGhostComments instead
882
- */
883
- private _disableGhostCommentsInDOM;
884
-
885
697
  /**
886
698
  * To enable feature to show ghost comments
887
699
  */
@@ -892,20 +704,6 @@ export declare class CommentElement {
892
704
  */
893
705
  private _disableGhostComments;
894
706
 
895
- /**
896
- * To enable feature to show ghost comments message in comment dialog and comment sidebar
897
- *
898
- * @deprecated Use enableGhostCommentsIndicator instead
899
- */
900
- private _enableGhostCommentsMessage;
901
-
902
- /**
903
- * To disable feature to show ghost comments message in comment dialog and comment sidebar
904
- *
905
- * @deprecated Use disableGhostCommentsIndicator instead
906
- */
907
- private _disableGhostCommentsMessage;
908
-
909
707
  /**
910
708
  * To enable feature to show ghost comments message in comment dialog and comment sidebar
911
709
  */
@@ -916,42 +714,18 @@ export declare class CommentElement {
916
714
  */
917
715
  private _disableGhostCommentsIndicator;
918
716
 
919
- /**
920
- * @description Sets custom status filters
921
- * @param statuses
922
- *
923
- * @deprecated Use setCustomStatus instead
924
- */
925
- private _setCustomStatuses;
926
-
927
717
  /**
928
718
  * @description Sets custom status filters
929
719
  * @param statuses
930
720
  */
931
721
  private _setCustomStatus;
932
722
 
933
- /**
934
- * @description Sets custom priority filters
935
- * @param priorities
936
- *
937
- * @deprecated Use setCustomPriority instead
938
- */
939
- private _setCustomPriorities;
940
-
941
723
  /**
942
724
  * @description Sets custom priority filters
943
725
  * @param priorities
944
726
  */
945
727
  private _setCustomPriority;
946
728
 
947
- /**
948
- * @description Sets custom categories filters
949
- * @param categories
950
- *
951
- * @deprecated Use setCustomCategory instead
952
- */
953
- private _setCustomCategories;
954
-
955
729
  /**
956
730
  * @description Sets custom categories filters
957
731
  * @param categories
@@ -1141,4 +915,14 @@ export declare class CommentElement {
1141
915
  * To disable scroll to comment component.
1142
916
  */
1143
917
  private _disableScrollToComponent;
918
+
919
+ /**
920
+ * To enable user mentions in comments
921
+ */
922
+ private _enableUserMentions;
923
+
924
+ /**
925
+ * To disable user mentions in comments
926
+ */
927
+ private _disableUserMentions;
1144
928
  }
package/models.d.ts CHANGED
@@ -44,3 +44,4 @@ export * from './app/models/data/user.data.model';
44
44
  export * from './app/models/data/workspace-iam.data.model';
45
45
  export * from './app/models/data/flock-options.model';
46
46
  export * from './app/models/data/customer-metadata.data.model';
47
+ export * from './app/models/data/comment-sidebar-config.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {