@veltdev/types-dev 3.0.120 → 3.0.122

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.
@@ -20,3 +20,11 @@ export declare class Selection {
20
20
  targetTextRange?: TargetTextRange | null;
21
21
  pageInfo: PageInfo;
22
22
  }
23
+ export declare enum UserIndicatorPosition {
24
+ Start = "start",
25
+ End = "end"
26
+ }
27
+ export declare enum UserIndicatorType {
28
+ Avatar = "avatar",
29
+ Label = "label"
30
+ }
@@ -1681,6 +1681,7 @@ export declare class CommentElement {
1681
1681
  /**
1682
1682
  * To set comment sidebar data
1683
1683
  * @param data comment sidebar data
1684
+ * @param options options
1684
1685
  */
1685
1686
  private _setCommentSidebarData;
1686
1687
 
@@ -1700,15 +1701,15 @@ export declare class CommentElement {
1700
1701
  * To set comment sidebar default actions config
1701
1702
  * @param data comment sidebar default actions config
1702
1703
  */
1703
- private _setCommentSidebarDefaultActionsConfig;
1704
+ private _setCommentSidebarDefaultCustomActions;
1704
1705
 
1705
1706
  /**
1706
1707
  * To enable comment sidebar custom filter mode
1707
1708
  */
1708
- private _enableCommentSidebarCustomFilterMode;
1709
+ private _enableSidebarCustomActions;
1709
1710
 
1710
1711
  /**
1711
1712
  * To disable comment sidebar custom filter mode
1712
1713
  */
1713
- private _disableCommentSidebarCustomFilterMode;
1714
+ private _disableSidebarCustomActions;
1714
1715
  }
@@ -1,4 +1,5 @@
1
1
  // @ts-nocheck
2
+ import { UserIndicatorPosition, UserIndicatorType } from "../data/selection.model";
2
3
  export declare class SelectionElement {
3
4
  /**
4
5
  * To enable selections
@@ -8,7 +9,48 @@ export declare class SelectionElement {
8
9
  /**
9
10
  * To disable selections
10
11
  */
11
- disableLiveSelection: () => void;
12
+ disableLiveSelection: () => void;
13
+
14
+ /**
15
+ * To enable user indicator
16
+ */
17
+ enableUserIndicator: () => void;
18
+
19
+ /**
20
+ * To disable user indicator
21
+ */
22
+ disableUserIndicator: () => void;
23
+
24
+ /**
25
+ * To set user indicator position
26
+ */
27
+ setUserIndicatorPosition: (position: UserIndicatorPosition) => void;
28
+
29
+ /**
30
+ * To set user indicator type
31
+ */
32
+ setUserIndicatorType: (type: UserIndicatorType) => void;
33
+
34
+ /**
35
+ * To enable default elements tracking
36
+ */
37
+ enableDefaultElementsTracking: () => void;
38
+
39
+ /**
40
+ * To disable default elements tracking
41
+ */
42
+ disableDefaultElementsTracking: () => void;
43
+
44
+ /**
45
+ * To enable default styling
46
+ */
47
+ enableDefaultStyling: () => void;
48
+
49
+ /**
50
+ * To disable default styling
51
+ */
52
+ disableDefaultStyling: () => void;
53
+
12
54
  constructor();
13
55
 
14
56
  /**
@@ -20,4 +62,44 @@ export declare class SelectionElement {
20
62
  * To disable selections
21
63
  */
22
64
  private _disableLiveSelection;
23
- }
65
+
66
+ /**
67
+ * To enable user indicator
68
+ */
69
+ private _enableUserIndicator;
70
+
71
+ /**
72
+ * To disable user indicator
73
+ */
74
+ private _disableUserIndicator;
75
+
76
+ /**
77
+ * To set user indicator position
78
+ */
79
+ private _setUserIndicatorPosition;
80
+
81
+ /**
82
+ * To set user indicator type
83
+ */
84
+ private _setUserIndicatorType;
85
+
86
+ /**
87
+ * To enable default elements tracking
88
+ */
89
+ private _enableDefaultElementsTracking;
90
+
91
+ /**
92
+ * To disable default elements tracking
93
+ */
94
+ private _disableDefaultElementsTracking;
95
+
96
+ /**
97
+ * To enable default styling
98
+ */
99
+ private _enableDefaultStyling;
100
+
101
+ /**
102
+ * To disable default styling
103
+ */
104
+ private _disableDefaultStyling;
105
+ }
@@ -62,6 +62,10 @@ export declare class Constants {
62
62
  static SNIPPYLY_HIGHLIGHT_USER: string;
63
63
  static SNIPPYLY_HIGHLIGHT_USER_NAME: string;
64
64
  static SNIPPYLY_HIGHLIGHT_USER_TEXT: string;
65
+ static VELT_LIVE_SELECTION_ON_ELEMENT: string;
66
+ static VELT_LIVE_SELECTION_ON_ELEMENT_DEFAULT: string;
67
+ static VELT_LIVE_SELECTION_ON_TEXT: string;
68
+ static VELT_LIVE_SELECTION_ON_TEXT_DEFAULT: string;
65
69
  static VELT_IGNORE_CHANGE_DETECTION: string;
66
70
  static VELT_CUSTOM_CSS: string;
67
71
  static TAGS: {
@@ -261,6 +265,9 @@ export declare class Constants {
261
265
  DEFAULT_CURSOR: string;
262
266
  VELT_HUDDLE_ON_CURSOR_MODE: string;
263
267
  VELT_SELECTION_ENABLED: string;
268
+ VELT_LIVE_SELECTION_ENABLED: string;
269
+ VELT_LIVE_SELECTION_USER_INDICATOR_POSITION: string;
270
+ VELT_LIVE_SELECTION_USER_INDICATOR_TYPE: string;
264
271
  VELT_SELECTION_CONFIG: string;
265
272
  VELT_POPOVER_MODE: string;
266
273
  VELT_ELEMENT_CACHE_ID: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "3.0.120",
3
+ "version": "3.0.122",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [