@pksep/yui 0.1.202 → 0.1.204

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.
@@ -8,5 +8,6 @@ export declare enum ImageExtensionsEnum {
8
8
  export declare enum VideoExtensionsEnum {
9
9
  mp4 = "mp4",
10
10
  mp3 = "mp3",
11
- avif = "avif"
11
+ avif = "avif",
12
+ mov = "mov"
12
13
  }
@@ -6,33 +6,52 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
6
6
  modelValue: import('vue').PropType<string>;
7
7
  activeAttachFile: {
8
8
  type: import('vue').PropType<boolean>;
9
- required: true;
9
+ };
10
+ activeSelectUser: {
11
+ type: import('vue').PropType<boolean>;
10
12
  };
11
13
  activeSend: {
12
14
  type: import('vue').PropType<boolean>;
13
15
  };
16
+ disableSendOnEnter: {
17
+ type: import('vue').PropType<boolean>;
18
+ };
19
+ isMentionModalOpen: {
20
+ type: import('vue').PropType<boolean>;
21
+ };
14
22
  }>, {
15
- addSpanLink: (content: string) => void;
23
+ addSpanLink: (content: string, attrs?: Record<string, string>) => void;
16
24
  focus: () => void;
25
+ editor: import('vue').ShallowRef<import('@tiptap/vue-3').Editor | undefined, import('@tiptap/vue-3').Editor | undefined>;
17
26
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
27
  "unmount-send": (params: {
19
28
  content?: string;
20
29
  }) => void;
21
30
  "unmount-attach-file": (files: FileList, onlyMedia: boolean) => void;
31
+ "mention-change": (search: string | null) => void;
22
32
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
23
33
  modelValue: import('vue').PropType<string>;
24
34
  activeAttachFile: {
25
35
  type: import('vue').PropType<boolean>;
26
- required: true;
36
+ };
37
+ activeSelectUser: {
38
+ type: import('vue').PropType<boolean>;
27
39
  };
28
40
  activeSend: {
29
41
  type: import('vue').PropType<boolean>;
30
42
  };
43
+ disableSendOnEnter: {
44
+ type: import('vue').PropType<boolean>;
45
+ };
46
+ isMentionModalOpen: {
47
+ type: import('vue').PropType<boolean>;
48
+ };
31
49
  }>> & Readonly<{
32
50
  "onUnmount-send"?: ((params: {
33
51
  content?: string;
34
52
  }) => any) | undefined;
35
53
  "onUnmount-attach-file"?: ((files: FileList, onlyMedia: boolean) => any) | undefined;
54
+ "onMention-change"?: ((search: string | null) => any) | undefined;
36
55
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
56
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
57
  export default _default;
@@ -3,8 +3,12 @@ export interface IContentEditorEmit {
3
3
  content?: string;
4
4
  }): void;
5
5
  (e: 'unmount-attach-file', files: FileList, onlyMedia: boolean): void;
6
+ (e: 'mention-change', search: string | null): void;
6
7
  }
7
8
  export interface IContentEditorProps {
8
- activeAttachFile: boolean;
9
+ activeAttachFile?: boolean;
10
+ activeSelectUser?: boolean;
9
11
  activeSend?: boolean;
12
+ disableSendOnEnter?: boolean;
13
+ isMentionModalOpen?: boolean;
10
14
  }
@@ -27,9 +27,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
27
27
  onFocused?: ((event: FocusEvent) => any) | undefined;
28
28
  }>, {
29
29
  dataTestid: string;
30
+ max: number;
30
31
  size: SizesEnum.small | SizesEnum.medium;
31
32
  modelValue: number;
32
- max: number;
33
33
  min: number;
34
34
  modelModifiers: object;
35
35
  isInteger: boolean;
@@ -22,9 +22,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
22
22
  }>, {
23
23
  dataTestid: string;
24
24
  type: MessageTypeEnum;
25
+ timeout: number;
25
26
  showPopover: boolean;
26
27
  description: string;
27
- timeout: number;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
29
29
  export default _default;
30
30
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -10,13 +10,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
10
10
  type: import('vue').PropType<ToggleEnum>;
11
11
  default: ToggleEnum;
12
12
  };
13
- backgroundColor: {
14
- type: import('vue').PropType<string>;
15
- };
16
13
  disabled: {
17
14
  type: import('vue').PropType<boolean>;
18
15
  default: boolean;
19
16
  };
17
+ backgroundColor: {
18
+ type: import('vue').PropType<string>;
19
+ };
20
20
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
21
  change: (isChecked: boolean) => void;
22
22
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -29,13 +29,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
29
29
  type: import('vue').PropType<ToggleEnum>;
30
30
  default: ToggleEnum;
31
31
  };
32
- backgroundColor: {
33
- type: import('vue').PropType<string>;
34
- };
35
32
  disabled: {
36
33
  type: import('vue').PropType<boolean>;
37
34
  default: boolean;
38
35
  };
36
+ backgroundColor: {
37
+ type: import('vue').PropType<string>;
38
+ };
39
39
  }>> & Readonly<{
40
40
  onChange?: ((isChecked: boolean) => any) | undefined;
41
41
  }>, {