@mobilon-dev/chotto 0.3.12 → 0.3.13
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/dist/{CreateChat-DYGyItgE.js → CreateChat-BLSa6Pvz.js} +1 -1
- package/dist/{CreateChat2-BssQxlzC.js → CreateChat2-DkcpMfu0.js} +1 -1
- package/dist/{CreateDialog-nG1d1JLQ.js → CreateDialog-CRtDbLYn.js} +1 -1
- package/dist/{ModalVideoRecorder-Di7x1f3E.js → ModalVideoRecorder-DRMD5W4Z.js} +1 -1
- package/dist/{SelectUser2-CMkdxD6H.js → SelectUser2-DxExoHs-.js} +1 -1
- package/dist/chotto.css +1 -1
- package/dist/{index-CBuP7XAZ.js → index-CbPyuani.js} +4403 -3973
- package/dist/types/components/3_compounds/ChatList/ChatList.vue.d.ts +2 -2
- package/dist/types/components/5_containers/BaseContainer/BaseContainer.vue.d.ts +0 -2
- package/dist/types/components/5_containers/FloatContainer/FloatContainer.vue.d.ts +0 -2
- package/dist/types/hooks/index.d.ts +1 -2
- package/dist/types/hooks/modals/index.d.ts +1 -0
- package/dist/types/{apps → hooks}/validators/chats/types.d.ts +1 -1
- package/dist/types/hooks/validators/index.d.ts +3 -0
- package/dist/vuessages.es.js +66 -58
- package/dist/vuessages.umd.js +45 -6
- package/package.json +1 -1
- package/dist/types/apps/validators/examples.d.ts +0 -1358
- package/dist/types/apps/validators/index.d.ts +0 -29
- package/dist/types/apps/validators/test.d.ts +0 -23
- /package/dist/types/hooks/{useModal.d.ts → modals/useModal.d.ts} +0 -0
- /package/dist/types/hooks/{useVideoRecorder.d.ts → modals/useVideoRecorder.d.ts} +0 -0
- /package/dist/types/{apps → hooks}/validators/chats/chatValidator.d.ts +0 -0
- /package/dist/types/{apps → hooks}/validators/chats/index.d.ts +0 -0
- /package/dist/types/{apps → hooks}/validators/chats/useChatValidator.d.ts +0 -0
- /package/dist/types/{apps → hooks}/validators/messages/index.d.ts +0 -0
- /package/dist/types/{apps → hooks}/validators/messages/messageValidator.d.ts +0 -0
- /package/dist/types/{apps → hooks}/validators/messages/types.d.ts +0 -0
- /package/dist/types/{apps → hooks}/validators/messages/useMessageValidator.d.ts +0 -0
- /package/dist/types/{apps → hooks}/validators/sidebar/index.d.ts +0 -0
- /package/dist/types/{apps → hooks}/validators/sidebar/sidebarValidator.d.ts +0 -0
- /package/dist/types/{apps → hooks}/validators/sidebar/types.d.ts +0 -0
- /package/dist/types/{apps → hooks}/validators/sidebar/useSidebarValidator.d.ts +0 -0
@@ -1,29 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Главный экспорт валидаторов
|
3
|
-
*
|
4
|
-
* Структура:
|
5
|
-
* - validators/chats - валидация чатов
|
6
|
-
* - validators/messages - валидация сообщений
|
7
|
-
* - validators/sidebar - валидация sidebar items
|
8
|
-
*
|
9
|
-
* @example
|
10
|
-
* // Импорт валидатора чатов
|
11
|
-
* import { useChatValidator } from '@/apps/validators/chats';
|
12
|
-
*
|
13
|
-
* @example
|
14
|
-
* // Импорт валидатора сообщений
|
15
|
-
* import { useMessageValidator } from '@/apps/validators/messages';
|
16
|
-
*
|
17
|
-
* @example
|
18
|
-
* // Импорт валидатора sidebar
|
19
|
-
* import { useSidebarValidator } from '@/apps/validators/sidebar';
|
20
|
-
*
|
21
|
-
* @example
|
22
|
-
* // Импорт всех валидаторов
|
23
|
-
* import { useChatValidator, useMessageValidator, useSidebarValidator } from '@/apps/validators';
|
24
|
-
*/
|
25
|
-
export * from './chats';
|
26
|
-
export * from './messages';
|
27
|
-
export * from './sidebar';
|
28
|
-
export * from './examples';
|
29
|
-
export * from './test';
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Простой тестовый файл для проверки валидатора
|
3
|
-
*
|
4
|
-
* Использование:
|
5
|
-
*
|
6
|
-
* В вашем компоненте или приложении:
|
7
|
-
* ```ts
|
8
|
-
* import { testChatsValidation } from '@/apps/validators/test';
|
9
|
-
* testChatsValidation();
|
10
|
-
* ```
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
* Запустить валидацию текущих данных чатов и вывести результат в консоль
|
14
|
-
*/
|
15
|
-
export declare function testChatsValidation(): import("./chats").ValidationResult;
|
16
|
-
/**
|
17
|
-
* Валидация произвольных данных чатов
|
18
|
-
*/
|
19
|
-
export declare function testCustomChats(customChats: any[]): import("./chats").ValidationResult;
|
20
|
-
/**
|
21
|
-
* Пример валидации с ошибками (для тестирования)
|
22
|
-
*/
|
23
|
-
export declare function testWithErrors(): import("./chats").ValidationResult;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|