@lobehub/chat 1.36.27 → 1.36.29
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/CHANGELOG.md +42 -0
- package/changelog/v1.json +14 -0
- package/locales/ar/common.json +37 -1
- package/locales/ar/models.json +27 -0
- package/locales/bg-BG/common.json +37 -1
- package/locales/bg-BG/models.json +27 -0
- package/locales/de-DE/common.json +37 -1
- package/locales/de-DE/models.json +27 -0
- package/locales/en-US/common.json +37 -1
- package/locales/en-US/models.json +27 -0
- package/locales/es-ES/common.json +37 -1
- package/locales/es-ES/models.json +27 -0
- package/locales/fa-IR/common.json +37 -1
- package/locales/fa-IR/models.json +27 -0
- package/locales/fr-FR/common.json +37 -1
- package/locales/fr-FR/models.json +27 -0
- package/locales/it-IT/common.json +37 -1
- package/locales/it-IT/models.json +27 -0
- package/locales/ja-JP/common.json +37 -1
- package/locales/ja-JP/models.json +27 -0
- package/locales/ko-KR/common.json +37 -1
- package/locales/ko-KR/models.json +27 -0
- package/locales/nl-NL/common.json +37 -1
- package/locales/nl-NL/models.json +27 -0
- package/locales/pl-PL/common.json +37 -1
- package/locales/pl-PL/models.json +27 -0
- package/locales/pt-BR/common.json +37 -1
- package/locales/pt-BR/models.json +27 -0
- package/locales/ru-RU/common.json +37 -1
- package/locales/ru-RU/models.json +27 -0
- package/locales/tr-TR/common.json +37 -1
- package/locales/tr-TR/models.json +27 -0
- package/locales/vi-VN/common.json +37 -1
- package/locales/vi-VN/models.json +27 -0
- package/locales/zh-CN/common.json +37 -1
- package/locales/zh-CN/models.json +28 -1
- package/locales/zh-TW/common.json +37 -1
- package/locales/zh-TW/models.json +27 -0
- package/package.json +1 -1
- package/src/app/loading/Content.tsx +14 -0
- package/src/app/loading/Redirect.tsx +28 -12
- package/src/app/loading/index.tsx +8 -3
- package/src/const/locale.ts +2 -4
- package/src/locales/default/common.ts +37 -1
- package/src/server/modules/AssistantStore/index.test.ts +8 -4
- package/src/server/modules/PluginStore/index.test.ts +2 -2
- package/src/store/global/selectors.ts +5 -1
- package/src/app/loading/Client.tsx +0 -13
@@ -2,6 +2,8 @@ import { GlobalStore } from '@/store/global';
|
|
2
2
|
|
3
3
|
import { INITIAL_STATUS } from './initialState';
|
4
4
|
|
5
|
+
const systemStatus = (s: GlobalStore) => s.status;
|
6
|
+
|
5
7
|
const sessionGroupKeys = (s: GlobalStore): string[] =>
|
6
8
|
s.status.expandSessionGroupKeys || INITIAL_STATUS.expandSessionGroupKeys;
|
7
9
|
|
@@ -19,13 +21,15 @@ const sessionWidth = (s: GlobalStore) => s.status.sessionsWidth;
|
|
19
21
|
const filePanelWidth = (s: GlobalStore) => s.status.filePanelWidth;
|
20
22
|
const inputHeight = (s: GlobalStore) => s.status.inputHeight;
|
21
23
|
const threadInputHeight = (s: GlobalStore) => s.status.threadInputHeight;
|
22
|
-
|
24
|
+
|
25
|
+
const isPgliteNotEnabled = () => false;
|
23
26
|
|
24
27
|
export const systemStatusSelectors = {
|
25
28
|
filePanelWidth,
|
26
29
|
hidePWAInstaller,
|
27
30
|
inZenMode,
|
28
31
|
inputHeight,
|
32
|
+
isPgliteNotEnabled,
|
29
33
|
mobileShowPortal,
|
30
34
|
mobileShowTopic,
|
31
35
|
sessionGroupKeys,
|
@@ -1,13 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
|
3
|
-
import { useTranslation } from 'react-i18next';
|
4
|
-
|
5
|
-
import FullscreenLoading from '@/components/FullscreenLoading';
|
6
|
-
|
7
|
-
const Loading = () => {
|
8
|
-
const { t } = useTranslation('common');
|
9
|
-
|
10
|
-
return <FullscreenLoading title={t('appInitializing')} />;
|
11
|
-
};
|
12
|
-
|
13
|
-
export default Loading;
|