@nocobase/client 2.1.0-beta.29 → 2.1.0-beta.32
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/es/index.mjs +23 -18
- package/es/modules/actions/associate/utils.d.ts +18 -0
- package/es/route-switch/antd/admin-layout/AdminLayoutMenuModels.d.ts +4 -0
- package/es/system-settings/SystemSettingsShortcut.d.ts +7 -0
- package/lib/index.js +24 -19
- package/lib/locale/de-DE.json +0 -3
- package/lib/locale/en-US.json +3 -3
- package/lib/locale/es-ES.json +0 -3
- package/lib/locale/fr-FR.json +0 -3
- package/lib/locale/hu-HU.json +0 -3
- package/lib/locale/id-ID.json +0 -3
- package/lib/locale/it-IT.json +0 -3
- package/lib/locale/ja-JP.json +0 -3
- package/lib/locale/ko-KR.json +0 -3
- package/lib/locale/nl-NL.json +0 -3
- package/lib/locale/pt-BR.json +0 -3
- package/lib/locale/ru-RU.json +0 -3
- package/lib/locale/tr-TR.json +0 -3
- package/lib/locale/uk-UA.json +0 -3
- package/lib/locale/vi-VN.json +0 -3
- package/lib/locale/zh-CN.json +3 -3
- package/lib/locale/zh-TW.json +0 -3
- package/package.json +7 -7
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
export declare const buildAssociatedRecordsFilter: (collectionField: any, associatedRecords?: any[]) => {
|
|
10
|
+
[x: string]: any[];
|
|
11
|
+
};
|
|
12
|
+
export declare const buildToManyAssociationFilter: (collectionField: any, record: any, associatedRecords?: any[]) => {
|
|
13
|
+
[x: string]: any[];
|
|
14
|
+
} | {
|
|
15
|
+
[x: number]: {
|
|
16
|
+
$is: any;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -28,6 +28,8 @@ export declare class AdminLayoutMenuItemModel extends FlowModel<AdminLayoutMenuI
|
|
|
28
28
|
getRouteRepository(): any;
|
|
29
29
|
hasPersistedMenuInstanceFlowFlag(route?: NocoBaseDesktopRoute): boolean;
|
|
30
30
|
getCurrentPersistedInstanceFlowCount(): number;
|
|
31
|
+
hasPersistableMenuLinkageRules(): boolean;
|
|
32
|
+
hasCurrentPersistedMenuState(): boolean;
|
|
31
33
|
buildRouteOptionsWithPersistedFlowFlag(hasPersistedMenuInstanceFlow: boolean): {
|
|
32
34
|
[x: string]: any;
|
|
33
35
|
hasPersistedMenuInstanceFlow?: boolean;
|
|
@@ -46,6 +48,8 @@ export declare class AdminLayoutMenuItemModel extends FlowModel<AdminLayoutMenuI
|
|
|
46
48
|
* @returns {boolean} 是否需要走 FlowModel 默认保存链路
|
|
47
49
|
*/
|
|
48
50
|
hasPersistableInstanceFlows(): boolean;
|
|
51
|
+
setHidden(value: boolean): void;
|
|
52
|
+
protected renderHiddenInConfig(): React.ReactNode | undefined;
|
|
49
53
|
insertRouteSchema(schema: Record<string, any>): Promise<void>;
|
|
50
54
|
createMenuRoute(route: NocoBaseDesktopRoute, options?: {
|
|
51
55
|
parentId?: string | number;
|
|
@@ -7,4 +7,11 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
import React from 'react';
|
|
10
|
+
type SystemSettingsMutationData = {
|
|
11
|
+
data?: Record<string, unknown>;
|
|
12
|
+
};
|
|
13
|
+
export declare const getSystemSettingsMutationData: (response: {
|
|
14
|
+
data?: SystemSettingsMutationData;
|
|
15
|
+
} | undefined, currentData: SystemSettingsMutationData | undefined, values: Record<string, unknown>) => SystemSettingsMutationData;
|
|
10
16
|
export declare const SystemSettingsPane: () => React.JSX.Element;
|
|
17
|
+
export {};
|