@nocobase/client 1.6.0-alpha.2 → 1.6.0-alpha.20
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/api-client/APIClient.d.ts +1 -0
- package/es/appInfo/CurrentAppInfoProvider.d.ts +1 -0
- package/es/application/Application.d.ts +16 -0
- package/es/application/RouterManager.d.ts +4 -0
- package/es/application/hooks/index.d.ts +1 -0
- package/es/application/hooks/useGlobalVariable.d.ts +9 -0
- package/es/application/schema-settings/utils/createSwitchSettingsItem.d.ts +1 -0
- package/es/block-provider/BlockProvider.d.ts +2 -2
- package/es/block-provider/hooks/index.d.ts +1 -1
- package/es/collection-manager/interfaces/checkbox.d.ts +20 -0
- package/es/collection-manager/interfaces/properties/operators.d.ts +20 -0
- package/es/collection-manager/templates/sql.d.ts +11 -11
- package/es/collection-manager/templates/view.d.ts +2 -0
- package/es/data-source/data-block/DataBlockRequestProvider.d.ts +21 -4
- package/es/formily/NocoBaseField.d.ts +5 -0
- package/es/formily/NocoBaseReactiveField.d.ts +1 -3
- package/es/formily/NocoBaseRecursionField.d.ts +5 -1
- package/es/formily/createNocoBaseField.d.ts +53 -6
- package/es/index.d.ts +8 -4
- package/es/index.mjs +29560 -28332
- package/es/modules/actions/link/useURLAndHTMLSchema.d.ts +1 -0
- package/es/modules/blocks/data-blocks/details-single/ReadPrettyFormItemInitializers.d.ts +2 -0
- package/es/modules/blocks/data-blocks/table/hooks/useTableBlockProps.d.ts +2 -0
- package/es/modules/blocks/filter-blocks/FilterCollectionField.d.ts +15 -0
- package/es/modules/fields/component/FileManager/fileManagerComponentFieldSettings.d.ts +1 -0
- package/es/modules/fields/component/SubTable/subTablePopoverComponentFieldSettings.d.ts +10 -0
- package/es/modules/menu/GroupItem.d.ts +16 -0
- package/es/modules/menu/LinkMenuItem.d.ts +20 -0
- package/es/modules/menu/PageMenuItem.d.ts +36 -0
- package/es/route-switch/antd/admin-layout/convertRoutesToSchema.d.ts +109 -0
- package/es/route-switch/antd/admin-layout/index.d.ts +7 -1
- package/es/schema-component/antd/action/ActionBar.d.ts +1 -3
- package/es/schema-component/antd/action/hooks.d.ts +1 -1
- package/es/schema-component/antd/action/types.d.ts +1 -0
- package/es/schema-component/antd/association-field/InternalViewer.d.ts +3 -0
- package/es/schema-component/antd/association-field/Table.d.ts +57 -6
- package/es/schema-component/antd/block-item/BlockItemCard.d.ts +2 -2
- package/es/schema-component/antd/date-picker/util.d.ts +1 -0
- package/es/schema-component/antd/form-item/hooks/useSpecialCase.d.ts +6 -2
- package/es/schema-component/antd/form-v2/Templates.d.ts +1 -1
- package/es/schema-component/antd/index.d.ts +7 -6
- package/es/schema-component/antd/input/EllipsisWithTooltip.d.ts +1 -0
- package/es/schema-component/antd/menu/Menu.d.ts +27 -0
- package/es/schema-component/antd/menu/index.d.ts +0 -1
- package/es/schema-component/antd/menu/util.d.ts +2 -2
- package/es/schema-component/antd/page/Page.d.ts +15 -0
- package/es/schema-component/antd/page/PagePopups.d.ts +1 -1
- package/es/schema-component/antd/page/pagePopupUtils.d.ts +0 -1
- package/es/schema-component/antd/page/popupState.d.ts +26 -0
- package/es/schema-component/antd/password/utils.d.ts +1 -1
- package/es/schema-component/antd/table-v2/DelayRender.d.ts +13 -0
- package/es/schema-component/antd/table-v2/Table.Column.ActionBar.d.ts +1 -1
- package/es/schema-component/antd/table-v2/Table.d.ts +3 -0
- package/es/schema-component/antd/table-v2/index.d.ts +1 -1
- package/es/schema-component/antd/time-picker/TimePicker.d.ts +2 -0
- package/es/schema-component/antd/unix-timestamp/UnixTimestamp.d.ts +1 -0
- package/es/schema-component/antd/upload/placeholder.d.ts +1 -1
- package/es/schema-component/antd/upload/shared.d.ts +2 -2
- package/es/schema-component/antd/variable/TextAreaWithGlobalScope.d.ts +21 -0
- package/es/schema-component/antd/variable/index.d.ts +1 -0
- package/es/schema-component/common/utils/uitls.d.ts +0 -6
- package/es/schema-component/common/withPopupWrapper/index.d.ts +0 -1
- package/es/schema-component/context.d.ts +0 -17
- package/es/schema-component/core/SchemaComponent.d.ts +7 -1
- package/es/schema-component/hooks/useDesignable.d.ts +3 -3
- package/es/schema-component/types.d.ts +1 -1
- package/es/schema-settings/LinkageRules/useActionValues.d.ts +7 -0
- package/es/schema-settings/SchemaSettingsDateRange.d.ts +13 -0
- package/es/schema-settings/VariableInput/hooks/useParentRecordVariable.d.ts +2 -2
- package/es/schema-settings/VariableInput/hooks/useRecordVariable.d.ts +7 -0
- package/es/system-settings/SystemSettingsProvider.d.ts +2 -3
- package/es/user/CurrentUserProvider.d.ts +1 -0
- package/lib/index.js +659 -645
- package/lib/locale/en-US.js +35 -2
- package/lib/locale/es-ES.js +30 -1
- package/lib/locale/fr-FR.js +30 -1
- package/lib/locale/ja-JP.js +30 -1
- package/lib/locale/ko-KR.js +30 -1
- package/lib/locale/pt-BR.js +30 -1
- package/lib/locale/ru-RU.js +22 -1
- package/lib/locale/tr-TR.js +22 -1
- package/lib/locale/uk-UA.js +30 -1
- package/lib/locale/zh-CN.js +52 -6
- package/lib/locale/zh-TW.js +31 -1
- package/package.json +6 -6
|
@@ -20,6 +20,7 @@ export declare class APIClient extends APIClientSDK {
|
|
|
20
20
|
service(uid: string): Result<any, any>;
|
|
21
21
|
interceptors(): void;
|
|
22
22
|
toErrMessages(error: any): any;
|
|
23
|
+
handleNotificationError(error: any): Promise<any>;
|
|
23
24
|
useNotificationMiddleware(): void;
|
|
24
25
|
silent(): APIClient;
|
|
25
26
|
}
|
|
@@ -52,6 +52,7 @@ export interface ApplicationOptions {
|
|
|
52
52
|
}
|
|
53
53
|
export declare class Application {
|
|
54
54
|
protected options: ApplicationOptions;
|
|
55
|
+
eventBus: EventTarget;
|
|
55
56
|
providers: ComponentAndProps[];
|
|
56
57
|
router: RouterManager;
|
|
57
58
|
scopes: Record<string, any>;
|
|
@@ -68,13 +69,24 @@ export declare class Application {
|
|
|
68
69
|
schemaSettingsManager: SchemaSettingsManager;
|
|
69
70
|
dataSourceManager: DataSourceManager;
|
|
70
71
|
name: string;
|
|
72
|
+
globalVars: Record<string, any>;
|
|
71
73
|
loading: boolean;
|
|
72
74
|
maintained: boolean;
|
|
73
75
|
maintaining: boolean;
|
|
74
76
|
error: any;
|
|
77
|
+
hasLoadError: boolean;
|
|
78
|
+
private wsAuthorized;
|
|
75
79
|
get pm(): PluginManager;
|
|
76
80
|
get disableAcl(): boolean;
|
|
81
|
+
get isWsAuthorized(): boolean;
|
|
82
|
+
setWsAuthorized(authorized: boolean): void;
|
|
77
83
|
constructor(options?: ApplicationOptions);
|
|
84
|
+
private initListeners;
|
|
85
|
+
protected setTokenInWebSocket(options: {
|
|
86
|
+
token: string;
|
|
87
|
+
authenticator: string;
|
|
88
|
+
}): void;
|
|
89
|
+
setMaintaining(maintaining: boolean): void;
|
|
78
90
|
private initRequireJs;
|
|
79
91
|
private addDefaultProviders;
|
|
80
92
|
private addReactRouterComponents;
|
|
@@ -84,6 +96,7 @@ export declare class Application {
|
|
|
84
96
|
getPublicPath(): string;
|
|
85
97
|
getApiUrl(pathname?: string): string;
|
|
86
98
|
getRouteUrl(pathname: string): string;
|
|
99
|
+
getHref(pathname: string): string;
|
|
87
100
|
getCollectionManager(dataSource?: string): import("../data-source").CollectionManager;
|
|
88
101
|
/**
|
|
89
102
|
* @internal
|
|
@@ -93,6 +106,7 @@ export declare class Application {
|
|
|
93
106
|
addProvider<T = any>(component: ComponentType, props?: T): number;
|
|
94
107
|
addProviders(providers: (ComponentType | [ComponentType, any])[]): void;
|
|
95
108
|
load(): Promise<void>;
|
|
109
|
+
loadWebSocket(): Promise<void>;
|
|
96
110
|
getComponent<T = any>(Component: ComponentTypeAndString<T>, isShowError?: boolean): ComponentType<T> | undefined;
|
|
97
111
|
renderComponent<T extends {}>(Component: ComponentTypeAndString, props?: T, children?: ReactNode): ReactElement;
|
|
98
112
|
/**
|
|
@@ -107,4 +121,6 @@ export declare class Application {
|
|
|
107
121
|
mount(containerOrSelector: Element | ShadowRoot | string): any;
|
|
108
122
|
addFieldInterfaces(fieldInterfaceClasses?: CollectionFieldInterfaceFactory[]): void;
|
|
109
123
|
addFieldInterfaceComponentOption(fieldName: string, componentOption: CollectionFieldInterfaceComponentOption): void;
|
|
124
|
+
addGlobalVar(key: string, value: any): void;
|
|
125
|
+
getGlobalVar(key: any): any;
|
|
110
126
|
}
|
|
@@ -31,6 +31,10 @@ export declare class RouterManager {
|
|
|
31
31
|
protected routes: Record<string, RouteType>;
|
|
32
32
|
protected options: RouterOptions;
|
|
33
33
|
app: Application;
|
|
34
|
+
private router;
|
|
35
|
+
get basename(): any;
|
|
36
|
+
get state(): any;
|
|
37
|
+
get navigate(): any;
|
|
34
38
|
constructor(options: RouterOptions, app: Application);
|
|
35
39
|
/**
|
|
36
40
|
* @internal
|
|
@@ -0,0 +1,9 @@
|
|
|
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 useGlobalVariable: (key: string) => any;
|
|
@@ -102,7 +102,7 @@ export declare const BlockProvider: (props: {
|
|
|
102
102
|
* @returns
|
|
103
103
|
*/
|
|
104
104
|
export declare const useBlockAssociationContext: () => any;
|
|
105
|
-
export declare const useFilterByTk: () => any;
|
|
105
|
+
export declare const useFilterByTk: (blockProps?: any) => any;
|
|
106
106
|
/**
|
|
107
107
|
* @deprecated
|
|
108
108
|
*/
|
|
@@ -116,7 +116,7 @@ export declare const useSourceIdFromParentRecord: () => any;
|
|
|
116
116
|
* @internal
|
|
117
117
|
* @returns
|
|
118
118
|
*/
|
|
119
|
-
export declare const useParamsFromRecord: () => {
|
|
119
|
+
export declare const useParamsFromRecord: (props?: any) => {
|
|
120
120
|
filterByTk: any;
|
|
121
121
|
};
|
|
122
122
|
export declare const RecordLink: (props: any) => React.JSX.Element;
|
|
@@ -153,7 +153,7 @@ export declare const getAppends: ({ schema, prefix: defaultPrefix, updateAssocia
|
|
|
153
153
|
}) => void;
|
|
154
154
|
export declare const useAssociationNames: (dataSource?: string) => {
|
|
155
155
|
getAssociationAppends: () => {
|
|
156
|
-
appends: any
|
|
156
|
+
appends: any;
|
|
157
157
|
updateAssociationValues: any[];
|
|
158
158
|
};
|
|
159
159
|
};
|
|
@@ -48,10 +48,30 @@ export declare class CheckboxFieldInterface extends CollectionFieldInterface {
|
|
|
48
48
|
value: string;
|
|
49
49
|
selected: boolean;
|
|
50
50
|
noValue: boolean;
|
|
51
|
+
schema: {
|
|
52
|
+
'x-component': string;
|
|
53
|
+
'x-component-props': {
|
|
54
|
+
multiple: boolean;
|
|
55
|
+
options: {
|
|
56
|
+
label: string;
|
|
57
|
+
value: boolean;
|
|
58
|
+
}[];
|
|
59
|
+
};
|
|
60
|
+
};
|
|
51
61
|
} | {
|
|
52
62
|
label: string;
|
|
53
63
|
value: string;
|
|
54
64
|
noValue: boolean;
|
|
65
|
+
schema: {
|
|
66
|
+
'x-component': string;
|
|
67
|
+
'x-component-props': {
|
|
68
|
+
multiple: boolean;
|
|
69
|
+
options: {
|
|
70
|
+
label: string;
|
|
71
|
+
value: boolean;
|
|
72
|
+
}[];
|
|
73
|
+
};
|
|
74
|
+
};
|
|
55
75
|
selected?: undefined;
|
|
56
76
|
})[];
|
|
57
77
|
};
|
|
@@ -184,10 +184,30 @@ export declare const boolean: ({
|
|
|
184
184
|
value: string;
|
|
185
185
|
selected: boolean;
|
|
186
186
|
noValue: boolean;
|
|
187
|
+
schema: {
|
|
188
|
+
'x-component': string;
|
|
189
|
+
'x-component-props': {
|
|
190
|
+
multiple: boolean;
|
|
191
|
+
options: {
|
|
192
|
+
label: string;
|
|
193
|
+
value: boolean;
|
|
194
|
+
}[];
|
|
195
|
+
};
|
|
196
|
+
};
|
|
187
197
|
} | {
|
|
188
198
|
label: string;
|
|
189
199
|
value: string;
|
|
190
200
|
noValue: boolean;
|
|
201
|
+
schema: {
|
|
202
|
+
'x-component': string;
|
|
203
|
+
'x-component-props': {
|
|
204
|
+
multiple: boolean;
|
|
205
|
+
options: {
|
|
206
|
+
label: string;
|
|
207
|
+
value: boolean;
|
|
208
|
+
}[];
|
|
209
|
+
};
|
|
210
|
+
};
|
|
191
211
|
selected?: undefined;
|
|
192
212
|
})[];
|
|
193
213
|
export declare const tableoid: {
|
|
@@ -17,17 +17,6 @@ export declare class SqlCollectionTemplate extends CollectionTemplate {
|
|
|
17
17
|
fields: any[];
|
|
18
18
|
};
|
|
19
19
|
configurableProperties: {
|
|
20
|
-
filterTargetKey: {
|
|
21
|
-
title: string;
|
|
22
|
-
type: string;
|
|
23
|
-
description: string;
|
|
24
|
-
'x-decorator': string;
|
|
25
|
-
'x-component': string;
|
|
26
|
-
'x-component-props': {
|
|
27
|
-
multiple: boolean;
|
|
28
|
-
};
|
|
29
|
-
'x-reactions': string[];
|
|
30
|
-
};
|
|
31
20
|
name: any;
|
|
32
21
|
title: any;
|
|
33
22
|
description: any;
|
|
@@ -84,5 +73,16 @@ export declare class SqlCollectionTemplate extends CollectionTemplate {
|
|
|
84
73
|
};
|
|
85
74
|
};
|
|
86
75
|
};
|
|
76
|
+
filterTargetKey: {
|
|
77
|
+
title: string;
|
|
78
|
+
type: string;
|
|
79
|
+
description: string;
|
|
80
|
+
'x-decorator': string;
|
|
81
|
+
'x-component': string;
|
|
82
|
+
'x-component-props': {
|
|
83
|
+
multiple: boolean;
|
|
84
|
+
};
|
|
85
|
+
'x-reactions': string[];
|
|
86
|
+
};
|
|
87
87
|
};
|
|
88
88
|
}
|
|
@@ -101,6 +101,7 @@ export declare class ViewCollectionTemplate extends CollectionTemplate {
|
|
|
101
101
|
type: string;
|
|
102
102
|
'x-component': import("react").MemoExoticComponent<(props: any) => import("react").JSX.Element>;
|
|
103
103
|
'x-hidden': string;
|
|
104
|
+
'x-decorator': string;
|
|
104
105
|
'x-reactions': {
|
|
105
106
|
dependencies: string[];
|
|
106
107
|
fulfill: {
|
|
@@ -109,6 +110,7 @@ export declare class ViewCollectionTemplate extends CollectionTemplate {
|
|
|
109
110
|
};
|
|
110
111
|
};
|
|
111
112
|
};
|
|
113
|
+
description: string;
|
|
112
114
|
};
|
|
113
115
|
preview: {
|
|
114
116
|
type: string;
|
|
@@ -28,10 +28,27 @@ export declare const useDataBlockRequest: <T extends {}>() => UseRequestResult<{
|
|
|
28
28
|
data: T;
|
|
29
29
|
}>;
|
|
30
30
|
/**
|
|
31
|
-
* Compared to `useDataBlockRequest`,
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
31
|
+
* Compared to `useDataBlockRequest`, this Hook helps prevent unnecessary re-renders.
|
|
32
|
+
*
|
|
33
|
+
* This Hook returns a stable function reference that won't change between renders. When you only need
|
|
34
|
+
* methods like `refresh` or `run`, using this Hook is recommended because:
|
|
35
|
+
*
|
|
36
|
+
* 1. It returns a memoized object containing only the getter function
|
|
37
|
+
* 2. The getter function accesses the latest request data through a ref, avoiding re-renders
|
|
38
|
+
* 3. Unlike useDataBlockRequest which returns request state directly, this Hook provides indirect access
|
|
39
|
+
* through a getter, breaking the reactive dependency chain
|
|
40
|
+
*
|
|
41
|
+
* For example:
|
|
42
|
+
* ```ts
|
|
43
|
+
* // This will re-render when request state changes
|
|
44
|
+
* const { refresh } = useDataBlockRequest();
|
|
45
|
+
*
|
|
46
|
+
* // This won't re-render when request state changes
|
|
47
|
+
* const { getDataBlockRequest } = useDataBlockRequestGetter();
|
|
48
|
+
* const refresh = getDataBlockRequest().refresh;
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @returns An object containing the getDataBlockRequest method that provides access to the request instance
|
|
35
52
|
*/
|
|
36
53
|
export declare const useDataBlockRequestGetter: () => {
|
|
37
54
|
getDataBlockRequest: () => UseRequestResult<any>;
|
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { IFieldProps, JSXComponent, Schema } from '@formily/react';
|
|
10
10
|
import React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* To maintain high performance of Table, this component removes Formily-related components
|
|
13
|
+
* @param props component props
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
11
16
|
export declare const NocoBaseField: <D extends JSXComponent, C extends JSXComponent>(props: IFieldProps<D, C, import("@formily/core").Field<any, any, any, any>> & {
|
|
12
17
|
schema: Schema;
|
|
13
18
|
}) => React.JSX.Element;
|
|
@@ -17,7 +17,5 @@ interface IReactiveFieldProps {
|
|
|
17
17
|
* Based on @formily/react v2.3.2 NocoBaseReactiveField component
|
|
18
18
|
* Modified to better adapt to NocoBase's needs
|
|
19
19
|
*/
|
|
20
|
-
export declare const NocoBaseReactiveField: React.
|
|
21
|
-
ref?: React.RefAttributes<any>;
|
|
22
|
-
}>>;
|
|
20
|
+
export declare const NocoBaseReactiveField: React.FC<IReactiveFieldProps>;
|
|
23
21
|
export {};
|
|
@@ -24,12 +24,16 @@ interface INocoBaseRecursionFieldProps extends IRecursionFieldProps {
|
|
|
24
24
|
*/
|
|
25
25
|
isUseFormilyField?: boolean;
|
|
26
26
|
}
|
|
27
|
+
export declare const RefreshComponentProvider: FC<{
|
|
28
|
+
refresh: () => void;
|
|
29
|
+
}>;
|
|
30
|
+
export declare const useRefreshComponent: () => () => void;
|
|
27
31
|
/**
|
|
28
32
|
* Create a new fieldSchema instance to refresh the component after modifying fieldSchema
|
|
29
33
|
* @returns
|
|
30
34
|
*/
|
|
31
35
|
export declare const useRefreshFieldSchema: () => (options?: {
|
|
32
|
-
|
|
36
|
+
refreshParentSchema?: boolean;
|
|
33
37
|
}) => void;
|
|
34
38
|
/**
|
|
35
39
|
* @internal
|
|
@@ -6,9 +6,56 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
import { IFieldProps } from '@formily/core';
|
|
10
|
+
import { JSXComponent, Schema } from '@formily/react';
|
|
11
|
+
export declare function createNocoBaseField<Decorator extends JSXComponent, Component extends JSXComponent>(props: any): NocoBaseField<any, any, any, any>;
|
|
12
|
+
/**
|
|
13
|
+
* Compared to the Field class, NocoBaseField has better performance
|
|
14
|
+
*/
|
|
15
|
+
declare class NocoBaseField<Decorator extends JSXComponent = any, Component extends JSXComponent = any, TextType = any, ValueType = any> {
|
|
16
|
+
props: IFieldProps<Decorator, Component, TextType, ValueType> & {
|
|
17
|
+
schema: Schema;
|
|
18
|
+
compile: (source: any) => any;
|
|
19
|
+
};
|
|
20
|
+
initialized: boolean;
|
|
21
|
+
loading: boolean;
|
|
22
|
+
validating: boolean;
|
|
23
|
+
submitting: boolean;
|
|
24
|
+
selfModified: boolean;
|
|
25
|
+
active: boolean;
|
|
26
|
+
visited: boolean;
|
|
27
|
+
mounted: boolean;
|
|
28
|
+
unmounted: boolean;
|
|
29
|
+
inputValues: any[];
|
|
30
|
+
inputValue: any;
|
|
31
|
+
feedbacks: any[];
|
|
32
|
+
title: string;
|
|
33
|
+
description: string;
|
|
34
|
+
display: string;
|
|
35
|
+
pattern: string;
|
|
36
|
+
editable: boolean;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
readOnly: boolean;
|
|
39
|
+
readPretty: boolean;
|
|
40
|
+
visible: boolean;
|
|
41
|
+
hidden: boolean;
|
|
42
|
+
dataSource: any[];
|
|
43
|
+
validator: any;
|
|
44
|
+
required: boolean;
|
|
45
|
+
content: string;
|
|
46
|
+
initialValue: any;
|
|
47
|
+
value: any;
|
|
48
|
+
data: any;
|
|
49
|
+
decorator: any[];
|
|
50
|
+
component: any[];
|
|
51
|
+
decoratorProps: any;
|
|
52
|
+
componentProps: any;
|
|
53
|
+
decoratorType: any;
|
|
54
|
+
componentType: any;
|
|
55
|
+
path: any;
|
|
56
|
+
form: any;
|
|
57
|
+
address: any;
|
|
58
|
+
constructor(props: any);
|
|
59
|
+
protected initialize(): void;
|
|
60
|
+
}
|
|
61
|
+
export {};
|
package/es/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export * from './global-theme';
|
|
|
35
35
|
export * from './hooks';
|
|
36
36
|
export * from './i18n';
|
|
37
37
|
export * from './icon';
|
|
38
|
+
export * from './lazy-helper';
|
|
38
39
|
export { default as locale } from './locale';
|
|
39
40
|
export * from './nocobase-buildin-plugin';
|
|
40
41
|
export * from './plugin-manager';
|
|
@@ -52,22 +53,25 @@ export * from './system-settings';
|
|
|
52
53
|
export * from './testUtils';
|
|
53
54
|
export * from './user';
|
|
54
55
|
export * from './variables';
|
|
55
|
-
export * from './lazy-helper';
|
|
56
56
|
export { withDynamicSchemaProps } from './hoc/withDynamicSchemaProps';
|
|
57
57
|
export { withSkeletonComponent } from './hoc/withSkeletonComponent';
|
|
58
|
+
export { SwitchLanguage } from './i18n/SwitchLanguage';
|
|
58
59
|
export { SchemaSettingsActionLinkItem } from './modules/actions/link/customizeLinkActionSettings';
|
|
59
|
-
export { useURLAndHTMLSchema } from './modules/actions/link/useURLAndHTMLSchema';
|
|
60
|
+
export { getVariableComponentWithScope, useURLAndHTMLSchema } from './modules/actions/link/useURLAndHTMLSchema';
|
|
60
61
|
export * from './modules/blocks/BlockSchemaToolbar';
|
|
61
62
|
export * from './modules/blocks/data-blocks/form';
|
|
62
63
|
export * from './modules/blocks/data-blocks/table';
|
|
63
64
|
export * from './modules/blocks/data-blocks/table-selector';
|
|
64
65
|
export * from './modules/blocks/index';
|
|
65
66
|
export * from './modules/blocks/useParentRecordCommon';
|
|
67
|
+
export { getGroupMenuSchema } from './modules/menu/GroupItem';
|
|
68
|
+
export { getLinkMenuSchema } from './modules/menu/LinkMenuItem';
|
|
69
|
+
export { getPageMenuSchema } from './modules/menu/PageMenuItem';
|
|
66
70
|
export { OpenModeProvider, useOpenModeContext } from './modules/popup/OpenModeProvider';
|
|
67
71
|
export { PopupContextProvider } from './modules/popup/PopupContextProvider';
|
|
68
72
|
export { usePopupUtils } from './modules/popup/usePopupUtils';
|
|
69
|
-
export { SwitchLanguage } from './i18n/SwitchLanguage';
|
|
70
73
|
export { VariablePopupRecordProvider } from './modules/variable/variablesProvider/VariablePopupRecordProvider';
|
|
71
74
|
export { useCurrentPopupRecord } from './modules/variable/variablesProvider/VariablePopupRecordProvider';
|
|
75
|
+
export { showFileName } from './modules/fields/component/FileManager/fileManagerComponentFieldSettings';
|
|
72
76
|
export { languageCodes } from './locale';
|
|
73
|
-
export { NocoBaseRecursionField,
|
|
77
|
+
export { CollectionFieldUISchemaProvider, IsInNocoBaseRecursionFieldContext, NocoBaseRecursionField, RefreshComponentProvider, useRefreshFieldSchema, } from './formily/NocoBaseRecursionField';
|