@veltdev/sdk-staging 3.0.62 → 3.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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CommentAnnotation } from "./comment-annotation.data.model";
|
|
1
2
|
import { Location } from "./location.model";
|
|
2
3
|
declare class FilterTypeConfig {
|
|
3
4
|
name?: string;
|
|
@@ -33,4 +34,23 @@ export declare class CommentSidebarFilters {
|
|
|
33
34
|
name?: string;
|
|
34
35
|
}[];
|
|
35
36
|
}
|
|
37
|
+
export interface CommentSidebarActionsConfig {
|
|
38
|
+
[key: string]: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface CommentSidebarDataConfig {
|
|
41
|
+
actions: CommentSidebarActionsConfig;
|
|
42
|
+
data: CommentAnnotation[];
|
|
43
|
+
unreadDataMap: {
|
|
44
|
+
[commentAnnotationId: string]: number;
|
|
45
|
+
};
|
|
46
|
+
systemFilteredData: CommentAnnotation[];
|
|
47
|
+
}
|
|
48
|
+
export interface CommentSidebarData {
|
|
49
|
+
type: 'group';
|
|
50
|
+
data: {
|
|
51
|
+
displayName: string;
|
|
52
|
+
isExpanded: boolean;
|
|
53
|
+
annotations: CommentAnnotation[];
|
|
54
|
+
};
|
|
55
|
+
}
|
|
36
56
|
export {};
|
|
@@ -823,6 +823,45 @@ export declare class CommentElement {
|
|
|
823
823
|
*/
|
|
824
824
|
public disableQueryParamsComments: () => void;
|
|
825
825
|
|
|
826
|
+
/**
|
|
827
|
+
* Subscribe to comment sidebar action button click
|
|
828
|
+
* @returns comment sidebar data
|
|
829
|
+
*/
|
|
830
|
+
public onCommentSidebarActionButtonClick: () => Observable<CommentSidebarDataConfig | null>;
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* To set comment sidebar data
|
|
834
|
+
* @param data comment sidebar data
|
|
835
|
+
*/
|
|
836
|
+
public setCommentSidebarData: (data: CommentSidebarData[]) => void;
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Subscribe to comment sidebar init
|
|
840
|
+
* @returns comment sidebar data
|
|
841
|
+
*/
|
|
842
|
+
public onCommentSidebarInit: () => Observable<CommentSidebarDataConfig | null>;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Subscribe to comment sidebar data
|
|
846
|
+
* @returns comment sidebar data
|
|
847
|
+
*/
|
|
848
|
+
public onCommentSidebarData: () => Observable<CommentSidebarDataConfig | null>;
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* To set comment sidebar default actions config
|
|
852
|
+
* @param data comment sidebar default actions config
|
|
853
|
+
*/
|
|
854
|
+
public setCommentSidebarDefaultActionsConfig: (data: CommentSidebarActionsConfig) => void;
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* To enable comment sidebar custom filter mode
|
|
858
|
+
*/
|
|
859
|
+
public enableCommentSidebarCustomFilterMode: () => void;
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* To disable comment sidebar custom filter mode
|
|
863
|
+
*/
|
|
864
|
+
public disableCommentSidebarCustomFilterMode: () => void;
|
|
826
865
|
|
|
827
866
|
constructor();
|
|
828
867
|
/**
|
|
@@ -1633,4 +1672,43 @@ export declare class CommentElement {
|
|
|
1633
1672
|
* To disable query params comments
|
|
1634
1673
|
*/
|
|
1635
1674
|
private _disableQueryParamsComments;
|
|
1636
|
-
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* To enable comment sidebar action button click
|
|
1678
|
+
*/
|
|
1679
|
+
private _onCommentSidebarActionButtonClick;
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* To set comment sidebar data
|
|
1683
|
+
* @param data comment sidebar data
|
|
1684
|
+
*/
|
|
1685
|
+
private _setCommentSidebarData;
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* To subscribe to comment sidebar init
|
|
1689
|
+
* @returns comment sidebar data
|
|
1690
|
+
*/
|
|
1691
|
+
private _onCommentSidebarInit;
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* To subscribe to comment sidebar data
|
|
1695
|
+
* @returns comment sidebar data
|
|
1696
|
+
*/
|
|
1697
|
+
private _onCommentSidebarData;
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* To set comment sidebar default actions config
|
|
1701
|
+
* @param data comment sidebar default actions config
|
|
1702
|
+
*/
|
|
1703
|
+
private _setCommentSidebarDefaultActionsConfig;
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* To enable comment sidebar custom filter mode
|
|
1707
|
+
*/
|
|
1708
|
+
private _enableCommentSidebarCustomFilterMode;
|
|
1709
|
+
|
|
1710
|
+
/**
|
|
1711
|
+
* To disable comment sidebar custom filter mode
|
|
1712
|
+
*/
|
|
1713
|
+
private _disableCommentSidebarCustomFilterMode;
|
|
1714
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.63",
|
|
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": [
|