@veltdev/types-dev 2.0.65 → 2.0.67
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.
|
@@ -7,7 +7,7 @@ import { PageInfo } from "./page-info.model";
|
|
|
7
7
|
import { TargetElement } from "./target-element.data.model";
|
|
8
8
|
import { TargetTextRange } from "./target-text-range.data.model";
|
|
9
9
|
import { User } from "./user.data.model";
|
|
10
|
-
import {
|
|
10
|
+
import { CustomAnnotationDropdownItem } from "./custom-chip-dropdown.data.model";
|
|
11
11
|
export declare class CommentAnnotation {
|
|
12
12
|
/**
|
|
13
13
|
* Unique identifier for the comment pin annotation.
|
|
@@ -161,7 +161,7 @@ export declare class CommentAnnotation {
|
|
|
161
161
|
isPageAnnotation?: boolean;
|
|
162
162
|
targetInlineCommentElementId?: string;
|
|
163
163
|
inlineCommentSectionConfig?: InlineCommentSectionConfig;
|
|
164
|
-
customList?:
|
|
164
|
+
customList?: CustomAnnotationDropdownItem[];
|
|
165
165
|
}
|
|
166
166
|
export declare class GhostComment {
|
|
167
167
|
targetElement?: TargetElement | null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export declare class
|
|
1
|
+
export type CustomAnnotationDropdownType = 'multi' | 'single';
|
|
2
|
+
export declare class CustomAnnotationDropdownItem {
|
|
3
3
|
id: string;
|
|
4
4
|
label: string;
|
|
5
5
|
}
|
|
6
|
-
export declare class
|
|
7
|
-
type:
|
|
8
|
-
data:
|
|
6
|
+
export declare class CustomAnnotationDropdownData {
|
|
7
|
+
type: CustomAnnotationDropdownType;
|
|
8
|
+
data: CustomAnnotationDropdownItem[];
|
|
9
9
|
}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { CommentAnnotation, CommentOnElementConfig, CommentSelectionChangeData, ManualCommentAnnotationConfig } from "../data/comment-annotation.data.model";
|
|
4
4
|
import { CustomCategory, CustomPriority, CustomStatus } from "../data/custom-filter.data.model";
|
|
5
|
+
import { CustomAnnotationDropdownData } from "../data/custom-chip-dropdown.data.model";
|
|
6
|
+
import { AutocompleteData } from "../data/autocomplete.data.model";
|
|
7
|
+
|
|
5
8
|
export { ReactionMap } from '../data/reaction-annotation.data.model';
|
|
6
9
|
export declare class CommentElement {
|
|
7
10
|
/**
|
|
@@ -700,6 +703,18 @@ export declare class CommentElement {
|
|
|
700
703
|
* @param config manual comment annotation config
|
|
701
704
|
*/
|
|
702
705
|
public addManualComment: (config: ManualCommentAnnotationConfig) => void;
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* To add custom list dropdown on comment annotation.
|
|
709
|
+
* @param data custom list data
|
|
710
|
+
*/
|
|
711
|
+
public createCustomListDataOnAnnotation: (data: CustomAnnotationDropdownData) => void;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* To add custom list dropdown on comment.
|
|
715
|
+
* @param data custom list data
|
|
716
|
+
*/
|
|
717
|
+
public createCustomListDataOnComment: (data: AutocompleteData) => void;
|
|
703
718
|
constructor();
|
|
704
719
|
/**
|
|
705
720
|
* Subscribe to comments on the current document.
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare enum CommentStatus {
|
|
|
8
8
|
STATUS_CHANGED = "statusChanged",
|
|
9
9
|
PRIORITY_CHANGED = "priorityChanged",
|
|
10
10
|
ACCESS_MODE_CHANGED = "accessModeChanged",
|
|
11
|
-
|
|
11
|
+
CUSTOM_LIST_CHANGED = "customListChanged",
|
|
12
12
|
ACCEPTED = "accepted",
|
|
13
13
|
REJECTED = "rejected",
|
|
14
14
|
REACTION_ADDED = "reactionAdded",
|