@veltdev/types-dev 2.0.64 → 2.0.65

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 @@ export declare class AutocompleteData {
7
7
  hotkey: string;
8
8
  description?: string;
9
9
  type: 'custom' | 'contact' | 'group';
10
- list: AutocompleteItem[];
10
+ data: AutocompleteItem[];
11
11
  }
12
12
  export declare class AutocompleteItem {
13
13
  id: string;
@@ -7,6 +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 { ChipData } from "./custom-chip-dropdown.data.model";
10
11
  export declare class CommentAnnotation {
11
12
  /**
12
13
  * Unique identifier for the comment pin annotation.
@@ -160,6 +161,7 @@ export declare class CommentAnnotation {
160
161
  isPageAnnotation?: boolean;
161
162
  targetInlineCommentElementId?: string;
162
163
  inlineCommentSectionConfig?: InlineCommentSectionConfig;
164
+ customList?: ChipData[];
163
165
  }
164
166
  export declare class GhostComment {
165
167
  targetElement?: TargetElement | null;
@@ -0,0 +1,9 @@
1
+ export type CustomChipType = 'multi' | 'single';
2
+ export declare class ChipData {
3
+ id: string;
4
+ label: string;
5
+ }
6
+ export declare class CustomChipDropdownData {
7
+ type: CustomChipType;
8
+ data: ChipData[];
9
+ }
@@ -1391,4 +1391,16 @@ export declare class CommentElement {
1391
1391
  * @param config manual comment annotation config
1392
1392
  */
1393
1393
  private _addManualComment;
1394
+
1395
+ /**
1396
+ * To add custom list dropdown on comment annotation.
1397
+ * @param data custom list data
1398
+ */
1399
+ private _createCustomListDataOnAnnotation;
1400
+
1401
+ /**
1402
+ * To add custom list dropdown on comment.
1403
+ * @param data custom list data
1404
+ */
1405
+ private _createCustomListDataOnComment;
1394
1406
  }
@@ -8,6 +8,7 @@ export declare enum CommentStatus {
8
8
  STATUS_CHANGED = "statusChanged",
9
9
  PRIORITY_CHANGED = "priorityChanged",
10
10
  ACCESS_MODE_CHANGED = "accessModeChanged",
11
+ CUSTOM_CHIPS_CHANGED = "customChipsChanged",
11
12
  ACCEPTED = "accepted",
12
13
  REJECTED = "rejected",
13
14
  REACTION_ADDED = "reactionAdded",
package/models.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './app/models/data/config.data.model';
8
8
  export * from './app/models/data/cursor-position.data.model';
9
9
  export * from './app/models/data/cursor-user.data.model';
10
10
  export * from './app/models/data/custom-css.data.model';
11
+ export * from './app/models/data/custom-chip-dropdown.data.model';
11
12
  export * from './app/models/data/device-info.model';
12
13
  export * from './app/models/data/document-iam.data.model';
13
14
  export * from './app/models/data/document-metadata.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "2.0.64",
3
+ "version": "2.0.65",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",