@mobilon-dev/chotto 0.3.118 → 0.3.119
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/chotto.css +1 -1
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +89 -83
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationChannels.js +20 -20
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationDialogSync.js +18 -18
- package/dist/themes/dark.css +1 -1
- package/dist/themes/default.css +1 -1
- package/dist/themes/glass.css +1 -1
- package/dist/themes/green.css +1 -1
- package/dist/themes/mobilon1.css +1 -1
- package/dist/types/src/apps/data/channels.d.ts +10 -0
- package/dist/types/src/components/2_blocks/CommunicationPanel/composables/useCommunicationActions.d.ts +1 -0
- package/dist/types/src/components/2_blocks/CommunicationPanel/composables/useCommunicationChannels.d.ts +2 -0
- package/dist/types/src/components/2_blocks/CommunicationPanel/composables/useCommunicationRecentSelection.d.ts +1 -0
- package/dist/types/src/components/2_blocks/CommunicationPanel/styles/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ export declare const channels: ({
|
|
|
5
5
|
icon: string;
|
|
6
6
|
status: string;
|
|
7
7
|
autoAccess: boolean;
|
|
8
|
+
isBot?: undefined;
|
|
8
9
|
} | {
|
|
9
10
|
branchId: string;
|
|
10
11
|
channelId: string;
|
|
@@ -12,4 +13,13 @@ export declare const channels: ({
|
|
|
12
13
|
status: string;
|
|
13
14
|
autoAccess: boolean;
|
|
14
15
|
icon?: undefined;
|
|
16
|
+
isBot?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
branchId: string;
|
|
19
|
+
channelId: string;
|
|
20
|
+
title: string;
|
|
21
|
+
isBot: boolean;
|
|
22
|
+
status: string;
|
|
23
|
+
autoAccess: boolean;
|
|
24
|
+
icon?: undefined;
|
|
15
25
|
})[];
|
|
@@ -18,6 +18,8 @@ export declare function resolvePanelChannelTypes(channelOrder: readonly string[]
|
|
|
18
18
|
export type Channel = {
|
|
19
19
|
channelId: string;
|
|
20
20
|
title?: string;
|
|
21
|
+
/** Показывать серую метку «бот» справа от названия в подменю каналов */
|
|
22
|
+
isBot?: boolean;
|
|
21
23
|
[key: string]: unknown;
|
|
22
24
|
};
|
|
23
25
|
type MaybeRef<T> = T | Ref<T> | ComputedRef<T>;
|
|
@@ -510,6 +510,8 @@ export interface CommunicationPanelThemeCSSVariables {
|
|
|
510
510
|
'--chotto-communicationpanel-submenu-title-font-size': string;
|
|
511
511
|
/** Цвет заголовка подменю */
|
|
512
512
|
'--chotto-communicationpanel-submenu-title-color': string;
|
|
513
|
+
/** Цвет метки «бот» у названия канала в подменю */
|
|
514
|
+
'--chotto-communicationpanel-submenu-title-bot-color': string;
|
|
513
515
|
/** Перенос пробелов заголовка подменю */
|
|
514
516
|
'--chotto-communicationpanel-submenu-title-white-space': string;
|
|
515
517
|
/** Переполнение заголовка подменю */
|