@pksep/yui 0.1.287 → 0.1.289

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,7 +1,5 @@
1
- import { Editor } from '@tiptap/core';
2
-
3
1
  interface Props {
4
- editor?: Editor | null;
2
+ editor?: object | null;
5
3
  readClipboardText?: () => Promise<string> | string;
6
4
  }
7
5
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,55 @@
1
+ import { CSSProperties } from 'vue';
2
+ import { IContentEditorSlashMenuItem } from './interfaces/content-editor-slash-menu';
3
+
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ id?: string;
6
+ items: IContentEditorSlashMenuItem[];
7
+ activeIndex?: number;
8
+ positionStyle?: CSSProperties;
9
+ emptyText?: string;
10
+ }>, {
11
+ id: string;
12
+ activeIndex: number;
13
+ positionStyle: () => {};
14
+ emptyText: string;
15
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ select: (index: number) => void;
17
+ "update:activeIndex": (index: number) => void;
18
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
+ id?: string;
20
+ items: IContentEditorSlashMenuItem[];
21
+ activeIndex?: number;
22
+ positionStyle?: CSSProperties;
23
+ emptyText?: string;
24
+ }>, {
25
+ id: string;
26
+ activeIndex: number;
27
+ positionStyle: () => {};
28
+ emptyText: string;
29
+ }>>> & Readonly<{
30
+ onSelect?: ((index: number) => any) | undefined;
31
+ "onUpdate:activeIndex"?: ((index: number) => any) | undefined;
32
+ }>, {
33
+ positionStyle: CSSProperties;
34
+ id: string;
35
+ activeIndex: number;
36
+ emptyText: string;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
+ export default _default;
39
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
+ type __VLS_TypePropsToRuntimeProps<T> = {
41
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
42
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
+ } : {
44
+ type: import('vue').PropType<T[K]>;
45
+ required: true;
46
+ };
47
+ };
48
+ type __VLS_WithDefaults<P, D> = {
49
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
+ default: D[K];
51
+ }> : P[K];
52
+ };
53
+ type __VLS_Prettify<T> = {
54
+ [K in keyof T]: T[K];
55
+ } & {};
@@ -0,0 +1,5 @@
1
+ export interface IContentEditorSlashMenuItem {
2
+ id: string;
3
+ label: string;
4
+ icon?: string;
5
+ }
@@ -48,6 +48,8 @@ import { default as TableSimple } from './Table/TableSimple.vue';
48
48
  import { default as Avatar } from './Avatar/Avatar.vue';
49
49
  import { default as Tabs } from './Tabs/Tabs.vue';
50
50
  import { default as ContentEditor } from './ContentEditor/ContentEditor.vue';
51
+ import { default as ContentEditorFormattingToolbar } from './ContentEditor/ContentEditorFormattingToolbar.vue';
52
+ import { default as ContentEditorSlashMenu } from './ContentEditor/ContentEditorSlashMenu.vue';
51
53
  import { default as ModalCroppedAvatar } from './Cropper/ModalCroppedAvatar.vue';
52
54
  import { default as TimePicker } from './TimePicker/TimePicker.vue';
53
55
  import { default as vuePluginRemoveTestid } from '../helpers/vue-plugin-remove-testid';
@@ -56,6 +58,7 @@ import { IRangeForDatePicker } from './Calendar/interfaces/interfaces';
56
58
  import { OptionsObject } from './Select/interface/interface';
57
59
  import { IDialogProps } from './Modal/interface/interface';
58
60
  import { IDataTestIdProp } from '../common/dataTestidProps';
61
+ import { IContentEditorSlashMenuItem } from './ContentEditor/interfaces/content-editor-slash-menu';
59
62
  import { MessageTypeEnum } from './Notification/enum/enum';
60
63
  import { IconNameEnum } from './Icon/enum/enum';
61
64
  import { SizesEnum } from '../common/sizes';
@@ -77,4 +80,4 @@ declare const _default: {
77
80
  install: (app: App) => void;
78
81
  };
79
82
  export default _default;
80
- export { Accordion, Badges, BreadCrumbs, Button, Dialog, Card, Calendar, DragAndDrop, Switch, SelectList, Dropdown, Textarea, Filter, Icon, Input, Combobox, InputNumber, Search, PushNotification, Picture, Scroll, Modal, Slider, Checkbox, Toggle, UserMenu, CopyIcon, Loader, FilterTag, CircularProgress, Popover, Table, TableSimple, TableNew, TableRow, TableRowNew, TableTd, TableTh, SectionTableRow, HeadTableRow, HeadTableRowNew, ScrollWrapper, Radio, Tooltip, BaseFilter, Range, Avatar, Tabs, ContentEditor, ModalCroppedAvatar, TimePicker, type IDialogProps, type IRangeForDatePicker, type OptionsObject, type IDataTestIdProp, CheckboxSizeEnum, CheckboxCircularEnum, TextFieldEnum, IconNameEnum, SizesEnum, ButtonTypeEnum, ColorsEnum, ImageExtensionsEnum, BadgesTypeEnum, VideoExtensionsEnum, InputTypeEnum, TextareaTypeEnum, MenuTypeEnum, MessageTypeEnum, getLastTime, getFirstTime, vuePluginRemoveTestid, SliderModal, PdfPreview, ImagePreview, VideoPreview, Skeleton };
83
+ export { Accordion, Badges, BreadCrumbs, Button, Dialog, Card, Calendar, DragAndDrop, Switch, SelectList, Dropdown, Textarea, Filter, Icon, Input, Combobox, InputNumber, Search, PushNotification, Picture, Scroll, Modal, Slider, Checkbox, Toggle, UserMenu, CopyIcon, Loader, FilterTag, CircularProgress, Popover, Table, TableSimple, TableNew, TableRow, TableRowNew, TableTd, TableTh, SectionTableRow, HeadTableRow, HeadTableRowNew, ScrollWrapper, Radio, Tooltip, BaseFilter, Range, Avatar, Tabs, ContentEditor, ContentEditorFormattingToolbar, ContentEditorSlashMenu, ModalCroppedAvatar, TimePicker, type IDialogProps, type IRangeForDatePicker, type OptionsObject, type IDataTestIdProp, type IContentEditorSlashMenuItem, CheckboxSizeEnum, CheckboxCircularEnum, TextFieldEnum, IconNameEnum, SizesEnum, ButtonTypeEnum, ColorsEnum, ImageExtensionsEnum, BadgesTypeEnum, VideoExtensionsEnum, InputTypeEnum, TextareaTypeEnum, MenuTypeEnum, MessageTypeEnum, getLastTime, getFirstTime, vuePluginRemoveTestid, SliderModal, PdfPreview, ImagePreview, VideoPreview, Skeleton };