@pksep/yui 0.1.306 → 0.1.308

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.
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
  ## Установка и подключение
17
17
 
18
18
  ```bash
19
- npm i @pksep/yui
19
+ bun add @pksep/yui
20
20
  ```
21
21
 
22
22
  #### 1. Для использования библиотеки в проекте, необходимо импортировать компоненты библиотеки в главный файл проекта main.ts таким образом:
@@ -77,7 +77,7 @@ App.vue
77
77
  [changeloggen](https://unjs.io/packages/changelogen/)
78
78
 
79
79
  ```sh
80
- pnpm run build:lib
80
+ bun run publish:lib
81
81
  ```
82
82
 
83
83
  Токен можно для публикации можно получить у менеджера.
@@ -1,8 +1,6 @@
1
+ import { IContentEditorSlots } from './interfaces/content-editor';
1
2
 
2
- declare function __VLS_template(): {
3
- action?(_: {}): any;
4
- "mobile-right-action"?(_: {}): any;
5
- };
3
+ declare function __VLS_template(): Readonly<IContentEditorSlots> & IContentEditorSlots;
6
4
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
5
  modelValue: import('vue').PropType<string>;
8
6
  activeAttachFile: {
@@ -115,7 +113,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
115
113
  emitAttachFiles: (files: FileList | File[], onlyMedia?: boolean) => Promise<void>;
116
114
  queueAttachFiles: (files: FileList | File[], onlyMedia: boolean) => Promise<void>;
117
115
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
118
- "unmount-send": (params: import('./interfaces/content-editor').IContentEditorSendPayload) => void;
116
+ "unmount-send": (params: import('..').IContentEditorSendPayload) => void;
119
117
  "unmount-attach-file": (files: FileList, onlyMedia: boolean) => void;
120
118
  "mention-change": (search: string | null) => void;
121
119
  "slash-change": (search: string | null) => void;
@@ -225,7 +223,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
225
223
  type: import('vue').PropType<(item: unknown) => string>;
226
224
  };
227
225
  }>> & Readonly<{
228
- "onUnmount-send"?: ((params: import('./interfaces/content-editor').IContentEditorSendPayload) => any) | undefined;
226
+ "onUnmount-send"?: ((params: import('..').IContentEditorSendPayload) => any) | undefined;
229
227
  "onUnmount-attach-file"?: ((files: FileList, onlyMedia: boolean) => any) | undefined;
230
228
  "onMention-change"?: ((search: string | null) => any) | undefined;
231
229
  "onSlash-change"?: ((search: string | null) => any) | undefined;
@@ -9,6 +9,13 @@ export interface IContentEditorEmit {
9
9
  (e: 'mention-change', search: string | null): void;
10
10
  (e: 'slash-change', search: string | null): void;
11
11
  }
12
+ export interface IContentEditorSlots {
13
+ action?: () => unknown;
14
+ 'mobile-right-action'?: () => unknown;
15
+ 'mobile-trailing-action'?: () => unknown;
16
+ 'desktop-left-action'?: () => unknown;
17
+ 'desktop-right-action'?: () => unknown;
18
+ }
12
19
  export interface IContentEditorProps {
13
20
  activeAttachFile?: boolean;
14
21
  activeSelectUser?: boolean;
@@ -59,6 +59,7 @@ import { OptionsObject } from './Select/interface/interface';
59
59
  import { IDialogProps } from './Modal/interface/interface';
60
60
  import { IDataTestIdProp } from '../common/dataTestidProps';
61
61
  import { IContentEditorSlashMenuItem } from './ContentEditor/interfaces/content-editor-slash-menu';
62
+ import { IContentEditorProps, IContentEditorSendPayload, IContentEditorSlots } from './ContentEditor/interfaces/content-editor';
62
63
  import { MessageTypeEnum } from './Notification/enum/enum';
63
64
  import { IconNameEnum } from './Icon/enum/enum';
64
65
  import { SizesEnum } from '../common/sizes';
@@ -80,4 +81,4 @@ declare const _default: {
80
81
  install: (app: App) => void;
81
82
  };
82
83
  export default _default;
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 };
84
+ 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, type IContentEditorProps, type IContentEditorSendPayload, type IContentEditorSlots, CheckboxSizeEnum, CheckboxCircularEnum, TextFieldEnum, IconNameEnum, SizesEnum, ButtonTypeEnum, ColorsEnum, ImageExtensionsEnum, BadgesTypeEnum, VideoExtensionsEnum, InputTypeEnum, TextareaTypeEnum, MenuTypeEnum, MessageTypeEnum, getLastTime, getFirstTime, vuePluginRemoveTestid, SliderModal, PdfPreview, ImagePreview, VideoPreview, Skeleton };